/* Site de Nancy — chargée APRÈS le <style> de base.html.
   On ne réécrit que la palette et quelques blocs propres au site : tous les
   composants (boutons, cartes, panier, formulaires) restent ceux de la
   boutique. Clair par défaut (sites.py → default_theme). */

[data-theme="light"] {
    --bg:     #fbf7f2;   /* crème */
    --bg2:    #f3ebe2;
    --bg3:    #e9ddd0;
    --line:   #e0d2c3;
    --text:   #2b2320;
    --muted:  #6f625b;   /* 5.6:1 sur --bg */
    --accent: #a5553a;   /* terracotta, 5:1 sur --bg : lisible en texte */
    --accent2:#c98b6b;
    --sage:   #6f8a6e;
    --gold-shine: linear-gradient(135deg, #f2c7a5 0%, #e9a987 50%, #f2c7a5 100%);
}

[data-theme="dark"] {
    --bg:     #1b1513;
    --bg2:    #241c19;
    --bg3:    #2e2420;
    --line:   #3d302a;
    --text:   #f1e8e1;
    --muted:  #b3a39a;
    --accent: #e9a987;
    --accent2:#f2c7a5;
    --sage:   #9db59b;
    --gold-shine: linear-gradient(135deg, #f2c7a5 0%, #e9a987 50%, #f2c7a5 100%);
}

body { line-height: 1.7; }
.prose p, .prose li { font-size: 1.08rem; max-width: 64ch; }
.prose h2 { margin-top: 1.6em; }

/* ── Accueil ──────────────────────────────────────────────────────────── */

.n-hero {
    display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center;
    padding-block: 72px 56px;
}
.n-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.08; }
.n-hero h1 .script { font-size: 1.15em; }
.n-hero__lead { font-size: 1.2rem; color: var(--muted); max-width: 46ch; }
.n-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.n-hero__card {
    background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 36px 32px;
}
@media (max-width: 860px) { .n-hero { grid-template-columns: 1fr; gap: 32px; padding-top: 40px; } }

.n-quote {
    font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 1.8rem);
    line-height: 1.4; margin: 0;
}
.n-quote footer { font-style: normal; font-size: .95rem; color: var(--muted); margin-top: 12px; }

.n-band { background: var(--bg2); border-block: 1px solid var(--line); }

/* ── Formats d'accompagnement ─────────────────────────────────────────── */

.n-formats {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px;
}
.n-format {
    display: flex; flex-direction: column; gap: 8px;
    background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 24px;
}
.n-format:hover { border-color: var(--accent2); }
.n-format i { font-size: 1.8rem; color: var(--sage); }
.n-format h3 { font-size: 1.2rem; margin: 4px 0 0; }
.n-format p { margin: 0; color: var(--muted); font-size: .95rem; }
.n-format .n-format__link { margin-top: auto; padding-top: 8px; color: var(--accent); font-weight: 600; }

.n-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; padding: 0; margin: 0; }
.n-steps li { list-style: none; counter-increment: step; }
.n-steps li::before {
    content: counter(step); display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%; margin-bottom: 10px;
    background: var(--bg3); color: var(--accent); font-family: var(--serif); font-weight: 600;
}
@media (max-width: 760px) { .n-steps { grid-template-columns: 1fr; } }

/* ── Encadrés ─────────────────────────────────────────────────────────── */

.n-notice {
    border-left: 4px solid var(--sage); background: var(--bg2);
    border-radius: var(--radius-sm); padding: 16px 20px; max-width: 72ch;
}
.n-notice p { margin: .3em 0; }

.n-form { max-width: 680px; }
.n-form .checks label { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.n-form .checks a, .n-notice a, .prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.n-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.n-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .n-split { grid-template-columns: 1fr; } }
