/* ===== Polices hébergées dans le thème (plus d'appel à Google Fonts : pas de CSS bloquant, pas de domaine tiers) ===== */
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/onest-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/onest-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Caveat"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/caveat-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Caveat"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/caveat-600-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* Thème deltacredit-2026 — feuille principale (issue de la maquette validée le 07/10/2026) */
/* Maquette deltacredit-2026 v18 — style clair (référence Raphaël 07/10) : fond blanc/cyan pâle, titres bleu marine,
   accents teal, action orange. Mobile d'abord, sans framework. */
:root {
  --teal: #00b4cf; --teal-d: #007f93; --teal-dd: #007a8d; --teal-logo: #26d2d6;
  --tint: #e6f8fb; --tint-2: #d4f2f8; --sky: #eef9fc;
  --navy: #0b2a5b; --navy-2: #123a7a; --ink: #0b2a5b; --text: #3b4a5e; --soft: #5c6c7f;
  --line: #dfe8ee; --beige: #f6f8fa; --ok: #22b35f; --wa: #25d366;
  --cta: #ff7f1c; --cta-d: #ec6508;
  --radius: 16px; --shadow: 0 14px 40px rgba(11,42,91,.12); --shadow-s: 0 4px 14px rgba(11,42,91,.08);
  --w: 1320px; --w-text: 820px; --gutter: 20px;
  --fs-h1: clamp(30px, 2.2vw + 18px, 52px); --fs-h2: clamp(24px, 1.2vw + 16px, 34px); --fs-h3: clamp(17px, .4vw + 15px, 20px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; } /* un élément trop large ne doit jamais faire dézoomer le téléphone */
body { margin: 0; font-family: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--text); background: #fff; font-size: 16px; line-height: 1.6; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0 0 .45em; letter-spacing: -.015em; }
h1 { font-size: var(--fs-h1); font-weight: 800; } h2 { font-size: var(--fs-h2); font-weight: 800; } h3 { font-size: var(--fs-h3); font-weight: 700; }
p { margin: 0 0 1em; } a { color: var(--teal-d); } img, svg { max-width: 100%; height: auto; display: block; }
.wrap { width: min(100% - 2 * var(--gutter), var(--w)); margin-inline: auto; }
.narrow { width: min(100% - 2 * var(--gutter), var(--w-text)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hand { font-family: "Caveat", "Segoe Script", cursive; font-size: 22px; color: var(--navy); line-height: 1.1; }
.kicker { color: var(--teal-d); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 8px; }
.ico { width: 44px; height: 44px; border-radius: 50%; background: var(--tint); color: var(--teal-d); display: grid; place-items: center; flex: none; }
.ico svg { width: 22px; height: 22px; }
@media (min-width: 900px) { :root { --gutter: 32px; } }

/* ===== Boutons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 22px; border-radius: 12px; font-weight: 700; text-decoration: none; font-size: 16px; border: 0; cursor: pointer; }
.btn-primary { background: var(--teal-d); color: #fff; } .btn-primary:hover { background: var(--teal-dd); }
.btn-white { background: #fff; color: var(--navy); border: 1.5px solid var(--line); } .btn-white:hover { background: var(--tint); }
.btn-ghost { background: #fff; color: var(--navy); border: 1.5px solid var(--line); }
.btn-cta { position: relative; background: linear-gradient(180deg, #ff9442, var(--cta) 55%, var(--cta-d)); color: #fff; font-size: 17px; font-weight: 800; min-height: 54px; padding: 0 24px; border-radius: 12px;
  box-shadow: 0 10px 24px rgba(236,101,8,.32), inset 0 1px 0 rgba(255,255,255,.35); transition: transform .15s, box-shadow .15s; }
.btn-cta svg { width: 20px; height: 20px; transition: transform .2s; }
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(236,101,8,.4), inset 0 1px 0 rgba(255,255,255,.35); } .btn-cta:hover svg { transform: translateX(4px); }
.btn-cta.small { min-height: 44px; font-size: 15px; padding: 0 16px; border-radius: 10px; box-shadow: 0 6px 16px rgba(236,101,8,.28); }
.btn-cta span { white-space: nowrap; }
.link { color: var(--teal-d); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.link::after { content: "→"; transition: transform .2s; } .link:hover::after { transform: translateX(4px); }

/* ===== En-tête ===== */
.header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); box-shadow: 0 1px 0 var(--line); }
.header .wrap { --w: 1480px; display: flex; align-items: center; gap: 12px; min-height: 68px; } /* en-tête un peu plus large que le contenu : plus d'air entre les liens */
.logo { display: flex; align-items: center; min-height: 48px; flex: none; } .logo img { height: 34px; width: auto; max-width: 150px; }
@media (min-width: 1500px) { .logo img { max-width: 175px; } .hdr-actions { gap: 14px; } }
.nav { display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav li { position: relative; }
.nav li > a, .nav li > button { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 12px; border-radius: 10px; font: inherit; font-weight: 600; color: var(--text); text-decoration: none; background: none; border: 0; cursor: pointer; white-space: nowrap; font-size: 15px; }
.nav li > a:hover, .nav li > button:hover, .nav li.open > button, .nav li:hover > button { background: var(--tint); color: var(--teal-dd); }
.nav li > a[aria-current] { color: var(--navy); }
.nav .chev { width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.sub { display: none; }
.sub .col-title { margin: 0 0 8px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--teal-d); } /* titre de colonne du menu : même rendu qu'avant, mais pas un <h4> (les titres de menu ne doivent pas entrer dans le plan de la page) */
.sub a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 8px; border-radius: 10px; text-decoration: none; color: var(--text); font-weight: 600; font-size: 15px; }
.sub a small { display: block; font-weight: 400; color: var(--soft); font-size: 13px; }
.sub a:hover { background: var(--tint); color: var(--teal-dd); }
.sub img { width: 44px; height: 32px; object-fit: cover; border-radius: 6px; flex: none; }
@media (min-width: 1100px) {
  .nav { display: block; margin-left: 6px; }
  .nav li:hover > .sub, .nav li:focus-within > .sub, .nav li.open > .sub { display: grid; }
  .sub { position: absolute; top: calc(100% + 6px); left: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; min-width: 280px; gap: 6px; z-index: 50; }
  .sub.mega { left: -120px; width: 900px; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .sub.mega .col { display: grid; gap: 2px; align-content: start; } .sub.mega .col a { padding: 8px; }
}
.hdr-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.tel { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); min-height: 48px; }
.tel .ico { width: 38px; height: 38px; } .tel .ico svg { width: 18px; height: 18px; }
.tel b { display: block; font-size: 16px; line-height: 1.1; white-space: nowrap; } .tel small { display: block; color: var(--soft); font-size: 12px; }
.hdr-cta { display: none; } @media (min-width: 600px) { .hdr-cta { display: inline-flex; } }
/* « Envoyer des documents » : bouton secondaire à côté de l'appel à l'action, sur toutes les pages (ordinateur) */
.hdr-docs { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: 12px; border: 1.5px solid var(--teal); color: var(--teal-dd); background: #fff; text-decoration: none; font-weight: 700; font-size: 12.5px; line-height: 1.1; }
.hdr-docs svg { width: 20px; height: 20px; flex: none; } .hdr-docs:hover { background: var(--tint); }
@media (min-width: 1100px) { .hdr-docs { display: inline-flex; } .logo { flex: none; } .hdr-actions { gap: 10px; } }
/* En-tête : tout tient sur une ligne à chaque largeur (menu complet dès 1100 px) */
@media (min-width: 1100px) and (max-width: 1499px) { .hdr-docs span { display: none; } .hdr-docs { padding: 0 11px; } }
@media (min-width: 1100px) and (max-width: 1399px) { .tel small { display: none; } .hdr-cta.small { padding: 0 12px; } .nav li > a, .nav li > button { padding: 0 6px; font-size: 14px; } .logo img { max-width: 130px; } .hdr-actions { gap: 8px; } .header .wrap { gap: 10px; } }
@media (min-width: 1100px) and (max-width: 1299px) { .nav li.home { display: none; } .nav li > a, .nav li > button { padding: 0 5px; font-size: 13.5px; } }

@media (min-width: 1300px) and (max-width: 1399px) { .nav li > a, .nav li > button { padding: 0 9px; } }
@media (min-width: 1400px) { .hdr-actions { gap: 12px; } .nav ul { gap: 4px; } .nav li > a, .nav li > button { padding: 0 13px; } }
@media (min-width: 1600px) { .nav ul { gap: 6px; } .nav li > a, .nav li > button { padding: 0 16px; } .header .wrap { gap: 20px; } }
.docs-link { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; text-align: center; gap: 4px 6px; font-size: 13px; color: var(--navy); text-decoration: none; margin: 0; padding: 8px 0 2px; border-top: 1px dashed var(--line); }
.docs-link svg { width: 16px; height: 16px; color: var(--teal-d); } .docs-link b { color: var(--teal-dd); text-decoration: underline; }
.burger { width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 12px; background: #fff; display: grid; place-items: center; cursor: pointer; }
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); box-shadow: 0 -6px 0 var(--ink), 0 6px 0 var(--ink); }
@media (min-width: 1100px) { .burger { display: none; } }
@media (max-width: 599px) { .tel small { display: none; } .hdr-actions { gap: 8px; flex: none; } .tel { gap: 6px; } .tel .ico { width: 34px; height: 34px; } .tel b { font-size: 15px; } .logo img { max-width: 128px; height: 30px; } .header .wrap { gap: 8px; } } /* petit écran : logo, téléphone et bouton menu tiennent dans 360 px sans que le menu soit coupé */
@media (max-width: 379px) { .logo img { max-width: 112px; } .tel b { font-size: 14px; } .tel .ico { display: none; } }

/* Tiroir mobile */
.drawer { position: fixed; inset: 0; z-index: 60; display: none; } .drawer.open { display: block; }
.drawer .bg { position: absolute; inset: 0; background: rgba(11,42,91,.5); }
.drawer .panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(92vw, 400px); background: #fff; overflow: auto; padding: 16px 18px 90px; }
.drawer .panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.drawer .close { width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: 24px; cursor: pointer; }
.drawer details { border-bottom: 1px solid var(--line); }
.drawer summary { list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 52px; font-weight: 700; color: var(--ink); cursor: pointer; font-size: 17px; }
.drawer summary::-webkit-details-marker { display: none; } .drawer summary::after { content: "+"; font-size: 24px; color: var(--teal-d); } .drawer details[open] summary::after { content: "–"; }
.drawer .lvl { padding: 0 0 10px 10px; display: grid; gap: 2px; }
.drawer .lvl a { display: flex; align-items: center; gap: 10px; min-height: 46px; text-decoration: none; color: var(--text); font-weight: 600; }
.drawer .lvl .l2 { padding-left: 54px; font-weight: 500; font-size: 15px; min-height: 42px; }
.drawer .lvl img { width: 44px; height: 32px; object-fit: cover; border-radius: 6px; }
.drawer .plain { display: flex; align-items: center; min-height: 52px; font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); font-size: 17px; }
.drawer .drawer-cta { display: grid; gap: 10px; margin-top: 18px; }

/* ===== Hero clair ===== */
.hero { position: relative; isolation: isolate; padding: 22px 0 28px; background: var(--sky); overflow: hidden; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: -20% -10% auto -10%; height: 90%;
  background: radial-gradient(600px 360px at 12% 20%, rgba(0,180,207,.22), transparent 60%), radial-gradient(700px 400px at 88% 10%, rgba(0,180,207,.18), transparent 60%), radial-gradient(500px 300px at 60% 90%, rgba(38,210,214,.14), transparent 60%); filter: blur(10px); }
.hero-grid { display: grid; gap: 18px; }
.hero-copy { display: grid; gap: 10px; justify-items: start; }
.hero-copy .crumbs { font-size: 13px; color: var(--soft); } .hero-copy .crumbs span { color: var(--navy); font-weight: 700; }
.hero h1 { margin: 0; max-width: 14ch; }
.hero .sub-h1 { margin: 0; color: var(--text); font-size: 16px; max-width: 48ch; }
.hero .sub-h1 .lead { color: var(--navy); font-weight: 700; }
.benefits { list-style: none; margin: 8px 0 0; padding: 0; display: none; grid-template-columns: repeat(3, 1fr); gap: 14px; width: 100%; max-width: 520px; }
.benefits li { display: grid; justify-items: center; text-align: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--navy); line-height: 1.3; }
.benefits .ico { background: var(--teal); color: #fff; width: 46px; height: 46px; }
.hero-photo { display: none; position: relative; margin-top: 10px; width: 100%; max-width: 520px; }
.hero-photo img { border-radius: 22px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.hero-photo .note { position: absolute; right: -6px; top: -26px; transform: rotate(-6deg); text-align: center; }
.hero-photo .note svg { width: 42px; height: 42px; margin: 2px auto 0; color: var(--navy); transform: rotate(20deg); }
.more-toggle { display: none; }
@media (min-width: 900px) {
  .hero { padding: 44px 0 56px; }
  .hero-grid { grid-template-columns: 1fr 1.08fr; gap: 44px; align-items: start; }
  .hero-copy { gap: 14px; padding-top: 10px; }
  .hero .sub-h1 { font-size: 17.5px; }
  .benefits, .hero-photo { display: grid; } .hero-photo { display: block; }
}
@media (max-width: 599px) {
  .hero h1 { max-width: none; font-size: 32px; }
  .sub-h1 .more-text { display: none; } .sub-h1.open .more-text { display: inline; }
  .more-toggle { display: inline-flex; align-items: center; min-height: 40px; border: 0; background: none; color: var(--teal-d); font: 700 14px/1 "Onest", system-ui, sans-serif; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 0 2px; margin-top: -4px; }
}

/* ===== Simulateur compact ===== */
.sim { background: linear-gradient(180deg, #fff 0%, #f3fbfd 55%, var(--tint) 100%); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; display: grid; }
.sim-head { background: linear-gradient(135deg, var(--teal-d), var(--teal)); color: #fff; padding: 14px 20px; }
.sim-head h2, .sim-head .h { margin: 0; color: #fff; font-size: 18px; font-weight: 800; }
.sim-head p { margin: 2px 0 0; font-size: 13px; opacity: .92; }
.sim .zone { padding: 16px 18px 6px; display: grid; gap: 12px; }
.step { font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 10px; font-size: 15px; }
.step i { font-style: normal; width: 24px; height: 24px; border-radius: 50%; background: var(--teal-d); color: #fff; display: grid; place-items: center; font-size: 12px; flex: none; }
.step .val { margin-left: auto; font-weight: 800; color: var(--navy); font-size: 16px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; min-width: 0; }
.hero-sim, .demande-sim-col, .aside-sim, .sim-mini, .sim { min-width: 0; } /* la carte se plie à la largeur de l'écran, jamais l'inverse */
.tile { min-width: 0; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; padding: 8px 4px; text-align: center; min-height: 48px; cursor: pointer; font: inherit; color: var(--text); font-weight: 600; font-size: 12.5px; display: grid; place-items: center; gap: 2px; }
.tile svg { width: 22px; height: 22px; color: var(--teal-d); }
.tile[aria-pressed="true"] { border-color: var(--teal); background: var(--tint); color: var(--navy); box-shadow: inset 0 0 0 1px var(--teal); }
.tile small { display: block; color: var(--soft); font-size: 11.5px; font-weight: 500; }
.tile .price { font-weight: 800; font-size: 14.5px; color: var(--navy); }
.tile .bar { width: 70%; height: 3px; border-radius: 2px; background: var(--line); overflow: hidden; margin-top: 3px; } .tile .bar i { display: block; height: 100%; background: var(--teal); }
.tile[aria-pressed="true"] .bar i { background: var(--navy); }
.tiles.types { grid-template-columns: repeat(3, 1fr); } @media (min-width: 420px) { .tiles.types { grid-template-columns: repeat(6, 1fr); } }
.tiles.durations { grid-template-columns: repeat(4, 1fr); } @media (min-width: 600px) { .tiles.durations { grid-template-columns: repeat(7, 1fr); } }
.amount { display: grid; grid-template-columns: 40px 1fr 40px; gap: 10px; align-items: center; }
.amount button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--teal-d); color: #fff; font-size: 22px; font-weight: 700; cursor: pointer; }
.amount .field { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; height: 46px; padding: 0 12px; font-weight: 800; font-size: 20px; color: var(--navy); justify-content: center; gap: 6px; }
.amount input[type=text] { border: 0; width: 7ch; text-align: right; font: inherit; font-weight: 800; color: var(--navy); outline: none; }
.range { width: 100%; margin: 0; accent-color: var(--teal); height: 30px; }
.range-labels { display: flex; justify-content: space-between; font-size: 12px; color: var(--soft); margin-top: -8px; }
.result { margin: 8px 18px 0; border-radius: 14px; background: var(--sky); border: 1px solid var(--line); padding: 14px 16px; display: grid; gap: 10px; }
.result .top { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: center; }
.result .big span { display: block; font-size: 12.5px; color: var(--soft); font-weight: 600; }
.result .big strong { font-size: clamp(28px, 6vw, 36px); color: var(--navy); letter-spacing: -.02em; line-height: 1; display: inline-block; white-space: nowrap; }
.result .big em { font-style: normal; font-size: 13px; color: var(--soft); margin-left: 4px; }
.result dl { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; font-size: 12.5px; }
.result dt { color: var(--soft); } .result dd { margin: 0; font-weight: 700; color: var(--navy); text-align: right; white-space: nowrap; }
.result .split, .donut { display: none; }
.info { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--teal-d); color: var(--teal-d); background: #fff; font: 700 10px/1 Georgia, serif; font-style: italic; cursor: help; position: relative; vertical-align: middle; margin-left: 4px; padding: 0; }
.info .tip { position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%); width: 240px; background: var(--navy); color: #fff; font: 400 13px/1.45 "Onest", system-ui, sans-serif; font-style: normal; text-align: left; padding: 10px 12px; border-radius: 10px; box-shadow: var(--shadow); display: none; z-index: 5; }
.info .tip::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -6px; border: 6px solid transparent; border-top-color: var(--navy); }
.info .tip b { display: block; margin-bottom: 2px; }
.info:hover .tip, .info:focus .tip { display: block; }
@media (max-width: 599px) { .info .tip { left: auto; right: -8px; transform: none; } .info .tip::after { left: auto; right: 12px; } }
.sim-cta { padding: 12px 18px 0; display: grid; gap: 8px; } .sim-cta .btn-cta { width: 100%; }
.sim-cta .lock { display: flex; justify-content: center; align-items: center; gap: 6px; font-size: 12.5px; color: var(--soft); margin: 0; }
.sim-cta .lock svg { width: 14px; height: 14px; }
.sim-more { margin: 10px 18px 0; border-top: 1px solid var(--line); }
.sim-more summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; min-height: 46px; font-weight: 700; color: var(--teal-dd); font-size: 14px; }
.sim-more summary::-webkit-details-marker { display: none; } .sim-more summary::after { content: "+"; font-size: 22px; } .sim-more[open] summary::after { content: "–"; }
.sim-more .detail { display: grid; gap: 12px; padding-bottom: 14px; }
.sim-more .split { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-size: 13px; }
.sim-more .split div { background: var(--sky); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; color: var(--soft); } .sim-more .split b { display: block; font-size: 15px; color: var(--navy); }
.sim-more .split i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
.sim-more .donut { display: block; width: 72px; height: 72px; justify-self: end; }
.sim-more .donut circle { fill: none; stroke-width: 10; } .sim-more .donut .bg { stroke: var(--line); } .sim-more .donut .cap { stroke: var(--teal); stroke-linecap: round; }
.sim-more .donut text { fill: var(--navy); font-size: 11px; font-weight: 800; text-anchor: middle; }
.sim-more .rep { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; }
.chart-card { background: var(--sky); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px 10px; display: grid; gap: 6px; }
.chart-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 12.5px; color: var(--soft); font-weight: 600; } .chart-head b { color: var(--navy); font-size: 13px; }
.chart { width: 100%; height: 96px; display: block; } .chart .area { fill: url(#gradArea); } .chart .line { fill: none; stroke: var(--teal-d); stroke-width: 2.5; stroke-linejoin: round; } .chart .grid { stroke: rgba(11,42,91,.12); stroke-width: 1; }
.chart-foot { display: flex; justify-content: space-between; font-size: 12px; color: var(--soft); }
.amort { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.amort-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; background: var(--tint); font-size: 12.5px; color: var(--teal-dd); font-weight: 700; } .amort-head b { color: var(--navy); }
.amort table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.amort th, .amort td { padding: 6px 10px; text-align: right; border-top: 1px solid var(--line); white-space: nowrap; }
.amort th { background: #fff; color: var(--soft); font-weight: 600; border-top: 0; font-size: 11.5px; }
.amort th:first-child, .amort td:first-child { text-align: left; font-weight: 700; color: var(--navy); }
.amort:not(.open) tbody tr:nth-child(n+6) { display: none; }
.amort-more { display: none; width: 100%; border: 0; border-top: 1px solid var(--line); background: var(--tint); color: var(--teal-dd); font: 700 13px/1 "Onest", system-ui, sans-serif; min-height: 42px; cursor: pointer; }
.amort.has-more .amort-more { display: block; }
@media (max-width: 599px) { .amort th:nth-child(2), .amort td:nth-child(2), .amort th:nth-child(3), .amort td:nth-child(3) { display: none; } .amort th, .amort td { white-space: normal; padding: 6px 8px; } }
.sim .fine { font-size: 12px; color: var(--soft); line-height: 1.45; margin: 0; padding: 10px 18px 16px; } .sim .fine b { color: var(--text); }
.legal-line { text-align: center; color: var(--navy); font-weight: 800; font-size: 16px; margin: 14px 0 0; }
.legal-line span { display: inline-block; background: #fff; border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; box-shadow: var(--shadow-s); }

/* Bande de confiance */
.trust-strip { background: #fff; border-bottom: 1px solid var(--line); }
.trust-strip .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; padding: 16px 0; }
.trust-strip span { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--navy); font-weight: 700; line-height: 1.25; }
.trust-strip span small { display: block; color: var(--soft); font-weight: 500; }
.trust-strip .ico { width: 40px; height: 40px; }
@media (min-width: 900px) { .trust-strip .wrap { grid-template-columns: repeat(4, auto); justify-content: space-between; } }

/* ===== Sections ===== */
.section { padding: 44px 0; } .section.alt { background: var(--sky); } .section.dark { background: linear-gradient(135deg, #e3f6fa, #f2fbfd 60%, #fff); }
.sec-head { display: grid; gap: 6px; margin-bottom: 22px; } .sec-head p { color: var(--soft); max-width: 70ch; margin: 0; }
@media (min-width: 900px) { .section { padding: 64px 0; } .sec-head { grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: 28px; } .sec-head h2 { white-space: nowrap; } .sec-head .link, .sec-head p { justify-self: end; } }

/* Crédits : catégories, cartes à vignette + pastille icône */
.cat { margin-top: 28px; } .cat:first-of-type { margin-top: 0; }
.cat-head { display: grid; gap: 2px; margin-bottom: 14px; padding-left: 14px; border-left: 4px solid var(--teal); }
.cat-head h3 { margin: 0; font-size: 19px; } .cat-head p { margin: 0; color: var(--soft); font-size: 14.5px; max-width: 80ch; }
.credits { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (min-width: 720px) { .credits { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .credits { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
/* Cartes crédits : titre et descriptif dans l'image, sur un voile bleu nuit */
.credit { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: #fff; box-shadow: var(--shadow-s); background: var(--navy); transition: transform .2s, box-shadow .2s; }
.credit:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.credit img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; } .credit:hover img { transform: scale(1.06); }
.credit .ico { position: absolute; left: 14px; top: 14px; width: 42px; height: 42px; background: rgba(255,255,255,.94); color: var(--teal-d); box-shadow: var(--shadow-s); }
.credit .body { position: absolute; left: 0; right: 0; bottom: 0; padding: 56px 16px 16px; display: grid; gap: 4px; background: linear-gradient(180deg, rgba(7,24,54,0) 0%, rgba(7,24,54,.62) 32%, rgba(7,24,54,.94) 100%); }
.credit strong { color: #fff; font-size: 17px; line-height: 1.2; padding-right: 36px; }
.credit .desc { font-size: 13.5px; color: rgba(255,255,255,.86); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.credit .arr { position: absolute; right: 12px; bottom: 12px; width: 34px; height: 34px; border-radius: 50%; background: var(--cta); color: #fff; display: grid; place-items: center; } .credit .arr svg { width: 18px; height: 18px; }
.credit .desc { padding-right: 44px; }
@media (max-width: 599px) { .credits { grid-template-columns: 1fr; gap: 12px; } .credit { aspect-ratio: 16 / 10; } .credit .body { padding: 44px 14px 14px; } .credit strong { font-size: 16px; } }

/* Étapes */
.steps-grid { display: grid; gap: 22px; }
.steps-copy p { color: var(--text); max-width: 46ch; }
.steps-copy .hand { color: var(--teal-dd); margin-top: 10px; transform: rotate(-3deg); display: inline-block; }
.steps { display: grid; gap: 14px; counter-reset: s; }
.steps .st { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 16px 16px; display: grid; justify-items: center; text-align: center; gap: 8px; box-shadow: var(--shadow-s); }
.steps .st .num { position: absolute; left: 12px; top: 12px; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; font-size: 13px; display: grid; place-items: center; }
.steps .st .ico { width: 56px; height: 56px; } .steps .st .ico svg { width: 26px; height: 26px; }
.steps .st h3 { margin: 4px 0 0; font-size: 16px; } .steps .st p { margin: 0; font-size: 13.5px; color: var(--soft); }
@media (min-width: 900px) {
  .steps-grid { grid-template-columns: .8fr 1.6fr; gap: 40px; align-items: center; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps .st:not(:last-child)::after { content: "→"; position: absolute; right: -16px; top: 50%; transform: translateY(-50%); color: var(--teal-d); font-weight: 800; font-size: 18px; }
}

/* Pourquoi nous */
.why { display: grid; gap: 22px; align-items: center; }
.why .photo { position: relative; } .why .photo img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.why .photo .float { position: absolute; left: 16px; bottom: 16px; background: #fff; border-radius: 12px; padding: 10px 14px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--soft); }
.why .photo .float b { display: block; color: var(--navy); font-size: 14px; } .why .photo .float .ico { width: 38px; height: 38px; background: var(--teal); color: #fff; }
.check { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.check li { padding-left: 30px; position: relative; font-size: 15px; }
.check li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M5 10.5l3.2 3L15 7'/%3E%3C/svg%3E") center/14px no-repeat; }
.pills { display: grid; gap: 10px; }
.pill { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow-s); }
.pill b { display: block; color: var(--navy); font-size: 17px; line-height: 1.1; } .pill span { color: var(--soft); font-size: 13px; }
@media (min-width: 900px) { .why { grid-template-columns: 1.1fr 1.3fr .8fr; gap: 32px; } }

/* Outils / infos */
.tools-grid { display: grid; gap: 18px; }
.cards { display: grid; gap: 14px; } @media (min-width: 720px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 8px; align-content: start; box-shadow: var(--shadow-s); }
.card h3 { font-size: 16px; margin: 0; } .card p { margin: 0; color: var(--soft); font-size: 14px; }
.tools-photo { position: relative; display: none; } .tools-photo img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.tools-photo .note { position: absolute; left: -10px; top: -46px; transform: rotate(-5deg); color: var(--teal-dd); text-align: center; }
.tools-photo { padding-top: 40px; } .tools-photo .note svg { width: 40px; height: 40px; margin: 0 auto; transform: rotate(60deg); color: var(--teal-dd); }
@media (min-width: 1100px) { .tools-grid { grid-template-columns: 1fr 380px; gap: 36px; align-items: center; } .tools-photo { display: block; } }

/* Guides */
.guides { display: grid; gap: 14px; } @media (min-width: 720px) { .guides { grid-template-columns: repeat(2, 1fr); } } @media (min-width: 1100px) { .guides { grid-template-columns: repeat(4, 1fr); } }
.guide { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); display: grid; grid-template-rows: auto 1fr; text-decoration: none; color: var(--text); box-shadow: var(--shadow-s); position: relative; }
.guide .pic { aspect-ratio: 16 / 10; overflow: hidden; } .guide .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; } .guide:hover .pic img { transform: scale(1.06); }
.guide .tag { position: absolute; left: 12px; top: 12px; background: var(--teal-d); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.guide .body { padding: 14px 16px 16px; display: grid; gap: 6px; align-content: start; } .guide h3 { font-size: 16px; margin: 0; color: var(--navy); } .guide p { margin: 0; color: var(--soft); font-size: 13.5px; }

/* Avis */
.reviews-wrap { display: grid; gap: 18px; }
.reviews { display: grid; gap: 14px; } @media (min-width: 720px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 8px; box-shadow: var(--shadow-s); position: relative; }
.review::before { content: "“"; position: absolute; left: 14px; top: 2px; font-size: 48px; color: var(--teal); font-family: Georgia, serif; line-height: 1; opacity: .6; }
.review p { margin: 18px 0 0; font-size: 14.5px; color: var(--text); } .review small { color: var(--soft); } .review small b { color: var(--navy); }
.gbadge { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 700; } .gbadge .stars { color: #f5a623; letter-spacing: 1px; }
@media (min-width: 1100px) { .reviews-wrap { grid-template-columns: 300px 1fr; gap: 32px; align-items: start; } }

/* Parlez à un expert */
.expert { background: var(--sky); border-top: 1px solid var(--line); }
.expert .wrap { display: grid; gap: 18px; padding: 36px 0; align-items: center; }
.expert .contacts { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.expert .chip { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; text-decoration: none; color: var(--navy); box-shadow: var(--shadow-s); min-height: 54px; }
.expert .chip b { display: block; font-size: 15px; line-height: 1.1; } .expert .chip small { display: block; color: var(--soft); font-size: 12px; }
.expert .photo { display: none; position: relative; } .expert .photo img { border-radius: 50% 50% 0 0 / 40% 40% 0 0; aspect-ratio: 1; object-fit: cover; width: 100%; max-width: 300px; margin-left: auto; }
.expert .photo .note { position: absolute; left: 0; top: 0; color: var(--teal-dd); transform: rotate(-4deg); max-width: 220px; }
@media (min-width: 900px) { .expert .wrap { grid-template-columns: 1fr auto; } }
@media (min-width: 1100px) { .expert .wrap { grid-template-columns: 1.1fr 1fr 300px; padding: 20px 0 0; } .expert .photo { display: block; } }

/* ===== Pied de page bleu marine ===== */
.footer { background: linear-gradient(160deg, var(--navy) 0%, #0a2550 60%, #081e42 100%); color: #c7d4e6; font-size: 14.5px; }
.footer a { color: #fff; text-decoration: none; } .footer a:hover { color: #7fe6ef; }
.footer-top { display: grid; gap: 26px; padding: 40px 0 30px; border-bottom: 1px solid rgba(255,255,255,.12); }
@media (min-width: 720px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-top { grid-template-columns: 1.3fr 1fr .95fr 1fr 1.15fr 1.05fr; gap: 26px; } }
.footer .brand img { height: 32px; width: auto; filter: brightness(0) invert(1); margin-bottom: 12px; }
.footer .brand p { margin: 0 0 12px; font-size: 14px; line-height: 1.55; }
.footer .socials { display: flex; gap: 10px; margin-top: 6px; } .footer .socials a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.1); display: grid; place-items: center; } .footer .socials svg { width: 18px; height: 18px; fill: #fff; }
.footer h3 { color: #fff; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 10px; }
.footer ul { list-style: none; padding: 0; margin: 0; } .footer ul a { display: inline-block; padding: 6px 0; font-weight: 500; }
.footer .contact li { display: flex; gap: 10px; align-items: flex-start; padding: 5px 0; } .footer .contact svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: #7fe6ef; }
.footer-zones { display: grid; gap: 22px; padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,.12); align-items: center; }
@media (min-width: 720px) { .footer-zones { grid-template-columns: minmax(300px, 480px) 1fr; gap: 36px; } }
.zones-map { max-width: 480px; margin: 0 auto; width: 100%; }
.carte-be { width: 100%; height: auto; overflow: visible; }
.carte-be .prov { fill: rgba(255,255,255,.1); stroke: rgba(255,255,255,.45); stroke-width: 1.5; stroke-linejoin: round; }
.carte-be .prov.served { fill: rgba(0,180,207,.42); stroke: rgba(255,255,255,.7); }
.carte-be .ville circle { fill: #fff; stroke: var(--navy); stroke-width: 3; transition: r .15s; }
.carte-be .ville text { fill: #fff; font: 700 36px/1 Onest, system-ui, sans-serif; paint-order: stroke; stroke: rgba(7,24,54,.75); stroke-width: 6px; stroke-linejoin: round; }
.carte-be .ville:hover circle, .carte-be .ville:focus circle { fill: var(--cta); r: 14; }
.carte-be .agence circle:first-child { fill: var(--cta); stroke: #fff; stroke-width: 3; }
.carte-be .agence circle:nth-child(2) { fill: none; stroke: var(--cta); stroke-width: 3; opacity: .7; }
.carte-be .agence text { fill: #ffd2b0; font: 800 32px/1 Onest, system-ui, sans-serif; paint-order: stroke; stroke: rgba(7,24,54,.75); stroke-width: 6px; stroke-linejoin: round; }
.zones-text { display: grid; gap: 10px; justify-items: start; }
.zones-text .flag { width: 42px; height: 28px; border-radius: 4px; background: linear-gradient(90deg, #000 33%, #fae042 33% 66%, #ed2939 66%); }
.zones-text b { color: #fff; font-size: 19px; }
.zones-text p { margin: 0; max-width: 60ch; }
.zones-list { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.zones-list a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: #fff; font-weight: 600; font-size: 13.5px; }
.zones-list a::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.zones-list a:hover { background: var(--teal-d); border-color: var(--teal-d); color: #fff; }
.footer-bottom { padding: 18px 0 26px; font-size: 12.5px; color: #9fb3cc; display: grid; gap: 12px; }
.footer-bottom .row { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
.footer-bottom .warn { color: #fff; font-weight: 800; font-size: 14px; }
.example { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 12px 14px; font-size: 12.5px; color: #dbe6f3; } .example b { color: #fff; }

/* ===== Flottants / barre mobile ===== */
.float-wa { position: fixed; left: 14px; bottom: 84px; z-index: 35; width: 48px; height: 48px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; box-shadow: var(--shadow); color: #fff; }
.float-wa svg { width: 26px; height: 26px; }
@media (min-width: 900px) { .float-wa { bottom: 24px; left: auto; right: 24px; width: 56px; height: 56px; } }
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: rgba(255,255,255,.97); backdrop-filter: blur(6px); border-top: 1px solid var(--line); padding: 10px 16px; display: grid; grid-template-columns: 1fr auto auto; gap: 10px; }
.sticky-cta .btn { min-height: 48px; } .sticky-cta .btn-ghost { padding: 0 14px; } .sticky-cta .btn-ghost svg { width: 22px; height: 22px; }
.sticky-cta .btn-cta { min-height: 50px; font-size: 16px; }
@media (min-width: 900px) { .sticky-cta { display: none; } }
body { padding-bottom: 76px; } @media (min-width: 900px) { body { padding-bottom: 0; } }

/* ===== Page produit : contenu ===== */
.brief { border-left: 4px solid var(--teal); background: var(--tint); padding: 14px 18px; border-radius: 0 12px 12px 0; margin: 0 0 24px; } .brief p { margin: 0; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 0 14px; } /* jamais coupé ni défilant : les pastilles passent à la ligne */
.toc a { white-space: nowrap; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 0 16px; min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; text-decoration: none; color: var(--text); font-weight: 600; }
@media (max-width: 899px) { .toc a { white-space: normal; min-height: 40px; padding: 8px 14px; line-height: 1.25; } } /* mobile : un titre long passe à la ligne dans sa pastille */
.prose h2 { margin-top: 1.6em; } .prose .answer { font-weight: 600; color: var(--navy); }
.prose-grid { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); } .prose-grid > * { min-width: 0; }
@media (min-width: 1100px) { .prose-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; } .aside { position: sticky; top: 90px; display: grid; gap: 14px; } }
.aside .card h3 { font-size: 16px; margin-bottom: 6px; } .aside .card ul { margin: 0; padding-left: 18px; font-size: 14.5px; }
.cta-card { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #fff; border: 0; } .cta-card h3 { color: #fff; } .cta-card p { color: #dbe6f3; font-size: 14.5px; } .cta-card .btn { width: 100%; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-s); }
.tbl th, .tbl td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; white-space: normal; }
.tbl th { background: var(--navy); color: #fff; font-weight: 700; } .tbl tr.total td { font-weight: 800; color: var(--navy); background: var(--tint); }
@media (max-width: 719px) {
  .tbl thead { display: none; } .tbl tr { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 2px solid var(--line); padding: 8px 0; }
  .tbl td { border: 0; padding: 4px 12px; } .tbl td::before { content: attr(data-l); display: block; font-size: 12px; color: var(--soft); }
  .tbl td:first-child { grid-column: 1 / -1; font-weight: 800; color: var(--navy); } .tbl td:empty { display: none; }
}
.after { display: grid; gap: 12px; margin-top: 16px; grid-template-columns: 1fr 1fr; } @media (min-width: 900px) { .after { grid-template-columns: repeat(4, 1fr); } }
.after .card strong { display: block; font-size: 22px; color: var(--navy); } .after .card small { color: var(--soft); } .after .card.good strong { color: var(--ok); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 40px 16px 0; font-weight: 700; color: var(--navy); position: relative; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; } .faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 26px; color: var(--teal-d); line-height: 1; } .faq details[open] summary::after { content: "–"; }
.faq .a { padding: 0 0 16px; }

@media (max-width: 599px) { .result .top { grid-template-columns: 1fr; gap: 8px; } .result dl { font-size: 13px; } .result .big strong { font-size: 34px; } }

/* Bandeaux photo pleine largeur (visuels fournis : couple à gauche / conseillère à droite) */
@media (min-width: 900px) {
  .hero.has-bg { background: #eaf6fb url("../img/bandeau-couple-simulation-credit-en-ligne-salon.webp") left bottom / 100% auto no-repeat; }
  .hero.has-bg::before { background: linear-gradient(180deg, rgba(234,246,251,1) 0%, rgba(234,246,251,.9) 30%, rgba(234,246,251,0) 60%); filter: none; inset: 0; height: auto; }
  .hero.has-bg .hero-copy { padding-top: 6px; }
  .hero.has-bg .hero-note { position: absolute; left: 50%; bottom: 40px; transform: translateX(-120%) rotate(-6deg); color: var(--navy); text-align: center; }
  .hero.has-bg .hero-note svg { width: 42px; height: 42px; margin: 2px auto 0; transform: rotate(20deg); }
  .hero.has-bg .hero-grid { align-items: start; }
}
.hero-note { display: none; } @media (min-width: 900px) { .hero.has-bg .hero-note { display: block; } }
.expert.has-bg { position: relative; background: #eaf6fb; }
@media (min-width: 900px) {
  .expert.has-bg { background: #eaf6fb url("../img/bandeau-conseillere-deltacredit-service-client.webp") right center / auto 100% no-repeat; min-height: 360px; } /* photo calée sur la hauteur du bloc, jamais recadrée : la conseillère est entière à toute largeur */
  .expert.has-bg::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(234,246,251,.96) 0%, rgba(234,246,251,.85) 45%, rgba(234,246,251,0) 70%); }
  .expert.has-bg .wrap { position: relative; grid-template-columns: 1.2fr 1fr .9fr; padding: 48px 0; align-items: center; }
  .expert-note { position: absolute; left: 54%; top: 22px; color: var(--teal-dd); transform: rotate(-4deg); max-width: 230px; text-align: center; }
}
.expert-note { display: none; } @media (min-width: 1200px) { .expert-note { display: block; } } /* sous 1200 px la note chevauchait les contacts */
@media (min-width: 1600px) { .expert.has-bg { background-position: calc(50% + 380px) center; } } /* (le % d'un background-position porte sur l'espace restant, pas sur la largeur) */ /* grand écran : la conseillère reste proche du contenu, pas collée au bord */
@media (max-width: 899px) { .expert.has-bg .wrap { padding: 32px 0; } }

/* ===== Hero accueil (référence) : à gauche texte + couple, bande de confiance dessous ; à droite le simulateur =====
   Le couple est une vraie image dans sa cellule : il garde sa place entre le texte et le simulateur à toutes les largeurs. */
.sec-head .intro { color: var(--text); font-size: 15px; max-width: 78ch; margin-top: 8px; }
.hero-copy.duo { display: grid; gap: 10px; }
.copy-text { display: grid; gap: 10px; justify-items: start; }
.copy-photo { display: none; }
.hero-trust { display: none; }
.hero.scene { background: #eaf6fb; }
.hero.scene::before { background: radial-gradient(520px 420px at 6% 18%, rgba(0,180,207,.26), transparent 62%), radial-gradient(640px 420px at 96% 6%, rgba(0,180,207,.2), transparent 62%), radial-gradient(900px 380px at 40% 100%, rgba(140,220,235,.35), transparent 62%); filter: blur(14px); }
@media (max-width: 899px) {
  /* mobile : H1 + description, puis le simulateur, puis la bande de confiance */
  .hero.scene .hero-left { display: contents; }
  .hero.scene .hero-copy.duo { order: 1; }
  .hero.scene .hero-sim { order: 2; }
  .hero.scene .hero-trust { order: 3; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; padding-top: 4px; }
  .hero-trust > span { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--navy); font-weight: 700; line-height: 1.25; }
  .hero-trust > span small { display: block; color: var(--soft); font-weight: 500; }
  .hero-trust .ico { width: 38px; height: 38px; flex: none; }
}
@media (min-width: 900px) {
  .hero.scene { padding: 22px 0 26px; }
  .hero.scene .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(440px, .9fr); gap: 24px; align-items: stretch; }
  .hero.scene .tiles.types { grid-template-columns: repeat(3, 1fr); } /* 900–1199 px : types sur 2 lignes pour que la carte reste lisible */
  .hero.scene .tiles.durations { grid-template-columns: repeat(5, 1fr); }
  /* hauteur de la carte constante quels que soient le montant et le type : les tuiles ne se replient pas, la grille garde ses lignes */
  .hero.scene .tiles.durations { min-height: 208px; align-content: start; }
  .hero.scene .tile .price, .hero.scene .tile small { white-space: nowrap; }
  .hero.scene .hero-left { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 18px; min-width: 0; }
  .hero.scene .hero-copy.duo { grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: 0; align-items: stretch; min-height: 560px; }
  .hero.scene .copy-text { grid-column: 1; grid-row: 1; align-self: start; padding: 32px 10px 0 0; gap: 14px; position: relative; z-index: 2; }
  .hero.scene .kicker { font-size: 11.5px; white-space: nowrap; }
  .hero.scene h1 { font-size: clamp(32px, 2.1vw + 12px, 52px); max-width: 13ch; line-height: 1.04; }
  .hero.scene .sub-h1 { font-size: 16px; max-width: 32ch; }
  .hero.scene .sub-h1 .more-text { display: none; }
  .hero.scene .benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 360px; margin-top: 10px; }
  .hero.scene .benefits li { font-size: 12.5px; gap: 7px; }
  .hero.scene .benefits .ico { width: 44px; height: 44px; } .hero.scene .benefits .ico svg { width: 20px; height: 20px; }
  /* le couple : remplit sa cellule, fondu à gauche et en bas pour se poser dans le décor, déborde légèrement sous la carte */
  /* la photo occupe toute la largeur de la colonne de gauche, derrière le texte, et se fond vers la gauche : le couple reste calé entre le texte et la carte */
  .copy-photo { display: block; grid-column: 1 / -1; grid-row: 1; position: relative; justify-self: stretch; align-self: stretch; min-width: 0; margin: -22px -70px -18px -40px; z-index: 1; }
  .copy-photo img { position: absolute; inset: 0; width: 100%; height: min(100%, 820px); object-fit: cover; /* plafonné : quand le détail du simulateur est ouvert, la carte s'allonge mais la photo ne zoome pas */ object-position: 52% 18%; border-radius: 0; box-shadow: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 52%, #000 100%), linear-gradient(180deg, #000 0, #000 84%, transparent 100%); -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent 30%, #000 52%, #000 100%), linear-gradient(180deg, #000 0, #000 84%, transparent 100%); mask-composite: intersect; }
  .copy-photo .note { position: absolute; left: 50%; top: 30px; transform: rotate(-9deg); text-align: center; color: var(--navy); z-index: 2; font-size: 20px; }
  .copy-photo .note svg { width: 40px; height: 40px; margin: 0 auto; transform: rotate(35deg); }
  .hero.scene .hero-sim { position: relative; z-index: 2; }
  /* bande de confiance : juste sous le couple, alignée sur le bas du simulateur */
  .hero.scene .hero-trust { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; align-self: end; position: relative; z-index: 2; padding-right: 6px; }
  .hero-trust > span { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--navy); font-weight: 700; line-height: 1.2; white-space: nowrap; }
  .hero-trust > span small { display: block; color: var(--soft); font-weight: 500; font-size: 11.5px; }
  .hero-trust .ico { width: 36px; height: 36px; flex: none; background: var(--tint); color: var(--teal-d); }
}
@media (min-width: 1200px) {
  .hero.scene .hero-grid { grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); gap: 28px; }
  .hero.scene .tiles.types { grid-template-columns: repeat(6, 1fr); }
  .hero.scene .tiles.durations { grid-template-columns: repeat(7, 1fr); }
  .hero.scene .tiles.durations { min-height: 136px; }
  .hero.scene .tiles.durations .tile .price { font-size: 12.5px; letter-spacing: -.01em; }
  .copy-photo img { object-position: 38% 18%; }
  .hero.scene .sub-h1 { font-size: 17px; }
  .hero.scene .benefits { max-width: 400px; }
  .hero.scene .hero-copy.duo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .copy-photo { margin: -22px -90px -18px -50px; }
  .hero-trust > span { font-size: 13px; } .hero-trust > span small { font-size: 12px; }
}
/* 900–1199 px : colonne de gauche étroite, le couple se pose en bas sous le texte (photo entière, fondu léger à gauche) */
@media (min-width: 900px) and (max-width: 1199px) {
  .copy-photo img { top: auto; height: auto; aspect-ratio: 4 / 3; object-position: 50% 50%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 100%), linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 100%), linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%); }
  .copy-photo .note { left: 56%; top: 20px; }
}
@media (min-width: 1500px) { .copy-photo { margin: -22px -110px -18px -60px; } .hero.scene .hero-grid { gap: 36px; } }

/* ===== Bande légale sous le hero (exemple représentatif + mention) ===== */
.rep-band { background: #fff; border-top: 1px solid var(--line); }
.rep-band .wrap { display: grid; gap: 8px; padding: 14px 0; }
.rep-band .legal-line { margin: 0; text-align: left; }
.rep-band .legal-line span { box-shadow: none; background: var(--tint); border-color: transparent; padding: 6px 14px; font-size: 15px; }
.rep-band .fine { font-size: 12.5px; color: var(--soft); line-height: 1.45; margin: 0; padding: 0; }
.rep-band .fine b { color: var(--text); }
@media (min-width: 900px) { .rep-band .wrap { grid-template-columns: auto 1fr; align-items: center; gap: 18px; } }

/* ===== Hero accueil : carte compacte (mêmes contenus, moins d'air) ===== */
@media (min-width: 900px) {
  /* carte plus compacte : mêmes contenus, moins d'air */
  .hero.scene .sim-head { padding: 12px 18px; }
  .hero.scene .sim .zone { padding: 12px 16px 4px; gap: 9px; }
  .hero.scene .tile { min-height: 44px; padding: 6px 4px; }
  .hero.scene .tiles.durations .tile .price { font-size: 13.5px; } .hero.scene .tiles.durations .tile small { font-size: 11px; }
  .hero.scene .result { margin: 6px 16px 0; padding: 12px 14px; }
  .hero.scene .sim-cta { padding: 10px 16px 0; } .hero.scene .sim-cta .btn-cta { min-height: 50px; }
  .hero.scene .sim-more { margin: 8px 16px 0; } .hero.scene .sim-more summary { min-height: 42px; }
  .hero.scene .sim { padding-bottom: 8px; }
}

/* ===== Ajouts thème WordPress ===== */
.skip { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 10px 14px; z-index: 100; } .skip:focus { left: 12px; top: 12px; }
.page-head { background: var(--sky); padding: 28px 0 10px; } .page-head h1 { margin: 0; }
.prose > :first-child { margin-top: 0; }
body.admin-bar .header { top: 32px; } @media (max-width: 782px) { body.admin-bar .header { top: 46px; } }

/* ===== Fiches crédit : blocs de contenu ACF ===== */
.bloc-texte { margin: 0 0 28px; } .bloc-texte h2 { margin-top: 0; }
.bloc-texte.has-img { display: grid; gap: 18px; } .bloc-img { margin: 0; } .bloc-img img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-s); }
@media (min-width: 720px) { .bloc-texte.has-img { grid-template-columns: 300px minmax(0, 1fr); align-items: start; } .bloc-texte.has-img.img-right { grid-template-columns: minmax(0, 1fr) 300px; } .bloc-texte.has-img.img-right .bloc-img { order: 2; } }
.prose .bloc-body > p:last-child { margin-bottom: 0; }
.prose ul, .prose ol { padding-left: 22px; } .prose li { margin: 4px 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
@media (max-width: 899px) { .prose table { display: block; width: auto; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; } .prose td, .prose th { white-space: nowrap; } } /* mobile : le tableau défile dans son cadre, la page garde sa largeur */ .prose td, .prose th { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.prose img { max-width: 100%; height: auto; border-radius: 12px; }
.iconlist { margin: 0 0 28px; } .iconlist-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 600px) { .iconlist-list { grid-template-columns: 1fr 1fr; } }
.iconlist-list li { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow-s); }
.iconlist-list li strong { display: block; color: var(--navy); } .iconlist-list li small { color: var(--soft); font-size: 13.5px; line-height: 1.4; display: block; margin-top: 2px; }
.iconlist-ico { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--tint); display: grid; place-items: center; overflow: hidden; } .iconlist-ico img { width: 26px; height: 26px; object-fit: contain; }
.faq h2 { margin-bottom: 6px; } .faq .a p:last-child { margin-bottom: 0; }
.creditlist-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; } .creditlist-list a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--navy); font-weight: 600; text-decoration: none; font-size: 14px; } .creditlist-list a:hover { border-color: var(--teal); color: var(--teal-dd); }
.crumbs a { color: var(--soft); text-decoration: none; } .crumbs a:hover { color: var(--teal-dd); }
.page-head .kicker { margin-bottom: 4px; }
/* Tuiles de durée : prix toujours sur une ligne (toutes pages) */
.tiles.durations .tile .price, .tiles.durations .tile small { white-space: nowrap; }
@media (max-width: 420px) { .tiles.durations .tile .price { font-size: 12.5px; letter-spacing: -.01em; } .tiles.durations .tile { padding: 8px 2px; } }

/* ===== Page Demande de crédit ===== */
.page-head .crumbs { font-size: 13px; color: var(--soft); margin-bottom: 8px; } .page-head .crumbs span { color: var(--navy); font-weight: 700; }
.page-head .sub-h1 { margin: 10px 0 0; max-width: 60ch; }
.demande-grid { display: grid; gap: 24px; } @media (min-width: 900px) { .demande-grid { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; } }
.demande-steps { padding-left: 0; list-style: none; counter-reset: st; display: grid; gap: 12px; margin: 14px 0 24px; }
.demande-steps li { position: relative; padding: 12px 14px 12px 56px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-s); }
.demande-steps li::before { counter-increment: st; content: counter(st); position: absolute; left: 14px; top: 12px; width: 30px; height: 30px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 800; display: grid; place-items: center; }
.demande-intro .legal-line { text-align: left; margin-top: 8px; }
.demande-sim { max-width: 640px; margin: 0 auto 28px; }
.rdcf { margin-top: 8px; }
@media (max-width: 599px) { .rdcf .bubble::after { right: var(--arrow-r, 12px); } } /* mobile : la flèche suit le bouton « ? » quand la bulle est recalée dans l'écran (voir main.js) */

/* Page de demande : la barre fixe mobile ne propose pas « Faire ma demande » sur la page de demande elle-même */
body.page-demande-de-credit .sticky-cta .btn-cta, body.single-crdits .sticky-cta .btn-cta, body.home .sticky-cta .btn-cta, body.page-merci .sticky-cta .btn-cta { display: none; } /* fiches crédit : le simulateur a déjà son bouton, la barre du bas garde seulement documents et téléphone */
body.page-demande-de-credit .sticky-cta, body.single-crdits .sticky-cta, body.home .sticky-cta, body.page-merci .sticky-cta { grid-template-columns: auto auto; justify-content: end; }
/* Page de demande : photo plus haute pour remplir la colonne de gauche, note posée dans la photo */
body.page-demande-de-credit .hero-photo img { aspect-ratio: 4 / 3; }
body.page-demande-de-credit .hero-photo .note { top: 12px; right: 12px; background: rgba(255,255,255,.85); border-radius: 12px; padding: 6px 10px; }

/* ===== Page de demande : simulateur + formulaire côte à côte dès le haut ===== */
.page-head.compact { padding: 18px 0 8px; } .page-head.compact .sub-h1 { margin-top: 8px; max-width: 70ch; }
.demande-top { padding-top: 18px; }
.demande-duo { display: grid; gap: 22px; }
@media (min-width: 1000px) { .demande-duo { grid-template-columns: 430px minmax(0, 1fr); gap: 28px; align-items: start; } .demande-sim-col { position: sticky; top: 84px; } }
.demande-duo .kicker { margin-bottom: 8px; }
.demande-ex { font-size: 12px; color: var(--soft); margin: 10px 2px 0; line-height: 1.45; } .demande-ex b { color: var(--text); }
/* formulaire à côté du simulateur : une seule colonne, l'encadré « Votre projet » du plugin est inutile ici */
.demande-form-col .rdcf .layout { grid-template-columns: 1fr; }
.demande-form-col .rdcf .aside { position: static; display: contents; } .demande-form-col .rdcf .aside .sum { display: none; }

/* ===== Formulaire de demande (extension rdc-demande) aux couleurs du site ===== */
.rdcf { --navy: #0b2a5b; --ink: #0b2a5b; --sky: #0096ad; --sky-t: #e6f8fb; --orange: #ff7f1c; --line: #dbe6ee; --line-2: #eef4f8; --surface-2: #f3fbfd; --r: 20px; --r-s: 12px; --bg: transparent; }
.rdcf .rf-card { box-shadow: 0 10px 30px rgba(11,42,91,.08); border-color: var(--line); }
.rdcf .rf-trust li { background: #fff; border-color: var(--line); color: var(--navy); }
.rdcf .rf-trust .dot { background: var(--tint); color: var(--teal-dd); }
.rdcf .bar i { background: linear-gradient(90deg, var(--teal), var(--navy)); }
.rdcf .rf-steps li[aria-current="step"] { border-color: var(--teal); }
.rdcf .rf-steps li[aria-current="step"] .n { background: var(--cta); color: #fff; }
.rdcf .step[data-step="1"], .rdcf .step[data-step="2"], .rdcf .step[data-step="3"], .rdcf .step[data-step="4"] { --accent: #0096ad; --accent-t: #e6f8fb; }
.rdcf .rf-btn-primary { background: linear-gradient(135deg, #ff8a2a, #ff6a00); color: #fff; min-height: 54px; font-size: 16px; font-weight: 800; border-radius: 14px; box-shadow: 0 10px 22px rgba(255,106,0,.28); }
.rdcf .rf-btn-primary:hover { filter: brightness(1.05); transform: translateY(-1px); }
.rdcf .rf-btn-ghost { border-color: var(--line); color: var(--navy); background: #fff; }
.rdcf input:not([type=checkbox]):not([type=radio]), .rdcf select, .rdcf textarea { border-radius: 12px; }
.rdcf input:focus, .rdcf select:focus, .rdcf textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,180,207,.2); }
.rdcf .rf-btn-link, .rdcf a { color: var(--teal-dd); }
/* Simulateur dans la colonne étroite de la page de demande : types sur 3 colonnes, durées sur 5, récapitulatif empilé */
.demande-sim-col .tiles.types { grid-template-columns: repeat(3, 1fr); }
.demande-sim-col .tiles.durations { grid-template-columns: repeat(5, 1fr); min-height: 0; }
.demande-sim-col .result .top { grid-template-columns: 1fr; gap: 8px; }
.demande-sim-col .sim .zone { padding: 12px 14px 4px; } .demande-sim-col .result { margin: 6px 14px 0; } .demande-sim-col .sim-cta { padding: 10px 14px 0; } .demande-sim-col .sim-more { margin: 8px 14px 0; }

/* ===== Pages secondaires : contact, documents, actualités, articles, FAQ ===== */
.contact-grid { display: grid; gap: 24px; } @media (min-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } }
.form-card { padding: 24px; } .form-card h2 { margin: 0 0 6px; } .muted { color: var(--soft); }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; } .contact-list li { display: flex; gap: 10px; align-items: flex-start; } .contact-list li > svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--teal-d); }
.contact-list small { display: block; color: var(--soft); font-size: 13px; } .contact-list a { color: var(--navy); font-weight: 700; text-decoration: none; } .contact-list a:hover { color: var(--teal-dd); }
.zones-inline { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; } .zones-inline a { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--tint); color: var(--navy); font-size: 13px; font-weight: 600; text-decoration: none; } .zones-inline a:hover { background: var(--teal); color: #fff; }
.prose-card h2 { font-size: 18px; margin: 0 0 8px; } .prose-card p, .prose-card li { font-size: 14px; }
/* Formulaires Contact Form 7 */
.cf7 label { display: block; font-weight: 700; color: var(--navy); font-size: 14px; margin-bottom: 4px; }
.cf7 input:not([type=submit]):not([type=checkbox]):not([type=radio]), .cf7 textarea, .cf7 select { width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font: inherit; color: var(--text); }
.cf7 textarea { min-height: 120px; resize: vertical; }
.cf7 input:focus, .cf7 textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,180,207,.2); }
.cf7 p { margin: 0 0 12px; } .cf7 .form-group { display: grid; gap: 0 14px; } @media (min-width: 600px) { .cf7 .form-group { grid-template-columns: 1fr 1fr; } }
.cf7 input[type=submit] { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border: 0; border-radius: 14px; background: linear-gradient(135deg, #ff8a2a, #ff6a00); color: #fff; font: inherit; font-weight: 800; font-size: 16px; cursor: pointer; box-shadow: 0 10px 22px rgba(255,106,0,.28); width: 100%; }
.cf7 input[type=submit]:hover { filter: brightness(1.05); }
.cf7 .wpcf7-spinner { display: block; margin: 8px auto 0; }
.cf7 .wpcf7-not-valid-tip { color: #b42318; font-size: 13px; margin-top: 4px; } .cf7 .wpcf7-response-output { margin: 12px 0 0; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line); font-size: 14px; }
.cf7-dark label { color: #fff; } .cf7-dark input:not([type=submit]) { border-color: transparent; } .cf7-dark input[type=submit] { background: #fff; color: var(--navy); box-shadow: none; }
.cf7-upload .codedropz-upload-handler { border: 2px dashed var(--teal); border-radius: 14px; background: var(--tint); }
.cf7-upload .codedropz-upload-inner h3 { color: var(--navy); } .cf7-upload .cd-upload-btn { color: var(--teal-dd); font-weight: 700; }
.form-card .fine { display: flex; gap: 6px; align-items: center; margin: 12px 0 0; color: var(--soft); font-size: 12.5px; } .form-card .fine svg { width: 14px; height: 14px; }
/* Actualités */
@media (min-width: 720px) { .guides-3 { grid-template-columns: repeat(2, 1fr); } } @media (min-width: 1100px) { .guides-3 { grid-template-columns: repeat(3, 1fr); } }
.guide .body .h3 { font-size: 16px; margin: 0; color: var(--navy); } .guide .date { color: var(--soft); font-size: 12.5px; }
.pagination { margin-top: 28px; } .pagination ul, .pagination .nav-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pagination a, .pagination span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 10px; background: #fff; border: 1px solid var(--line); color: var(--navy); font-weight: 600; text-decoration: none; } .pagination .current { background: var(--teal-d); border-color: var(--teal-d); color: #fff; }
/* Article */
.article-meta { color: var(--soft); font-size: 14px; margin: 8px 0 0; }
.article-banner { margin: 0 0 22px; } .article-banner img { width: 100%; height: auto; border-radius: var(--radius); aspect-ratio: 16 / 9; object-fit: cover; box-shadow: var(--shadow-s); }
.article-body h2 { margin-top: 1.4em; } .article-body img { height: auto; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line); } .share > span { color: var(--soft); font-size: 13px; font-weight: 700; margin-right: 4px; }
.share a { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--navy); font-size: 13.5px; font-weight: 600; text-decoration: none; } .share a svg { width: 16px; height: 16px; } .share a:hover { border-color: var(--teal); color: var(--teal-dd); }
/* FAQ page */
.faq h2 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; } .faq h2 .link.small { font-size: 13.5px; font-weight: 600; }
.page-head .narrow .crumbs, .page-head .crumbs { font-size: 13px; color: var(--soft); margin-bottom: 8px; } .page-head .crumbs span { color: var(--navy); font-weight: 700; }

/* ===== Simulateur discret (articles, zones desservies) ===== */
.sim-mini { max-width: 560px; margin: 32px auto 0; }
.sim-mini .sim.compact .sim-head { padding: 12px 16px; } .sim-mini .sim.compact .sim-head .h { font-size: 16px; }
.sim-mini .sim.compact .zone { padding: 12px 14px 4px; gap: 8px; } .sim-mini .sim.compact .tiles.durations { grid-template-columns: repeat(5, 1fr); min-height: 0; }
.sim-mini .sim.compact .result { margin: 6px 14px 0; padding: 10px 12px; } .sim-mini .sim.compact .result .top { grid-template-columns: 1fr; gap: 6px; } .sim-mini .sim.compact .result .big strong { font-size: 30px; }
.sim-mini .sim.compact .sim-cta { padding: 10px 14px 12px; } .sim-mini .sim.compact .sim-cta .btn-cta { min-height: 48px; }
.sim-mini .fine { font-size: 12px; color: var(--soft); margin: 10px 2px 0; line-height: 1.45; } .sim-mini .fine b { color: var(--text); }
.sim-mini .legal-line { margin-top: 10px; } .sim-mini .legal-line span { font-size: 14px; padding: 6px 12px; }
/* Zones desservies : carte de contact dans le hero */
.zone-contact { background: #fff; border-radius: 20px; box-shadow: var(--shadow); padding: 22px; display: grid; gap: 14px; }
.zone-contact h2 { font-size: 20px; margin: 0; } .zone-contact .contact-list a { font-size: 16px; }
.zone-contact .callback { border-top: 1px solid var(--line); padding-top: 14px; } .zone-contact .callback h3 { font-size: 15px; margin: 0 0 8px; }
.zone-contact .cf7 input:not([type=submit]) { min-height: 44px; } .zone-contact .cf7 p { margin-bottom: 10px; }

/* Actualités : contenu à gauche, simulateur compact avec les types de crédit à droite */
.article-grid { display: grid; gap: 28px; } @media (min-width: 1000px) { .article-grid { grid-template-columns: minmax(0, 1fr) 400px; align-items: start; } .aside-sim { position: sticky; top: 84px; } }
.article-main { min-width: 0; max-width: var(--w-text); }
.aside-sim .sim-mini { margin: 0; max-width: none; }
.sim-mini.with-types .tiles.types { grid-template-columns: repeat(3, 1fr); } .sim-mini.with-types .tiles.types .tile { min-height: 50px; font-size: 12px; }
@media (max-width: 999px) { .aside-sim { max-width: 560px; margin: 8px auto 0; } }
/* Pages outils */
.tool-wrap { max-width: 960px; margin-inline: auto; }

/* ===== Outils gratuits (portés de regroupementdecredits.be) : variables rdc mappées sur la palette du site ===== */
.tools-scope { --navy: #0b2a5b; --sky: #0096ad; --sky-d: #007a8d; --link: #007a8d; --orange: #ff7f1c; --ink: #0b2a5b; --soft: #6b7a8c; --line: #dbe6ee; --line-2: #eef4f8; --tint: #e6f8fb; --tint-2: #f3fbfd; --ok: #1b7a4b; --warn: #9a4410; --radius: 18px; --radius-s: 12px; --shadow: 0 1px 2px rgba(11,42,91,.05), 0 8px 24px -12px rgba(11,42,91,.18); --shadow-l: 0 18px 50px -20px rgba(11,42,91,.28); }
.tools-scope .btn-primary { background: linear-gradient(135deg, #ff8a2a, #ff6a00); color: #fff; border: 0; }
.tools-scope .btn-sm { min-height: 36px; padding: 0 14px; font-size: 13px; }
.tools-scope .ld-lettre{background:#fff;border:1px solid var(--line);border-radius:10px;padding:18px 20px;font:0.92rem/1.6 Georgia,serif;color:var(--ink);white-space:pre-wrap;word-break:break-word;margin:0 0 12px}
.tools-scope .ld-actions{display:flex;flex-wrap:wrap;gap:10px;margin:0}
.tools-scope .cavap-scroll{overflow-x:auto;margin:0 0 10px}
.tools-scope .cavap{width:100%;border-collapse:collapse;font-size:.92rem;background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden}
.tools-scope .cavap th,.tools-scope .cavap td{padding:9px 12px;text-align:right;border-bottom:1px solid var(--line);white-space:nowrap}
.tools-scope .cavap th:first-child,.tools-scope .cavap td:first-child{text-align:left}
.tools-scope .cavap thead th{background:#EBF4FB;color:var(--ink);font-weight:750}
.tools-scope .cavap td.ok{color:#1E7A3C;font-weight:700}
.tools-scope .cavap td.warn{color:#B3261E;font-weight:700}
.tools-scope .cavap tr.is-best td{background:#F0FAF3}
.tools-scope .cavap .btn{padding:6px 14px;font-size:.85rem}
.tools-scope .cmp{margin:1.5em 0 2em;display:grid;gap:18px}
.tools-scope .cmp [hidden]{display:none!important}
.tools-scope .cmp-block{border:1px solid var(--line);border-radius:var(--radius);padding:18px 18px 20px;margin:0;background:#fff}
.tools-scope .cmp-block legend{font-weight:800;color:var(--ink);padding:0 6px;font-size:1.05rem}
.tools-scope .cmp-help{font-size:.9rem;color:var(--soft);margin:.2em 0 1em}
.tools-scope .cmp-grid{display:grid;gap:12px;grid-template-columns:1fr}
@media (min-width:640px){.tools-scope .cmp-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.tools-scope .cmp-block:nth-of-type(2) .cmp-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.tools-scope .cmp label{display:grid;gap:6px;font-size:.9rem;font-weight:650;color:var(--ink)}
.tools-scope .cmp-in{display:flex;align-items:center;border:1.5px solid var(--line);border-radius:10px;background:#fff;overflow:hidden}
.tools-scope .cmp-in:focus-within{border-color:var(--sky)}
.tools-scope .cmp-in input{flex:1;min-width:0;min-height:46px;border:0;padding:8px 12px;font:inherit;font-size:16px;color:var(--ink);background:transparent;outline:0}
.tools-scope .cmp-in i{font-style:normal;color:var(--soft);padding:0 12px;font-weight:600}
.tools-scope .cmp-in select{flex:1;min-width:0;min-height:46px;border:0;padding:8px 12px;font:inherit;font-size:16px;color:var(--ink);background:transparent;outline:0;appearance:none;-webkit-appearance:none;cursor:pointer}
.tools-scope .cmp-table small{font-weight:400;color:var(--soft)}
.tools-scope .cmp-row{border-top:1px dashed var(--line);padding-top:12px;margin-top:12px;position:relative}
.tools-scope .cmp-row:first-child{border-top:0;padding-top:0;margin-top:0}
.tools-scope .cmp-row-t{font-weight:800;color:var(--sky-d);font-size:.8rem;text-transform:uppercase;letter-spacing:.06em;margin:0 0 8px}
.tools-scope .cmp-del{position:absolute;right:0;top:10px;background:none;border:0;color:var(--link);font:inherit;font-size:.85rem;cursor:pointer;text-decoration:underline}
.tools-scope .cmp-row:first-child .cmp-del{top:-2px}
.tools-scope .cmp-add{margin-top:14px;min-height:42px}
.tools-scope .cmp-out{background:var(--tint-2);border:1px solid var(--line);border-radius:var(--radius);padding:18px}
.tools-scope .cmp-out h3{margin-bottom:.6em}
.tools-scope .cmp-empty{margin:0;color:var(--soft)}
.tools-scope .cmp-table{display:grid;gap:0;font-size:.95rem}
.tools-scope .cmp-table>div{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:8px;padding:9px 0;border-bottom:1px solid var(--line)}
.tools-scope .cmp-table span:not(:first-child){text-align:right;font-variant-numeric:tabular-nums}
.tools-scope .cmp-h{font-size:.78rem;text-transform:uppercase;letter-spacing:.05em;color:var(--soft);font-weight:700}
.tools-scope .cmp-tot{font-weight:800;color:var(--ink)}
.tools-scope .cmp-verdict{margin-top:14px;border-radius:12px;padding:12px 14px;border-left:4px solid}
.tools-scope .cmp-verdict p{margin:.25em 0}
.tools-scope .cmp-verdict.is-up{background:#FFF4EC;border-color:var(--warn);color:#5A2A08}
.tools-scope .cmp-verdict.is-down{background:#E8F6EE;border-color:var(--ok);color:#0F4D2E}
.tools-scope .cmp-legal{font-size:.82rem;color:var(--soft);margin:0}

/* Checklist de documents */
.tools-scope .docs-out h3{margin-bottom:.4em}
.tools-scope .docs-part{font-weight:800;color:var(--navy);font-size:1rem;margin:18px 0 4px;padding-bottom:4px;border-bottom:1px solid var(--line)}
.tools-scope .docs-g{font-weight:800;color:var(--sky-d);font-size:.8rem;text-transform:uppercase;letter-spacing:.06em;margin:14px 0 6px}
.tools-scope .docs-list{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.tools-scope .docs-list label{display:flex;gap:10px;align-items:flex-start;cursor:pointer}
.tools-scope .docs-list input{margin-top:4px;width:16px;height:16px;accent-color:var(--sky)}
.tools-scope .docs-list input:checked+span{text-decoration:line-through;color:var(--soft)}
.tools-scope .docs-actions{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0}
@media print{
  body.rdc-print-docs .site-header,body.rdc-print-docs .site-footer,body.rdc-print-docs .asst,
  body.rdc-print-docs .entry>*:not(.cmp.docs),body.rdc-print-docs .page-head,body.rdc-print-docs .toc,
  .tools-scope body.rdc-print-docs .docs-actions,.tools-scope body.rdc-print-docs .cmp-form,.tools-scope body.rdc-print-docs .mobile-bar{display:none!important}
  .tools-scope body.rdc-print-docs .cmp-out{border:0;background:none;padding:0}
}
/* ---- Outils (solde restant dû, comparateur) : socle visuel commun .rdct ---- */
.tools-scope .rdct{margin:1.5em 0 2em;display:grid;grid-template-columns:minmax(0,1fr);gap:18px;min-width:0}
.tools-scope .rdct [hidden]{display:none!important}
.tools-scope .rdct-hero{display:flex;gap:16px;align-items:flex-start;background:linear-gradient(120deg,var(--navy) 0%,#2B47A8 60%,var(--sky-d) 140%);color:#fff;border-radius:var(--radius);padding:22px 24px;box-shadow:var(--shadow-l)}
.tools-scope .rdct-hero-ic{flex:0 0 48px;width:48px;height:48px;border-radius:14px;background:rgba(255,255,255,.14);display:grid;place-items:center}
.tools-scope .rdct-hero-ic svg{width:26px;height:26px}
.tools-scope .rdct-hero h3{margin:0 0 6px;color:#fff!important;font-size:1.25rem;line-height:1.25}
.tools-scope .rdct-hero p{margin:0;color:rgba(255,255,255,.88);font-size:.95rem;line-height:1.55}
.tools-scope .rdct-sec{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:18px 18px 20px;box-shadow:var(--shadow);min-width:0}
.tools-scope .rdct-sec-head{display:flex;align-items:center;gap:10px;margin:0 0 12px}
.tools-scope .rdct-sec-head h3{margin:0;font-size:1.08rem;color:var(--ink)}
.tools-scope .rdct-sec-head h3 em,.tools-scope .rdct-label em{font-style:normal;font-weight:500;color:var(--soft);font-size:.88em}
.tools-scope .rdct-chip{flex:0 0 30px;width:30px;height:30px;border-radius:50%;background:var(--navy);color:#fff;font-weight:800;font-size:.9rem;display:grid;place-items:center}
.tools-scope .rdct-chip-cash{background:var(--orange)}
.tools-scope .rdct-sec-cash{background:linear-gradient(135deg,#FFF6EE,#fff)}
.tools-scope .rdct-cards{display:grid;gap:12px}
.tools-scope .rdct-card{border:1px solid var(--line);border-radius:var(--radius-s);padding:14px 14px 12px;background:var(--tint-2)}
.tools-scope .rdct-card-carte{background:#FFF9F4}
.tools-scope .rdct-card-head{display:flex;align-items:center;gap:10px;margin:0 0 10px}
.tools-scope .rdct-badge{font-size:.72rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;padding:4px 9px;border-radius:999px;background:var(--tint);color:var(--sky-d)}
.tools-scope .rdct-badge-carte{background:#FFE9D9;color:#B04A0F}
.tools-scope .rdct-card-t{font-weight:800;color:var(--ink);font-size:.95rem;margin:0}
.tools-scope .rdct-del{margin-left:auto;background:none;border:0;color:var(--soft);font:inherit;font-size:1.4rem;line-height:1;cursor:pointer;padding:2px 8px;border-radius:8px}
.tools-scope .rdct-del:hover{color:#B3261E;background:#fff}
.tools-scope .rdct-grid{display:grid;gap:10px;grid-template-columns:1fr}
@media (min-width:640px){.tools-scope .rdct-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.tools-scope .rdct-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}}
.tools-scope .rdct-field{display:grid;gap:6px;font-size:.88rem;font-weight:650;color:var(--ink);min-width:0;margin:0}
.tools-scope .rdct-in{display:flex;align-items:center;border:1.5px solid var(--line);border-radius:10px;background:#fff;overflow:hidden}
.tools-scope .rdct-in:focus-within{border-color:var(--sky)}
.tools-scope .rdct-in input,.tools-scope .rdct-in select{flex:1;min-width:0;min-height:44px;border:0;padding:8px 12px;font:inherit;font-size:16px;color:var(--ink);background:transparent;outline:0}
.tools-scope .rdct-in select{appearance:none;-webkit-appearance:none;cursor:pointer}
.tools-scope .rdct-in i{font-style:normal;color:var(--soft);padding:0 12px;font-weight:600}
.tools-scope .rdct-card-res{margin:12px 0 0;display:grid;gap:8px 12px;grid-template-columns:repeat(2,minmax(0,1fr));background:#fff;border:1px dashed var(--line);border-radius:10px;padding:10px 12px;font-size:.82rem}
@media (min-width:640px){.tools-scope .rdct-card-res{grid-template-columns:repeat(4,minmax(0,1fr))}}
.tools-scope .rdct-card-res>span{display:grid;gap:2px;color:var(--soft);min-width:0}
.tools-scope .rdct-card-res strong{color:var(--ink);font-size:.98rem;font-variant-numeric:tabular-nums}
.tools-scope .rdct-card-res .is-solde strong{color:var(--sky-d);font-size:1.15rem}
.tools-scope .rdct-card-warn{grid-column:1/-1;color:#7A3A10;background:#FFF4EC;border-radius:8px;padding:6px 10px;margin:0;font-size:.85rem}
.tools-scope .rdct-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.tools-scope .rdct-add{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:.55em 1.1em;border-radius:999px;border:2px dashed var(--sky);background:#fff;color:var(--sky-d);font:inherit;font-weight:700;font-size:.95rem;cursor:pointer}
.tools-scope .rdct-add svg{width:18px;height:18px}
.tools-scope .rdct-add:hover{background:var(--tint)}
.tools-scope .rdct-add-alt{border-color:var(--orange);color:#B04A0F}
.tools-scope .rdct-add-alt:hover{background:#FFF4EC}
.tools-scope .rdct-help{font-size:.88rem;color:var(--soft);margin:.2em 0 1em}
.tools-scope .rdct-sec .rdct-help:last-child,.tools-scope .rdct-regroup .rdct-help{margin-bottom:0}
.tools-scope .rdct-empty{margin:0;padding:16px 18px;background:var(--tint-2);border:1px dashed var(--line);border-radius:var(--radius-s);color:var(--soft)}
.tools-scope .rdct-rows{display:grid;margin:0 0 14px}
.tools-scope .rdct-row{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid var(--line);font-size:.95rem}
.tools-scope .rdct-row span{color:var(--soft)}
.tools-scope .rdct-row strong{color:var(--ink);font-variant-numeric:tabular-nums;white-space:nowrap}
.tools-scope .rdct-total{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 18px;background:linear-gradient(120deg,var(--sky-d) 0%,var(--navy) 100%);color:#fff;border-radius:var(--radius-s);padding:16px 20px;box-shadow:var(--shadow)}
.tools-scope .rdct-total span{font-weight:700;font-size:.95rem;color:rgba(255,255,255,.92)}
.tools-scope .rdct-total strong{color:#fff;font-size:1.9rem;line-height:1;font-variant-numeric:tabular-nums}
.tools-scope .rdct-note{margin:12px 0 0;font-size:.85rem;color:var(--soft)}
.tools-scope .rdct-note-warn{background:#FFF4EC;border-left:4px solid var(--orange);color:#5A2A08;padding:10px 14px;border-radius:0 10px 10px 0;font-size:.92rem;margin:0}
.tools-scope .rdct-regroup{background:linear-gradient(135deg,var(--tint),#fff)}
.tools-scope .rdct-pills{display:flex;flex-wrap:wrap;gap:8px}
.tools-scope .rdct-pill{border:1.5px solid var(--line);background:#fff;color:var(--ink);border-radius:999px;padding:8px 14px;font:inherit;font-weight:700;font-size:.9rem;cursor:pointer;min-height:40px}
.tools-scope .rdct-pill:hover{border-color:var(--sky)}
.tools-scope .rdct-pill.is-active{background:var(--navy);border-color:var(--navy);color:#fff}
.tools-scope .rdct-main{display:grid;gap:14px;margin:16px 0 0}
@media (min-width:720px){.tools-scope .rdct-main{grid-template-columns:1fr 1.25fr;align-items:stretch}}
.tools-scope .rdct-main-l{background:#fff;border:1px solid var(--line);border-radius:var(--radius-s);padding:16px 18px;display:grid;gap:6px;align-content:center}
.tools-scope .rdct-big{font-size:2.3rem;line-height:1;color:var(--navy);font-variant-numeric:tabular-nums}
.tools-scope .rdct-sub{color:var(--soft);font-size:.88rem}
.tools-scope .rdct-minis{display:grid;gap:10px}
.tools-scope .rdct-mini{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:10px 14px;font-size:.92rem}
.tools-scope .rdct-mini>span{display:grid;gap:1px;color:var(--ink);font-weight:650}
.tools-scope .rdct-mini small{color:var(--soft);font-weight:400;font-size:.8rem}
.tools-scope .rdct-mini strong{font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--ink)}
.tools-scope .rdct-up{color:#B3261E;font-weight:800;white-space:nowrap}
.tools-scope .rdct-down{color:#1E7A3C;font-weight:800;white-space:nowrap}
.tools-scope .rdct-cta-wrap{margin:16px 0 0;display:grid;gap:8px;justify-items:start}
.tools-scope .rdct-cta{min-height:52px;font-size:1.05rem}
.tools-scope .rdct-cta-note{font-size:.82rem;color:var(--soft)}
.tools-scope .rdct .cavap-scroll{overflow:visible}
.tools-scope .rdct .cavap{margin:0;font-size:.85rem;table-layout:auto}
.tools-scope .rdct .cavap th,.tools-scope .rdct .cavap td{padding:7px 8px}
.tools-scope .rdct .cavap th{white-space:normal;line-height:1.25;font-size:.8rem}
.tools-scope .rdct .cavap td{white-space:nowrap}
.tools-scope .rdct .cavap .cavap-act{padding-right:6px}
.tools-scope .rdct .cavap .btn{padding:5px 12px;font-size:.8rem;min-height:34px}
@media (max-width:720px){
  .tools-scope .rdct .cavap thead{display:none}
  .tools-scope .rdct .cavap,.tools-scope .rdct .cavap tbody{display:block;border:0;background:none}
  .tools-scope .rdct .cavap tr{display:grid;grid-template-columns:1fr 1fr;gap:4px 12px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:10px 12px;margin:0 0 10px}
  .tools-scope .rdct .cavap tr.is-best{border-color:#1E7A3C;background:#F0FAF3}
  .tools-scope .rdct .cavap td{display:flex;justify-content:space-between;align-items:center;gap:8px;border:0;padding:3px 0;text-align:left;white-space:normal}
  .tools-scope .rdct .cavap td::before{content:attr(data-th);color:var(--soft);font-weight:600;font-size:.8rem}
  .tools-scope .rdct .cavap td:first-child{grid-column:1/-1;font-weight:800;font-size:1rem;color:var(--ink)}
  .tools-scope .rdct .cavap td:first-child::before{content:none}
  .tools-scope .rdct .cavap td.cavap-act{grid-column:1/-1;justify-content:flex-end;padding-top:6px}
  .tools-scope .rdct .cavap td.cavap-act::before{content:none}
}


/* Mobile étroit (≤ 419 px) : 4 durées par rangée dans les cartes compactes, prix un peu plus petits */
@media (max-width: 419px) {
  .demande-sim-col .tiles.durations, .sim-mini .sim.compact .tiles.durations { grid-template-columns: repeat(4, 1fr); }
  .tile .price { font-size: 13px; letter-spacing: -.01em; }
}

/* ===== Info-bulle ===== */
[data-tip] { position: relative; }
[data-tip]::after { content: attr(data-tip); position: absolute; top: calc(100% + 10px); right: 0; width: max-content; max-width: 260px; background: var(--navy); color: #fff; font: 500 13px/1.4 "Onest", system-ui, sans-serif; text-align: left; padding: 9px 12px; border-radius: 10px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s; z-index: 70; pointer-events: none; }
[data-tip]::before { content: ""; position: absolute; top: calc(100% + 4px); right: 16px; border: 6px solid transparent; border-bottom-color: var(--navy); opacity: 0; visibility: hidden; transition: opacity .15s; z-index: 70; pointer-events: none; }
[data-tip]:hover::after, [data-tip]:focus-visible::after, [data-tip]:hover::before, [data-tip]:focus-visible::before { opacity: 1; visibility: visible; transform: none; }
[data-tip-pos="top"]::after { top: auto; bottom: calc(100% + 10px); transform: translateY(4px); }
[data-tip-pos="top"]::before { top: auto; bottom: calc(100% + 4px); border-bottom-color: transparent; border-top-color: var(--navy); }
#formulaire, #simulateur { scroll-margin-top: 76px; } /* ancres : ne pas passer sous l'en-tête collant */

/* Formulaire de demande : les blocs du co-emprunteur se distinguent nettement (fond et bord orangés, étiquette) */
.rdcf .co-block { background: #fff5e8 !important; border: 2px solid #f6b26b !important; border-left: 6px solid #ff7f1c !important; box-shadow: none; }
.rdcf .co-block > legend { font-size: 17px; color: #7a3a10; }
.rdcf .co-block .co-tag { background: #ff7f1c !important; color: #fff !important; }
.rdcf .co-block .f > label, .rdcf .co-block .f > .lbl { color: #7a3a10; }
.rdcf .co-block input, .rdcf .co-block select, .rdcf .co-block textarea { border-color: #f6b26b; }

/* Formulaire : un fieldset en display:grid déborde de son cadre sur mobile (Chrome) → bloc + espacement par marges */
.rdcf fieldset.block { display: block; }
.rdcf fieldset.block > * + * { margin-top: 14px; }
.rdcf fieldset.block > legend { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; float: none; width: auto; max-width: 100%; }
.rdcf .co-tag { white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; margin-left: 0; }
/* Étape 1 : le bloc des coordonnées du co-emprunteur, dans le même orange que les autres blocs co-emprunteur */
.rdcf div[data-coemp].grid { background: #fff5e8; border: 2px solid #f6b26b; border-left: 6px solid #ff7f1c; border-radius: 12px; padding: 14px; }
.rdcf div[data-coemp].grid::before { content: "Co-emprunteur"; grid-column: 1 / -1; display: inline-block; justify-self: start; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: #ff7f1c; border-radius: 99px; padding: 3px 10px; }
.rdcf div[data-coemp].grid .f > label { color: #7a3a10; }
.rdcf div[data-coemp].grid input, .rdcf div[data-coemp].grid select { border-color: #f6b26b; }

/* ===== Page Merci ===== */
.merci-hero { text-align: center; max-width: 760px; margin: 0 auto; }
.merci-check { width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 18px; background: linear-gradient(135deg, var(--teal), var(--teal-d)); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 34px rgba(0,150,173,.35); }
.merci-check svg { width: 42px; height: 42px; stroke-width: 3; }
.merci-hero .sub-h1 { justify-content: center; }
.merci-ref { display: inline-grid; gap: 4px; justify-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 26px; margin: 20px auto 0; box-shadow: var(--shadow); }
.merci-ref span { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-d); }
.merci-ref strong { font-size: clamp(19px, 6.4vw, 28px); white-space: nowrap; letter-spacing: .04em; color: var(--navy); font-variant-numeric: tabular-nums; }
.merci-ref small { color: var(--soft); font-size: 13px; }
.merci-mail { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 18px; color: var(--soft); font-size: 14px; }
.merci-mail svg { width: 18px; height: 18px; color: var(--teal-d); flex: none; }
.merci-steps { grid-template-columns: 1fr; }
.merci-cards { display: grid; gap: 16px; }
.merci-cards .card { display: grid; gap: 10px; align-content: start; }
.merci-cards .card h3 { margin: 0; font-size: 18px; }
.merci-cards .card p { margin: 0; }
.merci-cards .card .btn { justify-self: start; }
.merci-cards .card .fine { font-size: 13px; color: var(--soft); }
.merci-docs .fine, .merci-docs p { color: rgba(255,255,255,.92); }
@media (min-width: 900px) { .merci-steps { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin: 0 auto; } .merci-cards { grid-template-columns: repeat(3, 1fr); } }

/* Demande déjà transmise (lien de reprise sur un dossier clos) */
.rdcf .rfd-complete { border-left: 6px solid var(--teal-d); }
.rdcf .rfd-complete h2 { margin: 0 0 10px; font-size: 22px; color: var(--navy); }
.rdcf .rfd-complete p { margin: 0 0 10px; line-height: 1.6; }
/* Page Merci : alerte et envoi de documents */
.merci-alert { display: flex; gap: 14px; align-items: flex-start; max-width: 760px; margin: 22px auto 0; text-align: left; background: #fff5e8; border: 2px solid #f6b26b; border-left: 6px solid #ff7f1c; border-radius: 14px; padding: 14px 18px; color: #5a2d0c; }
.merci-alert svg { width: 26px; height: 26px; flex: none; color: #ff7f1c; margin-top: 2px; }
.merci-alert strong { color: #7a3a10; }
.merci-upload { max-width: 860px; margin: 0 auto; }
.merci-upload .rfu { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.merci-upload .rfu-t { margin: 0 0 6px; font-size: 20px; color: var(--navy); }

/* Résumé de simulation du formulaire : lien « Modifier » en petit bouton, visible même replié (mobile) */
.rdcf .sum .sum-edit { margin: 10px 0 0; }
.rdcf .sum .sum-edit .rf-btn-link { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border: 1.5px solid var(--teal-d); border-radius: 999px; color: var(--teal-dd); font-size: 13px; font-weight: 700; text-decoration: none; background: #fff; }
.rdcf .sum .sum-edit .rf-btn-link::before { content: "\270E"; font-size: 14px; }

/* Formulaire : boutons de navigation empilés, pleine largeur et centrés sur mobile (Continuer / Envoyer au-dessus) */
@media (max-width: 599px) {
  .rdcf .rf-nav { display: grid !important; grid-template-columns: 1fr; gap: 10px; }
  .rdcf .rf-nav .rf-btn { width: 100%; max-width: none !important; margin: 0 !important; justify-content: center; }
  .rdcf .rf-nav #next { order: -1; }
}
/* Formulaire : blocs de l'emprunteur en bleu ciel (le co-emprunteur reste en orange) */
.rdcf fieldset.block:not(.co-block) { background: #eef9fc; border: 2px solid #bfe9f1 !important; border-left: 6px solid var(--teal) !important; border-radius: 12px; padding: 14px !important; }
.rdcf fieldset.block:not(.co-block) > legend { color: var(--navy); }
.rdcf fieldset.block:not(.co-block) input, .rdcf fieldset.block:not(.co-block) select, .rdcf fieldset.block:not(.co-block) textarea { background: #fff; }
.rdcf fieldset.block:not(.co-block) .item { background: #fff; }

/* Sur-titres sur fond bleu clair : teal plus foncé pour un contraste suffisant (PageSpeed / WCAG AA) */
.section.alt .kicker, .expert .kicker { color: #006d7e; }
/* Bulle WhatsApp (extension) : sur mobile, au-dessus de la barre fixe du bas, sinon elle recouvre le bouton « Appeler » */
@media (max-width: 899px) { .qlwapp__container.qlwapp__container--bottom-right, .qlwapp__container.qlwapp__container--bottom-left { bottom: 72px !important; } }

/* Fiches crédit : liens de l'encart latéral assez hauts et espacés pour le doigt (zones tactiles PageSpeed) */
.aside .card li a { display: inline-block; padding: 4px 0; }

/* Bandeau Cookiebot : en-tete (logo Cookiebot by Usercentrics) et mentions « powered by » masques, a la demande du client */
#CybotCookiebotDialogHeader, #CybotCookiebotDialogPoweredbyCybot, #CybotCookiebotDialogPoweredByText, .CybotCookiebotDialogPoweredbyCybot, #CybotCookiebotDialogPoweredbyLink { display: none !important; }
/* Panneau « Paramètres des cookies » (widget Cookiebot) : logo en bas du panneau masqué ; le bouton rond qui rouvre le panneau reste */
#CookiebotWidget .CookiebotWidget-main-logo { display: none !important; }
