:root {
    --navy: #139a44;
    --navy-dark: #0c4b23;
    --navy-light: #3ed675;
    --accent: #c8703c;
    --ink: #1c1f2a;
    --grey: #5b6172;
    --bg-alt: #f3f7f4;
    --border: #dfe6e1;
    --max-width: 1140px;
    --shadow-sm: 0 2px 8px rgba(12, 31, 77, 0.06);
    --shadow-md: 0 12px 32px rgba(12, 31, 77, 0.1);
    --shadow-lg: 0 24px 60px rgba(12, 31, 77, 0.16);
    --radius: 16px;
    --font-heading: "Poppins", "Segoe UI", Arial, sans-serif;
    --font-body: "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    line-height: 1.65;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--navy); }

h1, h2, h3 { font-family: var(--font-heading); line-height: 1.2; margin: 0 0 .5em; color: var(--navy-dark); font-weight: 700; }
p { margin: 0 0 1em; color: var(--grey); }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Header - superpose en transparence sur le hero, plein une fois le scroll passe */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow-sm);
    transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }
.site-header__inner {
    max-width: var(--max-width);
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.site-header__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.site-header__logo img { height: 52px; width: auto; display: block; }

.site-nav { display: flex; align-items: center; }
.site-nav a {
    position: relative;
    margin-left: 30px;
    text-decoration: none;
    color: var(--ink);
    font-weight: 600;
    font-size: .93rem;
    padding: 6px 0;
    transition: color .2s ease;
}
.site-nav a::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 2px;
    background: linear-gradient(90deg, var(--navy), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}
.site-nav a:hover, .site-nav a.is-active { color: var(--navy); }
.site-nav a:hover::after, .site-nav a.is-active::after { transform: scaleX(1); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--navy-dark); border-radius: 2px; transition: transform .25s ease, opacity .25s ease, background .25s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Compensation de la hauteur du header fixe */
main { padding-top: 84px; }

/* Bandeau de titre de page (equivalent compact du hero sur les pages interieures) */
.block-page-header {
    background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 100%);
    padding: 64px 24px;
    text-align: center;
}
.page-header__inner { max-width: 720px; margin: 0 auto; }
.page-header__inner .block-hero__eyebrow { justify-content: center; margin-bottom: 18px; }
.page-header__inner h1 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.5rem); margin-bottom: .3em; }
.page-header__inner p:not(.block-hero__eyebrow) { color: rgba(255, 255, 255, 0.9); margin: 0 auto; max-width: 60ch; }

/* Buttons */
.btn {
    display: inline-block;
    background: var(--navy);
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: .92rem;
    text-decoration: none;
    transition: background .2s ease, transform .2s ease;
}
.btn:hover { background: var(--navy-dark); transform: translateY(-1px); }

/* Blocks - shared */
.block { padding: 84px 24px; position: relative; overflow: hidden; }

/* Hero - deux colonnes, texte a gauche / image a droite (type Avoltis) */
.block-hero {
    background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 100%);
    max-width: none;
    padding: 56px 24px 88px;
}
.block-hero__grid-bg { display: none; }
.block-hero > * { position: relative; z-index: 1; }
.block-hero__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    width: 100%;
}
.block-hero__inner--centered { grid-template-columns: 1fr; max-width: 640px; }
.block-hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accent);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin: 0 0 22px;
}
.block-hero__eyebrow::before { content: ''; display: block; width: 22px; height: 2px; background: var(--accent); }
.block-hero h1 { color: #fff; font-size: clamp(2rem, 3.6vw, 2.85rem); letter-spacing: -.01em; margin-bottom: .45em; }
.block-hero__subheading { font-size: 1.08rem; color: #fff; font-weight: 600; margin-bottom: 16px; }
.block-hero p:not(.block-hero__subheading) { color: rgba(255, 255, 255, 0.9); max-width: 48ch; }
.block-hero__actions { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 28px; }
.block-hero .btn--light { background: #fff; color: var(--navy-dark); padding: 15px 30px; }
.block-hero .btn--light:hover { background: var(--accent); color: #fff; }
.btn--outline { background: transparent; border: 1px solid rgba(255, 255, 255, 0.4); color: #fff; }
.btn--outline:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }
.block-hero__trustline { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 26px; font-size: .84rem; color: rgba(255, 255, 255, 0.9); }
.block-hero__trustline span { white-space: nowrap; }
.block-hero__media img { width: 100%; border-radius: 14px; display: block; box-shadow: var(--shadow-lg); }
.block-hero__media { position: relative; }

@media (max-width: 900px) {
    .block-hero { padding: 40px 20px 56px; }
    .block-hero__inner { grid-template-columns: 1fr; }
    .block-hero__media { order: -1; }
}

/* Text block */
.block-text { background: var(--bg-alt); }
.block-text__inner { max-width: 760px; margin: 0 auto; text-align: center; }
.block-text h2 { font-size: 2rem; }
.block-text h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--navy), var(--accent));
    border-radius: 4px;
    margin: 14px auto 0;
}

/* Text + image */
.block-text-image__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.block-text-image img {
    max-width: 100%;
    max-height: 520px;
    width: auto;
    height: auto;
    border-radius: 5%;
    display: inline-block;
    box-shadow: var(--shadow-md);
}
.block-text-image__placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--bg-alt), var(--border));
}
.block-text-image h2 { font-size: 1.9rem; }
.block-text-image__media { text-align: center; }
.block-text-image__btn { margin-top: 20px; }

/* Stats */
.block-stats { background: #fff; padding-top: 64px; padding-bottom: 64px; }
.block-stats h2 { color: var(--navy-dark); text-align: center; margin-bottom: 40px; font-size: 1.5rem; }
.block-stats__grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0;
    text-align: center;
}
.block-stats__item {
    padding: 8px 24px;
    border-left: 1px solid var(--border);
}
.block-stats__item:first-child { border-left: none; }
.block-stats__icon { display: none; }
.block-stats__value { display: block; font-size: 2.1rem; font-weight: 800; font-family: var(--font-heading); color: var(--navy); }
.block-stats__label { display: block; font-size: .82rem; color: var(--grey); margin-top: 6px; }

@media (max-width: 780px) {
    .block-stats__item { border-left: none; border-top: 1px solid var(--border); padding: 20px 12px; }
    .block-stats__item:first-child { border-top: none; }
}

/* Cards */
.block-cards h2 { text-align: center; margin-bottom: 12px; font-size: 1.9rem; }
.block-cards > h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--navy), var(--accent));
    border-radius: 4px;
    margin: 14px auto 40px;
}
.block-cards__grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}
@media (max-width: 600px) {
    .block-cards__grid { grid-template-columns: 1fr; }
}
.block-cards__item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.block-cards__item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--navy-light);
}
.block-cards__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    background: linear-gradient(135deg, var(--bg-alt), #e3ede5);
    border-radius: 12px;
    margin-bottom: 14px;
}
.block-cards__item h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--navy); }
.block-cards__item p { margin: 0; font-size: .92rem; }

/* Feature list (grille de services) */
.block-feature-list { background: #fff; }
.feature-list__inner { max-width: var(--max-width); margin: 0 auto; }
.feature-list__inner > h2 {
    font-size: 1.9rem;
    margin-bottom: 40px;
    max-width: 640px;
}
.feature-list__rows {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 36px;
}
.feature-list__row { padding-top: 20px; border-top: 2px solid var(--navy-dark); }
.feature-list__number {
    display: block;
    font-family: var(--font-heading);
    font-size: .82rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: .06em;
    margin-bottom: 10px;
}
.feature-list__body h3 { font-size: 1.12rem; margin-bottom: 8px; color: var(--navy-dark); }
.feature-list__body p { margin: 0; font-size: .93rem; }

@media (max-width: 900px) {
    .feature-list__rows { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .feature-list__rows { grid-template-columns: 1fr; }
}

/* Steps (etapes du projet) */
.block-steps { background: var(--bg-alt); }
.steps__inner { max-width: var(--max-width); margin: 0 auto; }
.steps__inner > h2 { text-align: center; font-size: 1.9rem; margin-bottom: 8px; }
.steps__intro { text-align: center; max-width: 560px; margin: 0 auto 48px; }
.steps__intro:empty { display: none; }
.steps__row {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}
.steps__row::before {
    content: '';
    position: absolute;
    top: 23px;
    left: 6%;
    right: 6%;
    height: 2px;
    background: var(--border);
    z-index: 0;
}
.steps__item { position: relative; z-index: 1; text-align: center; padding: 0 8px; }
.steps__circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.05rem;
}
.steps__item h3 { font-size: 1rem; margin-bottom: 6px; color: var(--navy-dark); }
.steps__item p { font-size: .87rem; margin: 0; }

@media (max-width: 900px) {
    .steps__row { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
    .steps__row::before { display: none; }
}
@media (max-width: 560px) {
    .steps__row { grid-template-columns: 1fr; }
}

/* Projects (realisations) */
.block-projects { background: #fff; }
.projects__inner { max-width: var(--max-width); margin: 0 auto; }
.projects__inner > h2 { text-align: center; font-size: 1.9rem; margin-bottom: 8px; }
.projects__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}
.project-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
    background: var(--bg-alt);
    overflow: hidden;
}
.project-card__media {
    margin: -26px -26px 18px;
    aspect-ratio: 16 / 10;
}
.project-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.project-card__tag {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--navy);
    background: #e3e9f9;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 14px;
}
.project-card h3 { font-size: 1.08rem; margin-bottom: 8px; color: var(--navy-dark); }
.project-card p { font-size: .9rem; margin: 0 0 12px; }
.project-card__value { display: block; font-family: var(--font-heading); font-weight: 800; color: var(--navy); font-size: 1.1rem; }
.projects__more { text-align: center; margin-top: 36px; }
.link-arrow-dark { color: var(--navy); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--navy-light); padding-bottom: 3px; }
.link-arrow-dark:hover { color: var(--navy-dark); border-color: var(--navy-dark); }

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

/* FAQ */
.block-faq { background: var(--bg-alt); }
.faq__inner { max-width: 780px; margin: 0 auto; }
.faq__inner > h2 { text-align: center; font-size: 1.9rem; margin-bottom: 8px; }
.faq__list { margin-top: 32px; }
.faq__item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 18px 22px;
    margin-bottom: 12px;
}
.faq__item summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--navy-dark);
    list-style: none;
    position: relative;
    padding-right: 28px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: -2px;
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--navy);
    transition: transform .2s ease;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { margin: 14px 0 0; }

/* CTA */
.block-cta {
    text-align: center;
    background: var(--navy-dark);
    color: #fff;
    border-radius: 20px;
    max-width: calc(var(--max-width) + 48px);
    margin: 64px auto;
}
.block-cta__inner { max-width: 640px; margin: 0 auto; }
.block-cta h2 { color: #fff; font-size: 2rem; }
.block-cta p { color: rgba(255, 255, 255, 0.9); }
.block-cta .btn { background: #fff; color: var(--navy-dark); margin-top: 8px; }
.block-cta .btn:hover { background: var(--accent); color: #fff; }

.site-footer {
    padding: 48px 24px 24px;
    color: #fff;
    font-size: .85rem;
    background: var(--navy-dark);
}
.site-footer__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 24px;
}
.site-footer__col strong { color: #fff; font-family: var(--font-heading); font-size: 1.1rem; }
.site-footer__col p { margin: 6px 0; color: #fff; }
.site-footer__links a { color: #fff; text-decoration: none; font-weight: 600; }
.site-footer__links a:hover { color: var(--accent); }
.site-footer__copy { text-align: center; max-width: var(--max-width); margin: 0 auto; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.12); color: #fff; }

/* Contact page */
.block-contact { max-width: var(--max-width); margin: 0 auto; }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}
.contact-info { background: var(--bg-alt); border-radius: var(--radius); padding: 32px; border: 1px solid var(--border); }
.contact-info p { margin: 0 0 16px; color: var(--ink); }
.contact-map { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); margin-top: 8px; box-shadow: var(--shadow-sm); }
.contact-map__link {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    background: #fff;
    color: var(--navy);
    font-weight: 600;
    font-size: .88rem;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
}
.contact-map__link:hover { background: var(--bg-alt); }
.contact-write {
    background: #fff;
    padding: 40px 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.contact-write h2 { margin-bottom: 12px; }
.contact-write p { max-width: 46ch; margin: 0 0 26px; }
.contact-write__btn { font-size: 1.05rem; padding: 16px 32px; }

@media (max-width: 900px) {
    .block-hero__inner, .block-text-image__inner { grid-template-columns: 1fr; }
    .block-hero__media { order: -1; }
    .contact-grid { grid-template-columns: 1fr; }
    .block-hero h1 { font-size: 2.1rem; }
}

@media (max-width: 780px) {
    .nav-toggle { display: flex; }
    .site-nav {
        position: absolute;
        top: calc(100% + 8px);
        right: 24px;
        left: 24px;
        background: #fff;
        border-radius: 16px;
        box-shadow: var(--shadow-lg);
        flex-direction: column;
        align-items: flex-start;
        padding: 12px;
        gap: 4px;
        display: none;
    }
    .site-nav.is-open { display: flex; }
    .site-nav a { margin: 0; padding: 12px 14px; width: 100%; }
    .site-nav a::after { display: none; }
    .block { padding: 56px 20px; }
}

/* Admin (unchanged look, kept separate from public site styling above) */
body.admin { background: var(--bg-alt); font-family: var(--font-body); }
.admin-bar {
    background: var(--navy-dark);
    color: #fff;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.admin-bar a { color: #fff; text-decoration: none; font-size: .9rem; }
.admin-page-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 0 24px;
}
.admin-page-tabs a {
    padding: 12px 16px;
    text-decoration: none;
    color: var(--grey);
    font-size: .88rem;
    font-weight: 600;
    border-bottom: 2px solid transparent;
}
.admin-page-tabs a.is-active { color: var(--navy); border-bottom-color: var(--navy); }
.admin-wrap { max-width: 780px; margin: 40px auto; padding: 0 24px; }
.admin-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 24px;
}
.admin-card h3 { margin-top: 0; text-transform: uppercase; font-size: .8rem; letter-spacing: .06em; color: var(--grey); font-family: var(--font-body); }
.admin-field { margin-bottom: 14px; }
.admin-field label { display: block; font-weight: 600; font-size: .85rem; margin-bottom: 4px; }
.admin-field input[type=text], .admin-field input[type=email], .admin-field input[type=tel], .admin-field input[type=password], .admin-field textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: inherit;
    font-size: .95rem;
}
.admin-field textarea { min-height: 100px; resize: vertical; }
.admin-field img.current-image { max-width: 200px; display: block; margin-bottom: 8px; border-radius: 6px; }
.login-box {
    max-width: 360px;
    margin: 80px auto;
    background: #fff;
    padding: 32px;
    border-radius: 10px;
    border: 1px solid var(--border);
}
.flash-error { background: #fdeaea; color: #a12727; padding: 10px 14px; border-radius: 6px; margin-bottom: 16px; font-size: .9rem; }
.flash-success { background: #e7f6ec; color: #1e7a3d; padding: 10px 14px; border-radius: 6px; margin-bottom: 16px; font-size: .9rem; }

.admin-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.admin-card__header h3 { margin: 0; }
.admin-card__controls { display: flex; gap: 6px; }
.btn-icon {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 6px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: .9rem;
    color: var(--navy-dark);
}
.btn-icon:hover { background: var(--border); }
.btn-icon:disabled { opacity: .35; cursor: not-allowed; }
.btn-icon-danger { color: #a12727; }

.add-block-zone {
    display: flex;
    justify-content: center;
    margin: 10px 0;
}
.add-block-form {
    display: flex;
    gap: 8px;
    align-items: center;
    background: #fff;
    border: 1px dashed var(--border);
    border-radius: 8px;
    padding: 8px 10px;
}
.add-block-form select {
    padding: 6px 8px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: .85rem;
}
.btn-small { padding: 6px 12px; font-size: .82rem; border-radius: 6px; }

/* Bandeau cookies */
.cookie-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 200;
    background: var(--navy-dark);
    color: #fff;
    border-radius: 12px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    box-shadow: var(--shadow-lg);
    max-width: 900px;
    margin: 0 auto;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; color: rgba(255, 255, 255, 0.9); font-size: .88rem; flex: 1 1 400px; }
.cookie-banner a { color: #fff; text-decoration: underline; }
.cookie-banner .btn-small { flex: 0 0 auto; background: #fff; color: var(--navy-dark); }
.cookie-banner .btn-small:hover { background: var(--accent); color: #fff; }

@media (max-width: 600px) {
    .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 16px; }
}

/* Carrousel photos (gallery) */
.block-gallery { background: var(--bg-alt); }
.gallery__inner { max-width: var(--max-width); margin: 0 auto; }
.gallery__inner > h2 { text-align: center; font-size: 1.9rem; margin-bottom: 8px; }
.gallery {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
}
.gallery__track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 24px;
    flex: 1;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-radius: var(--radius);
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.gallery__slide img { width: 100%; height: 420px; object-fit: cover; display: block; }
.gallery__caption { margin: 0; padding: 16px 20px; font-size: .92rem; color: var(--grey); text-align: center; }
.gallery__arrow {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--navy-dark);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}
.gallery__arrow:hover { background: var(--navy); color: #fff; }
.gallery__dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.gallery__dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: none;
    background: var(--border);
    cursor: pointer;
    padding: 0;
    transition: background .2s ease, transform .2s ease;
}
.gallery__dot.is-active { background: var(--navy); transform: scale(1.2); }

@media (min-width: 700px) {
    .gallery__slide { flex-basis: calc(50% - 12px); }
}
@media (max-width: 600px) {
    .gallery__arrow { display: none; }
    .gallery__slide img { height: 260px; }
}

/* Bandeau logos clients / partenaires */
.block-logos { background: #fff; }
.logos__inner { max-width: var(--max-width); margin: 0 auto; }
.logos__inner > h2 { text-align: center; font-size: 1.5rem; margin-bottom: 36px; color: var(--grey); font-weight: 600; }
.logos__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px 56px;
}
.logos__item { flex: 0 0 auto; }
.logos__item img {
    max-height: 56px;
    max-width: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: .6;
    transition: filter .25s ease, opacity .25s ease;
}
.logos__item img:hover { filter: grayscale(0%); opacity: 1; }

@media (max-width: 600px) {
    .logos__row { gap: 28px 32px; }
    .logos__item img { max-height: 42px; max-width: 120px; }
}
