/* Lettre de vente de Lucia (app/lucia/lettre.php) : mise en page « lecture », feuille claire, encre foncée, polices de Lucia. */
.lettre-page{max-width:680px;margin:0 auto;padding:28px 18px 48px;font-size:20px;line-height:1.7;color:var(--encre)}
.lettre h1{font-size:30px;line-height:1.3;margin:0 0 26px}
.lettre h2{font-size:25px;line-height:1.3;margin:44px 0 16px;padding-top:22px;border-top:2px solid var(--or-cierge,#C9973E)}
.lettre h2.lettre-ps{border-top:0;padding-top:0;margin-top:32px;font-size:22px}
.lettre h3{font-size:22px;line-height:1.35;margin:30px 0 12px}
.lettre p{margin:0 0 18px}
.lettre strong{font-weight:700}
.lettre .lettre-encadre{margin:22px 0;padding:16px 20px;border-left:4px solid var(--or-cierge,#C9973E);background:#F4EBDD;border-radius:0 10px 10px 0}
.lettre .lettre-encadre p{margin:0 0 12px}.lettre .lettre-encadre p:last-child{margin-bottom:0}
.lettre h2.lettre-priere-titre{text-align:center;border-top:0;padding-top:0}
.lettre .lettre-priere{text-align:left;font-style:normal;line-height:1.75;background:#F7F0E4;border:1px solid #E6D9C4;border-radius:12px;padding:16px 18px}
.lettre-liste{margin:0 0 20px;padding-left:24px}.lettre-liste li{margin:0 0 12px}
.lettre-produit{font-weight:700;font-size:22px;line-height:1.35;color:var(--azulejo);text-align:center;margin:30px 0 10px}
.lettre-action{margin:0 0 30px;text-align:center}
.lettre-action .bouton{display:block;width:100%;min-height:64px;box-sizing:border-box;padding:18px 16px;border-radius:12px;background:var(--oeillet);color:#fff;font-weight:700;font-size:21px;line-height:1.3;text-decoration:none}
.lettre-action .bouton:hover,.lettre-action .bouton:focus{background:var(--oeillet-fonce,#8C2733)}
.lettre-image{margin:30px auto 8px;max-width:420px}
.lettre-image img{display:block;width:100%;height:auto;max-height:300px;object-fit:contain;margin:0 auto;border-radius:10px;box-shadow:0 2px 10px rgba(43,37,34,.18)}
.lettre-image figcaption{font-size:16px;line-height:1.45;color:var(--encre-douce);margin-top:8px;text-align:center}
/* Images en hauteur (cartes, portraits) : 300 px de haut au plus, centrées ; vignettes des présents à côté de leur texte. */
.lettre-image img{width:auto;max-width:100%}
.lettre h3 .surtitre{display:block;font-family:var(--texte);font-size:17px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--or-fonce,#8A6424);margin-bottom:4px}
.lettre-liste li.avec-piece{list-style:none;margin-left:-24px;display:flow-root;padding:10px 0;border-bottom:1px solid #E6D9C4}
.lettre-liste li.avec-piece:last-child{border-bottom:0}
.lettre-piece{float:left;width:72px;height:auto;max-height:110px;object-fit:contain;margin:4px 14px 6px 0;border-radius:6px;box-shadow:0 1px 6px rgba(43,37,34,.18)}
.lettre .lettre-date{text-align:right;color:var(--encre-douce);margin:0 0 22px}
.lettre-phrase{display:block}.lettre-phrase+.lettre-phrase{margin-top:8px}
/* Parole d'engagement de la lectrice : parchemin, filet doré, texte droit. */
.lettre-engagement{margin:26px 0;padding:18px 20px;background:linear-gradient(#FBF4E6,#F3E6CC);border:1px solid #D9C49A;border-left:4px solid var(--or-cierge,#C9973E);border-radius:10px}
.lettre-engagement p{margin:0 0 12px}.lettre-engagement p:last-child{margin-bottom:0}
@media (min-width:900px){.lettre-piece{width:96px;max-height:140px}}
@media (min-width:900px){.lettre-page{padding-top:40px}.lettre h1{font-size:34px}.lettre-action .bouton{max-width:520px;margin:0 auto}}
/* Bon de commande (pages « commande » et « seconde » d'une lettre) : en-tête confidentiel, prénom réservé, bloc de paiement sans prix
   dans le bouton (le prix est dit au-dessus), boutons d'envoi présentés comme des liens dans le texte. */
.lettre .bon-entete{text-align:center;font-size:17px;font-weight:700;letter-spacing:.02em;color:var(--encre-douce);margin:6px 0 4px;display:flex;align-items:center;gap:12px}
.lettre .bon-entete::before,.lettre .bon-entete::after{content:"";flex:1;height:1px;background:#C9973E}
.lettre .bon-reserve{text-align:center;margin:0 0 28px;font-size:20px}
.lettre .bon-prenom{font-family:var(--titres);font-style:italic;font-weight:700;font-size:28px;color:var(--azulejo);margin-left:6px}
.lettre .bon-paiement{margin:28px 0;padding:20px 18px 6px;border-top:2px solid #C9973E;border-bottom:2px solid #C9973E;text-align:center}
.lettre .bon-prix{font-weight:700;font-size:22px;line-height:1.3;color:var(--azulejo);margin:0 0 16px}
.lettre .bon-securite{font-size:16px;line-height:1.45;color:var(--encre-douce);margin:-14px 0 14px}
.lettre button.bouton{display:block;width:100%;min-height:64px;box-sizing:border-box;padding:18px 16px;border:0;border-radius:12px;background:var(--oeillet);color:#fff;font:700 21px/1.3 var(--texte);cursor:pointer}
.lettre button.bouton:hover,.lettre button.bouton:focus{background:var(--oeillet-fonce,#8C2733)}
.lettre .lien-paiement{display:inline;padding:0;border:0;background:none;font:inherit;font-weight:700;color:var(--azulejo);text-decoration:underline;cursor:pointer;text-align:left}
@media (min-width:900px){.lettre button.bouton{max-width:520px;margin:0 auto}}
.lettre .lettre-refus{text-align:center;margin:8px 0 30px;font-size:17px}.lettre .lettre-refus a{color:var(--encre-douce)}
/* Moments forts (skill mise-en-page-lecture) : souligné doré sur la phrase qu'on retient, phrase courte seule sur sa ligne. */
.lettre strong u{text-decoration:underline;text-decoration-color:#C9973E;text-decoration-thickness:2px;text-underline-offset:4px;text-decoration-skip-ink:none}
.lettre p.phrase-cle{font-family:var(--titres);font-weight:700;font-size:23px;line-height:1.4;color:var(--azulejo);text-align:center;margin:28px 0}
.lettre .bon-banque{font-size:17px;line-height:1.5;color:var(--encre);text-align:center;margin:-16px 0 22px}
.lettre .bon-paiement .bon-banque{margin:-14px 0 12px}
.lettre p.lettre-suite{margin-top:-12px}

/* ===================================================================== Repasse design et conversion (relectures du 19/11/2026) */
/* Bannière des lettres : filet or dessous (PRODUCT.md), hauteur contenue sur ordinateur pour que la lettre commence au premier écran. */
body.lettre-vente .banniere-lien{display:block;background:#1E2A46}
/* hauteur et recadrage de la bannière : assets/lucia/lucia.css (réduite, sans lien) */

/* Titres : h1 plus compact sur téléphone ; h2 centrés, petit ornement or au lieu du filet pleine largeur (moins « tableau »). */
.lettre h1{font-size:27px;line-height:1.28;text-wrap:balance}
.lettre h2{border-top:0;padding-top:0;text-align:center;font-size:24px;text-wrap:balance;margin-top:48px}
.lettre h2::before{content:"";display:block;width:56px;height:2px;margin:0 auto 18px;background:var(--or)}
.lettre h2.lettre-ps::before,.lettre h2.lettre-priere-titre::before{display:none}
.lettre h2.lettre-ps{text-align:left;font-family:var(--texte);font-size:20px}
.lettre h3{text-align:center;text-wrap:balance}
.lettre h3 .surtitre{text-transform:none;letter-spacing:.02em;font-size:18px;color:var(--terre)}
@media (min-width:900px){.lettre h1{font-size:34px}.lettre h2{font-size:28px}}

/* Encadrés plus légers (ils sont nombreux) : filet or à gauche, sans fond ; la prière garde sa feuille. */
.lettre .lettre-encadre{background:none;border-left:3px solid var(--or);border-radius:0;padding:4px 0 4px 18px}
.lettre .lettre-priere{background:#F7F0E4;border:1px solid var(--filet);border-radius:12px;padding:18px 20px}

/* Engagement : parchemin solennel, double filet, sans barre d'encadré. */
.lettre .lettre-engagement{border:1px solid #D9C49A;border-left:1px solid #D9C49A;outline:1px solid #D9C49A;outline-offset:4px;border-radius:6px;margin:30px 6px;padding:20px 18px;background:linear-gradient(#FBF4E6,#F3E6CC)}

/* Images de musée : coins presque droits, ombre discrète. */
.lettre-image img{border-radius:3px;box-shadow:0 1px 4px rgba(43,37,34,.15)}

/* Boutons de l'auteur parfois très longs : lignes équilibrées, un peu plus petits sur téléphone. */
.lettre-action .bouton,.lettre button.bouton{text-wrap:balance;letter-spacing:0}
@media (max-width:600px){.lettre-action .bouton,.lettre button.bouton{font-size:19px;line-height:1.25;padding:15px 14px}}

/* Bloc de paiement : montant bien visible, mention sur sa ligne, jamais coupé au milieu. */
.lettre .bon-prix{text-align:center;margin:0 0 12px;line-height:1.3}
.lettre .bon-montant{display:block;font-family:var(--titres);font-weight:700;font-size:30px;color:var(--azulejo)}
.lettre .bon-mention{display:block;font-family:var(--texte);font-weight:400;font-size:18px;color:var(--encre-douce);white-space:nowrap}
.lettre .bon-paiement{background:#FFFDF8;border:1px solid var(--filet);border-top:3px solid var(--or);border-radius:10px;padding:20px 16px 8px}
.lettre .bon-rappel{margin-top:4px}
.lettre .bon-produit{font-family:var(--titres);font-weight:700;font-size:22px;line-height:1.3;color:var(--azulejo);text-align:center;margin:0 0 6px}
.lettre .bon-securite{font-size:17px;margin:0 0 12px;color:var(--encre-douce)}
.lettre .bon-banque{font-size:18px;line-height:1.5;color:var(--encre);text-align:center;margin:-18px 0 22px}
.lettre .bon-paiement .bon-banque{margin:-16px 0 12px}

/* En-tête du bon : filets courts au-dessus et au-dessous (lisibles sur téléphone), prénom en Playfair droit (pas d'italique chargé). */
.lettre .bon-entete{display:block;text-align:center;font-size:18px;letter-spacing:.02em;margin:8px 0 6px}
.lettre .bon-entete::before,.lettre .bon-entete::after{content:"";display:block;width:64px;height:1px;margin:10px auto;background:var(--or);flex:none}
.lettre .bon-prenom{font-style:normal;font-size:30px}

/* Sur un bon, « Revenir à la lettre » devient un lien discret : la seule action forte reste le paiement. */
.lettre .lettre-action .bouton-secondaire{display:inline-block;width:auto;min-height:44px;border:0;background:none;color:var(--lien);font-size:18px;font-weight:700;text-decoration:underline;padding:10px 6px}
.lettre .lettre-refus a{display:inline-block;padding:12px 16px;min-height:44px}
.lettre .lettre-refus{font-size:18px}

/* Signature : plus grande, comme une signature au bas d'une lettre. */
.lettre .signature{font-size:34px;font-weight:700;margin:6px 0 26px}

/* Page « Merci » et bloc de l'offre qui suit. */
.lettre-merci h1{text-align:center}
.suite-lettre-merci{margin:30px 0 0;padding:20px 18px 6px;border:2px solid var(--or);border-radius:12px;background:#FFFDF8;text-align:center}
.lettre p.lettre-sous-titre{text-align:center;font-weight:700;font-size:22px;color:var(--oeillet);margin:-14px 0 24px}
/* Contrôle de lecture : texte en Literata (Playfair seulement pour les titres), mentions à 18 px et alignées à gauche. */
.lettre p.phrase-cle{font-family:var(--texte);font-size:22px}
.lettre .bon-produit{font-family:var(--texte)}
.lettre .bon-securite,.lettre .bon-banque,.lettre .bon-paiement .bon-securite,.lettre .bon-paiement .bon-banque{font-size:18px;text-align:left}
/* Ornement entre deux mouvements d'une longue suite : trois losanges or dessinés en CSS. */
.lettre p.ornement{height:12px;margin:26px auto;width:72px;background:
  linear-gradient(45deg,transparent 40%,var(--or) 40% 60%,transparent 60%) 0 0/12px 12px no-repeat,
  linear-gradient(45deg,transparent 40%,var(--or) 40% 60%,transparent 60%) 30px 0/12px 12px no-repeat,
  linear-gradient(45deg,transparent 40%,var(--or) 40% 60%,transparent 60%) 60px 0/12px 12px no-repeat}
.lettre p.ornement{background:none;text-align:center}
.lettre p.ornement::before{content:"";display:inline-block;width:9px;height:9px;background:var(--or);transform:rotate(45deg);box-shadow:24px -24px 0 var(--or),-24px 24px 0 var(--or);margin-top:2px}
/* 2e repasse (19/11/2026) */
.lettre .bon-banque,.lettre .bon-paiement .bon-banque{margin:12px 0 22px;color:var(--encre-douce);font-size:18px;text-align:left}
.lettre .bon-paiement .lettre-action{margin-bottom:0}
.lettre .bon-paiement .bon-securite{margin:0 0 14px}
.lettre p.phrase-cle{color:var(--encre);text-wrap:balance;max-width:30ch;margin:28px auto}
.lettre h1,.lettre h2,.lettre h3,.lettre .bon-montant,.lettre .bon-prenom,.lettre .bon-prix-auteur{font-variant-numeric:lining-nums;font-feature-settings:"lnum"}
@media (max-width:600px){.lettre .lettre-engagement{margin:28px 3px;padding:16px 13px;outline-offset:3px}}
.lettre .lettre-engagement p.lettre-suite{margin-top:-6px}
.lettre p.bon-titre{text-align:center;font-weight:700;font-size:19px;color:var(--terre);margin:8px 0 4px}
.lettre h3.bon-rubrique{font-family:var(--texte);font-size:21px;margin:32px 0 10px}
.lettre p.bon-prix-auteur{text-align:center;font-family:var(--titres);font-weight:700;font-size:30px;color:var(--azulejo);margin:6px 0 16px}
.lettre p.bon-avant{text-align:center;font-size:18px;color:var(--encre-douce);margin:-20px 0 30px}
.lettre .bon-deja{text-align:left}.lettre .bon-deja p{margin:0 0 14px}
.lettre p.lettre-produit{font-family:var(--texte);font-size:21px}
.lettre .bon-prenom{white-space:nowrap}
.lettre p.lettre-etoile{text-align:center;color:var(--or);margin:-10px 0 18px}
/* Champs du bon (prénom de l'être cher, vœu prioritaire) : grandes cases, une par ligne, libellés lisibles. */
.lettre .lettre-champs{border:1px solid var(--filet);border-radius:10px;background:#FFFDF8;padding:16px 16px 6px;margin:18px 0 26px}
.lettre .lettre-champs legend,.lettre .lettre-champs > label{display:block;font-weight:700;font-size:20px;color:var(--azulejo);margin:0 0 8px;padding:0}
.lettre .lettre-champs legend{float:left;width:100%;margin-bottom:10px}
.lettre .lettre-champs input[type=text],.lettre .lettre-champs select,.lettre .lettre-champs textarea{display:block;width:100%;box-sizing:border-box;min-height:52px;margin:0 0 18px;padding:12px 14px;border:1px solid var(--bord-case);border-radius:8px;background:#fff;font:20px/1.4 var(--texte);color:var(--encre)}
.lettre .lettre-champs .lettre-choix{clear:both;display:flex;align-items:center;gap:12px;min-height:52px;margin:0 0 10px;padding:8px 14px;border:1px solid var(--bord-case);border-radius:8px;background:#fff;font-size:20px;cursor:pointer}
.lettre .lettre-champs .lettre-choix input{width:24px;height:24px;accent-color:var(--oeillet)}
.lettre .lettre-champs .lettre-choix:has(input:checked){border-color:var(--oeillet);background:#FBEDEE}

/* Direction B « Cierge et miel » : flamme au-dessus des titres (lucia.css), encadrés miel sans trait, engagement et paiement en
   cartes douces avec une ombre miel, prix en terre cuite, retour en terre cuite. */
.lettre h2::before{width:14px;height:22px;margin:0 auto 10px}
.lettre .lettre-encadre{background:var(--miel-clair);border:0;border-radius:18px;padding:14px 18px}
.lettre .lettre-engagement{background:var(--miel-papier);border:0;outline:0;border-radius:22px;box-shadow:0 6px 22px var(--ombre-miel);margin:30px 0;padding:20px 18px}
@media (max-width:600px){.lettre .lettre-engagement{margin:28px 0;padding:18px 16px}}
.lettre .bon-paiement{background:var(--miel-papier);border:0;border-radius:26px;box-shadow:0 8px 26px var(--ombre-miel);padding:20px 16px 8px}
.lettre .bon-prix,.lettre p.bon-prix-auteur{color:var(--terre-cuite-fonce)}
.lettre-action .bouton,.lettre button.bouton{background-color:var(--terre-cuite);background-image:linear-gradient(180deg,var(--terre-cuite),var(--terre-cuite-fonce));border-radius:999px;box-shadow:0 6px 16px rgba(151,56,41,.32)}
.lettre-action .bouton:hover,.lettre-action .bouton:focus,.lettre button.bouton:hover,.lettre button.bouton:focus{background-color:var(--terre-cuite-fonce);background-image:linear-gradient(180deg,#A84634,#86301F)}
.lettre .lettre-action .bouton-secondaire{color:var(--terre-cuite-fonce)}
/* Citation encadrée à l'intérieur de l'engagement : jamais de cadre dans un cadre, un simple filet doré */
.lettre .lettre-engagement .lettre-encadre{background:none;border-radius:0;border-left:3px solid var(--or);padding:2px 0 2px 16px;margin:14px 0}

/* Lettre montrée sous un autre contenu (merci, lecture, fin du tirage : lucia_lettre_integree) : même rendu que sa page, séparée du texte au-dessus. */
.lettre-integree{margin:44px 0 0;padding:32px 0 0;border-top:2px solid var(--or);font-size:20px;line-height:1.7;color:var(--encre);text-align:left}
.lettre-integree .lettre{margin:0}
