/* === Variables === */
:root {
    --primary: #1B6F8A;
    --primary-dark: #155a72;
    --secondary: #C82B2B;
    --secondary-dark: #a82222;
    --dark: #1a3a4a;
    --gray: #6B6B6B;
    --light: #F4F7F9;
    --white: #FFFFFF;
    --font: 'Montserrat', sans-serif;
    --radius: 8px;
    --shadow: 0 4px 16px rgba(0,0,0,0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    color: #333;
    line-height: 1.6;
    font-size: 16px;
}

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

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

ul {
    list-style: none;
}

/* === Container === */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === Boutons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-family: var(--font);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    border: none;
}

.btn:hover {
    transform: translateY(-2px);
}

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

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

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #1da851;
}

.btn-email {
    background: var(--white);
    color: var(--secondary);
    border: 2px solid var(--white);
}

.btn-email:hover {
    background: transparent;
    color: var(--white);
}

/* === Titres de section === */
.section-title {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    text-align: center;
    margin-bottom: 1rem;
}

.section-intro {
    text-align: center;
    color: var(--gray);
    max-width: 750px;
    margin: 0 auto 2.5rem;
    font-size: 1rem;
}

/* === HEADER === */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

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

.logo-desktop {
    height: 45px;
    width: auto;
}

.logo-mobile {
    height: 45px;
    width: auto;
    display: none;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-weight: 700;
    font-size: 1.05rem;
    background: rgba(255,255,255,0.15);
    padding: 8px 16px;
    border-radius: var(--radius);
    transition: background 0.2s;
}

.header-phone:hover {
    background: rgba(255,255,255,0.25);
}

/* === HERO === */
.hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1a3a4a 0%, #1B6F8A 50%, #5BB8D4 100%);
    color: var(--white);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 60px 20px;
}

.hero-content h1 {
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    margin-bottom: 2rem;
    opacity: 0.9;
    font-weight: 600;
}

/* === ATOUTS === */
.atouts {
    padding: 70px 0;
    background: var(--light);
}

.atouts .section-title {
    margin-bottom: 2.5rem;
}

.atouts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.atout-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.2s;
}

.atout-card:hover {
    transform: translateY(-4px);
}

.atout-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--primary);
}

.atout-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.atout-card p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* === SERVICES === */
.services {
    padding: 70px 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 1rem;
}

.service-item {
    padding: 24px;
    border-left: 4px solid var(--primary);
    background: var(--light);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.service-item h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.service-item p {
    color: var(--gray);
    font-size: 0.88rem;
    line-height: 1.65;
}

/* === À PROPOS === */
.apropos {
    padding: 70px 0;
    background: var(--light);
}

.apropos-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
}

.apropos-text h2 {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 1.2rem;
}

.apropos-text p {
    color: #444;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.apropos-stats {
    display: flex;
    gap: 32px;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--secondary);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.apropos-logo {
    flex-shrink: 0;
}

.apropos-logo img {
    max-width: 240px;
    width: 100%;
}

/* === DEVIS === */
.devis {
    padding: 80px 0;
    background: var(--secondary);
    color: var(--white);
    text-align: center;
}

.devis h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 900;
    margin-bottom: 0.75rem;
}

.devis p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
}

.devis-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* === FOOTER === */
.site-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.85);
    padding-top: 50px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo {
    height: 38px;
    width: auto;
}

.footer-brand p {
    font-size: 0.85rem;
    margin-top: 12px;
    opacity: 0.65;
}

.footer-contact h4,
.footer-hours h4 {
    color: var(--white);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 14px;
}

.footer-contact address {
    font-style: normal;
}

.footer-contact p {
    font-size: 0.88rem;
    margin-bottom: 6px;
    line-height: 1.65;
}

.footer-contact a {
    color: rgba(255,255,255,0.85);
    transition: color 0.2s;
}

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

.footer-hours ul li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 0.88rem;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-hours ul li:last-child {
    border-bottom: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 16px 0;
    text-align: center;
    font-size: 0.78rem;
    opacity: 0.55;
}

/* === RÉSEAUX SOCIAUX — HEADER === */
.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-social {
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: var(--white);
    background: rgba(255,255,255,0.15);
    transition: background 0.2s, transform 0.15s;
}

.social-icon:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

/* === SECTION RÉSEAUX === */
.reseaux {
    padding: 70px 0;
    background: var(--white);
}

.reseaux .section-title {
    margin-bottom: 0.75rem;
}

.reseaux-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn-insta {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: var(--white);
}

.btn-insta:hover {
    opacity: 0.9;
}

.btn-facebook {
    background: #1877F2;
    color: var(--white);
}

.btn-facebook:hover {
    background: #1464d0;
}

/* === FOOTER SOCIAL === */
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.footer-social .social-icon {
    background: rgba(255,255,255,0.12);
}

.footer-social .social-icon:hover {
    background: rgba(255,255,255,0.25);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .logo-desktop { display: none; }
    .logo-mobile  { display: block; }

    .header-phone { font-size: 0.85rem; padding: 6px 10px; }

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

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

    .apropos-inner {
        grid-template-columns: 1fr;
    }
    .apropos-logo {
        display: none;
    }

    .devis-buttons {
        flex-direction: column;
        align-items: center;
    }
    .devis-buttons .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

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

    .reseaux-buttons {
        flex-direction: column;
        align-items: center;
    }

    .reseaux-buttons .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .header-social {
        display: none;
    }
}

@media (max-width: 480px) {
    .atouts-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .apropos-stats {
        gap: 20px;
        justify-content: center;
    }
}
