/* Yzylink — feuille de style commune */
:root {
  /* Couleurs Yzylink : or du logo + noir */
  --gold: #c69214;
  --gold-dark: #8a650d;      /* or foncé pour textes et liens sur fond blanc (lisibilité) */
  --gold-light: #e2b54a;
  --navy: #111111;           /* noir (titres, fonds sombres) */
  --navy-2: #2a2a2a;
  --blue: var(--gold-dark);
  --cyan: var(--gold-light);
  --ink: #1d1d1d;
  --muted: #5e5a52;
  --line: #e9e4d8;
  --bg: #ffffff;
  --bg-soft: #faf7f0;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(17, 17, 17, .07);
  --max: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}
img, svg { max-width: 100%; }
a { color: var(--blue); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section--soft { background: var(--bg-soft); }
.section__head { max-width: 680px; margin-bottom: 44px; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 10px;
}
.lead { font-size: 1.15rem; color: var(--muted); }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--gold); color: #111; }
.btn--primary:hover { background: var(--gold-light); }
.btn--ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--ghost:hover { border-color: #fff; }
.btn--outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* En-tête */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 800; font-size: 1.45rem; letter-spacing: -.02em; }
.logo img { height: 54px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  text-decoration: none; color: var(--ink); font-weight: 500; padding: 8px 14px; border-radius: 8px;
}
.nav a:hover { background: var(--bg-soft); }
.nav a[aria-current="page"] { color: var(--blue); font-weight: 600; }
.nav .nav__phone { background: var(--navy); color: var(--gold-light); border-radius: 999px; padding: 9px 18px; margin-left: 8px; font-weight: 600; white-space: nowrap; }
.nav .nav__phone:hover { background: var(--navy-2); }
.nav__toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy); }
.nav__toggle svg { width: 28px; height: 28px; }
.ext::after { content: " ↗"; font-size: .8em; opacity: .6; }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(198,146,20,.28), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(198,146,20,.18), transparent 60%),
    linear-gradient(135deg, #0d0d0d 0%, #262626 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .12;
  background-image: radial-gradient(#fff 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, #000 30%, transparent);
}
.hero__inner { position: relative; padding: 110px 0 100px; max-width: 760px; }
.hero h1 { color: #fff; }
.hero .lead { color: rgba(255,255,255,.85); font-size: 1.25rem; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
  padding: 6px 14px; border-radius: 999px; font-size: .9rem; font-weight: 600;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
}
.page-hero { padding: 70px 0 60px; }
.page-hero .hero__inner { padding: 0; }

/* Cartes services */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(17,17,17,.12); }
.card p { color: var(--muted); margin: 0; }
.icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(198,146,20,.13); color: var(--gold-dark);
  margin-bottom: 18px;
}
.icon svg { width: 26px; height: 26px; }
.card--cta {
  background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; border: 0;
  display: flex; flex-direction: column; justify-content: center;
}
.card--cta h3 { color: #fff; }
.card--cta p { color: rgba(255,255,255,.8); margin-bottom: 18px; }

/* Atouts */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.feature strong { display: block; font-size: 2rem; color: var(--gold); line-height: 1.1; margin-bottom: 6px; }
.feature h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: .97rem; margin: 0; }

/* Bloc studio */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.panel {
  border-radius: 20px; padding: 36px; color: #fff;
  background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: #111;
  box-shadow: var(--shadow);
}
.panel h3 { color: #111; font-size: 1.4rem; }
.panel ul { margin: 0; padding-left: 1.2em; }
.panel li { margin-bottom: 6px; }
.check { list-style: none; padding: 0; margin: 0 0 24px; }
.check li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.check li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* Bandeau appel */
.cta-band {
  background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff;
  border-radius: 22px; padding: 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { color: rgba(255,255,255,.8); margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-list li:last-child { border-bottom: 0; }
.info-list .icon { margin: 0; flex: none; width: 46px; height: 46px; }
.info-list strong { display: block; color: var(--navy); }
.info-list a { text-decoration: none; }

form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; color: var(--navy); }
input, select, textarea {
  width: 100%; font: inherit; padding: 12px 14px; border: 1px solid #cfd7e3; border-radius: 10px;
  background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(198,146,20,.25); border-color: var(--gold); }
textarea { min-height: 150px; resize: vertical; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); margin-bottom: 20px; }
.consent input { width: auto; margin-top: 5px; }
.consent label { font-weight: 400; color: var(--muted); font-size: .9rem; }
.hp { position: absolute; left: -9999px; }
.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-weight: 500; display: none; }
.alert--ok { background: #e7f7ee; color: #156c3b; border: 1px solid #b9e6cb; }
.alert--err { background: #fdecec; color: #9b1c1c; border: 1px solid #f5c2c2; }
.alert.show { display: block; }

/* Assistance */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { position: relative; padding-top: 64px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 28px; left: 28px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; color: #111; background: var(--gold);
}
.step.card { padding-top: 84px; }
.note { font-size: .92rem; color: var(--muted); margin-top: 14px; }

/* Texte légal */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.35rem; margin-top: 2em; }
.todo { background: #fff4d6; padding: 0 4px; border-radius: 4px; }

/* Pied de page */
.footer { background: var(--navy); color: rgba(255,255,255,.75); padding: 56px 0 28px; margin-top: 0; font-size: .95rem; }
.footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
.footer h4 { color: #fff; margin: 0 0 12px; font-size: 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer .logo { margin-bottom: 16px; }
.footer .logo img { height: 52px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .88rem; }

/* Responsive */
@media (max-width: 960px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav__toggle { display: block; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 20px 20px; gap: 2px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 10px; }
  .nav .nav__phone { margin: 8px 0 0; text-align: center; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 56px 0; }
  .grid--3, .grid--2, .features { grid-template-columns: 1fr; }
  .hero__inner { padding: 72px 0 64px; }
  form .row { grid-template-columns: 1fr; }
  .cta-band { padding: 32px 24px; }
  .footer__grid { grid-template-columns: 1fr; }
}
a[href^="tel:"] { white-space: nowrap; }

.hero .eyebrow, .cta-band .eyebrow { color: var(--gold-light); }
.card--cta, .cta-band { border-top: 3px solid var(--gold); }

/* Partenaires */
.partner-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.partner-group { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.partner-group h3 { display: flex; align-items: center; gap: 12px; font-size: 1.05rem; margin-bottom: 18px; }
.partner-group h3 .icon { width: 40px; height: 40px; margin: 0; flex: none; }
.partner-group h3 .icon svg { width: 20px; height: 20px; }
.partners { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.partner { display: grid; place-items: center; min-height: 64px; padding: 10px; border-radius: 10px; background: var(--bg-soft); border: 1px solid var(--line); text-align: center; }
.partner span { font-weight: 700; color: var(--navy); letter-spacing: -.01em; }
.partner img { max-height: 36px; max-width: 100%; width: auto; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
.partner:hover img { filter: none; opacity: 1; }
@media (max-width: 960px) { .partner-groups { grid-template-columns: 1fr; } .partners { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .partners { grid-template-columns: 1fr 1fr; } }

/* ---------- Barre supérieure ---------- */
.topbar { background: #111; color: rgba(255,255,255,.8); font-size: .85rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 36px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 6px; }
.topbar a { color: var(--gold-light); text-decoration: none; font-weight: 600; }
.topbar svg { width: 14px; height: 14px; }

/* ---------- Navigation : sous-menus ---------- */
.nav { gap: 2px; }
.nav a, .dd__btn { font-size: .97rem; }
.dd { position: relative; }
.dd__btn { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; font: inherit; font-weight: 500; color: var(--ink); padding: 8px 12px; border-radius: 8px; cursor: pointer; }
.dd__btn:hover { background: var(--bg-soft); }
.dd__btn svg { width: 14px; height: 14px; transition: transform .2s; }
.dd--active > .dd__btn { color: var(--gold-dark); font-weight: 600; }
.dd__menu { display: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 270px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px rgba(17,17,17,.14); padding: 8px; z-index: 60; }
.dd__menu::before { content: ""; position: absolute; top: -8px; left: 0; right: 0; height: 8px; }
.dd__menu a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; }
.dd__ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: rgba(198,146,20,.13); color: var(--gold-dark); flex: none; }
.dd__ic svg { width: 16px; height: 16px; }
.dd:hover .dd__menu, .dd:focus-within .dd__menu, .dd.open .dd__menu { display: block; }
.dd:hover .dd__btn svg, .dd.open .dd__btn svg { transform: rotate(180deg); }
.nav .nav__cta { background: var(--gold); color: #111; border-radius: 999px; padding: 9px 18px; margin-left: 8px; font-weight: 700; white-space: nowrap; }
.nav .nav__cta:hover { background: var(--gold-light); }

/* ---------- Cartes cliquables ---------- */
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card--link { text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.card--link p { flex: 1; }
.card--link .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; color: var(--gold-dark); font-size: .95rem; }
.card--link .more svg { width: 16px; height: 16px; transition: transform .2s; }
.card--link:hover .more svg { transform: translateX(4px); }
.card--link:hover { border-color: var(--gold); }
.card--small { padding: 24px; }

/* ---------- Section sombre (supervision) ---------- */
.section--dark { background: linear-gradient(135deg, #0d0d0d, #262626); color: rgba(255,255,255,.85); }
.section--dark h2 { color: #fff; }
.section--dark .lead { color: rgba(255,255,255,.8); }
.section--dark .eyebrow { color: var(--gold-light); }
.watch { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.watch li { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.watch li > svg { width: 26px; height: 26px; color: var(--gold); flex: none; }
.watch b { display: block; color: #fff; }
.watch span { font-size: .93rem; }
.watch--status li::after { content: ""; margin-left: auto; width: 10px; height: 10px; border-radius: 50%; background: #3fbf6f; box-shadow: 0 0 0 4px rgba(63,191,111,.2); flex: none; }

/* ---------- Zone d'intervention ---------- */
.zone-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: var(--shadow); }
.zone-card h3 { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; }
.zone-card h3 svg { width: 22px; height: 22px; color: var(--gold-dark); }
.zone-card p { color: var(--muted); margin: 0; }
.chips { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 14px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: .93rem; }
.chips b { color: var(--gold-dark); margin-right: 4px; }
.chips li.on { background: var(--gold); border-color: var(--gold); color: #111; }
.chips li.on b, .chips li.on strong { color: #111; }

/* ---------- Pages intérieures ---------- */
.page-hero .eyebrow { color: var(--gold-light); }
.page-hero .lead { margin-bottom: 28px; }
.steps--4 { grid-template-columns: repeat(4, 1fr); }
.brands-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 32px; }
.brands-inline > span { font-weight: 600; color: var(--muted); }
.partners--inline { display: flex; flex-wrap: wrap; gap: 8px; }
.partners--inline .partner { min-height: 44px; padding: 6px 16px; }

/* ---------- Devis guidé ---------- */
.wizard { max-width: 820px; margin: 0 auto; padding: 36px; }
.wizard:hover { transform: none; }
.wizard fieldset { border: 0; padding: 0; margin: 0 0 24px; }
.wizard legend { font-size: 1.4rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.hint { color: var(--muted); margin-bottom: 16px; }
.label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 8px; color: var(--navy); }
.wizard__progress { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0 0 30px; counter-reset: w; }
.wizard__progress li { flex: 1; font-size: .85rem; font-weight: 600; color: var(--muted); padding-top: 10px; border-top: 4px solid var(--line); counter-increment: w; }
.wizard__progress li::before { content: counter(w) ". "; }
.wizard__progress li.on { border-color: var(--gold); color: var(--navy); }
.wizard:not(.js) .wizard__progress, .wizard:not(.js) [data-prev], .wizard:not(.js) [data-next] { display: none; }
.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.choices--row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; cursor: pointer; margin: 0; font-weight: 500; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px; border: 2px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .15s, background .15s; height: 100%; color: var(--ink); }
.choice span svg { width: 26px; height: 26px; color: var(--gold-dark); }
.choice--sm span { flex-direction: row; padding: 10px 16px; border-radius: 999px; }
.choice:hover span { border-color: var(--gold-light); }
.choice input:checked + span { border-color: var(--gold); background: rgba(198,146,20,.1); font-weight: 600; }
.choice input:focus-visible + span { outline: 3px solid rgba(198,146,20,.35); }
.wizard__err { display: none; color: #9b1c1c; font-weight: 500; margin: 14px 0 0; }
.wizard__err.show { display: block; }
.wizard__nav { display: flex; justify-content: space-between; gap: 12px; }
.wizard__nav [data-next], .wizard__nav [data-submit] { margin-left: auto; }
.wizard__nav svg { width: 18px; height: 18px; }
[hidden] { display: none !important; }

/* ---------- Pied de page à 4 colonnes ---------- */
.footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }

@media (max-width: 1180px) {
  .nav a, .dd__btn { padding: 8px 9px; font-size: .93rem; }
  .nav .nav__cta { padding: 9px 14px; margin-left: 4px; }
}
@media (max-width: 1080px) {
  .grid--4, .steps--4 { grid-template-columns: repeat(2, 1fr); }
  .topbar__zone { display: none !important; }
}
@media (max-width: 980px) {
  .nav__toggle { display: block; }
  .nav { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 20px 20px; gap: 2px; display: none; max-height: calc(100vh - 110px); overflow-y: auto; box-shadow: 0 16px 30px rgba(17,17,17,.1); }
  .nav.open { display: flex; }
  .nav a, .dd__btn { padding: 12px 10px; width: 100%; justify-content: space-between; font-size: 1rem; }
  .dd__menu { position: static; box-shadow: none; border: 0; padding: 0 0 6px 10px; min-width: 0; display: none; }
  .dd:hover .dd__menu { display: none; }
  .dd.open .dd__menu, .dd:focus-within .dd__menu { display: block; }
  .nav .nav__cta { margin: 10px 0 0; text-align: center; justify-content: center; }
  .header { position: sticky; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .choices { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid--4, .steps--4 { grid-template-columns: 1fr; }
  .topbar__inner { justify-content: space-between; }
  .wizard { padding: 22px; }
  .choices { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}
@media (max-width: 980px) { .nav .dd__menu a { justify-content: flex-start; padding: 10px; } }
.nav .nav__cta[aria-current="page"] { color: #111; }
/* 4 groupes de partenaires, 7 choix de devis */
.partner-groups { grid-template-columns: repeat(4, 1fr); }
.choices { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .partner-groups { grid-template-columns: repeat(2, 1fr); } .partners { grid-template-columns: 1fr 1fr; } }
@media (max-width: 980px) { .choices { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .partner-groups { grid-template-columns: 1fr; } }

/* =====================================================================
   ADAPTATIONS WORDPRESS (blocs de l'éditeur, menus, formulaires)
   ===================================================================== */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip-link:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 1000; background: #fff; padding: 10px 16px; border-radius: 8px; }
.logo img, .custom-logo { height: 54px; width: auto; display: block; }
.footer .logo img { height: 52px; }

/* ---------- Menu principal (wp_nav_menu) ---------- */
.nav .menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav .menu li { position: relative; list-style: none; }
.nav .menu > li > a { display: inline-flex; align-items: center; gap: 4px; }
.nav .menu-item-has-children > a::after { content: ""; width: 12px; height: 12px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat; transition: transform .2s; }
.nav .menu-item-has-children:hover > a::after, .nav .menu-item-has-children.open > a::after { transform: rotate(180deg); }
.nav .sub-menu { display: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 280px; margin: 0; padding: 8px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px rgba(17,17,17,.14); z-index: 60; }
.nav .sub-menu::before { content: ""; position: absolute; top: -8px; left: 0; right: 0; height: 8px; }
.nav .menu-item-has-children:hover > .sub-menu, .nav .menu-item-has-children:focus-within > .sub-menu, .nav .menu-item-has-children.open > .sub-menu { display: block; }
.nav .sub-menu a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 8px; }
.nav .sub-menu li[class*="ic-"] > a::before { content: ""; width: 30px; height: 30px; flex: none; border-radius: 8px; background: rgba(198,146,20,.13) var(--ic) center/16px no-repeat; }
.nav .sub-menu li[class*="ic-"] > a::before { background-image: none; position: relative; }
.nav .sub-menu li[class*="ic-"] > a { position: relative; }
.nav .sub-menu li[class*="ic-"] > a::after { content: ""; position: absolute; left: 17px; width: 16px; height: 16px; background: var(--gold-dark); -webkit-mask: var(--ic) center/contain no-repeat; mask: var(--ic) center/contain no-repeat; }
.nav .current-menu-item > a, .nav .current-menu-ancestor > a, .nav .current_page_item > a { color: var(--gold-dark); font-weight: 600; }
.nav .ext > a::after { content: "↗"; font-size: .8em; opacity: .6; margin-left: 2px; }
.nav .menu .nav__cta > a { background: var(--gold); color: #111 !important; border-radius: 999px; padding: 9px 18px; margin-left: 8px; font-weight: 700; white-space: nowrap; }
.nav .menu .nav__cta > a:hover { background: var(--gold-light); }

@media (max-width: 1180px) { .nav .menu > li > a { padding: 8px 9px; font-size: .93rem; } }
@media (max-width: 980px) {
  .nav .menu { flex-direction: column; align-items: stretch; width: 100%; }
  .nav .menu > li > a { width: 100%; justify-content: space-between; padding: 12px 10px; font-size: 1rem; }
  .nav .sub-menu { position: static; box-shadow: none; border: 0; padding: 0 0 6px 10px; min-width: 0; }
  .nav .menu-item-has-children:hover > .sub-menu { display: none; }
  .nav .menu-item-has-children.open > .sub-menu { display: block; }
  .nav .menu .nav__cta > a { margin: 10px 0 0; justify-content: center; }
}

/* ---------- Blocs : remises à zéro ---------- */
.wp-block-group { box-sizing: border-box; }
main p:empty { display: none; }
.hero p.badge { display: inline-flex; }
.hero mark, mark.or { background: none; color: var(--gold); padding: 0; }
mark.todo, .todo { background: #fff4d6; color: inherit; padding: 0 4px; border-radius: 4px; }
.eyebrow { margin-bottom: 10px; }
.section__head h2 { margin-bottom: .4em; }
.section--nopad-top { padding-top: 0; }
.prose > h2 { font-size: 1.35rem; margin-top: 2em; }
.prose > h2:first-child { margin-top: 0; }
.prose-libre { max-width: 820px; }
.prose-libre h2 { margin-top: 1.6em; }
.prose-libre img { height: auto; border-radius: 12px; }

/* ---------- Boutons (styles proposés dans l'éditeur) ---------- */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.wp-block-button { margin: 0; }
.wp-block-button__link, .wp-element-button {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; background: var(--gold); color: #111; line-height: 1.3;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.wp-block-button__link:hover { transform: translateY(-1px); background: var(--gold-light); color: #111; }
.is-style-contour .wp-block-button__link { background: transparent; border-color: var(--gold-dark); color: var(--gold-dark); }
.is-style-contour .wp-block-button__link:hover { background: rgba(198,146,20,.1); color: var(--gold-dark); }
.is-style-fantome .wp-block-button__link { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.is-style-fantome .wp-block-button__link:hover { background: transparent; border-color: #fff; color: #fff; }
.is-style-fantome .wp-block-button__link[href^="tel:"]::before { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E") center/contain no-repeat; }
.is-style-noir .wp-block-button__link { background: var(--navy); color: #fff; }
.is-style-noir .wp-block-button__link:hover { background: var(--navy-2); color: #fff; }
.hero .wp-block-buttons { margin-top: 8px; }

/* ---------- Icônes : ajoutez la classe « ic ic-NOM » à un bloc Groupe-carte ---------- */
.card.ic { position: relative; padding-top: 98px; }
.card.ic::before { content: ""; position: absolute; top: 28px; left: 28px; width: 52px; height: 52px; border-radius: 12px; background: rgba(198,146,20,.13); }
.card.ic::after { content: ""; position: absolute; top: 41px; left: 41px; width: 26px; height: 26px; background: var(--gold-dark); -webkit-mask: var(--ic) center/contain no-repeat; mask: var(--ic) center/contain no-repeat; }
.card--small.ic { padding-top: 94px; }
.card--small.ic::before { top: 24px; left: 24px; }
.card--small.ic::after { top: 37px; left: 37px; }
.ic-h { display: flex; align-items: center; gap: 12px; }
.ic-h::before { content: ""; width: 22px; height: 22px; flex: none; background: var(--gold-dark); -webkit-mask: var(--ic) center/contain no-repeat; mask: var(--ic) center/contain no-repeat; }
.panel .ic-h::before { background: #111; width: 26px; height: 26px; }
.partner-group .ic-h::before { width: 20px; height: 20px; padding: 10px; box-sizing: content-box; border-radius: 10px; background-color: var(--gold-dark); }

/* ---------- Cartes cliquables ---------- */
.card { position: relative; }
.card--link { display: flex; flex-direction: column; }
.card--link h3 a, .card--link h2 a { color: inherit; text-decoration: none; }
.card--link h3 a::after, .card--link h2 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card--link > p:not(.more) { flex: 1; }
.card--link .more { margin: 16px 0 0; font-weight: 600; color: var(--gold-dark); font-size: .95rem; }
.card--link:hover { border-color: var(--gold); }
.card--link:focus-within { outline: 3px solid rgba(198,146,20,.35); }
.card > :last-child { margin-bottom: 0; }

/* ---------- Grilles ---------- */
.grid > *, .steps > *, .features > *, .partner-groups > *, .split > * { margin: 0; }
.steps { counter-reset: step; }
.feature .big { font-size: 2rem; font-weight: 800; color: var(--gold); line-height: 1.1; margin: 0 0 6px; }
.split > .wp-block-group > :last-child { margin-bottom: 0; }

/* ---------- Listes ---------- */
ul.wp-block-list { padding-left: 1.2em; }
.check, .watch, .chips, .info-list { padding-left: 0 !important; }
.watch li { display: flex; flex-direction: column; justify-content: center; position: relative; padding: 16px 18px 16px 60px; min-height: 64px; box-sizing: border-box; }
.watch li::before { content: ""; position: absolute; left: 18px; top: 50%; margin-top: -13px; width: 26px; height: 26px; background: var(--gold); -webkit-mask: var(--ic) center/contain no-repeat; mask: var(--ic) center/contain no-repeat; }
.watch strong { display: block; color: #fff; }
.watch li { font-size: .93rem; }
.watch--status li::after { position: absolute; right: 18px; top: 50%; margin-top: -5px; }
.chips li.on { background: var(--gold); border-color: var(--gold); color: #111; }
.chips li.on strong { color: #111; }
.chips strong { color: var(--gold-dark); margin-right: 4px; }
.zone-card > :last-child { margin-bottom: 0; }
.zone-card .ic-h { margin-top: 0; }
.info-list { list-style: none; margin: 0; }
.info-list li { display: block; position: relative; padding: 18px 0 18px 62px; border-bottom: 1px solid var(--line); min-height: 46px; }
.info-list li:last-child { border-bottom: 0; }
.info-list li::before { content: ""; position: absolute; left: 0; top: 18px; width: 46px; height: 46px; border-radius: 12px; background: rgba(198,146,20,.13); }
.info-list li::after { content: ""; position: absolute; left: 12px; top: 30px; width: 22px; height: 22px; background: var(--gold-dark); -webkit-mask: var(--ic) center/contain no-repeat; mask: var(--ic) center/contain no-repeat; }
.info-list strong { display: block; color: var(--navy); }
.info-list a { text-decoration: none; }

/* ---------- Partenaires (paragraphes « partner ») ---------- */
.partners { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
p.partner { margin: 0; display: grid; place-items: center; min-height: 64px; padding: 10px; border-radius: 10px; background: var(--bg-soft); border: 1px solid var(--line); text-align: center; font-weight: 700; color: var(--navy); }
.partners figure, .brands-inline figure { margin: 0; display: grid; place-items: center; min-height: 64px; padding: 10px; border-radius: 10px; background: var(--bg-soft); border: 1px solid var(--line); }
.partners figure img, .brands-inline figure img { max-height: 36px; width: auto; filter: grayscale(1); opacity: .8; }
.brands-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 32px; }
.brands-inline .brands-label { margin: 0 6px 0 0; font-weight: 600; color: var(--muted); }
.brands-inline p.partner { min-height: 44px; padding: 6px 16px; }

/* ---------- Bandeaux ---------- */
.cta-band > .wp-block-group h2 { color: #fff; margin: 0 0 6px; }
.cta-band > .wp-block-group p { color: rgba(255,255,255,.8); margin: 0; }
.cta-band--dl { margin: 0; }
.cta-band--dl + .note, .wp-block-shortcode + .note { margin-bottom: 40px; }
.panel > :last-child { margin-bottom: 0; }
.panel p { color: #111; }
.note { font-size: .92rem; color: var(--muted); margin-top: 14px; }

/* ---------- Formulaires ---------- */
.card--form:hover { transform: none; }
.yz-form .btn svg { width: 18px; height: 18px; }
.alert { scroll-margin-top: 140px; }
.choice[class*="ic-"] span::before { content: ""; width: 26px; height: 26px; background: var(--gold-dark); -webkit-mask: var(--ic) center/contain no-repeat; mask: var(--ic) center/contain no-repeat; }
.wizard { scroll-margin-top: 140px; }

/* ---------- Divers ---------- */
.contact-grid > .wp-block-group > h2 { margin-bottom: 10px; }
.wp-block-shortcode { margin: 0; }
.watch li { align-items: flex-start; text-align: left; }
.nav .sub-menu li[class*="ic-"] > a::after { top: 50%; margin-top: -8px; left: 17px; }
.nav li.ext::after { content: none; }
.card--link .more { flex: 0 0 auto; }
.nav .menu > li { display: flex; align-items: center; }
@media (max-width: 980px) { .nav .menu > li { display: block; } }
.nav li.nav__cta, .nav li.nav__cta:hover { background: none; padding: 0; margin: 0; border-radius: 0; }
@media (max-width: 980px) { .nav .sub-menu a { justify-content: flex-start; } .nav .menu .nav__cta > a { width: 100%; padding: 13px 18px; } }
.partner-group .ic-h::before { width: 22px; height: 22px; padding: 0; background-color: var(--gold-dark); }

/* ---------- Logos partenaires (blocs Image) ---------- */
.partners .wp-block-image, .brands-inline .wp-block-image { margin: 0; display: grid; place-items: center; min-height: 64px; padding: 10px 14px; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.partners .wp-block-image img { max-height: 40px; max-width: 100%; width: auto; height: auto; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.partners .wp-block-image:hover img, .brands-inline .wp-block-image:hover img { filter: none; opacity: 1; }
.brands-inline .wp-block-image { min-height: 52px; padding: 8px 16px; }
.brands-inline .wp-block-image img { max-height: 30px; width: auto; height: auto; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.brands-inline .badge-partenaire { background: none; border: 0; padding: 0; }
.brands-inline .badge-partenaire img, .badge-partenaire img { max-height: 64px; filter: none; opacity: 1; }
.head-badge { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.head-badge > .badge-partenaire { margin: 0; flex: none; }
.head-badge > .badge-partenaire img { max-height: 110px; width: auto; height: auto; }
@media (max-width: 640px) { .head-badge { flex-direction: column; } .head-badge > .badge-partenaire img { max-height: 80px; } }

/* ---------- FAQ ---------- */
.faq-list > h2 { font-size: 1.35rem; margin: 2em 0 .8em; }
.faq-list > h2:first-child { margin-top: 0; }
details.faq { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin: 0 0 10px; transition: border-color .15s; }
details.faq[open] { border-color: var(--gold); box-shadow: var(--shadow); }
details.faq summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 20px; font-weight: 600; color: var(--navy); position: relative; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--gold-dark); }
details.faq[open] summary::after { content: "–"; }
details.faq > p { margin: 0; padding: 0 20px 18px; color: var(--muted); }

.topbar__contrat { color: var(--gold-light); font-weight: 600; }
@media (max-width: 520px) { .topbar__contrat { display: none !important; } }
