/* =====================================================================
   Pages SEO, blocs « façon Apple » (27/09/2026)
   S'ajoute à articles.css et seo-pages.css, jamais chargé par /offre.
   Principes : une idée par bloc, de l'air, la preuve (l'écran du guide)
   juste à côté de l'affirmation, un seul bouton d'action par bloc.
   ===================================================================== */

/* ---------- La démo : le guide en action ---------- */
.seo-demo {
    background: var(--cream-dark);
    border-block: 1px solid var(--border);
    padding: clamp(64px, 9vw, 112px) 24px;
    text-align: center;
}
.seo-demo-inner { max-width: 980px; margin: 0 auto; }
.seo-demo .art-eyebrow { margin-bottom: 14px; }
.seo-demo h2 {
    font-family: var(--font-display); font-weight: 600; color: var(--espresso);
    font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.12; letter-spacing: -.01em;
    margin: 0 auto 16px; max-width: 22ch;
}
.seo-demo-lead { color: var(--zinc); font-size: 1.1rem; line-height: 1.6; max-width: 58ch; margin: 0 auto 36px; }
.seo-demo .qs-b { background: rgba(255,255,255,.55); }
.seo-demo .dev-tab--xl { max-width: 760px; }
.seo-demo-cta { margin-top: 40px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.seo-demo-cta .art-cta-btn { margin: 0; }
.seo-demo-note { color: var(--zinc); font-size: .88rem; margin: 0; }

/* ---------- Les écrans du guide (captures réelles, petites) ---------- */
.seo-shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 28px 0; }
.seo-shot { margin: 0; background: #fff; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
.seo-shot img { display: block; width: 100%; height: auto; border-bottom: 1px solid var(--border); }
.seo-shot-body { padding: 18px 20px 20px; }
.seo-shot h3 { margin: 0 0 6px; font-size: 1.05rem; }
.seo-shot p { margin: 0; color: var(--zinc); font-size: .95rem; line-height: 1.55; }

/* ---------- Trois étapes, avec leur durée ---------- */
.art-body .seo-steps, .seo-steps { list-style: none; padding: 0; margin: 28px 0; max-width: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: etape; }
.seo-steps li { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 24px 22px; counter-increment: etape; }
.seo-steps li::before {
    content: "0" counter(etape); display: block; font-family: var(--font-display);
    font-size: 2.2rem; line-height: 1; color: var(--sienna); margin-bottom: 14px;
}
.seo-steps h3 { margin: 0 0 8px; font-size: 1.05rem; line-height: 1.35; }
.seo-steps p { margin: 0; color: var(--zinc); font-size: .95rem; line-height: 1.55; }
.seo-time {
    display: inline-block; margin-bottom: 10px; padding: 4px 11px; border-radius: 999px;
    background: rgba(186,74,44,.08); color: var(--sienna); font-size: .8rem; font-weight: 600;
}

/* ---------- Le prix, lisible d'un coup d'œil ---------- */
.seo-offer {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 0;
    background: #fff; border: 1px solid var(--border); border-radius: 24px; overflow: hidden; margin: 28px 0;
}
.seo-offer-price { padding: clamp(28px, 4vw, 44px); background: var(--espresso); color: #FAF8F5; display: flex; flex-direction: column; justify-content: center; }
.seo-offer-price .amount { font-family: var(--font-display); font-size: clamp(3rem, 6vw, 4.2rem); line-height: 1; margin: 0; }
.seo-offer-price .amount small { font-family: var(--font-body); font-size: 1.05rem; font-weight: 500; opacity: .8; }
.seo-offer-price p { margin: 14px 0 0; color: rgba(250,248,245,.78); line-height: 1.55; }
.seo-offer-price .art-cta-btn { margin-top: 26px; align-self: flex-start; }
.art-body .seo-offer-list, .seo-offer-list { list-style: none; margin: 0; max-width: none; padding: clamp(24px, 4vw, 40px); display: grid; gap: 12px; align-content: center; }
.seo-offer-list li { position: relative; padding-left: 30px; line-height: 1.5; }
.seo-offer-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--sienna); font-weight: 700; }
.seo-offer-list li.is-muted { color: var(--zinc); }
.seo-offer-list li.is-muted::before { content: "–"; color: var(--zinc); }
.seo-guarantees { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 20px 0 28px; }
.seo-guarantees > div { border: 1px solid var(--border); border-radius: 16px; padding: 18px 20px; background: var(--cream); }
.seo-guarantees b { display: block; margin-bottom: 4px; }
.seo-guarantees span { color: var(--zinc); font-size: .92rem; line-height: 1.5; }

/* ---------- FAQ : signe + et -, comme sur les pages produit ---------- */
.seo-faq summary { list-style: none; position: relative; padding-right: 36px; }
.seo-faq summary::-webkit-details-marker { display: none; }
.seo-faq summary::after {
    content: "+"; position: absolute; right: 4px; top: -2px; font-weight: 400; font-size: 1.5rem; color: var(--sienna);
    transition: transform .25s cubic-bezier(.2,.8,.2,1);
}
.seo-faq details[open] summary::after { transform: rotate(45deg); }

@media (max-width: 760px) {
    .seo-shots { grid-template-columns: 1fr; }
    .art-body .seo-steps, .seo-steps { grid-template-columns: 1fr; }
    .seo-offer { grid-template-columns: 1fr; }
    .seo-guarantees { grid-template-columns: 1fr; }
    .seo-demo { padding-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) { .seo-faq summary::after { transition: none; } }

/* ---------- Trois repères sous le chapeau de la démo ---------- */
.art-body .seo-demo-facts, .seo-demo-facts { list-style: none; padding: 0; margin: -12px auto 36px; max-width: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; font-size: .92rem; font-weight: 600; color: var(--espresso); }
.seo-demo-facts li::before { content: "✓"; margin-right: 8px; color: var(--sienna); }
@media (max-width: 560px) { .seo-demo-facts { flex-direction: column; align-items: center; gap: 8px; } }

/* =====================================================================
   /tarif/ (27/09/2026) : dans l'esprit du bloc d'achat de /offre
   (fond sombre, chiffre vedette, sélecteur en pilule), sans le copier.
   ===================================================================== */
.tf-hero { max-width: 880px; margin: 0 auto; padding: clamp(56px, 9vw, 120px) 24px clamp(40px, 6vw, 72px); text-align: center; }
.tf-hero h1 { font-family: var(--font-display); font-weight: 600; color: var(--espresso); font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.04; letter-spacing: -.02em; margin: 0 0 22px; }
.tf-hero h1 em { font-style: italic; color: var(--sienna); }
.tf-hero .seo-intro { max-width: 60ch; margin: 0 auto 30px; }
.tf-hero-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 26px; }
.tf-hero-actions .art-cta-btn { margin: 0; }
.tf-link { font-weight: 600; color: var(--sienna); }
.tf-link::after { content: " ›"; }

.tf-card {
    max-width: 1080px; margin: 0 auto clamp(56px, 8vw, 96px); border-radius: 32px; overflow: hidden;
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    background: radial-gradient(120% 120% at 0% 0%, #3A2E25 0%, #1C1611 55%, #120D09 100%); color: #FAF8F5;
    box-shadow: 0 40px 80px -40px rgba(28,22,17,.45);
}
.tf-card-main { padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; }
.tf-card-k { margin: 0 0 18px; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #E9A982; }
.tf-total { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(3.4rem, 7vw, 5.6rem); line-height: .95; letter-spacing: -.03em; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.tf-card.is-devis .tf-total { font-size: clamp(2.6rem, 5vw, 4rem); }
.tf-pour { margin: 12px 0 0; font-size: 1.05rem; color: rgba(250,248,245,.78); }
.tf-moyen { margin: 6px 0 0; min-height: 1.4em; font-size: .92rem; color: rgba(250,248,245,.55); }
.tf-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(250,248,245,.14); }
.tf-row-label { font-weight: 600; }
.tf-row-label small { display: block; font-weight: 400; font-size: .85rem; color: rgba(250,248,245,.6); margin-top: 2px; }
.tf-step { display: inline-flex; align-items: center; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(250,248,245,.1); }
.tf-step button { width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: #FAF8F5; font: inherit; font-size: 1.3rem; cursor: pointer; transition: background .2s; }
.tf-step button:hover:not(:disabled) { background: rgba(250,248,245,.16); }
.tf-step button:disabled { opacity: .3; cursor: default; }
.tf-step output { min-width: 40px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.tf-card-main .art-cta-btn { margin: 30px 0 0; align-self: flex-start; }
.tf-card-side { padding: clamp(32px, 5vw, 64px); background: rgba(250,248,245,.04); border-left: 1px solid rgba(250,248,245,.1); display: flex; flex-direction: column; justify-content: center; }
.tf-card-side h2 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; margin: 0 0 18px; color: #FAF8F5; }
.tf-card-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.tf-card-side li { position: relative; padding-left: 28px; line-height: 1.45; color: rgba(250,248,245,.88); }
.tf-card-side li::before { content: "✓"; position: absolute; left: 0; color: #E9A982; font-weight: 700; }
.tf-card-side li.is-hors { color: rgba(250,248,245,.55); }
.tf-card-side li.is-hors::before { content: "–"; color: rgba(250,248,245,.55); }
.tf-guar { margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(250,248,245,.14); display: grid; gap: 8px; font-size: .92rem; color: rgba(250,248,245,.75); }
.tf-guar b { color: #FAF8F5; }

.tf-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 28px 0; }
.tf-feat { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 24px 22px; }
.tf-feat-i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(186,74,44,.08); color: var(--sienna); margin-bottom: 14px; }
.tf-feat-i svg { width: 21px; height: 21px; }
.tf-feat h3 { margin: 0 0 6px; font-size: 1.02rem; }
.tf-feat p { margin: 0; color: var(--zinc); font-size: .93rem; line-height: 1.55; }

@media (max-width: 860px) {
    .tf-card { grid-template-columns: 1fr; margin-inline: 16px; }
    .tf-card-side { border-left: 0; border-top: 1px solid rgba(250,248,245,.1); }
    .tf-feats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .tf-feats { grid-template-columns: 1fr; }
    .tf-card-main .art-cta-btn { align-self: stretch; text-align: center; }
}

/* ---------- /a-propos/ (brouillon du 27/09/2026) ---------- */
.ap-portrait img { width: 100%; max-width: 380px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 24px; display: block; margin: 0 auto; box-shadow: 0 30px 60px -30px rgba(28,22,17,.45); }
/* Trous à combler avant publication : visibles exprès, à retirer avec le contenu. */
.todo { background: #FFF3B0; color: #5A4A00; border-radius: 8px; padding: 8px 12px; font-size: .9rem; font-weight: 600; }
.ap-portrait .todo { max-width: 380px; margin: 14px auto 0; }

/* =====================================================================
   Passe « façon Apple » (27/09/2026), commune aux pages SEO
   ===================================================================== */
/* Hero : une vraie photo du guide dans un lieu, plus l'écran répété. */
.seo-photo { margin: 0; }
.seo-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 28px; box-shadow: 0 40px 80px -40px rgba(28,22,17,.45); }
.seo-hero .seo-intro { font-size: 1.2rem; line-height: 1.55; max-width: 34ch; color: var(--zinc); }
/* La réponse simple se lit en premier : plus grande, plus foncée. */
.art-body > p.seo-answer { font-size: 1.2rem; line-height: 1.65; color: var(--espresso); max-width: 62ch; }
/* Titres de section : plus grands, plus d'air autour. */
.seo-content h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.15; letter-spacing: -.01em; margin-top: 2.2em; }
.seo-content > h2:first-child { margin-top: .4em; }
/* Apparition douce au défilement, sans JS ; rien n'est masqué si le navigateur ne sait pas faire. */
@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .seo-card, .seo-shot, .seo-steps li, .tf-feat, .seo-offer, .seo-guarantees > div {
            animation: seo-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 35%;
        }
    }
}
@keyframes seo-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.art-cta-note a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }
