/* ADN Fuse : feuille de style commune.
   Charte provisoire tirée de visuels/ADNFUSE-DTO-VERSION-PREVISUAL.pdf.
   Pour passer à la charte définitive, modifier uniquement les variables ci-dessous. */

@font-face {
  font-family: "Unbounded";
  src: url("../fonts/unbounded-latin-wght.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #15123a;
  --bg-deep: #0f0d2c;
  --card: rgba(30, 27, 76, 0.88);
  --card-solid: #1e1b4c;
  --border: rgba(185, 189, 240, 0.18);
  --text: #f4f2fb;
  --muted: #b7b4d8;
  --lavender: #b9bdf0;
  --red: #d8352a;
  --red-hover: #e9493d;
  --orange: #c9583b;
  --error: #ff9a90;
  --halo-red: rgba(201, 66, 44, 0.55);
  --halo-blue: rgba(90, 96, 180, 0.28);

  --font-title: "Unbounded", "Arial Black", sans-serif;
  --font-text: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --radius: 12px;
  --radius-small: 6px;
  --gutter: 16px;
  --max: 72rem;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(60rem 42rem at 100% 0%, var(--halo-red), transparent 62%),
    radial-gradient(48rem 40rem at 0% 55rem, var(--halo-blue), transparent 65%),
    var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lavender); text-underline-offset: 0.2em; }
a:hover { color: var(--text); }
:focus-visible { outline: 3px solid var(--lavender); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--font-title); line-height: 1.12; margin: 0 0 0.6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.95rem, 8.2vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 4.6vw, 2.4rem); font-weight: 700; }
h3, .h3 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: 0.45em; }
strong { font-weight: 700; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 48rem; }
.accent { color: var(--lavender); }
.muted { color: var(--muted); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: var(--gutter); top: -4rem; z-index: 20; background: var(--text); color: var(--bg); padding: 0.6rem 1rem; border-radius: var(--radius-small); }
.skip-link:focus { top: 0.75rem; }

/* Étiquettes en capitales espacées */
.eyebrow {
  font-family: var(--font-text);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lavender);
  margin: 0 0 1rem;
}

/* Logo : SVG de Camille sur les deux sites (ADN Fuse en FR, DNA Fuse en EN) */
.logo-img { display: block; height: 4.5rem; width: auto; }
@media (min-width: 768px) { .logo-img { height: 5.75rem; } }
.logo { display: inline-flex; flex-direction: column; line-height: 0.92; text-decoration: none; color: var(--text); font-family: var(--font-title); }
.logo-strong { font-weight: 900; font-size: 1.35rem; letter-spacing: 0.02em; }
.logo-light { font-weight: 200; font-size: 1.35rem; letter-spacing: 0.08em; }
.logo:hover { color: var(--text); }

/* En-tête */
.site-header { padding: 1.25rem 0; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.lang-link {
  font-weight: 700; font-size: 0.85rem; letter-spacing: 0.1em; text-decoration: none;
  color: var(--lavender); border: 1px solid var(--border); border-radius: var(--radius-small); padding: 0.45rem 0.7rem;
}
.lang-link:hover { border-color: var(--lavender); }
.btn.header-cta { display: none; }
@media (min-width: 48rem) { .btn.header-cta { display: inline-flex; } }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-family: var(--font-text); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; text-align: center; line-height: 1.3;
  padding: 0.95rem 1.4rem; border-radius: var(--radius-small); border: 1px solid transparent; cursor: pointer;
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 10px 28px -12px rgba(216, 53, 42, 0.8); }
.btn-primary:hover { background: var(--red-hover); color: #fff; }
.btn-ghost { background: transparent; color: var(--text); border-color: rgba(244, 242, 251, 0.55); }
.btn-ghost:hover { border-color: var(--text); color: var(--text); }
.btn-small { padding: 0.7rem 1rem; font-size: 0.8rem; }
.btn-block { width: 100%; }
.btn .price { font-weight: 600; opacity: 0.9; white-space: nowrap; }

/* Hero */
.hero { padding: 2.5rem 0 3.5rem; }
@media (min-width: 64rem) { .hero { padding: 4.5rem 0 5rem; } }
.hero .surtitle { max-width: 40rem; }
.hero h1 { margin-bottom: 0.45em; }
.hero-lead { font-size: clamp(1.08rem, 2.4vw, 1.3rem); max-width: 42rem; color: var(--text); }
.meta-row { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; list-style: none; padding: 0; margin: 1.5rem 0 2rem; }
.meta-row li { display: inline-flex; align-items: center; gap: 0.5rem; margin: 0; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lavender); }
.meta-row svg { width: 1.05rem; height: 1.05rem; color: var(--red-hover); flex: none; }
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; }
@media (min-width: 40rem) { .hero-actions { flex-direction: row; align-items: center; gap: 1.75rem; } }
.hero-secondary { font-weight: 600; }

/* Sections */
.section { padding: 3.5rem 0; }
@media (min-width: 64rem) { .section { padding: 5rem 0; } }
.section-intro { max-width: 46rem; margin-bottom: 2.25rem; }
.section-intro p:last-child { margin-bottom: 0; }

/* Cartes */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, 0.7);
}
@media (min-width: 48rem) { .card { padding: 2rem; } }
.card h3 { margin-bottom: 0.5em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.grid { display: grid; gap: 1rem; }
@media (min-width: 48rem) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}

/* Pastille icône dégradée, comme la prévisualisation */
.badge {
  display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-bottom: 1rem;
  border-radius: 10px; background: linear-gradient(135deg, var(--orange), var(--red) 45%, #3b2f8f);
  color: #fff; font-family: var(--font-title); font-weight: 700; font-size: 1rem;
}
.badge svg { width: 1.3rem; height: 1.3rem; }

/* Onglets */
.tabs { padding-top: 1rem; scroll-margin-top: 1rem; }
.tabs-nav { display: none; }
.js .tabs-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 0.5rem; }
.tab {
  display: flex; align-items: center; gap: 0.75rem; width: 100%;
  padding: 0.9rem 0.25rem 1rem; background: none; border: 0; border-bottom: 3px solid rgba(185, 189, 240, 0.25);
  color: var(--muted); font-family: var(--font-text); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; text-align: left; cursor: pointer;
}
.tab .tab-icon { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; flex: none; border-radius: 8px; background: var(--bg-deep); border: 1px solid var(--border); }
.tab .tab-icon svg { width: 1.1rem; height: 1.1rem; }
.tab[aria-selected="true"] { color: var(--text); border-bottom-color: var(--red); }
.tab[aria-selected="true"] .tab-icon { background: var(--red); border-color: var(--red); color: #fff; }
.tab:hover { color: var(--text); }
@media (min-width: 48rem) { .tab { font-size: 0.85rem; } }
.js [role="tabpanel"][hidden] { display: none; }
[role="tabpanel"]:focus { outline: none; }
.panel-label { display: block; }
.js .panel-label { display: none; }
.panel-label { font-family: var(--font-title); font-size: 1.1rem; color: var(--lavender); padding-top: 2rem; }

/* Portraits */
.portrait p { margin-bottom: 0; }
.portrait .lead-in { font-weight: 700; color: var(--lavender); margin-bottom: 0.4rem; }
.reveal { margin-top: 2rem; display: flex; flex-direction: column; align-items: flex-start; gap: 1.1rem; }
.reveal p { font-family: var(--font-title); font-size: clamp(1.1rem, 3vw, 1.45rem); font-weight: 700; margin: 0; }

/* Liste à puces mises en valeur */
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.feature-list li { margin: 0; }

/* Étapes */
.steps { counter-reset: step; }
.step-number { font-family: var(--font-title); font-weight: 800; font-size: 2rem; color: var(--red-hover); line-height: 1; margin-bottom: 0.75rem; display: block; }

/* Emplacements de contenus manquants (aperçu).
   Avant la mise en ligne, décommenter la règle suivante pour masquer tous les emplacements
   et les sections entières restées vides (titre compris) :
   .a-fournir, .a-fournir-section { display: none !important; } */
.a-fournir {
  border: 2px dashed rgba(185, 189, 240, 0.45);
  border-radius: var(--radius);
  padding: 1.5rem;
  color: var(--lavender);
  background: rgba(15, 13, 44, 0.5);
  font-size: 0.95rem;
}
.a-fournir strong { color: var(--text); }

/* Formules */
.price-card { display: flex; flex-direction: column; gap: 1rem; }
.price-card .price-tag { font-family: var(--font-title); font-weight: 800; font-size: 2rem; line-height: 1; margin: 0; }
.price-card .price-tag small { font-family: var(--font-text); font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.price-card ul { flex: 1; }
.price-card.is-main { border-color: rgba(216, 53, 42, 0.75); box-shadow: 0 24px 60px -30px rgba(216, 53, 42, 0.65); }
.price-note { margin-top: 1.75rem; max-width: 46rem; }

/* Bloc confiance */
.notice { border-left: 3px solid var(--red); padding: 0.25rem 0 0.25rem 1rem; margin: 1.5rem 0; }

/* Formulaire */
.form { display: grid; gap: 1.1rem; }
@media (min-width: 48rem) { .form { grid-template-columns: 1fr 1fr; gap: 1.25rem; } .form .full { grid-column: 1 / -1; } }
.field label, .field .label { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lavender); margin-bottom: 0.45rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--bg-deep); border: 1px solid var(--border); border-radius: var(--radius-small);
  padding: 0.8rem 0.9rem; min-height: 3rem;
}
.field textarea { min-height: 7rem; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--lavender) 50%), linear-gradient(135deg, var(--lavender) 50%, transparent 50%); background-position: calc(100% - 1.2rem) 55%, calc(100% - 0.85rem) 55%; background-size: 0.35rem 0.35rem; background-repeat: no-repeat; padding-right: 2.5rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--lavender); outline-offset: 1px; border-color: var(--lavender); }
.field .hint { font-size: 0.85rem; color: var(--muted); margin: 0.35rem 0 0; }
.field .error { display: none; font-size: 0.88rem; color: var(--error); margin: 0.4rem 0 0; }
.field.has-error .error { display: block; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); }
.required { color: var(--red-hover); }
.consent { display: flex; gap: 0.75rem; align-items: flex-start; background: var(--bg-deep); border: 1px solid var(--border); border-radius: var(--radius-small); padding: 1rem; }
.consent input { width: 1.25rem; height: 1.25rem; min-height: 0; margin-top: 0.15rem; flex: none; accent-color: var(--red); }
.consent label { text-transform: none; letter-spacing: 0; font-size: 0.95rem; font-weight: 500; color: var(--text); margin: 0; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; color: var(--error); margin: 0; }
.form-status.is-visible { display: block; }

/* Bio */
.bio { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 48rem) { .bio { grid-template-columns: 2fr 3fr; gap: 3rem; } }
.bio picture img { border-radius: var(--radius); border: 1px solid var(--border); width: 100%; max-width: 26rem; }

/* FAQ */
.faq { display: grid; gap: 0.75rem; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.1rem 3rem 1.1rem 1.25rem; position: relative;
  font-weight: 700; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%); font-family: var(--font-title); font-size: 1.4rem; color: var(--red-hover); }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 1.25rem 1.25rem; color: var(--muted); }
.faq .answer p:last-child { margin-bottom: 0; }

/* Bandeau final */
.final-band { text-align: left; background: linear-gradient(120deg, rgba(201, 88, 59, 0.35), rgba(30, 27, 76, 0.9) 55%); }

/* Pied de page */
.site-footer { padding: 3rem 0 2.5rem; border-top: 1px solid var(--border); margin-top: 2rem; font-size: 0.92rem; color: var(--muted); }
.site-footer .container { display: grid; gap: 1.5rem; }
@media (min-width: 48rem) { .site-footer .container { grid-template-columns: 1fr auto; align-items: end; } }
.site-footer p { margin: 0 0 0.4rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; }
.footer-links li { margin: 0; }
.footer-links .footer-gift { flex-basis: 100%; margin-bottom: 0.5rem; }
.footer-gift a {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.85rem;
  border: 1px solid var(--red); border-radius: var(--radius-small);
  color: var(--text); font-weight: 600; text-decoration: none;
}
.footer-gift a:hover { background: rgba(216, 53, 42, 0.18); color: var(--text); }
.footer-gift svg { width: 1.1rem; height: 1.1rem; color: var(--red); flex: none; }
.signature { font-family: var(--font-title); font-size: 0.8rem; letter-spacing: 0.08em; color: var(--lavender); }

/* Pages simples (confirmations, légales, 404) */
.page { padding: 2.5rem 0 4rem; }
.page h1 { font-size: clamp(1.8rem, 6vw, 3rem); }
.page .card + .card { margin-top: 1rem; }
.page-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.25rem; }

/* Bandeau de suggestion de langue */
.lang-banner {
  position: fixed; left: var(--gutter); right: var(--gutter); bottom: var(--gutter); z-index: 30;
  max-width: 30rem; margin-left: auto;
  display: flex; align-items: center; gap: 1rem; justify-content: space-between;
  background: var(--card-solid); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 0.9rem 1rem; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.8); font-size: 0.95rem;
}
.lang-banner[hidden] { display: none; }
.lang-banner p { margin: 0; }
.lang-banner button { background: none; border: 0; color: var(--text); font-size: 1.5rem; line-height: 1; cursor: pointer; padding: 0.25rem 0.5rem; }

/* Code de session des pages de confirmation */
.session-code { margin: 0 0 1rem; color: var(--muted); }
.session-code strong { display: inline-block; margin-left: 0.35rem; padding: 0.2rem 0.6rem; border: 1px dashed var(--lavender); border-radius: var(--radius-small); color: var(--text); font-family: var(--font-title); letter-spacing: 0.08em; user-select: all; }

/* Drapeau du lien de langue */
.lang-link .flag { letter-spacing: 0; margin-right: 0.15rem; }

/* Captures des résultats */
.results-gallery { display: grid; gap: 1rem; margin-top: 1.5rem; }
.results-gallery figure { margin: 0; }
.results-gallery img { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--border); }
@media (min-width: 48rem) {
  .results-gallery { grid-template-columns: 1.6fr 1fr; align-items: start; }
  .results-main { grid-column: 1 / -1; }
}

/* Besoins des clients, bloc biographique */
.bio-needs { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 0.6rem; }
.bio-needs li { padding-left: 0; }
.bio-needs strong { text-transform: uppercase; letter-spacing: 0.06em; }
.bio-needs [aria-hidden] { color: var(--red); margin: 0 0.3rem; }
