/* ConchyPro — feuille commune à toutes les pages.
   Écrite mobile d'abord : les règles de base visent un téléphone de 360 à 430 px,
   les @media (min-width) n'ajoutent que ce qui change sur tablette et ordinateur. */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("inter.woff2") format("woff2"); }
@font-face { font-family: "Bitter"; font-style: normal; font-weight: 600 700; font-display: swap; src: url("titres.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: "Archivo"; font-style: normal; font-weight: 500 800; font-stretch: 62% 125%; font-display: swap; src: url("display.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --nuit: #0a3a5c;
  --nuit-2: #124b73;
  --nuit-3: #072c47;
  --ocean: #0077b6;
  --ocean-2: #0b8ccc;
  --ciel: #8fd3f4;
  --ecume: #eaf5fb;
  --ecume-2: #d8eaf6;
  --or: #e9b949;
  --encre: #0b2233;
  --titre: #0a3a5c;
  --texte: #2a4252;
  --muted: #5c7384;
  --ligne: #dbe6ee;
  --blanc: #ffffff;
  --vert: #1d9e75;
  /* Titres : une linéale robuste, plus « outil de travail » qu'une police à empattements. */
  --titres: "Bitter", Georgia, "Times New Roman", serif;
  --display: "Archivo", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: 20px;
  --nav-h: 60px;
}
@media (min-width: 700px) { :root { --gutter: 32px; --nav-h: 68px; } }
@media (min-width: 1100px) { :root { --gutter: 40px; } }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--blanc); color: var(--texte); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; -webkit-tap-highlight-color: rgba(0, 119, 182, .12); }
@media (min-width: 700px) { body { font-size: 17px; } }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
img, video { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 2.5px solid var(--ocean); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
h1, h2, h3, h4 { margin: 0; color: var(--titre); text-wrap: balance; }
/* Même lettrage pour tous les titres de section et de carte */
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.012em; }
p { text-wrap: pretty; }

/* ------------------------------------------------ typographie */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ocean); }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; opacity: .6; }
.h2 { font-family: var(--titres); font-weight: 700; font-size: clamp(1.8rem, 7.2vw, 3.1rem); line-height: 1.1; letter-spacing: -.012em; }
.h2 em, .h1 em { font-style: normal; font-weight: inherit; color: var(--ocean); }
.lead { font-size: 1.02rem; color: #45657b; max-width: 62ch; margin: 16px 0 0; }
@media (min-width: 700px) { .lead { font-size: 1.15rem; } .eyebrow { font-size: .76rem; } .eyebrow::before { width: 26px; } }
.head { max-width: 800px; margin-bottom: 30px; }
.head .eyebrow { margin-bottom: 14px; }
@media (min-width: 700px) { .head { margin-bottom: 52px; } }
.center { text-align: center; margin-inline: auto; }
.center .lead { margin-inline: auto; }
.muted { color: var(--muted); }
.dark { color: #c3d4e0; }
.dark h2, .dark h3, .dark h4 { color: #fff; }
.dark .h2 em { color: var(--ciel); }
.dark .lead { color: #9fb6c7; }
.dark .eyebrow { color: var(--ciel); }
.link { color: var(--ocean); font-weight: 600; border-bottom: 1.5px solid rgba(0, 119, 182, .3); }
.dark .link { color: var(--ciel); border-color: rgba(143, 211, 244, .4); }
.more-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ocean); }
.more-link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.more-link:hover svg { transform: translateX(3px); }
.dark .more-link { color: var(--ciel); }

/* ------------------------------------------------ sections */
.sec { position: relative; padding-block: 64px; }
@media (min-width: 700px) { .sec { padding-block: clamp(84px, 10vw, 130px); } }
.bg-ecume { background: var(--ecume); }
.fade-down { background: linear-gradient(180deg, #fff 0, var(--ecume) 220px); }
.fade-up { background: linear-gradient(180deg, var(--ecume) calc(100% - 220px), #fff 100%); }
.night { background: radial-gradient(70% 45% at 90% 0%, rgba(0, 119, 182, .38), transparent 70%), radial-gradient(60% 35% at 0% 100%, rgba(11, 140, 204, .2), transparent 70%), var(--nuit); }
.wave { display: block; width: 100%; height: 42px; margin: 0; }
@media (min-width: 700px) { .wave { height: clamp(56px, 7vw, 100px); } }
.wave.flip { transform: scaleY(-1); }
.wave-wrap { line-height: 0; }

/* ------------------------------------------------ boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; border: 0; cursor: pointer; font-weight: 600; font-size: 1rem; text-align: center; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .2s, color .2s; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-blanc { background: #fff; color: var(--nuit); box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .6); }
.btn-line { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.btn-ocean { background: linear-gradient(135deg, var(--ocean), var(--ocean-2)); color: #fff; box-shadow: 0 14px 30px -14px rgba(0, 119, 182, .75); }
.btn-nuit { background: var(--nuit); color: #fff; box-shadow: 0 14px 30px -16px rgba(10, 58, 92, .8); }
.btn-ghost { background: var(--blanc); color: var(--encre); box-shadow: inset 0 0 0 1.5px var(--ligne); }
@media (hover: hover) {
  .btn-blanc:hover, .btn-ocean:hover, .btn-nuit:hover { transform: translateY(-2px); }
  .btn-line:hover { background: rgba(255, 255, 255, .08); }
  .btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ocean); color: var(--ocean); }
}
.btn:active { transform: scale(.98); }
.btns { display: grid; gap: 12px; margin-top: 28px; }
@media (min-width: 560px) { .btns { display: flex; flex-wrap: wrap; } }
.btn-block { width: 100%; }

/* ------------------------------------------------ navigation */
.nav { position: sticky; top: 0; z-index: 60; background: rgba(10, 58, 92, .94); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.nav-in { display: flex; align-items: center; gap: 12px; height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; flex: none; margin-right: auto; }
.brand .ico { width: 36px; height: 36px; border-radius: 50%; }
.brand .word { display: grid; gap: 3px; }
.brand .word img { height: 21px; width: auto; }
.brand .word small { display: none; font-size: .64rem; letter-spacing: .04em; color: #9fb6c7; line-height: 1; white-space: nowrap; }
@media (min-width: 420px) { .brand .word small { display: block; } }
.nav-links { display: none; }
.nav .btn { min-height: 40px; padding: 0 16px; font-size: .88rem; }
.burger { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -8px; border: 0; background: none; cursor: pointer; color: #fff; border-radius: 12px; }
.burger span { position: relative; display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: background .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease); }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }
.menu { position: fixed; inset: var(--nav-h) 0 0; z-index: 59; background: var(--nuit); overflow-y: auto; padding: 18px var(--gutter) calc(28px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s; }
.menu-open .menu { opacity: 1; visibility: visible; transform: none; }
.menu-open { overflow: hidden; }
.menu a:not(.btn) { display: flex; justify-content: space-between; align-items: center; padding: 15px 2px; border-bottom: 1px solid rgba(255, 255, 255, .08); color: #fff; font-family: var(--display); font-weight: 600; font-size: 1.3rem; }
.menu a:not(.btn)::after { content: "›"; color: var(--ciel); font-family: var(--sans); }
.menu a[aria-current="page"] { color: var(--ciel); }
.menu .btn { margin-top: 26px; }
.menu .menu-login { text-align: center; margin-top: 16px; color: #9fb6c7; font-size: .92rem; }
.menu .menu-login a { color: #fff; font-weight: 600; font-family: var(--sans); font-size: inherit; display: inline; padding: 0; border: 0; }
.menu .menu-login a::after { content: none; }
@media (min-width: 1140px) {
  .burger, .menu { display: none; }
  .nav-links { display: flex; gap: 2px; margin: 0 auto; padding: 0; list-style: none; }
  .nav-links a { display: block; padding: 8px 11px; border-radius: 999px; font-size: .88rem; color: #b9cad6; transition: color .2s, background .2s; }
  .nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .07); }
  .brand { margin-right: 0; }
  .nav .btn { padding: 0 18px; font-size: .9rem; }
}
@media (max-width: 359px) { .nav .btn { display: none; } }

/* ------------------------------------------------ téléphone */
.phone { position: relative; border-radius: 13% / 6%; padding: 2.4%; background: linear-gradient(150deg, #3a4550, #10171e 40%, #0a0f14); box-shadow: 0 34px 70px -28px rgba(10, 58, 92, .55), 0 0 0 1px #0a0f14, inset 0 0 0 1px rgba(255, 255, 255, .12); }
.phone > img, .phone > video, .phone .slides { width: 100%; aspect-ratio: var(--ar, 9 / 22); object-fit: cover; object-position: top; border-radius: 11% / 5%; background: #eaf2f8; overflow: hidden; }
.phone.demo { --ar: 9 / 22; }
.phone.r20 { --ar: 9 / 20; }
.phone::before { content: ""; position: absolute; top: 2.8%; left: 50%; width: 3.4%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: #05080b; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .08); z-index: 2; }
.phone::after { content: ""; position: absolute; right: -1.2%; top: 19%; width: 1.3%; height: 7%; border-radius: 0 3px 3px 0; background: #1c242c; }
.slides { display: grid; }
.slides img { grid-area: 1 / 1; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; animation: slide 18s infinite; }
.slides img:nth-child(2) { animation-delay: 4.5s; }
.slides img:nth-child(3) { animation-delay: 9s; }
.slides img:nth-child(4) { animation-delay: 13.5s; }
@keyframes slide { 0% { opacity: 0; } 4%, 25% { opacity: 1; } 29%, 100% { opacity: 0; } }
.cap { text-align: center; font-size: .8rem; color: var(--muted); margin: 12px auto 0; max-width: 34ch; }
.dark .cap { color: #9fb6c7; }
.solo { width: min(250px, 68vw); margin: 0 auto; }
@media (min-width: 700px) { .solo { width: 280px; } }

/* ------------------------------------------------ rangées qui glissent sur mobile */
.row { display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 14px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.row::-webkit-scrollbar { display: none; }
.row > * { scroll-snap-align: start; }
.row.w70 { grid-auto-columns: 70%; }
.dots { display: flex; justify-content: center; gap: 7px; margin-top: 6px; }
.dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 999px; background: rgba(11, 34, 51, .18); cursor: pointer; transition: width .35s var(--ease), background .35s; }
.dots button[aria-current="true"] { width: 22px; background: var(--ocean); }
.dark .dots button { background: rgba(255, 255, 255, .22); }
.dark .dots button[aria-current="true"] { background: var(--ciel); }
@media (min-width: 900px) {
  .row { grid-auto-flow: row; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); grid-auto-columns: auto; overflow: visible; margin-inline: 0; padding: 0; gap: 18px; }
  .dots { display: none; }
}
@media (min-width: 600px) and (max-width: 899px) { .row { grid-auto-columns: 58%; } .row.w70 { grid-auto-columns: 46%; } }

/* ------------------------------------------------ listes */
.points { display: grid; gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
.points li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: .96rem; }
.points li svg { width: 20px; height: 20px; color: var(--ocean); margin-top: 2px; }
.points b { color: var(--ocean); font-weight: 600; }
.points li > span { color: var(--texte); }
.dark .points li > span { color: #c3d4e0; }
.dark .points b { color: #fff; }
.dark .points b { color: #fff; }
.dark .points li svg { color: var(--ciel); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips span { display: inline-flex; align-items: center; padding: 7px 12px; border-radius: 999px; background: var(--ecume); font-size: .82rem; color: var(--encre); }
.bg-ecume .chips span { background: #fff; }
.note { display: flex; gap: 12px; margin-top: 20px; padding: 14px 16px; border-radius: 14px; background: var(--ecume); font-size: .92rem; color: var(--texte); }
.note::before { content: ""; flex: none; width: 3px; border-radius: 3px; background: var(--ocean); }
.bg-ecume .note { background: #fff; }

/* ------------------------------------------------ texte → visuel → liste */
.g3 { display: grid; grid-template-columns: minmax(0, 1fr); }
.g-vis { margin-block: 30px 4px; }
@media (min-width: 960px) {
  .g3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "text vis" "more vis"; column-gap: clamp(40px, 6vw, 84px); align-items: center; }
  .g3.rev { grid-template-areas: "vis text" "vis more"; }
  .g-text { grid-area: text; align-self: end; }
  .g-vis { grid-area: vis; margin: 0; }
  .g-more { grid-area: more; align-self: start; }
}

/* ------------------------------------------------ apparition au défilement */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
  .slides img:first-child { opacity: 1; }
  html { scroll-behavior: auto; }
}

/* ------------------------------------------------ agrandissement d'image */
.zoom { position: relative; cursor: zoom-in; }
.zoom-btn { position: absolute; right: 10px; top: 10px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; border: 0; background: rgba(10, 58, 92, .78); color: #fff; font-size: .74rem; font-weight: 600; cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.zoom-btn svg { width: 13px; height: 13px; }
.lb { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(2, 16, 26, .96); color: #fff; }
.lb::backdrop { background: rgba(2, 16, 26, .9); }
.lb-in { position: absolute; inset: 0; overflow: auto; display: grid; place-items: center; padding: 64px 12px 40px; }
.lb img { width: 100%; max-width: 1600px; border-radius: 10px; }
.lb-close { position: fixed; top: calc(12px + env(safe-area-inset-top)); right: 12px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.lb-hint { position: fixed; left: 0; right: 0; bottom: calc(14px + env(safe-area-inset-bottom)); text-align: center; font-size: .8rem; color: #9fb6c7; }
@media (min-width: 900px) { .lb-hint { display: none; } }

/* ------------------------------------------------ pied de page */
.foot { background: var(--nuit-3); color: #8aa3b5; font-size: .9rem; padding-block: 48px calc(34px + env(safe-area-inset-bottom)); }
.foot-grid { display: grid; gap: 30px; }
.foot .brand .word small { display: block; }
.foot-tag { margin: 12px 0 0; max-width: 34ch; }
.foot-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.foot h4 { color: #fff; font-family: var(--sans); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.foot ul a { display: inline-block; padding: 5px 0; }
.foot a:hover { color: #fff; }
.foot-bottom { margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .82rem; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.2fr 2fr; } .foot-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ================================================= PAGES INTÉRIEURES */
.page-hero { color: #c3d4e0; padding-top: 44px; padding-bottom: 8px; }
.page-hero h1 { color: #fff; font-family: var(--titres); font-weight: 700; font-size: clamp(2.05rem, 8vw, 3.6rem); line-height: 1.07; letter-spacing: -.012em; margin-top: 14px; }
.page-hero h1 em { font-style: normal; color: var(--ciel); }
.page-hero .eyebrow { color: var(--ciel); }
.page-hero .lead { color: #a9bfce; }
@media (min-width: 700px) { .page-hero { padding-top: 80px; } }
.page-photo { position: relative; z-index: 2; margin-top: -8px; }
.page-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 20px; box-shadow: 0 40px 80px -40px rgba(10, 58, 92, .7); }
@media (min-width: 700px) { .page-photo img { aspect-ratio: 16 / 7; border-radius: 26px; } }
.hero-overlap { margin-top: -60px; }
@media (min-width: 700px) { .hero-overlap { margin-top: -110px; } }

.cta-band { border-radius: 26px; padding: 34px 24px; text-align: center; color: #c3d4e0; background: radial-gradient(80% 90% at 100% 0%, rgba(0, 119, 182, .5), transparent 70%), var(--nuit); }
.cta-band h2 { color: #fff; font-family: var(--titres); font-weight: 700; font-size: clamp(1.6rem, 5.8vw, 2.4rem); line-height: 1.15; }
.cta-band p { margin: 12px auto 0; max-width: 56ch; color: #9fb6c7; }
.cta-band .btns { justify-content: center; }
@media (min-width: 700px) { .cta-band { padding: 56px 48px; } }

/* ================================================= CONTENUS REPRIS TELS QUELS (guide, outils gratuits, pages légales)
   Leurs styles propres parlent en --navy, --blue, --stroke… : on les rebranche sur la charte. */
.legacy {
  --navy: var(--encre); --navy-deep: var(--nuit-2); --blue: var(--ocean); --blue-dark: #005f92; --blue-light: var(--ecume);
  --stroke: var(--ligne); --border: var(--ligne); --cream: #fbfdfe; --white: #fff; --gold: var(--or);
  --shadow-sm: 0 1px 0 rgba(11, 34, 51, .02), 0 10px 26px -20px rgba(11, 34, 51, .35);
  --shadow-md: 0 24px 50px -30px rgba(11, 34, 51, .45);
  --shadow-lg: 0 40px 80px -40px rgba(10, 58, 92, .6);
  --radius: 18px; --radius-lg: 22px;
  --font-body: var(--sans); --font-display: var(--display);
  color: var(--texte);
}
.legacy .container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.legacy .section { padding-block: 64px; }
.legacy .section-alt { background: var(--ecume); }
.legacy .section-lead, .legacy .hero-lead { color: var(--muted); font-size: 1.02rem; }
.legacy .text-blue { color: var(--ocean); }
.legacy .reveal { opacity: 1; transform: none; }
.legacy h2 { font-family: var(--display); font-weight: 700; letter-spacing: -.015em; }
.legacy code { font-family: inherit; }
.legacy .btn-primary { background: linear-gradient(135deg, var(--ocean), var(--ocean-2)); color: #fff; box-shadow: 0 14px 30px -14px rgba(0, 119, 182, .75); }
.legacy .btn-outline { background: #fff; color: var(--encre); box-shadow: inset 0 0 0 1.5px var(--ligne); }
.legacy .faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.legacy .faq-item { background: #fff; border: 1px solid var(--ligne); border-radius: 14px; padding: 2px 18px; transition: box-shadow .2s; }
.legacy .faq-item[open] { box-shadow: var(--shadow-sm); }
.legacy .faq-item summary { list-style: none; cursor: pointer; font-weight: 600; font-size: .97rem; color: var(--encre); padding: 15px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.legacy .faq-item summary::-webkit-details-marker { display: none; }
.legacy .faq-item summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--ocean); font-weight: 400; transition: transform .25s var(--ease); flex: none; }
.legacy .faq-item[open] summary::after { transform: rotate(45deg); }
.legacy .faq-item p { margin: 0 0 16px; color: var(--muted); font-size: .94rem; }
.legacy .show-more-item[hidden] { display: none; }
.legacy .show-more-btn { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 18px auto 0; padding: 11px 22px; background: #fff; border: 1px solid var(--ligne); border-radius: 999px; font-size: .9rem; font-weight: 600; color: var(--ocean); cursor: pointer; }
.legacy .show-more-btn svg { width: 18px; height: 18px; fill: currentColor; transition: transform .25s; }
.legacy .show-more-btn.is-expanded svg { transform: rotate(180deg); }
.legacy .eyebrow { margin-bottom: 0; }
.legacy a:not([class]) { color: var(--ocean); font-weight: 600; }

/* guide */
.legacy .doc-nav { top: calc(var(--nav-h) + 8px) !important; border-radius: 22px; }
.legacy .doc-nav a { font-weight: 600 !important; }
.legacy .doc-section-head h2 { font-family: var(--titres); font-size: clamp(1.6rem, 6vw, 2.2rem) !important; line-height: 1.12; }
.legacy .doc-step-num { background: linear-gradient(135deg, var(--ocean), var(--ocean-2)) !important; font-weight: 700 !important; }
.legacy .doc-group-title { font-weight: 700 !important; letter-spacing: .12em !important; font-size: .74rem !important; }
.legacy .doc-note { background: #f4f6f8 !important; border-color: var(--ligne) !important; color: var(--texte) !important; }
.legacy .doc-shot img { border-radius: 22px !important; box-shadow: 0 24px 50px -30px rgba(11, 34, 51, .55) !important; }
.legacy .doc-toc-fab { background: var(--nuit) !important; box-shadow: 0 14px 30px -12px rgba(10, 58, 92, .7); bottom: calc(16px + env(safe-area-inset-bottom)) !important; }
.legacy .doc-hero-tip { max-width: 740px; margin: 30px auto 0; }

/* outils gratuits */
.legacy .ft-grid { margin-top: 0 !important; }
.legacy .ft-card { border-radius: 24px !important; box-shadow: 0 0 0 1px var(--ligne), 0 24px 50px -36px rgba(11, 34, 51, .5) !important; border: 0 !important; }
.legacy .ft-card h2 { font-weight: 700 !important; font-size: 1.35rem !important; }
.legacy .ft-ico { background: var(--ecume) !important; }
.legacy .ft-seg button { border-radius: 999px !important; font-size: .82rem !important; min-height: 40px; }
.legacy .ft-seg button.on { background: var(--nuit) !important; border-color: var(--nuit) !important; }
.legacy .ft-field input, .legacy .ft-field select { font-size: 16px !important; border-radius: 12px !important; min-height: 46px; }
.legacy .ft-out { background: radial-gradient(90% 90% at 100% 0%, rgba(0, 119, 182, .55), transparent 70%), var(--nuit) !important; border-radius: 18px !important; }
.legacy .ft-out .ft-out-value { font-family: var(--display); font-weight: 600 !important; }
.legacy .ft-bridge { background: var(--ecume) !important; }

/* pages légales */
.legacy.legal-wrap, .legacy .legal-wrap { max-width: 800px !important; margin: 0 auto; padding: 40px var(--gutter) 80px !important; }
.legacy .legal-wrap h2, .legacy.legal-wrap h2 { font-size: 1.3rem !important; margin: 38px 0 10px !important; }
.legacy .legal-wrap p, .legacy .legal-wrap li { font-size: .97rem !important; line-height: 1.7 !important; }
.legacy .data-table { display: block; overflow-x: auto; }
@media (min-width: 700px) { .legacy .data-table { display: table; } }
.legacy .legal-updated { margin: 0 0 20px !important; }
