/* =========================================================
   Variante « Papier ancien » (version de test)
   Même DA : brun, ivoire, bordeaux. Le fond devient une page
   de livre, les photos restent sombres comme des tableaux.
   ========================================================= */
:root{
  --black:#F4ECDF;
  --night:#ECE2D2;
  --espresso:#E3D6C2;
  --ivory:#2A1B17;
  --ivory-2:#4A3A32;
  --ivory-3:#705E54;
  --white:#2A1B17;
  --rule:rgba(42,27,23,.13);
  --rule-2:rgba(42,27,23,.26);
  --bx-hi:#7E2432;
  --r:10px;
  --r-s:6px;
}
html{background:#F4ECDF}
body{background:#F4ECDF url(../img/papier.webp) repeat;color:var(--ivory)}
::selection{background:#6E1F2A;color:#F4ECDF}

/* Les îlots sombres : photos plein cadre, comme des tableaux posés sur la page */
.h9,.review,.news,.banner,.expo,.scene,.auth-pic,.account-pic,.fo-fond,.avis-fond,.pied10,.scr-visuel,.still,.blog-head,.full,.sub-hero,.eb-hero,.co-hero{
  --black:#0D0807;--night:#150E0C;--espresso:#2B1D1A;
  --ivory:#F3EBDD;--ivory-2:#D9CCBA;--ivory-3:#A99A8A;--white:#FFFFFF;
  --rule:rgba(243,235,221,.14);--rule-2:rgba(243,235,221,.28);--bx-hi:#8E2B39;
  color:var(--ivory)
}

/* En-tête : une bande de papier, toujours lisible */
.top,.top.solid{background:rgba(244,236,223,.94);box-shadow:0 1px 0 var(--rule);-webkit-backdrop-filter:none;backdrop-filter:none}
.top .logo img,.top a[class*="logo"] img,.pied-logo img,.p10-logo img{filter:brightness(.2) sepia(.6)}
.pied10 .p10-logo img{filter:none}
.top nav a,.top .nav a{text-transform:none;letter-spacing:.01em;font-size:.95rem}

/* Le haut de l'accueil devient un tableau encadré dans la page */
.h9{margin:calc(var(--head) + 10px) 12px 0;min-height:calc(100svh - var(--head) - 22px);border-radius:18px;padding-top:clamp(2rem,6vh,4rem)}
.h9 .h9-shade{border-radius:inherit}

/* Bords légèrement arrondis, partout où ça tombe bien */
.btn{border-radius:var(--r-s);text-transform:none;letter-spacing:.02em;font-size:.95rem}
.btn::before{border-radius:inherit}
.inp,input[type="email"],input[type="text"],input[type="password"],textarea,select{border-radius:var(--r-s)}
.offre,.db-carte,.db-mot,.db-lien,.debut-mots div,.db-page,.scr-visuel,.review,.news,.banner,.expo,.dm-tel,.feuille,.tab,.order,.paybox,.carton,.card,.fmt,.choice label,.bump,.p10-cartouche{border-radius:var(--r)}
.offre-img,.review-pic img,.scr-img img{border-radius:var(--r-s)}
.review,.news,.expo,.banner{margin-inline:12px;overflow:hidden}
.pied10{margin:0 12px 12px;border-radius:18px}

/* Moins « gabarit » : les petites étiquettes en capitales espacées deviennent de l'italique */
.offre-type,.db-temps,.db-carte h3,.p10-plan h2,.scr-compte,.eyebrow,.kicker,.label-up{font-family:var(--accent);font-style:italic;text-transform:none;letter-spacing:0;font-size:1rem;color:var(--ivory-3)}
.db-temps{border:0;padding:0}

/* Cartes : du papier un peu plus clair, posé sur la page */
.offre,.db-carte,.db-mot,.db-lien,.debut-mots div{background:#FAF5EC;border-color:var(--rule)}
.offre:hover,.offre:focus-within,.db-lien:hover{border-color:var(--rule-2);box-shadow:0 18px 40px -28px rgba(42,27,23,.45)}
.db-carte-on{border-color:#6E1F2A;background:#FAF5EC}

/* Les messages façon téléphone : bulle claire, réponse bordeaux */
.dm-tel{background:#FAF5EC;border-color:var(--rule-2);box-shadow:0 30px 60px -40px rgba(42,27,23,.5)}
.dm-barre{background:#F1E8DA}
.dm-in{background:#E9DFCF;color:#2A1B17}
.dm-out{color:#F4ECDF}
.dm-out .dm-rep b{color:#F4ECDF}
.dm-tape i{background:#F4ECDF}

/* La page de carnet de « Débuter » : un papier encore plus clair */
.db-page{background-color:#FFFBF3;color:#3B2924}

/* Le manifeste : mots éteints en brun clair, allumés en brun foncé */
.manifesto .w,.manifesto span[data-w]{color:rgba(42,27,23,.28)}
.manifesto .w.on,.manifesto span[data-w].on{color:#2A1B17}

/* Le scripting : numéros bordeaux lisibles sur papier */
.scr-n,.db-num{color:#7E2432}
.db-tampon{color:#F4ECDF;background:#6E1F2A}

/* Liens soulignés à la main : un trait bordeaux un peu irrégulier sous les liens du texte */
main p a:not(.btn){text-decoration-color:rgba(110,31,42,.55);text-decoration-thickness:1.5px;text-underline-offset:4px}

/* Les blocs « teinte » de l'ancienne version : simple papier */
.tint,.method,.chat{background:transparent}
.brand img{filter:brightness(.2) sepia(.6)}
.pied10 .brand img,.h9 .brand img{filter:none}
.news{margin-bottom:12px}
.drawer,.menu,.nav-drawer{background:#F4ECDF}
.co-sum,.fmt{--black:#0D0807;--night:#150E0C;--ivory:#F3EBDD;--ivory-2:#D9CCBA;--ivory-3:#A99A8A;--rule:rgba(243,235,221,.14);--rule-2:rgba(243,235,221,.28);color:var(--ivory);border-radius:var(--r);overflow:hidden}
.banner,.review,.news,.expo,.eb-hero,.h9,.co-sum{background-color:var(--black)}
.opt:has(input:checked){background:#6E1F2A;border-color:#6E1F2A;--ivory:#F4ECDF;--ivory-2:#EADFCF;--ivory-3:#D9CCBA;color:#F4ECDF}
.opt{border-radius:var(--r)}
.lettre{--black:#0D0807;--night:#150E0C;--ivory:#F3EBDD;--ivory-2:#D9CCBA;--ivory-3:#A99A8A;--rule:rgba(243,235,221,.14);--rule-2:rgba(243,235,221,.28);color:var(--ivory);border-radius:var(--r)}
