/* Pages exemples : chrome de base, puis css/editorial.css par-dessus. */

:root {
    --bg: #faf6ef;
    --bg-2: #f2ebdf;
    --bg-card: #fffdf9;
    --border: #e6dccb;
    --accent: #5b2a86;
    --accent-dim: rgba(91, 42, 134, 0.07);
    --accent-glow: rgba(91, 42, 134, 0.25);
    --ink-deep: #241430;
    --text: #1f1a17;
    --text-muted: #5a5047;
    --text-dim: #958a7e;
    --white: #fffdf9;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16.5px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

nav {
    position: fixed; top: 0; width: 100%; z-index: 100;
    background: rgba(250, 246, 239, 0.88);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}
.nav-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 64px;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
    font-family: var(--font-display); font-weight: 700; font-size: 1.28rem;
    color: var(--text); text-decoration: none;
}
.nav-logo span { color: var(--accent); font-style: italic; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a {
    color: var(--text-muted); text-decoration: none; font-size: 0.84rem; font-weight: 500;
    padding: 6px 12px; border-radius: 6px;
}
.nav-cta {
    background: var(--ink-deep) !important; color: var(--bg) !important;
    border-radius: 999px !important; padding: 8px 18px !important; font-weight: 600 !important;
}
.mobile-menu-btn {
    display: none; background: none; border: none; color: var(--text);
    font-size: 1.2rem; cursor: pointer; padding: 8px;
}
.mobile-menu { display: none; background: var(--bg); border-top: 1px solid var(--border); padding: 12px 24px 20px; }
.mobile-menu a {
    display: block; color: var(--text-muted); text-decoration: none;
    padding: 10px 0; border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: none; }

.hero { padding: 150px 0 72px; position: relative; overflow: hidden; }
.hero-grid, .hero-glow { position: absolute; inset: 0; pointer-events: none; }
.hero-content { position: relative; z-index: 1; text-align: center; max-width: 820px; margin: 0 auto; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 14px;
    color: #b4532a; font-size: 0.72rem; letter-spacing: 0.2em;
    text-transform: uppercase; font-weight: 600; margin-bottom: 28px;
}
h1 {
    font-family: var(--font-display); font-weight: 600;
    font-size: clamp(2.4rem, 5.5vw, 4.2rem); line-height: 1.06;
    letter-spacing: -0.025em; color: var(--ink-deep); margin-bottom: 22px;
}
h1 .accent { font-style: italic; font-weight: 500; color: var(--accent); }
.hero-sub { font-size: 1.12rem; color: var(--text-muted); max-width: 640px; margin: 0 auto 36px; font-weight: 400; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn-primary, .btn-secondary {
    display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
    font-weight: 600; font-size: 0.9rem; padding: 14px 26px; border-radius: 999px;
}
.btn-primary { background: var(--ink-deep); color: var(--bg); }
.btn-secondary { background: transparent; color: var(--text); border: 1px solid var(--border); }

section { padding: 88px 0; position: relative; }
.section-alt { background: var(--bg-2); }
.section-label {
    display: inline-flex; align-items: center; gap: 12px;
    font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--accent); font-weight: 600; margin-bottom: 12px;
}
h2 {
    font-family: var(--font-display); font-weight: 600;
    font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -0.02em;
    color: var(--ink-deep); margin-bottom: 14px; line-height: 1.15;
}
.section-header { margin-bottom: 40px; }
.section-header.centered { text-align: center; }
.section-sub { color: var(--text-muted); max-width: 560px; margin: 0 auto; }

.notice {
    display: flex; gap: 14px; align-items: flex-start;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 14px; padding: 16px 18px; margin-bottom: 28px;
    color: var(--text-muted); font-size: 0.95rem;
}
.notice i { color: var(--accent); margin-top: 3px; }
.notice strong { color: var(--text); }

.grid-metiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.metier-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px;
    padding: 26px 24px 22px; display: flex; flex-direction: column; min-height: 100%;
}
.metier-card h3 { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; margin-bottom: 8px; color: var(--ink-deep); }
.metier-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 14px; }
.metier-card ul { list-style: none; margin-bottom: 18px; }
.metier-card li { color: var(--text-muted); font-size: 0.9rem; padding: 4px 0 4px 16px; position: relative; }
.metier-card li::before { content: ''; position: absolute; left: 0; top: 12px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.metier-card a { margin-top: auto; color: var(--accent); font-weight: 600; text-decoration: none; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 22px;
}
.card h3 { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 8px; color: var(--ink-deep); }
.card p { color: var(--text-muted); font-size: 0.92rem; }

.apres {
    display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 28px; align-items: start;
}
.checklist { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.checklist li { color: var(--text-muted); padding-left: 22px; position: relative; }
.checklist li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.checklist--plus li::before { content: '+'; }
.section-label.offre-label { display: block; margin-top: 22px; margin-bottom: 4px; }
.lien-rangee { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; }
.lien-rangee a { color: var(--accent); font-weight: 600; text-decoration: none; }
.prix {
    background: var(--ink-deep); color: var(--bg); border-radius: 16px; padding: 28px 24px;
}
.prix h3 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 8px; }
.prix .montant { font-family: var(--font-display); font-size: 2rem; line-height: 1.1; margin-bottom: 8px; }
.prix .montant span { display: block; font-family: var(--font-body); font-size: 0.95rem; font-weight: 400; opacity: 0.8; margin-top: 6px; }
.prix p { color: rgba(250, 246, 239, 0.82); font-size: 0.92rem; margin-bottom: 16px; }
.prix .btn-primary { background: var(--bg); color: var(--ink-deep); }
.prix .retour { display: inline-block; margin-top: 14px; color: var(--bg); }

.cta-section { text-align: center; background: var(--bg-2); }
.cta-section p { color: var(--text-muted); max-width: 520px; margin: 0 auto 28px; }

footer { background: var(--bg); border-top: 1px solid var(--border); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 32px; border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.footer-brand { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 10px; }
.footer-desc { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 16px; }
.social-links { display: flex; gap: 10px; }
.social-link {
    width: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center; color: var(--text-muted); text-decoration: none;
}
.footer-title { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: #b4532a; margin-bottom: 14px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; }
.footer-contact-item { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 8px; }
.footer-contact-item a { color: var(--text-muted); text-decoration: none; }
.footer-bottom { text-align: center; color: var(--text-dim); font-size: 0.82rem; }
.footer-bottom a { color: var(--text-muted); text-decoration: none; }

.lecteur { margin-top: 8px; }
.lecteur__barre {
    display: flex; align-items: center; gap: 12px;
    background: var(--ink-deep); color: var(--bg);
    border-radius: 14px 14px 0 0; padding: 10px 12px;
}
.lecteur__pastilles { display: flex; gap: 6px; }
.lecteur__pastilles span { width: 10px; height: 10px; border-radius: 50%; background: rgba(250,246,239,0.35); }
.lecteur__url {
    flex: 1; text-align: center; font-size: 0.82rem;
    background: rgba(250,246,239,0.08); border-radius: 999px; padding: 6px 12px;
}
.lecteur__url b {
    display: inline-block; margin-right: 8px; font-size: 0.68rem; letter-spacing: 0.08em;
    text-transform: uppercase; color: #f0d7b0;
}
.lecteur__vues { display: flex; gap: 4px; }
.lecteur__vues button, .lecteur__ecrans button {
    font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit;
}
.lecteur__vues button {
    color: rgba(250,246,239,0.7); border-radius: 999px; padding: 6px 10px; font-size: 0.8rem;
}
.lecteur__vues button[aria-pressed="true"] { background: var(--bg); color: var(--ink-deep); }
.lecteur__scene { background: #e7dfd2; border: 1px solid var(--border); border-top: 0; padding: 22px 12px; }
.lecteur__cadre {
    width: min(100%, 1040px); height: 680px; margin: 0 auto;
    background: white; border-radius: 10px; overflow: hidden;
    box-shadow: 0 24px 50px -28px rgba(36, 20, 48, 0.45);
    transition: width 0.35s ease;
}
.lecteur.is-mobile .lecteur__cadre { width: min(100%, 390px); height: 720px; border-radius: 24px; }
.lecteur__cadre iframe { width: 100%; height: 100%; border: 0; background: white; }
.lecteur__ecrans {
    list-style: none; display: flex; flex-wrap: wrap; gap: 8px;
    padding: 14px; border: 1px solid var(--border); border-top: 0;
    border-radius: 0 0 14px 14px; background: var(--bg-card);
}
.lecteur__ecrans button {
    color: var(--text); background: var(--bg); border: 1px solid var(--border);
    border-radius: 999px; padding: 8px 14px; font-size: 0.88rem;
}
.lecteur__ecrans button[aria-pressed="true"] { background: var(--ink-deep); color: var(--bg); border-color: var(--ink-deep); }
.lecteur__ecrans b { margin-right: 6px; font-weight: 600; }
.lecteur__note { margin-top: 12px; color: var(--text-muted); font-size: 0.9rem; }

@media (max-width: 900px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .footer-grid, .apres { grid-template-columns: 1fr; }
    .lecteur__barre { flex-wrap: wrap; }
    .lecteur__url { order: 3; flex-basis: 100%; }
    .lecteur__cadre, .lecteur.is-mobile .lecteur__cadre { height: 560px; }
}
