/* ================= HERO PAGE (APROPOS) ================= */
/* ================= GOOGLE FONT ================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* ================= VARIABLES ================= */
:root {
    --primary: #8B1E1E;
    --secondary: #B83227;
    --accent: #F25C05;
    --light: #F4EDE9;
    --white: #FFFFFF;
    --text: #2E2E2E;
    --gray: #6B6B6B;
}

/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--light);
    color: var(--text);
    overflow-x: hidden;
}


/* ================= HERO ================= */
.offres-hero {
    position: relative;
    height: 40vh;        /* 🔥 réduit la hauteur */
    min-height: 250px;   /* 🔥 limite minimale plus petite */
    
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    background: url('../pictures/slider11.png') center/cover no-repeat;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 600px;
    color: white;
}

.hero-container h1 {
    font-size: clamp(26px, 5vw, 42px);
    font-weight: 700;
}

.hero-container p {
    margin-top: 10px;
    color: #ddd;
    font-size: 15px;
}

.highlight {
    color: var(--accent);
}



/* ================= ABOUT PAGE ================= */
.about {
    padding: 80px 20px;
    background: linear-gradient(to right, #ffffff, #f8f8f8);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    max-width: 1100px;
    margin: auto;
}

/* IMAGE */
.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

/* TEXTE */
.about-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-subtitle {
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
}

.about h2 {
    font-size: clamp(30px, 5vw, 44px);
    color: var(--primary);
    line-height: 1.2;
}

.about-highlight {
    color: var(--accent);
}

.about p {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.6;
}

/* FEATURES */
.about-features {
    display: grid;
    gap: 12px;
    margin-top: 10px;
}

.about-features div {
    background: #fff;
    padding: 14px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-features div::before {
    content: "✔";
    color: var(--accent);
    font-weight: bold;
}


/* ================= VALEURS ================= */
.services {
    padding: 80px 20px;
    text-align: center;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.service-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-6px);
}


/* ================= STATS ================= */
.stats {
    display: flex;
    justify-content: space-around;
    padding: 60px 20px;
    text-align: center;
    flex-wrap: wrap;
    gap: 20px;
}

.stat {
    flex: 1;
    min-width: 120px;
}

.stat h2 {
    color: var(--primary);
    font-size: 32px;
    font-weight: 700;
}

.stat p {
    color: var(--gray);
    font-size: 14px;
}

/* ================= CTA ================= */
.cta-bar {
    padding: 60px 20px;
}

.cta-container {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}


/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {

    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero {
        height: 50vh;
    }

    .stats {
        flex-direction: column;
        gap: 20px;
    }

    .cta-container {
        flex-direction: column;
        text-align: center;
    }
}



/* ================= CONTACT PREMIUM ================= */

.contact-header {
    text-align: center;
    max-width: 700px;
    margin: auto;
    margin-bottom: 40px;
}

.contact-header h2 {
    font-size: clamp(30px, 5vw, 42px);
    color: var(--primary);
    margin-top: 10px;
}

.contact-header h3 {
    font-size: 20px;
    color: var(--accent);
    margin-top: 10px;
}

.contact-header p {
    color: var(--gray);
    font-size: 15px;
    margin-top: 10px;
}
.contact-clean {
    padding: 80px 20px;
    background: #f5f5f5;
}

/* GRID */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    max-width: 1100px;
    margin: auto;
}

/* BOX STYLE */
.contact-box {
    background: #fff;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* TITRES */
.contact-box h3 {
    margin-bottom: 20px;
    color: var(--primary);
}

/* FORM */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

form label {
    font-size: 13px;
    font-weight: 500;
}

/* INPUT */
form input,
form select,
form textarea {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-family: inherit;
}

/* ROW */
.form-row {
    display: flex;
    gap: 10px;
}

.form-row div {
    flex: 1;
}

/* BUTTON */
form button {
    margin-top: 10px;
    padding: 14px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(45deg, #8B1E1E, #B83227);
    color: white;
    font-weight: 600;
    cursor: pointer;
}

/* RIGHT SIDE */
.contact-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* INFO ITEM */
.info-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.info-item span {
    font-size: 20px;
}

.info-item strong {
    font-size: 14px;
    color: var(--primary);
}

.info-item p {
    font-size: 13px;
    color: var(--gray);
}

/* MAP */
.map-box iframe {
    width: 100%;
    height: 250px;
    border: none;
    border-radius: 10px;
}

/* MOBILE */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        flex-direction: column;
    }
}

.contact-header {
    text-align: center;
    max-width: 700px;
    margin: auto;
    margin-bottom: 60px; /* 🔥 plus d’air */
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

    nav {
        position: fixed;
        top: 0;
        right: 0;
        transform: translateX(100%);
        height: 100vh;
        width: 70%;
        background: white;
        flex-direction: column;
        padding: 40px 20px;
    }

    nav.active {
        transform: translateX(0);
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        height: auto;
        min-height: 70vh;
        padding: 60px 20px 100px;
    }

    .hero-container {
        text-align: center;
        align-items: center;
    }

    .hero h1 {
        font-size: 24px;
    }

    .badge {
        top: 15px;
        left: 15px;
        font-size: 11px;
        padding: 6px 12px;
    }

    .cta-container {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

/* ================= TABLETTE ================= */
@media (max-width: 1024px) {

    .about-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .service-list {
        grid-template-columns: repeat(2, 1fr);
    }


    .hero h1 {
        font-size: 32px;
    }
}

/* ================= PETITS TELEPHONES ================= */
@media (max-width: 480px) {

    .hero h1 {
        font-size: 22px;
        line-height: 1.4;
    }

    .logo h2 {
        font-size: 13px;
    }

    .logo p {
        font-size: 10px;
    }

    .cta-text h3 {
        font-size: 16px;
    }

    .cta-text p {
        font-size: 13px;
    }

    .badge {
        font-size: 10px;
        padding: 5px 10px;
    }
}

/* ================= CORRECTION DEBORDEMENT ================= */


section {
    width: 100%;
    overflow-x: hidden;
}

/* ================= GRILLE RESPONSIVE ================= */
.service-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}



/* ================= ABOUT MOBILE PRO ULTRA CLEAN ================= */
@media (max-width: 768px) {

    .about {
        padding: 60px 20px;
    }

    .about-container {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    /* IMAGE */
    .about-image {
        order: -1; /* image en haut */
    }

    .about-image img {
        width: 100%;
        height: 220px;
        object-fit: cover;
        border-radius: 14px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    }

    /* TEXTE */
    .about-content {
        align-items: flex-start; /* 🔥 plus pro que centré */
        text-align: left;
        gap: 18px;
    }

    .about-subtitle {
        font-size: 24px;
        letter-spacing: 2px;
        color: var(--accent);
    }

    .about h2 {
        font-size: 22px;
        line-height: 1.4;
    }

    .about p {
        font-size: 14px;
        line-height: 1.7;
        color: var(--gray);
    }

    /* FEATURES VERSION PREMIUM */
    .about-features {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        width: 100%;
    }

    .about-features div {
        display: flex;
        align-items: center;
        gap: 10px;

        background: #fff;
        padding: 12px;
        border-radius: 10px;

        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        font-size: 14px;
    }

    .about-features div::before {
        content: "✔";
        color: var(--accent);
        font-weight: bold;
    }
}
/* ================= FEATURES VERSION PREMIUM (PC + MOBILE) ================= */

.about-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
    margin-top: 10px;
}

.about-features div {
    display: flex;
    align-items: center;
    gap: 10px;

    background: #fff;
    padding: 14px;
    border-radius: 10px;

    box-shadow: 0 8px 20px rgba(0,0,0,0.06);

    font-size: 15px;
    font-weight: 500;
}

.about-features div::before {
    content: "✔";
    color: var(--accent);
    font-weight: bold;
}





.contact-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.call-btn, .whatsapp-btn {
    flex: 1;
    padding: 14px;
    border-radius: 12px;
    text-align: center;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Bouton appel */
.call-btn {
    background: rgb(234, 96, 5);
    color: var(--primary);
}

.call-btn:hover {
    background: var(--accent);
    color: rgb(0, 0, 0);
    transform: translateY(-2px);
}

/* Bouton WhatsApp */
.whatsapp-btn {
    background: #25D366;
    color: white;
}

.whatsapp-btn:hover {
    background: #1ebe5d;
    transform: translateY(-2px);
}
.contact-buttons {
    position: relative;
    z-index: 10;
}



/* ================= ALERT ================= */
.alert {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;

    font-family: 'Poppins', sans-serif;

    animation: fadeIn 0.4s ease;
    transition: all 0.4s ease;

    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

/* ================= TEXT ================= */
.alert-content strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
}

.alert-content p {
    font-size: 13px;
    margin: 0;
    opacity: 0.9;
}

/* ================= SUCCESS ================= */
.alert.success {
    background: linear-gradient(135deg, #e6f9f0, #f4fff9);
    border-left: 4px solid #28c76f;
    color: #0f5132;
}

/* ================= ERROR ================= */
.alert.error {
    background: linear-gradient(135deg, #ffeaea, #fff5f5);
    border-left: 4px solid #ea5455;
    color: #7a1c1c;
}

/* ================= PROGRESS BAR ================= */
.alert::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: rgba(0,0,0,0.2);
    animation: progressBar 5s linear forwards;
}

/* ================= CLOSE BUTTON ================= */
.close-btn {
    position: absolute;
    top: 10px;
    right: 12px;
    font-size: 12px;
    cursor: pointer;
    opacity: 0.5;
    transition: 0.3s;
}

.close-btn:hover {
    opacity: 1;
}

/* ================= ANIMATIONS ================= */
@keyframes progressBar {
    from { width: 100%; }
    to { width: 0%; }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


