/* Exodrum, site vitrine de prélancement : direction « Le cahier de la maîtresse » (mêmes jetons que site/css/exo.css).
   Fond toujours clair (jamais de fond sombre). Aucune police distante, aucun script tiers. */
@font-face { font-family: "Exo Fraunces"; src: url("assets/fonts/fraunces-latin-full-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Exo Inter Tight"; src: url("assets/fonts/inter-tight-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --paper: #FBF7F0; --paper-hi: #FFFDF8; --sand: #EFE6D9; --tint: #F5EAD2;
  --line: #DDCFBB; --ink: #1F1A15; --ink-2: #554A40; --ink-3: #85786B;
  --copper: #B5652B; --copper-d: #94501F; --hl: #FBDE59;
  --n1: #C8492F; --n2: #CF6A20; --n3: #E3B23C; --n4: #4E8A4A; --n5: #2C7F99; --n6: #3F4FA0; --n7: #7E4E9E;
  --serif: "Exo Fraunces", "Fraunces", Georgia, serif;
  --sans: "Exo Inter Tight", "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r: 18px; --gut: 16px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--copper-d); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(32px, 6vw, 52px); }
h2 { font-size: clamp(24px, 4vw, 32px); }
h3 { font-size: 20px; }
p, ul, ol, dl { margin: 0 0 1em; }
.acc { color: var(--copper); }
.hl { background: linear-gradient(transparent 55%, var(--hl) 55%); }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 var(--gut); }
.wrap--txt { max-width: 760px; }

/* en-tête */
.tete { border-bottom: 1px solid var(--line); background: var(--paper-hi); }
.tete__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.logo img { width: 170px; }
.nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: 15px; }
.nav a { color: var(--ink-2); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; }

/* sections */
.sec { padding: 56px 0; }
.sec--sand { background: var(--sand); }
.sec--tint { background: var(--tint); }
.surtitre { font-size: 13px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--copper-d); margin-bottom: 10px; }
.chapo { font-size: 19px; color: var(--ink-2); max-width: 36em; }

/* accueil */
.hero { padding: 40px 0 56px; }
.hero__grille { display: grid; gap: 32px; align-items: center; }
.hero__grille > * { min-width: 0; }
.hero__photo img { border-radius: var(--r); width: 100%; }
.devise { font-family: var(--serif); font-size: 22px; font-weight: 600; margin: 18px 0; }
.badge { display: inline-block; background: var(--paper-hi); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 15px; font-weight: 600; }
@media (min-width: 860px) { .hero__grille { grid-template-columns: 1.05fr 1fr; gap: 56px; } }

.pastilles { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0 0; padding: 0; list-style: none; }
.pastilles li { width: 30px; height: 30px; border-radius: 50%; color: #fff; font-weight: 700; font-size: 15px; display: grid; place-items: center; }
.pastilles li:nth-child(1) { background: var(--n1); } .pastilles li:nth-child(2) { background: var(--n2); }
.pastilles li:nth-child(3) { background: var(--n3); color: var(--ink); } .pastilles li:nth-child(4) { background: var(--n4); }
.pastilles li:nth-child(5) { background: var(--n5); } .pastilles li:nth-child(6) { background: var(--n6); }
.pastilles li:nth-child(7) { background: var(--n7); }

.cartes { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); margin: 24px 0 0; padding: 0; list-style: none; }
@media (min-width: 720px) { .cartes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.carte { background: var(--paper-hi); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.carte__img { width: 100%; border-radius: 12px; margin-bottom: 14px; aspect-ratio: 1; object-fit: cover; }
.carte h3 { margin-bottom: .25em; }
.carte p { margin: 0; color: var(--ink-2); font-size: 16px; }

.encadre { background: var(--paper-hi); border: 2px solid var(--copper); border-radius: var(--r); padding: 24px; }
.encadre h2 { margin-bottom: .4em; }
.encadre p:last-child { margin-bottom: 0; }

/* pages de texte */
.page-tete { padding: 44px 0 8px; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.fiche { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper-hi); overflow: hidden; margin: 0 0 1.4em; }
.fiche > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 12px 16px; border-top: 1px solid var(--line); }
.fiche > div:first-child { border-top: 0; }
.fiche dt { font-size: 14px; color: var(--ink-3); font-weight: 600; }
.fiche dd { margin: 0; overflow-wrap: anywhere; }
@media (min-width: 640px) { .fiche > div { grid-template-columns: 210px minmax(0, 1fr); gap: 16px; } }
.verif { padding-left: 1.2em; }
.verif li { margin-bottom: .5em; }

.faq details { background: var(--paper-hi); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 18px; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--copper); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq .rep { padding: 0 18px 16px; color: var(--ink-2); }
.faq .rep p:last-child { margin-bottom: 0; }

/* marqueur interne : à remplacer avant mise en ligne (check-vitrine.js le compte) */
.ph { background: var(--hl); padding: 0 .2em; border-radius: 3px; }

/* pied */
.pied { border-top: 1px solid var(--line); padding: 32px 0 40px; font-size: 15px; color: var(--ink-2); }
.pied__liens { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 10px; }
.pied p { margin: 0 0 6px; }
