/* =========================================================
   Essart & fils — Design system
   Marine + ambre · Space Grotesk / Hanken Grotesk
   ========================================================= */

:root {
  --marine:      #142d4c;
  --marine-700:  #1c3d63;
  --marine-900:  #0d1f36;
  --ambre:       #f2b441;
  --ambre-600:   #e3a128;
  --sable:       #f7f3ec;
  --sable-200:   #efe7d8;
  --cream:       #fbf8f2;
  --ink:         #0e1c2b;
  --text:        #46505f;
  --muted:       #7d8794;
  --white:       #ffffff;
  --line:        rgba(20,45,76,0.12);
  --line-dark:   rgba(255,255,255,0.14);

  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;

  --r:    6px;
  --r-lg: 12px;
  --r-xl: 20px;

  --shadow-sm: 0 2px 10px rgba(14,28,43,0.06);
  --shadow:    0 18px 50px rgba(14,28,43,0.14);
  --shadow-lg: 0 30px 80px rgba(14,28,43,0.22);

  --container: 1200px;
  --pad: 56px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5 { font-family: var(--font-head); color: var(--marine); font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--ambre); color: var(--marine); }

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: 92px 0; }
.section--tight { padding: 64px 0; }
.section--marine { background: var(--marine); color: #c9d4e0; }
.section--marine h2, .section--marine h3 { color: #fff; }
.section--sable { background: var(--sable); }
.section--cream { background: var(--cream); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-weight: 700; font-size: 13px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ambre-600);
}
.section--marine .eyebrow { color: var(--ambre); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.eyebrow svg { width: 18px; height: 18px; flex: none; }

.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); margin: 18px 0 16px; }
.section-head p { font-size: 18px; color: var(--text); }
.section--marine .section-head p { color: #aebccd; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body); font-weight: 700; font-size: 16px;
  padding: 16px 28px; border-radius: var(--r); border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--ambre); color: var(--marine); }
.btn--primary:hover { background: var(--ambre-600); box-shadow: 0 10px 24px rgba(242,180,65,0.35); }
.btn--marine { background: var(--marine); color: #fff; }
.btn--marine:hover { background: var(--marine-700); }
.btn--ghost { background: transparent; color: var(--marine); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--marine); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.3); }
.btn--ghost-light:hover { border-color: #fff; }
.btn--lg { padding: 19px 34px; font-size: 17px; }
.btn--block { display: flex; width: 100%; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Header / Nav ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--marine); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.brand {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
  font-family: var(--font-head); font-weight: 700; font-size: 20px;
  letter-spacing: -0.02em; color: #fff; text-transform: uppercase; white-space: nowrap;
}
.brand .amp { color: var(--ambre); margin: 0 3px; }
.brand-mark { width: 36px; height: 36px; flex: none; }
.brand-text { display: block; white-space: nowrap; line-height: 1.2; }
.brand-tagline { display: block; font-size: 10px; font-weight: 700; color: var(--ambre); letter-spacing: 0.04em; text-transform: none; opacity: 0.9; }

.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { font-size: 15px; font-weight: 600; color: #b9c7d6; transition: color .15s; padding: 6px 0; position: relative; }
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: #fff; }
.nav-links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--ambre); }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-rating-mobile { display: none; align-items: center; gap: 4px; }
.nav-rating-stars { display: flex; gap: 1px; color: var(--ambre); }
.nav-rating-score { font-family: var(--font-head); font-weight: 700; font-size: 13px; color: #fff; }
.nav-phone { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-family: var(--font-head); font-size: 15px; white-space: nowrap; }
.nav-phone svg { width: 16px; height: 16px; color: var(--ambre); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: .2s; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; background: var(--marine); color: #fff; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 520px; height: 520px; background: var(--ambre); opacity: 0.1; transform: rotate(20deg); border-radius: 80px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; padding: 76px 0 88px; position: relative; }
.hero h1 { color: #fff; font-size: clamp(38px, 5.2vw, 64px); line-height: 0.98; }
.hero h1 mark { background: none; color: var(--ambre); }
.hero .lead { font-size: 19px; line-height: 1.55; color: #b9c7d6; margin: 26px 0 32px; max-width: 36ch; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-trust { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 36px; }
.hero-trust span { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; color: #cdd8e4; }
.hero-trust svg { width: 18px; height: 18px; color: var(--ambre); flex: none; }

/* lead form card in hero */
.quote-card { background: #fff; border-radius: var(--r-xl); padding: 30px; box-shadow: var(--shadow-lg); color: var(--text); }
.quote-card h3 { font-size: 22px; margin-bottom: 4px; }
.quote-card .qc-sub { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.quote-card .qc-badge { display: inline-block; background: var(--sable-200); color: var(--marine); font-family: var(--font-head); font-weight: 700; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; margin-bottom: 16px; }

/* ---------- Forms ---------- */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--marine); margin-bottom: 6px; font-family: var(--font-head); }
.field .req { color: var(--ambre-600); }
.input, .textarea, .select {
  width: 100%; font-family: var(--font-body); font-size: 16px; color: var(--ink);
  background: var(--sable); border: 1.5px solid transparent; border-radius: var(--r);
  padding: 13px 15px; transition: border-color .15s, background .15s;
}
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--ambre); background: #fff; }
.textarea { resize: vertical; min-height: 96px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice-row { display: flex; gap: 8px; flex-wrap: wrap; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: block; padding: 9px 14px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--marine); cursor: pointer; transition: .15s; }
.choice input:checked + span { background: var(--marine); color: #fff; border-color: var(--marine); }
.form-note { font-size: 12px; color: var(--muted); margin-top: 12px; line-height: 1.5; }
.form-success { display: none; background: #1e6b46; color: #fff; padding: 18px; border-radius: var(--r); font-weight: 600; }
.form-success.show { display: block; }
.form-error { display: none; background: #c0392b; color: #fff; padding: 14px; border-radius: var(--r); font-weight: 600; font-size: 14px; margin-bottom: 12px; }
.form-error.show { display: block; }

/* ---------- Numbered strip ---------- */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip > div { padding: 26px 28px; display: flex; align-items: center; gap: 14px; font-weight: 700; color: var(--marine); font-size: 15px; }
.strip > div:nth-child(odd) { background: var(--sable); }
.strip > div:nth-child(even) { background: var(--sable-200); }
.strip .num { font-family: var(--font-head); font-weight: 700; font-size: 26px; color: var(--ambre-600); flex: none; }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.scard { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.scard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.scard .scard-img { aspect-ratio: 16/10; overflow: hidden; }
.scard .scard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; display: block; }
.scard:hover .scard-img img { transform: scale(1.06); }
.scard .scard-body { padding: 26px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.scard h3 { font-size: 23px; margin-bottom: 10px; }
.scard p { font-size: 15px; color: var(--text); flex: 1; }
.scard .scard-link { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--ambre-600); }
.scard .scard-link svg { width: 16px; height: 16px; transition: transform .15s; }
.scard:hover .scard-link svg { transform: translateX(4px); }

/* feature list */
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.feature .fic { width: 46px; height: 46px; border-radius: 10px; background: var(--marine); color: var(--ambre); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feature .fic svg { width: 22px; height: 22px; }
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { font-size: 15px; color: var(--text); }

/* checklist */
.checklist { list-style: none; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 13px; align-items: flex-start; font-size: 16px; }
.checklist svg { width: 22px; height: 22px; color: var(--ambre-600); flex: none; margin-top: 1px; }
.section--marine .checklist svg { color: var(--ambre); }
.checklist b { color: var(--marine); }
.section--marine .checklist b { color: #fff; }

/* ---------- Steps (process) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 18px; }
.step .step-num { font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: 0.1em; color: var(--ambre-600); }
.step h3 { font-size: 21px; margin: 12px 0 8px; }
.step p { font-size: 15px; color: var(--text); }
.step::before { content: ""; position: absolute; top: 0; left: 0; width: 46px; height: 4px; background: var(--ambre); border-radius: 2px; }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--rev .split-media { order: 2; }
.split-media { border-radius: var(--r-lg); overflow: hidden; }
.split-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; }
.stat .stat-n { font-family: var(--font-head); font-weight: 700; font-size: 46px; color: var(--ambre); line-height: 1; letter-spacing: -0.02em; }
.stat .stat-l { font-size: 14px; color: #aebccd; margin-top: 8px; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery .gitem { aspect-ratio: 4/3; border-radius: var(--r-lg); overflow: hidden; cursor: pointer; transition: transform .3s ease, box-shadow .3s ease; position: relative; }
.gallery .gitem:hover { transform: scale(1.025); box-shadow: var(--shadow-lg); }
.gallery .gitem.tall { grid-row: span 2; aspect-ratio: auto; }
.gallery .gitem img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.gallery .gitem:hover img { transform: scale(1.07); }
.gitem-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,28,43,0.85) 0%, rgba(14,28,43,0.15) 55%, transparent 100%); display: flex; align-items: flex-end; padding: 18px; opacity: 0; transition: opacity .3s ease; }
.gallery .gitem:hover .gitem-overlay { opacity: 1; }
.gitem-overlay span { font-family: var(--font-head); font-weight: 700; font-size: 14px; color: #fff; letter-spacing: 0.02em; line-height: 1.3; }

/* ---------- Testimonials ---------- */
.tgrid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.tcard { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.tcard .stars { display: flex; gap: 3px; color: var(--ambre); margin-bottom: 14px; }
.tcard .stars svg { width: 18px; height: 18px; }
.tcard blockquote { font-size: 16px; color: var(--ink); line-height: 1.6; font-style: italic; }
.tcard .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.tcard .who .av { width: 40px; height: 40px; border-radius: 50%; background: var(--marine); color: var(--ambre); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; font-size: 15px; flex: none; }
.tcard .who .nm { font-weight: 700; color: var(--marine); font-size: 15px; }
.tcard .who .loc { font-size: 13px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ambre); border-radius: var(--r-xl); padding: 52px 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: var(--marine); font-size: clamp(26px, 3.2vw, 38px); max-width: 18ch; }
.cta-band p { color: #5a4410; font-weight: 600; margin-top: 8px; }
.cta-band .cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--marine); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { width: 22px; height: 22px; flex: none; transition: transform .2s; color: var(--ambre-600); }
.faq details[open] summary .chev { transform: rotate(45deg); }
.faq p { margin-top: 14px; font-size: 16px; color: var(--text); }

/* ---------- Zone / cities ---------- */
.zone-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.city-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.city-list span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: 14px; color: var(--marine); }

/* Bretagne badge */
.bretagne-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--marine); color: var(--ambre);
  font-family: var(--font-head); font-weight: 700; font-size: 13px;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 8px 16px; border-radius: 999px; margin-bottom: 20px;
}
.bretagne-badge svg { width: 16px; height: 16px; }

.map-ph { aspect-ratio: 4/3; border-radius: var(--r-lg); }
.map-img { aspect-ratio: 4/3; border-radius: var(--r-lg); overflow: hidden; }
.map-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--marine-900); color: #9fb0c2; padding: 72px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.footer-grid .brand { margin-bottom: 16px; }
.footer-about p { font-size: 15px; line-height: 1.6; max-width: 30ch; }
.footer-col h4 { color: #fff; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 11px; }
.footer-col a { font-size: 15px; color: #9fb0c2; transition: color .15s; }
.footer-col a:hover { color: var(--ambre); }
.footer-contact .fc-line { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; margin-bottom: 14px; }
.footer-contact .fc-line svg { width: 18px; height: 18px; color: var(--ambre); flex: none; margin-top: 2px; }
.fc-line svg { width: 20px; height: 20px; flex: none; }
.footer-contact a { color: #fff; font-weight: 600; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 28px; font-size: 13px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--ambre); }

/* ---------- Mobile sticky call bar ---------- */
.callbar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 70; background: var(--marine); border-top: 1px solid var(--line-dark); padding: 10px 14px; gap: 10px; }
.callbar .btn { flex: 1; padding: 14px; }

/* ---------- Breadcrumb ---------- */
.crumb { font-size: 14px; color: var(--muted); padding: 20px 0 0; }
.crumb a:hover { color: var(--ambre-600); }
.crumb .sep { margin: 0 8px; opacity: 0.5; }

/* ---------- Page hero (interior) ---------- */
.phero { background: var(--marine); color: #fff; padding: 56px 0 64px; position: relative; overflow: hidden; }
.phero::after { content: ""; position: absolute; right: -100px; bottom: -160px; width: 420px; height: 420px; background: var(--ambre); opacity: 0.09; transform: rotate(18deg); border-radius: 70px; }
.phero .eyebrow { color: var(--ambre); }
.phero h1 { color: #fff; font-size: clamp(34px, 4.6vw, 56px); margin: 16px 0 18px; max-width: 18ch; }
.phero p { font-size: 19px; color: #b9c7d6; max-width: 52ch; }
.phero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; position: relative; }

/* ---------- Placeholder utility (legacy, kept for fallback) ---------- */
.ph {
  background-color: #d4cdbf;
  background-image: repeating-linear-gradient(135deg, rgba(20,45,76,0.06) 0 10px, rgba(20,45,76,0) 10px 20px);
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: #6b6456; font-family: var(--font-head); font-size: 12px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 16px; min-height: 80px;
}
.ph--marine { background-color: #1c3d63; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0 10px, rgba(255,255,255,0) 10px 20px); color: #8ba3bf; }

/* Gallery gradient placeholders (used when real image is not available) */
.gitem-grad-chauffage { background: linear-gradient(135deg, #142d4c 0%, #1c3d63 50%, #2a5580 100%); }
.gitem-grad-plomberie { background: linear-gradient(135deg, #1a3a5c 0%, #2c5f8a 50%, #3a7ab0 100%); }
.gitem-grad-assainissement { background: linear-gradient(135deg, #0d3320 0%, #155232 50%, #1e6b40 100%); }

/* ---------- Helpers ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.lead-light { color: #b9c7d6; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  :root { --pad: 32px; }
  .hero-grid, .phero-grid, .zone-grid, .split { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr !important; }
  .split--rev .split-media { order: 0; }
  .cards, .feature-grid, .tgrid, .gallery { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2,1fr); gap: 32px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 980px) {
  .nav-links, .nav-phone { display: none; }
  .nav-right .btn--primary { display: none; }
  .nav-rating-mobile { display: flex; }
  .nav-toggle { display: block; }
  .nav.open .nav-links { display: flex; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; background: var(--marine); padding: 18px var(--pad) 26px; gap: 4px; border-top: 1px solid var(--line-dark); box-shadow: var(--shadow); z-index: 80; }
  .nav.open .nav-links a { padding: 13px 0; border-bottom: 1px solid var(--line-dark); font-size: 17px; }
  .nav.open .nav-links a.active::after { display: none; }
  .callbar { display: flex; }
  body { padding-bottom: 72px; }
  .site-footer { padding-bottom: 90px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .strip { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 720px) {
  :root { --pad: 20px; }
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .cards, .feature-grid, .tgrid, .gallery { grid-template-columns: 1fr; }
  .gallery .gitem.tall { grid-row: auto; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .cta-band { padding: 36px 28px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr !important; }
  .strip { grid-template-columns: 1fr; }
  .hero-grid { padding: 48px 0 60px; }
}

/* ---------- Hero rating ---------- */
.hero-rating {
  display: flex; width: fit-content; align-items: center; gap: 8px;
  margin-top: 16px; margin-bottom: 6px;
}
.hero-rating .stars { display: flex; gap: 2px; color: var(--ambre); }
.hero-rating .stars svg { width: 16px; height: 16px; }
.hero-rating .score {
  font-family: var(--font-head); font-weight: 700; font-size: 15px; color: #fff;
}
.hero-rating .sep { color: rgba(255,255,255,0.25); font-size: 13px; }
.hero-rating .label { font-size: 13px; color: #9fb0c2; }

/* ---------- Nav dropdown ---------- */
.nav-item { position: relative; }
.nav-dropdown-btn {
  background: none; border: none; cursor: pointer;
  font-size: 15px; font-weight: 600; color: #b9c7d6;
  font-family: var(--font-body); line-height: 1;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 0; transition: color .15s; position: relative;
}
.nav-dropdown-btn:hover { color: #fff; }
.nav-dropdown-btn.active { color: #fff; }
.nav-dropdown-btn.active::after {
  content: ""; position: absolute; left: 0; right: 20px; bottom: -2px;
  height: 2px; background: var(--ambre);
}
.dd-chev { width: 14px; height: 14px; transition: transform .2s; flex: none; }
.has-dropdown:hover .dd-chev,
.has-dropdown.open .dd-chev { transform: rotate(180deg); }

.nav-dropdown {
  display: none; position: absolute; top: calc(100% + 8px); left: -14px;
  background: var(--marine-700); border-radius: var(--r-lg);
  box-shadow: var(--shadow); list-style: none; min-width: 190px;
  border: 1px solid var(--line-dark); overflow: hidden; z-index: 100;
}
@media (min-width: 981px) {
  .has-dropdown:hover .nav-dropdown { display: block; }
  /* Pont invisible qui comble le gap entre le bouton et le dropdown */
  .has-dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: -14px;
    right: -14px;
    height: 8px;
  }
}
.has-dropdown.open .nav-dropdown { display: block; }
.nav-dropdown a {
  display: block; padding: 13px 18px;
  font-size: 14px; font-weight: 600; color: #b9c7d6;
  transition: background .15s, color .15s;
  border-bottom: 1px solid var(--line-dark);
}
.nav-dropdown li:last-child a { border-bottom: none; }
.nav-dropdown a:hover { background: var(--marine); color: #fff; }
.nav-dropdown a.active { color: var(--ambre); }

@media (max-width: 980px) {
  .nav-dropdown {
    position: static; box-shadow: none; border: none; border-radius: 0;
    background: rgba(0,0,0,0.2); min-width: auto;
  }
  .nav-dropdown a {
    padding: 11px 0 11px 14px; font-size: 16px;
    border-bottom: 1px solid var(--line-dark);
  }
  .nav-dropdown-btn {
    width: 100%; padding: 13px 0; border-bottom: 1px solid var(--line-dark);
    font-size: 17px; justify-content: space-between; color: #b9c7d6;
  }
  .nav-dropdown-btn.active::after { display: none; }
  .has-dropdown.open > .nav-dropdown-btn { color: #fff; }
}

/* entrance animations */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.in { opacity: 1; transform: none; }
}
