/*
 * BrandBut - Dépannage Électroménager & Matériel Sport Bordeaux
 * Fichier CSS principal
 * Design: Professionnel, sobre, conversion-focused
 * Couleurs primaires: Bleu nuit (#1b4332), Orange vif (#74c69d)
 */

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

 :root {
    /* Couleurs - Palette verte ESS / écologie */
    --primary: #1b4332;       /* Vert foncé - sérieux, professionnel */
    --primary-dark: #0f2921;  /* Vert très foncé */
    --primary-light: #2d6a4f; /* Vert moyen */
    --accent: #74c69d;        /* Vert vif - actions, CTA */
    --accent-hover: #52b788;  /* Vert plus soutenu au survol */
    --accent-light: #d8f3dc;  /* Vert très clair pour fonds */
    --text: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --bg: #ffffff;
    --bg-light: #f8f9fa;
    --bg-section: #f1f4f8;
    --border: #e2e8f0;
    --success: #22c55e;
    --warning: #f59e0b;
    --error: #ef4444;

    /* Typographie */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-base: 16px;
    --line-height: 1.6;

    /* Espacement */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;
    --spacing-section: 4rem;

    /* Autres */
    --radius: 8px;
    --radius-lg: 12px;
    --shadow: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1), 0 6px 10px rgba(0,0,0,0.08);
    --transition: all 0.2s ease-in-out;
}

html {
    scroll-behavior: smooth;
    font-size: var(--font-size-base);
}

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

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

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

a:hover {
    color: var(--accent);
}

ul, ol {
    list-style: none;
}

/* ===== CONTAINER ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* ===== QUICK SERVICES GRID (Homepage) ===== */
.quick-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.quick-service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.quick-service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.quick-icon {
    width: 64px;
    height: 64px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.quick-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.quick-service-card h3 {
    font-size: 1.15rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary);
}

.quick-service-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* ===== SERVICES GRID (Services page) ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.service-item {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: var(--spacing-lg);
    align-items: start;
    padding: var(--spacing-lg);
    background: var(--bg-light);
    border-radius: var(--radius);
    transition: var(--transition);
}

.service-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.service-item.emergency {
    border-left: 4px solid var(--error);
    background: #fef2f2;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    width: 30px;
    height: 30px;
    color: white;
}



/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--primary);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: var(--spacing-md);
}

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--accent); /* vif */
    color: white;
}

.btn-primary:hover {
    background-color: var(--accent-hover); /* hover */
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--border);
}

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

.btn-service {
    background-color: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-service:hover {
    background-color: var(--accent); /* vif */
    color: white;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-header {
    background-color: var(--accent); /* vif */
    color: white;
    padding: 0.5rem 1.25rem;
    font-weight: 600;
}

.btn-header:hover {
    background-color: var(--accent-hover); /* hover */
    color: white;
}

.btn-urgent {
    background-color: var(--error);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.9; }
}

.btn-sticky {
    background-color: var(--accent); /* vif */
    color: white;
    width: 100%;
    padding: 1rem;
    font-size: 1.125rem;
    box-shadow: var(--shadow-lg);
}

.icon {
    width: 1.25em;
    height: 1.25em;
    flex-shrink: 0;
}


/* ===== LOGO BRANDBUT (2B dos à dos = 8) ===== */
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--primary);
}

.logo-symbol {
    height: 40px;
    width: auto;
    color: var(--primary);
    transition: var(--transition);
}

.logo:hover .logo-symbol {
    color: var(--accent);
    transform: rotate(-5deg);
}

.logo-name {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--primary);
}

.logo-accent {
    color: var(--accent);
}

@media (max-width: 768px) {
    :root { --font-size-base: 17px; }

    .logo-symbol {
        height: 32px;
    }
    .logo-name {
        font-size: 1.25rem;
    }
    body {font-size: 1.05rem; line-height: 1.75;}
    p, li {font-size: 1.05rem; line-height: 1.75; margin-bottom: var(--spacing-lg);}
    h1, .hero h1 {font-size: 2.15rem !important; line-height: 1.25;}
    h2, .section-title {font-size: 1.65rem !important; line-height: 1.35;}
    .btn, .btn-lg, .btn-header, .cta-button {
        min-height: 48px; padding: 0.875rem 1.25rem; font-size: 1rem;
        display: inline-flex; align-items: center; justify-content: center;
    }
    .header-cta {padding: 0.75rem 1.25rem; min-height: 44px;}

    /* Service cards layout */
    .service-header {
        display: flex; justify-content: space-between; align-items: baseline;
        margin-bottom: var(--spacing-sm); flex-wrap: wrap; gap: var(--spacing-xs);
    }
    .service-header h3 {
        font-size: 1.15rem; margin: 0; flex: 1;
    }
    .price-range {
        font-size: 0.95rem; font-weight: 700; color: var(--accent);
        background: var(--accent-light); padding: 0.25rem 0.5rem;
        border-radius: var(--radius); white-space: nowrap;
    }
    .service-features {
        font-size: 0.9rem; gap: var(--spacing-xs); margin-top: var(--spacing-sm);
        justify-content: flex-start;
    }
    .service-features li {
        font-size: 0.9rem; line-height: 1.5;
    }

    /* Category titles & descriptions */
    .category-title {
        font-size: 1.35rem; margin-bottom: var(--spacing-lg);
    }
    .category-description {
        font-size: 1rem; line-height: 1.7; margin-bottom: var(--spacing-xl);
    }
}


.header {
    background: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
}

.logo-accent {
    color: var(--accent);
}

.header-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.header-contact {
    display: flex;
    gap: var(--spacing-lg);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--text);
    font-size: 0.9rem;
}

.contact-item a {
    color: var(--primary);
    font-weight: 600;
}

.contact-item a:hover {
    color: var(--accent);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-sm);
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

/* Navigation */
.main-nav {
    background: var(--primary);
}

.nav-list {
    display: flex;
    justify-content: center;
    gap: 0;
}

.nav-list li a {
    display: block;
    padding: var(--spacing-md) var(--spacing-lg);
    color: white;
    font-weight: 500;
    transition: var(--transition);
}

.nav-list li a:hover,
.nav-list li a.active {
    background: rgba(255,255,255,0.1);
    color: white;
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: var(--spacing-xxl) 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    color: white;
    font-size: 2.75rem;
    margin-bottom: var(--spacing-md);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: var(--spacing-lg);
}

.hero-description {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto var(--spacing-xl);
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-xl);
}

.hero .btn-secondary {
    color: white;
    border-color: white;
}

.hero .btn-secondary:hover {
    background: white;
    color: var(--primary);
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius);
    font-size: 0.9rem;
}

/* ===== SECTIONS ===== */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
}

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

/* ===== SERVICES ===== */
.services-section {
    padding: var(--spacing-section) 0;
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xxl);
}

.service-category {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow);
}

.category-title {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--accent);
}

.category-title .icon {
    color: var(--accent);
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.service-item {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: var(--spacing-lg);
    align-items: start;
    padding: var(--spacing-lg);
    background: var(--bg-light);
    border-radius: var(--radius);
    transition: var(--transition);
}

.service-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.service-item.emergency {
    border-left: 4px solid var(--error);
    background: #fef2f2;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon svg {
    width: 30px;
    height: 30px;
    color: white;
}

.service-icon.emergency-icon {
    background: var(--error);
}

.service-content h4 {
    margin-bottom: var(--spacing-sm);
    color: var(--primary);
}

.service-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-sm);
}

.service-price {
    background: white;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius);
    display: inline-block;
    margin-bottom: var(--spacing-sm);
}

.price-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-right: var(--spacing-xs);
}

.price-range {
    font-weight: 700;
    color: var(--accent);
    font-size: 1.1rem;
}

.price-note {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.service-features span {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 4px;
}

/* ===== ZONE INTERVENTION ===== */
.zone-intervention-section {
    padding: var(--spacing-section) 0;
    background: white;
}

.zone-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
}

.zone-info h2 {
    margin-bottom: var(--spacing-md);
}

.zone-description {
    color: var(--text-light);
    margin-bottom: var(--spacing-lg);
}

.zone-list h4 {
    margin-bottom: var(--spacing-md);
    color: var(--primary);
}

.communes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.communes-grid li {
    padding: var(--spacing-sm);
    background: var(--bg-light);
    border-radius: 4px;
    font-size: 0.9rem;
}

.zones-sup p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.zone-map-holder {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder {
    text-align: center;
    color: var(--text-muted);
}

.map-icon {
    width: 64px;
    height: 64px;
    margin-bottom: var(--spacing-md);
    color: var(--primary);
}

.map-placeholder p {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: var(--spacing-xs);
}

/* ===== WHY US ===== */
.why-us-section {
    padding: var(--spacing-section) 0;
    background: var(--bg-section);
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xxl);
}

.reason-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.reason-icon {
    width: 56px;
    height: 56px;
    background: var(--accent);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

.reason-icon svg {
    width: 28px;
    height: 28px;
    color: white;
}

.reason-card h3 {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
}

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

.cta-banner {
    background: var(--primary);
    color: white;
    padding: var(--spacing-xxl);
    border-radius: var(--radius-lg);
    text-align: center;
}

.cta-banner h3 {
    color: white;
    font-size: 1.75rem;
    margin-bottom: var(--spacing-sm);
}

.cta-banner p {
    color: rgba(255,255,255,0.9);
    margin-bottom: var(--spacing-lg);
}

/* ===== FAQ PREVIEW ===== */
.faq-preview-section {
    padding: var(--spacing-section) 0;
    background: white;
}

.faq-preview-list {
    display: grid;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.faq-item {
    background: var(--bg-light);
    padding: var(--spacing-lg);
    border-radius: var(--radius);
}

.faq-item h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}

.faq-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

/* ===== CTA STICKY MOBILE ===== */
.cta-sticky-mobile {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-md);
    background: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 999;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-xxl);
    margin-bottom: var(--spacing-xl);
}

.footer-brand .logo {
    margin-bottom: var(--spacing-md);
}

.footer-description {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-lg);
}

.footer-contact p {
    margin-bottom: var(--spacing-sm);
    font-size: 0.9rem;
}

.footer-contact a {
    color: white;
    font-weight: 600;
}

.footer-contact a:hover {
    color: var(--accent);
}

.footer h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
}

.footer ul li {
    margin-bottom: var(--spacing-sm);
}

.footer ul li a {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

.footer ul li a:hover {
    color: var(--accent);
}

.footer-zone p {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
}

.phone-link-footer {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--accent);
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: var(--spacing-md);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-legal p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: var(--spacing-xs);
}


/* ===== SECTION ÉCO-RESPONSABILITÉ (ESS) ===== */
.eco-commitment {
    background: linear-gradient(135deg, var(--accent-light) 0%, #ffffff 100%);
    padding: var(--spacing-section) 0;
    border-top: 4px solid var(--accent);
}

.eco-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.eco-icon-large {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
}

.eco-icon-large svg {
    width: 40px;
    height: 40px;
    color: white;
}

.eco-lead {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-xl);
    line-height: 1.7;
}

.eco-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.eco-item {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: left;
    border-left: 4px solid var(--accent);
}

.eco-item h4 {
    margin-bottom: var(--spacing-sm);
    color: var(--primary);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.eco-item p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

.eco-note {
    margin-top: var(--spacing-xl);
    font-size: 0.9rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    padding-top: var(--spacing-md);
}

/* Badge éco dans header */
.eco-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    background: var(--accent-light);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: var(--spacing-md);
    border: 1px solid rgba(27, 67, 50, 0.1);
}

.eco-badge .icon {
    width: 14px;
    height: 14px;
}



/* ===== IMAGES SEO OPT ===== */
.why-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.img-responsive {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
}

.hero-image img {
    max-width: 400px;
    margin: 0 auto;
    display: block;
}


/* ===== CONTACT SIMPLIFIÉ (sans formulaire) ===== */
.contact-section-simple {
    padding: var(--spacing-section) 0;
    background: var(--bg-light);
}

.contact-hero {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.contact-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

.contact-card svg {
    width: 48px;
    height: 48px;
    color: var(--primary);
    margin-bottom: var(--spacing-md);
}

.contact-card h3 {
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}

.contact-card p {
    margin-bottom: var(--spacing-sm);
}

.contact-card a {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
}

.contact-card small {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.contact-cta {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--border);
}


/* Logo image (PNG) */
.logo-img {
    height: 50px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

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


/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: var(--spacing-xl);
    right: var(--spacing-xl);
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 998;
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .zone-content {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-xl);
    }
}


@media (max-width: 480px) {
    :root {
        --font-size-base: 14px;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .communes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ===== UTILITY ===== */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
