/* Pluméo — site de vente. Couleurs reprises du logiciel. */

@font-face {
  font-family: 'Literata';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(/polices/literata.woff2) format('woff2');
}
@font-face {
  font-family: 'Literata';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/polices/literata-italique.woff2) format('woff2');
}

:root {
  --nuit: #2b2a33;
  --nuit-2: #22212a;
  --or: #e0a43a;
  --or-fonce: #965c1c;
  --papier: #f6f3ec;
  --carte: #fffdf8;
  --encre: #26252b;
  --doux: #66625a;
  --trait: #e2ddd1;
  --lien: var(--or-fonce);
  --ombre: 0 1px 2px rgba(38, 37, 43, .06), 0 8px 28px rgba(38, 37, 43, .08);
  --serif: 'Literata', Georgia, 'Times New Roman', serif;
  --sans: 'Segoe UI', system-ui, -apple-system, Roboto, 'Helvetica Neue', Arial, sans-serif;
  --large: 1120px;
  --etroit: 720px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --papier: #1d1c22;
    --carte: #26252d;
    --encre: #ece8df;
    --doux: #aaa497;
    --trait: #3a3842;
    --lien: #e8b65a;
    --ombre: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 28px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font: 18px/1.65 var(--sans);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lien); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--or); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.2; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin: 0 0 .4em; }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.4rem); margin: 0 0 .5em; }
h3 { font-size: 1.3rem; margin: 0 0 .4em; }
p { margin: 0 0 1em; text-wrap: pretty; }
.surtitre { font: 600 .82rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--lien); margin-bottom: .8em; }
.chapeau { font-size: 1.2rem; color: var(--doux); max-width: 40em; }
.petit { font-size: .9rem; color: var(--doux); }
.centre { text-align: center; }
.centre .chapeau { margin-inline: auto; }

.lien-evitement { position: absolute; left: -999px; top: 8px; background: var(--carte); padding: 8px 14px; z-index: 50; }
.lien-evitement:focus { left: 8px; }

/* Mise en page */
.cadre { width: 100%; max-width: var(--large); margin: 0 auto; padding: 0 24px; }
.cadre.etroit { max-width: var(--etroit); }
.section { padding: clamp(56px, 9vw, 104px) 0; }
.section:not(.teinte, .nuit) + .section:not(.teinte, .nuit) { padding-top: 0; }
.section.teinte { background: var(--carte); border-block: 1px solid var(--trait); }
@media (max-width: 600px) { .cadre { padding: 0 16px; } body { font-size: 17px; } }

/* En-tête */
.entete {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--papier) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--trait);
}
.entete .cadre { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.marque { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--encre); font: 500 1.45rem/1 var(--serif); }
.logo {
  display: inline-block; width: 38px; height: 38px; background: var(--or);
  -webkit-mask: url(/images/logo.png) center / contain no-repeat;
  mask: url(/images/logo.png) center / contain no-repeat;
}
.menu { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.menu a:not(.bouton) { color: var(--encre); text-decoration: none; padding: 8px 12px; border-radius: 8px; font-size: .95rem; }
.menu a:not(.bouton):hover, .menu a[aria-current] { background: color-mix(in srgb, var(--or) 16%, transparent); }
.menu .bouton { margin-left: 10px; }
.bascule-menu { display: none; margin-left: auto; background: none; border: 1px solid var(--trait); color: var(--encre); border-radius: 10px; padding: 8px 12px; font: inherit; font-size: .95rem; cursor: pointer; }
@media (max-width: 880px) {
  .bascule-menu { display: block; }
  .menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; background: var(--papier); border-bottom: 1px solid var(--trait); box-shadow: var(--ombre); }
  .menu.ouvert { display: flex; }
  .menu a:not(.bouton) { padding: 12px; }
  .menu .bouton { margin: 8px 0 0; }
}

/* Boutons */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  background: var(--or); color: #241a08; border: 0; border-radius: 12px;
  padding: 14px 26px; font: 600 1.05rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 6px 18px rgba(224, 164, 58, .28);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.bouton:hover { background: #e9b04a; transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 10px 24px rgba(224, 164, 58, .34); }
.bouton.petit-bouton { padding: 9px 16px; font-size: .92rem; border-radius: 10px; box-shadow: none; }
.bouton.grand { padding: 18px 34px; font-size: 1.15rem; }
.bouton.discret { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px currentColor; }
.bouton.discret:hover { background: color-mix(in srgb, currentColor 8%, transparent); transform: none; }
.bouton[aria-disabled="true"] { opacity: .55; cursor: default; pointer-events: none; }
.sous-bouton { margin-top: 12px; font-size: .9rem; color: var(--doux); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.centre .actions { justify-content: center; }

/* Héros (fond nuit, lumière de lampe) */
.heros {
  background:
    radial-gradient(60% 70% at 85% 10%, rgba(224, 164, 58, .22), transparent 70%),
    radial-gradient(50% 50% at 10% 100%, rgba(224, 164, 58, .08), transparent 70%),
    var(--nuit);
  color: #f3efe6; padding: clamp(56px, 8vw, 96px) 0 0; overflow: hidden;
}
.heros h1 { color: #fffaf0; }
.heros .chapeau { color: #cfc8ba; }
.heros .sous-bouton { color: #b3ac9f; }
.heros .surtitre { color: var(--or); }
.heros-texte { max-width: 760px; }
.heros .ecran { margin-top: clamp(40px, 6vw, 72px); margin-bottom: -2px; }

/* Cadre d'ordinateur autour des captures */
.ecran {
  border-radius: 14px 14px 0 0; background: #15141a; padding: 10px 10px 0;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .06) inset;
}
.ecran img { border-radius: 6px 6px 0 0; }
.capture { border-radius: 12px; overflow: hidden; box-shadow: var(--ombre); border: 1px solid var(--trait); background: var(--carte); }
figure { margin: 0; }
figcaption { font-size: .9rem; color: var(--doux); margin-top: 10px; }

/* Grilles */
.grille { display: grid; gap: 24px; }
.grille.deux { grid-template-columns: repeat(2, 1fr); }
.grille.trois { grid-template-columns: repeat(3, 1fr); }
.grille.quatre { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grille.trois, .grille.quatre { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grille.deux, .grille.trois, .grille.quatre { grid-template-columns: 1fr; } }

.carte { background: var(--carte); border: 1px solid var(--trait); border-radius: 16px; padding: 26px; }
.carte h3 { margin-bottom: .35em; }
.carte p:last-child { margin-bottom: 0; }
.carte .icone { font-size: 1.6rem; line-height: 1; margin-bottom: 14px; display: block; }

/* Frustrations */
.citation-vecue { font-family: var(--serif); font-style: italic; font-size: 1.15rem; line-height: 1.5; margin-bottom: .6em; }

/* Avant / après */
.avant-apres { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0; border: 1px solid var(--trait); border-radius: 18px; overflow: hidden; background: var(--carte); }
.avant-apres > div { padding: 28px; }
.avant-apres .fleche { display: grid; place-items: center; padding: 0 6px; color: var(--or); font-size: 1.6rem; background: var(--papier); }
.avant-apres h3 { font-size: 1.05rem; font-family: var(--sans); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--doux); }
.avant-apres .apres h3 { color: var(--lien); }
.avant-apres ul { margin: 0; padding: 0; list-style: none; }
.avant-apres li { padding: 10px 0; border-top: 1px dashed var(--trait); }
.avant-apres li:first-child { border-top: 0; }
.avant-apres .avant li { color: var(--doux); }
@media (max-width: 720px) {
  .avant-apres { grid-template-columns: 1fr; }
  .avant-apres .fleche { padding: 6px; transform: rotate(90deg); }
}

/* Blocs bénéfices alternés */
.benefice { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.benefice + .benefice { margin-top: clamp(64px, 9vw, 112px); }
.benefice:nth-child(even) { grid-template-columns: 7fr 5fr; }
.benefice:nth-child(even) .benefice-texte { order: 2; }
.benefice .preuve { list-style: none; padding: 0; margin: 18px 0 0; font-size: .95rem; color: var(--doux); }
.benefice .preuve li { padding-left: 26px; position: relative; margin: 6px 0; }
.benefice .preuve li::before { content: ''; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--or); }
@media (max-width: 820px) {
  .benefice, .benefice:nth-child(even) { grid-template-columns: 1fr; }
  .benefice:nth-child(even) .benefice-texte { order: 0; }
}

/* Galerie à onglets (démonstration) */
.onglets { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 22px; }
.onglets button {
  font: 500 .95rem/1 var(--sans); padding: 10px 16px; border-radius: 999px; cursor: pointer;
  background: var(--carte); color: var(--encre); border: 1px solid var(--trait);
}
.onglets button[aria-selected="true"] { background: var(--nuit); color: #fff8e8; border-color: var(--nuit); }
@media (prefers-color-scheme: dark) { .onglets button[aria-selected="true"] { background: var(--or); color: #241a08; border-color: var(--or); } }
.panneau[hidden] { display: none; }
.panneau p { text-align: center; color: var(--doux); margin-top: 14px; }

/* Genres */
.genre { text-align: left; }
.genre .arbre { font-family: var(--serif); font-size: .98rem; color: var(--doux); margin-top: 12px; padding-left: 14px; border-left: 2px solid var(--or); }

/* Bloc confiance (nuit) */
.nuit { background: var(--nuit); color: #ece7dc; }
.nuit h2, .nuit h3 { color: #fffaf0; }
.nuit .chapeau, .nuit p { color: #cfc8ba; }
.nuit a { color: var(--or); }
.nuit .carte { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.engagements { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.engagements li { border-top: 1px solid rgba(224, 164, 58, .45); padding-top: 16px; }
.engagements strong { display: block; color: #fffaf0; font-family: var(--serif); font-weight: 500; font-size: 1.15rem; margin-bottom: 4px; }

/* Histoire */
.histoire-extrait { display: grid; grid-template-columns: 180px 1fr; gap: 40px; align-items: center; }
.medaillon { width: 180px; height: 180px; border-radius: 50%; background: var(--nuit); display: grid; place-items: center; box-shadow: var(--ombre); }
.medaillon .logo { width: 116px; height: 116px; }
.histoire-extrait blockquote { margin: 0; font-family: var(--serif); font-size: 1.25rem; line-height: 1.6; }
@media (max-width: 680px) { .histoire-extrait { grid-template-columns: 1fr; justify-items: center; text-align: center; } }

.recit { font-family: var(--serif); font-size: 1.15rem; line-height: 1.8; }
.recit p:first-of-type::first-letter { float: left; font-size: 3.6em; line-height: .85; padding: .06em .1em 0 0; color: var(--lien); }
.signature { font-family: var(--serif); font-style: italic; color: var(--doux); margin-top: 2em; }

/* Prix */
.offre { max-width: 560px; margin: 0 auto; background: var(--carte); border: 1px solid var(--trait); border-radius: 22px; padding: clamp(28px, 5vw, 44px); box-shadow: var(--ombre); text-align: center; position: relative; }
.offre::before { content: ''; position: absolute; inset: 0 0 auto; height: 6px; border-radius: 22px 22px 0 0; background: var(--or); }
.offre h2, .offre h3 { margin-bottom: .2em; }
.prix { font-family: var(--serif); font-size: clamp(3rem, 8vw, 4.2rem); line-height: 1; margin: 18px 0 6px; font-weight: 500; }
.prix del { font-size: .45em; color: var(--doux); margin-right: .3em; vertical-align: .55em; text-decoration-thickness: 2px; }
.prix small { font-size: .3em; color: var(--doux); font-family: var(--sans); vertical-align: .9em; }
.lancement { display: inline-block; background: color-mix(in srgb, var(--or) 18%, transparent); color: var(--lien); padding: 6px 14px; border-radius: 999px; font-weight: 600; font-size: .92rem; margin-bottom: 10px; }
.inclus { list-style: none; padding: 0; margin: 24px 0; text-align: left; }
.inclus li { padding: 9px 0 9px 32px; position: relative; border-top: 1px solid var(--trait); }
.inclus li::before { content: '✓'; position: absolute; left: 4px; color: var(--lien); font-weight: 700; }
.offre .bouton { width: 100%; }
.offre .actions { flex-direction: column; align-items: stretch; }
.note-achat { font-size: .92rem; color: var(--doux); margin-top: 14px; }

/* Encadrés */
.encadre { border-radius: 14px; padding: 20px 24px; background: color-mix(in srgb, var(--or) 10%, var(--carte)); border: 1px solid color-mix(in srgb, var(--or) 40%, var(--trait)); }
.encadre h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 600; }
.encadre p:last-child, .encadre ol:last-child, .encadre ul:last-child { margin-bottom: 0; }

/* Étapes */
.etapes { counter-reset: etape; list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.etapes > li { counter-increment: etape; position: relative; padding: 22px 24px 22px 76px; background: var(--carte); border: 1px solid var(--trait); border-radius: 16px; }
.etapes > li::before { content: counter(etape); position: absolute; left: 22px; top: 20px; width: 38px; height: 38px; border-radius: 50%; background: var(--nuit); color: var(--or); display: grid; place-items: center; font: 600 1.1rem/1 var(--serif); }
.etapes h3 { font-family: var(--sans); font-size: 1.08rem; font-weight: 600; margin-bottom: .3em; }
.etapes p:last-child { margin-bottom: 0; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--trait); }
.faq details:first-of-type { border-top: 1px solid var(--trait); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font: 500 1.12rem/1.4 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 16px; font: 300 1.6rem/1 var(--sans); color: var(--lien); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .reponse { padding: 0 0 20px; color: var(--doux); }
.faq .reponse p:last-child { margin-bottom: 0; }

/* Fonctionnalités */
.theme { padding-block: clamp(40px, 6vw, 72px); border-top: 1px solid var(--trait); }
.theme:first-of-type { border-top: 0; }
.theme-tete { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: start; }
.liste-fonctions { columns: 2 280px; column-gap: 40px; padding: 0; list-style: none; margin: 28px 0 0; }
.liste-fonctions li { break-inside: avoid; padding: 8px 0 8px 22px; position: relative; }
.liste-fonctions li::before { content: ''; position: absolute; left: 2px; top: 1.05em; width: 8px; height: 2px; background: var(--or); }
@media (max-width: 820px) { .theme-tete { grid-template-columns: 1fr; gap: 24px; } }
.sommaire { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.sommaire a { text-decoration: none; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--trait); color: var(--encre); background: var(--carte); font-size: .92rem; }
.sommaire a:hover { border-color: var(--or); }
kbd { font: 600 .82em var(--sans); background: var(--carte); border: 1px solid var(--trait); border-bottom-width: 2px; border-radius: 5px; padding: 1px 6px; white-space: nowrap; }

/* Ressources */
.ressource { display: flex; flex-direction: column; }
.ressource p { flex: 1; }
.ressource .numero { font: 500 2.4rem/1 var(--serif); color: var(--or); margin-bottom: 10px; }

/* Appel final */
.appel-final { text-align: center; }
.appel-final h2 { font-size: clamp(2rem, 4.6vw, 3rem); }

/* Pages simples (légal, contact) */
.page-tete { padding: clamp(48px, 7vw, 80px) 0 clamp(24px, 4vw, 40px); }
.texte-legal h2 { font-size: 1.45rem; margin-top: 1.8em; }
.texte-legal h3 { font-size: 1.1rem; font-family: var(--sans); font-weight: 600; margin-top: 1.4em; }
.a-completer { background: #fff1c9; color: #6b4410; border-radius: 4px; padding: 0 4px; font-weight: 600; }
@media (prefers-color-scheme: dark) { .a-completer { background: #5a4313; color: #ffe2a0; } }

/* Pied de page */
.pied { background: var(--nuit-2); color: #bdb6a8; padding: 56px 0 40px; font-size: .95rem; margin-top: 0; }
.pied a { color: #e3dccd; text-decoration: none; }
.pied a:hover { text-decoration: underline; }
.pied .grille { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.pied h2 { font: 600 .8rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--or); margin-bottom: 14px; }
.pied ul { list-style: none; padding: 0; margin: 0; }
.pied li { margin: 7px 0; }
.pied .marque { color: #fffaf0; margin-bottom: 12px; }
.pied .bas { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .88rem; }
@media (max-width: 820px) { .pied .grille { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pied .grille { grid-template-columns: 1fr; } }

/* Apparition douce au défilement */
@media (prefers-reduced-motion: no-preference) {
  .js .apparait { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
  .js .apparait.visible { opacity: 1; transform: none; }
}

/* Engagement « sans IA, pour toujours » (accueil) : pastille dorée sous le chapeau. */
.engagement-ia { display: inline-block; margin: 22px auto 0; padding: 10px 20px; border: 1px solid var(--or); border-radius: 999px; background: color-mix(in srgb, var(--or) 12%, transparent); font-size: 1rem; }
.engagement-ia strong { color: var(--lien); }
@media (max-width: 640px) { .engagement-ia { border-radius: 16px; } }
