
#use-case .use-case-pad {
    padding: 0rem 5rem;
}

#use-case #section-1 {
    /* height: 100vh; */
    min-height: 100vh;
    display: flex;
    flex-direction: row;
    align-items: stretch; /* All children get the same height */
    position: relative;
    margin: 0rem 0rem;
    padding-left: 0rem;
    /* padding-right: 2%; */
    padding-bottom: 0rem;
    padding-top: calc(6rem);
    background-color: var(--background-white);
    
}

#use-case .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 */
#use-case #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 */
#use-case .text-column {
    display: flex;
    flex-direction: column;
    justify-content: top;
    gap: 5%;
    flex: 1;
}
#use-case .image-container {
    width: 50%;            /* Keeps your original width */
    padding-left: 2rem;
    padding-top: 1rem;
    overflow:visible;      /* CRITICAL: Ensures image corners don't spill out */
    flex-shrink: 0;        /* Prevents it from shrinking in flex layout */
    margin-left: 0%;      /* Your original overlap logic */
}
#use-case #title_image {
    border-radius: 50px;
    width: 100%;
    object-fit: contain;
    box-shadow: 0 -0px 20px rgba(33,46,65,.18);
    object-position: top;
}

/* Title */
#use-case .title {
    text-align: left;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: bolder;
    color: var(--text-blue-dark);
    display: flex;
    align-items: center;
}

/* Sub-title */
#use-case .subtitle {
    text-align: left;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: bold;
    color: var(--blue-archi-light);
    display: flex;
    align-items: center;
}

/* Description */
#use-case .description {
    font-size: clamp(1.1rem, 1.4vw, 1.8rem);
    color: var(--blue-archi-dark);
    text-align: left;
    display: flex;
    align-items: center;
    width: 80%;
}

    

#use-case .dark-blue {
    color: var(--blue-archi-dark);
}

#use-case .description span {
    align-self: flex-start;
}

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


#use-case #buttons {
    background-color: #f4f8ff;
    padding: 2rem 0rem;
    display:flex;
    justify-content: center;
}

#use-case .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;
}

#use-case #btn1 {
    margin-left: 1rem;
    margin-right: 0.5rem;
}

#use-case #btn2 {
    margin-left: 0.5rem;
    margin-right: 1rem;
    color: white;
    width:14rem;
    border:2px solid var(--blue-archi-light);
    background-color: var(--blue-archi-light);
}

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

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




/* ============================= */
/* Desktop-only tightened layout */
/* ============================= */



@media (max-width: 1400px) {

}

/* ============================= */
/* Tablet / small laptop         */
/* ============================= */
@media (max-width: 1024px) {
    #use-case #section-1 {
        padding-top: 5rem;
        flex-direction: column;
        height: auto;
        min-height: auto;
        padding-bottom: 2rem;
        padding-left: 3rem;
        padding-right: 3rem;
    }

    #use-case #title_image {
        border-radius: 50px;
        width: 100%;
        box-shadow: 0 -0px 20px rgba(206, 208, 212, 0.18);
        object-position:center;
    }
    #use-case .image-container {
        width: 100%;            /* Keeps your original width */
        padding-top: 1rem;
        padding-left: 0rem;
        overflow:visible;      /* CRITICAL: Ensures image corners don't spill out */
        display: flex;
        justify-content: center;
        align-items: center;

    }

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

    #use-case #logo_title {
        display:flex;
        padding-bottom: 2rem;
        align-self: center;
    }

    #use-case .text-column {
        gap: 1.8rem;
    }

    #use-case .title {
        text-align: center;
        justify-content: center;        
    }

    #use-case .title-separator {
        margin-right: 40%;
        margin-left: 40%;
    }

    #use-case .subtitle {
        text-align: center;
        justify-content: center;
    }

    /* Description no longer a narrow 27% column — full width under the title */
    #use-case .description {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    #use-case #title_image{
        width: 40rem;
        max-height:30rem;
        align-self: center;
        padding-top: 2%;
        padding-right: 0%;
        margin: 0%
    }
    #use-case .description span {
        align-self: center;
    }
    #use-case .rive-overlay-text {
        padding: 3rem 1rem 2rem 1rem;
    }
    

}

/* ============================= */
/* Mobile (phones, landscape too)*/
/* ============================= */
@media (max-width: 768px) {
     
    #use-case .text-column {
        gap: 1.2rem;
    }


    #use-case #title_image{
        width: 20rem;
        max-height:15rem;
    }

    #use-case .card {
        margin: 0rem 0rem;
    }
    
  


}

/* ============================= */
/* Small phones                  */
/* ============================= */
@media (max-width: 480px) {
   #use-case #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 */

    #use-case #logo_title {
        display:flex;
        max-height: 5rem;
        padding-bottom: 2rem;
        align-self: center;
    }

    #use-case .text-column {
        gap: 1.2rem;
    }

    #use-case .title {
        text-align: center;
        justify-content: center;
    }

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

    }

    #use-case .subtitle {
        text-align: center;
        justify-content: center;
    }

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

    #use-case #title_image{
        width: 20rem;
        max-height:15rem;
        align-self: center;
        padding-top: 2%;
        padding-right: 0%;
        margin: 0%
    }

    #use-case .description span {
        align-self: center;
    }
    #use-case #canvas-div {
        height: 70vh; /* tune to taste */
    }

    


    #use-case .archi-img-wrap {
        height: 150px;
    }


    #use-case .archi-step {

        width: 32px;
        height: 32px;
       
    }

    #use-case #div-en-savoir-plus {
        padding-top: 1rem;
    }


    

   

}



#capabilities {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
    padding: 4rem 0rem 0rem 0rem;
    margin-bottom: 3rem;
}

#capabilities #TITLE {

    padding: 0rem;
    color: var(--blue-archi-dark);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;

}


#capabilities #SUB-TITLE {

    padding: 0rem 0rem 3rem 0rem;
    color: var(--blue-archi-light);
    font-size: clamp(1.2rem, 2vw, 2rem);
    font-weight: 400;
}

#capabilities hr {
    margin: 2rem 70% 2rem 0rem;
    border: 2px solid var(--blue-archi-dark);
    border-radius: 5px;
}



#capabilities-cols {
    display: grid;
    row-gap: 2rem;
    column-gap: 6rem;
    grid-template-columns: repeat(3, 2fr);
    grid-template-rows: auto auto auto auto;
    justify-content: center;
    align-items: center;
    padding: 0rem 10rem;
    width: 100%;
    margin: 0 auto;
}


#capabilities .columns {
    border-radius: 50px;
    box-shadow: 0 -0px 10px rgba(33,46,65,.18);
    display: grid;
    background-color: white;
    grid-template-rows: subgrid;
    grid-row: span 3;
    padding: 2rem 2rem;
    margin: 0rem auto 2rem auto;
    justify-items: center;
    text-align: center;
    width: 100%;
}



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



#capabilities .card-list li {
    align-items: center;
    gap: 0.5rem;
    font-size: clamp(0.95rem, 1vw, 1.3rem);
    padding-bottom: 0.4rem;
}



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

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

#capabilities .archi-step {
    color: white;
    /* font-size: 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;
}

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

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

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





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

#capabilities .title-card h3{
    display: flex;
    flex-direction: row;
    vertical-align: center;
    margin: 0rem auto;
    padding-left: 0rem;
    /* padding-top: 1rem; */
    font-size: clamp(1.2rem, 1.8vw, 2rem);
    text-align: center;
    color: var(--blue-archi-dark);
}




@media (max-width: 1400px) {

    #capabilities-cols {
        display: grid;
        gap: 1rem;
        grid-template-columns: repeat(3, 2fr);
        width: 90%;
    }

}

@media (max-width: 768px) {
    #capabilities-cols {
        grid-template-columns: repeat(1, 6fr);
        padding: 0rem 2rem;
    }
    #capabilities #TITLE {
        text-align: center;
        padding-left: 0rem;
    }

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

    #capabilities 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) {


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




    #capabilities h3 {
    }


    
 
    
    #capabilities .columns {
        width: 100%;
    }

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

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

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

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

    
}
.example {
    max-width: 1800px;
    margin: 40px auto;
    padding: 0rem 0rem;
}

.example .deployment-card {
    display: flex;
    align-items: top;
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.example .image-section {
    width: 68%;
    overflow: hidden;
}

.example .image-section img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.example .content-section {
    width: 32%;
    padding: 3rem 3rem;
    box-sizing: border-box;
}

.example .content-section h2 {
    margin: 0;
    color: var(--blue-archi-dark);
    font-size: clamp(1.8rem, 3vw, 3rem);
    font-weight: bold;
    line-height: 1.1;
    text-transform: uppercase;
}

.example .content-section h3 {
    margin: 14px 0 28px;
    color: var(--blue-archi-light);
    font-size: clamp(1.2rem, 2vw, 2rem);
    font-weight: normal;
    text-transform: none;
    line-height: 1.2;
}

.example .content-section p {
    margin: 0;
    color: var(--blue-archi-dark);
    font-size: clamp(1rem, 1.4vw, 1.5rem);
    line-height: 1.7;
    font-weight: 500;
}


@media (max-width: 1400px) {

    .example .content-section {
        width: 40%;
        padding: 2rem 2rem;
    }

    .example .content-section h2 {
    }

    .example .content-section h3 {
    }

    .example .content-section p {
    }


}


@media (max-width: 991px) {

    .example .deployment-card {
        flex-direction: column;
    }

    .example .image-section,
    .example .content-section {
        width: 100%;
    }

    .example .content-section {
        padding: 35px 25px;
    }

    .example .content-section h2 {
    }

    .example .content-section h3 {
    }

    .example .content-section p {
    }
}

#enjeux{
    position: relative;
    /* min-height: 100vh; */

    display: flex;
    flex-direction: column;

    justify-content: space-evenly;
    margin-top: 4rem;

    padding: 4rem 4rem;

    overflow: hidden;

    align-items: center;

    text-align: center;

    z-index: 2;
    background:
        radial-gradient(circle at top,
        rgb(0, 13, 63) 0%,
        rgb(0, 15, 77) 45%,
        rgb(0, 19, 97) 100%);
}


#enjeux #title-2{
    font-size:clamp(2.3rem,4vw,2.5rem);
    font-weight:600;
    padding-bottom: 5rem;
    letter-spacing:.5px;
    color: #4fa4ff;
}


#enjeux .cards{

    flex:1;

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

    align-items:stretch;

    gap:0rem;
    /* padding: 0rem 15rem; */
    max-width: 80rem;
    margin:2vh auto;
}

#enjeux .card{

    display:flex;
    flex-direction:column;

    /* align-items:center; */

    padding:0 3rem;
}

#enjeux .card:not(:last-child){

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

#enjeux h2{
    text-align: left;
    margin-top:1rem;
    font-size:clamp(2rem,2.7vw,2rem);
    font-weight:500;
    color: #4fa4ff;
}

#enjeux .small-line{

    width:20%;
    height:3px;
    margin: 3rem 80% 3rem 0%;
    background:var(--blue-archi-light);
}

#enjeux .card p{
    text-align: left;
    color: rgb(169, 215, 245);
    font-size:clamp(1rem,1.1vw,1.4rem);
    margin: .8rem 0;
    line-height:1.4;
}



@media (max-width: 1400px) {

    #enjeux {

        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

}


@media (max-width: 1024px) {

    #enjeux{
        padding: 3rem 1rem 1.5rem 1.5rem;
    }
    #enjeux #title-2 {
    }
    #enjeux .subtitle-2{
        margin-bottom: 1rem;
        margin-top: 1rem;
    }
    #enjeux .cards {
        gap: 0rem;
    }
    #enjeux .card {
        padding: 2rem 0rem 2rem 0rem; 
        margin: 0rem 10rem;
        align-items:left;
        justify-content:left;
    }
    #enjeux .card:first-child {
        padding-top: 0rem; 
    }
    #enjeux .card:last-child {
        padding-bottom: 0rem; 
    }
    #enjeux .card:not(:last-child){
        border-right:0px solid rgba(255,255,255,.15);
        border-bottom:2px solid rgba(255,255,255,.15);
    }
    #enjeux .icon {
        width:3rem;
        height:3rem;
        margin-bottom:0rem;
    }
    #enjeux h2{
        margin-top: .1rem;
    }

    #enjeux .card p{
        margin:.1rem 0;
    }

    #enjeux .btn{
        margin-top:1.5rem;
    }
    #enjeux .cards {
        grid-template-columns: repeat(1, 1fr);
    }

    #enjeux .columns {
        width: 100%;
    }

    #enjeux #col1{
        border-right: 0px solid var(--blue-archi-dark);
    }
}


@media (max-width: 768px) {

    #enjeux #title-2 {
    }

    #enjeux h2{
    }


    #enjeux .subtitle-2{
    }

    #enjeux .card {
        margin: 0rem 0rem;
    }
}


@media (max-width: 480px) {

    #enjeux{
        padding: 3rem 1.5rem 1.5rem 1.5rem;
    }

    #enjeux #title-2 {
    }

    #enjeux h2{
    }

}
