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

.quote-hero{

    position:relative;

    min-height:100vh;

    display:flex;

    align-items:center;

    overflow:hidden;

}


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

.page-hero-image{

    position:absolute;

    inset:0;

    width:100%;

    height:100%;

    object-fit:cover;

    object-position:center;

    z-index:1;

    transform:scale(1.08);

    animation:heroZoom 12s ease forwards;

}


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

.page-hero-overlay{

    position:absolute;

    inset:0;

    z-index:2;

    background:
    linear-gradient(
        90deg,
        rgba(8,22,16,.88) 0%,
        rgba(15,45,32,.78) 45%,
        rgba(15,45,32,.45) 100%
    );

}


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

.page-hero-content{

    position:relative;

    z-index:3;

    max-width:720px;

    color:#ffffff;

    animation:heroContent .9s ease;

}


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

.page-hero-badge{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:12px 22px;

    border-radius:40px;

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

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

    backdrop-filter:blur(10px);

    font-size:.9rem;

    font-weight:600;

    margin-bottom:30px;

}

.page-hero-badge i{

    color:#f7941d;

}


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

.page-hero-content h1{

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

    line-height:1.15;

    margin-bottom:25px;

}


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

.page-hero-content p{

    font-size:1.08rem;

    line-height:1.9;

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

    margin-bottom:40px;

}


/*==============================
  BUTTONS
==============================*/

.page-hero-buttons{

    display:flex;

    gap:18px;

    flex-wrap:wrap;

}


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

.btn-outline{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:16px 34px;

    border:2px solid rgba(255,255,255,.30);

    color:#ffffff;

    text-decoration:none;

    border-radius:50px;

    transition:.35s;

}

.btn-outline:hover{

    background:#ffffff;

    color:#1f5d3a;

}


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

@keyframes heroZoom{

    from{

        transform:scale(1.08);

    }

    to{

        transform:scale(1);

    }

}

@keyframes heroContent{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}


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

@media(max-width:992px){

    .quote-hero{

        min-height:90vh;

    }

}

@media(max-width:768px){

    .quote-hero{

        min-height:85vh;

        padding:120px 0 80px;

    }

    .page-hero-content{

        max-width:100%;

    }

    .page-hero-content h1{

        font-size:2.6rem;

    }

    .page-hero-buttons{

        flex-direction:column;

        align-items:flex-start;

    }

}

@media(max-width:576px){

    .quote-hero{

        min-height:75vh;

    }

    .page-hero-content h1{

        font-size:2.2rem;

    }

    .page-hero-content p{

        font-size:1rem;

    }

}

/* =====================================================
   WHY QUOTE
===================================================== */

.why-quote{

    padding:120px 0;

    background:#f8fafc;

}


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

.why-grid{

    display:grid;

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

    gap:30px;

    margin-top:70px;

}


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

.why-card{

    position:relative;

    background:#ffffff;

    padding:45px 35px;

    border-radius:24px;

    overflow:hidden;

    border:1px solid #e2e8f0;

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

    transition:.35s ease;

}

.why-card:hover{

    transform:translateY(-10px);

    border-color:#1f5d3a;

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

}


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

.why-card::before{

    content:attr(data-number);

    position:absolute;

    top:15px;

    right:20px;

    font-size:5rem;

    font-weight:800;

    color:#1f5d3a;

    opacity:.06;

    line-height:1;

    pointer-events:none;

}


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

.why-icon{

    width:75px;

    height:75px;

    border-radius:20px;

    display:flex;

    justify-content:center;

    align-items:center;

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

    margin-bottom:30px;

    transition:.35s ease;

}

.why-icon i{

    font-size:2rem;

    color:#1f5d3a;

}

.why-card:hover .why-icon{

    background:#1f5d3a;

    transform:rotate(-8deg);

}

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

    color:#ffffff;

}


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

.why-card h3{

    font-size:1.4rem;

    color:#0f172a;

    margin-bottom:18px;

}


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

.why-card p{

    color:#64748b;

    line-height:1.9;

}


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

@media(max-width:1200px){

    .why-grid{

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

    }

}

@media(max-width:768px){

    .why-quote{

        padding:90px 0;

    }

    .why-grid{

        grid-template-columns:1fr;

    }

}

@media(max-width:576px){

    .why-quote{

        padding:70px 0;

    }

    .why-card{

        padding:35px 25px;

    }

    .why-card::before{

        font-size:4rem;

    }

}

/* =====================================================
   QUOTE FORM
===================================================== */

.quote-form{

    padding:120px 0;

    background:#ffffff;

}


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

.quote-form-container{

    max-width:1100px;

    margin:70px auto 0;

    padding:50px;

    background:#ffffff;

    border-radius:25px;

    border:1px solid #e2e8f0;

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

}


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

.form-grid{

    display:grid;

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

    gap:30px;

}


/*==============================
  FORM GROUP
==============================*/

.form-group{

    display:flex;

    flex-direction:column;

    margin-bottom:28px;

}


/*==============================
  LABEL
==============================*/

.form-group label{

    font-size:.95rem;

    font-weight:600;

    color:#0f172a;

    margin-bottom:10px;

}


/*==============================
  INPUTS
==============================*/

.form-group input,
.form-group select,
.form-group textarea{

    width:100%;

    padding:16px 18px;

    border:1px solid #dbe4ee;

    border-radius:14px;

    background:#ffffff;

    font-family:inherit;

    font-size:1rem;

    transition:.3s;

}


/*==============================
  TEXTAREA
==============================*/

.form-group textarea{

    resize:vertical;

    min-height:180px;

}


/*==============================
  FOCUS
==============================*/

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{

    outline:none;

    border-color:#1f5d3a;

    box-shadow:0 0 0 4px rgba(31,93,58,.12);

}


/*==============================
  PLACEHOLDER
==============================*/

.form-group input::placeholder,
.form-group textarea::placeholder{

    color:#94a3b8;

}


/*==============================
  FILE
==============================*/

input[type="file"]{

    padding:14px;

    cursor:pointer;

}


/*==============================
  CHECKBOX
==============================*/

.form-check{

    display:flex;

    align-items:flex-start;

    gap:12px;

    margin:15px 0 35px;

}

.form-check input{

    margin-top:4px;

    accent-color:#1f5d3a;

}

.form-check label{

    color:#64748b;

    line-height:1.8;

}


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

.quote-form-container .btn{

    width:100%;

    justify-content:center;

    padding:18px;

    font-size:1rem;

}


/*==============================
  HOVER
==============================*/

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover{

    border-color:#1f5d3a;

}


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

@media(max-width:992px){

    .quote-form-container{

        padding:40px;

    }

}

@media(max-width:768px){

    .quote-form{

        padding:90px 0;

    }

    .quote-form-container{

        padding:30px;

    }

    .form-grid{

        grid-template-columns:1fr;

    }

}

@media(max-width:576px){

    .quote-form{

        padding:70px 0;

    }

    .quote-form-container{

        padding:22px;

        border-radius:18px;

    }

}

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

.quote-faq{

    padding:120px 0;

    background:#ffffff;

}


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

.quote-faq .faq-container{

    max-width:900px;

    margin:70px auto 0;

}


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

.quote-faq .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;

}

.quote-faq .faq-item:hover{

    transform:translateY(-5px);

    border-color:#1f5d3a;

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

}


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

.quote-faq .faq-question{

    width:100%;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:28px 30px;

    background:none;

    border:none;

    cursor:pointer;

    text-align:left;

    font-family:inherit;

    font-size:1.05rem;

    font-weight:600;

    color:#0f172a;

}

.quote-faq .faq-question span{

    flex:1;

    padding-right:20px;

}


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

.quote-faq .faq-question i{

    width:45px;

    height:45px;

    display:flex;

    justify-content:center;

    align-items:center;

    border-radius:50%;

    background:#f8fafc;

    color:#1f5d3a;

    transition:.35s ease;

}


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

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

    background:#1f5d3a;

    color:#ffffff;

    transform:rotate(180deg);

}


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

.quote-faq .faq-answer{

    max-height:0;

    overflow:hidden;

    transition:max-height .45s ease;

}

.quote-faq .faq-answer p{

    padding:0 30px 30px;

    color:#64748b;

    line-height:1.9;

}


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

.quote-faq .faq-item.active .faq-answer{

    max-height:300px;

}


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

@media(max-width:768px){

    .quote-faq{

        padding:90px 0;

    }

    .quote-faq .faq-question{

        padding:22px;

        font-size:1rem;

    }

    .quote-faq .faq-answer p{

        padding:0 22px 22px;

    }

}

@media(max-width:576px){

    .quote-faq{

        padding:70px 0;

    }

    .quote-faq .faq-question{

        font-size:.95rem;

    }

    .quote-faq .faq-question i{

        width:40px;

        height:40px;

    }

}

/* =====================================================
   QUICK CONTACT
===================================================== */

.quick-contact{

    padding:0 0 120px;

    background:#ffffff;

}

.quick-contact-card{

    max-width:900px;

    margin:auto;

    padding:60px;

    text-align:center;

    background:linear-gradient(135deg,#1f5d3a,#2f7b50);

    border-radius:30px;

    color:#ffffff;

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

}

.quick-contact-icon{

    width:90px;

    height:90px;

    margin:0 auto 25px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

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

}

.quick-contact-icon i{

    font-size:2.3rem;

}

.quick-contact-card h2{

    font-size:2.3rem;

    margin-bottom:20px;

}

.quick-contact-card p{

    max-width:650px;

    margin:0 auto 35px;

    line-height:1.9;

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

}

.quick-contact-info{

    display:flex;

    justify-content:center;

    gap:40px;

    flex-wrap:wrap;

    margin-bottom:40px;

}

.contact-item{

    display:flex;

    align-items:center;

    gap:12px;

    font-size:1.05rem;

}

.contact-item i{

    width:45px;

    height:45px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

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

    color:#ffffff;

}

.quick-contact-card .btn{

    background:#ffffff;

    color:#1f5d3a;

}

.quick-contact-card .btn:hover{

    background:#f7941d;

    color:#ffffff;

}


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

@media(max-width:768px){

    .quick-contact{

        padding-bottom:90px;

    }

    .quick-contact-card{

        padding:40px 25px;

    }

    .quick-contact-card h2{

        font-size:1.9rem;

    }

}

@media(max-width:576px){

    .quick-contact{

        padding-bottom:70px;

    }

    .quick-contact-card h2{

        font-size:1.6rem;

    }

    .quick-contact-info{

        flex-direction:column;

        gap:20px;

    }

}

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

@media (max-width:992px){

    .page-hero-content,
    .quote-form-container,
    .quick-contact-card{

        width:100%;

        max-width:100%;

    }

}


@media (max-width:768px){

    .quote-hero{

        padding:130px 0 80px;

    }

    .page-hero-content{

        text-align:center;

        margin:auto;

    }

    .page-hero-badge{

        margin-inline:auto;

    }

    .page-hero-buttons{

        justify-content:center;

        align-items:center;

    }

    .page-hero-buttons .btn,
    .page-hero-buttons .btn-outline{

        width:100%;

    }

    .why-card{

        text-align:center;

    }

    .why-icon{

        margin-inline:auto;

    }

    .quote-form-container{

        margin-top:50px;

    }

    .form-check{

        align-items:flex-start;

    }

    .quick-contact-card{

        text-align:center;

    }

    .contact-item{

        justify-content:center;

    }

}


@media (max-width:576px){

    .page-hero-content h1{

        line-height:1.25;

    }

    .quote-form-container{

        padding:20px;

    }

    .form-group input,
    .form-group select,
    .form-group textarea{

        font-size:16px;

    }

    .quote-form-container .btn{

        width:100%;

    }

    .quote-faq .faq-question{

        align-items:flex-start;

    }

    .contact-item{

        width:100%;

        justify-content:center;

        text-align:center;

    }

}


/* Sécurité Responsive */

.quote-form-container,
.quick-contact-card{

    overflow:hidden;

}

input,
select,
textarea{

    max-width:100%;

    box-sizing:border-box;

}

img,
iframe,
video{

    max-width:100%;

    height:auto;

}