/* SECTION TT8 - Contact, fond jaune, texte blanc */
.tt8-section {
    background-color: #F9B023; /* jaune */
    color: #ffffff;
}

.tt8-wrapper {
    width: 100%;
    box-sizing: border-box;
    padding: 48px 24px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.tt8-title {
    margin: 0 0 12px 0;
    font-family: 'Anton', Impact, sans-serif;
    font-size: 50px;
    line-height: 1.1;
    color: #12322a; /* titre en vert */
    letter-spacing: 0.05em;
}

.tt8-sub {
    margin: 0 0 24px 0;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    font-size: 20px;
}

.tt8-actions {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    justify-content: center;
    gap: 16px 24px;
}

.tt8-link {
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    font-size: 20px;
    color: #ffffff;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: 10px;
    padding: 10px 14px;
}

.tt8-link:hover {
    background: rgba(255,255,255,0.15);
}

@media (max-width: 560px) {
    .tt8-actions { grid-template-columns: 1fr; }
}
/* SECTION TT7 - Références, fond gris clair, cartes blanches */
.tt7-section {
    background-color: var(--tt4-background); /* gris clair existant #F8F7F3 */
    color: var(--tt4-text);
}

.tt7-wrapper {
    width: 100%;
    box-sizing: border-box;
    padding: 48px 24px;
}

.tt7-title {
    margin: 0 0 24px 0;
    font-family: 'Anton', Impact, sans-serif;
    font-size: 50px;
    line-height: 1.2;
    text-align: center;
    letter-spacing: 0.05em;
}

.tt7-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.tt7-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px;
}

.tt7-card-title {
    margin: 0 0 6px 0;
    font-family: 'Anton', Impact, sans-serif;
    font-size: 30px;
    color: var(--tt4-text);
    letter-spacing: 0.05em;
}

.tt7-card-text {
    margin: 0;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    font-size: 20px;
    color: #000000;
}

@media (max-width: 680px) {
    .tt7-grid { grid-template-columns: 1fr; }
}
/* SECTION TT6 - Zone d'intervention, fond vert */
.tt6-section {
    background-color: var(--tt1-background); /* vert (#12322a) */
    color: #ffffff;
}

.tt6-wrapper {
    width: 100%;
    box-sizing: border-box;
    padding: 48px 24px;
}

.tt6-title {
    margin: 0 0 24px 0;
    font-family: 'Anton', Impact, sans-serif;
    font-size: 50px; /* lisible, cohérent avec titres majeurs */
    line-height: 1.2;
    color: #ffffff; /* titre en blanc */
    text-align: center;
    letter-spacing: 0.05em;
}

.tt6-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.tt6-item {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tt6-icon {
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
}

.tt6-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    transition: all 0.3s ease;
}

.tt6-item:hover .tt6-icon img {
    transform: scale(1.1);
    background: transparent;
    box-shadow: none;
}

.tt6-item:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.15);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.tt6-text {
    margin: 0;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    font-size: 20px;
    color: #ffffff;
    font-weight: 500;
}

@media (max-width: 600px) {
    .tt6-grid { grid-template-columns: 1fr; }
}

/* TT6 - image seule en fin de section */
.tt6-image-container {
    width: 100%;
    margin-top: 24px;
    display: block;
}

.tt6-image {
    width: 40%;
    height: auto;
    display: block;
}
/* SECTION TT1 - styles généraux */
:root {
    --tt1-background:#12322a;
    --tt1-text:#ffffff;
    --tt2-background:#ffffff;
    --tt2-text:#12322a;
    --tt2-card-bg:#F8F7F3;
    --tt2-card-text:#000000;
    --tt3-background:#F9B023;
    --tt3-text:#ffffff;
    --tt3-card-bg:#ffffff;
    --tt3-card-text:#000000;
    --tt4-background:#F8F7F3; /* gris clair existant */
    --tt4-text:#12322a;
    --tt4-card-bg:#ffffff;
    --tt4-card-text:#000000;
}

html, body {
    margin: 0;
    padding: 24px 5% 0 5%;
}

/* Images du site: bords arrondis par défaut */
img {
    border-radius: 12px;
}

/* Bords arrondis et marges pour toutes les sections */
section {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
}

section:last-child {
    margin-bottom: 0;
}

/* TT1 - conteneur principal full width, hauteur selon contenu */
.tt1-section {
    background-color: var(--tt1-background);
    color: var(--tt1-text);
}
/* SECTION TT2 - styles généraux */
.tt2-section {
    background-color: var(--tt2-background);
    color: var(--tt2-text);
}

.tt2-wrapper {
    width: 100%;
    box-sizing: border-box;
    padding: 48px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.tt2-title {
    margin: 0 0 24px 0;
    font-family: 'Anton', Impact, sans-serif;
    font-size: 50px;
    line-height: 1.1;
    color: var(--tt2-text);
    text-align: center;
    letter-spacing: 0.05em;
}

.tt2-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.tt2-card {
    background: var(--tt2-card-bg);
    border-radius: 12px;
    padding: 24px;
    display: grid; /* icône + titre sur une même ligne, texte en dessous */
    grid-template-columns: auto 1fr;
    column-gap: 30px; /* espace entre icône et titre (augmenté de 50%) */
    row-gap: 10px; /* espace entre la ligne titre et le texte */
    align-content: start;
    min-height: 160px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tt2-card-icon {
    width: 72px;
    height: 72px;
    grid-column: 1;
    grid-row: 1;
}

.tt2-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: linear-gradient(135deg, rgba(18,50,42,0.1), rgba(18,50,42,0.05));
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(18,50,42,0.1);
    transition: all 0.3s ease;
}

.tt2-card:hover .tt2-card-icon img {
    transform: scale(1.05);
    background: linear-gradient(135deg, rgba(18,50,42,0.2), rgba(18,50,42,0.1));
    box-shadow: 0 4px 16px rgba(18,50,42,0.2);
}

.tt2-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.tt2-card-title {
    margin: 0;
    font-family: 'Anton', Impact, sans-serif;
    font-size: 22px;
    color: var(--tt2-card-text);
    letter-spacing: 0.05em;
    grid-column: 2;
    grid-row: 1;
    align-self: center; /* aligner verticalement avec l'icône */
}

.tt2-card-text {
    margin: 0;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    font-size: 16px;
    color: var(--tt2-card-text);
    grid-column: 1 / -1; /* le texte prend toute la largeur sous le titre */
    grid-row: 2;
}

/* TT2 - responsive grille 6 / 3 / 2 */
@media (max-width: 1200px) {
    .tt2-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 680px) {
    .tt2-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Ajustements mobile généraux + TT2 plus "épais" sur smartphone */
@media (max-width: 560px) {
    /* Marges générales réduites et uniformisées */
    html, body { padding: 16px 2.5% 0 2.5%; }

    /* Harmoniser les marges internes des wrappers pour toutes sections */
    .tt1-wrapper,
    .tt2-wrapper,
    .tt3-wrapper,
    .tt4-wrapper,
    .tt6-wrapper,
    .tt7-wrapper,
    .tt8-wrapper { padding-left: 12px; padding-right: 12px; }

    /* TT2 - grille en 1 colonne pour des cartes plus larges */
    .tt2-grid { grid-template-columns: 1fr; }

    /* TT2 - cartes plus épaisses et lisibles */
    .tt2-card { 
        min-height: 220px; 
        padding: 28px; 
        column-gap: 48px; /* double de 24px pour un écart plus marqué */
        row-gap: 12px; 
    }
    .tt2-card-icon { width: 88px; height: 88px; }
    .tt2-card-title { font-size: 24px; }
    .tt2-card-text { font-size: 17px; }

    /* TT1 - CREDO mobile: 2 colonnes 50/50, centrage complet */
    .tt1-principes-item {
        min-height: 220px;
        padding: 20px 16px;
        display: grid;
        grid-template-columns: 1fr 1fr; /* texte à gauche, icône à droite */
        grid-template-rows: 1fr auto auto 1fr; /* permet de centrer verticalement le duo de textes */
        align-items: center;
        justify-items: center;
        gap: 0 12px;
    }
    .tt1-principes-top {
        grid-column: 1;
        grid-row: 2;
        justify-self: center;
        align-self: center;
        text-align: center;
        font-size: clamp(22px, 8vw, 36px);
        line-height: 1.05;
        margin: 0;
        width: 100%;
    }
    .tt1-principes-bottom {
        grid-column: 1;
        grid-row: 3;
        justify-self: center;
        align-self: center;
        text-align: center;
        font-size: clamp(22px, 8vw, 36px);
        line-height: 1.05;
        margin: 0;
        width: 100%;
    }
    .tt1-principes-icon {
        grid-column: 2;
        grid-row: 1 / span 4; /* occupe toute la hauteur de l'item */
        place-self: center; /* centre horizontalement et verticalement */
        width: 80%;
        max-width: 260px;
        aspect-ratio: 1 / 1; /* zone carrée pour maximiser l'icône */
        margin: 0;
        display: grid;
        place-items: center;
    }
    .tt1-principes-icon img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

/* TT1 - wrapper pour layout texte + image flottante droite */
.tt1-wrapper {
    width: 100%;
    box-sizing: border-box;
    padding: 48px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

/* TT1 - colonne texte */
.tt1-text {
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    flex: 1 1 60%;
    min-width: 0;
    max-width: 720px;
}

/* TT1 - titre principal */
.tt1-title {
    margin: 0 0 16px 0;
    font-family: 'Anton', Impact, sans-serif;
    font-size: 100px;
    line-height: 0.9;
    letter-spacing: 1px;
}

/* TT1 - sous-titre */
.tt1-subtitle {
    margin: 0 0 24px 0;
    font-family: 'Anton', Impact, sans-serif;
    font-size: 25px;
    line-height: 1;
    letter-spacing: 0.05em;
}

/* TT1 - paragraphe */
.tt1-paragraph {
    margin: 0;
    font-size: 18px;
    line-height: 1.5;
}

/* TT1 - bloc principes (LE CREDO): espacement et séparateur discret */
.tt1-principes {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.tt1-principes .tt1-subtitle {
    margin: 0 0 8px 0;
    letter-spacing: 0.5px;
}

/* TT1 - liste des principes alignée sur le paragraphe (sans puces) */
.tt1-principes-list {
    margin: 8px 0 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px 16px;
}

.tt1-principes-item {
    display: grid;
    grid-template-rows: auto 1fr 1fr;
    align-items: center;
    justify-items: center;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    padding: 16px 12px;
    min-height: 120px;
    transition: all 0.3s ease;
}

.tt1-principes-top,
.tt1-principes-bottom {
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 1.3;
}

.tt1-principes-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    margin-bottom: 8px;
}

.tt1-principes-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    transition: all 0.3s ease;
}

.tt1-principes-item:hover .tt1-principes-icon img {
    transform: scale(1.1);
    background: transparent;
    box-shadow: none;
}

/* TT1 - image flottante à droite avec dimensions demandées */
.tt1-image-container {
    margin: 0;
    flex: 0 1 38%;
    max-width: 480px;
    min-width: 300px;
    display: flex;
    border-radius: 12px;
    overflow: hidden; /* garantit les coins arrondis à toutes tailles */
    box-shadow: 0 6px 24px rgba(0,0,0,0.3);
}

.tt1-image {
    width: 100%;
    height: auto; /* garde les proportions originales */
    object-fit: contain;
    display: block;
    border-radius: 12px; /* renforce le rayon sur l'image elle-même */
}

/* TT1 - petits ajustements responsives sans inventer de design */
@media (max-width: 1024px) {
    .tt1-title { font-size: 88px; }
    .tt1-subtitle { font-size: 22px; }
    .tt1-paragraph { font-size: 16px; }
    .tt1-principes-top, .tt1-principes-bottom { font-size: 16px; }
}

@media (max-width: 680px) {
    .tt1-wrapper { 
        display: flex; 
        flex-direction: column; 
    }
    .tt1-text { 
        order: 2; 
        flex: none; 
        max-width: none; 
    }
    .tt1-image-container { 
        order: 1; 
        margin: 0 0 24px 0; 
        flex: none; 
        max-width: none; 
        border-radius: 12px; 
        overflow: hidden; 
    }
    .tt1-image { width: 100%; height: auto; }
    .tt1-title { font-size: 64px; }
    .tt1-subtitle { font-size: 18px; }
    .tt1-paragraph { font-size: 14px; }
    .tt1-principes-top, .tt1-principes-bottom { font-size: 14px; }
    .tt1-principes-list { grid-template-columns: 1fr; }
}

/* SECTION TT3 */
.tt3-section {
    background-color: var(--tt3-background);
    color: var(--tt3-text);
    position: relative;
}

.tt3-wrapper {
    width: 100%;
    box-sizing: border-box;
    padding: 48px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

/* TT3 - grille 3x3 avec 2 images + 6 cartes */
.tt3-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 12px;
    grid-template-areas: 
        "image1 card1 card2"
        "card3 card4 card5"
        "card6 card7 image2";
}

/* TT3 - images en haut à gauche et bas à droite */
.tt3-image-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background: var(--tt3-card-bg);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tt3-image-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.tt3-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

/* Première image en haut à gauche */
.tt3-image-container:first-of-type {
    grid-area: image1;
}

/* Deuxième image en bas à droite */
.tt3-image-container:last-of-type {
    grid-area: image2;
}

.tt3-title {
    margin: 0 0 24px 0;
    font-family: 'Anton', Impact, sans-serif;
    font-size: 50px;
    line-height: 1.2;
    text-align: center;
    letter-spacing: 0.05em;
}

.tt3-card {
    background: var(--tt3-card-bg);
    color: var(--tt3-card-text);
    border-radius: 12px; /* arrondis demandés */
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    min-height: 120px;
    transition: all 0.3s ease;
}

.tt3-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

/* Zones nommées pour chaque carte */
.tt3-card:nth-child(2) { grid-area: card1; }
.tt3-card:nth-child(3) { grid-area: card2; }
.tt3-card:nth-child(4) { grid-area: card3; }
.tt3-card:nth-child(5) { grid-area: card4; }
.tt3-card:nth-child(6) { grid-area: card5; }
.tt3-card:nth-child(7) { grid-area: card6; }
.tt3-card:nth-child(8) { grid-area: card7; }



/* TT3 - liste de points, texte lisible, sans puces */
.tt3-list {
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    font-size: 16px;
}

.tt3-list li { 
    margin: 4px 0; 
    line-height: 1.4;
}

.tt3-card-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
}

.tt3-card-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
}

.tt3-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tt3-card-title {
    margin: 0;
    font-family: 'Anton', Impact, sans-serif;
    font-size: 24px;
    letter-spacing: 0.05em;
}

.tt3-card-sub {
    margin-left: auto;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    font-size: 20px;
    color: rgba(0,0,0,0.8);
}

.tt3-card-text {
    margin: 8px 0 0 0;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    font-size: 20px;
}

/* TT3 responsive */
@media (max-width: 1200px) {
    .tt3-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-areas: 
            "image1 card1"
            "card2 card3"
            "card4 card5"
            "card6 card7"
            "image2 image2";
    }
}

@media (max-width: 800px) {
    .tt3-grid {
        grid-template-columns: 1fr;
        grid-template-areas: 
            "image1"
            "card1"
            "card2"
            "card3"
            "card4"
            "card5"
            "card6"
            "card7"
            "image2";
    }
    .tt3-title { font-size: 40px; }
}

/* SECTION TT4 - mêmes styles que TT3, fond gris clair */
.tt4-section {
    background-color: var(--tt4-background);
    color: var(--tt4-text);
}

.tt4-wrapper {
    width: 100%;
    box-sizing: border-box;
    padding: 48px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.tt4-title {
    margin: 0 0 24px 0;
    font-family: 'Anton', Impact, sans-serif;
    font-size: 50px;
    line-height: 1.2;
    text-align: center;
    letter-spacing: 0.05em;
}

.tt4-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.tt4-card {
    background: var(--tt4-card-bg);
    color: var(--tt4-card-text);
    border-radius: 12px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 180px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tt4-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.tt4-card-icon {
    width: 80px;
    height: 80px;
    flex: 0 0 80px;
}

.tt4-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: linear-gradient(135deg, rgba(18,50,42,0.15), rgba(18,50,42,0.08));
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 4px 12px rgba(18,50,42,0.15);
    transition: all 0.3s ease;
}

.tt4-card:hover .tt4-card-icon img {
    transform: scale(1.08);
    background: linear-gradient(135deg, rgba(18,50,42,0.25), rgba(18,50,42,0.15));
    box-shadow: 0 6px 20px rgba(18,50,42,0.25);
}

.tt4-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.tt4-card-title {
    margin: 0;
    font-family: 'Anton', Impact, sans-serif;
    font-size: 30px;
    letter-spacing: 0.05em;
}

.tt4-card-sub {
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    font-size: 16px;
    color: rgba(0,0,0,0.7);
    font-weight: 500;
    margin: 0 0 12px 0;
    padding: 8px 12px;
    background: rgba(18,50,42,0.05);
    border-left: 3px solid rgba(18,50,42,0.3);
    border-radius: 0 6px 6px 0;
}

.tt4-card-text {
    margin: 0;
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 1.5;
    color: rgba(0,0,0,0.8);
    padding: 12px 16px;
    background: rgba(18,50,42,0.02);
    border-radius: 8px;
    border: 1px solid rgba(18,50,42,0.1);
}

@media (max-width: 680px) {
    .tt4-grid { 
        grid-template-columns: 1fr; 
        max-width: 500px;
    }
    .tt4-card {
        padding: 20px;
    }
}
