/* ============================================================
   PNEU DU BAB — Design System
   Couleurs basques : #D52B1E (rouge) · #009B3A (vert)
   ============================================================ */

/* ============================================================
   1. CSS VARIABLES
   ============================================================ */
:root {
  --accent:        #D52B1E;
  --accent-green:  #009B3A;
  --accent-dim:    #9b1f16;
  --accent-bright: #ff5a4e;
  --accent-g-dim:  #007a2e;
  --bg:            #0d0d0d;
  --bg-2:          #111111;
  --surface:       rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.07);
  --border:        rgba(255, 255, 255, 0.08);
  --border-hover:  rgba(255, 255, 255, 0.18);
  --text:          #f0ede8;
  --text-muted:    rgba(240, 237, 232, 0.55);
  --spring:        cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --ease-out:      cubic-bezier(0.22, 1, 0.36, 1);
  --nav-height:    72px;
  --radius-sm:     10px;
  --radius-md:     16px;
  --radius-lg:     20px;
  --radius-xl:     28px;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul { list-style: none; }

button { font-family: inherit; }

/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */
h1 {
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h3 {
  font-size: clamp(1.15rem, 2.5vw, 1.6rem);
  font-weight: 600;
  line-height: 1.3;
}

h4 {
  font-size: 1rem;
  font-weight: 600;
}

p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ============================================================
   4. SHIMMER TEXT
   ============================================================ */
@keyframes shimmer {
  0%   { background-position: -300% center; }
  100% { background-position:  300% center; }
}

.shimmer-text {
  background: linear-gradient(
    90deg,
    #009B3A 0%,
    #f0ede8 30%,
    #D52B1E 55%,
    #f0ede8 75%,
    #009B3A 100%
  );
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 7s linear infinite;
}

/* ============================================================
   5. CUSTOM CURSOR — instant tracking, no lerp
   ============================================================ */
#c-dot {
  position: fixed;
  top: 0; left: 0;
  width: 5px; height: 5px;
  margin: -2.5px 0 0 -2.5px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  box-shadow: 0 0 6px rgba(213, 43, 30, 0.7);
  will-change: left, top;
  transition: opacity 0.15s;
}

#c-ring {
  position: fixed;
  top: 0; left: 0;
  width: 26px; height: 26px;
  margin: -13px 0 0 -13px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  will-change: left, top;
  /* NO transition on left/top — instant. Only size & color transition. */
  transition: width 0.18s var(--spring), height 0.18s var(--spring),
              margin 0.18s var(--spring), border-color 0.2s, opacity 0.2s;
}

/* ============================================================
   6. LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 1.5rem;
  position: relative;
}

.section-alt {
  background: var(--bg-2);
}

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.875rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-desc {
  max-width: 600px;
  margin-bottom: 3rem;
  font-size: 1.05rem;
}

/* ============================================================
   7. NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(13, 13, 13, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: background 0.35s, border-color 0.35s;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-logo {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav-logo span { color: var(--accent); }

.nav-logo-dot {
  width: 8px; height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
  display: inline-block;
  margin-left: 3px;
  animation: pulse-dot 2s ease-in-out infinite;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0.75rem; right: 0.75rem;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--spring);
  border-radius: 2px;
}

.nav-links a:hover {
  color: var(--text);
  background: var(--surface);
}

.nav-links a.active {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--accent);
  color: #fff !important;
  padding: 0.5rem 1.2rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: background 0.25s, transform 0.35s var(--spring), box-shadow 0.25s;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-cta:hover {
  background: var(--accent-bright);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(213, 43, 30, 0.4);
}

.nav-cta::after { display: none !important; }

/* Hamburger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: background 0.2s;
}

.nav-burger:hover { background: var(--surface); }

.nav-burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  transition: transform 0.3s var(--spring), opacity 0.2s;
  border-radius: 2px;
}

.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav-menu-mobile {
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  transform: translateY(-8px);
  opacity: 0;
  transition: transform 0.35s var(--spring), opacity 0.25s;
  z-index: 999;
  pointer-events: none;
}

.nav-menu-mobile.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.nav-menu-mobile ul { list-style: none; }

.nav-menu-mobile ul li {
  border-bottom: 1px solid var(--border);
}

.nav-menu-mobile ul a {
  display: block;
  padding: 1rem 0.5rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s, padding-left 0.2s;
}

.nav-menu-mobile ul a:hover,
.nav-menu-mobile ul a.active {
  color: var(--text);
  padding-left: 1rem;
}

.nav-cta-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  background: var(--accent);
  color: #fff;
  padding: 0.9rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.25s;
}

.nav-cta-mobile:hover { background: var(--accent-bright); }

/* ============================================================
   8. HERO (Homepage)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-bg {
  position: absolute; inset: 0;
  background: var(--bg);
  z-index: 0;
}

.hero-bg-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.22;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 1.5rem 9rem;
  width: 100%;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid var(--border);
  border-radius: 9999px;
  padding: 0.35rem 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  background: var(--surface);
}

.hero-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent-green);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(1.5); }
}

.hero h1 {
  max-width: 800px;
  margin-bottom: 1.5rem;
}

.hero-desc {
  max-width: 560px;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  color: rgba(240, 237, 232, 0.7);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 4.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent), var(--accent-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

/* Wave removed */

/* ============================================================
   9. FLOATING ORBS
   ============================================================ */
.orbs-container {
  position: absolute; inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

@keyframes float1 {
  0%,100% { transform: translate(0, 0) scale(1); }
  40%     { transform: translate(28px, -42px) scale(1.06); }
  70%     { transform: translate(-14px, -18px) scale(0.96); }
}

@keyframes float2 {
  0%,100% { transform: translate(0, 0) scale(1); }
  35%     { transform: translate(-26px, -36px) scale(0.94); }
  65%     { transform: translate(16px, -52px) scale(1.08); }
}

@keyframes float3 {
  0%,100% { transform: translate(0, 0) scale(1); }
  50%     { transform: translate(22px, -28px) scale(1.1); }
}

.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

/* ============================================================
   10. BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #fff;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background 0.25s, transform 0.35s var(--spring), box-shadow 0.25s;
  text-decoration: none;
}

.btn-primary::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-primary:hover {
  background: var(--accent-bright);
  box-shadow: 0 8px 30px rgba(213, 43, 30, 0.45);
}

.btn-primary:hover::after { opacity: 1; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.25s, background 0.25s, transform 0.35s var(--spring);
}

.btn-secondary:hover {
  border-color: var(--border-hover);
  background: var(--surface-hover);
}

/* ============================================================
   11. SERVICE CARDS (3D tilt)
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.service-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem 4rem;
  cursor: pointer;
  overflow: hidden;
  will-change: transform;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-green), var(--accent));
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover {
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.service-card:hover::before { opacity: 1; }

.service-card .glare {
  position: absolute; inset: 0;
  pointer-events: none;
  border-radius: inherit;
}

.card-icon {
  width: 58px; height: 58px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  transition: background 0.3s, border-color 0.3s;
}

.service-card:hover .card-icon {
  background: rgba(213, 43, 30, 0.12);
  border-color: rgba(213, 43, 30, 0.3);
}

.card-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.card-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.card-arrow {
  position: absolute;
  bottom: 2rem; right: 2rem;
  width: 38px; height: 38px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background 0.3s, border-color 0.3s, transform 0.35s var(--spring);
}

.service-card:hover .card-arrow {
  background: var(--accent);
  border-color: var(--accent);
  transform: translate(3px, -3px);
}

/* ============================================================
   12. FEATURES GRID
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem 2rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-icon {
  width: 50px; height: 50px;
  background: rgba(0, 155, 58, 0.1);
  border: 1px solid rgba(0, 155, 58, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.feature-title { font-size: 1rem; font-weight: 600; }
.feature-desc { font-size: 0.875rem; line-height: 1.65; }

/* ============================================================
   13. GALLERY
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-2);
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out), filter 0.4s;
  filter: brightness(0.85) saturate(0.85);
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: brightness(1) saturate(1.1);
}

.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,13,13,0.55) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.35s;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-item.featured {
  grid-column: span 2;
  aspect-ratio: 16/7;
}

/* ============================================================
   14. ZONE DE CHALANDISE
   ============================================================ */
.zone-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.zone-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  margin-top: 1.5rem;
}

.zone-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0, 155, 58, 0.1);
  border: 1px solid rgba(0, 155, 58, 0.2);
  border-radius: 9999px;
  padding: 0.45rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
}

.zone-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent-green);
  border-radius: 50%;
  flex-shrink: 0;
}

.zone-visual {
  background: rgba(0, 155, 58, 0.05);
  border: 1px solid rgba(0, 155, 58, 0.15);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  text-align: center;
}

.zone-visual .emoji-map { font-size: 3.5rem; margin-bottom: 1rem; }

/* ============================================================
   15. TARIFS
   ============================================================ */
.tarifs-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.tarif-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.tarif-card:hover {
  border-color: rgba(213, 43, 30, 0.3);
  box-shadow: 0 8px 40px rgba(213, 43, 30, 0.07);
}

.tarif-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.tarif-table { width: 100%; border-collapse: collapse; }
.tarif-table tr { border-bottom: 1px solid rgba(255,255,255,0.04); }
.tarif-table tr:last-child { border-bottom: none; }
.tarif-table td { padding: 0.65rem 0; font-size: 0.9rem; vertical-align: middle; }
.tarif-table td:first-child { color: var(--text-muted); }
.tarif-table td:last-child { text-align: right; font-weight: 700; }

.tarif-badge {
  display: inline-block;
  background: rgba(0, 155, 58, 0.15);
  color: #00c44a;
  border: 1px solid rgba(0, 155, 58, 0.25);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  vertical-align: middle;
  margin-left: 0.4rem;
}

.tarif-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1rem;
  font-style: italic;
}

.tarif-devis {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(213, 43, 30, 0.05);
  border: 1px solid rgba(213, 43, 30, 0.1);
  border-radius: var(--radius-sm);
  margin-top: 0.5rem;
}

/* ============================================================
   16. SERVICE LIST (méca / vitrage)
   ============================================================ */
.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: border-color 0.3s, background 0.3s;
}

.service-item:hover {
  border-color: rgba(0, 155, 58, 0.3);
  background: var(--surface-hover);
}

.service-item-icon { font-size: 1.5rem; flex-shrink: 0; line-height: 1; }

.service-item-text h4 { font-size: 0.9rem; font-weight: 600; margin-bottom: 0.3rem; }
.service-item-text p  { font-size: 0.8rem; line-height: 1.55; }

/* ============================================================
   17. CONTACT FORM
   ============================================================ */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-info-icon {
  width: 46px; height: 46px;
  background: rgba(213, 43, 30, 0.1);
  border: 1px solid rgba(213, 43, 30, 0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.contact-info-item p,
.contact-info-item a { font-size: 0.95rem; color: var(--text-muted); }
.contact-info-item a:hover { color: var(--text); }

.tel-link {
  font-size: 1.6rem !important;
  font-weight: 800 !important;
  color: var(--text) !important;
  letter-spacing: 0.02em;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}

.form-group { margin-bottom: 1.25rem; }

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.875rem 1rem;
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.form-input::placeholder,
.form-textarea::placeholder { color: rgba(240, 237, 232, 0.28); }

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: rgba(213, 43, 30, 0.5);
  box-shadow: 0 0 0 3px rgba(213, 43, 30, 0.1);
  background: rgba(255,255,255,0.06);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-select option { background: #1a1a1a; color: var(--text); }

.form-textarea { min-height: 130px; resize: vertical; }

.form-submit {
  width: 100%;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 1rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background 0.25s, transform 0.35s var(--spring), box-shadow 0.25s;
}

.form-submit:hover {
  background: var(--accent-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(213, 43, 30, 0.4);
}

.form-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.875rem;
  line-height: 1.55;
}

/* ============================================================
   18. PAGE HERO (sous-pages)
   ============================================================ */
.page-hero {
  padding: calc(var(--nav-height) + 5rem) 1.5rem 5rem;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  z-index: 0;
}

.page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  list-style: none;
  flex-wrap: wrap;
}

.breadcrumb a { transition: color 0.2s; }
.breadcrumb a:hover { color: var(--text); }

.breadcrumb li:not(:last-child)::after {
  content: '/';
  margin-left: 0.5rem;
  opacity: 0.4;
}

/* ============================================================
   19. ABOUT PAGE
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.about-img img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  filter: brightness(0.82) saturate(0.85);
}

.about-badge {
  position: absolute;
  bottom: 1.5rem; left: 1.5rem;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.875rem;
}

.about-text h2 { margin-bottom: 1.5rem; }
.about-text p { margin-bottom: 1.25rem; }

.values-list { list-style: none; margin-top: 1.75rem; }
.values-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.values-list li:last-child { border-bottom: none; }
.values-list .v-icon { color: var(--accent-green); font-size: 1.1rem; flex-shrink: 0; }
.values-list h4 { font-size: 0.9rem; margin-bottom: 0.2rem; }

/* ============================================================
   20. TEAM GRID
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s var(--spring);
}

.team-card:hover {
  border-color: rgba(213, 43, 30, 0.25);
  transform: translateY(-4px);
}

.team-avatar {
  width: 72px; height: 72px;
  background: rgba(213, 43, 30, 0.1);
  border: 2px solid rgba(213, 43, 30, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1rem;
}

.team-name { font-weight: 700; margin-bottom: 0.25rem; }
.team-role { font-size: 0.85rem; color: var(--accent); font-weight: 500; margin-bottom: 0.75rem; }
.team-desc { font-size: 0.85rem; }

/* ============================================================
   21. CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, rgba(213, 43, 30, 0.1) 0%, rgba(0, 155, 58, 0.06) 100%);
  border: 1px solid rgba(213, 43, 30, 0.2);
  border-radius: var(--radius-xl);
  padding: 4.5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(213, 43, 30, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 { margin-bottom: 1rem; }
.cta-banner p { margin: 0 auto 2.5rem; max-width: 500px; }
.cta-banner .hero-actions { justify-content: center; }

/* ============================================================
   22. FOOTER
   ============================================================ */
footer {
  background: #080808;
  border-top: 1px solid var(--border);
  padding: 3.5rem 1.5rem 1.5rem;
}

.footer-inner { max-width: 1200px; margin: 0 auto; }

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.75rem;
}

.footer-logo {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.footer-logo span { color: var(--accent); }

.footer-brand-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-social { display: flex; gap: 0.5rem; }

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: background 0.2s, border-color 0.2s, transform 0.25s var(--spring);
}

.footer-social a:hover {
  background: rgba(213, 43, 30, 0.15);
  border-color: rgba(213, 43, 30, 0.3);
  transform: translateY(-2px);
}

.footer-social svg { width: 18px; height: 18px; fill: var(--text-muted); transition: fill 0.2s; }
.footer-social a:hover svg { fill: var(--text); }

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
  color: var(--text);
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.footer-links a, .footer-links span {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom a { color: var(--text-muted); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--accent); }

/* ============================================================
   23. ANIMATIONS — REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* ============================================================
   24. DIVIDER
   ============================================================ */
.divider {
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-green));
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

/* ============================================================
   25. RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 900px) {
  .zone-card { grid-template-columns: 1fr; gap: 2rem; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-wrapper { grid-template-columns: 1fr; gap: 2.5rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item.featured { grid-column: span 2; aspect-ratio: 16/8; }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-cta { display: none; }
  .nav-burger { display: flex; }

  body { cursor: auto; }
  #c-dot, #c-ring { display: none; }

  .hero-content { padding: 4rem 1rem 7rem; }
  .hero-stats { gap: 1.75rem; }

  .services-grid { grid-template-columns: 1fr; }
  .tarifs-container { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }

  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item.featured { grid-column: span 2; aspect-ratio: 4/3; }

  .section { padding: 4rem 1rem; }
  .page-hero { padding: calc(var(--nav-height) + 3rem) 1rem 3rem; }

  .cta-banner { padding: 2.5rem 1.5rem; }

  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 540px) {
  .features-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.featured { grid-column: span 1; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn-primary,
  .btn-secondary { text-align: center; justify-content: center; }
  .hero-stats { flex-direction: column; gap: 1.25rem; }
  .cta-banner .hero-actions { flex-direction: column; align-items: stretch; }
  .zone-card { padding: 1.5rem; }
}
