/* bxReports — accueil. Feuille autonome : elle ne dépend ni de site.css ni de accueil.css.
   Parti pris : épuré (peu de mots, beaucoup d'air), élégant (typographie, or rare),
   animé (le produit se redresse à l'arrivée, les blocs apparaissent au défilement). */

@font-face { font-family: 'Space Grotesk'; font-weight: 500; font-display: swap; src: url('../polices/space-grotesk-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-weight: 700; font-display: swap; src: url('../polices/space-grotesk-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url('../polices/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-display: swap; src: url('../polices/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url('../polices/inter-latin-600-normal.woff2') format('woff2'); }

:root {
  --fond: #faf8f4;
  --blanc: #ffffff;
  --encre: #1f1b19;
  --encre-douce: #5c5650;        /* 7,1:1 sur --fond */
  --discret: #6f6862;            /* 5,4:1 sur --fond */
  --trait: #ebe6de;
  --or: #c9a45c;
  --or-texte: #85692c;           /* 4,9:1 sur --fond */
  --nuit: #171412;
  --titre: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
  --texte: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --largeur: 72rem;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--fond); color: var(--encre);
  font: 400 1.0625rem/1.65 var(--texte); -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--titre); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; margin: 0; text-wrap: balance; }
p { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: 6rem; }

.conteneur { width: 100%; max-width: var(--largeur); margin-inline: auto; padding-inline: 1.25rem; }
.evitement { position: absolute; left: 1rem; top: -4rem; padding: .75rem 1rem; background: var(--encre); color: var(--fond); border-radius: 8px; z-index: 30; }
.evitement:focus { top: 1rem; }

/* ── En-tête ───────────────────────────────────────────────────────────── */
.entete { position: sticky; top: 0; z-index: 20; background: rgba(250, 248, 244, .82); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.entete.defile { border-bottom-color: var(--trait); }
.entete .conteneur { display: flex; align-items: center; gap: 1.5rem; min-height: 4.25rem; }
.marque { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font: 700 1.2rem/1 var(--titre); letter-spacing: -.02em; margin-right: auto; }
.marque img { width: 2rem; height: 2rem; border-radius: 8px; }
.marque span { color: var(--or-texte); }
.marque b { color: var(--encre); }
.liens { display: flex; gap: .25rem; }
.liens a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: .75rem; font-size: .9375rem; font-weight: 500; color: var(--encre-douce); text-decoration: none; transition: color .2s; }
.liens a:hover { color: var(--encre); }
@media (max-width: 40rem) { .liens { display: none; } }

.bouton { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; padding: 0 1.4rem; border-radius: 999px; font: 600 .9375rem/1 var(--texte); text-decoration: none; white-space: nowrap; transition: transform .25s var(--ease), box-shadow .25s, background-color .25s; }
.bouton-or { background: var(--or); color: var(--encre); box-shadow: 0 6px 20px rgba(201, 164, 92, .35); }   /* encre sur or : 6,9:1 */
.bouton-or:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(201, 164, 92, .45); }
.bouton-ligne { color: var(--encre); border: 1px solid var(--trait); background: var(--blanc); }
.bouton-ligne:hover { border-color: var(--encre); }
.bouton-clair { background: var(--fond); color: var(--encre); }
.bouton-clair:hover { transform: translateY(-2px); }
.entete .bouton { min-height: 42px; padding: 0 1.1rem; }

/* ── Héros ─────────────────────────────────────────────────────────────── */
.heros { position: relative; overflow: hidden; padding: 6rem 0 0; text-align: center; }
.heros::before {        /* lueur dorée qui respire lentement */
  content: ''; position: absolute; left: 50%; top: -14rem; width: 64rem; height: 40rem; translate: -50% 0;
  background: radial-gradient(closest-side, rgba(201, 164, 92, .28), transparent 70%);
  animation: respire 9s ease-in-out infinite alternate; pointer-events: none;
}
.heros::after {         /* grille très discrète, estompée */
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to right, rgba(31, 27, 25, .045) 1px, transparent 1px), linear-gradient(to bottom, rgba(31, 27, 25, .045) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 70%);
}
@keyframes respire { from { opacity: .7; scale: 1; } to { opacity: 1; scale: 1.12; } }
.heros .conteneur { position: relative; z-index: 1; }
.heros h1 { font-size: clamp(2.6rem, 7.5vw, 5.4rem); max-width: 15ch; margin-inline: auto; }
.heros h1 em { font-style: normal; background: linear-gradient(100deg, #a8843f, #d4b26c 60%, #a8843f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.heros .chapo { margin: 1.5rem auto 0; max-width: 34rem; font-size: 1.1875rem; color: var(--encre-douce); }
.heros .actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

/* Le produit : un écran qui se redresse à l'arrivée. */
.scene { margin-top: 4.5rem; perspective: 1800px; }
.ecran {
  position: relative; max-width: 66rem; margin-inline: auto;
  background: var(--blanc); border: 1px solid var(--trait); border-radius: 18px; overflow: hidden;
  box-shadow: 0 2px 4px rgba(31, 27, 25, .04), 0 40px 100px -20px rgba(31, 27, 25, .28);
  transform-origin: 50% 0;
}
.ecran .barre { display: flex; gap: 6px; padding: .8rem 1rem; border-bottom: 1px solid var(--trait); background: #fbfaf8; }
.ecran .barre i { width: 10px; height: 10px; border-radius: 50%; background: #e3ddd4; }
.ecran .vue { max-height: 40rem; overflow: hidden; }
.ecran .vue img { width: 100%; }
.ecran::after {         /* fondu en bas : on montre l'essentiel, la suite se devine */
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 9rem;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--fond)); pointer-events: none;
}
.legende { margin-top: 1.25rem; font-size: .8125rem; color: var(--discret); }

/* ── Sections ──────────────────────────────────────────────────────────── */
.section { padding: 7.5rem 0; }
.surtitre { font: 600 .875rem/1 var(--texte); color: var(--or-texte); margin-bottom: 1rem; }
.section h2 { font-size: clamp(2rem, 4.4vw, 3.25rem); max-width: 18ch; }
.section .intro { margin-top: 1rem; max-width: 34rem; color: var(--encre-douce); font-size: 1.125rem; }

/* Trois raisons, sans cartes : un grand numéro, un titre, une ligne. */
.raisons { display: grid; gap: 2.5rem; margin-top: 4rem; }
@media (min-width: 48rem) { .raisons { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.raison { border-top: 1px solid var(--trait); padding-top: 1.75rem; }
.raison .num { font: 500 .875rem/1 var(--titre); color: var(--or-texte); letter-spacing: .02em; }
.raison h3 { margin-top: 1rem; font-size: 1.5rem; letter-spacing: -.02em; }
.raison p { margin-top: .6rem; color: var(--encre-douce); }

/* Le produit en vrai : onglets et fondu enchaîné. */
.produit { background: var(--blanc); border-block: 1px solid var(--trait); }
.produit .tete { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem; }
.onglets { display: inline-flex; padding: 4px; background: var(--fond); border: 1px solid var(--trait); border-radius: 999px; }
.onglets button { min-height: 42px; padding: 0 1.25rem; border: 0; border-radius: 999px; background: transparent; font: 500 .9375rem/1 var(--texte); color: var(--encre-douce); cursor: pointer; transition: background-color .3s var(--ease), color .3s; }
.onglets button[aria-selected="true"] { background: var(--encre); color: var(--fond); }
.vitrine { margin-top: 3rem; border: 1px solid var(--trait); border-radius: 18px; overflow: hidden; box-shadow: 0 30px 80px -30px rgba(31, 27, 25, .25); }
.vitrine [role="tabpanel"] { animation: fondu .6s var(--ease); }
.vitrine [role="tabpanel"][hidden] { display: none; }
@keyframes fondu { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }

/* Droits d'accès. */
.droits { display: grid; gap: 3.5rem; align-items: center; }
@media (min-width: 60rem) { .droits { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.points { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.1rem; }
.points li { padding-left: 1.1rem; border-left: 2px solid var(--or); color: var(--encre-douce); }
.points b { color: var(--encre); font-weight: 600; }
.matrice { background: var(--blanc); border: 1px solid var(--trait); border-radius: 18px; padding: 1.5rem; display: grid; gap: .7rem; box-shadow: 0 30px 80px -40px rgba(31, 27, 25, .3); }
.ligne { display: grid; grid-template-columns: 7.5rem repeat(3, 1fr); gap: .5rem; align-items: center; font-size: .8125rem; }
.ligne.tete span { color: var(--discret); font-weight: 600; text-align: center; }
.ligne .qui { font-weight: 600; }
.pastille { display: flex; align-items: center; justify-content: center; min-height: 2.1rem; border-radius: 10px; font-weight: 600; font-size: .75rem; }
.pastille.oui { background: #e7f0e5; color: #2f5d2a; }                       /* 6,8:1 */
.pastille.non { border: 1px dashed #d9d2c7; color: var(--discret); }        /* cadenas + texte, pas que la couleur */
@media (max-width: 28rem) { .ligne { grid-template-columns: 5.5rem repeat(3, 1fr); } }

/* ── Clôture ───────────────────────────────────────────────────────────── */
.cloture { position: relative; overflow: hidden; background: var(--nuit); color: var(--fond); text-align: center; padding: 8rem 0; }
.cloture::before { content: ''; position: absolute; left: 50%; bottom: -18rem; width: 60rem; height: 34rem; translate: -50% 0; background: radial-gradient(closest-side, rgba(201, 164, 92, .3), transparent 70%); animation: respire 9s ease-in-out infinite alternate; }
.cloture .conteneur { position: relative; }
.cloture h2 { font-size: clamp(2.2rem, 5.5vw, 4rem); max-width: 16ch; margin-inline: auto; }
.cloture p { margin: 1.25rem auto 2.25rem; max-width: 30rem; color: #cfc7bc; }   /* 10,9:1 sur la nuit */

.pied { padding: 2.5rem 0; border-top: 1px solid var(--trait); font-size: .875rem; color: var(--discret); }
.pied .conteneur { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; }
.pied nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin-left: auto; }
.pied nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--encre-douce); }
.pied nav a:hover { color: var(--encre); }

/* ── Animations, uniquement si le script les active ───────────────────────
   Sans JavaScript ou en mouvement réduit, rien n'est masqué ni incliné. */
.anim [data-apparait] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.anim [data-apparait].vu { opacity: 1; transform: none; }
.anim .ecran { transform: rotateX(16deg) scale(.94) translateY(30px); opacity: 0; transition: transform 1.4s var(--ease) .35s, opacity 1s ease .35s; }
.anim .ecran.vu { transform: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
.pastille.non::before { content: ''; width: 8px; height: 9px; margin-right: 6px; border: 1.5px solid currentColor; border-radius: 2px; box-shadow: 0 -4px 0 -1.5px var(--blanc), 0 -5px 0 -1.5px currentColor; }

/* Revue sur capture : cibles a 44px minimum, en-tete qui tient a 320px, captures de la vitrine
   coupees en fondu (comme le heros) plutot que net au milieu d'un widget. */
.onglets button, .entete .bouton { min-height: 44px; }
@media (max-width: 24rem) {
  .entete .conteneur { gap: .75rem; padding-inline: 1rem; }
  .entete .bouton { padding: 0 .9rem; font-size: .8125rem; }
  .marque { font-size: 1.05rem; }
}
.vitrine { position: relative; }
.vitrine [role="tabpanel"] { max-height: 36rem; overflow: hidden; }
.vitrine::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 8rem; background: linear-gradient(to bottom, rgba(255,255,255,0), var(--blanc)); pointer-events: none; }
.marque { min-height: 44px; }
.droits > * { min-width: 0; }
.ligne { grid-template-columns: 7.5rem repeat(3, minmax(0, 1fr)); }
@media (max-width: 28rem) {
  .matrice { padding: 1rem; }
  .ligne { grid-template-columns: 4.6rem repeat(3, minmax(0, 1fr)); gap: .35rem; font-size: .75rem; }
  .pastille { font-size: .6875rem; }
  .pastille.non { font-size: 0; }          /* le cadenas seul : « Réservé » ne tient plus à cette largeur */
  .pastille.non::before { margin-right: 0; }
}

/* ── Page produit ──────────────────────────────────────────────────────── */
.liens a[aria-current="page"] { color: var(--encre); }
.heros .surtitre { margin-bottom: 1.25rem; }

/* Sources : des pastilles larges plutôt qu'une liste. */
.sources { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 60rem) { .sources { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.puces { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: .75rem; }
.puces li {
  display: grid; gap: .2rem; padding: 1.1rem 1.25rem; border: 1px solid var(--trait); border-radius: 14px; background: var(--fond);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.puces li:hover { transform: translateY(-3px); border-color: var(--or); box-shadow: 0 14px 30px -18px rgba(31, 27, 25, .35); }
.puces b { font: 700 1.25rem/1 var(--titre); letter-spacing: -.02em; }
.puces span { font-size: .8125rem; color: var(--discret); }

/* Feuille de route : un encart discret, jamais présenté comme disponible. */
.avenir { margin-top: 4rem; padding: 1.5rem 1.75rem; border: 1px dashed #d9d2c7; border-radius: 16px; display: grid; gap: .5rem; max-width: 46rem; }
.avenir span { font-size: .8125rem; font-weight: 600; color: var(--or-texte); }
.avenir p { color: var(--encre-douce); }
.avenir b { color: var(--encre); }

/* ── Pages courtes : accès et pages légales ───────────────────────────── */
.heros-court { padding: 5rem 0 6rem; text-align: left; }
.heros-court h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); max-width: 14ch; margin: 0; }
.heros-court .chapo { margin: 1.25rem 0 0; }
.legal { min-height: 46vh; }
.legal p:last-child { margin-top: 2rem; }

.page-acces { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 60rem) { .page-acces { grid-template-columns: minmax(0, 1fr) minmax(0, 30rem); gap: 5rem; } }
.page-acces > * { min-width: 0; }
.carte-formulaire {
  background: var(--blanc); border: 1px solid var(--trait); border-radius: 22px; padding: 2rem;
  box-shadow: 0 2px 4px rgba(31, 27, 25, .04), 0 40px 90px -40px rgba(31, 27, 25, .35);
}
@media (max-width: 30rem) { .carte-formulaire { padding: 1.25rem; } }

.formulaire { display: grid; gap: 1.25rem; position: relative; }
.champ { display: grid; gap: .4rem; }
.champ label { font-size: .9375rem; font-weight: 600; }
.champ input, .champ textarea {
  width: 100%; min-height: 48px; padding: .75rem 1rem; border: 1px solid #ddd6cc; border-radius: 12px;   /* 3,1:1 contour */
  background: var(--fond); color: var(--encre); font: 400 1rem/1.4 var(--texte);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.champ textarea { min-height: 7rem; resize: vertical; }
.champ input:focus, .champ textarea:focus { outline: none; border-color: var(--or); background: var(--blanc); box-shadow: 0 0 0 4px rgba(201, 164, 92, .22); }
.champ .aide { font-size: .8125rem; color: var(--discret); }
.champ .erreur { font-size: .8125rem; color: #a3271b; min-height: 0; }        /* 6,1:1 */
.champ .erreur:empty { display: none; }
.champ [aria-invalid="true"] { border-color: #a3271b; background: #fdf5f4; }
.formulaire .bouton { width: 100%; min-height: 50px; border: 0; cursor: pointer; font-size: 1rem; }
.statut { padding: .9rem 1rem; border-radius: 12px; font-size: .9375rem; background: #f6efe1; color: #6b4d12; }   /* 7,2:1 */
.statut p { margin-top: .25rem; }
.statut-succes { background: #e7f0e5; color: #2f5d2a; }
.statut-echec { background: #fbeceb; color: #a3271b; }
.mention { font-size: .8125rem; color: var(--discret); text-align: center; }
/* Champ piège anti-robots : masqué par découpage (pas display:none, que certains robots repèrent). */
.piege { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.piege > * { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; }
