/* ============================================
   Auto-École de Mougins - CORPORATE EDITION (V3)
   Concept: Modern Trust / Light / clean
   ============================================ */

:root {
    /* Color Palette */
    --primary: #D32F2F;
    /* Professional Red */
    --primary-dark: #B71C1C;
    --secondary: #1A202C;
    /* Dark Slate */
    --text-main: #2D3748;
    --text-light: #718096;
    --bg-body: #FFFFFF;
    --bg-light: #F7FAFC;
    --bg-input: #EDF2F7;
    --border-color: #E2E8F0;

    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-serif: 'Playfair Display', serif;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 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);
}

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    color: var(--secondary);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.2s;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center {
    text-align: center;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    border: 1px solid transparent;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--text-main);
    background-color: var(--bg-light);
}

.full-width {
    width: 100%;
}

/* ============================================
   Navbar
   ============================================ */
.navbar {
    height: 80px;
    background: white;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--primary);
    background: var(--bg-light);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.brand-text {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--secondary);
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-item {
    font-weight: 500;
    color: var(--text-light);
}

.nav-item:hover {
    color: var(--primary);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    padding: 80px 0;
    background: white;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge-trust {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-light);
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 100px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.5rem;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.text-accent {
    color: var(--primary);
    font-family: var(--font-serif);
    font-style: italic;
}

.hero-lead {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.trust-indicators {
    display: flex;
    align-items: center;
    gap: 24px;
    border-top: 1px solid var(--border-color);
    padding-top: 32px;
}

.indicator {
    display: flex;
    flex-direction: column;
}

.val {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--secondary);
    line-height: 1;
}

.lbl {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 4px;
}

.sep {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

.avatars {
    display: flex;
}

.avatar-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #CBD5E0;
    border: 2px solid white;
    margin-left: -8px;
}

.avatar-circle:first-child {
    margin-left: 0;
    background: #A0AEC0;
}

/* Hero Image */
.hero-image-wrapper {
    position: relative;
}

.image-mask {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transform: rotate(2deg);
    /* Subtle playful element */
    border: 4px solid white;
    background: #eee;
}

.hero-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transform: scale(1.05);
    /* Zoom to fill */
}

.floating-card {
    position: absolute;
    bottom: 40px;
    left: -30px;
    background: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 16px;
    animation: float 4s ease-in-out infinite;
}

.floating-card i {
    font-size: 1.5rem;
    color: #F6AD55;
    /* Gold/Orange */
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ============================================
   Partners & Sections
   ============================================ */
.partners-bar {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 32px 0;
    margin-bottom: 80px;
    background: #FAFAFA;
}

.partners-label {
    text-align: center;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 24px;
    letter-spacing: 0.05em;
}

.logos-grid {
    display: flex;
    justify-content: center;
    gap: 80px;
    opacity: 0.5;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--secondary);
}

.section {
    padding: 100px 0;
}

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 64px;
}

/* ============================================
   Pricing Cards
   ============================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: flex-start;
}

.card {
    background: white;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: 0.3s;
    overflow: hidden;
}

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

.pricing-card.highlight {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    position: relative;
}

.best-value {
    background: var(--primary);
    color: white;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 4px 0;
    letter-spacing: 1px;
}

.card-header {
    padding: 32px;
    border-bottom: 1px solid var(--bg-light);
}

.plan-name {
    margin-bottom: 8px;
    font-size: 1.25rem;
    font-weight: 600;
}

.plan-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
}

.period {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-light);
}

.card-body {
    padding: 32px;
}

.feature-list {
    list-style: none;
    margin-bottom: 32px;
}

.feature-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-main);
}

.feature-list i {
    color: var(--primary);
    font-size: 0.9rem;
}

/* Widget Switcher */
.version-switcher {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: white;
    padding: 16px;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    z-index: 9999;
    border: 1px solid var(--border-color);
}

.switcher-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 8px;
    font-weight: 600;
}

.switcher-buttons {
    display: flex;
    gap: 8px;
}

.sw-btn {
    padding: 6px 12px;
    border-radius: 6px;
    background: var(--bg-light);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--secondary);
    transition: 0.2s;
}

.sw-btn:hover,
.sw-btn.active {
    background: var(--secondary);
    color: white;
}

/* Responsive */
@media (max-width: 900px) {
    .header-container {
        grid-template-columns: 1fr;
    }

    .nav-menu {
        display: none;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .trust-indicators {
        justify-content: center;
    }

    .hero-image-wrapper {
        margin-top: 40px;
    }
}