/* ==========================================================
   AGIR HYGIENE SERVICES
   PRESTATIONS.CSS
   VERSION PREMIUM 2026
========================================================== */

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


/* ==========================================================
   VARIABLES
========================================================== */

:root{

    --primary:#0b3c7d;
    --primary-dark:#072b59;

    --secondary:#f5f7fa;
    --light:#ffffff;

    --success:#28a745;
    --success-dark:#1f7d34;

    --danger:#d90429;

    --text:#374151;
    --title:#1f2937;

    --border:#e5e7eb;

    --radius:18px;
    --radius-small:10px;

    --shadow:0 15px 35px rgba(0,0,0,.08);
    --shadow-hover:0 20px 45px rgba(0,0,0,.12);

    --transition:.35s ease;

    --container:1200px;

}


/* ==========================================================
   RESET
========================================================== */

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Poppins',sans-serif;
    font-size:18px;
    line-height:1.8;

    color:var(--text);
    background:var(--secondary);

    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;

}

img{

    display:block;
    max-width:100%;

}

a{

    text-decoration:none;
    transition:var(--transition);

}

ul{

    list-style-position:outside;

}

.container{

    width:100%;
    max-width:var(--container);

    margin:auto;
    padding:0 20px;

}


/* ==========================================================
   TYPOGRAPHIE
========================================================== */

h1,
h2,
h3,
h4,
h5{

    color:var(--title);
    font-weight:700;
    line-height:1.25;

}

p{

    margin-bottom:22px;

}

strong{

    color:var(--primary);
    font-weight:700;

}


/* ==========================================================
   HEADER
========================================================== */

header{

    position:sticky;
    top:0;
    z-index:9999;

    background:var(--primary);

    box-shadow:0 5px 20px rgba(0,0,0,.15);

}

header .container{

    display:flex;
    justify-content:space-between;
    align-items:center;

    min-height:95px;

}

header .logo{

    height:75px;
    width:auto;

}


/* ==========================================================
   MENU
========================================================== */

header nav{

    display:flex;
    align-items:center;
    gap:30px;

}

header nav a{

    position:relative;

    color:#fff;

    font-size:16px;
    font-weight:600;

    padding:10px 0;

}

header nav a::after{

    content:"";

    position:absolute;

    left:0;
    bottom:0;

    width:0;
    height:3px;

    background:#ffffff;

    transition:.35s;

}

header nav a:hover::after{

    width:100%;

}

header nav a:hover{

    opacity:.95;

}


/* ==========================================================
   HERO
========================================================== */

.hero{

    position:relative;

    background:linear-gradient(135deg,#0b3c7d,#1457b8);

    color:#fff;

    padding:90px 20px;

    overflow:hidden;

}

.hero::before{

    content:"";

    position:absolute;

    inset:0;

    background:rgba(255,255,255,.03);

}

.hero-content{

    position:relative;

    max-width:900px;

    margin:auto;

    text-align:center;

    z-index:2;

}

.hero h1{

    color:#fff;

    font-size:52px;

    font-weight:800;

    line-height:1.15;

    margin-bottom:25px;

}

.hero p{

    color:rgba(255,255,255,.92);

    font-size:20px;

    max-width:760px;

    margin:0 auto 30px;

}

.hero-phone{

    margin:35px 0;

}

.hero-phone a{

    color:#fff;

    font-size:36px;

    font-weight:700;

}

.hero-services{

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:18px;

    margin-top:40px;

}

.hero-services span{

    background:rgba(255,255,255,.12);

    border:1px solid rgba(255,255,255,.15);

    backdrop-filter:blur(8px);

    padding:14px 22px;

    border-radius:40px;

    font-size:15px;

    font-weight:500;

}


/* ==========================================================
   BOUTONS
========================================================== */

.btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    padding:16px 34px;

    margin-top:20px;

    background:var(--success);

    color:#fff;

    font-weight:600;

    font-size:17px;

    border-radius:12px;

    box-shadow:0 10px 25px rgba(0,0,0,.15);

    transition:var(--transition);

}

.btn:hover{

    background:var(--success-dark);

    transform:translateY(-4px);

    box-shadow:0 16px 35px rgba(0,0,0,.18);

}

/* ==========================================================
   SECTIONS
========================================================== */

.section{

    padding:90px 20px;

}

.section:nth-child(even){

    background:#ffffff;

}

.section h2{

    position:relative;

    text-align:center;

    font-size:42px;

    font-weight:700;

    color:var(--primary);

    margin-bottom:25px;

}

.section h2::after{

    content:"";

    display:block;

    width:90px;
    height:5px;

    margin:18px auto 0;

    background:var(--success);

    border-radius:50px;

}

.section-intro{

    max-width:900px;

    margin:0 auto 50px;

    text-align:center;

    font-size:20px;

    color:#6b7280;

}


/* ==========================================================
   CONTENU PRESTATION
========================================================== */

.prestation-description{

    max-width:950px;

    margin:0 auto 50px;

    text-align:center;

}

 .prestation-content{

    max-width:850px;

    margin:0 auto;

    background:#fff;

    padding:60px 70px;

    border-radius:20px;

    box-shadow:0 15px 35px rgba(0,0,0,.08);

}

.prestation-content h2{

    text-align:left;

    font-size:36px;

    margin-bottom:25px;

}

.prestation-content h2::after{

    margin:18px 0 0;

}

.prestation-content h3{

    font-size:28px;

    color:var(--primary);

    margin-top:45px;

    margin-bottom:20px;

    font-weight:700;

}

.prestation-content h4{

    font-size:22px;

    margin-top:35px;

    margin-bottom:15px;

    color:var(--title);

}

 .prestation-content p{

    font-size:18px;

    line-height:1.9;

    margin-bottom:28px;

    color:#4b5563;

    text-align:left;

}

.prestation-content img{

    width:100%;

    border-radius:16px;

    margin:40px auto;

    box-shadow:0 15px 35px rgba(0,0,0,.10);

}


/* ==========================================================
   LISTES
========================================================== */

.prestation-content ul{

    margin:30px 0;

    padding-left:30px;

}

.prestation-content ol{

    margin:30px 0;

    padding-left:30px;

}

.prestation-content li{

    margin-bottom:14px;

    line-height:1.9;

    color:#4b5563;

    font-size:18px;

}

.prestation-content li::marker{

    color:var(--success);

}


/* ==========================================================
   BLOCS D'INFORMATIONS
========================================================== */

.info-box{

    margin:40px 0;

    padding:30px;

    border-left:6px solid var(--success);

    background:#f7fbf8;

    border-radius:14px;

}

.warning-box{

    margin:40px 0;

    padding:30px;

    border-left:6px solid var(--danger);

    background:#fff6f6;

    border-radius:14px;

}


/* ==========================================================
   CARTES
========================================================== */

.cards{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));

    gap:35px;

    margin-top:50px;

}

.card{

    background:#ffffff;

    padding:35px;

    border-radius:20px;

    box-shadow:var(--shadow);

    transition:var(--transition);

    border:1px solid #edf2f7;

    text-align:center;

}

.card:hover{

    transform:translateY(-8px);

    box-shadow:var(--shadow-hover);

}

.card-icon{

    font-size:52px;

    margin-bottom:25px;

}

.card h3{

    color:var(--primary);

    font-size:24px;

    margin-bottom:18px;

}

.card p{

    font-size:17px;

    color:#4b5563;

    margin:0;

}


/* ==========================================================
   ENCARTS CHIFFRES
========================================================== */

.stats{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:25px;

    margin-top:50px;

}

.stat{

    background:#ffffff;

    padding:35px;

    text-align:center;

    border-radius:18px;

    box-shadow:var(--shadow);

}

.stat strong{

    display:block;

    font-size:42px;

    color:var(--success);

    margin-bottom:10px;

}

.stat span{

    color:#6b7280;

    font-size:16px;

}


/* ==========================================================
   SÉPARATEUR
========================================================== */

.separator{

    width:120px;

    height:5px;

    background:var(--success);

    border-radius:50px;

    margin:60px auto;

}

/* ==========================================================
   GALERIE
========================================================== */

.gallery{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:30px;

    margin-top:50px;

}

.gallery-item{

    position:relative;

    overflow:hidden;

    background:#fff;

    border-radius:20px;

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.gallery-item:hover{

    transform:translateY(-8px);

    box-shadow:var(--shadow-hover);

}

.gallery-item img{

    width:100%;

    height:260px;

    object-fit:cover;

    transition:.5s;

}

.gallery-item:hover img{

    transform:scale(1.08);

}

.gallery-item::after{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(to top,
        rgba(0,0,0,.35),
        rgba(0,0,0,0));

    opacity:0;

    transition:.35s;

}

.gallery-item:hover::after{

    opacity:1;

}


/* ==========================================================
   BOUTON APPEL
========================================================== */

.call-btn{

    position:fixed;

    right:25px;

    bottom:25px;

    width:68px;

    height:68px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:var(--success);

    color:#fff;

    font-size:30px;

    box-shadow:0 18px 35px rgba(0,0,0,.22);

    z-index:9999;

    transition:var(--transition);

}

.call-btn:hover{

    background:var(--success-dark);

    transform:scale(1.08);

}


/* ==========================================================
   FOOTER
========================================================== */

.footer-contact{

    margin-top:90px;

    padding:70px 20px;

    background:linear-gradient(135deg,
        var(--primary),
        var(--primary-dark));

    color:#fff;

}

.footer-grid{

    display:grid;

    grid-template-columns:300px 1fr 1fr;

    gap:50px;

    align-items:flex-start;

}

.footer-logo{

    max-width:190px;

    margin-bottom:20px;

}

.footer-contact h3{

    color:#fff;

    font-size:24px;

    margin-bottom:20px;

}

.footer-contact p{

    color:rgba(255,255,255,.90);

    margin-bottom:15px;

}

.footer-contact a{

    color:#fff;

    transition:.30s;

}

.footer-contact a:hover{

    color:#ffd54f;

}

.footer-contact strong{

    color:#fff;

}

.footer-contact ul{

    list-style:none;

    padding:0;

}

.footer-contact li{

    margin-bottom:12px;

}

.footer-bottom{

    margin-top:50px;

    padding-top:25px;

    border-top:1px solid rgba(255,255,255,.15);

    text-align:center;

    color:rgba(255,255,255,.75);

    font-size:15px;

}


/* ==========================================================
   ANIMATIONS
========================================================== */

.card,
.gallery-item,
.btn,
.call-btn{

    transition:all .35s ease;

}

.fade-up{

    animation:fadeUp .8s ease forwards;

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(30px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}


/* ==========================================================
   RESPONSIVE TABLETTE
========================================================== */

@media (max-width:992px){

    header .container{

        flex-direction:column;

        justify-content:center;

        gap:20px;

        padding:20px;

    }

    header nav{

        flex-wrap:wrap;

        justify-content:center;

        gap:18px;

    }

    .hero{

        padding:70px 20px;

    }

    .hero h1{

        font-size:42px;

    }

    .hero p{

        font-size:18px;

    }

    .prestation-content{

        padding:40px;

    }

    .footer-grid{

        grid-template-columns:1fr;

        text-align:center;

    }

    .footer-logo{

        margin:auto auto 25px;

    }

}


/* ==========================================================
   RESPONSIVE MOBILE
========================================================== */

@media (max-width:768px){

    body{

        font-size:16px;

        padding-bottom:75px;

    }

    .section{

        padding:60px 15px;

    }

    .section h2{

        font-size:32px;

    }

    .hero{

        padding:55px 15px;

    }

    .hero h1{

        font-size:30px;

    }

    .hero p{

        font-size:17px;

    }

    .hero-phone a{

        font-size:28px;

    }

    .hero-services{

        flex-direction:column;

        gap:12px;

    }

    .prestation-content{

        padding:25px;

    }

    .prestation-content h2{

        font-size:28px;

    }

    .prestation-content h3{

        font-size:24px;

    }

    .cards{

        grid-template-columns:1fr;

    }

    .gallery{

        grid-template-columns:1fr;

    }

    .gallery-item img{

        height:220px;

    }

    .stats{

        grid-template-columns:1fr;

    }

    .call-btn{

        display:none;

    }

    .mobile-bar{

        position:fixed;

        bottom:0;

        left:0;

        width:100%;

        display:flex;

        background:var(--primary);

        box-shadow:0 -4px 18px rgba(0,0,0,.18);

        z-index:9999;

    }

    .mobile-bar a{

        flex:1;

        padding:18px 10px;

        color:#fff;

        text-align:center;

        font-size:15px;

        font-weight:600;

        border-right:1px solid rgba(255,255,255,.15);

    }

    .mobile-bar a:last-child{

        border-right:none;

    }

}


/* ==========================================================
   GRAND ÉCRAN
========================================================== */

@media (min-width:1400px){

    .container{

        max-width:1320px;

    }

    .hero h1{

        font-size:60px;

    }

    .section h2{

        font-size:48px;

    }

}







/* ==========================================================
   ALERTE SAISONNIÈRE
========================================================== */

.alerte-nuisibles{

    background:#ffffff;

    border-bottom:1px solid #e5e7eb;

    font-size:14px;

}

.alerte-container{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:20px;

    min-height:48px;

    padding:8px 0;

}

.alerte-message{

    display:flex;

    align-items:center;

    gap:10px;

    flex:1;

    color:#374151;

    line-height:1.5;

}

.alerte-message strong{

    color:#0b3c7d;

    font-size:15px;

    white-space:nowrap;

}

.alerte-message span{

    font-size:15px;

}

.alerte-btn{

    background:#28a745;

    color:#fff;

    padding:8px 18px;

    border-radius:30px;

    font-size:14px;

    font-weight:600;

    white-space:nowrap;

}

.alerte-btn:hover{

    background:#1f7d34;

}

@media (max-width:768px){

    .alerte-container{

        flex-direction:column;

        align-items:flex-start;

        gap:8px;

        padding:10px 0;

    }

    .alerte-message{

        display:block;

    }

    .alerte-message strong{

        display:block;

        margin-bottom:4px;

    }

}