/* ============================================================
   SFF ASSURANCE - Feuille de style principale
   Couleurs : Bleu (confiance) + Vert (réussite) + Noir (pro)
   ============================================================ */

:root {
    --bleu-primaire: #1e3a8a;
    --bleu-fonce: #1e293b;
    --bleu-clair: #3b82f6;
    --bleu-pale: #eff6ff;
    --vert-primaire: #10b981;
    --vert-fonce: #059669;
    --vert-clair: #34d399;
    --vert-pale: #d1fae5;
    --noir: #0f172a;
    --gris-fonce: #334155;
    --gris-moyen: #64748b;
    --gris-clair: #94a3b8;
    --gris-tres-clair: #f1f5f9;
    --blanc: #ffffff;
    --rouge: #ef4444;
    --orange: #f59e0b;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);

    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;

    --font-base: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-base);
    color: var(--noir);
    line-height: 1.6;
    background: var(--blanc);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--bleu-primaire); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--vert-primaire); }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============ TOPBAR ============ */
.topbar {
    background: var(--noir);
    color: var(--blanc);
    font-size: 13px;
    padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.topbar a { color: var(--blanc); }
.topbar a:hover { color: var(--vert-clair); }
.topbar-info span { margin-right: 20px; }
.topbar-info i { margin-right: 5px; color: var(--vert-clair); }

/* ============ HEADER / NAVIGATION ============ */
.header {
    background: var(--blanc);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header .container { display: flex; align-items: center; justify-content: space-between; padding: 15px 20px; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 55px; width: auto; }
.logo-text { margin-left: 12px; }
.logo-text strong { display: block; color: var(--noir); font-size: 18px; font-weight: 800; letter-spacing: 0.5px; }
.logo-text small { display: block; color: var(--gris-moyen); font-size: 10px; letter-spacing: 1px; text-transform: uppercase; }

.nav { display: flex; gap: 5px; align-items: center; }
.nav a {
    color: var(--gris-fonce);
    padding: 10px 16px;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
}
.nav a:hover, .nav a.active { background: var(--bleu-pale); color: var(--bleu-primaire); }

.nav-cta {
    background: var(--vert-primaire) !important;
    color: var(--blanc) !important;
    padding: 10px 22px !important;
    margin-left: 10px;
}
.nav-cta:hover { background: var(--vert-fonce) !important; transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: var(--noir);
}

/* ============ HERO ============ */
.hero {
    background: linear-gradient(135deg, var(--bleu-fonce) 0%, var(--bleu-primaire) 50%, var(--vert-fonce) 100%);
    color: var(--blanc);
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cdefs%3E%3Cpattern id='p' width='40' height='40' patternUnits='userSpaceOnUse'%3E%3Cpath d='M0 20 L40 20 M20 0 L20 40' stroke='rgba(255,255,255,0.05)' stroke-width='1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100' height='100' fill='url(%23p)'/%3E%3C/svg%3E");
    opacity: 0.5;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center; }
.hero-content h1 {
    font-size: 48px;
    line-height: 1.15;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
}
.hero-content h1 span { color: var(--vert-clair); }
.hero-content p { font-size: 18px; opacity: 0.95; margin-bottom: 30px; line-height: 1.7; }
.hero-stats { display: flex; gap: 30px; margin-top: 40px; flex-wrap: wrap; }
.hero-stat { text-align: left; }
.hero-stat strong { display: block; font-size: 32px; color: var(--vert-clair); font-weight: 800; }
.hero-stat span { font-size: 13px; opacity: 0.9; text-transform: uppercase; letter-spacing: 0.8px; }

.hero-card {
    background: var(--blanc);
    color: var(--noir);
    border-radius: var(--radius-xl);
    padding: 35px;
    box-shadow: var(--shadow-xl);
}
.hero-card h3 { color: var(--bleu-primaire); font-size: 22px; margin-bottom: 8px; }
.hero-card p { color: var(--gris-moyen); margin-bottom: 25px; font-size: 14px; }

/* ============ BOUTONS ============ */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}
.btn-primary { background: var(--vert-primaire); color: var(--blanc); }
.btn-primary:hover { background: var(--vert-fonce); color: var(--blanc); transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-secondary { background: var(--bleu-primaire); color: var(--blanc); }
.btn-secondary:hover { background: var(--bleu-fonce); color: var(--blanc); transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-outline { background: transparent; color: var(--blanc); border: 2px solid var(--blanc); }
.btn-outline:hover { background: var(--blanc); color: var(--bleu-primaire); }

.btn-light { background: var(--blanc); color: var(--bleu-primaire); }
.btn-light:hover { background: var(--vert-primaire); color: var(--blanc); }

.btn-block { display: block; width: 100%; }
.btn-large { padding: 18px 40px; font-size: 18px; }
.btn-sm { padding: 8px 16px; font-size: 14px; }

.btn-group { display: flex; gap: 15px; flex-wrap: wrap; margin-top: 25px; }

/* ============ SECTIONS ============ */
.section { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title small {
    display: inline-block;
    color: var(--vert-primaire);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
}
.section-title h2 { font-size: 38px; color: var(--noir); font-weight: 800; line-height: 1.2; }
.section-title p { color: var(--gris-moyen); font-size: 17px; max-width: 700px; margin: 15px auto 0; }

.bg-gris { background: var(--gris-tres-clair); }
.bg-bleu { background: var(--bleu-pale); }

/* ============ AVANTAGES / FEATURES ============ */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; }
.feature {
    background: var(--blanc);
    padding: 35px 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gris-tres-clair);
    text-align: center;
}
.feature:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); border-color: var(--vert-primaire); }
.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bleu-primaire), var(--vert-primaire));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    color: var(--blanc);
}
.feature h3 { font-size: 20px; color: var(--noir); margin-bottom: 12px; font-weight: 700; }
.feature p { color: var(--gris-moyen); font-size: 15px; }

/* ============ PRODUITS ============ */
.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.product {
    background: var(--blanc);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gris-tres-clair);
}
.product:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); }
.product-header { background: linear-gradient(135deg, var(--bleu-primaire), var(--bleu-fonce)); color: var(--blanc); padding: 25px; text-align: center; }
.product-header.green { background: linear-gradient(135deg, var(--vert-primaire), var(--vert-fonce)); }
.product-header h3 { font-size: 22px; margin-bottom: 8px; }
.product-header p { font-size: 13px; opacity: 0.9; }
.product-body { padding: 25px; }
.product-body ul { list-style: none; margin-bottom: 20px; }
.product-body ul li { padding: 8px 0; color: var(--gris-fonce); font-size: 15px; }
.product-body ul li::before { content: '✓'; color: var(--vert-primaire); font-weight: bold; margin-right: 10px; }
.product-amount { font-size: 28px; color: var(--bleu-primaire); font-weight: 800; text-align: center; margin: 15px 0; }
.product-amount small { font-size: 13px; color: var(--gris-moyen); font-weight: 400; display: block; }

/* ============ TÉMOIGNAGES ============ */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.testimonial {
    background: var(--blanc);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    position: relative;
    border-left: 4px solid var(--vert-primaire);
}
.testimonial::before {
    content: '“';
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 70px;
    color: var(--vert-pale);
    font-family: Georgia, serif;
    line-height: 1;
}
.testimonial-stars { color: var(--orange); margin-bottom: 12px; font-size: 18px; }
.testimonial p { color: var(--gris-fonce); font-style: italic; margin-bottom: 18px; font-size: 15px; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; }
.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bleu-primaire), var(--vert-primaire));
    color: var(--blanc);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    margin-right: 15px;
}
.testimonial-author strong { display: block; color: var(--noir); }
.testimonial-author small { color: var(--gris-moyen); font-size: 13px; }

/* ============ CTA ============ */
.cta {
    background: linear-gradient(135deg, var(--bleu-primaire), var(--vert-primaire));
    color: var(--blanc);
    text-align: center;
    padding: 80px 20px;
    border-radius: var(--radius-xl);
}
.cta h2 { font-size: 38px; margin-bottom: 18px; }
.cta p { font-size: 18px; margin-bottom: 30px; opacity: 0.95; max-width: 700px; margin-left: auto; margin-right: auto; }

/* ============ FORMULAIRES ============ */
.form-group { margin-bottom: 22px; }
.form-group label {
    display: block;
    font-weight: 600;
    color: var(--noir);
    margin-bottom: 8px;
    font-size: 14px;
}
.form-group label .required { color: var(--rouge); }
.form-control {
    width: 100%;
    padding: 13px 16px;
    border: 2px solid var(--gris-tres-clair);
    border-radius: var(--radius);
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--blanc);
    color: var(--noir);
}
.form-control:focus {
    outline: none;
    border-color: var(--vert-primaire);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}
.form-control.error { border-color: var(--rouge); }
.form-error { color: var(--rouge); font-size: 13px; margin-top: 6px; }
.form-help { color: var(--gris-moyen); font-size: 13px; margin-top: 6px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23334155'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

input[type="range"] {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--gris-tres-clair);
    outline: none;
    -webkit-appearance: none;
}
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--vert-primaire);
    cursor: pointer;
    border: 3px solid var(--blanc);
    box-shadow: var(--shadow);
}
input[type="range"]::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--vert-primaire);
    cursor: pointer;
    border: 3px solid var(--blanc);
}

.checkbox-group { display: flex; align-items: flex-start; gap: 10px; }
.checkbox-group input[type="checkbox"] { margin-top: 4px; width: 18px; height: 18px; cursor: pointer; }
.checkbox-group label { font-weight: 400; font-size: 14px; cursor: pointer; }

/* ============ PROGRESS BAR ============ */
.progress-bar {
    display: flex;
    margin-bottom: 40px;
    position: relative;
    counter-reset: step;
}
.progress-bar::before {
    content: '';
    position: absolute;
    top: 22px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gris-tres-clair);
    z-index: 0;
}
.progress-bar .progress-fill {
    position: absolute;
    top: 22px;
    left: 0;
    height: 3px;
    background: var(--vert-primaire);
    z-index: 1;
    transition: width 0.4s ease;
}
.progress-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
}
.progress-step .step-circle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--blanc);
    border: 3px solid var(--gris-tres-clair);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-weight: 700;
    color: var(--gris-moyen);
    transition: var(--transition);
}
.progress-step.active .step-circle { background: var(--vert-primaire); border-color: var(--vert-primaire); color: var(--blanc); }
.progress-step.completed .step-circle { background: var(--vert-primaire); border-color: var(--vert-primaire); color: var(--blanc); }
.progress-step .step-label { display: block; margin-top: 10px; font-size: 13px; color: var(--gris-moyen); font-weight: 600; }
.progress-step.active .step-label { color: var(--vert-primaire); }

/* ============ ALERTS ============ */
.alert { padding: 16px 20px; border-radius: var(--radius); margin-bottom: 20px; border-left: 4px solid; }
.alert-success { background: var(--vert-pale); border-color: var(--vert-primaire); color: #064e3b; }
.alert-info { background: var(--bleu-pale); border-color: var(--bleu-primaire); color: #1e3a8a; }
.alert-warning { background: #fef3c7; border-color: var(--orange); color: #78350f; }
.alert-danger { background: #fee2e2; border-color: var(--rouge); color: #7f1d1d; }

/* ============ CARTES / CARDS ============ */
.card {
    background: var(--blanc);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 30px;
    border: 1px solid var(--gris-tres-clair);
}
.card-header { padding-bottom: 20px; border-bottom: 1px solid var(--gris-tres-clair); margin-bottom: 25px; }
.card-header h2 { font-size: 24px; color: var(--bleu-primaire); }
.card-header p { color: var(--gris-moyen); margin-top: 6px; }

/* ============ SIMULATEUR ============ */
.simulator-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.simulator-result {
    background: linear-gradient(135deg, var(--bleu-primaire), var(--vert-fonce));
    color: var(--blanc);
    padding: 35px;
    border-radius: var(--radius-lg);
}
.simulator-result h3 { font-size: 22px; margin-bottom: 25px; }
.result-line { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.15); }
.result-line:last-child { border-bottom: none; }
.result-line span { opacity: 0.9; }
.result-line strong { font-size: 22px; }
.result-highlight { background: rgba(16, 185, 129, 0.2); padding: 18px 20px; border-radius: var(--radius); margin: 20px 0; text-align: center; }
.result-highlight small { font-size: 13px; opacity: 0.9; display: block; margin-bottom: 5px; }
.result-highlight strong { font-size: 32px; color: var(--vert-clair); }

/* ============ TABLEAU AMORTISSEMENT ============ */
.table-wrapper { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--gris-tres-clair); }
.table { width: 100%; border-collapse: collapse; background: var(--blanc); }
.table th { background: var(--bleu-primaire); color: var(--blanc); padding: 14px; text-align: left; font-size: 14px; font-weight: 600; }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--gris-tres-clair); font-size: 14px; }
.table tr:hover { background: var(--gris-tres-clair); }
.table tfoot td { background: var(--bleu-pale); font-weight: 700; }

/* ============ FOOTER ============ */
.footer {
    background: var(--noir);
    color: var(--gris-clair);
    padding: 60px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer h4 { color: var(--blanc); font-size: 16px; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer a { color: var(--gris-clair); font-size: 14px; }
.footer a:hover { color: var(--vert-clair); }
.footer-logo img { height: 50px; }
.footer-about { font-size: 14px; line-height: 1.7; margin-top: 15px; }
.footer-contact li { display: flex; align-items: flex-start; }
.footer-contact i { color: var(--vert-clair); margin-right: 10px; min-width: 20px; }
.footer-bottom {
    border-top: 1px solid #1e293b;
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: var(--gris-moyen);
}
.footer-bottom a { color: var(--gris-clair); margin: 0 8px; }

/* ============ BREADCRUMB ============ */
.breadcrumb {
    background: var(--gris-tres-clair);
    padding: 18px 0;
    font-size: 14px;
    color: var(--gris-moyen);
}
.breadcrumb a { color: var(--bleu-primaire); }
.breadcrumb span { margin: 0 10px; color: var(--gris-clair); }

/* ============ PAGE TITLE ============ */
.page-title {
    background: linear-gradient(135deg, var(--bleu-primaire), var(--bleu-fonce));
    color: var(--blanc);
    padding: 60px 0;
    text-align: center;
}
.page-title h1 { font-size: 42px; font-weight: 800; }
.page-title p { font-size: 17px; opacity: 0.9; margin-top: 12px; }

/* ============ COOKIE BANNER ============ */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 500px;
    margin: 0 auto;
    background: var(--noir);
    color: var(--blanc);
    padding: 20px 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    z-index: 9999;
    display: none;
}
.cookie-banner.show { display: block; animation: slideUp 0.4s ease; }
.cookie-banner p { font-size: 14px; margin-bottom: 15px; }
.cookie-banner .btn-group { gap: 10px; margin-top: 0; }

@keyframes slideUp { from { transform: translateY(100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ============ BADGES ============ */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.badge-success { background: var(--vert-pale); color: var(--vert-fonce); }
.badge-info { background: var(--bleu-pale); color: var(--bleu-primaire); }
.badge-warning { background: #fef3c7; color: #78350f; }
.badge-danger { background: #fee2e2; color: #7f1d1d; }
.badge-secondary { background: var(--gris-tres-clair); color: var(--gris-fonce); }
.badge-primary { background: var(--bleu-pale); color: var(--bleu-primaire); }

/* ============ TRUST BAR ============ */
.trust-bar { background: var(--gris-tres-clair); padding: 30px 0; }
.trust-grid { display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; gap: 25px; }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-item i { font-size: 28px; color: var(--vert-primaire); }
.trust-item strong { display: block; color: var(--noir); font-size: 14px; }
.trust-item small { color: var(--gris-moyen); font-size: 12px; }

/* ============ FAQ ============ */
.faq-item { background: var(--blanc); border: 1px solid var(--gris-tres-clair); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.faq-question {
    padding: 18px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--noir);
    font-size: 16px;
}
.faq-question:hover { background: var(--gris-tres-clair); }
.faq-question::after { content: '+'; font-size: 24px; color: var(--vert-primaire); transition: var(--transition); }
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; padding: 0 25px; color: var(--gris-fonce); }
.faq-item.active .faq-answer { max-height: 500px; padding: 0 25px 20px; }

/* ============ ADMIN ============ */
.admin-layout { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-sidebar { background: var(--noir); color: var(--blanc); padding: 25px; }
.admin-sidebar h2 { color: var(--vert-clair); font-size: 18px; margin-bottom: 30px; }
.admin-sidebar ul { list-style: none; }
.admin-sidebar ul li a {
    display: block;
    padding: 12px 15px;
    color: var(--gris-clair);
    border-radius: var(--radius);
    margin-bottom: 4px;
    font-size: 14px;
}
.admin-sidebar ul li a:hover, .admin-sidebar ul li a.active { background: var(--vert-primaire); color: var(--blanc); }
.admin-content { padding: 30px; background: var(--gris-tres-clair); }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid var(--gris-clair); }
.admin-header h1 { font-size: 26px; color: var(--noir); }
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 30px; }
.admin-stat { background: var(--blanc); padding: 25px; border-radius: var(--radius-lg); box-shadow: var(--shadow); border-left: 4px solid var(--bleu-primaire); }
.admin-stat.success { border-color: var(--vert-primaire); }
.admin-stat.warning { border-color: var(--orange); }
.admin-stat.danger { border-color: var(--rouge); }
.admin-stat strong { display: block; font-size: 32px; color: var(--noir); }
.admin-stat span { color: var(--gris-moyen); font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; }

.login-page { min-height: 100vh; background: linear-gradient(135deg, var(--bleu-fonce), var(--vert-fonce)); display: flex; align-items: center; justify-content: center; padding: 20px; }
.login-card { background: var(--blanc); padding: 40px; border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); width: 100%; max-width: 420px; }
.login-card h2 { color: var(--bleu-primaire); margin-bottom: 8px; text-align: center; }
.login-card p { color: var(--gris-moyen); margin-bottom: 25px; text-align: center; font-size: 14px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 968px) {
    .menu-toggle { display: block; }
    .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--blanc); flex-direction: column; padding: 20px; box-shadow: var(--shadow-lg); }
    .nav.active { display: flex; }
    .nav a { width: 100%; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 36px; }
    .form-row, .form-row-3 { grid-template-columns: 1fr; }
    .simulator-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .admin-layout { grid-template-columns: 1fr; }
    .admin-sidebar { padding: 15px; }
    .topbar-info span { display: block; margin: 0; }
    .section-title h2 { font-size: 28px; }
    .cta h2 { font-size: 28px; }
}

@media (max-width: 568px) {
    .hero { padding: 50px 0 60px; }
    .hero-content h1 { font-size: 28px; }
    .section { padding: 50px 0; }
    .footer-grid { grid-template-columns: 1fr; }
    .page-title h1 { font-size: 32px; }
    .btn { padding: 12px 24px; font-size: 14px; }
}

/* ============ UTILITAIRES ============ */
.text-center { text-align: center; }
.text-success { color: var(--vert-primaire); }
.text-danger { color: var(--rouge); }
.text-primary { color: var(--bleu-primaire); }
.text-muted { color: var(--gris-moyen); }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.d-none { display: none; }
.d-flex { display: flex; }
.gap-1 { gap: 10px; }
.gap-2 { gap: 20px; }
.text-uppercase { text-transform: uppercase; }
.fw-bold { font-weight: 700; }
.font-large { font-size: 24px; }

/* ============================================================
   NOUVEAUX STYLES - HERO AVEC IMAGE & PRODUITS AVEC PHOTOS
   ============================================================ */

/* HERO avec image de fond */
.hero-with-image { position: relative; padding: 100px 0 120px; overflow: hidden; }
.hero-bg { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-size: cover; background-position: center; z-index: 0; }
.hero-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 58, 138, 0.88) 50%, rgba(5, 150, 105, 0.85) 100%); z-index: 1; }
.hero-with-image .container { position: relative; z-index: 2; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(52, 211, 153, 0.4);
    color: var(--vert-clair);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
}
.hero-badge i { color: var(--vert-clair); }

.hero-card { position: relative; }
.hero-card-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: white;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

/* SECTION ABOUT (image + texte) */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}
.about-image {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}
.section-label {
    display: inline-block;
    color: var(--vert-primaire);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
}
.section-h2 {
    font-size: 38px;
    color: var(--noir);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}
.section-lead {
    color: var(--gris-fonce);
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.advantages-list { display: grid; gap: 20px; margin-bottom: 30px; }
.advantage-item { display: flex; align-items: flex-start; gap: 15px; }
.advantage-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--vert-primaire), var(--vert-fonce));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.advantage-item strong { display: block; color: var(--noir); font-size: 16px; margin-bottom: 4px; }
.advantage-item p { color: var(--gris-moyen); font-size: 14px; margin: 0; }

/* PRODUITS AVEC PHOTOS - cartes premium */
.products-grid-img {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}
.product-card-img {
    background: var(--blanc);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--gris-tres-clair);
}
.product-card-img:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    color: inherit;
}
.product-card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}
.product-card-image::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(15, 23, 42, 0.4) 100%);
}
.product-card-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--bleu-primaire);
    color: white;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}
.product-card-tag.green { background: var(--vert-primaire); }
.product-card-body { padding: 25px; flex: 1; display: flex; flex-direction: column; }
.product-card-body h3 { color: var(--bleu-primaire); font-size: 22px; margin-bottom: 10px; }
.product-card-body p { color: var(--gris-moyen); font-size: 14px; line-height: 1.6; margin-bottom: 20px; flex: 1; }
.product-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--gris-tres-clair);
    font-size: 14px;
}
.product-card-meta strong { color: var(--bleu-primaire); font-size: 18px; }
.product-card-meta .text-success { color: var(--vert-primaire); font-weight: 600; }
.product-card-img:hover .text-success i { transform: translateX(5px); transition: var(--transition); }

/* BANNIÈRE LIFESTYLE pleine largeur */
.lifestyle-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 120px 20px;
    color: white;
    text-align: center;
    overflow: hidden;
}
.lifestyle-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.85) 0%, rgba(5, 150, 105, 0.85) 100%);
}
.lifestyle-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}
.lifestyle-content small {
    display: inline-block;
    color: var(--vert-clair);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 15px;
}
.lifestyle-content h2 { font-size: 42px; margin-bottom: 20px; font-weight: 800; }
.lifestyle-content p { font-size: 18px; opacity: 0.95; margin-bottom: 35px; line-height: 1.7; }

/* PAGE PRODUIT - hero avec image */
.product-hero {
    position: relative;
    height: 380px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.product-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 58, 138, 0.75) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}
.product-hero-content { max-width: 800px; }
.product-hero-content h1 { font-size: 48px; font-weight: 800; margin-bottom: 15px; }
.product-hero-content p { font-size: 18px; opacity: 0.95; }

/* RESPONSIVE pour les nouveaux éléments */
@media (max-width: 968px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-image { height: 320px; }
    .lifestyle-content h2 { font-size: 32px; }
    .lifestyle-banner { padding: 80px 20px; }
    .product-hero { height: 280px; }
    .product-hero-content h1 { font-size: 32px; }
    .hero-with-image { padding: 60px 0 80px; }
}

@media (max-width: 568px) {
    .product-card-image { height: 160px; }
    .lifestyle-content h2 { font-size: 26px; }
    .lifestyle-content p { font-size: 15px; }
    .lifestyle-banner { padding: 60px 15px; }
    .about-image { height: 240px; }
    .section-h2 { font-size: 28px; }
    .product-hero-content h1 { font-size: 26px; }
}
