/* ============================================
   Auto-École de Mougins - PREMIUM EDITION (V4)
   Concept: Riviera Elegance / Luxury Local / Art de Vivre
   ============================================ */

:root {
    /* Palette - Riviera Elegance */
    --ivory: #FAF8F5;
    --cream: #F5F2EB;
    --gold: #B8A078;
    --gold-dark: #9A8565;
    --navy: #1A3A5C;
    --charcoal: #1C1C1E;
    --text-main: #3A3A3C;
    --text-light: #6E6E73;
    --white: #FFFFFF;

    /* Typography */
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Source Sans 3', system-ui, sans-serif;

    /* Spacing & Sizing */
    --container-max: 1140px;
    --header-height: 90px;

    /* Effects */
    --transition-elegant: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.06);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4 {
    font-family: var(--font-serif);
    color: var(--charcoal);
    font-weight: 500;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-elegant);
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 32px;
}

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

/* ============================================
   Gold Accent Bar (Top)
   ============================================ */
.gold-accent-bar {
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-dark), var(--gold));
}

/* ============================================
   Navigation
   ============================================ */
.navbar-premium {
    height: var(--header-height);
    background: var(--white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

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

.brand-icon {
    width: 48px;
    height: 48px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gold-dark);
    letter-spacing: 1px;
}

.brand-name {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.name-main {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--charcoal);
}

.name-sub {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
}

.nav-links-premium {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links-premium a {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
}

.nav-links-premium a:hover {
    color: var(--charcoal);
}

/* Buttons */
.btn-elegant {
    padding: 12px 28px;
    background: var(--charcoal);
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 2px;
    letter-spacing: 0.5px;
}

.btn-elegant:hover {
    background: var(--navy);
}

.btn-primary-elegant {
    display: inline-block;
    padding: 16px 36px;
    background: var(--charcoal);
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 2px;
    letter-spacing: 0.5px;
    transition: var(--transition-elegant);
}

.btn-primary-elegant:hover {
    background: var(--navy);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.btn-text-elegant {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    font-weight: 500;
}

.btn-text-elegant:hover {
    color: var(--gold-dark);
}

/* ============================================
   Hero Section
   ============================================ */
.hero-premium {
    padding: 100px 0 120px;
    background: var(--white);
    overflow: hidden;
}

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

.hero-eyebrow {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 20px;
}

.hero-headline {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 28px;
}

.hero-headline em {
    font-style: italic;
    color: var(--navy);
}

.hero-intro {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 480px;
    margin-bottom: 40px;
}

.hero-ctas {
    display: flex;
    align-items: center;
    gap: 32px;
}

/* Hero Visual */
.hero-visual-premium {
    position: relative;
}

.image-frame {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
}

.decorative-corner {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 2px solid var(--gold);
}

.decorative-corner.top-left {
    top: -15px;
    left: -15px;
    border-right: none;
    border-bottom: none;
}

.decorative-corner.bottom-right {
    bottom: -15px;
    right: -15px;
    border-left: none;
    border-top: none;
}

/* ============================================
   Sections
   ============================================ */
.section-premium {
    padding: 100px 0;
}

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

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 16px;
    font-weight: 600;
}

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

.section-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 60px;
}

/* Pillars Grid */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    text-align: center;
}

.pillar-item {
    padding: 40px 32px;
    background: var(--white);
    border-radius: 4px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-elegant);
}

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

.pillar-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--gold);
    font-size: 1.5rem;
}

.pillar-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.pillar-text {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* Offers Grid */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.offer-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition-elegant);
    position: relative;
}

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

.offer-card.featured {
    border-color: var(--gold);
}

.offer-badge {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: var(--gold);
    color: var(--white);
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 0;
}

.offer-header {
    padding: 40px 32px 24px;
    border-bottom: 1px solid var(--cream);
}

.offer-card.featured .offer-header {
    padding-top: 56px;
    /* Account for badge */
}

.offer-name {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.offer-price {
    font-size: 1rem;
    color: var(--text-light);
}

.offer-price strong {
    font-size: 1.5rem;
    color: var(--charcoal);
    font-weight: 600;
}

.offer-body {
    padding: 24px 32px 32px;
}

.offer-features {
    list-style: none;
    margin-bottom: 24px;
}

.offer-features li {
    padding: 8px 0;
    border-bottom: 1px dashed var(--cream);
    font-size: 0.95rem;
    color: var(--text-main);
}

.offer-features li:last-child {
    border-bottom: none;
}

.offer-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--gold-dark);
    font-size: 0.9rem;
}

.offer-link:hover {
    gap: 12px;
    color: var(--navy);
}

/* Location Callout */
.location-callout {
    background: var(--navy);
    color: var(--white);
    padding: 80px 0;
}

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

.callout-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    display: block;
    margin-bottom: 12px;
}

.callout-title {
    font-size: 2.2rem;
    color: var(--white);
    margin-bottom: 16px;
}

.callout-address {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 32px;
    opacity: 0.8;
}

.map-placeholder {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.3);
}

/* ============================================
   Footer
   ============================================ */
.footer-premium {
    background: var(--charcoal);
    color: var(--white);
    padding: 60px 0 40px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.footer-tagline {
    font-size: 0.9rem;
    opacity: 0.6;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-legal {
    width: 100%;
    text-align: center;
    padding-top: 40px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    opacity: 0.5;
}

/* ============================================
   Version Switcher (Premium Style)
   ============================================ */
.premium-switcher {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--white);
    padding: 16px;
    border-radius: 4px;
    box-shadow: var(--shadow-card);
    z-index: 9999;
    border: 1px solid var(--cream);
    font-family: var(--font-sans);
}

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

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

.premium-switcher .sw-btn {
    padding: 6px 10px;
    border-radius: 2px;
    background: var(--cream);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-main);
}

.premium-switcher .sw-btn:hover {
    background: var(--charcoal);
    color: var(--white);
}

.premium-switcher .sw-btn.active {
    background: var(--gold);
    color: var(--white);
}

/* Responsive */
@media (max-width: 900px) {

    .hero-grid,
    .callout-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-intro {
        margin: 0 auto 40px;
    }

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

    .pillars-grid,
    .offers-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual-premium {
        margin-top: 40px;
    }

    .decorative-corner {
        display: none;
    }
}