/* ============================================================
   ARGENT & SEMENCES — Feuille de style principale
   Thème clair/sombre via [data-theme]
   ============================================================ */
:root {
    --primary: #2c5e2a;
    --primary-dark: #1a3a18;
    --primary-light: #4a8a46;
    --accent: #b7791f;
    --accent-light: #d4a24a;
    --bg: #fdfaf5;
    --bg-alt: #f5f0e8;
    --surface: #ffffff;
    --surface-alt: #fef9f3;
    --text: #2c2418;
    --text-muted: #6b6256;
    --border: #e2cfbc;
    --danger: #e53e3e;
    --success: #38a169;
    --shadow: 0 4px 20px rgba(44, 94, 42, 0.08);
    --radius: 16px;
    --radius-sm: 10px;
    --header-h: 70px;
    --transition: 0.25s ease;
}

[data-theme="dark"] {
    --primary: #6abf69;
    --primary-dark: #4a8a46;
    --primary-light: #8fd18d;
    --accent: #d4a24a;
    --bg: #14181a;
    --bg-alt: #1c2224;
    --surface: #1f2628;
    --surface-alt: #262e31;
    --text: #e8e4dc;
    --text-muted: #a8a49a;
    --border: #3a4245;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Segoe UI', Roboto, system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    transition: background var(--transition), color var(--transition);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
main { flex: 1; }

/* ============ HEADER ============ */
.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}
.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--primary); font-weight: 800; font-size: 1.15rem; }
.logo-icon { font-size: 1.6rem; }
.nav-main { display: flex; gap: 24px; }
.nav-main a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: color var(--transition); }
.nav-main a:hover { color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.btn-theme { background: var(--bg-alt); border: 1px solid var(--border); width: 42px; height: 42px; border-radius: 50%; cursor: pointer; font-size: 1.15rem; display: flex; align-items: center; justify-content: center; }
.btn-burger { display: none; background: none; border: 1px solid var(--border); border-radius: 8px; font-size: 1.4rem; padding: 6px 12px; cursor: pointer; color: var(--text); }

/* ============ BOUTONS ============ */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.92rem; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: all var(--transition); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 6px 12px; font-size: 0.82rem; }

/* ============ FORMULAIRES ============ */
input, select, textarea {
    width: 100%;
    padding: 11px 14px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: inherit;
    background: var(--surface-alt);
    color: var(--text);
    transition: border-color var(--transition);
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--surface);
}
label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 0.9rem; color: var(--text); }
.required::after { content: " *"; color: var(--danger); }

/* ============ CARROUSEL ============ */
.carousel {
    position: relative;
    height: 520px;
    overflow: hidden;
    border-radius: var(--radius);
    margin: 20px 0;
    box-shadow: var(--shadow);
}
.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}
.carousel-slide.active { opacity: 1; }
.carousel-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(44,94,42,0.75), rgba(26,58,24,0.85));
}
.carousel-content { position: relative; z-index: 2; max-width: 700px; padding: 20px; }
.carousel-content h1 { font-size: clamp(1.6rem, 4vw, 2.8rem); margin-bottom: 15px; text-shadow: 0 2px 20px rgba(0,0,0,0.4); }
.carousel-content p { font-size: clamp(1rem, 2vw, 1.2rem); margin-bottom: 25px; }
.carousel-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 3; }
.carousel-dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.4); border: none; cursor: pointer; transition: background var(--transition); }
.carousel-dot.active { background: #fff; }

/* ============ SECTIONS ============ */
.section { max-width: 1280px; margin: 0 auto; padding: 60px 20px; }
.section h2 { font-size: clamp(1.5rem, 3vw, 2rem); color: var(--primary); margin-bottom: 15px; text-align: center; }
.section .lead { text-align: center; color: var(--text-muted); max-width: 720px; margin: 0 auto 40px; }

/* ============ CARTES SÉANCES ============ */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.seance-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; transition: transform var(--transition), box-shadow var(--transition); }
.seance-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.seance-card .num { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: bold; font-size: 1.3rem; margin-bottom: 15px; }
.seance-card h3 { color: var(--primary); margin-bottom: 10px; }
.seance-card .verse { font-style: italic; color: var(--accent); margin-top: 15px; padding-top: 15px; border-top: 1px solid var(--border); }

/* ============ FAQ ============ */
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; }
.faq-question { padding: 18px 20px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-question:hover { background: var(--surface-alt); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; padding: 0 20px; color: var(--text-muted); }
.faq-item.open .faq-answer { max-height: 500px; padding-bottom: 18px; }
.faq-item.open .faq-toggle { transform: rotate(180deg); }
.faq-toggle { transition: transform var(--transition); }

/* ============ TÉMOIGNAGES ============ */
.temoignages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.temoignage { background: var(--surface); border-left: 4px solid var(--accent); border-radius: var(--radius-sm); padding: 22px; }
.temoignage .stars { color: var(--accent); font-size: 1.05rem; margin-bottom: 10px; }
.temoignage .auteur { margin-top: 12px; font-weight: 600; color: var(--primary); font-size: 0.9rem; }

/* ============ ACTUALITÉS ============ */
.actualites-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.actu-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.actu-card .actu-img { height: 180px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.actu-card .actu-body { padding: 20px; }
.actu-card h3 { color: var(--primary); margin-bottom: 8px; }
.actu-card .date { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 10px; }

/* ============ FOOTER ============ */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); margin-top: 60px; }
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 50px 20px 30px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; }
.footer-col h4 { color: var(--primary); margin-bottom: 12px; font-size: 1rem; }
.footer-col a, .footer-col p { display: block; color: var(--text-muted); text-decoration: none; font-size: 0.9rem; margin-bottom: 6px; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { text-align: center; padding: 20px; border-top: 1px solid var(--border); font-size: 0.85rem; color: var(--text-muted); }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
    .nav-main { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--surface); flex-direction: column; padding: 20px; border-bottom: 1px solid var(--border); }
    .nav-main.open { display: flex; }
    .btn-burger { display: block; }
    .carousel { height: 420px; }
}
@media (max-width: 600px) {
    .header-inner { padding: 0 12px; }
    .logo-text { display: none; }
    .header-actions .btn { padding: 8px 12px; font-size: 0.82rem; }
    .carousel { height: 360px; }
    .section { padding: 40px 15px; }
}

/* ============ IMPRESSION ============ */
@media print {
    .site-header, .site-footer, .btn, .no-print { display: none !important; }
    body { background: #fff; color: #000; }
    .seance-content { display: block !important; }
    .card-body { display: block !important; max-height: none !important; overflow: visible !important; }
    a { color: #000; text-decoration: none; }
}

/* ============ UTILITAIRES ============ */
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.alert { padding: 14px 20px; border-radius: var(--radius-sm); margin-bottom: 20px; font-weight: 500; }
.alert-success { background: rgba(56,161,105,0.12); color: var(--success); border-left: 4px solid var(--success); }
.alert-danger  { background: rgba(229,62,62,0.10); color: var(--danger); border-left: 4px solid var(--danger); }
.alert-info    { background: rgba(44,94,42,0.08); color: var(--primary); border-left: 4px solid var(--primary); }
.text-center { text-align: center; }
.mt-2 { margin-top: 20px; } .mt-4 { margin-top: 40px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 700px) { .grid-2 { grid-template-columns: 1fr; } }