/* ====================== SECTIONS ======================
   Styles propres à chaque section de la page
   ======================================================= */

/* Padding commun (REGLE MOBILE #3) */
section {
  padding: 56px 0;
}
@media (min-width: 768px) {
  section { padding: 88px 0; }
}

/* ---- Hero IMMERSIF ---- */
.hero-immersif {
  position: relative;
  min-height: 88dvh;
  display: flex;
  align-items: flex-end;
  padding: clamp(40px, 8vw, 80px) 0 clamp(48px, 7vw, 88px);
  overflow: hidden;
  border-radius: 0 0 24px 24px;
}

.hero-immersif__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-immersif__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Voile multi-couches (TEX-6 OKLCH gradient + obscurcissement) */
.hero-immersif::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg,
      oklch(25% 0.08 145 / .15) 0%,
      oklch(20% 0.08 145 / .30) 40%,
      oklch(15% 0.06 145 / .68) 100%
    );
}
/* Légère texture OKLCH en dégradé horizontal */
.hero-immersif::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg,
    oklch(18% 0.10 145 / .12) 0%,
    transparent 60%
  );
}

.hero-immersif__inner {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 760px;
}

.hero-eyebrow {
  font-family: var(--ff-ui);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: oklch(82% 0.09 145);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(6px);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.18);
}

.hero-immersif__title {
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 500;
  line-height: 1.02;
  color: #fff;
  margin-bottom: 20px;
}
.hero-immersif__title em {
  font-style: italic;
  color: oklch(80% 0.10 145);
  /* Underline accent subtil (signature anti-IA) */
  text-decoration: underline;
  text-decoration-color: oklch(68% 0.09 145 / .5);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.hero-immersif__sub {
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  color: rgba(255,255,255,.88);
  margin: 0 0 32px;
  max-width: 52ch;
  line-height: 1.65;
}

.hero-immersif__cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-immersif__cta .btn {
  width: 100%;
  justify-content: center;
}
@media (min-width: 540px) {
  .hero-immersif__cta {
    flex-direction: row;
    flex-wrap: nowrap;
  }
  .hero-immersif__cta .btn {
    width: auto;
  }
}

/* ---- Stats strip ---- */
.stats-strip {
  background: var(--accent);
  padding: 8px 0;
}
.stats-strip .stat-number { color: #fff; }
.stats-strip .stat-label  { color: oklch(82% 0.08 145); }
.stats-strip .stat-item:not(:last-child)::after { background: rgba(255,255,255,.3); }

/* ---- À propos ---- */
.apropos-section {
  background: var(--bg);
}
.apropos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (min-width: 768px) {
  .apropos-grid { grid-template-columns: 1fr 1fr; }
}
.apropos-photo {
  position: relative;
}
.apropos-photo img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--r-xl);
  display: block;
}
.apropos-badge {
  position: absolute;
  bottom: -16px;
  right: -8px;
  background: var(--accent);
  color: var(--on-dark);
  font-family: var(--ff-display);
  font-size: 1rem;
  font-style: italic;
  padding: 10px 18px;
  border-radius: var(--r-md);
  box-shadow: 0 8px 32px oklch(45% 0.12 145 / .3);
}
@media (min-width: 768px) {
  .apropos-badge { right: -20px; }
}
.apropos-content .section-eyebrow { margin-bottom: 8px; }
.apropos-content h2 { margin-bottom: 20px; }
.apropos-lead {
  font-family: var(--ff-display);
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  font-style: italic;
  color: var(--accent-dark);
  line-height: 1.45;
  margin-bottom: 16px;
}

/* ---- Services ---- */
.services-section {
  background: var(--bg-alt);
}
.services-section .section-head { max-width: 600px; }

/* ---- Réalisations ---- */
.realisations-section {
  background: var(--bg);
}
.realisations-section .gal-cta-link {
  text-align: center;
  margin-top: 32px;
}

/* ---- Avis ---- */
.avis-section {
  background: var(--bg-alt);
}
.avis-section .section-head { max-width: 600px; }
.avis-footer-link {
  text-align: center;
  margin-top: 28px;
}

/* ---- FAQ ---- */
.faq-section {
  background: var(--bg);
}
.faq-section .section-head { max-width: 640px; }

/* ---- Zone ---- */
.zone-section {
  background: var(--bg-alt);
}
.zone-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 768px) {
  .zone-cols {
    grid-template-columns: 1fr 1.2fr;
    gap: 56px;
  }
}
.zone-info h3 {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 14px;
  font-weight: 500;
}

/* ---- Contact ---- */
.contact-section {
  background: var(--surface-dark);
  position: relative;
  overflow: hidden;
}
/* TEX-6 dégradé OKLCH discret sur fond sombre */
.contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%,
    oklch(38% 0.12 145 / .18) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.contact-section .container { position: relative; z-index: 1; }

/* Contenu contact lisible sur fond sombre (PIEGE PROD #10) */
.contact-section :where(.section-eyebrow) { color: var(--accent-2); }
.contact-section :where(h2, .contact-lead) { color: var(--on-dark); }
.contact-lead {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: oklch(80% 0.04 100);
  max-width: 50ch;
  margin-bottom: 32px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
}

/* Hero section padding top pour la nav fixe */
.hero-immersif { padding-top: calc(var(--header-h-mobile) + 40px); }
@media (min-width: 768px) {
  .hero-immersif { padding-top: calc(var(--header-h) + 40px); }
}
