body {
    font-family: 'Poppins', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f5f5f5;
}
header {
    background: rgba(34, 34, 34, 0.92);
    color: #fff;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(6px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 40px;
    height: 100px;
    box-sizing: border-box;
    position: relative;
}

.header-container .site-logo {
    position: relative;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.header-container .site-logo img {
    max-height: 180px;
    width: auto;
    display: block;
    object-fit: contain;
    background: transparent;
    margin: 0;
    padding: 0;
}

.site-nav {
    margin-left: auto;
    position: relative;
    z-index: 40;
    display: flex;
    align-items: center;
}

.site-nav.is-open {
    display: flex;
}

.nav-toggle {
    display: none;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 14px;
    border-radius: 999px;
    cursor: pointer;
    transition: border-color 150ms ease, color 150ms ease, background 150ms ease;
}

.nav-toggle:hover,
.nav-toggle:focus {
    color: #bfa77a;
    border-color: rgba(191, 167, 122, 0.8);
    background: rgba(255, 255, 255, 0.05);
}

.nav-toggle-icon {
    width: 22px;
    height: 2px;
    background: currentColor;
    position: relative;
    display: inline-block;
    transition: transform 200ms ease, background 200ms ease;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    background: currentColor;
    transition: transform 200ms ease, opacity 200ms ease;
}

.nav-toggle-icon::before { transform: translateY(-6px); }
.nav-toggle-icon::after { transform: translateY(6px); }

.nav-toggle[aria-expanded="true"] .nav-toggle-icon {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
    transform: rotate(-45deg);
}
@media (max-width:900px){
    .header-container .site-logo img { max-height: 140px; }
}
@media (max-width:480px){
    .header-container .site-logo img { max-height: 100px; top:46%; }
}
@media (max-width: 780px) {
    .header-container {
        flex-wrap: wrap;
        gap: 12px;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(34, 34, 34, 0.96);
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 12px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
    }

    .site-nav ul {
        flex-direction: column;
        gap: 0;
        margin: 0;
    }

    .site-nav li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .site-nav li:last-child {
        border-bottom: none;
    }

    .site-nav a {
        display: block;
        padding: 14px 24px;
        font-size: 1rem;
        font-weight: 500;
    }

    .site-nav.is-open {
        display: flex;
    }
}
.site-title {
    display: flex;
    align-items: center;         /* Centre verticalement le texte du titre */
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 2px;
    color: #fff;
    margin: 0;
    vertical-align: middle;
    height: 100%;                /* Prend toute la hauteur de la bannière */
}
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    gap: 30px;
}
nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    padding: 10px 16px;
    transition: transform 0.2s, color 0.2s; /* Ajoute la transition pour l'effet */
}
nav a:hover,
nav a:focus {
    /* Supprime le surlignage et underline */
    background: none;
    text-decoration: none;
    color: #ffb400; /* Optionnel : change la couleur au survol */
    transform: scale(1.05); /* Effet grandissant */
}
.header-container nav a {
    color: inherit;
    text-decoration: none;
    padding: 8px 10px;
    display: inline-block;
    transition: color 150ms ease, transform 150ms ease;
}
.header-container nav a:hover,
.header-container nav a:focus {
    color: #bfa77a;           /* couleur accent (bannière beige) */
    transform: translateY(-3px);
    text-decoration: none;
}

.hero-slider {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 520px;
    padding-bottom: 16px;
}

.hero-slider-viewport {
    overflow: hidden;
    width: 100%;
}

.hero-slider-track {
    display: flex;
    transform: translateX(0);
    transition: transform 360ms ease;
}

.hero-slide {
    flex: 0 0 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 6px;
    box-sizing: border-box;
}

.hero-slider-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    color: #222;
    cursor: pointer;
    font-size: 1.4rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 150ms ease, box-shadow 150ms ease;
}

.hero-slider-nav:hover,
.hero-slider-nav:focus {
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.hero-slider-dots {
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.hero-slider-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 150ms ease;
}

.hero-slider-dots button.is-active {
    background: #222;
}

.hero-slider-nav--prev { order: 0; }
.hero-slider-viewport { order: 1; }
.hero-slider-nav--next { order: 2; }
.hero-slider-dots { order: 3; }

@media (max-width: 900px) {
    .hero-slider {
        max-width: 100%;
        gap: 10px;
    }
    .hero-slider-nav {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }
    .hero-slider-dots {
        bottom: -16px;
    }
}

@media (max-width: 600px) {
    .hero-slider {
        gap: 6px;
    }
    .hero-slider-nav {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
}
main {
    padding: 0;         /* Supprime le padding */
    max-width: none;    /* Permet à la photo de prendre toute la largeur */
    margin: 0;
}
.hero {
    background: #e0e0e0;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}
.presentation {
    margin-top: 40px;
}
footer {
    position: relative;
    z-index: 10; /* Place le footer au-dessus des autres éléments */
    background: #222;
    color: #fff;
    text-align: center;
    padding: 24px 0;
    font-size: 1rem;
}
.gallery {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}
form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
    margin: 0 auto;
}
input, textarea, button {
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
}
button {
    background: #222;
    color: #fff;
    border: none;
    cursor: pointer;
}
button:hover {
    background: #444;
}
.banniere-photo-full {
    width: 100vw;
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}
.photo-full {
    width: 100vw;
    height: clamp(320px, 75vh, 680px);
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0;
    padding: 0;
}
.texte-centre-principal {
    width: 100%;
    max-width: 620px;      /* Réduit encore la largeur maximale du texte */
    margin: 80px auto 80px auto;   /* Réduit l'espace au-dessus et ajoute en dessous */
    text-align: left;
    padding: 0 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;     /* Centre verticalement si besoin */
    min-height: 80px;           /* Ajuste la hauteur si tu veux plus d'espace */
}

.hero-intro {
    width: 100%;
    max-width: 1100px;
    margin: 48px auto 36px auto;
    padding: 0 4vw;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 48px;
}

.hero-intro-heading {
    flex: 0 0 260px;
    max-width: 260px;
}

@media (max-width: 780px) {
    .photo-full {
        height: clamp(220px, 58vh, 420px);
    }

    .texte-centre-principal {
        margin: 40px auto 32px auto;
        padding: 0 6vw;
        align-items: center;
        text-align: center;
    }

    .texte-centre-principal p {
        text-align: center;
    }

    .hero-intro {
        gap: clamp(12px, 5vw, 20px);
        padding: 0 4vw;
    }

    .hero-intro-heading {
        width: 100%;
        text-align: center;
    }

    .hero-intro-heading h2 {
        text-align: center;
    }

    .hero-intro-content {
        align-items: center;
        text-align: center;
    }
}

.hero-intro-heading h2 {
    margin: 0;
    text-align: left;
}

.hero-intro-content {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-intro p {
    margin: 0;
}

@media (max-width: 820px) {
    .hero-intro {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
    }

    .hero-intro-heading {
        max-width: none;
        flex: none;
    }
}

.texte-centre-principal h2 {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 2rem;
    font-weight: bold;
    color: #222;
    margin-bottom: 18px;
    letter-spacing: 1px;
}
.texte-centre-principal p {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 1.2rem;
    color: #444;
    line-height: 1.6;
    font-weight: 500;
    text-align: left;
}
/* Centrage du texte et des images dans la bannière beige de la page d'accueil */
.banniere-couleur-full {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    min-height: clamp(420px, 70vh, 760px);
    background: #bfa77a;
    margin: 0;
    padding: clamp(40px, 6vw, 80px) 6vw;
    overflow: hidden;
    flex-direction: row; /* Assure la disposition côte à côte */
    gap: clamp(18px, 4vw, 48px);
}


.hero-slider-section {
    height: auto;
    min-height: 0;
    align-items: center;
    justify-content: center;
    gap: clamp(8px, 1.5vw, 18px);
    padding: 20px 4vw 20px;
}

.banniere-couleur-full.hero-slider-section {
    height: auto;
    min-height: 0;
    padding: 32px 6vw 32px;
}

.hero-slider-section .texte-haut-banniere {
    max-width: 400px;
    padding-right: 0;
    justify-content: flex-start;
}

.hero-slider-section .hero-slider {
    margin-top: 0;
    padding-left: 0;
}

@media (max-width: 780px) {
    .banniere-couleur-full {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        min-height: 0;
        padding: clamp(32px, 8vw, 48px) 6vw;
        gap: clamp(16px, 6vw, 32px);
    }

    .banniere-blanche-full {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        min-height: 0;
        padding: clamp(24px, 7vw, 40px) 6vw;
        gap: clamp(12px, 5vw, 24px);
    }

    .hero-slider-section {
        align-items: flex-start;
        gap: clamp(12px, 6vw, 24px);
    }

    .hero-slider-section .texte-haut-banniere {
        max-width: none;
        width: 100%;
        text-align: center;
        align-items: center;
        padding-right: 0;
        gap: clamp(10px, 5vw, 20px);
    }

    .hero-slider-section .hero-slider {
        width: 100%;
    }
}

.texture-granit-droite {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: auto;
    max-width: 40vw; /* Ajuste la largeur maximale selon le rendu souhaité */
    object-fit: cover;
    display: none;
}

.texte-haut-banniere {
    position: static;
    max-width: 520px;
    text-align: right;
    color: #222;
    padding-left: 0;
    padding-right: 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    height: auto;
}

.texte-haut-banniere h2 {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 2.1rem;
    font-weight: bold;
    margin-bottom: 14px;
    margin-top: 0;
    letter-spacing: 1px;
    text-align: right;
}
.texte-haut-banniere p {
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 1.15rem;
    font-weight: 500;
    margin: 0;
    line-height: 1.6;
    text-align: right;
}

/* Centrage parfait des cadres dans les deux bannières (beige et blanche) */
.banniere-couleur-full,
.banniere-blanche-full {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    min-height: clamp(320px, 60vh, 640px);
    margin: 0;
    padding: clamp(32px, 6vw, 64px) 6vw;
    overflow: hidden;
}

.cadres-photos-banniere,
.cadres-photos-banniere.services {
    position: static;
    display: flex;
    gap: 80px;
    z-index: 1;
    align-items: center;
    justify-content: center;
}

.cadre-photo {
    width: 420px;      /* Encore plus grand */
    height: 420px;     /* Encore plus grand */
    background: #fff;
    border-radius: 0;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cadre-photo-avec-titre {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cadre-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.titre-cadre-photo {
    text-align: center;
    width: 100%;
    margin-top: 36px;   /* Augmente l'espace entre la photo et le titre */
    margin-bottom: 0;
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    color: #222;
    letter-spacing: 1px;
}

.banniere-blanche-full {
    display: flex;
    align-items: center;    /* Centre verticalement */
    justify-content: center;/* Centre horizontalement */
    position: relative;
    width: 100vw;
    height: 800px;
    background: #fff;
    margin: 0;
    padding: 0;
    overflow: hidden;
    left: 50%;
    margin-left: -50vw;
    display: block;
}

.banniere-blanche-full.home-qualities {
    height: auto;
    min-height: 0;
    padding: 0;
}

/* Descend légèrement les cadres dans la bannière blanche pour un centrage visuel */
.banniere-blanche-full .cadres-photos-banniere {
    transform: translateY(38%); /* ajuste cette valeur si tu veux descendre/monter davantage */
}

.banniere-noire-full {
    width: 100vw;
    height: 800px;
    background: #111;
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    display: block;
}

.banniere-blanche-textes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 6vw 24px;
    box-sizing: border-box;
    align-items: start;
}

.banniere-blanche-texte {
    position: static !important;
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: none !important;
    max-width: none;
    box-sizing: border-box;
    transform: none !important;
    transition: none !important;
    text-align: left;
}

/* Désactive les pseudo-éléments (trombone / coin) */
.banniere-blanche-texte::before,
.banniere-blanche-texte::after {
    display: none !important;
    content: none !important;
}

/* Annule les rotations spécifiques */
.banniere-blanche-texte.gauche,
.banniere-blanche-texte.centre,
.banniere-blanche-texte.droite {
    transform: none !important;
}

/* Désactive l'effet hover ajouté pour les post-it */
.banniere-blanche-texte:hover {
    transform: none !important;
    box-shadow: none !important;
    z-index: auto !important;
}

/* Ajustements mineurs pour garantir l'apparence uniforme */
.banniere-blanche-texte h3 {
    margin: 0 0 12px 0;
    font-size: 1.7rem;
    color: #111;
}
.banniere-blanche-texte p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #333;
}

@media (max-width: 900px) {
    .banniere-blanche-textes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 36px;
    }
}

@media (max-width: 600px) {
    .banniere-blanche-textes {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

.apropos-intro {
    width: 100%;
    padding: clamp(48px, 7vw, 100px) 5vw;
    background: linear-gradient(135deg, #f6f2e9 0%, #ffffff 60%);
    box-sizing: border-box;
}

.apropos-intro-wrapper {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

.apropos-intro-image {
    position: relative;
}

.apropos-intro-image::after {
    content: "";
    position: absolute;
    inset: 18px 18px -18px -18px;
    border-radius: 24px;
    background: rgba(191, 167, 122, 0.12);
    z-index: 0;
}

.apropos-intro-image img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.18);
}

.apropos-intro-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(12px, 2vw, 20px);
    color: #222;
}

.apropos-intro-eyebrow {
    display: inline-block;
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #bfa77a;
    font-weight: 600;
}

.apropos-intro-text h1 {
    margin: 0;
    font-size: clamp(2rem, 3.4vw, 2.8rem);
    line-height: 1.1;
    font-weight: 700;
}

.apropos-intro-text p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #3a3a3a;
}

.apropos-intro-highlight {
    margin-top: clamp(10px, 1.8vw, 20px);
    padding: 22px 26px;
    background: #ffffff;
    border-left: 4px solid #bfa77a;
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
}

.apropos-intro-highlight p {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.7;
    color: #2b2b2b;
}

.apropos-values {
    padding: clamp(44px, 7vw, 96px) 5vw;
    background: #222;
    color: #fff;
    box-sizing: border-box;
}

.apropos-values-wrapper {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: clamp(28px, 4vw, 48px);
}

.apropos-values-intro h2 {
    margin: 0 0 18px 0;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
}

.apropos-values-intro p {
    margin: 0;
    max-width: 660px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
}

.apropos-values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 36px);
}

.apropos-value-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 26px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
}

.apropos-value-card h3 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 600;
    color: #fff;
}

.apropos-value-card p {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.85);
}
/* Répartition et centrage des 4 cadres dans la bannière blanche */
.banniere-blanche-full .cadres-photos-banniere {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4vw;
    box-sizing: border-box;
    display: flex;
    align-items: center;       /* centre verticalement les cadres dans la bannière */
    justify-content: space-between; /* répartit les 4 cadres sur la largeur */
    gap: 40px;
    position: relative;
}

.banniere-blanche-full .cadre-photo-avec-titre {
    flex: 0 1 calc((100% - 3 * 40px) / 4); /* 4 colonnes prenant en compte les gaps */
    max-width: 320px; /* limite la largeur de chaque colonne */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.banniere-blanche-full .cadre-photo {
    width: 100%;
    height: 360px; /* hauteur des cadres, ajuste si nécessaire */
    max-width: 100%;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Titres dessous, espacement cohérent */
.banniere-blanche-full .titre-cadre-photo {
    margin-top: 24px;
}

/* Agrandir les cadres uniquement pour les groupes .services (bannière beige + blanche) */
.cadres-photos-banniere.services {
    gap: 96px; /* plus d'espace entre les cadres */
}

.cadres-photos-banniere.services .cadre-photo-avec-titre {
    flex: 0 1 420px;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cadres-photos-banniere.services .cadre-photo {
    width: min(100%, 420px);
    height: auto;
    border-radius: 18px;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(12px, 2vw, 18px);
    box-sizing: border-box;
    background: #ffffff;
}

.cadres-photos-banniere.services .cadre-photo img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 12px;
}

.cadres-photos-banniere.services--compact {
    gap: clamp(20px, 4vw, 48px);
    padding: 0 clamp(20px, 4vw, 48px);
}

.cadres-photos-banniere.services--compact .cadre-photo-avec-titre {
    flex: 0 1 360px;
    max-width: 360px;
}

.cadres-photos-banniere.services--compact .cadre-photo {
    padding: clamp(10px, 1.6vw, 16px);
}

/* Responsive : adapte les nouvelles tailles */
@media (max-width: 1200px) {
    .cadres-photos-banniere.services {
        gap: 48px;
    }
    .cadres-photos-banniere.services .cadre-photo-avec-titre {
        flex: 0 1 300px;
        max-width: 300px;
    }
    .cadres-photos-banniere.services .cadre-photo {
        width: 100%;
    }
    .cadres-photos-banniere.services--compact {
        gap: clamp(18px, 4vw, 32px);
        padding: 0 clamp(18px, 4vw, 32px);
    }
    .cadres-photos-banniere.services--compact .cadre-photo-avec-titre {
        flex: 0 1 260px;
        max-width: 260px;
    }
}

@media (max-width: 1024px) {
    .banniere-photo-full,
    .banniere-couleur-full,
    .banniere-blanche-full,
    .banniere-noire-full {
        width: 100%;
        left: 0;
        right: auto;
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 820px) {
    .header-container {
        padding: 20px 5vw;
    }
}

@media (max-width: 700px) {
    .cadres-photos-banniere.services {
        flex-direction: column;
        gap: 28px;
        padding: 0 6vw;
    }
    .cadres-photos-banniere.services .cadre-photo-avec-titre {
        flex: 0 0 100%;
        max-width: 90%;
        margin: 0 auto;
    }
    .cadres-photos-banniere.services .cadre-photo {
        width: 100%;
    }
    .cadres-photos-banniere.services--compact {
        padding: 0 4vw;
        gap: 24px;
    }
    .cadres-photos-banniere.services--compact .cadre-photo-avec-titre {
        max-width: 100%;
    }
}

/* Responsive : 2 colonnes sous 1100px, 1 colonne sous 700px */
@media (max-width: 1100px) {
    .banniere-blanche-full .cadres-photos-banniere {
        gap: 24px;
    }
    .banniere-blanche-full .cadre-photo-avec-titre {
        flex: 0 1 calc((100% - 24px) / 2);
        max-width: 48%;
    }
    .banniere-blanche-full .cadre-photo {
        height: 280px;
    }
}

@media (max-width: 700px) {
    .banniere-blanche-full .cadres-photos-banniere {
        flex-direction: column;
        align-items: center;
        padding: 0 6vw;
    }
    .banniere-blanche-full .cadre-photo-avec-titre {
        flex: 0 0 100%;
        max-width: 90%;
        margin-bottom: 20px;
    }
    .banniere-blanche-full .cadre-photo {
        height: 220px;
    }
}

/* Responsive design pour toutes les bannières, cadres et textes */
@media (max-width: 1600px) {
    .cadre-photo {
        width: 320px;
        height: 320px;
    }
    .banniere-blanche-texte,
    .texte-haut-banniere {
        max-width: 320px;
    }
}

@media (max-width: 1200px) {
    .cadre-photo {
        width: 220px;
        height: 220px;
    }
    .banniere-blanche-texte,
    .texte-haut-banniere {
        max-width: 220px;
    }
    .banniere-blanche-textes {
        gap: 40px;
        padding-left: 20px;
    }
    .cadres-photos-banniere,
    .cadres-photos-banniere.services {
        gap: 32px;
    }
}

@media (max-width: 900px) {
    .banniere-couleur-full,
    .banniere-blanche-full {
        flex-direction: column;
        height: auto;
        min-height: 600px;
        padding: 40px 0;
    }
    .cadres-photos-banniere,
    .cadres-photos-banniere.services {
        flex-direction: column;
        align-items: center;
        gap: 32px;
        width: 100%;
    }
    .texte-haut-banniere,
    .banniere-blanche-texte {
        padding-right: 0;
        margin-bottom: 32px;
        align-items: center;
        text-align: center;
        max-width: 90vw;
    }
    .banniere-blanche-textes {
        flex-direction: column;
        align-items: center;
        gap: 32px;
        padding-left: 0;
    }
}

@media (max-width: 600px) {
    .header-container {
        flex-direction: column;
        height: auto;
        padding: 20px 10px;
    }
    .site-title {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    nav ul {
        gap: 10px;
    }
    nav a {
        font-size: 1rem;
        padding: 6px 10px;
    }
    .cadre-photo {
        width: 120px;
        height: 120px;
    }
    .titre-cadre-photo,
    .banniere-blanche-texte h3,
    .texte-haut-banniere h2 {
        font-size: 1rem;
    }
    .texte-centre-principal,
    .banniere-blanche-texte,
    .texte-haut-banniere {
        max-width: 98vw;
        padding: 0 4vw;
    }
    .banniere-couleur-full,
    .banniere-blanche-full {
        min-height: 400px;
        padding: 20px 0;
    }
}

@media (max-width: 1024px) {
    .apropos-intro-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        gap: clamp(24px, 6vw, 48px);
    }
    .apropos-intro-text {
        align-items: center;
    }
    .apropos-intro-highlight {
        text-align: left;
        width: 100%;
    }
    .apropos-values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .apropos-intro {
        padding: clamp(36px, 10vw, 60px) 6vw;
    }
    .apropos-values {
        padding: clamp(36px, 11vw, 60px) 6vw;
    }
    .apropos-intro-image::after {
        inset: 12px;
    }
    .apropos-values-grid {
        grid-template-columns: 1fr;
    }
    .apropos-value-card {
        padding: 24px 22px;
    }
    .apropos-intro-text h1,
    .apropos-values-intro h2 {
        text-align: center;
    }
}

@media (max-width: 520px) {
    .apropos-intro-image::after {
        inset: 8px;
    }
    .apropos-intro-highlight {
        padding: 18px 20px;
    }
}

/* Responsive : annule le décalage sur petits écrans pour éviter chevauchement */
@media (max-width: 900px) {
    .banniere-blanche-full .cadres-photos-banniere {
        transform: none;
        margin-top: 18px;
    }
}

/* global responsive helpers */
html { box-sizing: border-box; font-size: 16px; }
*, *::before, *::after { box-sizing: inherit; }

img, picture, video, iframe { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 4vw; }

/* préférer min-height / padding plutôt que height fixe pour les bannières */
.banniere-couleur-full { height: auto; min-height: 40vh; padding: 6vh 4vw; }

/* typographie responsive */
h1, h2, h3 { line-height: 1.15; }
h1 { font-size: clamp(1.4rem, 4vw, 3.5rem); }
p { font-size: clamp(0.95rem, 1.8vw, 1.05rem); }

/* media queries */
@media (max-width: 900px) {
  .header-container { padding: 10px 3vw; }
  .header-container .site-logo img { max-height: 120px; }
  .banniere-couleur-full { padding: 4vh 3vw; min-height: 30vh; }
}
@media (max-width: 480px) {
  .header-container .site-logo img { max-height: 88px; }
  .banniere-couleur-full { padding: 6vw 4vw; min-height: 28vh; }
}
