@font-face {
    font-family: "Hystech";
    src: url("../fonts/HystechTheSans-Regular-PsWcrt0.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Hystech";
    src: url("../fonts/HystechTheSans-Bold-4Taq1JK.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Hystech";
    src: url("../fonts/HystechTheSans-ExtdBlack-8VJsJWC.woff2") format("woff2");
    font-weight: 800 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --color-hys-blue: #0b4f8c;
    --color-hys-blue-dark: #083a68;
    --color-solar-hystech: #29abe3;
    --color-sustainable-green: #2e9f5b;
    --color-text: #1f2937;
    --color-muted: #64748b;
    --font-sans:
        "Hystech", "Lucida Grande", Tahoma, Geneva, Verdana, sans-serif;
    --header-background: #056997;
    --header-height: 66px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 1rem;
    /*line-height: 1.35;*/
    color: var(--color-text);
}

img {
    max-width: 100%;
}

a {
    color: var(--color-hys-blue);
}

h1,
h2,
h3 {
    /*line-height: 1.1;*/
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 0.5rem;
}

.btn {
    display: inline-block;
    padding: 0.9rem 1.75rem;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    text-transform: uppercase;
    font-size: 0.8125rem;
    letter-spacing: 0.04em;
    transition:
        background-color 0.2s,
        color 0.2s,
        border-color 0.2s;
}

.btn-primary {
    background-color: var(--color-hys-blue);
    border-color: var(--color-hys-blue);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--color-hys-blue-dark);
    border-color: var(--color-hys-blue-dark);
}

.btn-outline {
    background-color: transparent;
    border-color: currentColor;
    color: inherit;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

/* Topbar: mirrors the header's background in every state/variant */
.site-topbar {
    color: #e5edf5;
    font-size: 0.9rem;
    transition: background-color 0.25s ease;
}

.site-topbar--solid {
    position: relative;
    z-index: 100;
    background: var(--header-background);
}

.site-topbar--overlay {
    position: relative;
    z-index: 100;
    background: transparent;
}

.site-topbar__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
}

.site-topbar__info {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.site-topbar__tagline {
    font-weight: 600;
    color: #fff;
}

.site-topbar__sep {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.25);
}

.site-topbar__item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

.site-topbar__item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    opacity: 0.85;
}

a.site-topbar__item:hover {
    color: #fff;
}

.site-topbar__brand img {
    display: block;
    height: 28px;
    width: auto;
}

/* Header */
.site-header {
    z-index: 100;
}

.site-header__inner {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 50px;
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    gap: 2rem;
}

.site-header__inner::before,
.site-header__inner::after {
    position: absolute;
    left: 50px;
    right: 50px;
    height: 1px;
}

.site-header__inner::before {
    bottom: 0;
}

.site-header__inner::after {
    top: 0;
}

.site-header__brand img {
    display: block;
}

.site-header__nav {
    display: flex;
    align-items: center;
    gap: 2.75rem;
    flex: 1;
}

.site-header__nav-item {
    display: flex;
    align-items: center;
    height: 100%;
}

.site-header__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: var(--header-height);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    text-transform: none;
    letter-spacing: 0.01em;
    color: inherit;
    opacity: 0.9;
    background: none;
    border: none;
    font-family: inherit;
    cursor: pointer;
    padding: 0 3px;
}

.site-header__link:hover {
    opacity: 1;
}

.site-header__link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: transparent;
    transition: background-color 0.2s ease;
}

.site-header__link:hover::after,
.site-header__link.is-active::after,
.site-header__trigger[aria-expanded="true"]::after {
    background: var(--color-solar-hystech);
}

.site-header__search-wrap {
    position: relative;
    margin-left: auto;
}

.site-header__search {
    display: inline-flex;
    align-items: center;
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 0;
}

.site-header__search svg {
    width: 22px;
    height: 22px;
}

.site-header__cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: inherit;
    margin-left: 1.25rem;
}

.site-header__cart svg {
    width: 22px;
    height: 22px;
}

.site-header__cart-badge {
    position: absolute;
    top: -0.5rem;
    right: -0.6rem;
    min-width: 1.1rem;
    height: 1.1rem;
    padding: 0 0.25rem;
    border-radius: 999px;
    background: var(--color-solar-hystech, #f2a30f);
    color: #0a1f33;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.site-header__toggle {
    display: none;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    padding: 0.5rem;
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
}

.site-header__toggle svg {
    width: 26px;
    height: 26px;
}

/* Solid variant: permanent background, used on every page except the homepage — text/border styles match the homepage */
.site-header--solid {
    position: relative;
    background: var(--header-background);
    color: #fff;
}

.site-header--solid .site-header__inner::before,
.site-header--solid .site-header__inner::after {
    content: "";
    background: rgba(255, 255, 255, 0.25);
}

/* Overlay variant: homepage only — transparent over the shared hero background, blue on hover */
.site-header--overlay {
    position: relative;
    background: transparent;
    color: #fff;
    transition: background-color 0.25s ease;
}

.site-header--overlay .site-header__inner::before,
.site-header--overlay .site-header__inner::after {
    content: "";
    background: rgba(255, 255, 255, 0.25);
}

.site-header-bar:hover .site-topbar--overlay,
.site-header-bar:hover .site-header--overlay {
    background: var(--header-background);
}

/* Mega menu: opaque regardless of header variant (transparent panel over arbitrary content would be unreadable) */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    color: var(--color-text);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s;
    z-index: 90;
}

.mega-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu__title {
    display: block;
    padding: 1.5rem 50px 0;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
}

.mega-menu__title--link {
    color: var(--color-hys-blue);
    text-decoration: underline;
    text-underline-offset: 4px;
    cursor: pointer;
}

.mega-menu__title--link:hover {
    color: var(--color-hys-blue-dark);
}

.mega-menu__body {
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
    padding: 1.5rem 50px 2rem;
    max-height: 70vh;
    overflow-y: auto;
}

.mega-menu__categories {
    position: relative;
    width: 240px;
    flex-shrink: 0;
}

.mega-menu__categories.mega-menu__categories--flat {
    width: 520px;
    column-count: 2;
    column-gap: 2rem;
}

.mega-menu__categories--flat .mega-menu__category {
    break-inside: avoid;
}

.mega-menu__category {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.75rem;
    margin: 0 -0.75rem;
    border-radius: 6px;
    transition: background-color 0.15s ease;
}

.mega-menu__category:hover {
    background-color: #eef1f4;
}

.mega-menu__category-title {
    display: block;
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.875rem;
    cursor: default;
    flex: 1;
}

.mega-menu__category-title--link {
    cursor: pointer;
}

.mega-menu__category-title--link:hover {
    text-decoration: underline;
}

.mega-menu__category-title--link.is-active {
    color: var(--color-hys-blue);
    font-weight: 600;
}

.mega-menu__chevron {
    width: 16px;
    height: 16px;
    color: var(--color-muted);
    flex-shrink: 0;
}

.mega-menu__category-items {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    width: 260px;
    list-style: none;
    padding: 0 0 0 2.5rem;
    margin: 0;
}

.mega-menu__category.has-children:hover .mega-menu__category-items {
    display: block;
}

.mega-menu__category-items li {
    margin-bottom: 0.7rem;
}

.mega-menu__category-items a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.9rem;
}

.mega-menu__category-items a:hover {
    color: var(--color-hys-blue);
    text-decoration: underline;
}

.mega-menu__category-items a.is-active {
    color: var(--color-hys-blue);
    font-weight: 600;
}

.mega-menu__level2-spacer {
    width: 240px;
    flex-shrink: 0;
}

.mega-menu__illustration {
    flex: 1;
    min-width: 25px;
    margin-left: 189px;
    padding-left: 2.5rem;
}

.mega-menu__illustration img {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
    /*rder-radius: 10px;*/
    background: var(--mega-tint, var(--color-solar-hystech));
}

.mega-menu__illustration h3 {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 1.25rem 0 0.6rem;
    color: var(--color-hys-blue);
}

.mega-menu__illustration p {
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--color-text);
    margin: 0 0 1.25rem;
}

.mega-menu__illustration-cta {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.9rem 0rem;
    border-radius: 20px;
    background-color: var(--color-hys-blue);
    color: #fff;
    font-weight: 500;
    font-size: 0.9375rem;
    text-transform: none;
    letter-spacing: normal;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.mega-menu__illustration-cta:hover {
    background-color: var(--color-hys-blue-dark);
}

/* Search popover */
.search-popover {
    position: absolute;
    top: 100%;
    right: 0;
    width: 320px;
    background: var(--header-background);
    color: #fff;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s;
    z-index: 95;
}

.search-popover.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-popover__tabs {
    display: flex;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 1rem;
}

.search-popover__tab {
    background: none;
    border: none;
    color: inherit;
    opacity: 0.7;
    padding: 0.5rem 0;
    cursor: pointer;
    font: inherit;
    border-bottom: 2px solid transparent;
}

.search-popover__tab.is-active {
    opacity: 1;
    border-bottom-color: var(--color-solar-hystech);
}

.search-popover__panel {
    display: none;
}

.search-popover__panel.is-active {
    display: block;
}

.search-popover__form {
    display: flex;
    gap: 0.5rem;
}

.search-popover__form input {
    flex: 1;
    padding: 0.5rem;
    border: none;
    border-radius: 2px;
}

.search-popover__list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 260px;
    overflow-y: auto;
}

.search-popover__list a {
    color: inherit;
    opacity: 0.85;
    text-decoration: none;
    display: block;
    padding: 0.35rem 0;
}

.search-popover__list a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Footer */
.site-footer {
    background: #0a1f33;
    color: #cbd5e1;
    margin-top: 0;
}

.site-footer__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.5rem 50px;
}

.site-footer__brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.site-footer__brand-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.site-footer__logo-link {
    display: block;
    flex-shrink: 0;
}

.site-footer__logo {
    display: block;
    height: 34px;
    width: auto;
}

.site-footer__tagline {
    margin: 0;
    color: #fff;
    font-weight: 700;
    font-size: clamp(1.1rem, 1.4vw + 0.7rem, 1.5rem);
    letter-spacing: -0.02em;
}

.site-footer__divider {
    max-width: 1280px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.site-footer__columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 2.5rem 2rem;
}

.site-footer__column {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.site-footer__column h3 {
    margin: 0 0 0.4rem;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.site-footer__column h3 a {
    color: inherit;
    text-decoration: none;
}

.site-footer__column h3 a:hover {
    text-decoration: underline;
}

.site-footer__column a {
    color: #9db4c9;
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.3;
}

.site-footer__column a:hover {
    color: #fff;
    text-decoration: underline;
}

.site-footer__column a.site-footer__more {
    margin-top: 0.15rem;
    color: var(--color-solar-hystech);
    font-weight: 600;
}

.site-footer__column a.site-footer__more:hover {
    color: #fff;
}

.site-footer__contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.site-footer__contact-block p {
    margin: 0;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.5;
}

.site-footer__contact-icons {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    flex-shrink: 0;
}

.site-footer__contact-icons a {
    display: flex;
    color: #fff;
}

.site-footer__contact-icons svg {
    width: 22px;
    height: 22px;
}

.site-footer__contact-icons a:hover {
    color: var(--color-solar-hystech);
}

.site-footer__copyright {
    margin: 1.25rem 0 0;
    color: #9db4c9;
    font-size: 0.85rem;
    text-align: center;
}

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.5rem;
    margin-top: 1.25rem;
}

.site-footer__legal a {
    color: #9db4c9;
    text-decoration: none;
    font-size: 0.8rem;
}

.site-footer__legal a:hover {
    color: #fff;
    text-decoration: underline;
}

@media (max-width: 640px) {
    .site-footer__inner {
        padding: 2rem 1.25rem;
    }

    .site-footer__brand {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Header group: topbar + main nav, sharing one background with the hero on overlay pages */
.site-header-group--overlay {
    position: relative;
    height: 100vh;
    height: 100svh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: #fff;
    background: #0a1f33;
}

.site-header-bar {
    min-width: 0;
}

.site-header-group__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.site-header-group--overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        0deg,
        rgba(8, 20, 35, 0.85) 0%,
        rgba(8, 20, 35, 0.35) 55%,
        rgba(8, 20, 35, 0.55) 100%
    );
}

.hero-video__content {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    padding-block: clamp(1rem, 4vh, 2rem) clamp(1.5rem, 5vh, 3rem);
    padding-inline: 50px;
    width: 100%;
}

.hero-video__content h1 {
    font-size: clamp(1.75rem, 2.2vw + 2vh, 3.75rem);
    margin: 0 0 1.25rem;
    white-space: pre-line;
}

.hero-video__content .hero__subtitle {
    font-size: clamp(0.9rem, 0.6vw + 1vh, 1.15rem);
    margin: 0 0 1.5rem;
    opacity: 0.92;
    white-space: pre-line;
    line-height: 1.2rem;
}

.hero-video__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-video__scroll-cue {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: #fff;
    opacity: 0.8;
    font-size: 1.5rem;
    animation: hero-scroll-cue 2s ease-in-out infinite;
}

@keyframes hero-scroll-cue {
    0%,
    100% {
        transform: translate(-50%, 0);
    }
    50% {
        transform: translate(-50%, 8px);
    }
}

/* Photo hero with breadcrumb (catalog hub pages, e.g. /services) */
.page-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
}

.page-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(
        0deg,
        rgba(8, 20, 35, 0.88) 0%,
        rgba(8, 20, 35, 0.45) 60%,
        rgba(8, 20, 35, 0.35) 100%
    );
}

.page-hero__breadcrumb {
    position: absolute;
    z-index: 1;
    top: 1.5rem;
    left: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
}

.page-hero__breadcrumb a {
    display: flex;
    color: #fff;
}

.page-hero__breadcrumb svg {
    width: 18px;
    height: 18px;
}

.page-hero__breadcrumb-chevron {
    opacity: 0.6;
}

.page-hero__content {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    padding: clamp(1.5rem, 4vh, 2.5rem) 50px;
}

.page-hero__content h1 {
    font-size: clamp(1.75rem, 2.2vw + 2vh, 3.75rem);
    margin: 0 0 0.75rem;
    max-width: 900px;
}

.page-hero__tagline {
    max-width: 640px;
    font-size: clamp(1.3rem, 0.8vw + 1vh, 1.4rem);
    font-weight: 600;
    margin: 0 0 1rem;
}

.page-hero__content .hero__subtitle {
    max-width: 640px;
    font-size: clamp(1.1rem, 0.6vw + 1vh, 1.15rem);
    margin: 0 0 1.5rem;
    opacity: 0.92;
}

.page-hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 640px) {
    .page-hero {
        min-height: 380px;
    }

    .page-hero__breadcrumb {
        left: 1.25rem;
    }

    .page-hero__content {
        padding: 1.5rem 1.25rem;
    }

    .section--legal,
    .section--article {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}

/* Services page hero */
.page-hero--services {
    min-height: 403px;
}

.page-hero--services.page-hero--split .page-hero__content {
    margin-left: 0;
    margin-right: auto;
}

/* Legal pages hero */
.page-hero--legal {
    min-height: 403px;
}

.page-hero--legal.page-hero--split .page-hero__content {
    margin-left: 0;
    margin-right: auto;
}

/* Expertise page hero */
.page-hero--expertise {
    min-height: 403px;
}

.page-hero--expertise.page-hero--split .page-hero__content {
    margin-left: 0;
    margin-right: auto;
}

/* Secteurs page hero */
.page-hero--secteurs {
    min-height: 403px;
}

.page-hero--secteurs.page-hero--split .page-hero__content {
    margin-left: 0;
    margin-right: auto;
}

/* Réalisations page hero */
.page-hero--realisations {
    min-height: 403px;
}

.page-hero--realisations.page-hero--split .page-hero__content {
    margin-left: 0;
    margin-right: auto;
}

/* A propos page hero */
.page-hero--a-propos {
    min-height: 403px;
}

/* Demander un devis page hero */
.page-hero--devis {
    min-height: 403px;
}

.page-hero--devis.page-hero--split .page-hero__content {
    margin-left: 0;
    margin-right: auto;
}

/* Blog page hero */
.page-hero--blog {
    min-height: 403px;
}

.page-hero--blog.page-hero--split .page-hero__content {
    margin-left: 0;
    margin-right: auto;
}

/* Services level-1 detail pages hero (e.g. /services/hydraulique, /services/forage) */
.page-hero--service-detail {
    min-height: 403px;
}

.page-hero--service-detail.page-hero--split .page-hero__content {
    margin-left: 0;
    margin-right: auto;
}

/* Expertise level-1 detail pages hero (Le fondateur, Centre d'expertise, Guides d'achat) */
.page-hero--expertise-detail {
    min-height: 403px;
}

.page-hero--expertise-detail.page-hero--split .page-hero__content {
    margin-left: 0;
    margin-right: auto;
}

/* Catalogue Produits generic catalog pages hero (e.g. /produits/goutte-a-goutte) */
.page-hero--produits-detail {
    min-height: 403px;
}

.page-hero--produits-detail.page-hero--split .page-hero__content {
    margin-left: 0;
    margin-right: auto;
}

/* Secteurs generic catalog pages hero (e.g. /secteurs/agriculture) */
.page-hero--secteurs-detail {
    min-height: 403px;
}

.page-hero--secteurs-detail.page-hero--split .page-hero__content {
    margin-left: 0;
    margin-right: auto;
}

/* A propos generic catalog pages hero (e.g. /a-propos/qui-sommes-nous) */
.page-hero--a-propos-detail {
    min-height: 403px;
}

.page-hero--a-propos-detail.page-hero--split .page-hero__content {
    margin-left: 0;
    margin-right: auto;
}

/* Blog generic catalog pages hero (e.g. /guides/conseils) */
.page-hero--blog-detail {
    min-height: 403px;
}

.page-hero--blog-detail.page-hero--split .page-hero__content {
    margin-left: 0;
    margin-right: auto;
}

/* Réalisations generic catalog pages hero (e.g. /realisations/agriculture) */
.page-hero--realisations-detail {
    min-height: 403px;
}

.page-hero--realisations-detail.page-hero--split .page-hero__content {
    margin-left: 0;
    margin-right: auto;
}

/* Split hero: photo left, dark gradient panel right (catalog pages, e.g. /produits) */
.page-hero--split {
    min-height: 403px;
    align-items: flex-end;
}

.page-hero--split::after {
    content: "";
    height: 130px;
    inset: 0 0 auto 0;
    background: linear-gradient(
        180deg,
        rgba(6, 12, 20, 0.6) 0%,
        rgba(6, 12, 20, 0) 100%
    );
}

.page-hero--split .page-hero__content {
    margin: 0 0 0 auto;
    width: min(640px, 55%);
    max-width: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    backdrop-filter: blur(48px);
    background-color: #00000047;
    padding: clamp(1rem, 2vw, 1.5rem) clamp(2rem, 4vw, 3.5rem);
}

.page-hero--split .page-hero__content h1 {
    max-width: none;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.page-hero--split .page-hero__content .page-hero__tagline {
    margin-bottom: 0.5rem;
}

.page-hero--split .page-hero__content .hero__subtitle {
    max-width: none;
    margin-bottom: 1rem;
}

@media (max-width: 780px) {
    .page-hero--split .page-hero__content {
        width: 100%;
        /* background: linear-gradient(0deg, rgba(8, 12, 18, 0.96) 0%, rgba(8, 12, 18, 0.8) 100%);*/
    }
}

/* Simple hero (solution pages) */
.hero {
    background: linear-gradient(
        135deg,
        var(--color-hys-blue),
        var(--color-hys-blue-dark)
    );
    color: #fff;
    padding: 4rem 1.5rem;
    text-align: center;
}

.hero--solution {
    padding: 3rem 1.5rem;
}

.hero__inner {
    max-width: 720px;
    margin: 0 auto;
}

.hero__inner h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.hero__subtitle {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

/* Sections & grid */
.section {
    padding: 4.5rem 1.5rem;
}

.section--muted {
    background: #f8fafc;
}

.section__inner {
    max-width: 1280px;
    margin: 0 auto;
}

.section__inner--narrow {
    max-width: 640px;
}

.section--legal,
.section--article {
    padding-left: 50px;
    padding-right: 50px;
}

.section--legal h2,
.section--article h2 {
    font-size: clamp(1.5rem, 1vw + 1.3rem, 2rem);
    line-height: 1.2;
    font-weight: 700;
    color: #11497b;
    text-align: left;
    margin: 2.5rem 0 0.75rem;
}

.section--legal h2:first-child,
.section--article h2:first-child {
    margin-top: 0;
}

.section--legal p,
.section--article p {
    font-size: 1.1rem;
    text-align: left;
    max-width: none;
    margin: 0 0 1.25rem;
    color: #1d1d1d;
    line-height: 1.6;
}

.section--legal ul,
.section--article ul {
    margin: 0 0 1.25rem;
    padding-left: 1.25rem;
    color: #1d1d1d;
    font-size: 1.1rem;
    line-height: 1.6;
}

.section--legal li,
.section--article li {
    margin-bottom: 0.4rem;
}

.section__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-hys-blue);
    margin-bottom: 0.5rem;
    display: block;
}

.section.trust-logos-section {
    padding-left: 50px;
    padding-right: 50px;
    background: #092844;
}

.trust-logos-section .trust-logos__title {
    color: #fff;
}

.trust-logos__title {
    font-size: clamp(2rem, 1.28vw + 1.54rem, 2.5rem);
    line-height: 1.2;
    font-weight: 700;
    color: #11497b;
    text-align: center;
}

.section__lead {
    font-size: 1.2rem;
    text-align: center;
    max-width: 720px;
    margin: 0.75rem auto 0;
    color: #1d1d1d;
}

.trust-logos__viewport {
    overflow: hidden;
    margin-top: 2.5rem;
    mask-image: linear-gradient(
        90deg,
        transparent,
        #000 5%,
        #000 95%,
        transparent
    );
    -webkit-mask-image: linear-gradient(
        90deg,
        transparent,
        #000 5%,
        #000 95%,
        transparent
    );
}

.trust-logos__track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: trust-logos-scroll 32s linear infinite;
}

.trust-logos__viewport:hover .trust-logos__track {
    animation-play-state: paused;
}

.trust-logos__slide {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 90px;
    padding: 0 2rem;
}

.trust-logos__slide img {
    max-width: 100%;
    max-height: 56px;
    width: auto;
    height: auto;
    object-fit: contain;
}

@keyframes trust-logos-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .trust-logos__track {
        animation: none;
    }
}

.trust-logos__tile {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 88px;
    background: #fff;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
}

.trust-logos__placeholder {
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--color-muted);
    opacity: 0.75;
}

.grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

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

.grid--3 {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.grid--4 {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* Problem blocks */
.problem-block {
    padding: 2rem 1.5rem;
    background: #fff;
    text-align: left;
    border-top: 3px solid var(--color-hys-blue);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.problem-block:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.problem-block__icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

/* Service cards */
.service-card {
    display: block;
    padding: 2rem 1.5rem;
    background: #fff;
    text-decoration: none;
    color: var(--color-text);
    border-top: 3px solid var(--color-solar-hystech);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.service-card h3 {
    color: var(--color-hys-blue);
    margin-top: 0;
    font-size: 1.15rem;
}

/* Related links ("À lire également") */
.related-links {
    padding: 3.5rem 50px 4.5rem;
}

.related-links__title-main {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-hys-blue-dark);
    margin: 0 0 1.5rem;
}

.related-links__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1px;
    background: #e5e7eb;
    border: 1px solid #e5e7eb;
}

.related-links__card {
    display: flex;
    align-items: center;
    padding: 1.25rem;
    background: #fff;
    border-top: 1px solid var(--color-solar-hystech);
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.related-links__card:hover {
    background-color: #f5f9fc;
}

.related-links__title {
    color: var(--color-hys-blue);
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Expertise cards (homepage "Nos domaines d'expertise") */
.section.expertise-section {
    padding-left: 50px;
    padding-right: 50px;
}

.section.realisations-section {
    padding-left: 50px;
    padding-right: 50px;
}

.expertise-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.expertise-card__media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #e5e7eb;
}

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

.expertise-card__tag {
    position: absolute;
    left: 0.75rem;
    bottom: 0.75rem;
    padding: 0.4rem 0.85rem;
    background: rgba(10, 31, 51, 0.72);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Product price badge (Catalogue Produits mini e-commerce) — same look as .expertise-card__tag, anchored top-right instead of bottom-left so it never collides with it */
.expertise-card__price {
    position: absolute;
    right: 0.75rem;
    top: 0.75rem;
    padding: 0.4rem 0.85rem;
    background: rgba(10, 31, 51, 0.72);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
}

.expertise-card__tagline {
    margin: 1.25rem 0 0.5rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-hys-blue);
    line-height: 1.3;
}

.expertise-card__tagline a {
    color: inherit;
    text-decoration: none;
}

.expertise-card__tagline a:hover {
    text-decoration: underline;
}

.expertise-card__description {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--color-muted);
}

.expertise-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
    text-decoration: none;
    color: var(--color-hys-blue);
    font-weight: 600;
    font-size: 0.9rem;
}

.expertise-card__cta-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1.5px solid var(--color-hys-blue);
    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.expertise-card__cta:hover .expertise-card__cta-circle {
    background: var(--color-hys-blue);
    color: #fff;
    transform: translateX(3px);
}

/* Process steps (page 'Services' — 'Notre approche') */
.section.process-section {
    background: #092844;
    color: #fff;
    padding-left: 50px;
    padding-right: 50px;
}

.process-section .trust-logos__title {
    color: #fff;
}

.process-section .section__lead {
    color: #c9d6e3;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem 2rem;
    margin-top: 2.5rem;
}

.process-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.process-step:not(:nth-child(3n + 1))::before {
    content: "";
    position: absolute;
    top: 36px;
    right: 100%;
    width: 2rem;
    height: 2px;
    background: rgba(255, 255, 255, 0.25);
}

.process-steps--no-connector .process-step::before {
    content: none;
}

.process-step__icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin-bottom: 1.25rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.process-step__icon svg {
    width: 30px;
    height: 30px;
    color: #fff;
}

.process-step__number {
    position: absolute;
    right: -6px;
    bottom: -6px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--color-solar-hystech);
    color: var(--color-hys-blue-dark);
    font-size: 0.8rem;
    font-weight: 700;
}

.process-step h3 {
    margin: 0 0 0.5rem;
    color: #fff;
    font-size: 1.05rem;
}

.process-step p {
    margin: 0;
    color: #c9d6e3;
    font-size: 0.9rem;
    line-height: 1.55;
}

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

    .process-step:not(:nth-child(3n + 1))::before {
        display: none;
    }
}

@media (max-width: 560px) {
    .process-steps {
        grid-template-columns: 1fr;
    }
}

/* FAQ accordion (native <details>, no JS) */
.faq-list {
    max-width: 800px;
    margin: 2.5rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: #fff;
    border: 1px solid #e5e7eb;
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.5rem;
    color: var(--color-hys-blue);
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    flex-shrink: 0;
    color: var(--color-hys-blue);
    font-size: 1.3rem;
    font-weight: 400;
}

.faq-item[open] summary::after {
    content: "\2212";
}

.faq-item__content {
    margin: 0;
    padding: 0 1.5rem 1.25rem;
    color: var(--color-muted);
    line-height: 1.6;
}

/* Contact page: two-column info + form */
.contact-section {
    padding-left: 50px;
    padding-right: 50px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 3rem;
    align-items: start;
}

.contact-info h2,
.contact-form-card h2 {
    margin-top: 0;
    color: var(--color-hys-blue);
}

.contact-info__list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin: 1.75rem 0 0;
    padding: 0;
    list-style: none;
}

.contact-info__item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-info__icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-hys-blue);
    color: #fff;
    box-shadow: 0 4px 12px rgba(11, 79, 140, 0.25);
}

.contact-info__icon svg {
    width: 20px;
    height: 20px;
}

.contact-info__item a,
.contact-info__text {
    color: var(--color-text);
    font-weight: 600;
    text-decoration: none;
}

.contact-info__item a:hover {
    color: var(--color-hys-blue);
}

.contact-form-card {
    padding: 2.5rem;
    background: #fff;
    border-radius: 18px;
    border-top: 4px solid var(--color-hys-blue);
    box-shadow: 0 20px 45px rgba(9, 40, 68, 0.1);
}

@media (max-width: 860px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

/* Sector tiles (page 'Secteurs' — icon + label, no photo) */
.sector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.sector-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    padding: 1.75rem 1rem;
    text-align: center;
    text-decoration: none;
    color: var(--color-text);
    background: #fff;
    border: 1px solid #e5e7eb;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.sector-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--color-hys-blue);
}

.sector-tile__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(11, 79, 140, 0.08);
    color: var(--color-hys-blue);
}

.sector-tile__icon svg {
    width: 26px;
    height: 26px;
}

.sector-tile__label {
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.3;
}

/* Expertise grid (all cards shown at once, no carousel) */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

@media (max-width: 1100px) {
    .expertise-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

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

.expertise-grid--centered {
    grid-template-columns: repeat(auto-fit, minmax(240px, 280px));
    justify-content: center;
}

/* Expertise slider (single-row, paginated carousel) */
.expertise-slider__track {
    --per-view: 4;
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-top: 2.5rem;
}

.expertise-slider__track::-webkit-scrollbar {
    display: none;
}

@media (max-width: 1100px) {
    .expertise-slider__track {
        --per-view: 3;
    }
}

@media (max-width: 860px) {
    .expertise-slider__track {
        --per-view: 2;
    }
}

@media (max-width: 560px) {
    .expertise-slider__track {
        --per-view: 1;
    }
}

.expertise-slider__slide {
    flex: 0 0 calc((100% - (var(--per-view) - 1) * 1.5rem) / var(--per-view));
    scroll-snap-align: start;
}

.expertise-slider__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.expertise-slider__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--color-hys-blue);
    background: #fff;
    color: var(--color-hys-blue);
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.expertise-slider__arrow:hover:not(:disabled) {
    background: var(--color-hys-blue);
    color: #fff;
}

.expertise-slider__arrow:disabled {
    border-color: #d1d5db;
    background: #f1f5f9;
    color: #d1d5db;
    cursor: default;
}

.expertise-slider__dots {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.expertise-slider__dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 50%;
    border: 1.5px solid var(--color-hys-blue);
    background: transparent;
    cursor: pointer;
}

.expertise-slider__dot.is-active {
    background: var(--color-hys-blue);
}

/* "Pourquoi HYS Consulting Tech" full-bleed photo banner */
.why-hys {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.why-hys__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.why-hys__overlay {
    position: relative;
    z-index: 1;
    max-width: 620px;
    padding: 2.1rem 50px;
    color: #fff;
    background: linear-gradient(
        90deg,
        rgba(9, 40, 68, 0.82) 0%,
        rgba(9, 40, 68, 0.6) 75%,
        rgba(9, 40, 68, 0) 100%
    );
}

.why-hys__eyebrow {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #9db4c9;
}

.why-hys__title {
    color: #fff;
    font-size: clamp(1.75rem, 3vw, 2.75rem);
    line-height: 1.25;
    margin: 0 0 1.5rem;
}

.why-hys__text {
    margin: 0 0 1.25rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #e5edf5;
}

.why-hys__cta {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.9rem 2rem;
    border-radius: 999px;
    background: var(--color-hys-blue);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.why-hys__cta:hover {
    background: var(--color-hys-blue-dark);
}

.why-hys__links {
    position: relative;
    z-index: 1;
    margin-left: auto;
    margin-right: 50px;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

@media (max-width: 800px) {
    .why-hys {
        min-height: 560px;
        flex-direction: column;
        align-items: stretch;
    }

    .why-hys__overlay {
        max-width: 100%;
        padding: 3rem 1.25rem;
        background: linear-gradient(
            180deg,
            rgba(9, 40, 68, 0.5) 0%,
            rgba(9, 40, 68, 0.88) 45%,
            rgba(9, 40, 68, 0.92) 100%
        );
    }

    .why-hys__links {
        margin: 0 1.25rem 1.5rem;
        flex-direction: row;
        flex-wrap: wrap;
    }
}

/* CEO / Directeur Général profile section */
.section--ceo {
    background: #efefef;
}

.section.section--ceo {
    padding-left: 50px;
    padding-right: 50px;
}

.ceo-profile {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 3rem;
    align-items: start;
}

.ceo-profile__media img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.ceo-profile__description {
    font-size: 1.2rem;
}

.ceo-profile__name {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-text);
    margin: 1.5rem 0 0.15rem;
}

.ceo-profile__role {
    font-weight: 500;
    color: var(--color-hys-blue);
    margin: 0 0 1.5rem;
}

/* Final CTA section (homepage, replaces the old lead form block) */
.cta-final .section__inner {
    text-align: center;
}

.cta-final h2 {
    color: var(--color-hys-blue);
}

.cta-final__action {
    text-align: center;
    margin-top: 2.5rem;
}

.cta-final__prompt {
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 0 1.5rem;
    color: #316110;
}

.cta-final__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.why-hys__cta--outline {
    background: transparent;
    color: var(--color-hys-blue);
    border: 1.5px solid var(--color-hys-blue);
}

.why-hys__cta--outline:hover {
    background: var(--color-hys-blue);
    color: #fff;
}

@media (max-width: 800px) {
    .ceo-profile {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .ceo-profile__media img {
        aspect-ratio: 16 / 10;
    }
}

/* Realisation cards (homepage "Nos réalisations" highlights) — reuse .expertise-card for the shared look, only the checklist is specific */
.realisation-card__list {
    list-style: none;
    margin: 0.5rem 0 1.25rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.realisation-card__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-muted);
}

.realisation-card__list li::before {
    content: "✓";
    color: var(--color-sustainable-green);
    font-weight: 700;
    flex-shrink: 0;
}

/* Shared bottom block on /realisations/{slug} detail pages */
.domains-list {
    list-style: none;
    margin: 2rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.domains-list a {
    display: inline-block;
    padding: 0.6rem 1.25rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: var(--color-hys-blue);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.domains-list a:hover {
    background: var(--color-hys-blue);
    color: #fff;
}

.method-flow {
    list-style: none;
    margin: 2rem auto 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 420px;
}

.method-flow__step {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.25rem;
    background: #f8fafc;
    border-radius: 12px;
    font-weight: 600;
    color: var(--color-hys-blue-dark);
}

.method-flow__arrow {
    color: var(--color-muted);
    font-size: 1.1rem;
    line-height: 1;
    padding: 0.25rem 0;
}

.method-flow__num {
    font-size: 1.1rem;
}

.faq-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1rem 1.25rem;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--color-hys-blue-dark);
}

.faq-item p {
    margin: 0.75rem 0 0;
    color: var(--color-muted);
}

/* Filterable projects grid (e.g. /realisations "Découvrez quelques-unes de nos réalisations") */
.projects-section {
    padding-left: 50px;
    padding-right: 50px;
}

.project-grid {
    grid-template-columns: repeat(4, 1fr);
}

.project-grid__more {
    text-align: center;
    margin-top: 2.5rem;
}

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

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

.project-filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    width: 100vw;
    margin: 2rem calc(50% - 50vw) 3rem;
    padding: 1.5rem 50px;
    border-radius: 0;
    background: var(--color-hys-blue);
}

.project-filter-bar__btn {
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    color: #fff;
    padding: 0.55rem 1.25rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.project-filter-bar__btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.project-filter-bar__btn.is-active {
    background: #fff;
    color: var(--color-hys-blue);
    border-color: #fff;
}

/* Catalogue Produits: replaces the usual page-hero on listing pages (/produits, /produits/{categorie}) with a blue filter bar — no bg photo, no CTA buttons, just orientation (breadcrumb/title) plus an instant client-side product search */
.product-filter-hero {
    background: var(--color-hys-blue);
    color: #fff;
    padding: 3rem 50px 2.5rem;
}

.product-filter-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    opacity: 0.85;
}

.product-filter-hero__breadcrumb a {
    display: flex;
    color: #fff;
}

.product-filter-hero__breadcrumb svg {
    width: 16px;
    height: 16px;
}

.product-filter-hero__breadcrumb-chevron {
    opacity: 0.6;
}

.product-filter-hero h1 {
    color: #fff;
    margin: 0 0 0.5rem;
}

.product-filter-hero__tagline {
    max-width: 640px;
    font-size: 1.05rem;
    opacity: 0.9;
    margin: 0 0 1.5rem;
}

.product-filter-hero__search {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.product-filter-hero__search input[type="search"] {
    flex: 1 1 320px;
    max-width: 420px;
    padding: 0.75rem 1.1rem;
    border-radius: 999px;
    border: none;
    font-size: 0.95rem;
}

.product-filter-hero__empty {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 720px) {
    .product-filter-hero {
        padding: 2.5rem 1.25rem 2rem;
    }
}

[data-product-filter-target="card"].is-hidden {
    display: none;
}

.project-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.project-card.is-hidden {
    display: none;
}

.project-card__media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.project-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-card__media img {
    transform: scale(1.05);
}

.project-card__type-tag {
    position: absolute;
    left: 0.75rem;
    bottom: 0.75rem;
    padding: 0.4rem 0.85rem;
    background: rgba(10, 31, 51, 0.72);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
}

.project-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 1.25rem 1.5rem 1.5rem;
}

.project-card__title {
    margin: 0;
    font-size: 1.1rem;
}

.project-card__title a {
    color: var(--color-hys-blue);
    text-decoration: none;
}

.project-card__title a:hover {
    text-decoration: underline;
}

.project-card__location {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-muted);
}

.project-card__summary {
    margin: 0.25rem 0 0;
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--color-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-card__services-label {
    margin: 0.5rem 0 0.25rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-muted);
}

.project-card__services {
    list-style: none;
    margin: 0 0 0.5rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.9rem;
}

.project-card__services li::before {
    content: "✓";
    color: var(--color-sustainable-green);
    font-weight: 700;
    margin-right: 0.4rem;
}

.project-card__cta {
    margin-top: auto;
    padding-top: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    color: var(--color-hys-blue);
    text-decoration: none;
}

.project-card__cta:hover {
    text-decoration: underline;
}

/* Blog article cards (/guides) */
.article-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.article-card.is-hidden {
    display: none;
}

.article-card__media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.article-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-card__media img {
    transform: scale(1.05);
}

.article-card__type-tag {
    position: absolute;
    left: 0.75rem;
    bottom: 0.75rem;
    padding: 0.4rem 0.85rem;
    background: rgba(10, 31, 51, 0.72);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
}

.article-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 1.25rem 1.5rem 1.5rem;
}

.article-card__title {
    margin: 0;
    font-size: 1.1rem;
}

.article-card__title a {
    color: var(--color-hys-blue);
    text-decoration: none;
}

.article-card__title a:hover {
    text-decoration: underline;
}

.article-card__date {
    margin: 0;
    font-size: 0.85rem;
    color: var(--color-muted);
}

.article-card__summary {
    margin: 0.25rem 0 0;
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--color-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card__cta {
    margin-top: auto;
    padding-top: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    color: var(--color-hys-blue);
    text-decoration: none;
}

.article-card__cta:hover {
    text-decoration: underline;
}

/* Reasons checklist (e.g. /produits "Pourquoi choisir nos équipements ?") */
.reasons-section {
    padding-left: 50px;
    padding-right: 50px;
    background: #f7eddb;
}

.reasons-list {
    list-style: none;
    margin: 2rem 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 3rem;
}

.reasons-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-hys-blue);
}

.reasons-list__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-hys-blue);
}

.reasons-list__icon svg {
    width: 22px;
    height: 22px;
    color: #fff;
}

@media (max-width: 640px) {
    .reasons-list {
        grid-template-columns: 1fr;
    }
}

/* Director video (homepage "Le Directeur vous parle") — placeholder frame until a real video is provided */
.director-video {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
}

.director-video__frame {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    background: #0a1f33;
    border: 1px dashed #94a3b8;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: #cbd5e1;
    overflow: hidden;
}

.director-video__play {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    font-size: 1.5rem;
}

.director-video__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.4);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.director-video__points {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.director-video__points li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
}

.director-video__points li::before {
    content: "✓";
    color: var(--color-sustainable-green);
    font-weight: 700;
    flex-shrink: 0;
}

.director-video__caption {
    margin-top: 1.5rem;
    font-style: italic;
    color: var(--color-muted);
}

@media (max-width: 800px) {
    .director-video {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Stats (homepage "Les chiffres") */
.stat-tile {
    text-align: center;
    padding: 1.5rem 1rem;
}

.stat-tile__number {
    display: block;
    font-size: clamp(2.25rem, 5vw, 3.25rem);
    font-weight: 800;
    color: var(--color-hys-blue);
    letter-spacing: -0.02em;
}

.stat-tile__label {
    display: block;
    margin-top: 0.5rem;
    color: var(--color-muted);
    font-size: 0.95rem;
}

/* Animated stat band (homepage, below "Nos domaines d'expertise") */
.stat-band {
    background: #092844;
}

.stat-band__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.5rem 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
}

.stat-band__item {
    flex: 1 1 140px;
    text-align: center;
}

.stat-band__number {
    display: block;
    font-size: clamp(2rem, 3vw, 2.75rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
}

.stat-band__label {
    display: block;
    margin-top: 0.5rem;
    color: #9db4c9;
    font-size: 1.1rem;
    line-height: 1.3;
}

/* Resource center guide pills */
.resource-guides {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.resource-guides__pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e5e7eb;
    color: var(--color-hys-blue);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.resource-guides__pill:hover {
    border-color: var(--color-hys-blue);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

/* Portfolio / case studies */
.case-study {
    padding: 1.5rem;
    background: #fff;
    border-top: 3px solid var(--color-sustainable-green);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.case-study__images {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.case-study__images figure {
    margin: 0;
    flex: 1;
    text-align: center;
}

.case-study__images img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.case-study__images figcaption {
    font-size: 0.8rem;
    color: var(--color-muted);
    margin-top: 0.25rem;
}

.case-study__sector {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-sustainable-green);
    margin-bottom: 0.35rem;
}

.case-study__body h3 {
    margin: 0 0 0.75rem;
}

.case-study__row {
    margin-bottom: 0.75rem;
}

.case-study__label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-muted);
    margin-bottom: 0.15rem;
}

.case-study__row p {
    margin: 0;
}

.case-study__client {
    margin: 1rem 0 0;
    padding-top: 0.75rem;
    border-top: 1px solid #e5e7eb;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text);
}

/* Case study detail page (/realisations/{slug}) */
.testimonial-quote {
    margin: 0;
    padding: 2rem;
    border-left: 4px solid var(--color-hys-blue);
    background: #f8fafc;
    border-radius: 0 12px 12px 0;
}

.testimonial-quote p {
    margin: 0 0 0.75rem;
    font-size: 1.2rem;
    font-style: italic;
    color: var(--color-hys-blue-dark);
    line-height: 1.5;
}

.testimonial-quote cite {
    font-style: normal;
    font-weight: 600;
    color: var(--color-muted);
}

.project-info-table {
    width: 100%;
    margin-top: 1.5rem;
    border-collapse: collapse;
}

.project-info-table th,
.project-info-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.project-info-table th {
    width: 40%;
    color: var(--color-muted);
    font-weight: 600;
}

.project-map {
    margin-top: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
}

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

.gallery-videos {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.gallery-videos__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    background: #fff;
    color: var(--color-hys-blue);
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.gallery-videos__link:hover {
    text-decoration: underline;
}

/* Forms */
.lead-form label {
    display: block;
    font-weight: 500;
    margin-top: 1rem;
    margin-bottom: 0.25rem;
}

.lead-form > div {
    margin-bottom: 1.5rem;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    font-family: inherit;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
    outline: none;
    border-color: var(--color-hys-blue);
    box-shadow: 0 0 0 3px rgba(11, 79, 140, 0.15);
}

.alert {
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
}

.alert-success {
    background: #e6f4ea;
    color: #1e5a34;
}

/* WhatsApp floating button */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-sustainable-green);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 50;
}

/* Responsive: tablet & mobile */
@media (max-width: 960px) {
    .site-topbar__inner,
    .site-header__inner {
        padding-left: 20px;
        padding-right: 20px;
    }

    .site-header__inner::before,
    .site-header__inner::after {
        left: 20px;
        right: 20px;
    }

    .site-topbar__inner {
        flex-wrap: wrap;
        row-gap: 0.5rem;
    }

    .site-topbar__info {
        flex: 1 1 100%;
        min-width: 0;
        gap: 1rem;
    }

    .site-header__toggle {
        display: inline-flex;
    }

    .site-header__inner {
        flex-wrap: wrap;
    }

    .site-header__nav {
        flex-basis: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s ease;
    }

    .site-header__nav.is-open {
        max-height: 80vh;
        overflow-y: auto;
    }

    .site-header__nav-item {
        display: block;
        height: auto;
        width: 100%;
    }

    .site-header__link {
        height: auto;
        width: 100%;
        padding: 0.85rem 0;
        opacity: 1;
    }

    .site-header__link::after {
        display: none;
    }

    .site-header__link.is-active,
    .site-header__link:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    /* Mega menu becomes an inline accordion instead of a floating panel */
    .mega-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.25s ease;
    }

    .mega-menu.is-open {
        max-height: 3000px;
    }

    .mega-menu__title {
        padding: 1rem 20px 0;
        font-size: 1.15rem;
    }

    .mega-menu__body {
        flex-direction: column;
        gap: 0;
        padding: 0.5rem 20px 1rem;
        max-height: none;
        overflow: visible;
    }

    .mega-menu__level2-spacer {
        display: none;
    }

    .mega-menu__illustration {
        display: none;
    }

    .mega-menu__categories,
    .mega-menu__categories.mega-menu__categories--flat {
        width: 100%;
        column-count: 1;
    }

    .mega-menu__category {
        flex-wrap: wrap;
        border-bottom: 1px solid #e5e7eb;
        padding: 0;
        margin: 0;
        border-radius: 0;
    }

    .mega-menu__category:hover {
        background-color: transparent;
    }

    .mega-menu__category-title {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 0;
        margin-bottom: 0;
        cursor: pointer;
    }

    .mega-menu__category-items {
        position: static;
        display: block;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.2s ease;
        padding: 0;
    }

    .mega-menu__category.is-open .mega-menu__category-items {
        max-height: 600px;
        padding-bottom: 0.75rem;
    }

    .mega-menu__chevron {
        transition: transform 0.2s ease;
    }

    .mega-menu__category.is-open .mega-menu__chevron {
        transform: rotate(90deg);
    }

    .site-header__search-wrap {
        margin-left: 0;
        width: 100%;
    }

    .search-popover {
        position: static;
        width: 100%;
        box-shadow: none;
        opacity: 1;
        visibility: hidden;
        transform: none;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        transition: max-height 0.25s ease;
    }

    .search-popover.is-open {
        visibility: visible;
        max-height: 500px;
        padding: 1rem 0;
    }

    .site-header__search {
        padding: 0.85rem 0;
        width: 100%;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 3rem 1.25rem;
    }

    .hero,
    .hero--solution {
        padding: 2.5rem 1.25rem;
    }

    .site-topbar__tagline {
        display: none;
    }

    .site-topbar__sep {
        display: none;
    }

    /* Long email address is the main cause of a 3rd wrapped topbar row on narrow phones — drop it, phone number stays */
    .site-topbar__info a[href^="mailto"] {
        display: none;
    }

    .site-topbar__inner {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .hero-video__content {
        padding-block: 1rem clamp(1rem, 4vh, 1.5rem);
        padding-inline: 1.25rem;
    }

    .hero-video__content h1 {
        font-size: clamp(1.35rem, 7vw, 1.75rem);
        margin: 0 0 0.75rem;
    }

    .hero-video__content .hero__subtitle {
        font-size: clamp(0.8rem, 3.5vw, 0.95rem);
        line-height: 1.35;
        margin: 0 0 1rem;
    }

    .hero-video__actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.6rem;
    }

    .hero-video__actions .btn {
        text-align: center;
    }

    .case-study__images {
        flex-direction: column;
    }

    .case-study__images img {
        height: 180px;
    }
}

/* Value cards (page "Le fondateur" — "Nos valeurs") */
.value-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.75rem 1.5rem;
    margin-top: 2.5rem;
}

.value-card {
    text-align: left;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    background: #fff;
}

.value-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(11, 79, 140, 0.08);
    border: 1px solid rgba(11, 79, 140, 0.25);
    color: var(--color-hys-blue);
    margin-bottom: 1rem;
}

.value-card__icon svg {
    width: 22px;
    height: 22px;
}

.value-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-hys-blue);
    line-height: 1.3;
}

.value-card p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--color-text);
}

@media (max-width: 960px) {
    .value-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

/* Field gallery placeholder (page "Le fondateur" — "Une journée sur le terrain") */
/* No real photography yet: honest empty-state tiles, not stock imagery mislabeled as candid shots */
.field-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.field-gallery__item {
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    border: 1px dashed #94a3b8;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    text-align: center;
    padding: 1rem;
    color: var(--color-muted);
}

.field-gallery__item svg {
    width: 28px;
    height: 28px;
    color: #94a3b8;
}

.field-gallery__item span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-muted);
}

.field-gallery__item small {
    font-size: 0.75rem;
    color: #94a3b8;
}

.field-gallery__quote {
    margin-top: 2.5rem;
    text-align: center;
    font-size: 1.15rem;
    font-style: italic;
    color: var(--color-hys-blue);
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

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

@media (max-width: 560px) {
    .field-gallery {
        grid-template-columns: repeat(1, 1fr);
    }
}
