/* ============================================================
   LUNETTES CHEZ VOUS — Feuille de style principale
   Charte : Quicksand | #d98d7f | #fdf6ef | #2b2b2b
   ============================================================ */

/* ============================================================
   1. FONT : chargée via <link> dans _inc/version.php (pas d'@import pour éviter le render-blocking)
   ============================================================ */

/* ============================================================
   2. VARIABLES CSS
   ============================================================ */
:root {
  /* Couleurs */
  --rose:        #d98d7f;
  --rose-light:  #e8b5ac;
  --rose-dark:   #c4796b;
  --ecru:        #fdf6ef;
  --ecru-dark:   #f0e6d8;
  --noir:        #2b2b2b;
  --noir-light:  #555555;
  --blanc:       #ffffff;

  /* Couleurs service cards */
  --blue:        #5b8fb9;
  --blue-light:  #89b5d4;
  --green:       #6ba889;
  --green-light: #95c5ad;
  --purple:      #9b7db8;
  --purple-light:#baa5cf;
  --amber:       #c49a6c;
  --amber-light: #d9bc9e;

  /* Typographie */
  --font:        'Quicksand', sans-serif;
  --size-xs:     0.75rem;
  --size-sm:     0.875rem;
  --size-base:   1rem;
  --size-md:     1.125rem;
  --size-lg:     1.35rem;
  --size-xl:     1.75rem;
  --size-2xl:    2.25rem;
  --size-3xl:    3rem;
  --size-4xl:    3.75rem;

  /* Espacements */
  --space-xs:    0.5rem;
  --space-sm:    1rem;
  --space-md:    1.5rem;
  --space-lg:    2.5rem;
  --space-xl:    4rem;
  --space-2xl:   6rem;
  --space-3xl:   8rem;

  /* Effets */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   24px;
  --radius-full: 9999px;
  --shadow-sm:   0 2px 8px rgba(43,43,43,0.08);
  --shadow-md:   0 4px 20px rgba(43,43,43,0.12);
  --shadow-lg:   0 8px 40px rgba(43,43,43,0.16);
  --transition:  0.4s ease;
  --transition-fast: 0.2s ease;

  /* Layout */
  --max-width:   1200px;
  --header-h:    130px;
}

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden; /* bloque le scroll horizontal sur iOS Safari */
}

body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--noir);
  background-color: var(--ecru);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: var(--font);
  border: none;
  background: none;
}

input, textarea, select {
  font-family: var(--font);
}

/* ============================================================
   4. TYPOGRAPHIE
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--noir);
}

h1 { font-size: clamp(2.2rem, 5vw, var(--size-4xl)); }
h2 { font-size: clamp(1.7rem, 3.5vw, var(--size-3xl)); }
h3 { font-size: clamp(1.2rem, 2.5vw, var(--size-xl)); }
h4 { font-size: var(--size-lg); }

p {
  color: var(--noir-light);
  font-size: var(--size-md);
  line-height: 1.8;
}

.text-center { text-align: center; }
.text-rose    { color: var(--rose); }
.text-ecru    { color: var(--ecru); }

/* Section label (chapeau au-dessus des titres) */
.section-label {
  display: inline-block;
  font-size: var(--size-sm);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: var(--space-sm);
}

/* ============================================================
   5. LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

.section {
  padding-block: var(--space-2xl);
}

/* Ancres : décalage pour le header fixe */
section[id] {
  scroll-margin-top: var(--header-h);
}

.section--ecru   { background-color: var(--ecru); }
.section--blanc  { background-color: var(--blanc); }
.section--rose   { background-color: var(--rose); }
.section--dark   { background-color: var(--noir); }

/* Sections avec indicateur de scroll en bas */
#services,
#processus,
#opticienne,
#zone,
#rdv,
#temoignages,
#faq {
  position: relative;
  padding-bottom: calc(var(--space-2xl) + 72px);
}

/* Variante blanc de l'indicateur (sur fonds colorés) */
.section__scroll--blanc,
#zone .section__scroll {
  color: rgba(255,255,255,0.85) !important;
}
.section__scroll--blanc:hover,
#zone .section__scroll:hover {
  color: #fff !important;
}
.section__scroll--blanc .section__scroll-line,
#zone .section__scroll .section__scroll-line {
  background: linear-gradient(to bottom, rgba(255,255,255,0.80), transparent) !important;
}

.section-header {
  margin-bottom: var(--space-xl);
  max-width: 640px;
}

.section-header.centered {
  margin-inline: auto;
  text-align: center;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.flex {
  display: flex;
  align-items: center;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ============================================================
   6. BOUTONS & CTAs
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.85rem 2rem;
  font-family: var(--font);
  font-size: var(--size-base);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--rose);
  color: var(--blanc);
  border: 2px solid var(--rose);
}

.btn-primary:hover {
  background-color: var(--rose-dark);
  border-color: var(--rose-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--rose);
  border: 2px solid var(--rose);
}

.btn-outline:hover {
  background-color: var(--rose);
  color: var(--blanc);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-blanc {
  background-color: var(--blanc);
  color: var(--rose);
  border: 2px solid var(--blanc);
}

.btn-blanc:hover {
  background-color: transparent;
  color: var(--blanc);
  transform: translateY(-2px);
}

.btn-outline-blanc {
  background-color: transparent;
  color: var(--blanc);
  border: 2px solid var(--blanc);
}

.btn-outline-blanc:hover {
  background-color: var(--blanc);
  color: var(--rose);
  transform: translateY(-2px);
}

/* CTA téléphone (mobile) */
.btn-phone {
  background-color: var(--noir);
  color: var(--blanc);
  border: 2px solid var(--noir);
}

.btn-phone:hover {
  background-color: #444;
  border-color: #444;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-phone svg,
.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
}

/* ============================================================
   7. HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color 0.5s ease, box-shadow 0.5s ease, height 0.4s ease, border-color 0.5s ease;
  border-bottom: 1px solid transparent;
  /* Safari : force un stacking context pour backdrop-filter sur position:fixed */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.header.scrolled {
  height: 130px;
  background-color: rgba(217,141,127,0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(150,80,65,0.22);
  border-bottom-color: rgba(196,121,107,0.3);
}

.header.scrolled .header__logo img {
  height: 106px;
}

.header.transparent {
  background-color: transparent;
}

.header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  width: 100%;
}

.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header__logo img {
  height: 163px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: height 0.4s ease;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: nowrap;
  flex: 1;
  justify-content: center;
}

.nav__link {
  font-size: var(--size-base);
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: var(--noir);
  transition: color var(--transition-fast);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--rose);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-fast);
}

.nav__link:hover { color: var(--rose); }
.nav__link:hover::after { transform: scaleX(1); }

/* Fond rose : liens blancs */
.header.scrolled .nav__link { color: var(--blanc); }
.header.scrolled .nav__link::after { background-color: rgba(255,255,255,0.7); }
.header.scrolled .nav__link:hover { color: rgba(255,255,255,0.8); }

.header.transparent .nav__link { color: var(--blanc); }
.header.transparent .nav__link::after { background-color: var(--rose-light); }

/* Hamburger mobile */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  z-index: 1001;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--noir);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.header.transparent .hamburger span { background-color: var(--blanc); }
.header.scrolled .hamburger span { background-color: var(--blanc); }

/* Quand le menu est ouvert : croix toujours foncée (lisible sur fond écru) */
.hamburger.open span { background-color: var(--noir) !important; }

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; visibility: hidden; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Nav mobile overlay */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background-color: var(--ecru);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: var(--space-sm);
  opacity: 0;
  transition: opacity var(--transition);
  padding: calc(var(--header-h) + var(--space-md)) var(--space-md) var(--space-xl);
  overflow-y: auto;
}

.nav-mobile.open {
  display: flex;
  opacity: 1;
}

.nav-mobile__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(280px, 100%);
  padding: 14px 28px;
  border: 2px solid var(--ecru-dark);
  border-radius: var(--radius-full);
  font-size: var(--size-md);
  font-weight: 700;
  color: var(--noir);
  text-decoration: none;
  transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
}

.nav-mobile__link:hover,
.nav-mobile__link:active {
  border-color: var(--rose);
  color: var(--rose);
  background: rgba(217, 141, 127, 0.06);
}

.nav-mobile__cta {
  margin-top: var(--space-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
  width: min(280px, 100%);
}

.nav-mobile__cta .btn {
  width: 100%;
  justify-content: center;
}

/* ============================================================
   8. HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;   /* fallback */
  min-height: 100svh;  /* Safari 15.4+ / Chrome 108+ : exclut la barre d'adresse */
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-h);
  padding-bottom: var(--space-xl);
  padding-bottom: calc(var(--space-xl) + 56px); /* espace pour la trust bar */
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(43,43,43,0.90) 0%,
      rgba(43,43,43,0.70) 42%,
      rgba(175,99,84,0.22) 72%,
      rgba(175,99,84,0.08) 100%
    ),
    linear-gradient(
      175deg,
      transparent 55%,
      rgba(217,141,127,0.30) 100%
    );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 840px;
  margin: 0;
  color: var(--blanc);
  text-align: left;
}

.hero__city {
  display: inline-block;
  color: var(--rose-light);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.hero__city-suffix {
  transition: opacity 0.35s ease;
}
.hero__city-suffix.hidden {
  opacity: 0;
}
.hero__city.is-leaving {
  opacity: 0;
  transform: translateY(-10px);
}
.hero__city.is-entering {
  opacity: 0;
  transform: translateY(10px);
  transition: none;
}

.hero__label {
  display: inline-block;
  font-size: var(--size-sm);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose-light);
  margin-bottom: var(--space-sm);
}

.hero__title {
  color: var(--blanc);
  margin-bottom: var(--space-md);
  font-size: clamp(1.7rem, 3.5vw, 2.75rem);
}

.hero__city-line {
  display: block;
  font-size: clamp(1.3rem, 2.6vw, 2.1rem);
  white-space: nowrap;
}

.hero__subtitle {
  font-size: var(--size-md);
  color: rgba(255,255,255,0.88);
  margin-bottom: var(--space-lg);
  line-height: 1.8;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-top: var(--space-md);
  margin-bottom: var(--space-lg);
  justify-content: flex-start;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.13);
  border: 1px solid rgba(255,255,255,0.30);
  border-radius: var(--radius-full);
  padding: 0.55rem 1.2rem;
  font-size: var(--size-sm);
  font-weight: 600;
  color: rgba(255,255,255,0.95);
  backdrop-filter: blur(6px);
}

.hero__badge svg {
  width: 15px;
  height: 15px;
  stroke: var(--rose-light);
  flex-shrink: 0;
}

/* Alignement gauche des CTAs hero */
.hero__content .cta-group {
  justify-content: flex-start;
}

/* Bouton CTA sur fond rose : style inversé (blanc) */
.header.scrolled .header__cta-desktop {
  background-color: var(--blanc);
  color: var(--rose-dark);
  border-color: var(--blanc);
}
.header.scrolled .header__cta-desktop:hover {
  background-color: rgba(255,255,255,0.88);
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

/* Masquage du bouton Prendre RDV (header droite) quand le hero est visible */
.header__cta-desktop {
  transition: color var(--transition-fast), opacity 0.4s ease !important;
}
.header--hero-visible .header__cta-desktop {
  opacity: 0;
  pointer-events: none;
}

/* Glow animé sur le bouton CTA hero */
.btn-primary--glow {
  animation: heroBtnGlow 2.8s ease-in-out infinite;
}
@keyframes heroBtnGlow {
  0%, 100% { box-shadow: 0 4px 16px rgba(217,141,127,0.35); }
  50%       { box-shadow: 0 4px 36px rgba(217,141,127,0.75), 0 0 64px rgba(217,141,127,0.25); }
}

/* Calendly popup — intégration charte graphique */
.calendly-overlay {
  background: transparent !important;
}
.calendly-overlay .calendly-popup {
  height: min(90vh, 860px) !important;
  max-height: none !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}
.calendly-overlay .calendly-popup-content {
  height: 100% !important;
  border-radius: var(--radius-lg) !important;
  overflow: hidden !important;
  box-shadow: 0 32px 80px rgba(43,43,43,0.35) !important;
  background: transparent !important;
}
.calendly-overlay .calendly-popup iframe {
  height: 100% !important;
  border-radius: var(--radius-lg) !important;
}

/* Backdrop blur Calendly */
#calendlyBackdrop {
  position: fixed;
  inset: 0;
  background: rgba(43,43,43,0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
#calendlyBackdrop.visible {
  opacity: 1;
  pointer-events: auto;
}

/* Bouton téléphone hero : visible partout */
#heroPhoneBtn {
  display: inline-flex;
}

.hero__scroll {
  position: absolute;
  bottom: calc(56px + var(--space-lg));
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  color: var(--rose-light);
  font-size: var(--size-sm);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.hero__scroll:hover {
  color: #fff;
}

.hero__scroll-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, var(--rose-light), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* Indicateur scroll bas de section (services → processus) */
.section__scroll {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  color: var(--rose);
  font-size: var(--size-sm);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--transition-fast);
}
.section__scroll:hover {
  color: var(--rose-dark);
}
.section__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--rose), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.7; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* Icônes défilantes - arrière-plan section services */
.srv-float {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding: 1rem 0;
}
.srv-row {
  display: flex;
  width: max-content;
}
.srv-row__inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 0 1.25rem;
  flex-shrink: 0;
}
.srv-ico {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1;
  flex-shrink: 0;
}
.srv-ico--blue   { stroke: var(--blue);   opacity: 0.11; }
.srv-ico--green  { stroke: var(--green);  opacity: 0.11; }
.srv-ico--purple { stroke: var(--purple); opacity: 0.11; }
.srv-ico--amber  { stroke: var(--amber);  opacity: 0.11; }

.srv-row--1  { animation: srvScroll  55s linear infinite; }
.srv-row--2  { animation: srvScrollR 40s linear infinite; }
.srv-row--3  { animation: srvScroll  32s linear infinite; }
.srv-row--4  { animation: srvScrollR 60s linear infinite; }
.srv-row--5  { animation: srvScroll  28s linear infinite; }
.srv-row--6  { animation: srvScrollR 45s linear infinite; }
.srv-row--7  { animation: srvScroll  36s linear infinite; }
.srv-row--8  { animation: srvScrollR 52s linear infinite; }
.srv-row--9  { animation: srvScroll  42s linear infinite; }
.srv-row--10 { animation: srvScrollR 30s linear infinite; }
.srv-row--11 { animation: srvScroll  50s linear infinite; }
.srv-row--12 { animation: srvScrollR 34s linear infinite; }

@keyframes srvScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes srvScrollR {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .srv-float { display: none; }
}

/* ============================================================
   9. SERVICES GRID & CARDS
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  counter-reset: service-count;
}

.service-card {
  background: var(--blanc);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-md);
  border: 1.5px solid rgba(217,141,127,0.12);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  position: relative;
  overflow: hidden;
  counter-increment: service-count;
}

/* Numéro décoratif en filigrane */
.service-card::before {
  content: '0' counter(service-count);
  position: absolute;
  top: -0.5rem;
  right: var(--space-sm);
  font-size: 5.5rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(217,141,127,0.07);
  pointer-events: none;
  user-select: none;
}

/* Barre rose en haut — apparaît au survol */
.service-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--rose), var(--rose-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(217,141,127,0.18);
  border-color: rgba(217,141,127,0.35);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-card__icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-light) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(217,141,127,0.35);
}

.service-card__icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--blanc);
  color: var(--blanc);
}

.service-card__title {
  font-size: var(--size-base);
  font-weight: 700;
  color: var(--noir);
  margin-top: var(--space-xs);
}

.service-card__text {
  font-size: var(--size-sm);
  color: var(--noir-light);
  line-height: 1.75;
  flex: 1;
}

.service-card__link {
  font-size: var(--size-sm);
  font-weight: 700;
  color: var(--rose-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding-bottom: 2px;
  border-bottom: 1.5px solid rgba(217,141,127,0.3);
  margin-top: var(--space-xs);
  transition: gap var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

/* Couleurs individuelles par service card */
.service-card:nth-child(1) { border-color: rgba(91,143,185,0.15); }
.service-card:nth-child(1)::before { color: rgba(91,143,185,0.08); }
.service-card:nth-child(1)::after { background: linear-gradient(to right, var(--blue), var(--blue-light)); }
.service-card:nth-child(1):hover { box-shadow: 0 20px 50px rgba(91,143,185,0.18); border-color: rgba(91,143,185,0.35); }
.service-card:nth-child(1) .service-card__icon { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%); box-shadow: 0 6px 16px rgba(91,143,185,0.35); }
.service-card:nth-child(1) .service-card__link { color: var(--blue); border-bottom-color: rgba(91,143,185,0.3); }

.service-card:nth-child(2) { border-color: rgba(107,168,137,0.15); }
.service-card:nth-child(2)::before { color: rgba(107,168,137,0.08); }
.service-card:nth-child(2)::after { background: linear-gradient(to right, var(--green), var(--green-light)); }
.service-card:nth-child(2):hover { box-shadow: 0 20px 50px rgba(107,168,137,0.18); border-color: rgba(107,168,137,0.35); }
.service-card:nth-child(2) .service-card__icon { background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%); box-shadow: 0 6px 16px rgba(107,168,137,0.35); }
.service-card:nth-child(2) .service-card__link { color: var(--green); border-bottom-color: rgba(107,168,137,0.3); }

.service-card:nth-child(3) { border-color: rgba(155,125,184,0.15); }
.service-card:nth-child(3)::before { color: rgba(155,125,184,0.08); }
.service-card:nth-child(3)::after { background: linear-gradient(to right, var(--purple), var(--purple-light)); }
.service-card:nth-child(3):hover { box-shadow: 0 20px 50px rgba(155,125,184,0.18); border-color: rgba(155,125,184,0.35); }
.service-card:nth-child(3) .service-card__icon { background: linear-gradient(135deg, var(--purple) 0%, var(--purple-light) 100%); box-shadow: 0 6px 16px rgba(155,125,184,0.35); }
.service-card:nth-child(3) .service-card__link { color: var(--purple); border-bottom-color: rgba(155,125,184,0.3); }

.service-card:nth-child(4) { border-color: rgba(196,154,108,0.15); }
.service-card:nth-child(4)::before { color: rgba(196,154,108,0.08); }
.service-card:nth-child(4)::after { background: linear-gradient(to right, var(--amber), var(--amber-light)); }
.service-card:nth-child(4):hover { box-shadow: 0 20px 50px rgba(196,154,108,0.18); border-color: rgba(196,154,108,0.35); }
.service-card:nth-child(4) .service-card__icon { background: linear-gradient(135deg, var(--amber) 0%, var(--amber-light) 100%); box-shadow: 0 6px 16px rgba(196,154,108,0.35); }
.service-card:nth-child(4) .service-card__link { color: var(--amber); border-bottom-color: rgba(196,154,108,0.3); }

.service-card__link:hover {
  gap: 10px;
  color: var(--rose);
  border-color: var(--rose);
}

/* Garanties sous les cards */
.services-guarantees {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-top: var(--space-xl);
}

.services-guarantees .badge {
  font-size: var(--size-sm);
  padding: 8px 18px;
}

.services-note {
  text-align: center;
  font-size: var(--size-xs);
  color: var(--noir-light);
  margin-top: var(--space-sm);
}

/* ============================================================
   10. PROCESSUS (ÉTAPES)
   ============================================================ */
/* Scène voiture : conteneur global de la section processus */
.steps-scene {
  position: relative;
}

/* Route animée avec la petite voiture */
.steps-road {
  position: relative;
  height: 52px;
  margin-bottom: var(--space-lg);
  overflow: visible;
}

.steps-road::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  transform: translateY(-50%);
  border-top: 2px dashed rgba(217, 141, 127, 0.4);
}

/* Piste animée — conteneur qui se déplace de gauche à droite */
.steps-car-track {
  position: absolute;
  top: 50%;
  transform: translateY(-58%);
  animation: trackMove 12s linear infinite;
  pointer-events: none;
  width: 82px; /* largeur de la voiture (la plus large) */
  height: 38px;
}

/* Chaque icône est empilée au même endroit */
.steps-icon {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.steps-icon svg {
  display: block;
  height: auto;
  filter: drop-shadow(0 3px 5px rgba(43,43,43,0.18));
}

.steps-icon--rdv svg,
.steps-icon--delivery svg {
  width: 52px;
  margin-left: 15px; /* centrer dans les 82px du track */
}

.steps-icon--car svg {
  width: 82px;
}

/* Déplacement horizontal commun */
@keyframes trackMove {
  0%   { left: -90px; }
  100% { left: calc(100% + 90px); }
}

/* Opacités : calendrier visible au passage de l'étape 1 */
.steps-icon--rdv      { animation: iconRdv      12s linear infinite; }
/* Voiture visible au passage de l'étape 2 */
.steps-icon--car      { animation: iconCar      12s linear infinite; }
/* Colis visible au passage de l'étape 3 */
.steps-icon--delivery { animation: iconDelivery 12s linear infinite; }

@keyframes iconRdv {
  0%   { opacity: 0; }
  8%   { opacity: 1; }
  26%  { opacity: 1; }
  35%  { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes iconCar {
  0%   { opacity: 0; }
  26%  { opacity: 0; }
  35%  { opacity: 1; }
  65%  { opacity: 1; }
  70%  { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes iconDelivery {
  0%   { opacity: 0; }
  55%  { opacity: 0; }
  64%  { opacity: 1; }
  83%  { opacity: 1; }
  89%  { opacity: 0; }
  100% { opacity: 0; }
}

.steps {
  display: grid;
  grid-template-columns: 1fr 68px 1fr 68px 1fr;
  gap: 0;
  align-items: stretch;
  margin-top: 0;
}

/* Flèche animée entre les étapes */
.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rose-light);
  animation: arrowPulse 2s ease-in-out infinite;
}

.step-arrow svg {
  width: 36px;
  height: 36px;
  stroke: var(--rose-light);
  stroke-width: 2;
}

@keyframes arrowPulse {
  0%, 100% { transform: translateX(0); opacity: 0.45; }
  50%       { transform: translateX(7px); opacity: 1; }
}

.step {
  background: var(--blanc);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-md) var(--space-sm);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--ecru-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

/* Trait rose qui s'anime en haut au survol */
.step::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--rose-light), var(--rose));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.step:hover::after { transform: scaleX(1); }

.step__label {
  display: inline-block;
  font-size: var(--size-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: var(--space-sm);
}

.step__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ecru-dark) 0%, rgba(217,141,127,0.22) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
  transition: transform var(--transition), background var(--transition);
}

.step:hover .step__icon {
  transform: scale(1.08);
  background: linear-gradient(135deg, rgba(217,141,127,0.22) 0%, rgba(217,141,127,0.42) 100%);
}

.step__icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--rose);
  stroke-width: 1.8;
}

.step__title {
  font-size: var(--size-md);
  font-weight: 700;
  color: var(--noir);
  margin-bottom: var(--space-xs);
}

.step__text {
  font-size: var(--size-base);
  color: var(--noir-light);
}

/* Couleurs individuelles par step */
.step:nth-child(1) { border-color: rgba(91,143,185,0.18); }
.step:nth-child(1)::after { background: linear-gradient(to right, var(--blue-light), var(--blue)); }
.step:nth-child(1):hover { box-shadow: 0 16px 40px rgba(91,143,185,0.18); }
.step:nth-child(1) .step__label { color: var(--blue); }
.step:nth-child(1) .step__icon { background: linear-gradient(135deg, rgba(91,143,185,0.12) 0%, rgba(91,143,185,0.25) 100%); }
.step:nth-child(1):hover .step__icon { background: linear-gradient(135deg, rgba(91,143,185,0.25) 0%, rgba(91,143,185,0.45) 100%); }
.step:nth-child(1) .step__icon svg { stroke: var(--blue); }

.step:nth-child(3) { border-color: rgba(107,168,137,0.18); }
.step:nth-child(3)::after { background: linear-gradient(to right, var(--green-light), var(--green)); }
.step:nth-child(3):hover { box-shadow: 0 16px 40px rgba(107,168,137,0.18); }
.step:nth-child(3) .step__label { color: var(--green); }
.step:nth-child(3) .step__icon { background: linear-gradient(135deg, rgba(107,168,137,0.12) 0%, rgba(107,168,137,0.25) 100%); }
.step:nth-child(3):hover .step__icon { background: linear-gradient(135deg, rgba(107,168,137,0.25) 0%, rgba(107,168,137,0.45) 100%); }
.step:nth-child(3) .step__icon svg { stroke: var(--green); }

.step:nth-child(5) { border-color: rgba(196,154,108,0.18); }
.step:nth-child(5)::after { background: linear-gradient(to right, var(--amber-light), var(--amber)); }
.step:nth-child(5):hover { box-shadow: 0 16px 40px rgba(196,154,108,0.18); }
.step:nth-child(5) .step__label { color: var(--amber); }
.step:nth-child(5) .step__icon { background: linear-gradient(135deg, rgba(196,154,108,0.12) 0%, rgba(196,154,108,0.25) 100%); }
.step:nth-child(5):hover .step__icon { background: linear-gradient(135deg, rgba(196,154,108,0.25) 0%, rgba(196,154,108,0.45) 100%); }
.step:nth-child(5) .step__icon svg { stroke: var(--amber); }

/* ============================================================
   11. SECTION OPTICIENNE
   ============================================================ */

/* Vague rose diffuse au scroll - section "Qui suis-je ?" */
.about-reveal {
  position: relative;
  overflow: hidden;
}
.about-reveal__line {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at var(--wave-x, 30%) var(--wave-y, 50%), rgba(217,141,127,0.35) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at var(--wave-x2, 70%) var(--wave-y2, 40%), rgba(232,181,172,0.25) 0%, transparent 65%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.about-img {
  position: relative;
}

.about-img img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.about-img__badge {
  position: absolute;
  bottom: var(--space-lg);
  right: calc(-1 * var(--space-md));
  background-color: var(--blanc);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.about-img__badge strong {
  font-size: var(--size-2xl);
  font-weight: 700;
  color: var(--rose);
  line-height: 1;
}

.about-img__badge span {
  font-size: var(--size-sm);
  color: var(--noir-light);
  font-weight: 500;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.about-content p {
  font-size: var(--size-md);
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-xs);
}

.about-value {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.about-value__dot {
  width: 8px;
  height: 8px;
  background-color: var(--rose);
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}

/* ============================================================
   12. ZONE D'INTERVENTION
   ============================================================ */
/* CTA en fin d'article de blog */
.article-cta {
  margin-top: var(--space-xl);
  padding: var(--space-lg);
  background: var(--ecru);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--rose);
  text-align: center;
}
.article-cta h3 {
  font-size: var(--size-lg);
  color: var(--noir);
  margin-bottom: var(--space-xs);
}
.article-cta p {
  color: var(--noir-light);
  margin-bottom: var(--space-md);
}
.article-cta .btn-primary {
  background-color: var(--rose);
  color: var(--blanc);
}

.zone-section {
  background: linear-gradient(135deg, var(--rose) 0%, var(--rose-dark) 100%);
  color: var(--blanc);
}

.zone-section .section-label {
  color: rgba(255,255,255,0.75);
}

.zone-section h2 {
  color: var(--blanc);
}

.zone-section p {
  color: rgba(255,255,255,0.85);
}

.zone-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: stretch;
}

.zone-grid > div:last-child {
  display: flex;
  flex-direction: column;
}

.zone-card {
  background: var(--blanc);
  border: 1px solid rgba(217,141,127,0.15);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.zone-card:hover {
  background: rgba(255,255,255,0.88);
  border-color: rgba(217,141,127,0.2);
}

.zone-card svg {
  width: 32px;
  height: 32px;
  stroke: var(--rose);
  flex-shrink: 0;
}

.zone-card__text strong {
  display: block;
  font-size: var(--size-md);
  color: var(--noir);
  font-weight: 700;
}

.zone-card__text span {
  font-size: var(--size-sm);
  color: var(--noir-light);
}

.zone-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

/* Texte SEO des villes desservies */
.zone-cities-seo {
  margin-top: var(--space-xl);
  font-size: var(--size-sm);
  color: rgba(255,255,255,0.70);
  line-height: 1.9;
  text-align: center;
  max-width: 860px;
  margin-inline: auto;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: var(--space-lg);
}
.zone-cities-seo strong {
  color: rgba(255,255,255,0.90);
  font-weight: 600;
}

/* ============================================================
   13. SECTION RDV (CALENDLY)
   ============================================================ */
.rdv-section {
  background-color: var(--ecru);
  padding-block-start: var(--space-md);
  padding-bottom: calc(var(--space-md) + 72px);
}
.rdv-section .section-header {
  margin-bottom: var(--space-md);
}

/* Phrase sous-titre RDV */
.rdv-subtitle {
  font-size: clamp(0.82rem, 1.4vw, var(--size-base));
}
.rdv-hint {
  display: inline-block;
  margin-top: 0.4em;
  font-size: var(--size-xs);
  color: var(--noir-light);
}
.rdv-hint a {
  color: var(--rose);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Lien flèche discret sous une section */
.section-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--size-sm);
  font-weight: 600;
  color: var(--rose-dark);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1.5px solid rgba(175,99,84,0.3);
  transition: gap var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}
.section-link-arrow:hover {
  gap: 10px;
  color: var(--rose);
  border-color: var(--rose);
}

.calendly-wrapper {
  min-height: 750px;
}

/* ============================================================
   14. TÉMOIGNAGES
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.testimonial-card {
  background: var(--blanc);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
}

.testimonial-star {
  color: var(--rose);
  font-size: 1.1rem;
}

.testimonial-text {
  font-style: italic;
  color: var(--noir-light);
  line-height: 1.8;
  flex: 1;
}

.testimonial-more {
  display: inline;
  font-style: normal;
  font-size: var(--size-sm);
  font-weight: 600;
  color: var(--rose);
  text-decoration: none;
  cursor: pointer;
  margin-left: .25rem;
}
.testimonial-more:hover {
  color: var(--rose-dark);
  text-decoration: underline;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-xs);
}

.testimonial-author__avatar {
  width: 42px;
  height: 42px;
  background-color: var(--ecru-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--rose);
  font-size: var(--size-base);
  flex-shrink: 0;
}

.testimonial-author__name {
  font-weight: 700;
  font-size: var(--size-sm);
  color: var(--noir);
}

.testimonial-author__detail {
  font-size: var(--size-xs);
  color: var(--noir-light);
}

/* Placeholder témoignages */
.testimonials-placeholder {
  text-align: center;
  padding: var(--space-xl);
  background: var(--blanc);
  border-radius: var(--radius-md);
  border: 2px dashed var(--ecru-dark);
  color: var(--noir-light);
}

/* Badge note Google */
.google-rating-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: var(--space-xl);
  font-size: var(--size-sm);
  color: var(--noir-light);
}
.google-rating-badge__logo {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.google-rating-badge__score {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--noir);
  line-height: 1;
}
.google-rating-badge__stars {
  display: flex;
  gap: 2px;
}
.google-rating-badge__count {
  color: var(--noir-light);
}

/* Avatar photo Google dans les cartes */
.testimonial-author__img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

/* Lien "voir tous les avis" */
.testimonials-more {
  text-align: center;
  margin-top: var(--space-xl);
}

/* ============================================================
   TRUST BAR — bandeau de réassurance Google (bas du hero)
   ============================================================ */
.trust-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  background: rgba(253, 246, 239, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(240, 230, 216, 0.7);
  padding: 20px 0;
}

.trust-bar__inner {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  min-width: 0;
}

.trust-bar__rating {
  display: flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  color: var(--noir);
  flex-shrink: 0;
  transition: opacity var(--transition-fast);
}
.trust-bar__rating:hover { opacity: 0.75; }

.trust-bar__google-logo {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.trust-bar__score {
  font-weight: 700;
  font-size: var(--size-xl);
  line-height: 1;
}

.trust-bar__stars {
  display: flex;
  gap: 2px;
  color: var(--rose);
  font-size: 1.15rem;
}

.trust-bar__count {
  font-size: var(--size-sm);
  color: var(--noir-light);
}

.trust-bar__sep {
  width: 1px;
  height: 22px;
  background: var(--ecru-dark);
  flex-shrink: 0;
}

.trust-bar__quote {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-bar__quote-text {
  font-style: italic;
  color: var(--noir-light);
  font-size: var(--size-sm);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
  opacity: 1;
  transition: opacity 0.35s ease;
}

.trust-bar__quote-text.is-fading { opacity: 0; }

.trust-bar__quote-author {
  font-size: var(--size-xs);
  color: var(--rose);
  font-weight: 700;
  flex-shrink: 0;
  white-space: nowrap;
  opacity: 1;
  transition: opacity 0.35s ease;
}
.trust-bar__quote-author.is-fading { opacity: 0; }

@media (max-width: 640px) {
  .trust-bar__sep,
  .trust-bar__quote { display: none; }
  .trust-bar__inner { justify-content: center; }
}

/* ============================================================
   BADGE GOOGLE — styles partagés (header + flottant)
   ============================================================ */

/* Badge dans le header */
.header__google-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1.5px solid rgba(217,141,127,0.25);
  border-radius: var(--radius-full);
  padding: 7px 14px;
  font-size: var(--size-sm);
  font-weight: 700;
  color: var(--noir);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(43,43,43,0.08);
  transition: box-shadow var(--transition-fast), border-color var(--transition-fast);
}
.header__google-badge:hover {
  box-shadow: 0 4px 14px rgba(43,43,43,0.13);
  border-color: var(--rose-light);
}

.header__google-badge__logo {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.header__google-badge__star {
  color: #f59e0b;
  font-size: 0.95rem;
}
.header__google-badge__label {
  color: var(--noir-light);
  font-weight: 400;
}

/* Badge flottant — bas droite à gauche du bouton backToTop */
#floatingGoogleBadge {
  position: fixed;
  bottom: var(--space-lg);
  right: calc(var(--space-lg) + 48px + 12px); /* 48px = largeur backToTop, 12px = gap */
  z-index: 989;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(253, 246, 239, 0.92);
  border: 1px solid var(--ecru-dark);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-size: var(--size-sm);
  font-weight: 700;
  color: var(--noir);
  text-decoration: none;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(43,43,43,0.10);
  opacity: 0;
  transform: translateY(12px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
#floatingGoogleBadge.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
#floatingGoogleBadge:hover {
  background: var(--ecru-dark);
  border-color: var(--rose-light);
}

/* Masqué sur mobile (le bouton appel flottant occupe déjà la place) */
@media (max-width: 768px) {
  #floatingGoogleBadge { display: none; }
  .header__google-badge__label { display: none; }
}

/* Sur hero : le CTA est masqué, le nav garde le même espacement */
.header--hero-visible .nav {
  gap: var(--space-md);
}

/* ============================================================
   15. FAQ
   ============================================================ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.faq-item {
  background: var(--blanc);
  border: 1px solid var(--ecru-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition-fast);
}

.faq-item[open] {
  box-shadow: 0 4px 20px rgba(43,43,43,0.08);
}

.faq-item__question {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  font-size: var(--size-base);
  font-weight: 600;
  color: var(--noir);
  cursor: pointer;
  user-select: none;
}

.faq-item__question::-webkit-details-marker { display: none; }

.faq-item__question::after {
  content: '+';
  flex-shrink: 0;
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--rose);
  line-height: 1;
  transition: transform var(--transition-fast);
}

.faq-item[open] .faq-item__question::after {
  transform: rotate(45deg);
}

.faq-item__question:hover {
  color: var(--rose);
}

.faq-item__answer {
  padding: 0 var(--space-lg) var(--space-md);
  color: var(--noir-light);
  font-size: var(--size-sm);
  line-height: 1.7;
  border-top: 1px solid var(--ecru-dark);
}

.faq-item__answer p { margin: 0; padding-top: var(--space-sm); }

/* ============================================================
   16. FORMULAIRE CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-2xl);
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-info__title {
  font-size: var(--size-xl);
  font-weight: 700;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.contact-item__icon {
  width: 44px;
  height: 44px;
  background-color: var(--ecru-dark);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item__icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--rose);
}

.contact-item__label {
  font-size: var(--size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--noir-light);
}

.contact-item__value {
  font-size: var(--size-base);
  font-weight: 600;
  color: var(--noir);
}

.contact-item__value a {
  color: var(--noir);
  transition: color var(--transition-fast);
}

.contact-item__value a:hover { color: var(--rose); }

.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: var(--size-sm);
  font-weight: 600;
  color: var(--noir);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--ecru-dark);
  border-radius: var(--radius-sm);
  background: var(--blanc);
  color: var(--noir);
  font-size: var(--size-base);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(217,141,127,0.18);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #bbb;
}

.form-notice {
  font-size: var(--size-xs);
  color: var(--noir-light);
  line-height: 1.6;
}

.form-notice a {
  color: var(--rose);
  text-decoration: underline;
}

/* Messages retour formulaire */
.form-message {
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  font-size: var(--size-sm);
  font-weight: 600;
  display: none;
}

.form-message.success {
  background: #e8f5e9;
  color: #2e7d32;
  display: block;
}

.form-message.error {
  background: #fce4ec;
  color: #c62828;
  display: block;
}

/* ============================================================
   17. FOOTER
   ============================================================ */
.footer {
  background-color: var(--noir);
  color: rgba(255,255,255,0.7);
  padding-block: var(--space-2xl) var(--space-lg);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__logo {
  text-align: left;
}

.footer__logo img {
  height: 100px;
  width: auto;
  margin-bottom: var(--space-md);
  filter: brightness(0) invert(1);
  display: block;
}

.footer__tagline {
  font-size: var(--size-base);
  font-weight: 500;
  line-height: 1.75;
  color: rgba(255,255,255,0.90);
  margin-bottom: var(--space-md);
}

.footer__social {
  display: flex;
  gap: var(--space-sm);
}

.footer__social-link {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.footer__social-link:hover { background: var(--rose); }
.footer__social-link svg { width: 18px; height: 18px; stroke: var(--blanc); }

.footer__col-title {
  font-size: var(--size-sm);
  font-weight: 700;
  color: var(--blanc);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.footer__links a {
  font-size: var(--size-sm);
  color: rgba(255,255,255,0.6);
  transition: color var(--transition-fast);
}

.footer__links a:hover { color: var(--rose); }

/* Colonnes de liens (nav, services, contact) centrées */
.footer__grid > div:not(:first-child) { text-align: center; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
  padding-top: var(--space-lg);
}

.footer__copy {
  font-size: var(--size-xs);
  color: rgba(255,255,255,0.65);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-md);
}

.footer__legal a {
  font-size: var(--size-xs);
  color: rgba(255,255,255,0.65);
  transition: color var(--transition-fast);
}

.footer__legal a:hover { color: var(--rose); }

/* ============================================================
   17. ANIMATIONS SCROLL (Intersection Observer)
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Délais en cascade pour enfants */
.fade-in[data-delay="1"] { transition-delay: 0.1s; }
.fade-in[data-delay="2"] { transition-delay: 0.2s; }
.fade-in[data-delay="3"] { transition-delay: 0.3s; }
.fade-in[data-delay="4"] { transition-delay: 0.4s; }
.fade-in[data-delay="5"] { transition-delay: 0.5s; }

/* ============================================================
   18. BADGES & PETITS COMPOSANTS
   ============================================================ */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: var(--size-xs);
  font-weight: 600;
}

.badge-rose {
  background-color: rgba(217,141,127,0.15);
  color: var(--rose-dark);
}

.divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(to right, var(--rose), var(--rose-light));
  border-radius: var(--radius-full);
  margin-block: var(--space-sm);
}

.divider.centered { margin-inline: auto; }

/* Fond de secours visible même sans tuiles */
#map-zone { background: #e8e0d8; }

/* Contrôles Leaflet (zoom +/-) sous le header */
.leaflet-top,
.leaflet-bottom { z-index: 500 !important; }

/* ============================================================
   Focus visible — accessibilité clavier (WCAG 2.4.7)
   ============================================================ */
:focus-visible {
  outline: 3px solid var(--rose);
  outline-offset: 3px;
  border-radius: 3px;
}

/* Désactiver outline par défaut (remplacé par focus-visible) */
:focus:not(:focus-visible) {
  outline: none;
}

/* ============================================================
   Bannière cookies
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: rgba(253, 246, 239, 0.82);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-top: 1px solid rgba(217,141,127,0.25);
  box-shadow: 0 -4px 32px rgba(43,43,43,0.10);
  padding: var(--space-md) var(--space-lg);
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.cookie-banner__text {
  flex: 1;
  min-width: 240px;
}

.cookie-banner__text strong {
  display: block;
  font-size: var(--size-base);
  font-weight: 700;
  color: var(--noir);
  margin-bottom: 0.3rem;
}

.cookie-banner__text p {
  font-size: var(--size-sm);
  color: var(--noir-light);
  line-height: 1.5;
  margin: 0;
}

.cookie-banner__text a {
  color: var(--rose);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-banner__decline {
  font-size: var(--size-sm);
  font-weight: 600;
  color: var(--noir-light);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  padding: 0.5rem;
  transition: color var(--transition-fast);
}

.cookie-banner__decline:hover { color: var(--noir); }

@media (max-width: 640px) {
  .cookie-banner { padding: var(--space-md); }
  .cookie-banner__inner { flex-direction: column; align-items: flex-start; }
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__actions .btn { flex: 1; text-align: center; justify-content: center; }
}

/* ============================================================
   19. BOUTON RETOUR EN HAUT + BOUTON APPEL MOBILE
   ============================================================ */

/* Bouton appel flottant — mobile seulement */
#floatingCall {
  display: none; /* caché sur desktop */
}

@media (max-width: 768px) {
  #backToTop { display: none !important; }

  /* Logo mobile */
  .header__logo img { height: 95px; }
  .header.scrolled .header__logo img { height: 82px; }

  /* Hero : plus d'espace entre header et contenu */
  .hero { padding-top: calc(var(--header-h) + var(--space-md)); min-height: 100dvh; }

  /* Hero : masquer "à " et "et ses environs" sur mobile */
  .hero__city-at-prefix,
  .hero__city-suffix { display: none; }

  /* City-line : taille réduite pour tenir sur une ligne, centrée */
  .hero__city-line { white-space: nowrap; font-size: 0.75em; text-align: center; display: block; width: 100%; }

  #floatingCall {
    display: flex;
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    z-index: 990;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--rose);
    color: var(--blanc);
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(217, 141, 127, 0.55);
    text-decoration: none;
    animation: floatingCallPulse 3s ease-in-out infinite;
    opacity: 1;
    transition: opacity 0.4s ease;
  }

  /* Masqué pendant la section hero (bouton tel déjà présent dans le hero) */
  #floatingCall.hero-active {
    opacity: 0;
    pointer-events: none;
  }

  #floatingCall svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    flex-shrink: 0;
  }

  @keyframes floatingCallPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(217, 141, 127, 0.55); }
    50%       { box-shadow: 0 4px 32px rgba(217, 141, 127, 0.85); }
  }
}

#backToTop {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  z-index: 990;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--rose);
  color: var(--blanc);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(217, 141, 127, 0.45);
  opacity: 0;
  transform: translateY(12px) scale(0.9);
  transition: opacity 0.35s ease, transform 0.35s ease, background-color var(--transition-fast), box-shadow var(--transition-fast);
  pointer-events: none;
}

#backToTop.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

#backToTop:hover {
  background-color: var(--rose-dark);
  box-shadow: 0 6px 24px rgba(217, 141, 127, 0.60);
  transform: translateY(-2px) scale(1);
}

#backToTop svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  flex-shrink: 0;
}

/* ============================================================
   20. RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .about-grid { gap: var(--space-lg); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root {
    --space-2xl: 4rem;
    --space-3xl: 5rem;
  }

  .nav { display: none; }
  .hamburger { display: flex; }
  .header__cta-desktop { display: none; }

  .grid-2,
  .grid-3,
  .about-grid,
  .zone-grid,
  .contact-grid { grid-template-columns: 1fr; }

  /* Contact : réduit l'écart entre info et formulaire */
  .contact-grid { gap: var(--space-lg); }

  .steps {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  /* Flèche entre étapes : affichée vers le bas sur mobile */
  .step-arrow {
    display: flex;
    transform: rotate(90deg);
    animation: arrowPulseDown 2s ease-in-out infinite;
  }

  @keyframes arrowPulseDown {
    0%, 100% { transform: rotate(90deg) translateX(0); opacity: 0.45; }
    50%       { transform: rotate(90deg) translateX(7px); opacity: 1; }
  }

  .steps-road { display: none; }

  .about-img__badge {
    right: var(--space-sm);
    bottom: var(--space-sm);
  }

  .form-row { grid-template-columns: 1fr; }

  /* Inputs plus faciles à tapper (≥ 44px) */
  .form-group input,
  .form-group textarea,
  .form-group select { padding: 1rem 1.25rem; }

  /* Footer mobile : identité pleine largeur + 3 colonnes de liens côte à côte */
  .footer__grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--space-lg) var(--space-sm);
    grid-template-areas: "brand brand brand" "nav services contact";
  }
  .footer__grid > div:first-child  { grid-area: brand; text-align: center; }
  .footer__grid > div:first-child .footer__social { justify-content: center; }
  .footer__grid > div:first-child .footer__logo   { text-align: center; }
  .footer__grid > div:first-child .footer__logo img { margin-inline: auto; height: 70px; }
  .footer__grid > div:nth-child(2) { grid-area: nav; }
  .footer__grid > div:nth-child(3) { grid-area: services; }
  .footer__grid > div:nth-child(4) { grid-area: contact; }
  /* Masquer le bouton RDV du footer sur mobile (trop encombrant) */
  .footer__grid > div:nth-child(4) .btn { display: none; }
  .footer__bottom { flex-direction: column; text-align: center; }

  .hero__bg img { object-position: center top; }

  .hero__content { max-width: 100%; text-align: center; }
  .hero__badges { justify-content: center; }
  .hero__content .cta-group { justify-content: center; }

  .cta-group { flex-direction: column; align-items: flex-start; }
  .cta-group.centered { align-items: center; }
  .hero__content .cta-group { align-items: center; }

  /* CTA en colonne : pleine largeur */
  .cta-group .btn { width: 100%; justify-content: center; }

  .testimonials-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }

  /* Masquer les indicateurs de scroll inter-sections sur mobile */
  .hero__scroll,
  .section__scroll { display: none; }

  /* Supprimer le padding réservé pour les indicateurs */
  #services,
  #processus,
  #opticienne,
  #zone,
  #rdv { padding-bottom: var(--space-2xl); }

  /* Bouton "Page contact complète" masqué sur mobile */
  .contact-btn-full { display: none !important; }

  /* Page hero : réduire le padding sur tablette */
  .page-hero {
    padding-top: calc(var(--header-h) + 2.5rem);
    padding-bottom: 2.5rem;
  }
}

@media (max-width: 480px) {
  :root { --header-h: 105px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  /* Header : aligner la hauteur scrolled sur --header-h */
  .header.scrolled { height: var(--header-h); }

  /* Logo adapté */
  .header__logo img { height: 80px; }
  .header.scrolled .header__logo img { height: 76px; }

  /* Hero title : lisible mais pas trop gros */
  .hero__title { font-size: 1.35rem; }

  /* Hero subtitle : masqué sur mobile */
  .hero__subtitle { display: none; }

  /* Boutons : taille mobile avec min 44px de hauteur */
  .btn { padding: 0.85rem 1.5rem; font-size: var(--size-sm); min-height: 44px; }

  /* Page hero : padding réduit sur petits phones */
  .page-hero {
    padding-top: calc(var(--header-h) + 1.5rem);
    padding-bottom: 2rem;
  }

  /* Blog : espacement plus compact entre les cartes */
  .blog-grid { gap: var(--space-md); }
}

/* ============================================================
   20. INNER PAGES — layout commun
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--rose-light) 0%, var(--rose) 100%);
  padding-top: calc(var(--header-h) + var(--space-xl));
  padding-bottom: var(--space-lg);
  color: var(--blanc);
  text-align: center;
}

.page-hero h1 {
  color: var(--blanc);
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 700;
}

.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  font-size: var(--size-sm);
  color: rgba(255,255,255,0.7);
  margin-top: var(--space-sm);
}

.page-hero .breadcrumb a { color: rgba(255,255,255,0.7); }
.page-hero .breadcrumb a:hover { color: var(--blanc); }
.page-hero .breadcrumb span { color: rgba(255,255,255,0.4); }

/* ============================================================
   21. SCROLLBAR CUSTOM
   ============================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--ecru); }
::-webkit-scrollbar-thumb { background: var(--rose-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--rose); }

/* ============================================================
   22. UTILITAIRES
   ============================================================ */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }

/* ============================================================
   23. TRANSITION DE PAGE (fondu)
   ============================================================ */
@keyframes pageFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

body {
  animation: pageFadeIn 0.35s ease both;
}

body.page-fade-out {
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
