/* ===== SECOND LIVE — Palette numérique ===== */
:root {
    --bg:       #0B1A2B;
    --navbar:   #060F1A;
    --card:     #0F2235;
    --card2:    #0D1E31;
    --primary:  #0ABFBC;
    --accent:   #C9953A;
    --text:     #E8EDF2;
    --muted:    #7A9BB5;
    --border:   #1A3A52;
    --danger:   #c0392b;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Segoe UI', Tahoma, Geneva, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

/* ===== NAVBAR ===== */
.navbar-sl {
    background: var(--navbar);
    border-bottom: 2px solid var(--primary);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0;
}
.navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 58px;
}
.navbar-brand {
    color: var(--text);
    font-weight: 700;
    font-size: 1.4rem;
    text-decoration: none;
    letter-spacing: 0.02em;
    padding: 12px 0;
}
.navbar-brand .vert { color: var(--primary); }
.navbar-brand .or   { color: var(--accent); }

.navbar-links {
    display: flex;
    gap: 2px;
    flex-wrap: wrap;
    align-items: center;
}
.navbar-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    padding: 7px 11px;
    border-radius: 6px;
    transition: color .2s, background .2s;
    white-space: nowrap;
}
.navbar-links a:hover  { color: var(--primary); background: rgba(10,191,188,.1); }
.navbar-links a.active { color: var(--primary); background: rgba(10,191,188,.14); font-weight: 600; }
.navbar-links a.btn-nav-accent {
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    padding: 7px 14px;
    margin-left: 4px;
}
.navbar-links a.btn-nav-accent:hover { opacity: .88; background: var(--accent); }

/* ===== HERO PRINCIPAL (accueil) ===== */
.hero-main {
    background: var(--navbar);
    position: relative;
    overflow: hidden;
    padding: 90px 24px 80px;
    text-align: center;
}
.hero-main::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/images/hero-banner.jpg') center center / cover no-repeat;
    opacity: .18;
}
.hero-main::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0 auto;
}
.hero-tag {
    display: inline-block;
    border: 1px solid var(--primary);
    color: var(--primary);
    background: rgba(10,191,188,.1);
    padding: 4px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
    margin-bottom: 22px;
    text-transform: uppercase;
}
.hero-main h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.15;
    margin-bottom: 18px;
}
.hero-main h1 .vert { color: var(--primary); }
.hero-main p {
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 640px;
    margin: 0 auto 32px;
}
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== PAGE HERO (sous-pages) ===== */
.page-hero {
    background: var(--navbar);
    padding: 48px 24px 40px;
    border-bottom: 1px solid var(--border);
    position: relative;
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 80px; height: 3px;
    background: var(--primary);
    margin-left: 24px;
}
.page-hero .container h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}
.page-hero .container h1 span { color: var(--primary); }
.page-hero .container p { color: var(--muted); font-size: 1rem; max-width: 720px; }

/* ===== CONTENEUR ===== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== SECTIONS ===== */
.section { padding: 64px 24px; }
.section-alt { background: var(--card2); padding: 64px 24px; }

.section-tag {
    display: inline-block;
    border: 1px solid var(--primary);
    color: var(--primary);
    background: rgba(10,191,188,.08);
    padding: 3px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.section-title {
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.2;
}
.section-title span { color: var(--primary); }
.section-sub {
    color: var(--muted);
    font-size: 1rem;
    margin-bottom: 40px;
    max-width: 640px;
}
hr.sep { border: none; border-top: 1px solid var(--border); margin: 48px 0; }

/* ===== CARTES ===== */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 22px; }

.card-sl {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px 24px;
    transition: border-color .2s, transform .2s;
}
.card-sl:hover { border-color: var(--primary); transform: translateY(-2px); }
.card-icon { font-size: 2rem; margin-bottom: 14px; display: block; }
.card-icon-img { width: 80px; height: 80px; object-fit: contain; margin: 0 auto 14px; display: block; }
.navbar-logo { width: 42px; height: 42px; border-radius: 50%; vertical-align: middle; margin-right: 10px; object-fit: cover; }
.card-title { font-size: 1.05rem; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.card-body { color: var(--muted); font-size: .94rem; line-height: 1.65; }
.card-body ul { margin: 8px 0 0 18px; }
.card-body li { margin-bottom: 4px; }

.card-accent {
    background: linear-gradient(135deg, rgba(201,149,58,.12), rgba(201,149,58,.05));
    border: 1px solid rgba(201,149,58,.35);
}
.card-accent .card-title { color: var(--accent); }

/* ===== ÉTAPES ===== */
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    position: relative;
    padding-bottom: 32px;
}
.step:last-child { padding-bottom: 0; }
.step-left { display: flex; flex-direction: column; align-items: center; }
.step-num {
    background: var(--primary);
    color: var(--navbar);
    font-weight: 700;
    font-size: 1rem;
    width: 46px; height: 46px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    position: relative; z-index: 1;
}
.step-line {
    width: 2px;
    flex: 1;
    background: var(--border);
    margin-top: 4px;
    min-height: 24px;
}
.step:last-child .step-line { display: none; }
.step-content { padding-top: 8px; flex: 1; }
.step-content h3 { color: var(--text); font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.step-content p  { color: var(--muted); font-size: .94rem; line-height: 1.65; }

/* ===== TABLEAUX ===== */
.table-wrap { overflow-x: auto; border-radius: 10px; border: 1px solid var(--border); }
.table-sl { width: 100%; border-collapse: collapse; font-size: 15px; }
.table-sl thead th {
    background: var(--primary);
    color: var(--navbar);
    padding: 13px 16px;
    text-align: left;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
}
.table-sl tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--muted);
    vertical-align: top;
}
.table-sl tbody tr:last-child td { border-bottom: none; }
.table-sl tbody tr:hover td { background: rgba(10,191,188,.04); color: var(--text); }
.td-label { font-weight: 600; color: var(--text); }
.td-price { text-align: right; font-weight: 700; color: var(--accent); white-space: nowrap; }
.td-note  { font-style: italic; font-size: 13px; color: var(--muted); }

/* ===== BOITES INFO ===== */
.info-box {
    background: rgba(10,191,188,.08);
    border-left: 4px solid var(--primary);
    border-radius: 0 8px 8px 0;
    padding: 16px 20px;
    margin-bottom: 20px;
}
.info-box p { color: var(--text); font-size: .95rem; }
.warning-box {
    background: rgba(201,149,58,.08);
    border-left: 4px solid var(--accent);
    border-radius: 0 8px 8px 0;
    padding: 16px 20px;
    margin-bottom: 20px;
}
.warning-box p { color: var(--text); font-size: .95rem; }

/* ===== FAQ ACCORDÉON ===== */
.faq-item {
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    cursor: pointer;
    background: var(--card);
    color: var(--text);
    font-weight: 600;
    font-size: .98rem;
    transition: background .2s;
    gap: 16px;
}
.faq-question:hover { background: rgba(10,191,188,.08); }
.faq-icon {
    color: var(--primary);
    font-size: 1.4rem;
    line-height: 1;
    transition: transform .3s;
    flex-shrink: 0;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, padding .3s;
    color: var(--muted);
    font-size: .95rem;
    line-height: 1.7;
    padding: 0 22px;
    background: var(--card2);
}
.faq-answer.open { max-height: 600px; padding: 18px 22px; }

/* ===== BOUTONS ===== */
.btn-primary {
    display: inline-block;
    background: var(--primary);
    color: var(--navbar);
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
    transition: opacity .2s;
    border: none; cursor: pointer;
}
.btn-primary:hover { opacity: .85; }
.btn-outline {
    display: inline-block;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 700;
    padding: 10px 26px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
    transition: background .2s;
    background: transparent;
}
.btn-outline:hover { background: rgba(10,191,188,.12); }
.btn-accent {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
    transition: opacity .2s;
}
.btn-accent:hover { opacity: .85; }

/* ===== PIED DE PAGE ===== */
footer {
    background: var(--navbar);
    border-top: 1px solid var(--border);
    padding: 48px 24px 24px;
    margin-top: 0;
}
.footer-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 32px;
    margin-bottom: 36px;
}
.footer-col h4 {
    color: var(--primary);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 16px;
    font-weight: 700;
}
.footer-col p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.footer-col a {
    display: block;
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 7px;
    transition: color .2s;
}
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    border-top: 1px solid var(--border);
    padding-top: 20px;
    text-align: center;
    color: var(--muted);
    font-size: 13px;
}
.footer-bottom a { color: var(--muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--primary); }

/* ===== MENTIONS LÉGALES ===== */
.legal-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 24px 28px;
    margin-bottom: 20px;
}
.legal-card h3 {
    color: var(--primary);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}
.legal-line { margin-bottom: 8px; font-size: .94rem; color: var(--muted); }
.legal-line strong { color: var(--text); }

/* ===== CONTACT ===== */
.contact-bloc {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px 24px;
}
.contact-icon { font-size: 1.6rem; margin-bottom: 8px; }
.contact-label { color: var(--primary); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.contact-value { color: var(--text); font-size: 1rem; }
.contact-value a { color: var(--primary); text-decoration: none; }
.contact-value a:hover { text-decoration: underline; }

/* ===== UTILITAIRES ===== */
.text-center  { text-align: center; }
.text-primary { color: var(--primary); }
.text-accent  { color: var(--accent); }
.text-muted   { color: var(--muted); }
.gras { font-weight: 700; }

.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

.badge-sl {
    display: inline-block;
    background: rgba(10,191,188,.12);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}
.badge-accent {
    display: inline-block;
    background: rgba(201,149,58,.12);
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.haut-page {
    display: inline-block;
    border: 1px solid var(--border);
    color: var(--muted);
    padding: 7px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    transition: border-color .2s, color .2s;
    margin-top: 40px;
}
.haut-page:hover { border-color: var(--primary); color: var(--primary); }

ul.check-list { list-style: none; padding: 0; margin: 0; }
ul.check-list li {
    padding: 5px 0 5px 26px;
    position: relative;
    color: var(--muted);
    font-size: .95rem;
}
ul.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}
ul.cross-list { list-style: none; padding: 0; margin: 0; }
ul.cross-list li {
    padding: 5px 0 5px 26px;
    position: relative;
    color: var(--muted);
    font-size: .95rem;
}
ul.cross-list li::before {
    content: '✕';
    position: absolute;
    left: 0;
    color: var(--danger);
    font-weight: 700;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 700px) {
    .navbar-inner { padding: 0 14px; gap: 6px; }
    .navbar-brand { font-size: 1.1rem; }
    .navbar-links a { font-size: 13px; padding: 6px 8px; }
    .hero-main h1 { font-size: 1.9rem; }
    .section, .section-alt { padding: 44px 14px; }
    .page-hero { padding: 32px 14px 28px; }
    .page-hero .container h1 { font-size: 1.55rem; }
    .section-title { font-size: 1.5rem; }
}
