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

.page-hero{

    position:relative;

    min-height:60vh;

    display:flex;

    align-items:center;

    overflow:hidden;

}


/*==============================
  BACKGROUND IMAGE
==============================*/

.page-hero-picture{

    position:absolute;

    inset:0;

    z-index:1;

}

.page-hero-image{

    width:100%;

    height:100%;

    object-fit:cover;

    object-position:center;

}


/*==============================
  OVERLAY
==============================*/

.page-hero-overlay{

    position:absolute;

    inset:0;

    z-index:2;

    background:linear-gradient(
        90deg,
        rgba(0,0,0,.82) 0%,
        rgba(0,0,0,.60) 50%,
        rgba(0,0,0,.35) 100%
    );

}


/*==============================
  CONTENT
==============================*/

.page-hero-content{

    position:relative;

    z-index:3;

    max-width:700px;

    color:#ffffff;

}


/*==============================
  BADGE
==============================*/

.page-badge{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:10px 20px;

    margin-bottom:25px;

    border-radius:50px;

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

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

    backdrop-filter:blur(10px);

    color:#ffffff;

    font-size:.9rem;

    font-weight:600;

}

.page-badge i{

    color:#f7941d;

}


/*==============================
  TITLE
==============================*/

.page-hero-content h1{

    font-size:clamp(2.5rem,5vw,4.2rem);

    line-height:1.15;

    margin-bottom:25px;

    font-weight:700;

}


/*==============================
  DESCRIPTION
==============================*/

.page-hero-content p{

    font-size:1.05rem;

    line-height:1.9;

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

    margin-bottom:35px;

}


/*==============================
  BREADCRUMB
==============================*/

.breadcrumb{

    display:flex;

    align-items:center;

    gap:12px;

    flex-wrap:wrap;

    font-size:.95rem;

}

.breadcrumb a{

    color:#ffffff;

    text-decoration:none;

    transition:.3s;

}

.breadcrumb a:hover{

    color:#f7941d;

}

.breadcrumb span{

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

}


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

@media(max-width:992px){

    .page-hero{

        min-height:55vh;

    }

}

@media(max-width:768px){

    .page-hero{

        min-height:50vh;

        padding:120px 0 70px;

    }

    .page-hero-content{

        max-width:100%;

    }

    .page-hero-content h1{

        font-size:2.3rem;

    }

    .page-hero-content p{

        font-size:1rem;

    }

}

@media(max-width:576px){

    .page-hero{

        min-height:45vh;

    }

    .page-badge{

        font-size:.80rem;

        padding:8px 16px;

    }

    .page-hero-content h1{

        font-size:2rem;

    }

}

.page-hero-content{

    animation:heroFade .9s ease forwards;

}

@keyframes heroFade{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

.page-hero-image{

    animation:heroZoom 8s ease forwards;

}

@keyframes heroZoom{

    from{

        transform:scale(1.08);

    }

    to{

        transform:scale(1);

    }

}

/* =====================================================
   SERVICES OVERVIEW
===================================================== */

.services-overview{

    padding:120px 0;

    background:#ffffff;

}


/*==============================
  GRID
==============================*/

.overview-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:30px;

    margin-top:60px;

}


/*==============================
  CARD
==============================*/

.overview-card{

    display:flex;

    align-items:center;

    gap:25px;

    position:relative;

    padding:35px;

    text-decoration:none;

    background:#ffffff;

    border:1px solid #e2e8f0;

    border-radius:22px;

    overflow:hidden;

    box-shadow:0 15px 35px rgba(15,23,42,.06);

    transition:.35s ease;

}

.overview-card::before{

    content:"";

    position:absolute;

    top:0;

    left:0;

    width:0;

    height:5px;

    background:#1f5d3a;

    transition:.35s ease;

}

.overview-card:hover{

    transform:translateY(-8px);

    border-color:#1f5d3a;

    box-shadow:0 25px 55px rgba(15,23,42,.12);

}

.overview-card:hover::before{

    width:100%;

}


/*==============================
  ICON
==============================*/

.overview-icon{

    flex-shrink:0;

    width:80px;

    height:80px;

    border-radius:18px;

    display:flex;

    justify-content:center;

    align-items:center;

    background:rgba(31,93,58,.08);

    transition:.35s ease;

}

.overview-icon i{

    font-size:2rem;

    color:#1f5d3a;

    transition:.35s ease;

}

.overview-card:hover .overview-icon{

    background:#1f5d3a;

    transform:rotate(-6deg);

}

.overview-card:hover .overview-icon i{

    color:#ffffff;

}


/*==============================
  CONTENT
==============================*/

.overview-content{

    flex:1;

}

.overview-content h3{

    color:#0f172a;

    font-size:1.4rem;

    margin-bottom:12px;

}

.overview-content p{

    color:#64748b;

    line-height:1.8;

    margin:0;

}


/*==============================
  ARROW
==============================*/

.overview-arrow{

    color:#1f5d3a;

    font-size:1.2rem;

    transition:.35s ease;

}

.overview-card:hover .overview-arrow{

    transform:translateX(8px);

}


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

@media(max-width:992px){

    .overview-grid{

        grid-template-columns:1fr;

    }

}

@media(max-width:768px){

    .services-overview{

        padding:90px 0;

    }

    .overview-card{

        padding:30px;

    }

}

@media(max-width:576px){

    .services-overview{

        padding:70px 0;

    }

    .overview-card{

        flex-direction:column;

        align-items:flex-start;

        text-align:left;

        gap:20px;

        padding:25px;

    }

    .overview-icon{

        width:70px;

        height:70px;

    }

    .overview-icon i{

        font-size:1.7rem;

    }

    .overview-content h3{

        font-size:1.25rem;

    }

    .overview-arrow{

        align-self:flex-end;

    }

}

/*======================================================
  OVERVIEW ANIMATION
======================================================*/

.overview-card{

    opacity:0;

    transform:translateY(50px);

    transition:
        opacity .8s ease,
        transform .8s ease,
        box-shadow .35s ease;

}

.overview-card.show-overview{

    opacity:1;

    transform:translateY(0);

}

/* =====================================================
   SERVICE DETAIL
===================================================== */

.service-detail{

    padding:120px 0;

    background:#ffffff;

}


/*==============================
  GRID
==============================*/

.service-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    align-items:center;

    gap:80px;

}


/*==============================
  IMAGE
==============================*/

.service-image{

    position:relative;

}

.service-image img{

    width:100%;

    display:block;

    border-radius:25px;

    object-fit:cover;

    box-shadow:0 20px 50px rgba(15,23,42,.12);

    transition:.45s ease;

}

.service-image:hover img{

    transform:scale(1.03);

}


/*==============================
  FLOATING CARD
==============================*/

.service-floating-card{

    position:absolute;

    right:-20px;

    bottom:35px;

    width:220px;

    padding:22px;

    background:#ffffff;

    border-radius:18px;

    border-left:6px solid #f7941d;

    box-shadow:0 20px 50px rgba(15,23,42,.18);

    transition:.35s ease;

}

.service-image:hover .service-floating-card{

    transform:translateY(-8px);

}

.service-floating-card h4{

    color:#0f172a;

    margin-bottom:8px;

    font-size:1.2rem;

}

.service-floating-card p{

    color:#64748b;

    margin:0;

    line-height:1.6;

}


/*==============================
  CONTENT
==============================*/

.service-content h2{

    font-size:2.8rem;

    color:#0f172a;

    line-height:1.2;

    margin:25px 0;

}

.service-content p{

    color:#64748b;

    line-height:1.9;

    margin-bottom:35px;

}


/*==============================
  BADGE
==============================*/

.service-badge{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:10px 20px;

    border-radius:50px;

    font-size:.9rem;

    font-weight:600;

}

.service-badge.construction{

    background:rgba(247,148,29,.12);

    color:#f7941d;

}

.service-badge i{

    font-size:1rem;

}


/*==============================
  SERVICES LIST
==============================*/

.service-list{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:18px;

    margin:40px 0;

}

.service-item{

    display:flex;

    align-items:center;

    gap:12px;

    padding:16px 18px;

    background:#f8fafc;

    border-radius:14px;

    transition:.35s ease;

}

.service-item:hover{

    background:#ffffff;

    transform:translateY(-5px);

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

}

.service-item i{

    color:#f7941d;

}


/*==============================
  BUTTON
==============================*/

.service-content .btn{

    display:inline-flex;

    align-items:center;

    gap:12px;

}


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

@media(max-width:992px){

    .service-grid{

        gap:50px;

    }

    .service-content h2{

        font-size:2.2rem;

    }

}

@media(max-width:768px){

    .service-detail{

        padding:90px 0;

    }

    .service-grid{

        grid-template-columns:1fr;

    }

    .service-image{

        order:1;

    }

    .service-content{

        order:2;

    }

    .service-list{

        grid-template-columns:1fr;

    }

    .service-floating-card{

        position:relative;

        right:auto;

        bottom:auto;

        width:100%;

        margin-top:-30px;

    }

}

@media(max-width:576px){

    .service-detail{

        padding:70px 0;

    }

    .service-content h2{

        font-size:1.9rem;

    }

    .service-content p{

        font-size:1rem;

    }

}

/*==============================
  IMAGE
==============================*/

.service-image{

    position:relative;

    overflow:visible;

}

.service-image img{

    width:100%;

    display:block;

    border-radius:25px;

    object-fit:cover;

    box-shadow:0 20px 50px rgba(15,23,42,.12);

}


/*==============================
  FLOATING CARD
==============================*/

.service-floating-card{

    position:absolute;

    right:25px;

    bottom:25px;

    width:240px;

    background:#ffffff;

    padding:20px;

    border-radius:18px;

    border-left:5px solid #f7941d;

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

    z-index:5;

}

.service-floating-card h4{

    margin:0 0 8px;

    color:#0f172a;

    font-size:1.2rem;

}

.service-floating-card p{

    margin:0;

    color:#64748b;

    line-height:1.6;

}

.service-grid.reverse{

    direction:rtl;

}

.service-grid.reverse > *{

    direction:ltr;

}

.service-badge.mining{

    background:rgba(71,85,105,.12);

    color:#475569;

}

.service-badge.mining + h2 + p + .service-list .service-item i{

    color:#475569;

}

.service-floating-card{

    border-left:5px solid #475569;

}

/*==============================
  COMMERCE
==============================*/

.service-badge.commerce{

    background:rgba(37,99,235,.12);

    color:#2563eb;

}

.service-badge.commerce + h2 + p + .service-list .service-item i{

    color:#2563eb;

}

.service-floating-card.commerce{

    border-left:5px solid #2563eb;

}

/*==============================
  DIGITAL
==============================*/

.service-badge.digital{

    background:rgba(124,58,237,.12);

    color:#7c3aed;

}

.service-badge.digital + h2 + p + .service-list .service-item i{

    color:#7c3aed;

}

.service-floating-card.digital{

    border-left:5px solid #7c3aed;

}

/*==============================
  FORAGE
==============================*/

.service-badge.forage{

    background:rgba(14,165,233,.12);

    color:#0ea5e9;

}

.service-badge.forage + h2 + p + .service-list .service-item i{

    color:#0ea5e9;

}

.service-floating-card.forage{

    border-left:5px solid #0ea5e9;

}

/* =====================================================
   WORK PROCESS
===================================================== */

.work-process{

    padding:120px 0;

    background:#f8fafc;

}


/*==============================
  GRID
==============================*/

.process-grid{

    position:relative;

    display:grid;

    grid-template-columns:repeat(5,1fr);

    gap:30px;

    margin-top:80px;

}


/*==============================
  TIMELINE
==============================*/

.process-grid::before{

    content:"";

    position:absolute;

    top:45px;

    left:10%;

    width:80%;

    height:4px;

    background:#1f5d3a;

    border-radius:50px;

    z-index:0;

}


/*==============================
  CARD
==============================*/

.process-card{

    position:relative;

    text-align:center;

    z-index:2;

}


/*==============================
  NUMBER
==============================*/

.process-number{

    width:90px;

    height:90px;

    margin:0 auto 25px;

    border-radius:50%;

    background:#1f5d3a;

    color:#ffffff;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:1.6rem;

    font-weight:700;

    border:8px solid #f8fafc;

    box-shadow:0 15px 35px rgba(31,93,58,.25);

    transition:.35s;

}

.process-card:hover .process-number{

    transform:scale(1.08);

    background:#f7941d;

}


/*==============================
  ICON
==============================*/

.process-icon{

    width:70px;

    height:70px;

    margin:0 auto 25px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    background:#ffffff;

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

    transition:.35s;

}

.process-icon i{

    font-size:1.7rem;

    color:#1f5d3a;

}

.process-card:hover .process-icon{

    transform:translateY(-8px);

}


/*==============================
  TITLE
==============================*/

.process-card h3{

    font-size:1.25rem;

    color:#0f172a;

    margin-bottom:15px;

}


/*==============================
  TEXT
==============================*/

.process-card p{

    color:#64748b;

    line-height:1.8;

}


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

@media(max-width:1200px){

    .process-grid{

        grid-template-columns:repeat(3,1fr);

    }

    .process-grid::before{

        display:none;

    }

}

@media(max-width:768px){

    .work-process{

        padding:90px 0;

    }

    .process-grid{

        grid-template-columns:1fr;

        gap:40px;

    }

    .process-number{

        width:80px;

        height:80px;

        font-size:1.4rem;

    }

}

@media(max-width:576px){

    .work-process{

        padding:70px 0;

    }

    .process-icon{

        width:60px;

        height:60px;

    }

    .process-icon i{

        font-size:1.5rem;

    }

}

/* =====================================================
   FAQ
===================================================== */

.faq{

    padding:120px 0;

    background:#ffffff;

}


/*==============================
  CONTAINER
==============================*/

.faq-container{

    max-width:900px;

    margin:70px auto 0;

}


/*==============================
  ITEM
==============================*/

.faq-item{

    background:#ffffff;

    border:1px solid #e2e8f0;

    border-radius:18px;

    margin-bottom:20px;

    overflow:hidden;

    box-shadow:0 10px 30px rgba(15,23,42,.05);

    transition:.35s ease;

}

.faq-item:hover{

    transform:translateY(-5px);

    border-color:#1f5d3a;

    box-shadow:0 20px 45px rgba(15,23,42,.10);

}


/*==============================
  QUESTION
==============================*/

.faq-question{

    width:100%;

    padding:28px 30px;

    background:none;

    border:none;

    display:flex;

    justify-content:space-between;

    align-items:center;

    cursor:pointer;

    text-align:left;

    font-family:inherit;

    font-size:1.08rem;

    font-weight:600;

    color:#0f172a;

}

.faq-question span{

    flex:1;

    padding-right:20px;

}


/*==============================
  ICON
==============================*/

.faq-question i{

    width:45px;

    height:45px;

    border-radius:50%;

    background:#f8fafc;

    display:flex;

    justify-content:center;

    align-items:center;

    color:#1f5d3a;

    transition:.35s;

}


/*==============================
  ACTIVE
==============================*/

.faq-item.active .faq-question i{

    background:#1f5d3a;

    color:#ffffff;

    transform:rotate(45deg);

}


/*==============================
  ANSWER
==============================*/

.faq-answer{

    max-height:0;

    overflow:hidden;

    transition:max-height .45s ease;

}

.faq-answer p{

    padding:0 30px 30px;

    color:#64748b;

    line-height:1.9;

}


/*==============================
  ACTIVE ANSWER
==============================*/

.faq-item.active .faq-answer{

    max-height:300px;

}


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

@media(max-width:768px){

    .faq{

        padding:90px 0;

    }

    .faq-question{

        padding:22px;

        font-size:1rem;

    }

    .faq-answer p{

        padding:0 22px 22px;

    }

}

@media(max-width:576px){

    .faq{

        padding:70px 0;

    }

    .faq-question{

        font-size:.95rem;

    }

    .faq-question i{

        width:40px;

        height:40px;

    }

}

/*======================================================
  RESPONSIVE - AJOUT
======================================================*/

@media (max-width:992px){

    .page-hero-content,
    .service-content,
    .overview-content{

        width:100%;
        max-width:100%;

    }

}


@media (max-width:768px){

    .page-hero{

        padding:130px 0 80px;

    }

    .page-hero-content{

        text-align:center;
        margin:auto;

    }

    .page-badge{

        margin-inline:auto;

    }

    .breadcrumb{

        justify-content:center;

    }

    .overview-card{

        text-align:center;
        align-items:center;
        flex-direction:column;

    }

    .overview-arrow{

        display:none;

    }

    .service-content{

        text-align:center;

    }

    .service-list{

        gap:15px;

    }

    .service-item{

        justify-content:center;

    }

    .service-content .btn{

        width:100%;
        justify-content:center;

    }

    .service-floating-card{

        margin-top:20px;

    }

    .process-card{

        max-width:420px;
        margin:auto;

    }

    .faq-question{

        align-items:flex-start;

    }

}


@media (max-width:576px){

    .page-hero-content h1{

        line-height:1.25;

    }

    .service-image img{

        width:100%;
        height:auto;
    }

    .service-floating-card{

        width:100%;
        right:0;
        left:0;
        bottom:0;
        position:relative;
    }

    .service-item{

        width:100%;
    }

    .process-number{

        margin-bottom:20px;
    }

}


/*======================================================
  SÉCURITÉ RESPONSIVE
======================================================*/

.service-image,
.page-hero-picture{

    overflow:hidden;

}

img,
iframe,
video{

    max-width:100%;
    height:auto;
    display:block;

}

.service-grid,
.process-grid,
.overview-grid{

    width:100%;

}

*{

    box-sizing:border-box;

}