nav a {
    text-decoration: none;
    color: #333A42;
    padding: 10px 15px;
    font-size: 16px;
    transition: color 0.3s, border-bottom 0.3s;
}

nav a.active {
    color: #DD6600; /* Couleur accent */
}

.blocs{
    margin: 5%;
}

.first{
    display: flex;
    justify-content: center;
    gap: 90px;
    width: 90%;
}

.first .text{
    width: 40%;
    margin: 0;
}

.text span{
    color: #DD6600;
}

.text p{
    font-family: 'Inter', sans-serif;
    color: #333A42;
    font-size: 16px;
    line-height: 1.8;
    max-width: 600px;
}



.first .tab{
    display: inline-block;
    position: relative;
    color: black;
}
    
.first .tab::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 46%; 
    width: 100%;
    height: 2px; 
    background-color: black; 
}

.first, .second span{
    color: #DD6600;
}

.first h1{
    font-family: 'JacquesProBold';
    text-align: start;
    color: black;
}

.bloc-chiffre p{
    line-height: 2;
    max-width: 210px;
}

/* Premier bloc (chiffre 1) - 3 lignes */
.bloc-chiffre:first-child p {
    max-width: 200px;
}

.bloc-chiffre{
    gap: 20px;
}

.bloc-chiffre img {
    width: fit-content !important;
}
.blocs{
    gap: 70px !important;
    padding-bottom: 80px;
}

.second{
    gap: 70px !important;
    width: 70%;
}
.hero{
    height: 437px !important;
}
.three {
    background-image: url("../images/second.svg") !important;
    height: 437px !important;
    background-repeat: no-repeat;
    background-size: contain; 
    background-position: center; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white; 
    text-align: center;
    padding: 20px;
}


.three p{
    width: fit-content !important;
    line-height: 1.7;
    font-size: 24px;
    font-family: "Inter", sans-serif;
    font-weight: 400;
}

.bloc-img{
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* ===== RESPONSIVE - PAGE ABOUT ===== */

/* Desktop Large */
@media (min-width: 1200px) {
    /* Styles pour écrans très larges */
    .hero {
        height: 437px !important;
    }
    
    .hero h1 {
        font-size: 64px;
    }
    
    .text p {
        max-width: 445px;
    }
}

/* Desktop */
@media (max-width: 1199px) and (min-width: 992px) {
    /* Styles pour écrans desktop */
    .hero {
        height: 400px !important;
    }
    
    .hero h1 {
        font-size: 56px;
    }
    
    .text p {
        max-width: 380px;
    }
}

/* Tablet Large */
@media (max-width: 991px) and (min-width: 768px) {
    /* Styles pour tablettes larges */
    .hero {
        height: 380px !important;
    }
    
    .hero h1 {
        font-size: 48px;
    }
    
    .blocs {
        margin: 3%;
    }
    
    .first {
        gap: 60px;
        width: 95%;
    }
    
    .first .text {
        width: 45%;
    }
    
    .text p {
        max-width: 400px;
    }
    
    .second {
        width: 80%;
        gap: 50px !important;
    }
    
    .three {
        height: 350px !important;
    }
    
    .three p {
        font-size: 20px;
    }
}

/* Tablet */
@media (max-width: 991px) {
    /* Styles pour tablettes */
    .hero {
        height: 360px !important;
    }
    
    .hero h1 {
        font-size: 40px;
    }
    
    .blocs {
        margin: 4%;
        gap: 50px !important;
    }
    
    .first {
        gap: 50px;
        width: 95%;
    }
    
    .first .text {
        width: 48%;
    }
    
    .text p {
        max-width: 380px;
    }
    
    .second {
        width: 85%;
        gap: 40px !important;
    }
    
    .three {
        height: 320px !important;
    }
    
    .three p {
        font-size: 18px;
    }
}

/* Mobile Large (576px - 767px) */
@media (max-width: 767px) and (min-width: 576px) {
    .hero {
        height: 350px !important;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .blocs {
        margin-left: 14px;
        margin-right: 14px;
    }
    
    .bloc-img h1 {
        margin-left: 14px;
    }
    
    .bloc-img .text h1 {
        margin-left: 14px !important;
    }
    
    .first {
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .first img {
        width: 100%;
        order: -1;
    }
    
    .first .text {
        width: 100%;
        text-align: left;
    }
    
    .first h1 {
        text-align: left;
    }
    
    .text p {
        font-size: 14px;
        line-height: 2;
    }
    
    .second {
        width: 72%;
        gap: 25px !important;
    }
    
    .three {
        height: 265px !important;
        background-size: cover !important;
        background-position: center !important;
    }
    
    .three p {
        font-size: 14px;
    }
    
    .bloc-img {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        margin-left: 14px;
        margin-right: 14px;
    }
    
    .bloc-img img {
        width: 100%;
        order: -1;
    }
    
    .bloc-img .text {
        width: 100%;
        text-align: left;
    }
    
    .bloc-img h1 {
        text-align: left;
    }
    
    .bloc-img .text p {
        font-size: 14px;
        line-height: 2;
    }
    
    .tabiroo-text {
        margin-left: 14px;
        margin-right: 14px;
    }
    
    .bloc-chiffre img {
        width: 60px;
        height: 60px;
    }
}

/* Mobile Medium (375px - 575px) */
@media (max-width: 575px) {
    .hero {
        height: 320px !important;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .first {
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }
    
    .bloc-img h1 {
        margin-left: 14px;
    }
    
    .bloc-img .text h1 {
        margin-left: 14px !important;
    }
    
    .first img {
        width: 100%;
        order: -1;
    }
    
    .first .text {
        width: 100%;
        text-align: left;
    }
    
    .first h1 {
        font-size: 26px;
        text-align: left;
    }
    
    .text p {
        font-size: 16px;
        line-height: 2;
    }
    
    .blocs {
        margin-left: 14px;
        margin-right: 14px;
    }
    
    .second {
        width: 75%;
        gap: 25px !important;
    }
    
    .three {
        height: 265px !important;
        background-size: cover !important;
        background-position: center !important;
    }
    
    .three p {
        font-size: 14px;
    }
    
    .bloc-img {
        gap: 25px;
        margin-left: 14px;
        margin-right: 14px;
    }
    
    .bloc-img img {
        width: 100%;
        order: -1;
    }
    
    .bloc-img img[src*="logo.svg"] {
        width: 80%;
        margin: 0 auto;
        display: block;
    }
    
    .bloc-img .text {
        width: 100%;
        text-align: left;
    }
    
    .bloc-img h1 {
        font-size: 26px;
        text-align: left;
    }
    
    .bloc-img .text p {
        font-size: 16px;
        line-height: 2;
    }
    
    .tabiroo-text {
        margin-left: 14px;
        margin-right: 14px;
    }
    
    .bloc-chiffre img {
        width: 60px;
        height: 60px;
    }
}

/* Mobile Small (320px - 374px) */
@media (max-width: 374px) {
    .hero {
        height: 300px !important;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .blocs {
        margin-left: 14px;
        margin-right: 14px;
    }
    
    .bloc-img h1 {
        margin-left: 14px;
    }
    
    .bloc-img .text h1 {
        margin-left: 14px !important;
    }
    
    .first {
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .first img {
        width: 100%;
        order: -1;
    }
    
    .first .text {
        width: 100%;
        text-align: left;
    }
    
    .first h1 {
        text-align: left;
    }
    
    .text p {
        font-size: 12px;
        line-height: 2;
    }
    
    .second {
        width: 72%;
        gap: 20px !important;
    }
    
    .three {
        height: 265px !important;
        background-size: cover !important;
        background-position: center !important;
    }
    
    .three p {
        font-size: 12px;
    }
    
    .bloc-img {
        gap: 20px;
        margin-left: 14px;
        margin-right: 14px;
    }
    
    .bloc-img img {
        width: 100%;
        order: -1;
    }
    
    .bloc-img img[src*="logo.svg"] {
        width: 80%;
        margin: 0 auto;
        display: block;
    }
    
    .bloc-img .text {
        width: 100%;
        text-align: left;
    }
    
    .bloc-img h1 {
        text-align: left;
    }
    
    .bloc-img .text p {
        font-size: 12px;
        line-height: 2;
    }
    
    .tabiroo-text {
        margin-left: 14px;
        margin-right: 14px;
    }
    
    .bloc-chiffre img {
        width: 50px;
        height: 50px;
    }
}

/* Logo Tabiroo spécifique pour mobile */
.tabiroo-logo {
    width: 60% !important;
    margin: 0 auto !important;
    display: block !important;
}

/* Margin top pour mobile uniquement */
@media (max-width: 767px) {
    .tabiroo-logo {
        margin-top: 20px !important;
    }
}

/* Titre Tabiroo spécifique pour mobile */
.tabiroo-title {
    margin-left: 14px !important;
}