/* =========================================================================
   ESSOR.Paris — feuille de style principale
   Palette : bleu marine #1F3A5F · doré #B98B3E · fond clair
   Typographie : Fraunces (titres) · Inter (texte)
   ========================================================================= */

/* ----- 1. Variables de thème ------------------------------------------- */
:root {
  --navy:        #1F3A5F;
  --navy-deep:   #152a45;
  --navy-700:    #2b4d78;
  --gold:        #B98B3E;
  --gold-bright: #cda04f;
  --gold-soft:   #e7d4ab;

  --cream:       #FBF9F4;
  --paper:       #FFFFFF;
  --ink:         #1B2535;
  --muted:       #5C6776;
  --line:        #E7E2D7;

  --radius:      14px;
  --radius-lg:   22px;
  --shadow-sm:   0 2px 10px rgba(27, 37, 53, .06);
  --shadow-md:   0 16px 40px rgba(27, 37, 53, .10);
  --shadow-lg:   0 30px 70px rgba(21, 42, 69, .18);

  --container:   1160px;
  --header-h:    78px;

  --ease:        cubic-bezier(.22, .61, .36, 1);
}

/* ----- 2. Réinitialisation & base -------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.12;
  color: var(--navy);
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1rem; }

a { color: var(--navy); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--gold); }

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

ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ----- 3. Utilitaires de mise en page ---------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.section-cream { background: var(--cream); }
.section-paper { background: var(--paper); }
.section-navy {
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(185, 139, 62, .18), transparent 60%),
    var(--navy);
  color: #E9EEF5;
}
.section-navy h1, .section-navy h2, .section-navy h3 { color: #fff; }

.text-center { text-align: center; }
.measure { max-width: 720px; }
.measure-narrow { max-width: 560px; }
.mx-auto { margin-left: auto; margin-right: auto; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 12px 18px;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ----- 4. Typographie éditoriale --------------------------------------- */
.kicker {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-navy .kicker { color: var(--gold-bright); }

.display { font-size: clamp(2.5rem, 6vw, 4rem); }
.h-xl    { font-size: clamp(2rem, 4.5vw, 3rem); }
.h-lg    { font-size: clamp(1.6rem, 3vw, 2.2rem); }

.lead {
  font-size: 1.2rem;
  color: var(--muted);
  line-height: 1.6;
}
.section-navy .lead { color: rgba(233, 238, 245, .85); }

.gold-rule {
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  border: 0;
  border-radius: 3px;
  margin: 0 0 26px;
}
.text-center .gold-rule { margin-left: auto; margin-right: auto; }

/* ----- 5. Boutons ------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 16px 28px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease),
              background .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-sm { padding: 11px 18px; font-size: .92rem; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #fff;
  box-shadow: 0 10px 24px rgba(185, 139, 62, .32);
}
.btn-gold:hover { color: #fff; box-shadow: 0 16px 32px rgba(185, 139, 62, .42); }

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

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }

.section-navy .btn-outline { color: #fff; border-color: rgba(255,255,255,.5); }
.section-navy .btn-outline:hover { background: #fff; color: var(--navy); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* ----- 6. En-tête / navigation ----------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 249, 244, .88);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s var(--ease), background .25s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); background: rgba(251, 249, 244, .96); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 20px;
}

.brand { display: flex; flex-direction: column; line-height: 1; }
.brand-mark {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: .14em;
  color: var(--navy);
}
.brand-tagline {
  font-size: .68rem;
  letter-spacing: .04em;
  color: var(--gold);
  margin-top: 4px;
  font-weight: 500;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-list > li > a {
  display: inline-block;
  padding: 10px 14px;
  font-weight: 500;
  font-size: .98rem;
  color: var(--ink);
  border-radius: 8px;
}
.nav-list > li > a:hover,
.nav-list > li > a.is-active { color: var(--gold); }
.nav-list > li > a.is-active { position: relative; }

/* Sous-menu « Nos offres » */
.has-submenu { position: relative; }
.submenu-toggle { display: none; }
.submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 280px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.submenu li a {
  display: block;
  padding: 11px 14px;
  border-radius: 8px;
  font-size: .95rem;
  color: var(--ink);
}
.submenu li a:hover { background: var(--cream); color: var(--gold); }

.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: var(--navy);
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----- 7. Hero d'accueil ----------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 600px at 88% 10%, rgba(185,139,62,.16), transparent 55%),
    radial-gradient(700px 500px at 5% 95%, rgba(43,77,120,.10), transparent 60%),
    var(--cream);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
  padding: 96px 0 88px;
}
.hero h1 { margin-bottom: .35em; }
.hero .lead { max-width: 32em; }

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-stat .num {
  font-family: "Fraunces", serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--navy);
  display: block;
}
.hero-stat .label { font-size: .9rem; color: var(--muted); }

/* Carte visuelle du hero */
.hero-card {
  position: relative;
  background: linear-gradient(160deg, var(--navy), var(--navy-deep));
  color: #EAF0F7;
  border-radius: var(--radius-lg);
  padding: 38px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(360px 240px at 100% 0, rgba(185,139,62,.32), transparent 60%);
  pointer-events: none;
}
.hero-card .card-kicker { color: var(--gold-bright); letter-spacing: .18em;
  text-transform: uppercase; font-size: .74rem; font-weight: 600; }
.hero-card h3 { color: #fff; font-size: 1.45rem; margin: 14px 0 18px; }
.hero-card ul.checklist li { color: #DCE6F2; }
.hero-card .card-phone {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.16);
}
.hero-card .card-phone small { display: block; color: rgba(220,230,242,.7);
  font-size: .82rem; margin-bottom: 4px; }
.hero-card .card-phone a {
  color: #fff;
  font-family: "Fraunces", serif;
  font-size: 1.5rem;
  font-weight: 600;
}
.hero-card .card-phone a:hover { color: var(--gold-bright); }

/* Liste « check » dorée, réutilisée ailleurs */
.checklist li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: .5em;
  width: 9px; height: 9px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg) translateY(-2px);
}

/* ----- 8. Section en-tête (titres de section) -------------------------- */
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.text-center { margin-left: auto; margin-right: auto; }

/* ----- 9. Cartes d'offres ---------------------------------------------- */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.offer-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              border-color .25s var(--ease);
}
.offer-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-soft);
}
/* Illustration distincte en bannière, propre à chaque offre */
.offer-visual {
  display: block;
  line-height: 0;
  border-bottom: 1px solid var(--line);
  background: var(--navy-deep);
}
.offer-visual img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  display: block;
  transition: transform .4s var(--ease);
}
.offer-card:hover .offer-visual img { transform: scale(1.04); }
.offer-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 28px 30px 30px;
}
.offer-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(185,139,62,.16), rgba(31,58,95,.10));
  color: var(--navy);
  margin-bottom: 22px;
}
.offer-icon svg { width: 28px; height: 28px; }
.offer-tag {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.offer-card h3 { font-size: 1.4rem; }
.offer-card p { color: var(--muted); flex-grow: 1; }
.offer-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  color: var(--navy-700);
  margin: 10px 0 20px;
  font-weight: 500;
  background: rgba(31,58,95,.07);
  border-radius: 20px;
  padding: 4px 12px 4px 8px;
}
.offer-meta svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.offer-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  color: var(--navy);
}
.offer-link::after {
  content: "→";
  transition: transform .2s var(--ease);
}
.offer-card:hover .offer-link::after { transform: translateX(5px); }
.offer-card:hover .offer-link { color: var(--gold); }

/* ----- 10. Bandeau « pourquoi » / valeurs ------------------------------ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
}
.feature .feat-num {
  font-family: "Fraunces", serif;
  font-size: 1.1rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: .04em;
}
.feature h3 { font-size: 1.2rem; margin-top: 8px; }
.feature p { color: var(--muted); margin: 0; }

/* Grille 4 colonnes pour les étapes du processus */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.steps-grid::before {
  content: "";
  position: absolute;
  top: 30px;
  left: calc(12.5% + 10px);
  right: calc(12.5% + 10px);
  height: 2px;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold) 50%, var(--gold-soft));
  pointer-events: none;
}
.step-card {
  padding: 24px 22px 26px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  position: relative;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.step-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gold-soft);
  transform: translateY(-4px);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-family: "Fraunces", serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.step-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step-card p  { color: var(--muted); margin: 0; font-size: .94rem; line-height: 1.55; }

/* Section différenciateurs */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.diff-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.diff-icon {
  flex: 0 0 46px;
  width: 46px; height: 46px;
  border-radius: 13px;
  background: rgba(185,139,62,.13);
  color: var(--navy);
  display: grid;
  place-items: center;
}
.diff-icon svg { width: 22px; height: 22px; }
.diff-item h3 { font-size: 1.05rem; margin-bottom: 4px; }
.diff-item p  { color: var(--muted); margin: 0; font-size: .9rem; }

/* ----- 11. Témoignages -------------------------------------------------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.testimonial {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
}
.testimonial .quote-mark {
  font-family: "Fraunces", serif;
  font-size: 3.4rem;
  line-height: .6;
  color: var(--gold-bright);
  display: block;
  margin-bottom: 10px;
}
.testimonial blockquote { margin: 0 0 20px; font-size: 1.05rem; color: #EAF0F7; }
.testimonial .author { font-weight: 600; color: #fff; }
.testimonial .company { font-size: .9rem; color: rgba(233,238,245,.7); }

/* ----- 12. CTA bandeau -------------------------------------------------- */
.cta-band {
  background:
    radial-gradient(700px 360px at 85% 0, rgba(185,139,62,.22), transparent 60%),
    linear-gradient(120deg, var(--navy), var(--navy-deep));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 60px 56px;
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(233,238,245,.85); margin-bottom: 0; }
.cta-band .cta-phone { text-align: right; }
.cta-band .cta-phone small { display: block; color: rgba(233,238,245,.7);
  font-size: .85rem; margin-bottom: 6px; }
.cta-band .cta-phone a.phone-big {
  font-family: "Fraunces", serif;
  font-size: 1.9rem;
  font-weight: 600;
  color: #fff;
}
.cta-band .cta-phone a.phone-big:hover { color: var(--gold-bright); }

/* ----- 13. Pages de prestation (détail) -------------------------------- */
.detail-hero {
  background:
    radial-gradient(800px 460px at 90% -10%, rgba(185,139,62,.14), transparent 55%),
    var(--cream);
  padding: 72px 0 64px;
}
.breadcrumb { font-size: .9rem; color: var(--muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--navy); }

.detail-grid {
  display: grid;
  grid-template-columns: 1.5fr .9fr;
  gap: 48px;
  align-items: start;
}
.detail-main h2 { margin-top: 44px; }
.detail-main h2:first-of-type { margin-top: 0; }

.numbered { counter-reset: step; }
.numbered li {
  position: relative;
  padding-left: 52px;
  margin-bottom: 18px;
  min-height: 36px;
  display: flex;
  align-items: center;
}
.numbered li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: .95rem;
}

.benefit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.benefit-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px 20px 46px;
  position: relative;
  color: var(--ink);
}
.benefit-card::before {
  content: "";
  position: absolute;
  left: 18px; top: 24px;
  width: 10px; height: 10px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
}

/* Encart latéral (aside) sticky */
.detail-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.info-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.info-card.navy {
  background: linear-gradient(160deg, var(--navy), var(--navy-deep));
  color: #EAF0F7;
  border: none;
}
.info-card.navy h3 { color: #fff; }
.info-row { padding: 14px 0; border-bottom: 1px solid var(--line); }
.info-card.navy .info-row { border-color: rgba(255,255,255,.14); }
.info-row:last-of-type { border-bottom: none; }
.info-row .info-label {
  font-size: .76rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; display: block; margin-bottom: 4px;
}
.info-card.navy .info-row .info-label { color: var(--gold-bright); }
.info-row .info-value { font-weight: 500; }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-pill {
  font-size: .85rem;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(31,58,95,.06);
  border: 1px solid var(--line);
  color: var(--navy);
}

/* Format cards (ateliers) */
.format-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.format-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.format-card h3 { font-size: 1.2rem; }
.format-card p { color: var(--muted); margin: 0; }

/* ----- 14. Page À propos ----------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 52px;
  align-items: start;
}
.founder-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.founder-avatar {
  width: 120px; height: 120px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--navy), var(--navy-deep));
  color: #fff;
  font-family: "Fraunces", serif;
  font-size: 2.4rem;
  font-weight: 600;
  box-shadow: 0 0 0 6px rgba(185,139,62,.16);
}
.founder-card h3 { margin-bottom: 2px; }
.founder-role { color: var(--gold); font-weight: 500; font-size: .95rem; }

.value-list li {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.value-list li:last-child { border-bottom: none; }
.value-list .v-icon {
  flex: 0 0 44px;
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(185,139,62,.14);
  color: var(--navy);
}
.value-list .v-icon svg { width: 22px; height: 22px; }
.value-list h3 { font-size: 1.1rem; margin-bottom: 2px; }
.value-list p { margin: 0; color: var(--muted); }

/* ----- 15. Page & formulaire de contact -------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr .85fr;
  gap: 48px;
  align-items: start;
}
.contact-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label {
  display: block;
  font-weight: 600;
  font-size: .92rem;
  margin-bottom: 8px;
  color: var(--navy);
}
.field label .req { color: var(--gold); }
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(185,139,62,.14);
}
.field textarea { min-height: 140px; resize: vertical; }
.field .error-msg {
  display: none;
  color: #B43A2F;
  font-size: .86rem;
  margin-top: 6px;
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #C9483B; background: #FCF3F2; }
.field.has-error .error-msg { display: block; }

.form-note { font-size: .86rem; color: var(--muted); margin-top: 4px; }

.form-alert {
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 22px;
  font-size: .95rem;
}
.form-alert.error { background: #FCF3F2; border: 1px solid #E7C4BF; color: #9A332A; }
.form-alert.success { background: #F1F7F2; border: 1px solid #BFD9C4; color: #2C6B3F; }
.form-alert a { color: inherit; text-decoration: underline; }

/* Carte coordonnées contact */
.contact-info .info-card { margin-bottom: 20px; }
.contact-channel {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.contact-channel:last-child { border-bottom: none; padding-bottom: 0; }
.contact-channel .c-icon {
  flex: 0 0 46px; width: 46px; height: 46px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.1);
  color: var(--gold-bright);
}
.contact-channel .c-icon svg { width: 22px; height: 22px; }
.contact-channel .c-label {
  font-size: .76rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-bright); font-weight: 600;
}
.contact-channel .c-value { font-size: 1.25rem; font-weight: 600; color: #fff;
  font-family: "Fraunces", serif; }
.contact-channel .c-value a { color: #fff; }
.contact-channel .c-value a:hover { color: var(--gold-bright); }
.contact-channel small { color: rgba(233,238,245,.7); display: block; margin-top: 2px; }

/* Confirmation (merci) */
.confirm {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  padding: 60px 0;
}
.confirm .confirm-icon {
  width: 88px; height: 88px;
  margin: 0 auto 28px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(185,139,62,.16);
  color: var(--gold);
}
.confirm .confirm-icon svg { width: 44px; height: 44px; }

/* ----- 16. Pied de page ------------------------------------------------ */
.site-footer {
  background: var(--navy-deep);
  color: #C7D2E0;
  padding-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-mark { color: #fff; font-size: 1.6rem; }
.footer-tagline { color: var(--gold-bright); font-family: "Fraunces", serif;
  font-size: 1.05rem; margin: 12px 0 6px; }
.footer-baseline { color: rgba(199,210,224,.75); font-size: .92rem; }
.footer-col h3 {
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: #C7D2E0; font-size: .96rem; }
.footer-col a:hover { color: var(--gold-bright); }
.footer-contact li { margin-bottom: 16px; }
.footer-label {
  display: block;
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 3px;
}
.footer-contact a { font-size: 1.05rem; color: #fff; font-weight: 500; }
.footer-contact small { display: block; color: rgba(199,210,224,.6); font-size: .82rem; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; }
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .88rem;
  color: rgba(199,210,224,.7);
}
.footer-bottom-inner p { margin: 0; }
.footer-legal a { color: rgba(199,210,224,.85); }
.footer-legal a:hover { color: var(--gold-bright); }

/* ----- 17. Animations d'apparition ------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .offer-card:hover { transform: none; }
}

/* ----- 18. Responsive --------------------------------------------------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 64px 24px; }
  .detail-grid { grid-template-columns: 1fr; gap: 36px; }
  .detail-aside { position: static; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-band { grid-template-columns: 1fr; gap: 28px; padding: 44px 36px; }
  .cta-band .cta-phone { text-align: left; }
}

@media (max-width: 860px) {
  .offer-grid,
  .feature-grid,
  .testimonial-grid { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid::before { display: none; }
  .diff-grid { grid-template-columns: 1fr; gap: 20px; }

  /* Navigation mobile */
  .nav-toggle { display: flex; }
  .primary-nav {
    position: fixed;
    inset: var(--header-h) 0 0 auto;
    width: min(86vw, 360px);
    background: var(--paper);
    border-left: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform .3s var(--ease);
    overflow-y: auto;
    padding: 14px;
  }
  .primary-nav.open { transform: translateX(0); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-list > li > a { padding: 14px 16px; border-radius: 10px; font-size: 1.05rem; }
  .nav-list > li > a:hover { background: var(--cream); }

  .has-submenu { display: flex; flex-wrap: wrap; align-items: center;
    justify-content: space-between; }
  .has-submenu > a { flex: 1; }
  .submenu-toggle {
    display: inline-grid;
    place-items: center;
    width: 40px; height: 40px;
    font-size: 1.4rem;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--navy);
    cursor: pointer;
  }
  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    padding: 0 0 0 10px;
    transition: max-height .3s var(--ease);
  }
  .submenu.open { max-height: 320px; padding: 6px 0 6px 10px; }
  .nav-cta { margin: 12px 0 4px; }
  .nav-cta .btn { width: 100%; justify-content: center; padding: 15px; }
}

@media (max-width: 560px) {
  .section { padding: 60px 0; }
  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .field-row { grid-template-columns: 1fr; }
  .format-grid { grid-template-columns: 1fr; }
  .contact-form, .info-card { padding: 26px 22px; }
  .cta-band { padding: 36px 26px; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
}

/* =========================================================================
   19. Améliorations mobiles & onboarding
   ========================================================================= */

/* Confort tactile : pas de flash bleu au tap, retour visuel à l'appui */
a, button, .btn, .mobile-cta-btn { -webkit-tap-highlight-color: rgba(185, 139, 62, .15); }
.btn, .mobile-cta-btn, .nav-toggle, .submenu-toggle { touch-action: manipulation; }
.btn:active { transform: translateY(0) scale(.97); }

/* On tient compte du header collant lors d'un saut vers une ancre.
   overflow-x: hidden neutralise le débordement horizontal du menu hors-écran
   (le défilement vertical et le header collant restent intacts). */
html { scroll-padding-top: calc(var(--header-h) + 14px); overflow-x: hidden; }
body { overflow-x: hidden; }

/* Anti-débordement : les enfants de grilles/flex peuvent rétrécir sous la
   taille intrinsèque de leur contenu (sinon l'image 400px force la colonne). */
.offer-grid      { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-grid    { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.testimonial-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
.offer-card, .offer-visual, .hero-inner > *, .hero-stat { min-width: 0; }

/* Les longues chaînes (email) ne débordent jamais de leur colonne */
.footer-contact a, .contact-channel .c-value, .info-value,
.footer-legal { overflow-wrap: anywhere; }

/* Quatre offres et plus : grille 2 × 2, plus équilibrée qu'une rangée de 3
   avec une carte orpheline. Scopé desktop pour ne pas écraser le 1 colonne
   mobile (:has a une spécificité supérieure à .offer-grid seul). */
@media (min-width: 861px) {
  .offer-grid:has(> :nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Apparition échelonnée des cartes au sein des grilles */
.offer-grid > .reveal:nth-child(2),
.feature-grid > .reveal:nth-child(2),
.testimonial-grid > .reveal:nth-child(2) { transition-delay: .09s; }
.offer-grid > .reveal:nth-child(3),
.feature-grid > .reveal:nth-child(3),
.testimonial-grid > .reveal:nth-child(3) { transition-delay: .18s; }
.offer-grid > .reveal:nth-child(4) { transition-delay: .27s; }

/* Voile sombre derrière le menu mobile */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(21, 42, 69, .55);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s var(--ease), visibility .3s;
  z-index: 96;
}
.nav-backdrop.show { opacity: 1; visibility: visible; pointer-events: auto; }

/* Blocage du défilement de la page quand le menu est ouvert */
body.nav-open { overflow: hidden; }

/* Barre d'actions rapides en bas d'écran (smartphones) */
.mobile-cta { display: none; }
.mobile-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 10px;
  border-radius: 14px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: .98rem;
  color: #fff;
  transition: transform .15s var(--ease), box-shadow .2s var(--ease);
}
.mobile-cta-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.mobile-cta-btn.call  { background: var(--navy); }
.mobile-cta-btn.quote { background: linear-gradient(135deg, var(--gold-bright), var(--gold)); }
.mobile-cta-btn:hover { color: #fff; }
.mobile-cta-btn:active { transform: scale(.97); }

@keyframes cta-slide-up { from { transform: translateY(120%); } to { transform: translateY(0); } }
@keyframes nav-item-in  { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }

/* ----- Tablette & mobile (≤ 860px) ------------------------------------- */
@media (max-width: 860px) {
  :root { --header-h: 68px; }            /* header un peu plus compact */

  /* IMPORTANT : on retire le backdrop-filter du header sur mobile.
     Sinon il devient le bloc conteneur du menu hors-écran (position: fixed)
     et le panneau se retrouve « piégé » dans la barre — donc invisible. */
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(251, 249, 244, .97);
  }

  /* Barre d'actions rapides visible et accrochée en bas */
  .mobile-cta {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px 14px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(251, 249, 244, .92);
    backdrop-filter: blur(12px) saturate(140%);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 26px rgba(21, 42, 69, .12);
    animation: cta-slide-up .5s var(--ease) .35s both;
  }
  body { padding-bottom: 78px; }         /* réserve l'espace de la barre */
  body.nav-open .mobile-cta { display: none; }

  /* Grilles en une colonne qui peut rétrécir (anti-débordement image) */
  .offer-grid, .feature-grid, .testimonial-grid,
  .benefit-grid { grid-template-columns: minmax(0, 1fr); }

  /* Pied de page : 2 colonnes sur tablette/grand mobile */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 28px; }

  /* Apparition échelonnée des entrées du menu */
  .primary-nav.open .nav-list > li { animation: nav-item-in .42s var(--ease) both; }
  .primary-nav.open .nav-list > li:nth-child(1) { animation-delay: .05s; }
  .primary-nav.open .nav-list > li:nth-child(2) { animation-delay: .10s; }
  .primary-nav.open .nav-list > li:nth-child(3) { animation-delay: .15s; }
  .primary-nav.open .nav-list > li:nth-child(4) { animation-delay: .20s; }
  .primary-nav.open .nav-list > li:nth-child(5) { animation-delay: .25s; }
}

/* ----- Smartphone (≤ 600px) -------------------------------------------- */
@media (max-width: 600px) {
  .display { font-size: clamp(2.05rem, 8.6vw, 2.55rem); line-height: 1.08; }
  .h-xl    { font-size: clamp(1.7rem, 6.4vw, 2.05rem); }
  .lead    { font-size: 1.05rem; }

  .container { padding: 0 24px; }

  .hero-inner { padding: 36px 24px 30px; gap: 30px; }
  .hero .lead { max-width: none; }
  .hero-card { padding: 26px 22px; }
  .hero-card h3 { font-size: 1.3rem; }
  .hero-card .card-phone a { font-size: 1.35rem; }

  /* Statistiques du hero : alignées et lisibles */
  .hero-stats { gap: 14px 18px; margin-top: 30px; padding-top: 22px; }
  .hero-stat { flex: 1 1 28%; }
  .hero-stat .num { font-size: 1.65rem; }
  .hero-stat .label { font-size: .82rem; }

  /* Boutons pleine largeur (cibles tactiles confortables) dans les zones clés */
  .hero .btn-row .btn,
  .detail-hero .btn-row .btn,
  .cta-band .btn-row .btn,
  .confirm .btn-row .btn { flex: 1 1 100%; }

  .section-head { margin-bottom: 34px; }
  .gold-rule { margin-bottom: 20px; }
  .cta-band .cta-phone a.phone-big { font-size: 1.6rem; }

  /* Pied de page : une seule colonne sur smartphone */
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .site-footer { padding-top: 48px; }
}

/* ----- Très petits écrans (≤ 380px) ------------------------------------ */
@media (max-width: 380px) {
  .brand-mark { font-size: 1.45rem; }
  .brand-tagline { font-size: .58rem; }
  .mobile-cta-btn { font-size: .9rem; padding: 13px 8px; }
}

/* ----- Écrans tactiles : neutralise les survols « collants » ----------- */
@media (hover: none) {
  .btn:hover { transform: none; }
  .offer-card:hover { transform: none; box-shadow: var(--shadow-sm); border-color: var(--line); }
  .offer-card:hover .offer-visual img { transform: none; }
  .nav-list > li > a:hover { background: transparent; }
}

/* ----- Respect de prefers-reduced-motion ------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .mobile-cta { animation: none; transform: none; }
  .primary-nav.open .nav-list > li { animation: none; }
  .btn:active, .mobile-cta-btn:active { transform: none; }
  .reveal { transition-delay: 0s !important; }
}

/* =========================================================================
   20. Effets « wow » — micro-animations soignées
   Tout est neutralisé sous prefers-reduced-motion (bloc 21).
   ========================================================================= */

/* 20.0 — Indicateur de progression de lecture (fin liseré doré en haut) */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
  box-shadow: 0 0 10px rgba(185, 139, 62, .5);
  z-index: 300;            /* au-dessus du header collant (z-index: 100) */
  pointer-events: none;
  transition: width .12s linear;
  border-radius: 0 2px 2px 0;
}

/* 20.1 — Ancrage du nom de marque : « ESSOR » + suffixe doré « .Paris ».
   Au survol, un reflet doré balaie le suffixe pour appuyer l'identité. */
.brand-mark { position: relative; }
.brand-tld {
  letter-spacing: .02em;
  color: var(--gold);
  background: linear-gradient(100deg,
              var(--gold) 18%, var(--gold-bright) 42%, #fff 50%,
              var(--gold-bright) 58%, var(--gold) 82%);
  background-size: 230% 100%;
  background-position: 88% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: background-position .85s var(--ease);
}
.brand:hover .brand-tld,
.brand:focus-visible .brand-tld { background-position: 0 0; }
.footer-mark .brand-tld { /* suffixe doré aussi lisible sur fond marine */
  background: linear-gradient(100deg,
              var(--gold-bright) 18%, var(--gold-soft) 42%, #fff 50%,
              var(--gold-soft) 58%, var(--gold-bright) 82%);
  background-size: 230% 100%;
  background-position: 88% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 20.2 — Entrée animée du hero au chargement (apparition en cascade) */
@keyframes wow-rise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}
@keyframes wow-rise-card {
  from { opacity: 0; transform: translateY(40px) scale(.97); }
  to   { opacity: 1; transform: none; }
}
.hero-intro > * { animation: wow-rise .8s var(--ease) both; }
.hero-intro > .kicker     { animation-delay: .12s; }
.hero-intro > h1          { animation-delay: .24s; }
.hero-intro > .lead       { animation-delay: .38s; }
.hero-intro > .btn-row    { animation-delay: .52s; }
.hero-intro > .hero-stats { animation-delay: .66s; }
.hero-intro-card { animation: wow-rise-card .95s var(--ease) .5s both; }

/* 20.2b — Cascade réutilisable pour les en-têtes des pages internes
   (offres, à-propos, prestations, contact, mentions légales). */
.stagger > * { animation: wow-rise .7s var(--ease) both; }
.stagger > *:nth-child(1) { animation-delay: .05s; }
.stagger > *:nth-child(2) { animation-delay: .15s; }
.stagger > *:nth-child(3) { animation-delay: .25s; }
.stagger > *:nth-child(4) { animation-delay: .35s; }
.stagger > *:nth-child(5) { animation-delay: .45s; }
.stagger > *:nth-child(6) { animation-delay: .55s; }

/* 20.3 — Aurore : halos dorés/marine qui dérivent doucement dans le hero */
.hero { position: relative; }
.hero::after {
  content: "";
  position: absolute;
  inset: -25% -12% auto -12%;
  height: 150%;
  background:
    radial-gradient(420px 320px at 22% 28%, rgba(185, 139, 62, .20), transparent 60%),
    radial-gradient(480px 360px at 82% 62%, rgba(43, 77, 120, .16), transparent 62%);
  filter: blur(4px);
  pointer-events: none;
  z-index: 0;
  animation: wow-aurora 18s ease-in-out infinite alternate;
}
@keyframes wow-aurora {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(2.5%, -3%, 0) scale(1.08); }
  100% { transform: translate3d(-2.5%, 2.5%, 0) scale(1.05); }
}
.hero-inner { position: relative; z-index: 1; }

/* 20.4 — Le filet doré se « dessine » quand sa section apparaît */
.gold-rule { transition: width .9s var(--ease) .15s; }
.reveal:not(.is-visible) .gold-rule { width: 0; }

/* 20.5 — Reflet lumineux qui balaie les boutons dorés au survol */
.btn-gold { position: relative; overflow: hidden; isolation: isolate; }
.btn-gold::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -75%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg);
  z-index: -1;             /* au-dessus du dégradé, sous le texte */
  transition: left .7s var(--ease);
}
.btn-gold:hover::before,
.btn-gold:focus-visible::before { left: 135%; }

/* 20.6 — Survol enrichi des cartes d'offres (halo doré + ombre plus ample) */
.offer-card:hover {
  box-shadow: 0 26px 55px rgba(31, 58, 95, .18),
              0 8px 20px rgba(185, 139, 62, .14);
}

/* 20.7 — « Projecteur » : un halo doux suit le curseur sur les cartes.
   Les variables --mx/--my sont mises à jour en JS (voir main.js). */
.spotlight { position: relative; }
.spotlight > * { position: relative; z-index: 1; }
.spotlight::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(240px 240px at var(--mx, 50%) var(--my, 50%),
              var(--spot, rgba(255, 255, 255, .16)), transparent 62%);
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease);
}
.spotlight:hover::after { opacity: 1; }
.offer-card.spotlight { --spot: rgba(185, 139, 62, .16); }

/* =========================================================================
   21. Neutralisation des effets « wow » si l'utilisateur réduit les animations
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-intro > *,
  .hero-intro-card,
  .stagger > * { animation: none !important; opacity: 1 !important; transform: none !important; }
  .hero::after { animation: none; }
  .brand-tld { transition: none; }
  .btn-gold::before { transition: none; }
  .gold-rule { transition: none; }
  .reveal:not(.is-visible) .gold-rule { width: 64px; }
  .spotlight::after { display: none; }
  .scroll-progress { transition: none; }
}

/* Écrans tactiles : pas de projecteur ni de reflet « collant » au survol */
@media (hover: none) {
  .spotlight::after { display: none; }
}

/* =========================================================================
   22. Bandeau de disponibilités
   ========================================================================= */
.avail-banner {
  background: var(--navy-deep);
  color: rgba(199,210,224,.9);
  padding: 10px 48px 10px 24px;
  font-size: .875rem;
  text-align: center;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.avail-banner strong { color: var(--gold-bright); font-weight: 600; }
.avail-banner-close {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(199,210,224,.5);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  padding: 4px 6px;
  border-radius: 4px;
  transition: color .2s;
}
.avail-banner-close:hover { color: #fff; }

/* =========================================================================
   23. Wizard de devis guidé
   ========================================================================= */
.wizard {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.wiz-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}
.wiz-counter {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}
.wiz-progress {
  flex: 1;
  height: 4px;
  background: var(--line);
  border-radius: 2px;
}
.wiz-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), #C9A55A);
  border-radius: 2px;
  transition: width .45s var(--ease);
}
.wiz-step { display: none; animation: wiz-in .3s var(--ease) both; }
.wiz-step.active { display: block; }
@keyframes wiz-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
.wiz-title {
  font-family: "Fraunces", serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 22px;
  line-height: 1.3;
}

/* Grille cartes offres (step 1) */
.wiz-offer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 0;
}
.wiz-offer-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: left;
  padding: 18px 18px 16px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--cream);
  cursor: pointer;
  transition: border-color .2s, background .2s, box-shadow .2s, transform .15s;
  font-family: inherit;
}
.wiz-offer-card:hover {
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 4px 18px rgba(185,139,62,.13);
  transform: translateY(-2px);
}
.wiz-offer-card.selected {
  border-color: var(--gold);
  background: rgba(185,139,62,.08);
}
.wiz-offer-card .wiz-tag {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--gold);
}
.wiz-offer-card strong {
  font-size: .97rem;
  color: var(--navy);
  font-family: "Fraunces", serif;
  font-weight: 600;
  line-height: 1.25;
}
.wiz-offer-card .wiz-sub {
  font-size: .8rem;
  color: var(--muted);
}

/* Grille choix (step 3 et 4) */
.wiz-choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
  margin-bottom: 20px;
}
.wiz-choice {
  padding: 15px 12px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
  font-family: inherit;
  font-size: .93rem;
  font-weight: 500;
  color: var(--navy);
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .15s;
  text-align: center;
  line-height: 1.3;
}
.wiz-choice:hover { border-color: var(--gold); background: #fff; transform: translateY(-1px); }
.wiz-choice.selected {
  border-color: var(--gold);
  background: rgba(185,139,62,.09);
  font-weight: 600;
}

/* Champ date conditionnel */
.wiz-date-wrap {
  display: none;
  margin-bottom: 16px;
}
.wiz-date-wrap.visible { display: block; }

/* Boutons de navigation */
.wiz-nav {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.wiz-nav .btn { flex: 1; justify-content: center; }

/* Écran de confirmation */
.wiz-done {
  text-align: center;
  padding: 16px 0 8px;
}
.wiz-done-icon {
  width: 68px; height: 68px;
  background: rgba(185,139,62,.13);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  color: var(--gold);
}
.wiz-done-icon svg { width: 32px; height: 32px; }

/* Responsive wizard */
@media (max-width: 560px) {
  .wizard { padding: 24px 20px; }
  .wiz-offer-grid { grid-template-columns: 1fr; }
  .wiz-choice-grid { grid-template-columns: 1fr 1fr; }
  .wiz-nav { flex-direction: column; }
  .wiz-nav .btn { flex: none; width: 100%; }
}

/* =========================================================================
   22. Bandeau de consentement cookies
   ========================================================================= */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 250;             /* au-dessus du header (100) et du menu (96) */
  width: min(680px, calc(100% - 28px));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  padding: 18px 22px;
  background: var(--navy, #152A45);
  color: #E9EEF5;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg, 16px);
  box-shadow: 0 18px 44px rgba(21, 42, 69, .35);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner .cookie-text {
  flex: 1 1 300px;
  margin: 0;
  font-size: .92rem;
  line-height: 1.55;
}
.cookie-banner .cookie-text a {
  color: var(--gold-bright, #D9A75C);
  text-decoration: underline;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
/* Le bouton « Refuser » doit rester lisible sur fond bleu nuit */
.cookie-banner .btn-outline {
  color: #E9EEF5;
  border-color: rgba(255,255,255,.4);
}
.cookie-banner .btn-outline:hover {
  color: var(--navy, #152A45);
  background: #fff;
  border-color: #fff;
}

/* Sur mobile, la barre d'actions rapides occupe le bas de l'écran :
   le bandeau se place juste au-dessus. */
@media (max-width: 860px) {
  .cookie-banner {
    bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  }
  .cookie-banner .cookie-actions { width: 100%; }
  .cookie-banner .cookie-actions .btn { flex: 1; justify-content: center; }
}
