/* ==========================================================
   Fiduciaire — feuille de style
   Couleurs modifiables ici :
   ========================================================== */
:root {
  --ink: #2f2c2e;        /* gris anthracite (texte, sections sombres) */
  --ink-soft: #5f5a5c;   /* gris chaud du logo, assombri pour la lisibilité */
  --paper: #f7f6f4;      /* fond blanc cassé */
  --white: #ffffff;
  --sage: #ecebea;       /* fond secondaire gris clair */
  --grey: #949599;       /* gris du logo */
  --accent: #f26d23;     /* orange du logo */
  --accent-dark: #ce1242;/* rouge framboise du logo */
  --line: #dddad6;
  --radius: 14px;
  --serif: "Myriad Pro", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-dark); }
a:hover { color: var(--ink); }

h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent-dark); margin-bottom: 1rem;
}
.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 40em; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--white); padding: .5rem 1rem; z-index: 100; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: .98rem;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: .2s;
  font-family: inherit;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--accent-dark); color: var(--white); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--ink); color: var(--white); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 244, 238, .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.brand-mark { width: 30px; height: 42px; flex: none; }
.brand-name { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; line-height: 1.1; color: var(--accent-dark); }
.brand-name b { font-weight: 800; }
.brand-name small { display: block; font-family: var(--sans); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); font-weight: 500; margin-top: 2px; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2rem; align-items: center; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .97rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent-dark); }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.nav .btn { color: var(--paper); text-decoration: none; padding: .6rem 1.2rem; }
.nav .btn:hover { color: var(--white); }
.menu-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--ink); }

@media (max-width: 1180px) {
  .menu-toggle { display: block; }
  .nav { position: absolute; top: 76px; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: flex-start; gap: 0; padding: .5rem 1.25rem 1.25rem; }
  .nav li { width: 100%; }
  .nav a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 1rem; display: inline-flex; border: 0; }
}

/* ---------- Héros ---------- */
.hero { padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3rem, 6vw, 5rem); }
.hero .wrap { display: grid; grid-template-columns: 1.25fr 1fr; gap: 4rem; align-items: center; }
.hero h1 em { font-style: normal; color: var(--accent-dark); }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 2rem; }
.hero-card {
  background: var(--ink); color: var(--paper); border-radius: 22px; padding: 2.2rem;
  box-shadow: 0 30px 60px -30px rgba(47, 44, 46, .55); position: relative; overflow: hidden;
}
.hero-card::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.12);
}
.hero-card h2 { font-size: 1.35rem; color: var(--paper); margin-bottom: 1.2rem; }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { display: flex; gap: .85rem; padding: .75rem 0; border-top: 1px solid rgba(255,255,255,.12); }
.checklist li:first-child { border-top: 0; }
.checklist .tick {
  flex: 0 0 24px; height: 24px; border-radius: 50%; background: var(--accent);
  display: grid; place-items: center; margin-top: 2px;
}
.checklist strong { display: block; font-weight: 600; }
.checklist span { font-size: .9rem; color: #bdb9ba; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-alt { background: var(--white); border-block: 1px solid var(--line); }
.section-dark { background: var(--ink); color: var(--paper); }
.section-dark h2, .section-dark h3 { color: var(--paper); }
.section-dark .lead { color: #c9c6c7; }
.section-head { max-width: 46rem; margin-bottom: 3rem; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem; transition: transform .2s, box-shadow .2s;
}
.section-alt .card { background: var(--paper); }
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -24px rgba(47,44,46,.35); }
.card .icon {
  width: 48px; height: 48px; border-radius: 12px; background: #fdeee5; color: var(--accent);
  display: grid; place-items: center; margin-bottom: 1.2rem;
}
.illu-box { width: 88px; height: 88px; margin-bottom: 1.3rem; }
.illu { width: 100%; height: 100%; display: block; transition: transform .3s; }
.card:hover .illu { transform: scale(1.06) rotate(-2deg); }
.card p { color: var(--ink-soft); font-size: .97rem; }
.card .more { font-weight: 600; text-decoration: none; font-size: .95rem; }
.card .more::after { content: " →"; }

/* Étapes */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.step { counter-increment: step; border-top: 2px solid var(--accent); padding-top: 1.2rem; }
.step::before {
  content: "0" counter(step); font-family: var(--serif); font-size: 2rem; color: var(--accent);
  display: block; margin-bottom: .4rem;
}
.step p { color: #c9c6c7; font-size: .95rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Pour qui */
.tags { display: flex; flex-wrap: wrap; gap: .6rem; }
.tag { padding: .5rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: .93rem; }

/* Bandeau CTA */
.cta { background: linear-gradient(120deg, var(--accent-dark), var(--accent)); color: var(--white); border-radius: 22px; padding: clamp(2rem, 5vw, 3.5rem); display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta h2 { color: var(--white); margin: 0 0 .3rem; }
.cta p { margin: 0; opacity: .92; }

/* ---------- En-tête de page intérieure ---------- */
.page-head { padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }

/* Détail services */
.service-block { display: grid; grid-template-columns: 1fr 1.6fr; gap: 3rem; padding: 3rem 0; border-bottom: 1px solid var(--line); }
.service-block:last-child { border-bottom: 0; }
.service-block ul { margin: 0; padding-left: 1.2rem; }
.service-block li { margin-bottom: .5rem; }
.service-block li::marker { color: var(--accent); }
@media (max-width: 800px) { .service-block { grid-template-columns: 1fr; gap: 1rem; } }

/* Équipe */
.person { text-align: left; }
.avatar {
  aspect-ratio: 4/5; border-radius: var(--radius); background: var(--sage);
  display: grid; place-items: center; font-family: var(--serif); font-size: 3rem; color: var(--ink-soft); margin-bottom: 1rem;
}
.person .role { color: var(--accent-dark); font-weight: 600; font-size: .92rem; }

/* ---------- Liens utiles ---------- */
.links-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 960px) { .links-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .links-grid { grid-template-columns: 1fr; } }
.link-card {
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2rem; text-decoration: none; color: var(--ink);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.link-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -24px rgba(47,44,46,.35); border-color: var(--accent); color: var(--ink); }
.link-logo { height: 84px; display: flex; align-items: center; margin-bottom: 1.3rem; }
.link-logo img { max-height: 84px; max-width: 150px; width: auto; object-fit: contain; border-radius: 8px; }
.link-card .icon { width: 64px; height: 64px; border-radius: 14px; background: #fdeee5; color: var(--accent); display: grid; place-items: center; }
.link-cat { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: .3rem; }
.link-card h3 { margin-bottom: .5rem; }
.link-card p { color: var(--ink-soft); font-size: .96rem; flex: 1; }
.link-url { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .9rem; color: var(--accent-dark); padding-top: 1rem; border-top: 1px solid var(--line); }
.links-note { margin-top: 2.5rem; color: var(--ink-soft); font-size: .95rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.info-list .label { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.info-list a { color: var(--ink); text-decoration: none; font-weight: 500; }
.info-list a:hover { color: var(--accent-dark); }

form.contact { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.5rem, 4vw, 2.5rem); }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: 10px;
  font: inherit; font-size: 1rem; background: var(--paper); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: var(--white); }
.field textarea { min-height: 150px; resize: vertical; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .row-2 { grid-template-columns: 1fr; } }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--ink-soft); margin-bottom: 1.4rem; }
.consent input { margin-top: .3rem; accent-color: var(--ink); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 1rem 1.2rem; border-radius: 10px; margin-bottom: 1.4rem; font-size: .95rem; display: none; }
.alert.show { display: block; }
.alert-error { background: #fbe9e7; color: #8c2b1a; border: 1px solid #f0c4bc; }

/* ---------- Texte légal ---------- */
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.5rem; margin-top: 2.5rem; }
.prose h3 { font-size: 1.15rem; margin-top: 1.6rem; }
.placeholder { background: #fff3d6; padding: 0 .25em; border-radius: 4px; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); color: #c9c6c7; padding: 4rem 0 2rem; font-size: .93rem; }
.site-footer a { color: #e4e9e6; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 3rem; }
.footer-grid h4 { color: var(--paper); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 1rem; font-family: var(--sans); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: .45rem; }
.site-footer .brand { color: var(--paper); margin-bottom: 1rem; }
.site-footer .brand-name { color: var(--white); }
.site-footer .brand-name small { color: #a9a6a7; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .85rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Apparition douce */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
.link-logo img[src*="taxonweb"] { width: 170px; }

/* ==========================================================
   AMBIANCE v2 — fonds plus vivants
   ========================================================== */
body { background: #ffffff; }
.site-header { background: rgba(255,255,255,.88); }

/* Héros : halos orange / framboise + trame de points + formes du logo */
.hero, .page-head {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(ellipse 55% 60% at 88% 18%, rgba(242,109,35,.20), transparent 70%),
    radial-gradient(ellipse 45% 55% at 5% 95%, rgba(206,18,66,.12), transparent 70%),
    linear-gradient(180deg, #fffaf7 0%, #ffffff 100%);
  border-bottom: 0;
}
.hero::before, .page-head::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(47,44,46,.13) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 70% 40%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 80% at 70% 40%, #000 20%, transparent 75%);
}
.hero .wrap { position: relative; }
.hero .wrap::before, .hero .wrap::after { content: ""; position: absolute; z-index: -1; border-radius: 28px; }
.hero .wrap::before { width: 230px; height: 320px; background: #949599; opacity: .16; right: 18%; top: -40px; transform: rotate(-8deg); }
.hero .wrap::after  { width: 130px; height: 210px; background: #f26d23; opacity: .28; right: 3%; bottom: -60px; transform: rotate(-8deg); }
@media (max-width: 900px) { .hero .wrap::before, .hero .wrap::after { display: none; } }
.hero-card { background: linear-gradient(150deg, #3a3639 0%, #262326 100%); box-shadow: 0 40px 80px -30px rgba(206,18,66,.35), 0 20px 40px -25px rgba(0,0,0,.4); }
.hero-card::after { border-color: rgba(242,109,35,.35); }

/* Sections claires : légère teinte chaude, cartes blanches en relief */
.section-alt {
  background:
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(242,109,35,.07), transparent 70%),
    linear-gradient(180deg, #fbf8f6, #f6f3f0);
  border-block: 0;
}
.card, .section-alt .card, .link-card { background: #fff; border-color: #ece8e4; box-shadow: 0 10px 30px -22px rgba(47,44,46,.35); }
.card:hover, .link-card:hover { box-shadow: 0 26px 50px -26px rgba(206,18,66,.35); border-color: rgba(242,109,35,.45); }

/* Section sombre : halos de couleur */
.section-dark {
  background:
    radial-gradient(ellipse 45% 70% at 0% 0%, rgba(206,18,66,.28), transparent 70%),
    radial-gradient(ellipse 40% 60% at 100% 100%, rgba(242,109,35,.22), transparent 70%),
    #262326;
}
.step { border-top-color: rgba(242,109,35,.7); }

/* Étiquettes « Pour qui ? » */
.tag { background: #fff; border-color: #ece8e4; transition: .2s; }
.tag:hover { border-color: var(--accent); color: var(--accent-dark); transform: translateY(-2px); }

/* Formulaire & bloc contact */
form.contact { box-shadow: 0 30px 60px -40px rgba(47,44,46,.45); border-color: #ece8e4; }
.cta { box-shadow: 0 30px 60px -30px rgba(206,18,66,.55); }

/* ==========================================================
   AMBIANCE v3 — finitions
   ========================================================== */
:root { --grad: linear-gradient(120deg, #ce1242 0%, #f26d23 100%); }

/* Boutons principaux en dégradé */
.btn-primary, .nav .btn { background: var(--grad); color: #fff; box-shadow: 0 12px 24px -12px rgba(206,18,66,.6); }
.btn-primary:hover, .nav .btn:hover { background: var(--grad); filter: brightness(1.07); transform: translateY(-2px); box-shadow: 0 18px 30px -14px rgba(206,18,66,.7); color: #fff; }
.btn-ghost { border-color: #d9d4cf; background: rgba(255,255,255,.7); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--ink); }

/* Sur-titres en pastille */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem; padding: .45rem .9rem; border-radius: 999px;
  background: rgba(206,18,66,.07); border: 1px solid rgba(206,18,66,.15); letter-spacing: .1em;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 4px rgba(242,109,35,.18); }
.section-dark .eyebrow { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); color: #ffb48a; }

/* Héros */
.hero { padding-top: clamp(4rem, 9vw, 7.5rem); padding-bottom: clamp(4rem, 8vw, 6.5rem); }
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.3rem); letter-spacing: -.035em; }
.hero h1 em, .page-head h1 em {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.trust { list-style: none; padding: 0; margin: 2.2rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; font-size: .92rem; color: var(--ink-soft); font-weight: 500; }
.trust li { display: flex; align-items: center; gap: .5rem; }
.trust span { width: 18px; height: 18px; border-radius: 50%; background: var(--grad); position: relative; }
.trust span::after { content: ""; position: absolute; left: 6px; top: 3.5px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

.hero-visual { position: relative; }
.hero-card { transform: rotate(1.5deg); transition: transform .5s; }
.hero-visual:hover .hero-card { transform: rotate(0); }
.chip {
  position: absolute; display: flex; align-items: center; gap: .75rem; background: #fff; color: var(--ink);
  padding: .8rem 1.1rem .8rem .8rem; border-radius: 14px; box-shadow: 0 20px 40px -18px rgba(47,44,46,.45);
  font-size: .9rem; line-height: 1.25; animation: float 6s ease-in-out infinite; z-index: 2;
}
.chip b { width: 34px; height: 34px; border-radius: 10px; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: .95rem; }
.chip strong { display: block; font-weight: 600; }
.chip small { color: var(--ink-soft); font-size: .8rem; }
.chip-1 { left: -44px; bottom: -40px; }
.chip-2 { right: -26px; top: -30px; animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 1100px) { .chip-1 { left: -10px; } .chip-2 { right: -8px; } }
@media (max-width: 900px) { .chip { display: none; } .hero-card { transform: none; } }

/* Halos animés en fond du héros */
.hero::after {
  content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -120px; top: -160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(242,109,35,.22), transparent 65%); animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate(-80px, 60px) scale(1.1); } }

/* Titres de section un peu plus affirmés */
h2 { letter-spacing: -.03em; }

/* Cartes services : liseré dégradé au survol */
.card { position: relative; overflow: hidden; }
.card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.card:hover::before { transform: scaleX(1); }

/* Étapes : grands numéros en dégradé */
.step::before { font-family: var(--sans); font-weight: 800; font-size: 2.6rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* « Pour qui ? » : fond teinté et étiquettes avec pastille */
.hero + .section-alt + .section-dark + .section,
.section:has(.tags) { background: linear-gradient(180deg, #fff, #fff7f2); }
.tag { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1.1rem; font-weight: 500; }
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); }

/* Bandeau d'appel : formes du logo */
.cta { position: relative; overflow: hidden; }
.cta::before, .cta::after { content: ""; position: absolute; border-radius: 26px; pointer-events: none; }
.cta::before { width: 170px; height: 240px; background: rgba(255,255,255,.12); right: 22%; top: -120px; transform: rotate(-10deg); }
.cta::after { width: 110px; height: 160px; background: rgba(255,255,255,.18); right: 14%; bottom: -100px; transform: rotate(-10deg); }
.cta > * { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) { .chip, .hero::after { animation: none; } }

/* ==========================================================
   Page « Chiffres utiles »
   ========================================================== */
.warn { display: flex; gap: 1rem; align-items: flex-start; padding: 1.3rem 1.5rem; border-radius: 16px; background: #fff7f1; border: 1px solid rgba(242,109,35,.35); margin-bottom: 2rem; }
.warn > b { flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 1.2rem; }
.warn strong { display: block; font-size: 1.05rem; margin-bottom: .2rem; }
.warn p { margin: 0 0 .3rem; color: var(--ink-soft); font-size: .95rem; }
.warn small { color: var(--ink-soft); font-size: .82rem; }
.fig-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; position: sticky; top: 84px; z-index: 5; padding: .7rem 0; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); }
.fig-nav a { padding: .5rem 1rem; border-radius: 999px; border: 1px solid #ece8e4; background: #fff; text-decoration: none; color: var(--ink); font-size: .9rem; font-weight: 500; transition: .2s; }
.fig-nav a:hover { border-color: var(--accent); color: var(--accent-dark); }
.fig-block { scroll-margin-top: 160px; margin-bottom: 3rem; }
.fig-head h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: .3rem; }
.fig-head p { color: var(--ink-soft); margin-bottom: 1.1rem; max-width: 52rem; }
.tbl-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid #ece8e4; background: #fff; box-shadow: 0 10px 30px -24px rgba(47,44,46,.4); }
table.data { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 640px; }
table.data th, table.data td { padding: .9rem 1.1rem; text-align: left; border-bottom: 1px solid #f0ece8; vertical-align: top; }
table.data tbody tr:last-child th, table.data tbody tr:last-child td { border-bottom: 0; }
table.data thead th { background: #faf7f5; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
table.data thead th small, table.data td small { display: block; text-transform: none; letter-spacing: 0; font-weight: 400; font-size: .78rem; color: var(--ink-soft); }
table.data tbody th { font-weight: 500; width: 40%; }
table.data .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
table.data td.num { font-weight: 600; }
table.data .cur { background: rgba(242,109,35,.06); }
table.data thead .cur { color: var(--accent-dark); }
table.data tbody tr:hover th, table.data tbody tr:hover td { background: #fffaf6; }
.tbl-note { font-size: .88rem; color: var(--ink-soft); margin: .8rem .2rem 0; }
@media (max-width: 860px) { .fig-nav { top: 76px; } }
@media (max-width: 860px) {
  .fig-nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -1.25rem; padding-inline: 1.25rem; }
  .fig-nav::-webkit-scrollbar { display: none; }
  .fig-nav a { flex: none; font-size: .85rem; padding: .45rem .9rem; }
  table.data { font-size: .9rem; }
  table.data tbody th { min-width: 190px; }
}

/* ==========================================================
   Simulateurs
   ========================================================== */
.sim-tabs { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1.6rem; padding: .35rem; background: #f5f2ef; border-radius: 14px; width: fit-content; max-width: 100%; }
.sim-tabs button { border: 0; background: transparent; padding: .7rem 1.1rem; border-radius: 10px; font: inherit; font-weight: 500; font-size: .93rem; color: var(--ink-soft); cursor: pointer; transition: .2s; }
.sim-tabs button:hover { color: var(--ink); }
.sim-tabs button[aria-selected="true"] { background: #fff; color: var(--accent-dark); box-shadow: 0 6px 16px -10px rgba(47,44,46,.4); font-weight: 600; }
.sim-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.6rem; align-items: start; }
@media (max-width: 900px) { .sim-grid { grid-template-columns: 1fr; } }
form.sim { background: #fff; border: 1px solid #ece8e4; border-radius: 20px; padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: 0 10px 30px -24px rgba(47,44,46,.4); }
form.sim h2 { font-size: 1.45rem; margin-bottom: .3rem; }
.sim-intro { color: var(--ink-soft); font-size: .95rem; margin-bottom: 1.4rem; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.fields .field { grid-column: 1 / -1; margin-bottom: 1rem; }
.fields .field.half { grid-column: span 1; }
@media (max-width: 520px) { .fields .field.half { grid-column: 1 / -1; } }
.fields .field[hidden] { display: none; }
.inp { position: relative; }
.inp .sfx { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); color: var(--ink-soft); font-size: .9rem; pointer-events: none; }
.inp input { padding-right: 3.6rem; }
.fields select, .fields input { font-size: 1rem; }
.chks { grid-column: 1 / -1; display: grid; gap: .55rem; margin-top: .2rem; }
.chk { display: flex; gap: .6rem; align-items: center; font-size: .95rem; cursor: pointer; }
.chk input { width: 18px; height: 18px; accent-color: var(--accent-dark); }
.sim-result { position: sticky; top: 100px; background: linear-gradient(150deg, #3a3639, #262326); color: #fff; border-radius: 20px; padding: clamp(1.4rem, 3vw, 2rem); box-shadow: 0 30px 60px -30px rgba(206,18,66,.4); }
.res-main { padding-bottom: 1.2rem; margin-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.res-main span { display: block; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: #ffb48a; font-weight: 600; }
.res-main strong { display: block; font-size: clamp(2rem, 4vw, 2.7rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; margin: .3rem 0 .2rem; font-variant-numeric: tabular-nums; }
.res-main small { color: #c9c6c7; font-size: .9rem; }
.res-rows { margin: 0; display: grid; gap: .1rem; }
.res-rows div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px dashed rgba(255,255,255,.1); font-size: .92rem; }
.res-rows dt { color: #c9c6c7; }
.res-rows dd { margin: 0; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.res-note { font-size: .82rem; color: #a9a6a7; margin: .9rem 0 0; line-height: 1.5; }
@media (max-width: 900px) { .sim-result { position: static; } }

/* En-tête : 6 rubriques */
.nav ul { gap: 1.5rem; }
.nav a { white-space: nowrap; font-size: .95rem; }
.brand-name { white-space: nowrap; }
@media (max-width: 1180px) { .nav ul { gap: 0; } }
@media (max-width: 420px) { .brand-name { white-space: normal; font-size: 1.05rem; } }
.res-ind { margin: 1rem 0 0; padding-top: .8rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .8rem; color: #ffb48a; font-style: italic; }
.tbl-wrap + .tbl-wrap { margin-top: 1rem; }

/* Page vie privée */
.privacy h2 { font-size: 1.35rem; margin-top: 2.6rem; padding-top: .4rem; scroll-margin-top: 100px; }
.privacy h3 { font-size: 1.02rem; margin-top: 1.4rem; color: var(--accent-dark); }
.privacy ul { padding-left: 1.2rem; } .privacy li { margin-bottom: .45rem; } .privacy li::marker { color: var(--accent); }
.privacy blockquote { margin: 1rem 0; padding: 1rem 1.3rem; border-left: 3px solid var(--accent); background: #faf7f5; border-radius: 0 12px 12px 0; font-style: italic; color: var(--ink-soft); font-size: .95rem; }
.privacy .address { padding: 1rem 1.3rem; background: #faf7f5; border-radius: 12px; }
.privacy .updated { margin-top: 2.5rem; font-size: .88rem; color: var(--ink-soft); }
.toc { display: flex; flex-wrap: wrap; gap: .4rem; padding: 1rem; border: 1px solid #ece8e4; border-radius: 14px; background: #fff; margin-bottom: 1rem; }
.toc a { font-size: .85rem; padding: .35rem .75rem; border-radius: 999px; background: #faf7f5; text-decoration: none; color: var(--ink); }
.toc a:hover { color: var(--accent-dark); }
.link-logo img[src*="spf-finances"] { width: 190px; max-width: 190px; }
.step p .key { color: #ffb48a; font-weight: 600; }
.links-head { margin: 1rem 0 1.4rem; scroll-margin-top: 160px; }
.links-head + .links-grid { margin-bottom: 3.5rem; }
.links-head h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: .3rem; }
.links-head p { color: var(--ink-soft); margin: 0; }
.link-logo img[src*="easypay"] { width: 200px; max-width: 200px; }
