/* ===== VERIANE — Design system =====
   Assurance généraliste fictive (décor de démo / captation vidéo).
   Auto, habitation, santé, prévoyance — « L'assurance, enfin claire. »
   Polices Sora (titres) + Plus Jakarta Sans (corps), chargées via <link> dans le <head>.
   Tokens issus du référentiel de marque VERIANE (voir /VERIANE.md). */
:root {
  /* Fond et surfaces */
  --paper:        #F4F7F8;            /* fond global, blanc bleuté */
  --surface:      #FFFFFF;            /* cartes, navigation, panneaux */
  --surface-soft: #EBF1F2;            /* sections alternées */
  --line:         #E0E8EA;            /* bordures et séparateurs */

  /* Encres */
  --ink:          #0E2A38;            /* bleu nuit, titres et texte principal */
  --ink-soft:     #4A5C66;            /* texte secondaire (reconstruit — spec tronquée) */
  --ink-faint:    #93A2A9;            /* légendes, mentions */

  /* Accent de marque, sérénité */
  --accent:       #11A594;            /* teal, CTA, liens, validation */
  --accent-deep:  #0B7E6F;            /* survol des CTA */
  --accent-tint:  #DCF2EE;            /* fonds doux, badges, surbrillances */

  /* Chaleur, humain */
  --warm:         #F4A259;            /* ambre, accents humains et illustrations */
  --warm-tint:    #FCEEDE;

  /* Sémantique */
  --positive:     #2BB673;            /* confirmations, contrat actif */
  --alert:        #E2613E;            /* échéance, action requise */
  --star:         #F5A623;            /* notation */

  /* Dégradés */
  --grad-hero:    linear-gradient(160deg, #0E2A38, #103A48);
  --grad-accent:  linear-gradient(135deg, #11A594, #2BB673);

  /* Typographie */
  --font-display: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body:    'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Rayons, généreux pour un ton rassurant */
  --r-sm:   10px;
  --r-md:   16px;
  --r-lg:   24px;
  --r-pill: 999px;

  /* Ombres */
  --shadow-sm:  0 1px 2px rgba(14,42,56,.06);
  --shadow-md:  0 16px 40px -20px rgba(14,42,56,.20);
  --shadow-lg:  0 30px 70px -30px rgba(14,42,56,.30);

  /* Transitions */
  --ease:   cubic-bezier(.2,.7,.3,1);
  --t-fast: .16s;
  --t-base: .28s;
  --t-slow: .5s;

  /* Divers */
  --nav-height: 70px;
  --utility-height: 38px;
  --max-width: 1200px;
}

/* ===== Reset & base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-height) + var(--utility-height) + 12px); }

body {
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.6;
  background: var(--paper);
  padding-top: calc(var(--nav-height) + var(--utility-height));
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 28px; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; color: var(--ink); font-weight: 700; }

a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

/* ===== Utility bar ===== */
.utility-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--utility-height);
  background: var(--ink);
  color: rgba(255,255,255,0.82);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem;
  z-index: 1001;
  text-align: center;
  padding: 0 16px;
}
.utility-bar strong { color: #fff; font-weight: 600; }
.utility-bar .dot { color: var(--accent); margin: 0 8px; }

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: var(--utility-height); left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  z-index: 1000;
  display: flex;
  align-items: center;
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 20px; }

.navbar__logo { display: inline-flex; align-items: center; }
.navbar__logo img { height: 34px; width: auto; display: block; }
.logo-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
  color: var(--ink);
  text-transform: lowercase;
  display: inline-flex;
  align-items: baseline;
}
.logo-word .dot { color: var(--accent); }

.navbar__links { display: flex; align-items: center; gap: 2px; }
.navbar__links > li { position: relative; }
.navbar__links a, .navbar__dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 9px 15px;
  border-radius: var(--r-pill);
  transition: color var(--t-base) var(--ease), background-color var(--t-base) var(--ease);
}
.navbar__links a:hover, .navbar__links a.active, .navbar__dropdown-toggle:hover {
  color: var(--ink); background: var(--accent-tint);
}
.navbar__dropdown-toggle::after {
  content: "";
  width: 6px; height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--t-base) var(--ease);
}

/* Dropdown Assurances */
.navbar__dropdown { position: relative; }
.navbar__dropdown-menu {
  position: absolute;
  top: calc(100% + 12px); left: 0;
  min-width: 280px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: 10px;
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease), visibility var(--t-base);
  z-index: 1002;
}
.navbar__dropdown:hover .navbar__dropdown-menu,
.navbar__dropdown:focus-within .navbar__dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.navbar__dropdown:hover .navbar__dropdown-toggle::after { transform: rotate(-135deg) translateY(0); }
.navbar__dropdown-menu a {
  display: flex; align-items: center; gap: 12px;
  width: 100%;
  padding: 11px 12px;
  border-radius: var(--r-sm);
  font-size: 0.92rem;
}
.navbar__dropdown-menu a:hover { background: var(--accent-tint); }
.navbar__dropdown-menu .dd-icon {
  width: 34px; height: 34px; flex-shrink: 0;
  border-radius: var(--r-sm);
  background: var(--accent-tint);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
}
.navbar__dropdown-menu .dd-text strong { display: block; color: var(--ink); font-weight: 600; font-size: 0.9rem; }
.navbar__dropdown-menu .dd-text span { font-size: 0.78rem; color: var(--ink-faint); }

.navbar__actions { display: flex; align-items: center; gap: 10px; }
.navbar__menu-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  width: 42px; height: 42px;
  color: var(--ink);
  font-size: 1.2rem;
  cursor: pointer;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  border: 1.5px solid transparent;
  cursor: pointer;
  gap: 8px;
  line-height: 1;
  transition: transform var(--t-fast) var(--ease),
              background-color var(--t-base) var(--ease),
              color var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease);
}
.btn:active { transform: scale(0.97); }

.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-deep); }

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

.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--accent-tint); }

.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn--ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn--warm { background: var(--warm); color: var(--ink); }
.btn--warm:hover { filter: brightness(1.04); }

.btn--lg { padding: 16px 34px; font-size: 1rem; }
.btn--sm { padding: 10px 18px; font-size: 0.85rem; }
.btn--full { width: 100%; }

.link-accent { color: var(--accent); font-weight: 600; }
.link-accent:hover { color: var(--accent-deep); text-decoration: underline; }

/* ===== Sections ===== */
.section { padding: 84px 0; }
.section--soft { background: var(--surface-soft); }
.section--dark { background-image: var(--grad-hero); color: #fff; }
.section--tight { padding: 56px 0; }

.section__header { max-width: 660px; margin-bottom: 44px; }
.section__header--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.6vw, 2rem);
  letter-spacing: -0.4px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}
.section--dark .section__title { color: #fff; }
.section--dark .eyebrow { color: var(--accent); }
.section__subtitle { color: var(--ink-soft); font-size: 1.05rem; }
.section--dark .section__subtitle { color: rgba(255,255,255,0.72); }

/* ===== Hero d'accueil ===== */
.hero {
  background: var(--paper);
  padding: 56px 0 72px;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5.2vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -1px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 18px;
}
.hero__title em { font-style: normal; color: var(--accent); }
.hero__subtitle {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 460px;
  margin-bottom: 24px;
}
.hero__points { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 30px; }
.hero__point { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--ink-soft); font-weight: 500; }
.hero__point .check {
  width: 20px; height: 20px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent-tint); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700;
}

/* Mini-devis (carte hero) */
.minidevis {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 28px;
  max-width: 420px;
}
.minidevis__title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; margin-bottom: 4px; }
.minidevis__hint { font-size: 0.85rem; color: var(--ink-faint); margin-bottom: 18px; }
.minidevis__choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.minidevis__choice {
  border: 1.5px solid var(--line);
  background: var(--surface);
  border-radius: var(--r-md);
  padding: 14px 8px;
  cursor: pointer;
  text-align: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--ink);
  transition: border-color var(--t-base) var(--ease), background-color var(--t-base) var(--ease), transform var(--t-fast) var(--ease);
}
.minidevis__choice .ico { display: block; font-size: 1.4rem; margin-bottom: 6px; }
.minidevis__choice:hover { border-color: var(--accent); }
.minidevis__choice.active { border-color: var(--accent); background: var(--accent-tint); }
.minidevis__choice:active { transform: scale(0.97); }
.minidevis__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
.minidevis__reassure { font-size: 0.76rem; color: var(--ink-faint); }

/* Illustration rassurante (placeholder SVG/CSS, sans image externe) */
.hero__art {
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.hero__art-card {
  width: 100%;
  background: var(--grad-hero);
  border-radius: var(--r-lg);
  padding: 34px;
  color: #fff;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.hero__art-card::after {
  content: "";
  position: absolute;
  right: -60px; bottom: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(17,165,148,0.5), transparent 70%);
}

/* ===== Offres (cartes) ===== */
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.offer-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: 28px 26px;
  display: flex; flex-direction: column;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.offer-card--featured { border-color: var(--accent); box-shadow: var(--shadow-md); }
.offer-card__badge {
  position: absolute; top: 18px; right: 18px;
  background: var(--warm); color: var(--ink);
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  padding: 5px 11px; border-radius: var(--r-pill);
}
.offer-card__icon {
  width: 52px; height: 52px;
  border-radius: var(--r-md);
  background: var(--accent-tint); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 16px;
}
.offer-card__name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; margin-bottom: 6px; }
.offer-card__benefit { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 16px; }
.offer-card__price { font-size: 0.85rem; color: var(--ink-faint); margin-bottom: 16px; }
.offer-card__price strong { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--accent); display: inline; }
.offer-card__list { margin-bottom: 22px; flex: 1; }
.offer-card__list li {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 0.88rem; color: var(--ink-soft); padding: 5px 0;
}
.offer-card__list li::before {
  content: "✓"; color: var(--accent); font-weight: 700; flex-shrink: 0;
}

/* ===== Comment ça marche ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { text-align: center; padding: 0 12px; }
.step__num {
  width: 54px; height: 54px; margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--accent-tint); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 700;
}
.step__title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }
.step__text { color: var(--ink-soft); font-size: 0.92rem; }

/* ===== Bloc confiance ===== */
.trust-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-stat { text-align: center; }
.trust-stat__num { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; color: #fff; line-height: 1; margin-bottom: 8px; }
.section--dark .trust-stat__num { color: #fff; }
.trust-stat__label { font-size: 0.88rem; color: rgba(255,255,255,0.7); }
.trust-rating { display: inline-flex; align-items: center; gap: 10px; margin-top: 4px; }
.trust-rating .stars { color: var(--star); letter-spacing: 2px; font-size: 1.05rem; }

/* ===== Témoignages ===== */
.reviews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.review-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px 22px;
}
.review-card__stars { color: var(--star); letter-spacing: 2px; font-size: 0.95rem; margin-bottom: 12px; }
.review-card__text { color: var(--ink); font-size: 0.94rem; line-height: 1.55; margin-bottom: 16px; }
.review-card__meta { font-size: 0.82rem; color: var(--ink-faint); }
.review-card__meta strong { color: var(--ink); font-weight: 600; display: block; }
.review-card__verified { color: var(--positive); font-weight: 600; }

/* ===== FAQ (accordéon) ===== */
.faq { max-width: 760px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  padding: 22px 40px 22px 0;
  cursor: pointer;
  position: relative;
}
.faq__q::after {
  content: "+";
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; color: var(--accent); font-weight: 400;
  transition: transform var(--t-base) var(--ease);
}
.faq__item.open .faq__q::after { content: "−"; }
.faq__a {
  max-height: 0; overflow: hidden;
  color: var(--ink-soft); font-size: 0.96rem; line-height: 1.7;
  transition: max-height var(--t-base) var(--ease), padding var(--t-base) var(--ease);
}
.faq__item.open .faq__a { max-height: 320px; padding-bottom: 22px; }

/* ===== Page header (pages internes) ===== */
.page-header { background-image: var(--grad-hero); color: #fff; padding: 52px 0; }
.page-header__title { font-family: var(--font-display); font-size: clamp(1.9rem, 5vw, 2.8rem); font-weight: 700; letter-spacing: -0.5px; color: #fff; }
.page-header__subtitle { color: rgba(255,255,255,0.72); margin-top: 10px; max-width: 560px; }
.breadcrumb { padding: 18px 0; display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--ink-faint); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb__sep { color: var(--line); }

/* ===== Page offre (détail branche) ===== */
.offer-detail { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; padding: 36px 0 8px; }
.offer-detail__cat { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.offer-detail__name { font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 2.6rem); letter-spacing: -0.5px; margin-bottom: 14px; }
.offer-detail__lead { color: var(--ink-soft); font-size: 1.08rem; line-height: 1.7; margin-bottom: 26px; }
.guarantee-list { display: grid; gap: 14px; margin: 26px 0; }
.guarantee {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 18px 20px;
}
.guarantee__icon {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: var(--r-sm);
  background: var(--accent-tint); color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-size: 1.15rem;
}
.guarantee__title { font-family: var(--font-display); font-size: 1rem; font-weight: 600; margin-bottom: 3px; }
.guarantee__text { color: var(--ink-soft); font-size: 0.9rem; }

/* Carte prix / souscription (sticky) */
.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  padding: 28px;
  position: sticky;
  top: calc(var(--nav-height) + var(--utility-height) + 20px);
}
.price-card__from { font-size: 0.85rem; color: var(--ink-faint); }
.price-card__price { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: var(--ink); line-height: 1; margin: 4px 0 2px; }
.price-card__price span { font-size: 1rem; color: var(--ink-faint); font-weight: 500; }
.price-card__note { font-size: 0.82rem; color: var(--ink-faint); margin-bottom: 20px; }
.price-card__incl { margin: 20px 0; }
.price-card__incl li { display: flex; gap: 9px; font-size: 0.88rem; color: var(--ink-soft); padding: 5px 0; }
.price-card__incl li::before { content: "✓"; color: var(--accent); font-weight: 700; }
.price-card__legal { font-size: 0.74rem; color: var(--ink-faint); margin-top: 16px; line-height: 1.5; }

/* ===== Tunnel de devis ===== */
.quote { max-width: 660px; margin: 0 auto; padding: 40px 0 64px; }
.quote__progress { height: 8px; background: var(--surface-soft); border-radius: var(--r-pill); overflow: hidden; margin-bottom: 10px; }
.quote__progress-bar { height: 100%; background: var(--grad-accent); border-radius: var(--r-pill); transition: width var(--t-slow) var(--ease); width: 20%; }
.quote__step-label { font-size: 0.8rem; color: var(--ink-faint); margin-bottom: 30px; text-align: right; }
.quote__panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  padding: 40px;
}
.quote__step { display: none; }
.quote__step.active { display: block; animation: ver-rise .4s var(--ease) both; }
.quote__q { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; margin-bottom: 8px; }
.quote__help { color: var(--ink-soft); margin-bottom: 26px; }
.quote__options { display: grid; gap: 12px; margin-bottom: 30px; }
.quote__options--cols { grid-template-columns: repeat(2, 1fr); }
.quote__option {
  display: flex; align-items: center; gap: 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px 20px;
  cursor: pointer;
  background: var(--surface);
  font-family: var(--font-body); font-size: 0.98rem; font-weight: 500; color: var(--ink);
  text-align: left;
  transition: border-color var(--t-base) var(--ease), background-color var(--t-base) var(--ease), transform var(--t-fast) var(--ease);
}
.quote__option .ico { font-size: 1.5rem; }
.quote__option:hover { border-color: var(--accent); }
.quote__option.active { border-color: var(--accent); background: var(--accent-tint); }
.quote__option:active { transform: scale(0.99); }
.quote__field { margin-bottom: 18px; }
.quote__field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 7px; }
.quote__field input, .quote__field select {
  width: 100%; padding: 13px 15px;
  border: 1.5px solid var(--line); border-radius: var(--r-md);
  font-family: var(--font-body); font-size: 0.96rem; color: var(--ink);
  background: var(--surface); outline: none;
  transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.quote__field input:focus, .quote__field select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(17,165,148,0.14); }
.quote__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }

/* Récap & tarif estimé */
.quote-result { text-align: center; }
.quote-result__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-tint); color: var(--accent-deep);
  font-size: 0.82rem; font-weight: 600;
  padding: 7px 16px; border-radius: var(--r-pill); margin-bottom: 18px;
}
.quote-result__price { font-family: var(--font-display); font-size: 3.4rem; font-weight: 700; color: var(--ink); line-height: 1; }
.quote-result__price span { font-size: 1.1rem; color: var(--ink-faint); font-weight: 500; }
.quote-result__recap { text-align: left; background: var(--surface-soft); border-radius: var(--r-md); padding: 22px; margin: 26px 0; }
.quote-result__recap .row { display: flex; justify-content: space-between; padding: 7px 0; font-size: 0.92rem; color: var(--ink-soft); }
.quote-result__recap .row strong { color: var(--ink); font-weight: 600; }

/* ===== Espace client ===== */
.dash { display: grid; grid-template-columns: 260px 1fr; gap: 32px; padding: 32px 0 64px; }
.dash__side { align-self: start; position: sticky; top: calc(var(--nav-height) + var(--utility-height) + 20px); }
.dash__profile {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 22px; margin-bottom: 18px; text-align: center;
}
.dash__avatar {
  width: 64px; height: 64px; margin: 0 auto 12px;
  border-radius: 50%; background: var(--grad-accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 700;
}
.dash__name { font-family: var(--font-display); font-weight: 600; }
.dash__email { font-size: 0.82rem; color: var(--ink-faint); }
.dash__menu { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px; }
.dash__menu a { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: var(--r-sm); font-size: 0.9rem; font-weight: 500; color: var(--ink-soft); }
.dash__menu a:hover, .dash__menu a.active { background: var(--accent-tint); color: var(--ink); }

.dash__main { display: grid; gap: 24px; }
.dash-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.dash-block__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; gap: 12px; }
.dash-block__title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }

.contract-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.contract {
  border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 20px; position: relative;
}
.contract__icon { font-size: 1.4rem; margin-bottom: 10px; }
.contract__name { font-family: var(--font-display); font-weight: 600; margin-bottom: 4px; }
.contract__ref { font-size: 0.78rem; color: var(--ink-faint); margin-bottom: 14px; }
.contract__price { font-size: 0.9rem; color: var(--ink-soft); }
.contract__price strong { color: var(--ink); font-family: var(--font-display); }
.status-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 0.74rem; font-weight: 600; padding: 4px 11px; border-radius: var(--r-pill); }
.status-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-pill--active { background: rgba(43,182,115,0.12); color: var(--positive); }
.status-pill--due { background: rgba(226,97,62,0.12); color: var(--alert); }

.timeline { display: grid; gap: 2px; }
.timeline__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.timeline__row:last-child { border-bottom: none; }
.timeline__left { display: flex; align-items: center; gap: 12px; }
.timeline__dot { width: 34px; height: 34px; border-radius: 50%; background: var(--accent-tint); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 0.9rem; flex-shrink: 0; }
.timeline__label { font-size: 0.9rem; font-weight: 500; }
.timeline__date { font-size: 0.78rem; color: var(--ink-faint); }
.timeline__amount { font-family: var(--font-display); font-weight: 600; color: var(--positive); }

.alert-box { display: flex; align-items: center; gap: 14px; background: var(--warm-tint); border: 1px solid rgba(244,162,89,0.4); border-radius: var(--r-md); padding: 16px 18px; }
.alert-box__icon { font-size: 1.3rem; }
.alert-box__text { font-size: 0.9rem; color: var(--ink); }
.alert-box__text strong { font-weight: 600; }

/* ===== Tarifs (comparatif) ===== */
.compare-wrap { overflow-x: auto; }
.compare {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden; min-width: 720px;
}
.compare th, .compare td { padding: 16px 20px; text-align: left; font-size: 0.92rem; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--surface-soft); font-family: var(--font-display); color: var(--ink); }
.compare tbody th { font-weight: 600; color: var(--ink); }
.compare td { color: var(--ink-soft); }
.compare .price { font-family: var(--font-display); font-weight: 700; color: var(--accent); }
.compare .yes { color: var(--positive); font-weight: 700; }
.compare .no { color: var(--ink-faint); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: none; }

/* ===== Bandeau CTA ===== */
.cta-band { background-image: var(--grad-hero); color: #fff; text-align: center; padding: 64px 0; }
.cta-band__title { font-family: var(--font-display); font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 700; color: #fff; margin-bottom: 12px; }
.cta-band__text { color: rgba(255,255,255,0.72); margin-bottom: 26px; max-width: 520px; margin-left: auto; margin-right: auto; }

/* ===== Footer ===== */
.footer { background: var(--ink); color: rgba(255,255,255,0.62); padding: 60px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer__brand { display: inline-block; margin-bottom: 14px; }
.footer__brand .logo-word { color: #fff; }
.footer__brand .logo-word .dot { color: var(--accent); }
.footer__desc { font-size: 0.88rem; line-height: 1.7; margin-bottom: 18px; max-width: 320px; }
.footer__heading { font-family: var(--font-display); font-size: 0.78rem; font-weight: 600; color: #fff; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.1em; }
.footer__links li { margin-bottom: 10px; }
.footer__links a { font-size: 0.88rem; transition: color var(--t-base) var(--ease); }
.footer__links a:hover { color: var(--accent); }
.footer__legal {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 22px 0;
  font-size: 0.78rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.5);
}
.footer__legal strong { color: rgba(255,255,255,0.75); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 18px 0; text-align: center; font-size: 0.8rem; }
.footer__managed { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 0; }
.footer__managed a { display: inline-flex; align-items: center; transition: opacity 0.2s ease; }
.footer__managed a:hover { opacity: 0.7; }
.footer__managed-logo { height: 22px; width: auto; display: block; }

/* ===== Animations ===== */
@keyframes ver-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.hero__grid > * { animation: ver-rise .7s var(--ease) both; }
.hero__art { animation-delay: .12s; }
.page-header__title { animation: ver-rise .6s var(--ease) both; }
.page-header__subtitle { animation: ver-rise .6s var(--ease) .08s both; }

/* ===== Hovers (souris uniquement) ===== */
@media (hover: hover) and (pointer: fine) {
  .offer-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--accent); }
  .review-card:hover { box-shadow: var(--shadow-sm); }
  .btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
  .btn:active { transform: scale(0.97); box-shadow: none; }
  .contract:hover { border-color: var(--accent); }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .offer-grid, .reviews { grid-template-columns: repeat(2, 1fr); }
  .trust-band { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__grid { gap: 36px; }
}
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .minidevis { max-width: 100%; }
  .offer-detail { grid-template-columns: 1fr; }
  .price-card { position: static; }
  .dash { grid-template-columns: 1fr; }
  .dash__side { position: static; }
  .navbar__links {
    display: none;
    position: absolute; top: var(--nav-height);
    left: 14px; right: 14px;
    flex-direction: column; align-items: stretch;
    padding: 12px; gap: 4px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-md);
  }
  .navbar__links.open { display: flex; }
  .navbar__links a, .navbar__dropdown-toggle { justify-content: flex-start; }
  .navbar__dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding: 4px 0 4px 12px; min-width: 0; }
  .navbar__menu-toggle { display: block; }
}
@media (max-width: 640px) {
  .offer-grid, .reviews, .steps, .contract-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .quote__panel { padding: 26px 20px; }
  .quote__options--cols { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__title { font-size: 2.1rem; }
}

/* ===== Réduire le mouvement ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===== Contact — bloc « Posez une question » (chat Tolk embarqué en fixe) ===== */
.ask { display: grid; grid-template-columns: 1fr 1.05fr; gap: 52px; align-items: center; }
.ask__copy { max-width: 520px; }
.ask__title { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; letter-spacing: -0.3px; color: var(--ink); line-height: 1.12; margin-bottom: 16px; }
.ask__lead { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.7; margin-bottom: 24px; }
.ask__lead strong { color: var(--ink); font-weight: 700; }
.ask__hint { font-size: 0.9rem; font-weight: 600; color: var(--ink-faint); margin-bottom: 12px; }
.ask-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ask-chip { display: inline-flex; align-items: center; gap: 7px; font-family: inherit; font-size: 0.88rem; text-align: left; color: var(--accent-deep); background: var(--accent-tint); border: 1px solid var(--line); padding: 8px 15px; border-radius: var(--r-pill); line-height: 1.3; cursor: pointer; transition: background-color .22s cubic-bezier(.22,1,.36,1), border-color .22s cubic-bezier(.22,1,.36,1), color .22s cubic-bezier(.22,1,.36,1), transform .14s cubic-bezier(.22,1,.36,1); }
.ask-chip::after { content: "\2192"; font-size: 0.95em; opacity: 0.5; transition: transform .22s cubic-bezier(.22,1,.36,1), opacity .22s cubic-bezier(.22,1,.36,1); }
.ask-chip:active { transform: scale(0.96); }
.ask-chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ask-window { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); overflow: hidden; display: flex; flex-direction: column; }
.ask-window__bar { display: flex; align-items: center; gap: 12px; padding: 11px 16px; background: var(--ink); border-bottom: 1px solid rgba(0,0,0,0.15); }
.ask-window__dots { display: flex; gap: 7px; }
.ask-window__dot { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,0.3); }
.ask-window__dot:first-child { background: var(--warm); }
.ask-window__dot:nth-child(2) { background: var(--accent); }
.ask-window__dot:nth-child(3) { background: var(--positive); }
.ask-window__body { position: relative; background: #fff; }
/* Widget Tolk (template "fullscreen") injecté ici — hauteur fixe = cadre stable.
   SCOPÉ à .ask-window__body : ailleurs, le widget flottant crée son propre
   #lightchat-container sur le <body> ; ne pas forcer son iframe en plein écran. */
.ask-window__body #lightchat-container { width: 100%; height: 480px; display: block; }
.ask-window__body #lightchat-container iframe { width: 100% !important; height: 100% !important; border: 0; display: block; }
@media (hover: hover) and (pointer: fine) {
  .ask-chip:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
  .ask-chip:hover::after { transform: translateX(3px); opacity: 1; }
}
@media (max-width: 860px) {
  .ask { grid-template-columns: 1fr; gap: 34px; }
  .ask__copy { max-width: none; }
}
