/* ==========================================================================
   VARIABLES & RESET (Charte STV AUTO)
   ========================================================================== */
:root {
    --primary: #0D47A1;      /* Bleu STV */
    --primary-dark: #093375; /* Bleu foncé (survol) */
    --dark: #111111;         /* Noir STV */
    --light: #FFFFFF;        /* Blanc STV */
    --gray-100: #f8f9fa;     /* Gris très clair (fonds) */
    --gray-200: #e9ecef;     /* Gris clair (bordures) */
    --text-color: #333333;   /* Texte principal */
    
    --transition: all 0.3s ease;
    --radius: 6px;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-premium: 0 10px 20px rgba(0,0,0,0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light);
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ==========================================================================
   TYPOGRAPHIE
   ========================================================================== */
h1, h2, h3, h4 {
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 800;
}

h1 { font-size: 2.2rem; text-transform: uppercase; }
h2 { font-size: 1.8rem; text-transform: uppercase; }
h3 { font-size: 1.3rem; }

/* ==========================================================================
   UTILITAIRES
   ========================================================================== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding { padding: 4rem 0; }
.bg-light { background-color: var(--gray-100); }
.text-center { text-align: center; }

/* ==========================================================================
   BOUTONS
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: bold;
    text-transform: uppercase;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--light);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: var(--dark);
    color: var(--light);
}

.btn-secondary:hover {
    background-color: #333333;
}

.btn-link {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 15px;
    background-color: transparent;
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1rem;
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    transition: var(--transition);
    margin-top: 1rem; /* Espace avec la liste */
}

.btn-link:hover {
    background-color: var(--primary);
    color: var(--light);
    box-shadow: 0 6px 15px rgba(13, 71, 161, 0.25);
    transform: translateY(-2px);
}

/* ==========================================================================
   HEADER & NAVIGATION (Mobile First)
   ========================================================================== */
.main-header {
    background-color: var(--light);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--light);
    flex-direction: column;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.main-nav.active {
    display: flex;
}

.nav-list {
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

.nav-list li a {
    display: block;
    padding: 10px 0;
    font-weight: bold;
    color: var(--dark);
    border-bottom: 1px solid var(--gray-200);
}

.nav-cta {
    margin: 1rem;
    align-self: center;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    transition: var(--transition);
}

/* ==========================================================================
   HERO SECTIONS
   ========================================================================== */
.hero {
    background-color: var(--dark);
    color: var(--light);
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    color: var(--light);
}

.hero .subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Background spécifique pour la page d'accueil */
.hero-home {
    background: linear-gradient(rgba(17,17,17,0.8), rgba(17,17,17,0.8)), url('../images/hero-bg.webp') center/cover no-repeat;
    padding: 6rem 0;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.price-hooks {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.hook-badge {
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}

/* ==========================================================================
   SECTIONS DE CONFIANCE (TRUST)
   ========================================================================== */
.trust-grid {
    display: grid;
    gap: 2rem;
}

.img-premium {
    border-radius: var(--radius);
    box-shadow: var(--shadow-premium);
}

/* ==========================================================================
   SERVICES & PRESTATIONS (V2 Premium)
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.premium-card {
    background: var(--light);
    text-align: left;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    border-top: 5px solid var(--primary);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.premium-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.premium-list {
    margin-top: 1rem;
    margin-bottom: 2rem;
    flex-grow: 1; /* Aligne les boutons CTA en bas */
}

.premium-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: #555555;
}

.premium-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* ==========================================================================
   BANNIÈRE VENTE / CONTACT RAPIDE
   ========================================================================== */
.sales-banner {
    background-color: var(--primary);
    color: var(--light);
    text-align: center;
}
.sales-banner h2 { color: var(--light); }

/* ==========================================================================
   SECTION CONTACT & FORMULAIRE (V2 Premium)
   ========================================================================== */
.contact-grid {
    display: grid;
    gap: 3rem;
}

.premium-contact {
    align-items: start;
}

.premium-info-box {
    background: var(--light);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
}

.info-list li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cccccc;
    border-radius: var(--radius);
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.1);
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.btn-submit {
    width: 100%;
    font-size: 1.1rem;
    padding: 15px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    background-color: var(--dark);
    color: var(--gray-200);
    padding: 4rem 0 0 0;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h3 {
    color: var(--light);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col a:hover { color: var(--primary); }
.small-text { font-size: 0.85rem; color: #999999; }

.footer-bottom {
    background: #000000;
    padding: 1rem 0;
    margin-top: 2rem;
    font-size: 0.9rem;
}

/* ==========================================================================
   MOBILE STICKY CTA
   ========================================================================== */
.mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--primary);
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

.btn-sticky-call {
    display: block;
    text-align: center;
    color: var(--light);
    font-weight: bold;
    font-size: 1.2rem;
    padding: 15px;
    text-transform: uppercase;
}

@media (max-width: 767px) {
    body { padding-bottom: 60px; /* Espace pour le CTA sticky */ }
}

/* ==========================================================================
   RESPONSIVE DESKTOP (Min 768px)
   ========================================================================== */
@media (min-width: 768px) {
    /* Navigation */
    .menu-toggle { display: none; }
    .main-nav {
        display: flex;
        position: static;
        flex-direction: row;
        width: auto;
        box-shadow: none;
        align-items: center;
    }
    .nav-list { flex-direction: row; padding: 0; }
    .nav-list li a { border-bottom: none; padding: 10px 15px; }
    .nav-cta { margin: 0 0 0 2rem; }

    /* Hero */
    .hero h1 { font-size: 3rem; }
    .hero-actions { flex-direction: row; justify-content: center; }
    
    /* Layouts Grilles */
    .trust-grid { grid-template-columns: 1fr 1fr; align-items: center; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr 1.5fr; }
    .form-row { flex-direction: row; }
    .form-row .half { width: 50%; }
    .footer-grid { grid-template-columns: repeat(4, 1fr); }
    
    /* Hide Mobile CTA on Desktop */
    .mobile-sticky-cta { display: none; }
    body { padding-bottom: 0; }
}

/* Extra Large Screens */
@media (min-width: 1024px) {
    .services-grid { grid-template-columns: repeat(3, 1fr); }
    .hero h1 { font-size: 3.5rem; }
}