
.offers-tab #section-1 {
    /* height: 100vh; */
    min-height: 100vh;
    
    text-align: center;
    justify-content: top;
    /* gap: 10rem; */
    display: flex;
    flex-direction: row;
    align-items: stretch; /* All children get the same height */
    position: relative;
    margin: 0rem 0rem;
    padding: 5rem 5rem 0rem 5rem;
    /* padding-right: 2%; */

    background-color: var(--background-white);
    max-width: 1800px;
    margin-left: auto;
    margin-right: auto;
    
}

.offers-tab .content-row {
    display: flex;
    flex-direction: column;
    /* gap: 2rem; */
    align-items: stretch; /* All children get the same height */
    position: relative;
    margin: 2% 0rem;
}

/* Logo image — takes up full height of the row */
.offers-tab #logo_title {
    display:none;
    height: auto;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    padding-bottom: 1rem;
    align-self: flex-start;
}

/* Wrapper for text content — stacks title, sub_title, description horizontally */
.offers-tab .text-column {
    display: flex;
    flex-direction: column;
    justify-content: top;
    gap: 3rem;
    flex: 1;
}

.offers-tab #title_image {
    height: 100%;
    width: 45%;
    object-fit: contain;
    flex-shrink: 0;
    padding: 0rem 3rem;
    padding-bottom: 1%;
    margin-left: 0%; /* Pull image left to overlap text */
}

/* Title */
.offers-tab .title {
    text-align: left;
    font-size: clamp(2rem, 4vw, 4rem);
    color: var(--text-blue-dark);
    display: flex;
    padding-left: 0rem;
    align-items: center;
}

/* Sub-title */
.offers-tab .subtitle {
    text-align: left;
    padding-left: 0rem;
    font-size: clamp(1.2rem, 2vw, 3rem);
    font-weight: bold;
    color: var(--blue-archi-light);
    display: flex;
    align-items: center;
}

.offers-tab .title-separator {
    border: none;
    border-top: 2px solid var(--blue-archi-light);
    margin: 0rem 0rem;
    margin-right: 80%;

}

/* Description */
.offers-tab .description {
    font-size: clamp(1.0rem, 1.4vw, 2rem);
    padding-left: 0rem;
    color: var(--blue-archi-dark);
    text-align: left;
    display: flex;
    align-items: left;
    /* width: 80%; */
}


.offers-tab h1{
    padding-top: 5rem;
    color: var(--blue-archi-dark);
    text-align: center;
    font-size: clamp(2rem, 5vw, 3rem);;
}

.offers-tab #buttons {
    padding: 2rem 0rem;
    display:flex;
    justify-content: center;
    background-color: #f4f8ff;

}

.offers-tab .btn{

    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:1rem;
    /* margin-top:1rem; */

    display:inline-flex;
    align-items:center;
    justify-content:center;

    width:10rem;
    height:3rem;

    font-size: clamp(0.9rem, 0.9vw, 1rem);

    color:var(--blue-archi-dark);
    text-decoration:none;

    border:2px solid var(--blue-archi-dark);

    border-radius:10px;


    transition:.3s;
}

.offers-tab #btn1 {
    margin-right: 0.5rem;
    margin-left: 1rem;
}

.offers-tab #btn2 {
    margin-right: 1rem;
    margin-left: 0.5rem;
    color: white;
    width:12rem;
    border:2px solid var(--blue-archi-light);
    background-color: var(--blue-archi-light);
}

.offers-tab .btn:hover{
    cursor: pointer;
    background:var(--blue-archi-light);
    border:2px solid var(--blue-archi-light);
    color:white;
}

.offers-tab #btn2:hover{
    cursor: pointer;
    background:var(--blue-archi-dark);
    border:2px solid var(--blue-archi-dark);
    color:white;
}



@media (max-width: 1024px) {

    
    .offers-tab #section-1 {
        padding-top: 5rem;
        flex-direction: column;
        height: auto;
        min-height: auto;
        padding-bottom: 2rem;
        padding-left: 3rem;
        padding-right: 3rem;
    }

    /* Stack logo + text vertically instead of side-by-side */

    .offers-tab #logo_title {
        display:flex;
        padding-bottom: 2rem;
        align-self: center;
    }

    .offers-tab .text-column {
        gap: 1.8rem;
    }

    .offers-tab .title {
        text-align: center;
        justify-content: center;        
    }

    .offers-tab .subtitle {
        text-align: center;
        justify-content: center;
    }

    .offers-tab .title-separator {
        margin-right: 40%;
        margin-left: 40%;
    }

    /* Description no longer a narrow 27% column — full width under the title */
    .offers-tab .description {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    .offers-tab #title_image{
        width: 20rem;
        max-height:15rem;
        align-self: center;
        padding-top: 2%;
        padding-right: 0%;
        padding-left: 0rem;
        margin: 0%
    }
    .offers-tab .description span {
        align-self: center;
    }
}


@media (max-width: 768px) {
     
    .offers-tab .text-column {
        gap: 1.8rem;
    }

    .offers-tab #image_title {
            display: block;
        /* max-width:230px; */
        height: 10rem;;
        object-fit: cover;
        margin: auto auto;
    } 

}


@media (max-width: 480px) {
   .offers-tab #section-1 {
        padding-top: 3rem;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
        flex-direction: column;
        gap: 1rem;
    }

    /* Stack logo + text vertically instead of side-by-side */

    .offers-tab #logo_title {
        display:flex;
        max-height: 5rem;
        padding-bottom: 2rem;
        align-self: center;
    }

    .offers-tab .text-column {
        gap: 1.8rem;
    }

    .offers-tab .title {
        text-align: center;
        justify-content: center;
    }

    .offers-tab .title-separator {
        border: none;
        border-top: 2px solid var(--blue-archi-light);
        margin-right: 40%;
        margin-left: 40%;

    }

    .offers-tab .subtitle {
        text-align: center;
        justify-content: center;
    }

    /* Description no longer a narrow 27% column — full width under the title */
    .offers-tab .description {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .offers-tab #title_image{
        width: 100%;
        max-width: 20rem;
        max-height:20rem;
        align-self: center;
        padding-top: 2%;
        padding-right: 0%;
        margin: 0%
    }
}

#essentiel h2 {
    font-weight: bold;
    font-size: clamp(1.2rem, 2vw, 2rem);
    margin: 1rem 0rem;
    text-align: center;
    color: #ffffff;
}


#essentiel h3 {
    color: var(--blue-archi-dark);
    font-size: clamp(0.9rem, 1vw, 1rem);
}


#essentiel #TITLE {

    padding: 0rem 0rem 1rem 3rem;
    color: var(--blue-archi-dark);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: bold;

}

#essentiel hr {
    margin-left: 3rem;
    margin-bottom: 1rem;
    margin-right: 70%;
    border: 2px solid var(--blue-archi-dark);
    border-radius: 5px;
}

#essentiel #SUB-TITLE {

    padding: 0rem 0rem 3rem 3rem;
    color: var(--blue-archi-light);
    font-size: clamp(1.0rem, 2vw, 1.8rem);

    font-weight: 400;
}


#essentiel .title-card {
    height: 100%;
    width: 100%;
    border-radius: 45px 45px 0px 0px;
}

#essentiel #col1 .title-card {
    background-color: var(--blue-archi-light);
}

#essentiel #col2 .title-card {
    background-color: var(--blue-archi-dark);
}

#essentiel #col3 .title-card {
    background-color: green;
}



#essentiel-cols {
    display: grid;
    gap: 1.0rem;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto auto auto;
    /* step / image / title / sub-title */
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0rem 5rem;
}

#essentiel {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 4rem 1rem 2rem 1rem;
}

#essentiel .columns {
    border-radius: 50px;
    display: grid;
    /* grid-template-columns: 1fr; */
    /* <-- add this: one track, full width */
    grid-template-rows: subgrid;
    grid-row: span 4;
    row-gap: 3rem;
    padding: 1rem 0rem;
    padding-top: 0rem;
    margin: 0rem auto 0rem auto;
    justify-items: center;
    text-align: center;
    width: 100%;
}



#essentiel #col1 {
    border: 2px solid var(--blue-archi-light);
}
#essentiel #col2 {
    border: 2px solid var(--blue-archi-dark);
}
#essentiel #col3 {
    border: 2px solid green;
}



#essentiel .icon {
    color: white;
    font-size: clamp(1rem, 1.2vw, 1.5rem);
    font-weight: bold;
    box-sizing: border-box;
    flex-shrink: 0;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background-color: var(--background-anim);
    overflow: hidden;
    margin: auto 0rem auto 0rem;
    /* centers the wrap itself in case parent isn't centering it */
    display: flex;
    align-items: center;
    justify-content: center;
}



#essentiel .content {
    padding-bottom: 0.5rem;
    width: 80%;
    display: flex;
    flex-direction: row;
    vertical-align: center;
    /* margin: auto; */
    border-bottom: 2px solid var(--blue-archi-light);
}


#essentiel #last-content {
    border-bottom: 0px solid var(--blue-archi-light);
}
#essentiel .content h3{
    display: flex;
    flex-direction: row;
    vertical-align: center;
    margin: auto 0rem auto 0rem;
    padding-left: 1rem;
    font-size: clamp(1rem, 1.2vw, 1.5rem);
    text-align: left;
}

#essentiel #bottom {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding-top: 3rem;
}

#essentiel #first {
    background-color: var(--blue-archi-dark);
    font-size: clamp(1rem, 1.2vw, 1.5rem);
    color: white;
    border-radius: 30px;
    padding: 1rem 2rem;
}

#essentiel #second {
    background-color: green;
    font-size: clamp(1.2rem, 2vw, 2rem);
    color: white;
    border-radius: 30px;
    padding: 1rem 2rem;
}


@media (max-width: 1400px) {
    #essentiel {
        padding: 2rem 1rem 2rem 1rem;
    }
}

@media (max-width: 768px) {

    #essentiel-cols {
        grid-template-columns: repeat(1, 6fr);
        padding: 0rem 2rem;
        gap: 2rem;
    }

    #essentiel-cols .columns{
       gap: 1rem;
       padding-bottom: 0rem;
    }
    #essentiel #TITLE {
        text-align: center;
        padding-left: 0rem;
    }

    #essentiel #SUB-TITLE {
        text-align: center;
        padding-left: 0rem;
        padding-bottom: 1rem;
    }

    #essentiel #h2 {
    }

    #essentiel hr {
        margin-left: 1.5rem;
        margin-bottom: 1.5rem;
        margin-right: 20%;
        margin-left: 20%;
        border: 1px solid var(--blue-archi-dark);
        border-radius: 5px;
    }

    #essentiel #first {
        text-align: center;
        padding: 0.5rem 1rem;
    }

    #essentiel #second {
        text-align: center;
        padding: 0.5rem 1rem;
    }
    
}


@media (max-width: 480px) {


    #essentiel #TITLE {
        padding-left: 1rem;
        padding-bottom: 0.8rem;
    }

 

    #essentiel #SUB-TITLE {
        padding-left: 1rem;
        padding-bottom: 0.8rem;
    }

    #essentiel .content {
        padding-bottom: 0rem;
    }

    #essentiel h2 {
    }

    #essentiel h3 {
    }

    #essentiel-cols {
        padding: 0rem 1rem;
    }


    #essentiel .title {
    }

    #essentiel .sub-title {
        margin: 0rem;
    }
    
    #essentiel .columns {
        width: 100%;
    }


    #essentiel #col3 .title-card h3{
        padding: 0rem;
    }

}
#offers #TITLE {

    padding: 0rem 0rem 1rem 3rem;
    color: var(--blue-archi-dark);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: bold;

}

#offers hr {
    margin-left: 3rem;
    margin-bottom: 1rem;
    margin-right: 70%;
    border: 2px solid var(--blue-archi-dark);
    border-radius: 5px;
}

#offers #SUB-TITLE {

    padding: 0rem 0rem 3rem 3rem;
    color: var(--blue-archi-light);
    font-size: clamp(1.0rem, 2vw, 1.8rem);

    font-weight: 400;
}

#offers .title {
    text-align: center;
    justify-content: center;
    vertical-align: top;
    width: auto;
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    font-weight: bold;
    margin: 0rem 3rem;
    padding: 0 0rem;
    padding-bottom: 0.7rem;

    color: var(--blue-archi-dark);
    /* font-weight: bold; */
}

#offers #col1 .title {
    border-bottom: 2px solid green;
}
#offers #col2 .title {
    border-bottom: 2px solid var(--blue-archi-light);
}
#offers #col3 .title {
    border-bottom: 2px solid purple;
}

#offers .sub-title {
    text-align: center;
    justify-content: center;
    width: auto;
    font-size: clamp(0.95rem, 1.4vw, 1.5rem);
    padding: 0 1rem;
    margin-top: 1rem;
    color: var(--blue-archi-dark);
    /* font-weight: bold; */
}

#offers-cols {
    display: grid;
    gap: 1.0rem;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto auto auto;
    /* step / image / title / sub-title */
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0rem 5rem;
}


#offers {
    background-color: #f4f8ff;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 4rem 1rem 2rem 1rem;
    min-height: 100vh;
}

#offers .columns {
    border-radius: 50px;
    display: grid;
    /* grid-template-columns: 1fr; */
    /* <-- add this: one track, full width */
    grid-template-rows: subgrid;
    grid-row: span 6;
    padding: 1rem 2rem;
    margin: 0rem auto 0rem auto;
    justify-items: center;
    text-align: center;
    width: 100%;
}

.list-icon {
    font-weight: bold;
    box-sizing: border-box;
    flex-shrink: 0;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    padding: 5px;
    color: var(--blue-archi-dark);

}

#offers #col1 .list-icon {
    background-color: green;
}

#offers #col2 .list-icon {
    background-color: var(--blue-archi-light);
}

#offers #col3 .list-icon {
    background-color: purple;
}

#offers .card-list {
    width: 100%;
    text-align: left;
    list-style-type: none;
    padding-left: 3rem;
    /* font-weight:bold; */
    color: var(--blue-archi-dark);
}



#offers .card-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.2rem;
}

#offers #col1 {
    border: 2px solid green;
}
#offers #col2 {
    border: 2px solid var(--blue-archi-light);
}
#offers #col3 {
    border: 2px solid purple;
}


#offers .archi-img-wrap {
    height: 200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem 0;
}

#offers .archi-img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

#offers .archi-step {
    color: white;
    font-size: clamp(1rem, 1.2vw, 1.5rem);
    font-weight: bold;
    box-sizing: border-box;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
   
    overflow: hidden;
    margin: 0 auto 0.0rem auto;
    /* centers the wrap itself in case parent isn't centering it */
    display: flex;
    align-items: center;
    justify-content: center;
}

#offers #col1 .archi-step {
    background-color: green;
    border: 2px solid green;
}

#offers #col2 .archi-step {
    background-color: var(--blue-archi-light);
    border: 2px solid var(--blue-archi-light);
}

#offers #col3 .archi-step {
    background-color: purple;
    border: 2px solid purple;
}



#offers .tarif {
    font-size: clamp(1.2rem, 2vw, 2rem);
    font-weight: bold;
}

#offers .sub-title {
    text-align: center;
    justify-content: center;
    width: auto;
    font-size: clamp(0.95rem, 1.4vw, 1.5rem);
    padding: 1rem 1rem;
    margin: 0rem 3rem 0rem 3rem;
    color: var(--blue-archi-dark);
    border: 0px;
}

#offers #col1 .sub-title {
    border-top: 2px solid green;
    border-style: dashed;
}
#offers #col2 .sub-title {
    border-top: 2px solid var(--blue-archi-light);
    border-style: dashed;
}
#offers #col3 .sub-title {
    border-top: 2px solid purple;
    border-style: dashed;
}

#offers #col1 .tarif {
    color: green;
}

#offers #col2 .tarif {
    color: var(--blue-archi-light);
}

#offers #col3 .tarif {
    color: purple;
}

#offers .title-card {
    display: flex;
    flex-direction: row;
    vertical-align: center;
    text-align: center;
    justify-content: center;
}

#offers .title-card h3{
    display: flex;
    flex-direction: row;
    vertical-align: center;
    margin: auto;
    padding-left: 1rem;
    font-size: clamp(1.2rem, 1.8vw, 2rem);
    text-align: center;
}

#offers #col1 h3 {
    color: green;
}

#offers #col2 h3 {
    color: var(--blue-archi-light);
}

#offers #col3 h3 {
    color: purple;
}


@media (max-width: 1400px) {
    
    #offers {
        padding: 2rem 1rem 2rem 1rem;
    }
}

@media (max-width: 768px) {
    #offers-cols {
        grid-template-columns: repeat(1, 3fr);
        padding: 0rem 4rem;
        gap: 1rem;
    }

    #offers-cols {
        grid-template-columns: repeat(1, 6fr);
        padding: 0rem 2rem;
    }
    #offers #TITLE {
        text-align: center;
        padding-left: 0rem;
    }

    #offers #SUB-TITLE {
        text-align: center;
        padding-left: 0rem;
        padding-bottom: 1rem;
    }

    #offers hr {
        margin-left: 1.5rem;
        margin-bottom: 1.5rem;
        margin-right: 20%;
        margin-left: 20%;
        border: 1px solid var(--blue-archi-dark);
        border-radius: 5px;
    }
    
}


@media (max-width: 480px) {


    #offers #TITLE {
        padding-left: 1rem;
        padding-bottom: 0.8rem;
    }

 

    #offers #SUB-TITLE {
        padding-left: 1rem;
        padding-bottom: 0.8rem;
    }

    #offers h3 {
    }


    #offers .title {
    }

    #offers .sub-title {
        margin: 0rem;
    }
    
    #offers .columns {
        width: 100%;
    }

    #offers .archi-img-wrap {
        height: 100px;
    }

    #offers .card-list {
        padding-left: 0px;
    }

    #offers #col3 .title-card {
        flex-direction: column;
        gap: 0.8rem;
    }

    #offers #col3 .title-card h3{
        padding: 0rem;
    }

}
