/* =============================================================
   ia-avis.fr — Static Pages Shared Styles
   Dark hero → light body, cohérent avec le template articles
   ============================================================= */

:root {
    --primary: #6C63FF;
    --primary-dark: #5A52E0;
    --dark-bg: #0f1117;
    --dark-surface: #1a1b23;
    --light-bg: #f8f9fa;
    --text-dark: #e1e1e6;
    --text-light: #2d2d3a;
    --text-muted: #8b8b9e;
    --border: #2a2b35;
    --accent-green: #00c9a7;
    --accent-orange: #ff6b35;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-light);
    background: var(--light-bg);
    line-height: 1.7;
}

/* --- HEADER NAV --- */
.site-header {
    background: var(--dark-bg);
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
}
.site-header .logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
}
.site-header .logo span { color: var(--primary); }
.site-header nav a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 1.5rem;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.site-header nav a:hover { color: #fff; }

/* --- HERO DARK --- */
.page-hero {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-surface) 100%);
    padding: 5rem 2rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--light-bg));
}
.page-hero h1 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}
.page-hero .hero-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.page-hero .hero-pill {
    display: inline-block;
    background: rgba(108, 99, 255, 0.15);
    color: var(--primary);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

/* --- CONTENT BODY --- */
.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem 5rem;
}
.page-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}
.page-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-light);
    margin: 1.5rem 0 0.75rem;
}
.page-content p {
    margin-bottom: 1rem;
    color: #444;
}
.page-content a {
    color: var(--primary);
    text-decoration: none;
}
.page-content a:hover {
    text-decoration: underline;
}
.page-content ul, .page-content ol {
    margin: 1rem 0 1rem 1.5rem;
    color: #444;
}
.page-content li { margin-bottom: 0.5rem; }

/* --- INFO BOX --- */
.info-box {
    background: rgba(108, 99, 255, 0.06);
    border-left: 3px solid var(--primary);
    padding: 1.2rem 1.5rem;
    border-radius: 0 8px 8px 0;
    margin: 1.5rem 0;
}
.info-box.green {
    background: rgba(0, 201, 167, 0.06);
    border-left-color: var(--accent-green);
}
.info-box p { margin-bottom: 0; color: #555; }

/* --- TEAM CARD --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}
.team-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    text-align: center;
}
.team-card .icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.8rem;
}
.team-card h3 { margin-bottom: 0.5rem; }
.team-card p { font-size: 0.9rem; color: var(--text-muted); }

/* --- CONTACT FORM --- */
.contact-form {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    margin: 2rem 0;
}
.contact-form .form-group { margin-bottom: 1.2rem; }
.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form .btn-submit {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.contact-form .btn-submit:hover { background: var(--primary-dark); }

/* --- FOOTER --- */
.site-footer {
    background: var(--dark-bg);
    color: var(--text-muted);
    padding: 2rem;
    text-align: center;
    font-size: 0.85rem;
}
.site-footer a { color: var(--primary); text-decoration: none; }
.site-footer .footer-links { margin-bottom: 1rem; }
.site-footer .footer-links a { margin: 0 0.75rem; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .page-hero { padding: 3rem 1.5rem 2.5rem; }
    .page-hero h1 { font-size: 1.8rem; }
    .page-content { padding: 2rem 1.5rem; }
    .site-header { padding: 0.8rem 1rem; }
    .site-header nav a { margin-left: 0.8rem; font-size: 0.8rem; }
}
