/* 
    AT&COBIZ - Global Style Sheet
    Theme: Premium Light (Blanc Cassé, Or Classique & Noir Profond)
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Open+Sans:wght@400;500;600;700&display=swap');

:root {
    --bg-primary: #FBF8F3; /* Fond Beige Crème */
    --bg-secondary: #FFFFFF; /* Blanc Pur */
    --accent-gold: #C8961E; /* Or Principal */
    --accent-gold-light: rgba(200, 150, 30, 0.12); /* Or Clair */
    --accent-gold-dark: #A87A15; /* Or Foncé */
    --text-primary: #1A1511; /* Brun Profond */
    --text-secondary: #705E4F; /* Gris-Brun */
    --border-color: #E8E2DA; /* Bordure */
    --success-green: #25D366; /* Accent Vert WhatsApp */
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.08);
    --radius: 16px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Open Sans', sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .montserrat {
    font-family: 'Montserrat', sans-serif;
}

/* Les images ne dépassent pas leur conteneur (sauf règles plus spécifiques) */
img {
    max-width: 100%;
}

/* --- Animations --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to   { opacity: 1; transform: scale(1); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.05); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    50%      { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
}

@keyframes shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delays for children */
.animate-on-scroll.visible .stagger-1 { animation-delay: 0.1s; }
.animate-on-scroll.visible .stagger-2 { animation-delay: 0.2s; }
.animate-on-scroll.visible .stagger-3 { animation-delay: 0.3s; }
.animate-on-scroll.visible .stagger-4 { animation-delay: 0.4s; }

/* --- Utilities --- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.atco-section {
    padding: 100px 0;
    position: relative;
}

.atco-bg-alt {
    background-color: var(--bg-secondary);
}

.atco-title {
    font-size: clamp(28px, 5vw, 42px);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-style: italic;
    color: var(--text-primary);
    text-transform: none;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
}

.atco-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-gold);
    margin: 15px auto 0;
    border-radius: 2px;
}

.atco-title[style*="text-align: left"]::after {
    margin-left: 0;
}

.atco-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 60px;
    text-align: center;
    line-height: 1.8;
}

.atco-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* --- Navbar --- */
.atco-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 21, 17, 0.98); /* Sombre pour contraster avec le site Or */
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 0;
    animation: slideDown 0.6s ease;
}

.atco-nav.scrolled {
    box-shadow: 0 2px 20px rgba(26, 21, 17, 0.08);
}

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

.atco-logo {
    display: flex;
    align-items: center;
}

.atco-logo img {
    height: 45px;
    width: auto;
    transition: var(--transition);
}

.atco-logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gold);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.nav-links a:hover {
    color: var(--accent-gold);
}

.nav-links a:hover::after {
    width: 100%;
}

/* --- Menu Mobile "No-JS" (Checkbox Hack) --- */
.menu-checkbox {
    display: none;
}

.menu-icon {
    display: none;
    font-size: 24px;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    padding: 8px;
    border-radius: 8px;
}

.menu-icon:hover {
    color: var(--accent-gold);
    background: var(--accent-gold-light);
}

/* --- Buttons --- */
.atco-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.atco-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.atco-btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: var(--accent-gold);
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
    background: var(--accent-gold-dark);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
}

.btn-outline:hover {
    background: var(--accent-gold);
    color: var(--text-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.btn-nav {
    padding: 10px 24px;
    font-size: 13px;
    border-radius: 10px;
}

/* --- Hero Section (2 colonnes : carte texte | photo) --- */
.atco-hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Changed from center to allow scroll/growth without cutting top */
    align-items: center;
    padding-top: 100px;
    padding-bottom: 60px;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(28px, 4vw, 48px);
    align-items: center;
    width: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease;
    text-align: left;
    max-width: none;
    margin: 0;
    padding: clamp(28px, 5vw, 44px) clamp(22px, 4vw, 40px);
    border-radius: 24px;
    background: rgba(251, 248, 243, 0.98); /* Crème presque opaque pour contraster l'Or */
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow:
        0 20px 60px rgba(26, 21, 17, 0.3),
        0 0 0 1px rgba(26, 21, 17, 0.05);
}

.hero-visual {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 4 / 3;
    max-height: min(72vh, 640px);
    margin-left: auto;
    box-shadow: var(--shadow-hover);
    border: 1px solid var(--border-color);
}

.hero-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* PC : flex — hauteur photo = hauteur de la carte (ligne déterminée par la colonne gauche) */
@media (min-width: 993px) {
    .hero-grid {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        gap: clamp(28px, 4vw, 48px);
    }

    .hero-content {
        align-self: flex-start;
        flex: 1 1 minmax(0, 52%);
        min-width: 0;
    }

    .hero-visual {
        flex: 1 1 minmax(0, 48%);
        align-self: stretch;
        min-width: 0;
        min-height: 0;
        margin-left: 0;
        aspect-ratio: unset;
        max-height: none;
        height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        background: linear-gradient(
            165deg,
            var(--bg-secondary) 0%,
            #f3ede4 100%
        );
    }

    .hero-visual img {
        object-fit: contain;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #fffefb, rgba(255, 252, 245, 0.98));
    color: var(--accent-gold-dark);
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 22px;
    border: 1px solid rgba(200, 150, 30, 0.35);
    box-shadow: 0 2px 12px rgba(200, 150, 30, 0.12);
}

.hero-badge i {
    color: var(--accent-gold);
    filter: drop-shadow(0 1px 1px rgba(200, 150, 30, 0.35));
}

.hero-content h1 {
    font-size: clamp(36px, 7vw, 68px);
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: none;
    letter-spacing: -1.5px;
}

.hero-content h1 .gold-text {
    color: var(--accent-gold-dark);
    position: relative;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}

.hero-content p {
    font-size: clamp(16px, 2.2vw, 18px);
    color: var(--text-primary);
    max-width: 640px;
    margin: 0 0 32px 0;
    line-height: 1.75;
    font-weight: 500;
    opacity: 0.92;
    text-shadow: none;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

/* --- Search Bar Premium (Thème "Contraste Royal") --- */
.search-bar-container {
    max-width: 1000px;
    margin: -50px auto 40px; /* Chevauche la section précédente */
    background: var(--bg-secondary); /* Fond blanc/clair */
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow-hover);
    position: relative;
    z-index: 10;
}

.search-title {
    text-align: center;
    margin-bottom: 24px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.search-bar-form {
    display: flex;
    gap: 15px;
    align-items: flex-end;
}

.search-group {
    flex: 1;
}

.search-bar-form select,
.search-bar-form input {
    width: 100%;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 14px 15px 14px 42px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    outline: none;
    transition: var(--transition);
    appearance: none;
    cursor: pointer;
}

.search-btn {
    padding: 18px 30px;
    font-size: 15px;
    border-radius: 12px;
    white-space: nowrap;
}

.search-submit {
    height: 50px;
    background: var(--accent-gold) !important;
    color: var(--text-primary) !important;
    font-weight: 800 !important;
}

.search-submit:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.3) !important;
}

@media (max-width: 1024px) {
    .search-bar-form {
        gap: 20px;
    }
    .search-group {
        flex: 1 1 calc(33.333% - 20px);
    }
    .search-submit {
        flex: 1 1 100%;
    }
}

@media (max-width: 768px) {
    .search-bar-container {
        padding: 30px 20px;
        margin-top: 30px;
        width: 100%;
    }
    .search-bar-header h2 {
        font-size: 24px;
    }
    .search-group {
        flex: 1 1 100% !important;
    }
    .search-bar-form {
        flex-direction: column;
        align-items: stretch;
    }
}

/* --- Cards --- */
.atco-card {
    background: var(--bg-secondary); /* Crème sur fond Or */
    border-radius: var(--radius);
    border: 1px solid rgba(26, 21, 17, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(26, 21, 17, 0.1);
    overflow: hidden;
}

.atco-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

/* --- Voitures Grid --- */
.voitures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.car-img-box {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.car-img-box::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.03), transparent);
    pointer-events: none;
}

.car-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.car-card:hover .car-img-box img {
    transform: scale(1.08);
}

.car-details {
    padding: 28px;
    text-align: center;
}

.car-meta h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.car-meta p {
    color: var(--text-secondary);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
}

.car-price {
    font-size: 26px;
    font-weight: 800;
    color: var(--accent-gold);
    margin-bottom: 22px;
}

.car-price span {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 400;
}

.btn-full {
    width: 100%;
}

/* --- Car Features & Badges --- */
.car-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.car-feature {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--accent-gold-light);
    color: var(--text-secondary);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: var(--transition);
}

.car-feature i {
    color: var(--accent-gold);
    font-size: 10px;
}

.car-card:hover .car-feature {
    background: rgba(200, 150, 30, 0.18);
}

.badge-popular {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--accent-gold); /* Badge Or */
    color: var(--text-primary);
    font-size: 11px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

/* --- Services Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 45px 30px;
    text-align: center;
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--accent-gold);
    transition: width 0.4s ease;
    border-radius: 0 0 3px 3px;
}

.service-card:hover::before {
    width: 60%;
}

.service-icon-wrapper {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    background: var(--accent-gold-light);
    border-radius: 20px;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon-wrapper {
    background: var(--bg-secondary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.service-icon {
    font-size: 32px;
    color: var(--accent-gold);
    transition: color 0.4s ease;
}

.service-card:hover .service-icon {
    color: #ffffff;
}

.service-card h3 {
    margin-bottom: 12px;
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
}

/* --- Pourquoi Section Styles --- */
.pourquoi-flex {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: clamp(40px, 6vw, 80px);
    flex-wrap: wrap;
}

.pourquoi-content {
    flex: 1 1 minmax(280px, 48%);
    min-width: 0;
    align-self: flex-start;
}

.pourquoi-title {
    text-align: left;
}

.pourquoi-title::after {
    margin-left: 0;
}

.pourquoi-img {
    flex: 1 1 minmax(280px, 48%);
    min-width: 0;
    min-height: 0;
    align-self: stretch;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-hover);
    background: linear-gradient(
        165deg,
        #FFFFFF 0%,
        #e5dfd6 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
}

.pourquoi-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

@media (min-width: 993px) {
    .pourquoi-flex {
        flex-wrap: nowrap;
    }
}

.pourquoi-list {
    list-style: none;
    margin-top: 30px;
}

.pourquoi-list li {
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    color: var(--text-primary);
    padding: 12px 16px;
    border-radius: 12px;
    transition: var(--transition);
}

.pourquoi-list li:hover {
    background: var(--accent-gold-light);
    transform: translateX(5px);
}

.pourquoi-list i {
    color: var(--accent-gold);
    font-size: 20px;
    flex-shrink: 0;
}

/* --- Propos Section Styles --- */
.propos-container {
    display: flex;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap;
}

.propos-img,
.propos-content {
    flex: 1;
    min-width: min(100%, 300px);
}

.propos-title {
    text-align: left;
}

.propos-title::after {
    margin-left: 0;
}

.propos-img {
    position: relative;
    max-width: 100%;
}

.propos-img img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    box-shadow: 20px 20px 0 var(--accent-gold);
    transition: var(--transition);
}

.propos-img:hover img {
    box-shadow: 15px 15px 0 var(--accent-gold);
}

.badge-stats {
    display: flex;
    gap: 40px;
    margin-top: 35px;
}

.stat-item {
    text-align: center;
    padding: 20px 30px;
    background: var(--accent-gold-light);
    border-radius: var(--radius);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}

.stat-num {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    font-weight: 600;
}

/* --- Testimonials Section --- */
.temoignages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.temoignage-card {
    padding: 40px 30px;
    position: relative;
}

.temoignage-card::before {
    content: '\201C';
    font-size: 80px;
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--accent-gold);
    opacity: 0.2;
    position: absolute;
    top: 15px;
    left: 25px;
    line-height: 1;
}

.temoignage-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 25px;
    padding-top: 10px;
    font-style: italic;
}

.temoignage-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.temoignage-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(200, 150, 30, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.temoignage-info h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
}

.temoignage-info p {
    font-size: 13px;
    color: var(--text-secondary);
}

.stars {
    color: var(--accent-gold);
    font-size: 14px;
    margin-bottom: 15px;
    letter-spacing: 3px;
}

/* --- CTA Banner --- */
.cta-banner {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--text-primary) 0%, #3D3530 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner h2,
.cta-banner .atco-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 800;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border: 2px solid rgba(200, 150, 30, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    border: 2px solid rgba(200, 150, 30, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-banner h2 {
    font-size: clamp(28px, 5vw, 40px);
    color: #FFFFFF;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 800;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.cta-banner p {
    color: #cbd5e1;
    font-size: 17px;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.cta-banner .atco-btn {
    font-size: 16px;
    padding: 18px 40px;
}

/* --- Footer --- */
.atco-footer {
    padding: 80px 0 30px;
    background: var(--text-primary);
    color: #ffffff;
    position: relative;
}

.atco-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), transparent, var(--accent-gold));
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Logo pleine couleur sur fond clair (évite filter qui casse certains PNG / contrastes) */
.footer-logo-wrap {
    display: inline-block;
    background: rgba(255, 255, 255, 0.96);
    padding: 14px 20px;
    border-radius: 14px;
    margin-bottom: 22px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.footer-logo {
    display: block;
    height: auto;
    max-height: 52px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

.footer-info p {
    color: #94a3b8;
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    color: #94a3b8;
    font-size: 16px;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.social-links a:hover {
    background: var(--accent-gold);
    color: #ffffff;
    border-color: var(--accent-gold);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
    color: #ffffff;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-gold);
    border-radius: 1px;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
    display: block;
    padding: 6px 0;
}

.footer-links a:hover {
    color: var(--accent-gold);
    transform: translateX(5px);
}

.footer-contact p {
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-contact i {
    color: var(--accent-gold);
    font-size: 15px;
    width: 18px;
    text-align: center;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
}

.footer-bottom p {
    color: #64748b;
    font-size: 13px;
}

/* --- Floating WhatsApp Button --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    text-decoration: none;
    z-index: 999;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: glow 2.5s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
    animation: none;
}

/* --- Scroll to Top --- */
.scroll-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--text-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
}

.scroll-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.scroll-top:hover {
    background: var(--accent-gold);
    transform: translateY(-3px);
}

/* --- Section Title Rhythm: fonds alternés (titres en capitales) --- */
.atco-bg-alt .atco-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 800;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --- Mobile Responsive --- */
@media (max-width: 992px) {
    .menu-icon {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-primary);
        flex-direction: column;
        gap: 0;
        border-top: 1px solid var(--border-color);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links a {
        display: block;
        padding: 18px 24px;
        text-align: center;
        color: var(--text-primary);
    }

    .nav-links a::after {
        display: none;
    }

    .menu-checkbox:checked ~ .nav-links {
        max-height: 400px;
    }

    .menu-checkbox:checked ~ .menu-icon {
        transform: rotate(90deg);
        color: var(--accent-gold);
    }

    .atco-section {
        padding: 70px 0;
    }

    .atco-hero {
        min-height: unset;
        padding-top: 72px;
        padding-bottom: 40px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .hero-visual {
        order: -1;
        aspect-ratio: 16 / 10;
        max-height: min(42vh, 380px);
        margin-left: 0;
    }

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

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

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

    .btn-nav {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .propos-container {
        flex-direction: column-reverse;
    }

    .propos-img,
    .propos-content {
        flex: 1 1 100%;
        min-width: 0;
    }

    /* Notre Mission : cadre fixe + cover pour éviter photo trop haute / débordement */
    .propos-img {
        width: 100%;
        aspect-ratio: 16 / 10;
        max-height: min(48vh, 420px);
        min-height: 200px;
        margin: 0 auto;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: var(--shadow-hover);
        border: 1px solid var(--border-color);
    }

    .propos-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        border-radius: 0;
        box-shadow: none;
        display: block;
    }

    .propos-img:hover img {
        box-shadow: none;
        transform: scale(1.02);
    }

    .pourquoi-img {
        order: -1;
        flex: 1 1 100%;
        align-self: stretch;
        aspect-ratio: 16 / 10;
        max-height: min(48vh, 400px);
        min-height: 220px;
    }

    .pourquoi-flex,
    .propos-container {
        gap: 40px;
    }

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

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 32px;
    }

    .badge-stats {
        flex-direction: column;
        gap: 15px;
    }

    .stat-item {
        padding: 15px 20px;
    }

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

    .propos-img {
        aspect-ratio: 5 / 4;
        max-height: min(40vh, 300px);
        min-height: 180px;
    }

    .pourquoi-img {
        max-height: min(44vh, 360px);
        min-height: 200px;
    }
}

/* --- Accessibilité : focus visible --- */
.nav-links a:focus-visible,
.atco-btn:focus-visible,
.atco-logo:focus-visible,
.menu-icon:focus-visible,
.whatsapp-float:focus-visible,
.scroll-top:focus-visible,
.social-links a:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 3px;
}

.menu-checkbox:focus-visible + .menu-icon {
    outline: 2px solid var(--accent-gold);
    outline-offset: 3px;
}

/* --- Accessibilité : réduction des animations --- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .animate-on-scroll {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .whatsapp-float {
        animation: none;
    }

    .hero-content {
        animation: none;
    }

    .atco-nav {
        animation: none;
    }
}
