/* Variables & Reset */
:root {
    --primary: #1e3a8a;       /* Bleu marine profond pro */
    --accent: #2563eb;        /* Bleu dynamique pour les boutons */
    --accent-hover: #1d4ed8;
    --dark: #0f172a;          /* Texte principal */
    --muted: #475569;         /* Texte secondaire */
    --bg-light: #f8fafc;      /* Fond léger */
    --card-bg: #ffffff;
    --border: #e2e8f0;
    --gold: #f59e0b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--dark);
    background-color: var(--bg-light);
    line-height: 1.6;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Bandeau Supérieur */
.top-bar {
    background: #0f172a;
    color: #94a3b8;
    font-size: 0.8rem;
    padding: 8px 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.disclosure-link {
    color: #cbd5e1;
    text-decoration: underline;
    font-size: 0.75rem;
}

/* Header */
.header {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    padding: 18px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--dark);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--accent);
}

.logo .tld {
    font-size: 1.1rem;
    color: var(--muted);
    font-weight: 600;
}

.nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    margin-left: 20px;
    transition: color 0.2s;
}

.nav a:hover {
    color: var(--accent);
}

/* Hero */
.hero {
    background: linear-gradient(180deg, #ffffff 0%, var(--bg-light) 100%);
    padding: 60px 0 40px;
    text-align: center;
}

.badge {
    display: inline-block;
    background: #dbeafe;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 20px;
    color: var(--dark);
    letter-spacing: -0.8px;
}

.hero p {
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 680px;
    margin: 0 auto;
}

/* Section Reviews */
.reviews-section {
    padding: 50px 0;
}

.section-header {
    margin-bottom: 35px;
}

.section-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section-header p {
    color: var(--muted);
    font-size: 1rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.review-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gold);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
}

.card-image-placeholder {
    height: 180px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    border-bottom: 1px solid var(--border);
}

.card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.category {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.card-body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.card-body p {
    font-size: 0.95rem;
    color: var(--muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.btn-read {
    display: inline-block;
    text-align: center;
    background: var(--accent);
    color: #ffffff;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-read:hover {
    background: var(--accent-hover);
}

/* Trust Section */
.trust-section {
    background: #ffffff;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 50px 0;
    margin-top: 30px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.trust-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.trust-item h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.trust-item p {
    font-size: 0.9rem;
    color: var(--muted);
}

/* Footer */
.footer {
    background: #0f172a;
    color: #f8fafc;
    padding: 60px 0 30px;
    margin-top: 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    color: #ffffff;
}

.footer-brand p {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-top: 10px;
    max-width: 320px;
}

.footer-links h4 {
    font-size: 0.95rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-disclaimer {
    border-top: 1px solid #1e293b;
    padding-top: 25px;
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.6;
}

.copyright {
    margin-top: 15px;
    color: #475569;
}

/* Mobile */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    .header-container {
        flex-direction: column;
        gap: 12px;
    }
    .nav a {
        margin: 0 10px;
    }
}

/* ========================================= */
/* STYLES DES FENÊTRES MODALES / POP-UPS     */
/* ========================================= */

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-box {
    background: #ffffff;
    width: 100%;
    max-width: 650px;
    max-height: 85vh;
    border-radius: 14px;
    position: relative;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: modalSlide 0.25s ease-out;
}

@keyframes modalSlide {
    from {
        transform: translateY(20px) scale(0.98);
    }
    to {
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.4rem;
    line-height: 1;
    color: var(--muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    z-index: 10;
}

.modal-close:hover {
    background: #e2e8f0;
    color: var(--dark);
}

.modal-body {
    padding: 35px 30px;
    overflow-y: auto;
}

.modal-body h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 5px;
}

.modal-updated {
    font-size: 0.8rem;
    color: var(--muted);
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.modal-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-top: 20px;
    margin-bottom: 8px;
}

.modal-body p {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 12px;
}

.modal-body ul {
    margin-left: 20px;
    margin-bottom: 15px;
    font-size: 0.92rem;
    color: #475569;
}

.modal-body li {
    margin-bottom: 6px;
}

/* Formulaire Contact dans la Modal */
.contact-info-block {
    background: #f8fafc;
    border: 1px solid var(--border);
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
}

.modal-form .form-group {
    margin-bottom: 15px;
}

.modal-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--dark);
}

.modal-form input,
.modal-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--dark);
}

.modal-form input:focus,
.modal-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}