/* ========================================
   PAGES INFO & LÉGALES — Typographie sobre
   (À propos, FAQ, Livraison, CGV, Confidentialité)
   ======================================== */

.legal-hero {
    margin-top: 76px;
    padding: 2.5rem 0 2rem;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    position: relative;
    overflow: hidden;
}
.legal-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top right, rgba(0, 200, 83, 0.12) 0%, transparent 50%);
    pointer-events: none;
}
.legal-hero .container { position: relative; z-index: 1; }

.legal-hero h1 {
    font-size: 2.1rem;
    font-weight: 800;
    color: white !important;
    margin-bottom: 0.4rem;
    letter-spacing: -0.5px;
}
.legal-hero p {
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 0.95rem;
    margin: 0;
}
.legal-hero .breadcrumb-inline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55) !important;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}
.legal-hero .breadcrumb-inline a {
    color: #00E676 !important;
    text-decoration: none !important;
}
.legal-hero .breadcrumb-inline a:hover { text-decoration: underline !important; }

/* Corps */
.legal-content {
    padding: 3rem 0 4rem;
    background: #fafbfc;
}
.legal-body {
    max-width: 820px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2.75rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
}
.legal-body h2 {
    font-size: 1.25rem;
    font-weight: 800 !important;
    color: #1a1a1a !important;
    margin-top: 2rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.5rem;
    position: relative;
    letter-spacing: -0.3px;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #00C853, #00E676);
    border-radius: 2px;
}
.legal-body h3 {
    font-size: 1.05rem;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin-top: 1.3rem;
    margin-bottom: 0.6rem;
}
.legal-body p,
.legal-body li {
    color: #475569 !important;
    line-height: 1.7;
    font-size: 0.95rem;
}
.legal-body p { margin-bottom: 1rem; }
.legal-body ul,
.legal-body ol { padding-left: 1.3rem; margin-bottom: 1rem; }
.legal-body li { margin-bottom: 0.4rem; }
.legal-body strong { color: #1a1a1a !important; font-weight: 700; }
.legal-body a {
    color: #00C853 !important;
    text-decoration: none !important;
    font-weight: 600;
}
.legal-body a:hover { text-decoration: underline !important; }

/* FAQ — accordéon custom */
.faq-item {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.faq-item.open {
    border-color: rgba(0, 200, 83, 0.3);
    box-shadow: 0 8px 24px rgba(0, 200, 83, 0.08);
}
.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.1rem 1.3rem;
    background: white;
    border: none;
    font-size: 0.98rem;
    font-weight: 700;
    color: #1a1a1a !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: background 0.2s ease;
}
.faq-question:hover { background: rgba(0, 200, 83, 0.04); }
.faq-question::after {
    content: '+';
    font-size: 1.6rem;
    color: #00C853 !important;
    line-height: 1;
    transition: transform 0.3s ease;
}
.faq-item.open .faq-question::after {
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #fafbfc;
}
.faq-item.open .faq-answer { max-height: 500px; }
.faq-answer-inner {
    padding: 1rem 1.3rem 1.3rem;
    color: #475569 !important;
    font-size: 0.93rem;
    line-height: 1.65;
}

/* Tableau livraison */
.shipping-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0 1.5rem;
    font-size: 0.92rem;
}
.shipping-table th {
    text-align: left;
    background: #f1f5f9;
    color: #1a1a1a !important;
    font-weight: 700;
    padding: 0.75rem 1rem;
    border-bottom: 2px solid rgba(0, 200, 83, 0.2);
}
.shipping-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    color: #475569 !important;
}
.shipping-table tr:last-child td { border-bottom: none; }
.shipping-table .badge-free {
    background: rgba(0, 200, 83, 0.12);
    color: #00A042 !important;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}

/* Encart callout */
.legal-callout {
    background: linear-gradient(135deg, rgba(0, 200, 83, 0.08), rgba(0, 230, 118, 0.04));
    border-left: 4px solid #00C853;
    padding: 1rem 1.25rem;
    border-radius: 10px;
    margin: 1rem 0;
    color: #1a1a1a !important;
}
.legal-callout strong { color: #00A042 !important; }
.legal-callout i {
    color: #00C853 !important;
    margin-right: 6px;
}

@media (max-width: 576px) {
    .legal-body { padding: 1.5rem 1.25rem; }
    .legal-hero h1 { font-size: 1.5rem; }
}
