/* =========================================================
   DMS Aquitaine — feuille de style commune
   Basée sur la maquette d'accueil v6
   ========================================================= */
:root {
    --teal-deep: #0d4a5c;
    --teal: #1d7a6e;
    --teal-light: #4fa896;
    --navy: #163a52;
    --cream: #faf7f1;
    --cream-alt: #f3ede0;
    --cream-card: #ffffff;
    --green-btn: #1d6b4f;
    --green-btn-dark: #14513a;
    --text-dark: #1c2b30;
    --text-grey: #5d6b6e;
    --border-soft: #e3ddce;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.65;
    background: var(--cream);
}

h1, h2, h3, h4 {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: 800;
    color: var(--text-dark);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

.eyebrow {
    font-size: 12px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--teal);
    font-weight: 700;
}

.lead {
    font-size: 16px;
    color: var(--text-grey);
    max-width: 760px;
}

/* ---------- HEADER ---------- */
/* Fond : blanc derrière le logo, puis dégradé vers le bleu marine, avec vague en bas */
header {
    --logo-h: 78px;
    --logo-w: calc(var(--logo-h) * 2.43);
    --pad: 32px;
    --wave-h: 34px;
    --white-end: calc(max(0px, (100vw - 1200px) / 2) + var(--pad) + var(--logo-w) + 28px);
    /* v2-4 : dégradé du blanc vers le bleu marine (bleu gauche du bandeau v2-3) */
    --fade: 380px;                 /* longueur du dégradé blanc -> bleu */
    --green-light: #4a7894;
    --green-mid: #24506b;
    --green-dark: #163a52;
    --green-deep: #163a52;
    --wave-stroke: #0b2438;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-bg {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: calc(100% + var(--wave-h));
    z-index: 0;
    pointer-events: none;
    background:
        /* voile blanc qui s'efface progressivement (courbe adoucie) */
        linear-gradient(90deg, #fff 0, #fff var(--white-end),
            rgba(255,255,255,0.9) calc(var(--white-end) + var(--fade) * 0.12),
            rgba(255,255,255,0.72) calc(var(--white-end) + var(--fade) * 0.28),
            rgba(255,255,255,0.5) calc(var(--white-end) + var(--fade) * 0.45),
            rgba(255,255,255,0.28) calc(var(--white-end) + var(--fade) * 0.62),
            rgba(255,255,255,0.12) calc(var(--white-end) + var(--fade) * 0.8),
            rgba(255,255,255,0) calc(var(--white-end) + var(--fade))),
        /* bleu clair -> bleu marine */
        linear-gradient(90deg, var(--green-light) var(--white-end), var(--green-mid) calc(var(--white-end) + var(--fade) * 0.7), var(--green-dark) calc(var(--white-end) + var(--fade) * 1.1), var(--green-deep) 100%);
    box-shadow: none;
    -webkit-mask-image: linear-gradient(#000, #000), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0,0 H1200 V30 Q900,0 600,30 Q300,60 0,30 Z'/%3E%3C/svg%3E");
    mask-image: linear-gradient(#000, #000), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath d='M0,0 H1200 V30 Q900,0 600,30 Q300,60 0,30 Z'/%3E%3C/svg%3E");
    -webkit-mask-size: 100% calc(100% - var(--wave-h) + 1px), 100% var(--wave-h);
    mask-size: 100% calc(100% - var(--wave-h) + 1px), 100% var(--wave-h);
    -webkit-mask-position: top, bottom;
    mask-position: top, bottom;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

/* Bordure le long de la vague */
.header-wave-line {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: var(--wave-h);
    z-index: 1;
    pointer-events: none;
}

.header-wave-line svg { display: block; width: 100%; height: 100%; overflow: visible; }

.header-wave-line path {
    fill: none;
    stroke: var(--wave-stroke);
    stroke-width: 4px;
}

.header-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 10px var(--pad);
    max-width: 1200px;
    margin: 0 auto;
}

.logo-wrap {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-wrap img {
    height: var(--logo-h);
    width: auto;
    margin: -6px 0 calc(var(--logo-h) * -0.26);   /* le logo déborde dans la vague sans agrandir le bandeau */
    transition: height 0.25s ease, margin 0.25s ease;
}

/* Bandeau compact après défilement */
header.scrolled { --logo-h: 58px; }

nav ul {
    list-style: none;
    display: flex;
    gap: 28px;
    font-size: 14px;
    font-weight: 600;
}

nav a {
    color: #fff;
    padding: 8px 0;
    opacity: 0.88;
    transition: opacity 0.2s ease;
    white-space: nowrap;
}

nav a:hover { opacity: 1; text-decoration: underline; }

nav a.active {
    opacity: 1;
    border-bottom: 2px solid #fff;
}

nav ul { align-items: center; }

/* v2-4 : menu calé à droite pour laisser le dégradé se faire */
.header-inner > nav { margin-left: auto; }
nav > ul > li > a:not(.nav-cta) { text-shadow: 0 1px 6px rgba(8, 28, 44, 0.45); }

/* Sous-menu Prestations */
.has-sub { position: relative; }
.caret { font-size: 10px; margin-left: 2px; }

.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: -18px;
    min-width: 290px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 14px 34px rgba(22,58,82,0.18);
    padding: 8px 0;
    flex-direction: column;
    gap: 0;
    margin-top: 10px;
}

.sub-menu::before {   /* zone tampon pour garder le survol */
    content: "";
    position: absolute;
    top: -12px; left: 0; right: 0;
    height: 12px;
}

.has-sub:hover .sub-menu,
.has-sub:focus-within .sub-menu { display: flex; }

.sub-menu a {
    display: block;
    color: var(--text-dark);
    opacity: 1;
    padding: 10px 20px;
    font-weight: 600;
}

.sub-menu a:hover, .sub-menu a.active {
    background: var(--cream);
    color: var(--teal);
    text-decoration: none;
}

/* Onglet « Demande de devis / intervention » mis en avant */
nav a.nav-cta {
    background: #fff;
    color: var(--green-dark);
    opacity: 1;
    padding: 11px 20px;
    border-radius: 24px;
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
    transition: background 0.2s ease, color 0.2s ease;
}

nav a.nav-cta:hover { background: var(--green-btn); color: #fff; text-decoration: none; }
nav a.nav-cta.active { background: var(--green-btn); color: #fff; border-bottom: none; }

.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.7);
    font-size: 14px;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 24px;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.header-phone:hover { background: rgba(255,255,255,0.15); }

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: #fff;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- HERO (accueil) ---------- */
.hero {
    padding: 64px 0 90px;
    background: var(--cream);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.hero h1 {
    font-size: 42px;
    line-height: 1.2;
    margin: 14px 0 24px;
}

.hero-text p {
    font-size: 16px;
    color: var(--text-grey);
    margin-bottom: 28px;
    max-width: 520px;
}

.quote-card {
    background: var(--cream-card);
    border-radius: 18px;
    padding: 28px 30px;
    box-shadow: 0 12px 30px rgba(22,58,82,0.08);
    margin-bottom: 30px;
    font-size: 17px;
    font-weight: 600;
    color: var(--teal-deep);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn-solid, .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    padding: 15px 30px;
    border-radius: 30px;
    transition: background 0.25s ease, color 0.25s ease;
    cursor: pointer;
    font-family: inherit;
}

.btn-solid {
    background: var(--green-btn);
    color: #fff;
    border: 1.5px solid var(--green-btn);
}

.btn-solid:hover { background: var(--green-btn-dark); }

.btn-outline {
    background: transparent;
    color: var(--green-btn);
    border: 1.5px solid var(--green-btn);
}

.btn-outline:hover { background: var(--green-btn); color: #fff; }

.btn-solid svg, .btn-outline svg { flex-shrink: 0; }

.hero-image {
    background: var(--cream-card);
    border-radius: 22px;
    box-shadow: 0 16px 40px rgba(22,58,82,0.1);
    overflow: hidden;
    aspect-ratio: 4/3;
    align-self: center;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero { padding-top: 90px; }

/* ---------- DIAPORAMA PLEIN ÉCRAN (accueil) ---------- */
.hero-slider {
    position: relative;
    min-height: calc(100vh - 82px);
    min-height: calc(100svh - 82px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(120deg, var(--navy) 0%, var(--teal-deep) 60%, var(--teal) 100%);
    color: #fff;
}

.slides { position: absolute; inset: 0; }

.slide {
    position: absolute;
    inset: -2%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.2);
    transition: opacity 1.1s ease;
    will-change: transform, opacity;
}

.slide.active { opacity: 1; }

/* Zoom + panoramique, avec un mouvement différent pour chaque photo */
.slide:nth-child(3n+1).active { animation: kb-in-left 5.5s ease-out forwards; }
.slide:nth-child(3n+2).active { animation: kb-out-right 5.5s ease-out forwards; }
.slide:nth-child(3n+3).active { animation: kb-in-up 5.5s ease-out forwards; }

@keyframes kb-in-left {
    from { transform: scale(1.05) translate(3%, 1%); }
    to   { transform: scale(1.3) translate(-4%, -2%); }
}

@keyframes kb-out-right {
    from { transform: scale(1.32) translate(-4%, 2%); }
    to   { transform: scale(1.06) translate(3%, -1%); }
}

@keyframes kb-in-up {
    from { transform: scale(1.08) translate(-2%, 4%); }
    to   { transform: scale(1.3) translate(2%, -4%); }
}

/* Entrée du texte à l'affichage de la page */
.hero-content > * { animation: rise 0.9s ease-out both; }
.hero-content > :nth-child(2) { animation-delay: 0.12s; }
.hero-content > :nth-child(3) { animation-delay: 0.24s; }
.hero-content > :nth-child(4) { animation-delay: 0.36s; }
.hero-content > :nth-child(5) { animation-delay: 0.48s; }

@keyframes rise {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: none; }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(12,32,46,0.88) 0%, rgba(12,32,46,0.62) 48%, rgba(12,32,46,0.18) 100%),
        linear-gradient(0deg, rgba(12,32,46,0.45) 0%, rgba(12,32,46,0) 35%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 110px;
    padding-bottom: 130px;
}

.hero-content .eyebrow { color: #8fd8c8; }

.hero-content h1 {
    color: #fff;
    font-size: 52px;
    line-height: 1.12;
    max-width: 760px;
    margin: 16px 0 22px;
    text-shadow: 0 2px 18px rgba(0,0,0,0.25);
}

.hero-content p {
    font-size: 18px;
    color: rgba(255,255,255,0.88);
    max-width: 580px;
    margin-bottom: 26px;
}

.quote-glass {
    display: inline-block;
    max-width: 560px;
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    padding: 16px 22px;
    margin-bottom: 32px;
    background: rgba(255,255,255,0.1);
    border-left: 3px solid var(--teal-light);
    border-radius: 0 12px 12px 0;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.btn-light {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    padding: 15px 30px;
    border-radius: 30px;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.85);
    transition: background 0.25s ease, color 0.25s ease;
}

.btn-light:hover { background: #fff; color: var(--navy); }

.hero-content .btn-solid { border-color: var(--green-btn); }

.slider-ui {
    position: absolute;
    z-index: 3;
    left: 0;
    right: 0;
    bottom: 34px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 28px;
}

.slide-caption { order: 2;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.slide-caption a { color: rgba(255,255,255,0.85); }
.slide-caption a:hover { color: #fff; text-decoration: underline; }

.slider-nav { display: flex; align-items: center; gap: 14px; order: 1; }
.slider-dots { display: flex; gap: 10px; }

.slider-arrow {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.08);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.slider-arrow:hover { background: #fff; color: var(--navy); }
.slider-arrow.next:hover { transform: translateX(2px); }
.slider-arrow.prev:hover { transform: translateX(-2px); }
.slider-arrow:focus-visible, .dot-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.dot-btn {
    width: 34px;
    height: 4px;
    border: none;
    border-radius: 2px;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.dot-btn.active::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #fff;
    transform-origin: left;
    animation: dotfill var(--slide-delay, 6s) linear forwards;
}

.hero-slider.paused .dot-btn.active::after { animation-play-state: paused; }

@keyframes dotfill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.scroll-down {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bob 2.4s ease-in-out infinite;
}

.scroll-down:hover { background: rgba(255,255,255,0.15); }

@keyframes bob {
    0%, 100% { transform: translate(-50%, 0); }
    50%      { transform: translate(-50%, 6px); }
}

@media (prefers-reduced-motion: reduce) {
    .slide, .slide.active { animation: none !important; transform: none; transition: opacity 0.3s; }
    .hero-content > * { animation: none; }
    .scroll-down { animation: none; }
    .dot-btn.active::after { animation: none; transform: none; }
}

/* ---------- EN-TÊTE DES PAGES INTÉRIEURES ---------- */
.page-hero {
    padding: 56px 0 64px;
    background: var(--cream);
}

.breadcrumb {
    font-size: 13px;
    color: var(--text-grey);
    margin-bottom: 18px;
}

.breadcrumb a { color: var(--teal); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }

.page-hero h1 {
    font-size: 38px;
    line-height: 1.2;
    margin: 12px 0 20px;
}

.page-hero .hero-text p { margin-bottom: 16px; }
.page-hero .hero-buttons { margin-top: 26px; }

/* ---------- SECTIONS + FONDS ALTERNÉS ---------- */
.section { padding: 70px 0; }
.bg-white { background: var(--cream-card); }
.bg-alt { background: var(--cream-alt); }

.section-title {
    font-size: 28px;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 18px;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 56px;
    height: 3px;
    background: var(--teal);
    border-radius: 2px;
}

.section-intro {
    margin-top: 4px;
    font-size: 15px;
    color: var(--text-grey);
    max-width: 760px;
    margin-bottom: 48px;
}

/* ---------- CARTES DOMAINES / INTERVENTIONS ---------- */
.interventions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 20px;
}

.intervention-card {
    display: block;
    background: var(--cream-card);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(22,58,82,0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.intervention-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(22,58,82,0.12);
}

.intervention-img {
    aspect-ratio: 16/10;
    background: #dde6ea;
}

.intervention-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.intervention-body { padding: 20px 24px 26px; }

.intervention-loc {
    font-size: 12px;
    font-weight: 700;
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.intervention-body h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.intervention-body p {
    font-size: 14px;
    color: var(--text-grey);
}

.card-link {
    display: inline-block;
    margin-top: 14px;
    font-size: 13px;
    font-weight: 700;
    color: var(--green-btn);
}

.intervention-card:hover .card-link { text-decoration: underline; }

/* ---------- CARROUSEL DES INTERVENTIONS (accueil) ---------- */
.interventions-carousel { margin-top: 20px; }
.interventions-track {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 6px 0 26px;
    scrollbar-width: none;
}
.interventions-track::-webkit-scrollbar { display: none; }
.interventions-track:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; border-radius: 16px; }
.interventions-slide {
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    scroll-snap-align: start;
}
.carousel-nav { display: flex; justify-content: center; gap: 14px; margin-top: 4px; }
.carousel-arrow {
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--green-btn);
    background: transparent;
    color: var(--green-btn);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.carousel-arrow:hover:not(:disabled) { background: var(--green-btn); color: #fff; }
.carousel-arrow:disabled { opacity: 0.35; cursor: default; }
.interventions-carousel.no-scroll .carousel-nav { display: none; }
.carousel-arrow:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
@media (max-width: 700px) {
    .interventions-slide { grid-template-columns: 1fr; } /* téléphone : les 3 cartes de la vue l'une sous l'autre */
}
@media (prefers-reduced-motion: reduce) {
    .interventions-track { scroll-behavior: auto; }
}

/* ---------- ATOUTS ---------- */
.atouts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.atout {
    background: var(--cream-card);
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 8px 24px rgba(22,58,82,0.07);
}

.atout-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--cream-alt);
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.atout h3 { font-size: 16px; margin-bottom: 8px; }
.atout p { font-size: 14px; color: var(--text-grey); }

/* ---------- BLOCS TEXTE / IMAGE ---------- */
.dual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.info-card {
    background: var(--cream-card);
    border-radius: 18px;
    padding: 36px;
    box-shadow: 0 8px 24px rgba(22,58,82,0.07);
}

.info-card h3 { font-size: 22px; margin-bottom: 18px; }

.info-card p {
    font-size: 15px;
    color: var(--text-grey);
    margin-bottom: 14px;
}

.feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.feature.reverse .feature-img { order: 2; }

.feature-img {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(22,58,82,0.09);
    aspect-ratio: 2/1;
    background: #dde6ea;
}

.feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-text h2 {
    font-size: 24px;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 14px;
}

.feature-text h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 44px;
    height: 3px;
    background: var(--teal);
    border-radius: 2px;
}

.feature-text p {
    font-size: 15px;
    color: var(--text-grey);
    margin-bottom: 14px;
}

.feature-text ul {
    list-style: none;
    margin: 6px 0 14px;
}

.feature-text li {
    position: relative;
    padding-left: 22px;
    font-size: 15px;
    color: var(--text-grey);
    margin-bottom: 8px;
}

.feature-text li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--teal);
}

.note {
    background: var(--cream-alt);
    border-left: 3px solid var(--teal);
    border-radius: 0 12px 12px 0;
    padding: 16px 20px;
    font-size: 14px;
    color: var(--text-dark);
}

/* ---------- PRESTATIONS (liste à puces) ---------- */
.prestations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.prestation-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--cream-alt);
    border-radius: 12px;
    padding: 18px 22px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(22,58,82,0.05);
}

.prestation-item .dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--teal);
    flex-shrink: 0;
}

/* ---------- ÉTAPES (Nous contacter) ---------- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 20px;
}

.step {
    background: var(--cream-card);
    border-radius: 16px;
    padding: 30px 28px;
    box-shadow: 0 8px 24px rgba(22,58,82,0.07);
}

.step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--teal);
    color: #fff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.step h3 { font-size: 16px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text-grey); }

.slogan {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: var(--teal-deep);
    margin-top: 48px;
}

.cta-center {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

/* ---------- AVIS GOOGLE ---------- */
.reviews-card {
    background: var(--cream-card);
    border-radius: 18px;
    padding: 40px;
    box-shadow: 0 8px 24px rgba(22,58,82,0.07);
    margin-top: 20px;
}

.reviews-layout {
    display: grid;
    grid-template-columns: 200px 1fr;
    align-items: center;
}

.reviews-summary {
    text-align: center;
    border-right: 1px solid var(--border-soft);
    padding-right: 24px;
}

.reviews-summary .excellent {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.stars {
    color: #fbbc04;
    font-size: 20px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.reviews-summary .based-on {
    font-size: 13px;
    color: var(--text-grey);
    margin-bottom: 14px;
}

.reviews-summary .based-on strong { color: var(--text-dark); }

.google-logo {
    font-size: 24px;
    font-weight: 700;
    font-family: Arial, sans-serif;
}
.google-logo span:nth-child(1) { color: #555; }
.google-logo span:nth-child(2) { color: #777; }
.google-logo span:nth-child(3) { color: #666; }
.google-logo span:nth-child(4) { color: #555; }
.google-logo span:nth-child(5) { color: #888; }
.google-logo span:nth-child(6) { color: #777; }

.reviews-track {
    display: flex;
    overflow-x: auto;
    gap: 24px;
    padding: 0 24px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.reviews-track::-webkit-scrollbar { display: none; }

.review-card { min-width: 280px; scroll-snap-align: start; }

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

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--teal-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.review-name { font-weight: 700; font-size: 14px; }
.review-time { font-size: 12px; color: var(--text-grey); }
.review-stars { color: #fbbc04; font-size: 14px; margin-bottom: 8px; }
.review-text { font-size: 14px; color: var(--text-dark); line-height: 1.6; }

/* ---------- CONTACT ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 36px;
    align-items: start;
}

.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
}

.tab-btn {
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 30px;
    border: 1.5px solid var(--green-btn);
    background: transparent;
    color: var(--green-btn);
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
}

.tab-btn.active, .tab-btn:hover { background: var(--green-btn); color: #fff; }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

.form-card {
    background: var(--cream-card);
    border-radius: 18px;
    padding: 36px;
    box-shadow: 0 8px 24px rgba(22,58,82,0.07);
}

.form-card h2 { font-size: 22px; margin-bottom: 8px; }

.form-card > p {
    font-size: 14px;
    color: var(--text-grey);
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.field { margin-bottom: 16px; position: relative; }

.field label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    font-family: inherit;
    font-size: 15px;
    color: var(--text-dark);
    background: var(--cream);
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    padding: 12px 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input[type="file"] { padding: 10px; background: #fff; }

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(29,122,110,0.15);
}

.field textarea { min-height: 140px; resize: vertical; }

.field-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13px;
    color: var(--text-grey);
    margin: 6px 0 20px;
}

.field-check input { margin-top: 4px; accent-color: var(--teal); }

.required-note {
    font-size: 12px;
    color: var(--text-grey);
    margin-top: 14px;
}

.form-message {
    display: none;
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: 10px;
    background: #e6f3ef;
    color: var(--teal-deep);
    font-size: 14px;
    font-weight: 600;
}

.contact-aside .info-card { margin-bottom: 24px; }

.contact-line {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 15px;
    margin-bottom: 12px;
}

.contact-line svg { color: var(--teal); flex-shrink: 0; }
.contact-line a { font-weight: 700; color: var(--teal-deep); }
.contact-line a:hover { text-decoration: underline; }

.legal-small {
    font-size: 12px;
    color: var(--text-grey);
    margin-top: 24px;
}

.map-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 20px;
}

.map-card {
    background: var(--cream-card);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(22,58,82,0.07);
}

.map-card iframe {
    display: block;
    width: 100%;
    height: 240px;
    border: 0;
}

.map-card .agence-body h3 {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 6px;
}

/* ---------- AGRÉMENTS / PARTENAIRES ---------- */
.logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 18px;
}

.logo-tile {
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream-card);
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    padding: 18px 22px;
    transition: box-shadow 0.25s ease;
}

.logo-tile:hover { box-shadow: 0 8px 24px rgba(22,58,82,0.08); }

.logo-tile img {
    max-height: 64px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: filter 0.25s ease, opacity 0.25s ease;
}

.logo-tile:hover img { filter: none; opacity: 1; }

.logo-name { display: none; font-size: 20px; font-weight: 800; letter-spacing: 1px; color: var(--teal-deep); }
.logo-tile.no-logo img { display: none; }
.logo-tile.no-logo .logo-name { display: block; }

.assureur-note { margin-top: 26px; font-size: 15px; }
.assureur-note a { color: var(--green-btn); font-weight: 700; white-space: nowrap; }
.assureur-note a:hover { text-decoration: underline; }

/* ---------- PROFILS CLIENTS ---------- */
.profils-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
}

.profils-grid .profil { flex: 0 1 calc((100% - 6 * 18px) / 7); }

.profil {
    background: var(--cream-card);
    border-radius: 16px;
    padding: 26px 16px 22px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(22,58,82,0.07);
    transition: transform 0.25s ease;
}

.profil:hover { transform: translateY(-3px); }

.profil-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: var(--cream-alt);
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
}

.profil h3 { font-size: 16px; margin-bottom: 4px; }
.profil p { font-size: 13px; color: var(--text-grey); line-height: 1.45; }

/* ---------- FLUX D'INTERVENTIONS ---------- */
.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.section-head .btn-outline { padding: 11px 22px; margin-bottom: 16px; }

.intervention-img { position: relative; }

.badge-exemple {
    position: absolute;
    top: 12px; left: 12px;
    background: #fff3cd;
    color: #7a5b00;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 1;
}

.intervention-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    font-size: 13px;
    color: var(--text-grey);
}

.intervention-meta .card-link { margin-top: 0; }

.article { max-width: 820px; }
.article-img { margin-bottom: 30px; aspect-ratio: 16/10; } /* même cadrage que les cartes de l'accueil */
.article p { font-size: 16px; color: var(--text-grey); margin-bottom: 16px; }
.article .article-lead { font-size: 18px; color: var(--text-dark); font-weight: 600; }

/* ---------- QUESTIONNAIRE DE DEVIS ---------- */
.form-step {
    border: none;
    border-bottom: 1px solid var(--border-soft);
    padding: 0 0 26px;
    margin: 0 0 26px;
}

.form-step legend {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 18px;
}

.step-num.small {
    width: 30px;
    height: 30px;
    font-size: 14px;
    margin: 0;
    flex-shrink: 0;
}

.choice-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 18px;
}

.choice { cursor: pointer; position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }

.choice span {
    display: block;
    text-align: center;
    padding: 14px 16px;
    border: 1.5px solid var(--border-soft);
    border-radius: 12px;
    background: var(--cream);
    font-size: 14px;
    font-weight: 700;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.choice input:checked + span {
    border-color: var(--green-btn);
    background: #e6f3ef;
    color: var(--green-btn);
}

.choice input:focus-visible + span { box-shadow: 0 0 0 3px rgba(29,122,110,0.25); }

.toggle-check {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin: 4px 0;
}

.toggle-check input { width: 18px; height: 18px; accent-color: var(--teal); }

.reveal {
    display: none;
    margin-top: 16px;
    padding: 20px 20px 4px;
    border-left: 3px solid var(--teal);
    background: var(--cream);
    border-radius: 0 12px 12px 0;
}

.reveal.open { display: block; }
.reveal .field input { background: #fff; }

.reveal-title {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--teal);
    margin: 18px 0 12px;
}

.reveal .reveal-title { margin-top: 0; }

.field-hint { font-size: 13px; color: var(--text-grey); margin-top: -4px; }

.visually-hidden {
    position: absolute !important;
    left: 0; top: 0;
    width: 1px; height: 1px;
    padding: 0; border: 0; margin: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    padding: 28px 20px;
    border: 2px dashed var(--border-soft);
    border-radius: 14px;
    background: var(--cream);
    color: var(--teal);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.field label.dropzone { display: flex; font-size: 14px; font-weight: 400; margin: 0; }
.dropzone strong { color: var(--text-dark); font-size: 15px; }
.dropzone span { font-size: 13px; color: var(--text-grey); }
.dropzone:hover, .dropzone.drag { border-color: var(--teal); background: #eef6f3; }

.photo-previews {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.photo-thumb {
    position: relative;
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    background: #dde6ea;
}

.photo-thumb img { width: 100%; height: 100%; object-fit: cover; }

.photo-thumb .no-preview {
    display: flex; align-items: center; justify-content: center;
    height: 100%; padding: 6px;
    font-size: 11px; text-align: center; color: var(--text-grey);
    word-break: break-all;
}

.photo-thumb button {
    position: absolute;
    top: 5px; right: 5px;
    width: 24px; height: 24px;
    border-radius: 50%;
    border: none;
    background: rgba(22,58,82,0.85);
    color: #fff;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
}

.no-preview.is-pdf { flex-direction: column; gap: 6px; background: #fdf1ef; }
.pdf-badge {
    background: #c9372c;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 4px 8px;
    border-radius: 4px;
}
.no-preview .fname { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.upload-error {
    display: none;
    margin-top: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    background: #fdecea;
    color: #9b2c22;
    font-size: 13px;
    font-weight: 600;
}

.photo-count { grid-column: 1 / -1; font-size: 13px; color: var(--text-grey); }

/* ---------- FORMULAIRE NOUS REJOINDRE ---------- */
.join-form { padding: 44px 48px; }
.join-head { max-width: 760px; margin-bottom: 28px; }
.join-head h2 { font-size: 26px; margin-bottom: 10px; }
.join-head p { font-size: 15px; color: var(--text-grey); }

.join-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
}

.join-grid .full { grid-column: 1 / -1; }
.join-grid .field input[type="file"] { padding: 9px 10px; }

.join-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.join-foot .field-check { margin: 0; }

/* ---------- ÉQUIPE ---------- */
.team-group {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--teal);
    margin: 40px 0 18px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 22px;
}

.team-card {
    background: var(--cream-card);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(22,58,82,0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.team-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(22,58,82,0.12); }

.team-photo {
    aspect-ratio: 1;
    background: linear-gradient(140deg, #e3ebe8 0%, #d3e4df 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-photo img { width: 100%; height: 100%; object-fit: cover; }

.team-initials {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: #fff;
    color: var(--teal);
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(22,58,82,0.1);
}

.team-body { padding: 18px 20px 22px; }
.team-body h3 { font-size: 17px; margin-bottom: 4px; }
.team-role { font-size: 13px; font-weight: 700; color: var(--teal); line-height: 1.45; }
.team-bio { font-size: 14px; color: var(--text-grey); margin-top: 10px; }

/* ---------- PAGE TEXTE (mentions légales) ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: 20px; margin: 36px 0 12px; }
.prose p, .prose li { font-size: 15px; color: var(--text-grey); margin-bottom: 10px; }
.prose ul { padding-left: 20px; }
.prose a { color: var(--teal); font-weight: 600; }
.to-fill { background: #fff3cd; padding: 0 4px; border-radius: 3px; color: #7a5b00; }

/* ---------- AGENCES ---------- */
.agences-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.agence-card {
    background: var(--cream-card);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(22,58,82,0.07);
}

.agence-header {
    background: linear-gradient(100deg, var(--teal-deep) 0%, var(--teal-light) 100%);
    color: #fff;
    padding: 18px 24px;
    font-size: 16px;
    font-weight: 700;
}

.agence-body {
    padding: 22px 24px;
    font-size: 14px;
    color: var(--text-grey);
}

.agence-body .tel {
    margin-top: 12px;
    font-weight: 700;
    color: var(--teal-deep);
    font-size: 15px;
}

.agence-body .tel a:hover { text-decoration: underline; }

/* ---------- FOOTER ---------- */
footer .section-title::after { background: var(--teal-light); }

.footer-wave {
    height: 60px;
    background: var(--cream-alt);
    position: relative;
    overflow: hidden;
}

.footer-wave.on-white { background: var(--cream-card); }

.footer-wave svg {
    position: absolute;
    bottom: -1px;
    width: 100%;
    height: 100%;
}

footer {
    background: var(--navy);
    color: #b8cdd6;
    padding: 0 0 28px;
    margin-top: -2px;
}

.footer-agences { padding-top: 50px; }
.footer-agences .agences-grid { margin: 20px 0 40px; }

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 28px 32px;
    max-width: 1200px;
    margin: 0 auto;
    font-size: 13px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-inner a:hover { color: #fff; text-decoration: underline; }

/* ---------- BOUTON FLOTTANT ---------- */
.float-phone {
    position: fixed;
    bottom: 28px;
    right: 28px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--cream-card);
    color: var(--green-btn);
    border: 1.5px solid var(--green-btn);
    border-radius: 30px;
    padding: 14px 22px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(22,58,82,0.18);
    z-index: 200;
    transition: background 0.25s ease, color 0.25s ease;
}

.float-phone:hover { background: var(--green-btn); color: #fff; }

/* ---------- RESPONSIVE ---------- */
@media screen and (max-width: 1180px) {
    header { --fade: 260px; }
    nav ul { gap: 20px; font-size: 13px; }
    nav a.nav-cta { padding: 10px 16px; }
    .header-phone { padding: 9px 14px; font-size: 13px; }
    .profils-grid .profil { flex-basis: calc((100% - 3 * 18px) / 4); }
}

@media screen and (max-width: 1080px) and (min-width: 981px) {
    .header-phone { display: none; }
}

@media screen and (max-width: 980px) {
    .menu-toggle { display: flex; }
    .header-phone { display: none; }

    header { --logo-h: 60px; --pad: 32px; --fade: 200px; }
    header.scrolled { --logo-h: 50px; }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 3;
        background: var(--green-deep);
        box-shadow: 0 12px 24px rgba(0,0,0,0.15);
    }

    .menu-open nav { display: block; }

    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 8px 32px 20px;
        font-size: 15px;
    }

    nav ul { align-items: stretch; }
    nav li { border-bottom: 1px solid rgba(255,255,255,0.08); }
    nav a { display: block; padding: 14px 0; }
    nav a.active { border-bottom: none; text-decoration: underline; }

    .caret { display: none; }
    .sub-menu,
    .has-sub:hover .sub-menu {
        display: flex;
        position: static;
        background: none;
        box-shadow: none;
        min-width: 0;
        margin: -6px 0 8px;
        padding: 0 0 0 16px;
    }
    .sub-menu::before { display: none; }
    .sub-menu li { border: none; }
    .sub-menu a { color: #cfe0e6; padding: 8px 0; font-size: 14px; font-weight: 500; }
    .sub-menu a:hover, .sub-menu a.active { background: none; color: #fff; }

    nav li.nav-cta-item { border: none; padding-top: 14px; }
    nav a.nav-cta, nav a.nav-cta.active { text-align: center; padding: 14px 20px; text-decoration: none; }
    .choice-row { grid-template-columns: 1fr; }

    .hero-grid { grid-template-columns: 1fr; }
    .hero-image { order: -1; aspect-ratio: 16/9; }

    .interventions-grid,
    .dual-grid,
    .prestations-grid,
    .agences-grid,
    .steps-grid,
    .map-grid,
    .contact-grid { grid-template-columns: 1fr; }

    .atouts-grid { grid-template-columns: 1fr 1fr; }

    .feature { grid-template-columns: 1fr; gap: 28px; }
    .feature.reverse .feature-img { order: 0; }

    .reviews-layout { grid-template-columns: 1fr; gap: 24px; }
    .reviews-summary { border-right: none; border-bottom: 1px solid var(--border-soft); padding: 0 0 24px; }

    .hero h1 { font-size: 32px; }
    .hero-content h1 { font-size: 38px; }
    .hero-overlay { background: linear-gradient(90deg, rgba(12,32,46,0.85) 0%, rgba(12,32,46,0.6) 100%); }
    .page-hero h1 { font-size: 30px; }
}

@media screen and (max-width: 600px) {
    .container, .footer-inner { padding-left: 16px; padding-right: 16px; }
    header { --pad: 16px; --logo-h: 56px; }
    header.scrolled { --logo-h: 48px; }
    nav ul { padding: 8px 16px 20px; }
    .hero { padding: 40px 0 60px; }
    .hero h1 { font-size: 27px; }
    .page-hero { padding: 60px 0 44px; }
    .hero-content { padding-top: 80px; padding-bottom: 110px; }
    .hero-content h1 { font-size: 30px; }
    .hero-content p { font-size: 16px; }
    .quote-glass { font-size: 15px; }
    .btn-light { justify-content: center; }
    .slide-caption, .scroll-down { display: none; }
    .slider-ui { justify-content: center; padding: 0 16px; }
    .page-hero h1 { font-size: 26px; }
    .section { padding: 52px 0; }
    .hero-buttons { flex-direction: column; }
    .btn-solid, .btn-outline { justify-content: center; }
    .atouts-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .team-initials { width: 64px; height: 64px; font-size: 22px; }
    .team-body { padding: 14px 14px 16px; }
    .team-body h3 { font-size: 15px; }
    .profils-grid { gap: 12px; }
    .profils-grid .profil { flex-basis: calc((100% - 12px) / 2); }
    .profil { padding: 20px 12px 18px; }
    .logos-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .logo-tile { height: 90px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .join-grid { grid-template-columns: 1fr; }
    .join-form { padding: 26px 20px; }
    .join-foot .btn-solid { width: 100%; justify-content: center; }
    .form-card, .info-card, .reviews-card { padding: 26px 20px; }
    .tabs { flex-direction: column; }
    .footer-inner { flex-direction: column; text-align: center; }
    .float-phone span.label { display: none; }
    .float-phone { padding: 14px; bottom: 18px; right: 18px; }
}

/* Ancres : compenser le menu fixe et sa vague */
section[id] { scroll-margin-top: 100px; }

/* ---------- PLANS DES AGENCES : filtre gris (27/10/2026) ---------- */
.map-card iframe { filter: grayscale(1); transition: filter 0.4s ease; }
.map-card:hover iframe, .map-card:focus-within iframe { filter: grayscale(0); }
