/* Mamie Jacqueline : feuille commune du site. Lecteurs de 60 ans et plus : gros texte, fort contraste, gros boutons. */
@font-face { font-family: "Fraunces"; font-weight: 600; font-display: swap; src: url(polices/fraunces-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Fraunces"; font-weight: 700; font-display: swap; src: url(polices/fraunces-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Fraunces"; font-weight: 400; font-style: italic; font-display: swap; src: url(polices/fraunces-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Lato"; font-weight: 400; font-display: swap; src: url(polices/lato-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Lato"; font-weight: 700; font-display: swap; src: url(polices/lato-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Lato"; font-weight: 900; font-display: swap; src: url(polices/lato-latin-900-normal.woff2) format("woff2"); }

:root {
  --creme: #FBF4E6;
  --papier: #FFFDF8;
  --encre: #2B2622;
  --encre-douce: #554a40;
  --brique: #A63D2A;
  --sauge: #5E7B5A;
  --sauge-pale: #EEF2EA;
  --or: #D9A441;
  --bouton: #2C7A3F;
  --bouton-fonce: #215E30;
  --trait: #E6D8BF;
  --rayon: 14px;
  --ombre: 0 10px 30px rgba(60, 40, 20, .12);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--papier); color: var(--encre); font-family: "Lato", system-ui, sans-serif; font-size: 20px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brique); }
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 600; line-height: 1.18; color: var(--encre); margin: 0 0 .5em; }
h1 { font-size: clamp(34px, 5.2vw, 54px); letter-spacing: -.01em; }
h2 { font-size: clamp(29px, 4vw, 40px); }
h3 { font-size: clamp(24px, 2.8vw, 29px); }
p { margin: 0 0 1em; }
.cadre { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.etroit { max-width: 760px; }
.centre { text-align: center; }
.surtitre { font-family: "Fraunces"; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: 15px; color: var(--sauge); margin: 0 0 14px; }
section { padding: 72px 0; }

/* bandeau et en-tête */
.bandeau-promo { background: var(--brique); color: #fff; text-align: center; padding: 11px 16px; font-size: 17px; line-height: 1.4; }
.entete { background: var(--papier); border-bottom: 1px solid var(--trait); }
.entete-in { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.marque { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--encre); font-family: "Fraunces"; font-weight: 700; font-size: 23px; }
.marque img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid var(--creme); }
.entete-note { font-size: 15px; color: var(--encre-douce); letter-spacing: .08em; text-transform: uppercase; }

/* boutons */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 68px; padding: 16px 30px; border-radius: 12px;
  background: var(--bouton); color: #fff; font-weight: 900; font-size: 22px; text-decoration: none; line-height: 1.2; text-align: center;
  box-shadow: 0 6px 0 var(--bouton-fonce), 0 12px 24px rgba(44, 122, 63, .28); transition: transform .08s, box-shadow .08s; }
.bouton:hover { background: #2a8543; }
.bouton:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--bouton-fonce); }
.bouton:focus-visible { outline: 4px solid var(--or); outline-offset: 3px; }
.prix-bouton { background: rgba(255,255,255,.18); border-radius: 8px; padding: 4px 12px; font-size: 21px; white-space: nowrap; }
.bouton-large { width: 100%; }
.bouton-petit { min-height: 54px; font-size: 19px; padding: 10px 20px; box-shadow: 0 4px 0 var(--bouton-fonce); }
.rassure { font-size: 16.5px; color: var(--encre-douce); margin: 14px 0 0; display: flex; gap: 8px; align-items: center; justify-content: inherit; }
.garantie-mini { margin-top: 4px; }
.cadenas { width: 15px; height: 17px; flex: none; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 28'%3E%3Cpath fill='%235E7B5A' d='M12 0a7 7 0 0 0-7 7v4H3a3 3 0 0 0-3 3v11a3 3 0 0 0 3 3h18a3 3 0 0 0 3-3V14a3 3 0 0 0-3-3h-2V7a7 7 0 0 0-7-7zm-4 7a4 4 0 0 1 8 0v4H8z'/%3E%3C/svg%3E"); }

/* listes à coches */
.coches { list-style: none; padding: 0; margin: 0 0 1.2em; }
.coches li { position: relative; padding-left: 38px; margin: 0 0 10px; }
.coches li::before { content: ""; position: absolute; left: 0; top: 4px; width: 26px; height: 26px; border-radius: 50%; background: var(--sauge-pale)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%232C7A3F' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") no-repeat center/17px; }

/* haut de page */
.hero { background: linear-gradient(180deg, var(--creme), var(--papier)); padding: 48px 0 80px; }
.hero-grille { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero-sous { font-size: 22px; color: var(--encre-douce); }
.hero-texte .coches { margin: 24px 0 30px; }
.bloc-achat { max-width: 520px; }
.bloc-achat .bouton { width: 100%; }
.hero-visuel { position: relative; padding-bottom: 90px; }
.hero-photo { border-radius: 22px; box-shadow: var(--ombre); }
.eventail { position: absolute; left: 50%; bottom: 0; width: 86%; height: 200px; transform: translateX(-50%); }
.eventail img { position: absolute; bottom: 0; width: 30%; border-radius: 3px 8px 8px 3px; box-shadow: 0 12px 26px rgba(40, 25, 10, .35); border: 1px solid rgba(0,0,0,.06); }
.eventail img:nth-child(1) { left: 2%; transform: rotate(-10deg); }
.eventail img:nth-child(2) { left: 24%; transform: rotate(-3deg); bottom: 12px; }
.eventail img:nth-child(3) { left: 46%; transform: rotate(4deg); bottom: 12px; }
.eventail img:nth-child(4) { left: 68%; transform: rotate(11deg); }

/* lettre */
.lettre { background: var(--papier); }
.lettre h2 { text-align: center; margin-bottom: 28px; }
.douleurs { list-style: none; padding: 0; margin: 0 0 30px; }
.douleurs li { background: var(--creme); border-left: 5px solid var(--or); border-radius: 0 10px 10px 0; padding: 14px 20px; margin: 0 0 12px; font-size: 20.5px; }
.signature { font-family: "Fraunces"; font-style: italic; font-weight: 400; font-size: 27px; color: var(--brique); margin-top: 6px; }

/* livres */
.livres { background: var(--creme); }
.livres > .cadre > h2 { margin-bottom: 48px; }
.livre-carte { display: grid; grid-template-columns: 300px 1fr; gap: 52px; align-items: center; background: var(--papier); border-radius: 22px;
  padding: 44px 48px; margin: 0 0 30px; box-shadow: 0 2px 0 var(--trait); }
.livre-carte.inverse { grid-template-columns: 1fr 300px; }
.livre-carte.inverse .livre-3d { order: 2; }
.livre-3d { perspective: 1100px; }
.livre-3d img { width: 100%; border-radius: 3px 10px 10px 3px; transform: rotateY(-16deg) rotateZ(-1deg);
  box-shadow: -10px 16px 30px rgba(40, 25, 10, .30), inset 6px 0 10px rgba(0,0,0,.08); position: relative; }
.livre-carte.inverse .livre-3d img { transform: rotateY(16deg) rotateZ(1deg); }
.livre-num { font-size: 16px; font-weight: 700; color: var(--sauge); text-transform: uppercase; letter-spacing: .1em; margin: 0 0 6px; }
.livre-promesse { font-family: "Fraunces"; font-style: italic; font-weight: 400; font-size: 23px; color: var(--brique); }
.cadeau { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: center; background: #fff; border: 3px dashed var(--or); border-radius: 22px; padding: 40px 46px; }
.cadeau-visuel img { border-radius: 6px; box-shadow: var(--ombre); transform: rotate(-2deg); }
.etiquette { display: inline-block; background: var(--or); color: #3a2a06; font-weight: 900; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; border-radius: 999px; padding: 5px 16px; margin: 0 0 14px; }

/* feuilleter */
.intro-section { color: var(--encre-douce); margin-bottom: 34px; }
.pages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.page-mini { background: none; border: 0; padding: 0; cursor: zoom-in; font: inherit; color: var(--encre-douce); text-align: center; }
.page-mini img { border-radius: 6px; box-shadow: var(--ombre); border: 1px solid var(--trait); transition: transform .15s; }
.page-mini:hover img { transform: translateY(-4px); }
.page-mini span { display: block; margin-top: 12px; font-size: 17px; }
dialog#loupe { border: 0; padding: 0; max-width: min(860px, 96vw); max-height: 94vh; border-radius: 10px; overflow: auto; background: #fff; }
dialog#loupe::backdrop { background: rgba(30, 20, 10, .75); }
dialog#loupe .fermer { position: sticky; top: 0; display: block; width: 100%; min-height: 56px; border: 0; background: var(--encre); color: #fff; font: 700 19px "Lato", sans-serif; cursor: pointer; }

/* pensé pour */
.pense { background: var(--sauge-pale); }
.quatre { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 36px; }
.quatre > div { background: #fff; border-radius: var(--rayon); padding: 28px 24px; }
.quatre h3 { font-size: 23px; }
.quatre p { font-size: 18px; color: var(--encre-douce); margin: 0; }
.quatre .gros-chiffre { font-family: "Fraunces"; font-weight: 700; font-size: 36px; line-height: 1.1; color: var(--sauge); margin: 0 0 10px; }

/* offre */
.offre { background: var(--creme); }
.offre-boite { background: #fff; border: 3px solid var(--bouton); border-radius: 24px; padding: 40px 44px 36px; text-align: center; box-shadow: var(--ombre); }
.recap { list-style: none; padding: 0; margin: 10px 0 26px; text-align: left; }
.recap li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--trait); }
.recap li span:first-child { font-weight: 700; }
.recap li span:last-child { color: var(--encre-douce); white-space: nowrap; }
.recap-cadeau span:first-child { color: var(--brique); }
.prix-grand { font-family: "Fraunces"; font-weight: 700; font-size: 82px; line-height: 1; color: var(--encre); margin: 6px 0 10px; }
.prix-note { font-size: 17.5px; color: var(--encre-douce); margin: 0 0 6px; }
.offre-boite .bouton { margin-top: 22px; }
.offre-boite .rassure { justify-content: center; }
.petit-titre { font-size: 30px; margin-top: 64px; }
.etapes { list-style: none; counter-reset: e; padding: 0; margin: 26px 0 50px; }
.etapes li { counter-increment: e; position: relative; padding: 4px 0 18px 70px; min-height: 56px; }
.etapes li::before { content: counter(e); position: absolute; left: 0; top: 0; width: 50px; height: 50px; border-radius: 50%; background: var(--bouton); color: #fff;
  font: 700 25px/50px "Fraunces"; text-align: center; }
.garantie { display: flex; gap: 26px; align-items: center; background: #fff; border-radius: 20px; padding: 30px 32px; border: 2px solid var(--trait); }
.garantie h3 { font-size: 25px; }
.garantie p { margin: 0; }
.garantie-sceau { flex: none; width: 112px; height: 112px; border-radius: 50%; background: var(--or); color: #3a2a06; display: flex; flex-direction: column; align-items: center;
  justify-content: center; font-weight: 900; text-transform: uppercase; font-size: 15px; letter-spacing: .08em; box-shadow: inset 0 0 0 5px #fff, inset 0 0 0 7px var(--or); }
.garantie-sceau span { font-family: "Fraunces"; font-size: 42px; line-height: 1; letter-spacing: 0; }

/* questions */
.faq h2 { margin-bottom: 30px; }
details { border: 2px solid var(--trait); border-radius: 14px; margin: 0 0 14px; background: #fff; }
summary { cursor: pointer; list-style: none; padding: 20px 60px 20px 24px; font-weight: 700; font-size: 21px; position: relative; min-height: 64px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font: 700 32px "Lato"; color: var(--bouton); }
details[open] summary::after { content: "−"; }
details p { padding: 0 24px 20px; margin: 0; color: var(--encre-douce); }

/* fin */
.fin { background: var(--papier); }
.fin-grille { display: flex; gap: 34px; align-items: center; margin-bottom: 40px; }
.fin-grille img { width: 170px; height: 170px; border-radius: 50%; object-fit: cover; flex: none; border: 6px solid var(--creme); }
.fin-texte { font-size: 22px; }
.fin .bouton { max-width: 620px; }
.fin .rassure { justify-content: center; }

/* barre d'achat collante (téléphone) */
.barre-achat { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: #fff; border-top: 1px solid var(--trait); box-shadow: 0 -8px 24px rgba(0,0,0,.10);
  display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); transform: translateY(110%); transition: transform .25s; }
.barre-achat.visible { transform: none; }
.barre-achat > div { font-size: 18px; }
.barre-achat [data-prix] { font-weight: 900; color: var(--bouton); }

/* pied */
.pied { background: var(--encre); color: #e9e0d2; padding: 34px 0 120px; font-size: 16px; text-align: center; }
.pied a { color: #fff; }
.pied p { margin: 0 0 6px; }

/* formulaires (page d'accueil) */
.formulaire { background: #fff; border-radius: 20px; padding: 30px; box-shadow: var(--ombre); border: 1px solid var(--trait); }
.formulaire label { display: block; font-weight: 700; margin: 0 0 6px; font-size: 19px; }
.formulaire input[type=text], .formulaire input[type=email] { width: 100%; min-height: 62px; font: inherit; font-size: 21px; padding: 12px 16px; border: 2px solid #cdbfa6;
  border-radius: 12px; margin: 0 0 18px; background: var(--papier); color: var(--encre); }
.formulaire input:focus { outline: 3px solid var(--or); border-color: var(--or); }
.consentement { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--encre-douce); margin: 0 0 18px; line-height: 1.45; }
.consentement input { width: 28px; height: 28px; flex: none; margin: 0; accent-color: var(--bouton); }
.formulaire .bouton { width: 100%; border: 0; cursor: pointer; font-family: inherit; }
.piege { position: absolute; left: -9999px; }

/* téléphone */
@media (max-width: 880px) {
  body { font-size: 19px; }
  section { padding: 54px 0; }
  .hero { padding-top: 26px; }
  .hero-grille { grid-template-columns: 1fr; gap: 10px; }
  .hero-visuel { order: -1; padding-bottom: 70px; }
  .hero-photo { aspect-ratio: 4 / 2.6; object-fit: cover; object-position: 50% 30%; width: 100%; }
  .eventail { height: 150px; }
  .entete-note { display: none; }
  .livre-carte, .livre-carte.inverse, .cadeau { grid-template-columns: 1fr; padding: 30px 22px; gap: 26px; }
  .livre-carte.inverse .livre-3d { order: 0; }
  .livre-3d { max-width: 220px; margin: 0 auto; }
  .cadeau-visuel { max-width: 240px; margin: 0 auto; }
  .pages { grid-template-columns: 1fr 1fr; gap: 18px; }
  .quatre { grid-template-columns: 1fr 1fr; gap: 14px; }
  .quatre > div { padding: 20px 16px; }
  .offre-boite { padding: 30px 20px; }
  .prix-grand { font-size: 68px; }
  .garantie { flex-direction: column; text-align: center; padding: 26px 20px; }
  .fin-grille { flex-direction: column; text-align: center; }
  .barre-achat { display: flex; }
  .bouton { font-size: 20px; padding: 14px 18px; }
}
@media (max-width: 420px) {
  .quatre { grid-template-columns: 1fr; }
  .prix-bouton { font-size: 19px; }
}

/* accueil */
.accueil .hero-grille { align-items: start; }
.form-couv { display: flex; justify-content: center; margin: -6px 0 18px; }
.form-couv img { width: 150px; border-radius: 3px 8px 8px 3px; box-shadow: 0 10px 24px rgba(40,25,10,.28); transform: rotate(-3deg); }
.centre-flex { justify-content: center; text-align: center; }

/* après inscription et après achat */
.merci-haut { background: linear-gradient(180deg, var(--creme), var(--papier)); padding: 54px 0 40px; }
.bouton-guide { margin-top: 10px; min-width: min(100%, 460px); }
.pont { padding-top: 30px; }
.pont-lettre { display: flex; gap: 26px; align-items: flex-start; margin: 0 0 40px; }
.pont-lettre img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; flex: none; border: 5px solid var(--creme); }
.pont-lettre h2 { font-size: 30px; }
.eventail-plat { position: relative; left: auto; transform: none; width: 100%; max-width: 440px; height: 170px; margin: 0 auto 26px; }
.voir-detail { margin: 18px 0 0; font-size: 18px; }
.liste-livres { display: grid; gap: 14px; margin: 24px 0 40px; }
.livre-lien { display: flex; align-items: center; gap: 18px; background: #fff; border: 2px solid var(--trait); border-radius: 16px; padding: 14px 18px; text-decoration: none; color: var(--encre); min-height: 96px; }
.livre-lien:hover { border-color: var(--bouton); }
.livre-lien img { width: 58px; border-radius: 2px 5px 5px 2px; box-shadow: 0 4px 10px rgba(0,0,0,.18); flex: none; }
.livre-lien span { flex: 1; font-size: 17px; color: var(--encre-douce); line-height: 1.35; }
.livre-lien strong { display: block; font-family: "Fraunces"; font-size: 22px; color: var(--encre); }
.livre-lien em { font-style: normal; background: var(--bouton); color: #fff; font-weight: 900; border-radius: 10px; padding: 12px 18px; flex: none; }
.conseil-depart { background: var(--creme); border-radius: 18px; padding: 28px 30px; }
.conseil-depart h2 { font-size: 28px; }
@media (max-width: 880px) {
  .pont-lettre { flex-direction: column; align-items: center; text-align: center; }
  .livre-lien em { padding: 10px 12px; font-size: 17px; }
  .livre-lien strong { font-size: 19px; }
}
/* pages légales */
.legal { padding: 50px 0 70px; }
.legal h1 { font-size: 38px; }
.legal h2 { font-size: 25px; margin-top: 1.6em; }
.legal p, .legal li { font-size: 18px; }
.legal .maj { color: var(--encre-douce); font-size: 16px; }

/* proposition du classeur après l'achat */
.apres-achat { padding-top: 10px; }
.classeur-boite { text-align: left; border-color: var(--or); }
.classeur-boite h2, .classeur-boite .prix-grand, .classeur-boite .prix-note, .classeur-boite .etiquette { text-align: center; }
.classeur-boite .etiquette { display: block; width: fit-content; margin: 0 auto 14px; }
.classeur-grille { display: flex; gap: 22px; align-items: flex-start; margin: 10px 0 16px; }
.classeur-grille img { width: 180px; flex: none; border-radius: 8px; box-shadow: var(--ombre); }
@media (max-width: 880px) { .classeur-grille { flex-direction: column; align-items: center; } .classeur-grille img { width: 200px; } }

/* offre après inscription : le livre du thème en tête */
.recap li.recap-theme { background: var(--creme); border-radius: 10px; padding: 13px 12px; border-bottom: 0; margin-bottom: 4px; }
.recap li.recap-theme small { display: block; font-size: 14px; color: var(--brique); font-weight: 700; margin-top: 2px; }
