:root {
    --color-primary: #2fa78d;
    --color-primary-dark: #176f64;
    --color-secondary: #78bf7c;
    --color-accent: #e5b438;
    --color-coral: #c86f61;
    --color-button: #176f64;
    --color-button-hover: #105c53;
    --color-background: #f7faf7;
    --color-surface: #ffffff;
    --color-soft: #eef7f2;
    --color-text: #203332;
    --color-muted: #60716f;
    --color-border: #dce8e3;
    --shadow-soft: 0 20px 60px rgba(32, 51, 50, 0.12);
    --shadow-light: 0 10px 30px rgba(32, 51, 50, 0.08);
    --shadow-card: 0 14px 34px rgba(32, 51, 50, 0.07);
    --radius: 8px;
    --header-height: 72px;
    --container: min(1120px, calc(100vw - 40px));
    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-heading: var(--font-sans);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--color-text);
    background: var(--color-background);
    font-family: var(--font-sans);
    font-size: 17px;
    line-height: 1.65;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
}

body.nav-open {
    overflow: hidden;
}

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

a:hover {
    color: var(--color-primary-dark);
}

button,
input,
select,
textarea {
    font: inherit;
}

:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 4px;
}

[hidden] {
    display: none !important;
}

.screen-reader-text,
.skip-link:not(:focus) {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link:focus {
    position: fixed;
    z-index: 9999;
    top: 12px;
    left: 12px;
    padding: 12px 16px;
    background: var(--color-text);
    color: #fff;
    border-radius: var(--radius);
}

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(220, 232, 227, 0.8);
    backdrop-filter: blur(14px);
    transition: box-shadow 180ms ease, background-color 180ms ease;
}

.site-header.is-scrolled {
    box-shadow: var(--shadow-light);
}

.site-header__inner {
    width: var(--container);
    min-height: var(--header-height);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.site-brand img,
.custom-logo {
    width: 90px;
    height: auto;
}

.site-nav {
    margin-left: auto;
}

.menu {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.menu a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    color: var(--color-text);
    padding: 0 2px;
    font-size: 0.93rem;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
}

.menu a:hover,
.menu .current-menu-item > a {
    color: var(--color-primary-dark);
}

.menu .current-menu-item > a {
    box-shadow: inset 0 -3px 0 var(--color-primary);
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-link,
.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 18px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    transition: transform 170ms ease, box-shadow 170ms ease, background-color 170ms ease, border-color 170ms ease;
}

.header-link {
    min-height: 44px;
    padding: 10px 16px;
    border-color: var(--color-border);
    background: var(--color-surface);
    font-size: 0.9rem;
    white-space: nowrap;
}

.header-link--sms,
.button--primary {
    background: var(--color-button);
    color: #fff;
    border-color: var(--color-button);
    box-shadow: 0 10px 24px rgba(23, 111, 100, 0.14);
}

.header-link--sms {
    width: 198px;
    white-space: normal;
}

.button--secondary {
    background: var(--color-accent);
    color: #2c2815;
}

.button--ghost {
    border-color: var(--color-border);
    background: rgba(255, 255, 255, 0.78);
    color: var(--color-text);
}

.button--light {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.button:hover,
.header-link:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-light);
}

.button--primary:hover,
.header-link--sms:hover {
    color: #fff;
    background: var(--color-button-hover);
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.button-row--center {
    justify-content: center;
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    margin-left: auto;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-surface);
    color: var(--color-text);
}

.nav-toggle__bar {
    width: 21px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
    transition: transform 170ms ease, opacity 170ms ease;
}

.nav-open .nav-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle__bar:nth-child(2) {
    opacity: 0;
}

.nav-open .nav-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.site-main {
    min-height: 55vh;
}

.hero {
    position: relative;
    display: grid;
    min-height: calc(74svh - var(--header-height));
    overflow: hidden;
    background-image: var(--hero-image);
    background-position: center;
    background-size: cover;
    color: #fff;
}

.hero__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(20, 43, 42, 0.86) 0%, rgba(20, 43, 42, 0.62) 42%, rgba(20, 43, 42, 0.14) 100%),
        linear-gradient(0deg, rgba(20, 43, 42, 0.2), rgba(20, 43, 42, 0.2));
}

.hero--home .hero__shade {
    background: linear-gradient(90deg, rgba(20, 43, 42, 0.88) 0%, rgba(20, 43, 42, 0.76) 37%, rgba(20, 43, 42, 0.22) 100%);
}

.hero__content {
    position: relative;
    z-index: 1;
    width: var(--container);
    max-width: 720px;
    margin: auto auto auto max(20px, calc((100vw - 1120px) / 2));
    padding: 56px 0;
}

.hero__logo {
    width: 128px;
    height: auto;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.86);
    border-radius: var(--radius);
    padding: 10px;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--color-primary-dark);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero .eyebrow,
.page-hero:not(.page-hero--light) .eyebrow {
    color: #c7f4e8;
}

h1,
h2,
h3 {
    margin: 0;
    color: var(--color-text);
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: 0;
    overflow-wrap: break-word;
}

.hero h1 {
    max-width: 760px;
    color: #fff;
    font-size: clamp(2.55rem, 4.6vw, 3.35rem);
    text-wrap: balance;
}

.hero__lead {
    max-width: 650px;
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(1.08rem, 1.7vw, 1.22rem);
}

.hero__trust {
    max-width: 640px;
    margin: 16px 0 0;
    padding-left: 16px;
    border-left: 2px solid #f2c14e;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.98rem;
    line-height: 1.55;
}

.hero__route-link {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.94rem;
    font-weight: 750;
    text-underline-offset: 4px;
}

.hero__route-link:hover,
.hero__route-link:focus-visible {
    color: #fff;
}

.home-proof-rail {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: var(--container);
    margin: 0 auto;
    border-bottom: 1px solid var(--color-border);
}

.home-proof-rail__item {
    display: grid;
    gap: 6px;
    padding: 25px 26px 27px;
    border-right: 1px solid var(--color-border);
}

.home-proof-rail__item:first-child {
    padding-left: 0;
}

.home-proof-rail__item:last-child {
    padding-right: 0;
    border-right: 0;
}

.home-proof-rail__item strong {
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 820;
}

.home-proof-rail__item span {
    color: var(--color-muted);
    font-size: 0.94rem;
    line-height: 1.5;
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0 32px;
}

.badge-row span {
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 750;
}

.section {
    width: var(--container);
    margin: 0 auto;
    padding: clamp(56px, 7vw, 88px) 0;
}

.section--soft {
    width: 100%;
    max-width: none;
    padding-right: max(20px, calc((100vw - 1120px) / 2));
    padding-left: max(20px, calc((100vw - 1120px) / 2));
    background: var(--color-soft);
}

.section__header {
    max-width: 720px;
    margin-bottom: 32px;
}

.section__header h2,
.media-band h2,
.feature-water h2,
.final-cta h2 {
    font-size: clamp(1.8rem, 3vw, 2.45rem);
    text-wrap: balance;
}

.section__header p {
    max-width: 680px;
    margin-top: 14px;
    font-size: 1.04rem;
    line-height: 1.62;
}

.section__header p,
.media-band p,
.feature-water p,
.page-hero p,
.text-panel p,
.legal-page p,
.contact-layout p {
    color: var(--color-muted);
}

.specialty-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.specialty-card,
.team-card,
.text-panel,
.info-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-surface);
    box-shadow: var(--shadow-card);
}

.specialty-card {
    min-height: 208px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.home-pathways > a {
    color: inherit;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.home-pathways > a:hover,
.home-pathways > a:focus-visible {
    border-color: var(--color-primary);
    box-shadow: 0 14px 30px rgba(15, 88, 80, 0.12);
    transform: translateY(-2px);
}

.home-service-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--color-border);
}

.home-service {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 28px;
    gap: 18px;
    align-items: start;
    min-height: 150px;
    padding: 26px 22px;
    border-bottom: 1px solid var(--color-border);
    color: inherit;
    text-decoration: none;
    transition: background-color 180ms ease, padding 180ms ease;
}

.home-service:nth-child(odd) {
    border-right: 1px solid var(--color-border);
}

.home-service:hover,
.home-service:focus-visible {
    background: #f1faf7;
    color: inherit;
    padding-left: 28px;
}

.home-service__number {
    color: var(--color-primary);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.home-service__content {
    display: grid;
    gap: 8px;
}

.home-service__title {
    color: var(--color-text);
    font-family: var(--font-heading);
    font-size: 1.24rem;
    font-weight: 700;
    line-height: 1.2;
}

.home-service__text {
    color: var(--color-muted);
    font-size: 0.98rem;
    line-height: 1.55;
}

.home-service__arrow {
    align-self: center;
    color: var(--color-primary);
    font-size: 1.4rem;
    transition: transform 180ms ease;
}

.home-service:hover .home-service__arrow,
.home-service:focus-visible .home-service__arrow {
    transform: translateX(4px);
}

.home-trust-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid rgba(15, 88, 80, 0.18);
}

.home-trust-grid .text-panel {
    min-height: 0;
    padding: 24px 22px 0 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.home-trust-grid .text-panel:not(:last-child) {
    margin-right: 22px;
    border-right: 1px solid rgba(15, 88, 80, 0.18);
}

/* Les pages de contenu privilégient des listes éditoriales ouvertes aux cartes répétées. */
.kine-care-section .specialty-grid,
.team-specialty-section .specialty-grid,
.team-hors-section .specialty-grid,
.sport-page-content .sport-layout__items,
.balneo-grid,
.contact-preparation-section .detail-grid {
    gap: 0;
}

.kine-care-section .specialty-card,
.team-specialty-section .specialty-card,
.team-hors-section .specialty-card,
.sport-page-content .text-panel,
.balneo-grid .text-panel,
.contact-preparation-section .text-panel,
.wellness-services-section .specialty-card,
.wellness-workshops-section .specialty-card,
.osteopathy-approach-section .text-panel {
    min-height: 0;
    border: 0;
    border-top: 1px solid var(--color-border);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.kine-care-section .specialty-card,
.team-specialty-section .specialty-card,
.team-hors-section .specialty-card,
.wellness-services-section .specialty-card,
.wellness-workshops-section .specialty-card {
    padding: 22px 20px;
}

.kine-care-section .specialty-card:nth-child(odd),
.team-specialty-section .specialty-card:nth-child(odd),
.team-hors-section .specialty-card:nth-child(odd) {
    border-right: 1px solid var(--color-border);
}

.kine-care-section .specialty-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 40px;
}

.kine-care-section .specialty-card {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 14px;
    row-gap: 8px;
    align-content: start;
    padding: 20px 0;
}

.kine-care-section .specialty-card:nth-child(odd) {
    border-right: 0;
}

.kine-care-section .specialty-card__icon,
.kine-care-section .specialty-card__image {
    grid-row: 1 / span 2;
}

.kine-care-section .specialty-card h3,
.kine-care-section .specialty-card p {
    grid-column: 2;
}

.kine-page-hero .button {
    margin-top: 22px;
}

.final-cta .button-row {
    justify-content: center;
}

.kine-water-section.feature-water.fs-layout-section[style] {
    padding-top: clamp(40px, 5vw, 64px);
    padding-bottom: clamp(40px, 5vw, 64px);
}

@media (max-width: 600px) {
    .kine-care-section .specialty-grid {
        grid-template-columns: 1fr;
    }
}

.sport-page-content .text-panel,
.balneo-grid .text-panel,
.contact-preparation-section .text-panel,
.osteopathy-approach-section .text-panel {
    padding: 24px 24px 24px 0;
}

.sport-page-content .text-panel:not(:first-child),
.balneo-grid .text-panel:not(:nth-child(-n + 2)),
.contact-preparation-section .text-panel:not(:nth-child(-n + 2)),
.osteopathy-approach-section .text-panel:not(:nth-child(-n + 2)) {
    border-top-color: rgba(15, 88, 80, 0.16);
}

.cabinet-gallery-section .photo-gallery {
    border-top: 1px solid var(--color-border);
    padding-top: 24px;
}

.wellness-services-section .specialty-card,
.wellness-workshops-section .specialty-card {
    padding-left: 0;
    padding-right: 0;
}

.osteopathy-person-section .team-card--osteopath {
    box-shadow: 0 18px 42px rgba(15, 88, 80, 0.1);
}

.specialty-card__icon,
.mobile-cta .icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: #e9f7f1;
    color: var(--color-primary-dark);
}

.specialty-card__icon .icon {
    width: 24px;
    height: 24px;
}

.specialty-card h3,
.team-card h3,
.text-panel h2 {
    font-size: 1.08rem;
    line-height: 1.22;
}

.specialty-card p,
.team-card p {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.96rem;
    line-height: 1.56;
}

.media-band {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(28px, 6vw, 76px);
    align-items: center;
    width: var(--container);
    margin: 0 auto;
    padding: clamp(64px, 9vw, 112px) 0;
}

.media-band__text {
    max-width: 560px;
}

.media-band__image img,
.team-feature img,
.sport-layout__image img,
.page-hero__portrait {
    width: 100%;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.media-band__image img {
    aspect-ratio: 4 / 5;
}

.home-human-band {
    padding-top: clamp(48px, 7vw, 84px);
    padding-bottom: clamp(24px, 3vw, 36px);
}

.home-human-band + .home-services-section {
    padding-top: clamp(24px, 3vw, 36px);
}

.home-services-section:has(+ .home-cabinet-band) {
    padding-bottom: clamp(24px, 3vw, 36px);
}

.home-services-section + .home-cabinet-band {
    padding-top: clamp(24px, 3vw, 36px);
}

.home-human-band .media-band__image {
    aspect-ratio: 4 / 3;
}

.home-human-band .media-band__image img {
    width: 100%;
    height: 100% !important;
    aspect-ratio: 4 / 3;
    object-fit: contain;
}

.home-human-band .eyebrow {
    margin-bottom: 14px;
    color: var(--color-primary);
}

.home-human-band .button {
    margin-top: 12px;
}

.home-inline-cta {
    margin-top: 40px;
    padding-top: 34px;
    border-top: 1px solid rgba(15, 88, 80, 0.18);
    text-align: center;
}

.home-inline-cta .button-row {
    justify-content: center;
}

.home-inline-cta h2 {
    max-width: 760px;
    margin: 0 auto 12px;
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    text-wrap: balance;
}

.home-balneo-teaser {
    display: grid;
    grid-template-columns: minmax(150px, 190px) minmax(0, 1fr) auto;
    gap: clamp(24px, 5vw, 58px);
    align-items: center;
    width: var(--container);
    margin: clamp(42px, 6vw, 72px) auto;
    padding: clamp(24px, 4vw, 38px);
    border: 1px solid rgba(15, 88, 80, 0.16);
    border-radius: var(--radius);
    background: #edf8fa;
}

.home-balneo-teaser__visual {
    display: grid;
    place-items: center;
    min-height: 132px;
    padding: 12px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.72);
}

.home-balneo-teaser__visual img {
    width: 100%;
    max-width: 150px;
    height: 108px;
    object-fit: contain;
}

.home-balneo-teaser__text {
    max-width: 670px;
}

.home-balneo-teaser__text h2 {
    margin: 0 0 10px;
}

.home-balneo-teaser__text p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.65;
}

.home-balneo-teaser .button {
    white-space: nowrap;
}

.home-inline-cta p {
    max-width: 620px;
    margin: 0 auto 24px;
}

.local-note {
    border-left: 4px solid var(--color-accent);
    margin-top: 20px;
    padding: 14px 0 14px 18px;
    color: var(--color-text);
    font-weight: 650;
}

.text-link {
    color: var(--color-primary-dark);
    font-weight: 800;
}

.team-feature {
    margin-bottom: 24px;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.team-feature img {
    aspect-ratio: 21 / 8;
    max-height: 430px;
    object-position: center 38%;
    box-shadow: none;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.team-grid--individual {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.team-grid--osteopathy {
    grid-template-columns: minmax(0, 960px);
    justify-content: center;
}

.team-card {
    min-height: 218px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.team-card--no-photo {
    border-top: 4px solid var(--color-primary);
}

.team-card__photo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.team-card--practitioner {
    min-height: 270px;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(150px, .82fr) minmax(0, 1.18fr);
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    border-top: 4px solid var(--color-primary);
}

.team-card--practitioner .team-card__photo {
    min-height: 270px;
    overflow: hidden;
    background: var(--color-soft);
}

.team-card--practitioner .team-card__photo img {
    width: 100%;
    height: 100%;
    min-height: 270px;
    border-radius: 0;
    object-fit: cover;
    object-position: center 22%;
}

.team-card--practitioner .team-card__content {
    min-width: 0;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.team-card--practitioner .team-card__content h3,
.team-card--practitioner .team-card__content p {
    margin: 0;
}

.team-card--practitioner .team-card__content h3 {
    font-size: clamp(1.16rem, 1.5vw, 1.35rem);
}

.team-card--practitioner .team-card__specialties {
    margin-top: 2px;
}

.team-card--osteopath {
    min-height: 340px;
}

.team-card--osteopath.team-card--with-photo {
    display: grid;
    grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr);
    align-items: stretch;
    gap: 32px;
    padding: 28px;
    border-top: 5px solid var(--color-primary);
}

.team-card--osteopath .team-card__photo {
    min-height: 300px;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--color-soft);
}

.team-card--osteopath .team-card__photo img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border-radius: 0;
    object-fit: cover;
    object-position: center;
}

.team-card--osteopath h3 {
    font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.osteopath-competencies {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 22px 0 6px;
}

.osteopath-competency {
    min-width: 0;
    padding: 16px;
    border: 1px solid rgba(20, 120, 108, .18);
    border-top: 3px solid var(--color-primary);
    border-radius: calc(var(--radius) - 2px);
    background: var(--color-soft);
}

.osteopath-competency h4 {
    margin: 0;
    color: var(--color-primary-dark);
    font-size: 1rem;
    line-height: 1.25;
}

.osteopath-competency p {
    margin: 9px 0 0;
    font-size: .95rem;
}

.osteopath-competency--compact {
    min-height: 82px;
    padding: 13px;
}

.osteopath-competency--standard {
    min-height: 118px;
}

.osteopath-competency--wide {
    grid-column: 1 / -1;
    min-height: 142px;
}

.osteopath-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.team-card__initials {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--color-primary-dark);
    color: #fff;
    font-weight: 850;
}

.team-card__meta,
.team-card__specialties {
    font-weight: 750;
    color: var(--color-primary-dark);
}

.specialty-card__image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: calc(var(--radius) - 2px);
    object-fit: cover;
}

/* Taille de bloc choisie par la cliente dans l’éditeur visuel. */
.fs-layout-section {
    --fs-editor-block-width: 1120px;
}

.fs-layout-width-compact { --fs-editor-block-width: 760px; }
.fs-layout-width-standard { --fs-editor-block-width: 1120px; }
.fs-layout-width-wide { --fs-editor-block-width: 1280px; }
.fs-layout-width-full { --fs-editor-block-width: 100%; }

.fs-layout-section.section:not(.section--soft),
.fs-layout-section.media-band,
.fs-layout-section.feature-water,
.fs-layout-section.final-cta {
    width: min(var(--fs-editor-block-width), calc(100% - 40px));
}

.fs-layout-section.section--soft > .section__header,
.fs-layout-section.section--soft > .specialty-grid,
.fs-layout-section.section--soft > .team-grid,
.fs-layout-section.section--soft > .team-feature,
.fs-layout-section.section--soft > .detail-grid,
.fs-layout-section.section--soft > .photo-gallery,
.fs-layout-section.section--soft > .contact-layout,
.fs-layout-section.page-hero .page-hero__inner {
    width: min(var(--fs-editor-block-width), 100%);
    margin-right: auto;
    margin-left: auto;
}

/* Keep the visual editor heading aligned with the content grid below it. */
.fs-layout-section.section--soft > .section__header {
    margin-left: 0;
}

.feature-water {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(28px, 6vw, 72px);
    align-items: center;
    padding: clamp(64px, 8vw, 96px) max(20px, calc((100vw - 1120px) / 2));
    background: #eaf6f8;
}

.feature-water__visual img {
    width: min(420px, 100%);
    margin: 0 auto;
}

.feature-water__text {
    max-width: 640px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.info-item {
    min-height: 112px;
    padding: 20px;
}

.info-item strong,
.info-item span {
    display: block;
}

.info-item strong {
    margin-bottom: 8px;
    color: var(--color-primary-dark);
    font-size: 1.02rem;
}

.info-item span {
    color: var(--color-muted);
}

.page-hero {
    position: relative;
    min-height: 360px;
    display: grid;
    align-items: end;
    overflow: hidden;
    background-color: var(--color-primary-dark);
    background-image:
        linear-gradient(90deg, rgba(18, 55, 51, 0.84), rgba(18, 55, 51, 0.44)),
        var(--hero-image);
    background-position: center;
    background-size: cover;
    color: #fff;
}

.page-hero__inner {
    width: var(--container);
    max-width: 820px;
    margin: 0 auto;
    padding: 72px 0 56px;
}

.page-hero h1 {
    color: #fff;
    font-size: clamp(2.2rem, 3.9vw, 3.35rem);
    text-wrap: balance;
}

.page-hero p {
    max-width: 780px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.62;
}

.page-hero--light {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
    gap: 48px;
    align-items: center;
    width: var(--container);
    min-height: 0;
    margin: 0 auto;
    padding: clamp(52px, 6vw, 80px) 0;
    background: transparent;
    color: var(--color-text);
}

.page-hero--light .page-hero__inner {
    width: auto;
    padding: 0;
}

.page-hero--light h1 {
    color: var(--color-text);
}

.page-hero--light p {
    color: var(--color-muted);
}

.page-hero__portrait {
    aspect-ratio: 4 / 3;
}

.page-hero--balneo {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.5fr);
    min-height: 0;
    padding: clamp(52px, 6vw, 80px) max(20px, calc((100vw - 1120px) / 2));
    background: #eaf6f8;
    color: var(--color-text);
}

.page-hero--balneo .page-hero__inner {
    width: auto;
    min-width: 0;
    padding: 0;
}

.page-hero--balneo h1 {
    color: var(--color-text);
}

.page-hero--balneo p {
    color: var(--color-muted);
}

.page-hero--balneo h1,
.page-hero--balneo p {
    overflow-wrap: normal;
    word-break: normal;
}

.page-hero__water {
    width: min(360px, 100%);
    justify-self: center;
}

.split-list .section__header {
    margin-bottom: 24px;
}

.list-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.list-columns ul,
.text-panel ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.list-columns li,
.text-panel li {
    position: relative;
    padding: 11px 0 11px 28px;
    border-bottom: 1px solid var(--color-border);
}

.list-columns li::before,
.text-panel li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 21px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--color-accent);
}

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.photo-gallery__item {
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--color-surface);
}

.photo-gallery__item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 500ms ease;
}

.photo-gallery__item:hover img {
    transform: scale(1.035);
}

.sport-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(32px, 5vw, 64px);
    align-items: start;
}

.sport-layout__image {
    position: sticky;
    top: calc(var(--header-height) + 24px);
}

.sport-layout__image img {
    aspect-ratio: 4 / 5;
}

.sport-layout__items,
.detail-grid {
    display: grid;
    gap: 16px;
}

.detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.text-panel {
    padding: 24px;
}

.text-panel h2 {
    margin-bottom: 10px;
}

.text-panel p:last-child {
    margin-bottom: 0;
}

.final-cta {
    width: var(--container);
    margin: 0 auto clamp(64px, 9vw, 112px);
    padding: clamp(34px, 6vw, 58px);
    border-radius: var(--radius);
    background: var(--color-primary-dark);
    color: #fff;
    text-align: center;
}

.final-cta h2 {
    max-width: 760px;
    margin: 0 auto 24px;
    color: #fff;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
    gap: 24px;
}

.contact-layout__main,
.contact-layout__side,
.map-consent__panel,
.legal-page {
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-surface);
    box-shadow: var(--shadow-light);
}

.contact-layout__main,
.contact-layout__side {
    padding: clamp(28px, 4vw, 40px);
}

address {
    font-style: normal;
    line-height: 1.75;
}

.contact-layout h2 + p,
.contact-layout h2 + address {
    margin-top: 10px;
}

.contact-layout h2:not(:first-child) {
    margin-top: 28px;
}

.map-consent {
    min-height: 420px;
    display: grid;
    overflow: hidden;
    border-radius: var(--radius);
    background: #ddeeea;
}

.map-consent__panel {
    align-self: center;
    justify-self: center;
    width: min(620px, calc(100% - 32px));
    padding: clamp(24px, 5vw, 42px);
    text-align: center;
}

.map-consent iframe {
    width: 100%;
    min-height: 430px;
    border: 0;
}

.legal-page {
    width: min(920px, calc(100vw - 40px));
    margin: clamp(48px, 7vw, 88px) auto;
    padding: clamp(32px, 5vw, 56px);
}

.legal-page h1 {
    margin-bottom: 28px;
    font-size: clamp(2.1rem, 4.2vw, 3.3rem);
}

.legal-page h2 {
    margin-top: 30px;
    font-size: 1.35rem;
}

.not-found {
    min-height: 68vh;
    display: grid;
    place-items: center;
    padding: 80px 20px;
    text-align: center;
}

.not-found__inner {
    max-width: 760px;
}

.not-found h1 {
    font-size: clamp(2.2rem, 6vw, 5rem);
}

.site-footer {
    padding-bottom: 0;
    background: #173432;
    color: rgba(255, 255, 255, 0.84);
}

.site-footer__inner {
    width: var(--container);
    margin: 0 auto;
    padding: 44px 0 32px;
    display: grid;
    grid-template-columns: 1.05fr 1fr 0.85fr 0.95fr;
    gap: 28px;
}

.site-footer h2 {
    margin-bottom: 14px;
    color: #fff;
    font-size: 1.05rem;
}

.site-footer a {
    color: #fff;
}

.site-footer__brand img,
.site-footer__logo {
    width: 96px;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    margin-bottom: 12px;
    border-radius: var(--radius);
    background: #fff;
    padding: 10px;
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li + li {
    margin-top: 5px;
}

.link-button {
    display: inline-flex;
    margin-top: 16px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-weight: 750;
    text-decoration: underline;
    text-underline-offset: 0.2em;
    cursor: pointer;
}

.site-footer__bottom {
    width: var(--container);
    margin: 0 auto;
    padding: 18px 0 24px;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.92rem;
}

.mobile-cta {
    display: none;
}

.cookie-banner {
    position: fixed;
    z-index: 200;
    right: 24px;
    bottom: 24px;
    left: auto;
    width: min(560px, calc(100vw - 48px));
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-surface);
    box-shadow: var(--shadow-soft);
}

.cookie-banner p {
    margin: 4px 0 0;
    color: var(--color-muted);
    font-size: 0.94rem;
}

.icon {
    width: 1.2em;
    height: 1.2em;
}

.js .reveal-on-scroll {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 520ms ease, transform 520ms ease;
}

.js .reveal-on-scroll.is-visible {
    opacity: 1;
    transform: none;
}

@media (min-width: 1241px) and (max-width: 1360px) {
    .site-header__actions .header-link:not(.header-link--sms) {
        display: none;
    }
}

@media (max-width: 1240px) {
    .site-header__actions {
        display: none;
    }

    .specialty-grid,
    .team-grid,
    .info-grid,
    .photo-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    :root {
        --header-height: 66px;
        --container: calc(100vw - 32px);
    }

    body {
        font-size: 16px;
        padding-bottom: 76px;
    }

    .site-brand img,
    .custom-logo {
        width: 86px;
    }

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

    .site-nav {
        position: fixed;
        z-index: 99;
        inset: var(--header-height) 0 auto 0;
        padding: 18px 16px 26px;
        background: rgba(255, 255, 255, 0.98);
        border-bottom: 1px solid var(--color-border);
        box-shadow: var(--shadow-soft);
        transform: translateY(-120%);
        transition: transform 220ms ease;
    }

    .nav-open .site-nav {
        transform: translateY(0);
    }

    .menu {
        align-items: stretch;
        flex-direction: column;
        gap: 4px;
    }

    .menu a {
        min-height: 48px;
        padding: 0 8px;
        border-radius: var(--radius);
    }

    .menu a:hover {
        background: var(--color-soft);
    }

    .hero {
        min-height: calc(72svh - var(--header-height));
        background-position: center;
    }

    .hero__shade {
        background: linear-gradient(0deg, rgba(17, 49, 47, 0.88), rgba(17, 49, 47, 0.36));
    }

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

    .hero h1 {
        overflow-wrap: anywhere;
        font-size: clamp(1.9rem, 7.8vw, 2.35rem);
    }

    .hero__logo {
        width: 108px;
    }

    .hero__lead {
        margin-top: 16px;
        font-size: 1rem;
        line-height: 1.55;
    }

    .hero__trust {
        margin-top: 14px;
        font-size: 0.92rem;
    }

    .badge-row {
        margin: 18px 0 24px;
    }

    .button-row {
        align-items: stretch;
        flex-direction: column;
    }

    .button-row .button {
        width: 100%;
    }

    .media-band,
    .feature-water,
    .home-balneo-teaser,
    .page-hero--light,
    .page-hero--balneo,
    .sport-layout,
    .contact-layout,
    .list-columns,
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .home-service-list {
        grid-template-columns: 1fr;
    }

    .home-proof-rail {
        grid-template-columns: 1fr;
    }

    .home-proof-rail__item,
    .home-proof-rail__item:first-child,
    .home-proof-rail__item:last-child {
        padding: 18px 0;
        border-right: 0;
        border-bottom: 1px solid var(--color-border);
    }

    .home-proof-rail__item:last-child {
        border-bottom: 0;
    }

    .home-balneo-teaser {
        gap: 20px;
        margin-top: 38px;
        margin-bottom: 38px;
    }

    .home-balneo-teaser .button {
        width: 100%;
    }

    .home-service:nth-child(odd) {
        border-right: 0;
    }

    .home-trust-grid .text-panel {
        padding-right: 0;
    }

    .home-trust-grid .text-panel:not(:last-child) {
        margin-right: 0;
        padding-bottom: 20px;
        border-right: 0;
        border-bottom: 1px solid rgba(15, 88, 80, 0.18);
    }

    .media-band {
        gap: 26px;
    }

    .media-band__image {
        order: -1;
    }

    .team-feature img {
        aspect-ratio: 16 / 10;
        max-height: 360px;
        object-position: center 34%;
    }

    .page-hero {
        min-height: 310px;
    }

    .page-hero__inner {
        padding: 44px 0 40px;
    }

    .page-hero--light,
    .page-hero--balneo {
        padding: 44px 0;
    }

    .sport-layout__image {
        position: static;
    }

    .site-footer__bottom {
        flex-direction: column;
    }

    .mobile-cta {
        position: fixed;
        z-index: 130;
        right: 10px;
        bottom: 10px;
        left: 10px;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
        padding: 7px;
        border: 1px solid var(--color-border);
        border-radius: var(--radius);
        background: rgba(255, 255, 255, 0.96);
        box-shadow: var(--shadow-soft);
        backdrop-filter: blur(12px);
    }

    .mobile-cta a {
        min-height: 54px;
        display: grid;
        place-items: center;
        gap: 3px;
        border-radius: var(--radius);
        color: var(--color-text);
        font-size: 0.8rem;
        font-weight: 800;
        text-decoration: none;
    }

    .mobile-cta .icon {
        width: 24px;
        height: 24px;
        background: transparent;
    }

    .cookie-banner {
        right: 10px;
        bottom: 92px;
        left: 10px;
        width: calc(100vw - 20px);
        max-width: none;
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 600px) {
    .specialty-grid,
    .team-grid,
    .info-grid,
    .photo-gallery,
    .site-footer__inner {
        grid-template-columns: 1fr;
    }

    .section,
    .section--soft,
    .media-band,
    .feature-water {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .section__header {
        margin-bottom: 24px;
    }

    .section__header h2,
    .media-band h2,
    .feature-water h2,
    .final-cta h2 {
        font-size: clamp(1.65rem, 7vw, 2rem);
    }

    .specialty-card,
    .team-card,
    .info-item,
    .text-panel {
        min-height: 0;
        padding: 20px;
    }

    .team-card--osteopath.team-card--with-photo {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 22px;
    }

    .team-card--osteopath .team-card__photo,
    .team-card--osteopath .team-card__photo img {
        min-height: 240px;
    }

    .osteopath-competencies {
        grid-template-columns: 1fr;
    }

    .osteopath-competency--wide {
        grid-column: auto;
    }

    .photo-gallery__item img {
        aspect-ratio: 4 / 3;
    }

    .contact-layout__main,
    .contact-layout__side,
    .legal-page {
        padding: 24px 20px;
    }

    .final-cta {
        margin-bottom: 56px;
        padding: 30px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .js .reveal-on-scroll {
        opacity: 1;
        transform: none;
    }
}

/* Optional client-controlled image layout. The automatic layout remains the
 * default; these rules are activated only after an explicit choice in /gestion. */
.fs-layout-section.fs-layout-image-left .media-band {
    grid-template-columns: minmax(0, var(--fs-editor-image-width, 50%)) minmax(0, 1fr);
}

.fs-layout-section.fs-layout-image-right .media-band {
    grid-template-columns: minmax(0, 1fr) minmax(0, var(--fs-editor-image-width, 50%));
}

.fs-layout-section.fs-layout-image-left .media-band__image,
.fs-layout-section.fs-layout-image-right .media-band__image {
    width: 100%;
}

.fs-layout-section.fs-layout-image-right .media-band__image {
    order: 2;
}

.fs-layout-section.fs-layout-image-center .media-band,
.fs-layout-section.fs-layout-image-top .media-band {
    display: block;
}

.fs-layout-section.fs-layout-image-center .media-band__image,
.fs-layout-section.fs-layout-image-top .media-band__image {
    width: min(var(--fs-editor-image-width, 50%), 100%);
    margin: 0 auto 28px;
}

.fs-layout-section.fs-layout-image-center .team-feature,
.fs-layout-section.fs-layout-image-top .team-feature,
.fs-layout-section.fs-layout-image-center .sport-layout__image,
.fs-layout-section.fs-layout-image-top .sport-layout__image {
    width: min(var(--fs-editor-image-width, 50%), 100%);
    margin-right: auto;
    margin-left: auto;
}

.fs-layout-section.fs-layout-image-left .page-hero,
.fs-layout-section.fs-layout-image-left.page-hero {
    background-position: left center;
}

.fs-layout-section.fs-layout-image-right .page-hero,
.fs-layout-section.fs-layout-image-right.page-hero {
    background-position: right center;
}

.fs-layout-section.fs-layout-image-top .page-hero,
.fs-layout-section.fs-layout-image-center .page-hero,
.fs-layout-section.fs-layout-image-top.page-hero,
.fs-layout-section.fs-layout-image-center.page-hero {
    background-position: center center;
}

.fs-layout-section.fs-layout-image-left.page-hero--light,
.fs-layout-section.fs-layout-image-right.page-hero--light {
    grid-template-columns: minmax(0, var(--fs-editor-image-width, 50%)) minmax(0, 1fr);
}

.fs-layout-section.fs-layout-image-left.page-hero--light .page-hero__portrait {
    grid-column: 1;
    grid-row: 1;
}

.fs-layout-section.fs-layout-image-left.page-hero--light .page-hero__inner {
    grid-column: 2;
    grid-row: 1;
}

.fs-layout-section.fs-layout-image-right.page-hero--light .page-hero__portrait {
    grid-column: 2;
    grid-row: 1;
}

.fs-layout-section.fs-layout-image-right.page-hero--light .page-hero__inner {
    grid-column: 1;
    grid-row: 1;
}

.fs-layout-section.fs-layout-image-center.page-hero--light,
.fs-layout-section.fs-layout-image-top.page-hero--light {
    display: block;
}

.fs-layout-section.fs-layout-image-center.page-hero--light .page-hero__portrait,
.fs-layout-section.fs-layout-image-top.page-hero--light .page-hero__portrait,
.fs-layout-section.fs-layout-image-center .page-hero__water,
.fs-layout-section.fs-layout-image-top .page-hero__water {
    width: min(var(--fs-editor-image-width, 50%), 100%);
    margin: 0 auto 28px;
}

@media (max-width: 760px) {
    .fs-layout-section.fs-layout-image-left .media-band,
    .fs-layout-section.fs-layout-image-right .media-band,
    .fs-layout-section.fs-layout-image-left.page-hero--light,
    .fs-layout-section.fs-layout-image-right.page-hero--light {
        grid-template-columns: 1fr;
    }

    .fs-layout-section.fs-layout-image-left.page-hero--light .page-hero__inner,
    .fs-layout-section.fs-layout-image-right.page-hero--light .page-hero__inner,
    .fs-layout-section.fs-layout-image-left.page-hero--light .page-hero__portrait,
    .fs-layout-section.fs-layout-image-right.page-hero--light .page-hero__portrait {
        grid-column: auto;
        grid-row: auto;
    }

    .fs-layout-section.fs-layout-image-left .media-band__image,
    .fs-layout-section.fs-layout-image-right .media-band__image {
        order: -1;
    }
}

@media (max-width: 820px) {
    .team-grid--individual {
        grid-template-columns: 1fr;
    }

    .team-card--practitioner {
        min-height: 230px;
        padding: 0;
        grid-template-columns: minmax(130px, .78fr) minmax(0, 1.22fr);
    }

    .team-card--practitioner .team-card__photo,
    .team-card--practitioner .team-card__photo img {
        min-height: 230px;
    }

    .team-card--practitioner .team-card__content {
        padding: 20px;
    }
}

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

    .team-card--practitioner .team-card__photo,
    .team-card--practitioner .team-card__photo img {
        height: 250px;
        min-height: 250px;
    }
}

/* Keep the balneotherapy hero readable when its image position is changed from the client editor. */
@media (min-width: 761px) {
    .fs-layout-section.page-hero--balneo {
        grid-template-columns: minmax(0, 1fr) minmax(260px, 0.5fr);
    }

    .fs-layout-section.page-hero--balneo .page-hero__inner {
        width: auto;
        max-width: 820px;
        min-width: 0;
    }

    .fs-layout-section.page-hero--balneo h1,
    .fs-layout-section.page-hero--balneo p {
        width: auto;
        max-width: 100%;
        min-width: 0;
        white-space: normal;
        writing-mode: horizontal-tb;
    }

    .fs-layout-section.page-hero--balneo.fs-layout-image-left .page-hero__inner,
    .fs-layout-section.page-hero--balneo.fs-layout-image-right .page-hero__inner {
        grid-column: 1;
        grid-row: 1;
    }

    .fs-layout-section.page-hero--balneo.fs-layout-image-left .page-hero__water,
    .fs-layout-section.page-hero--balneo.fs-layout-image-right .page-hero__water {
        grid-column: 2;
        grid-row: 1;
    }

    .fs-layout-section.page-hero--balneo.fs-layout-image-center,
    .fs-layout-section.page-hero--balneo.fs-layout-image-top {
        grid-template-columns: minmax(0, 1fr);
    }

    .fs-layout-section.page-hero--balneo.fs-layout-image-center .page-hero__water,
    .fs-layout-section.page-hero--balneo.fs-layout-image-top .page-hero__water {
        grid-row: 2;
        width: min(var(--fs-editor-image-width, 50%), 100%);
        margin: 28px auto 0;
    }
}
/* Keep centered Kiné callouts readable at every viewport. */
.fs-layout-section.feature-water.fs-layout-image-center,
.fs-layout-section.feature-water.fs-layout-image-top {
    display: block;
}
.fs-layout-section.feature-water.fs-layout-image-center .feature-water__visual,
.fs-layout-section.feature-water.fs-layout-image-top .feature-water__visual {
    width: min(var(--fs-editor-image-width, 50%), 100%);
    margin: 0 auto 28px;
}
.fs-layout-section.feature-water.fs-layout-image-center .feature-water__text,
.fs-layout-section.feature-water.fs-layout-image-top .feature-water__text {
    width: min(640px, 100%);
    margin: 0 auto;
}
.fs-layout-section.feature-water[style*="--fs-editor-image-position:center"],
.fs-layout-section.feature-water[style*="--fs-editor-image-position:top"] {
    display: block;
}

.fs-layout-section.feature-water[style*="--fs-editor-image-position:center"] .feature-water__visual,
.fs-layout-section.feature-water[style*="--fs-editor-image-position:top"] .feature-water__visual {
    width: min(var(--fs-editor-image-width, 50%), 100%);
    margin: 0 auto 28px;
}

.fs-layout-section.feature-water[style*="--fs-editor-image-position:center"] .feature-water__text,
.fs-layout-section.feature-water[style*="--fs-editor-image-position:top"] .feature-water__text {
    width: min(640px, 100%);
    margin: 0 auto;
}

.feature-water__text {
    min-width: 0;
    writing-mode: horizontal-tb;
}
/* Centered Kiné callout: balanced visual hierarchy. */
.feature-water__visual img {
    width: min(460px, 100%);
}
.fs-layout-section.feature-water[style*="--fs-editor-image-position:center"],
.fs-layout-section.feature-water[style*="--fs-editor-image-position:top"] {
    text-align: center;
    padding-top: clamp(48px, 6vw, 72px);
    padding-bottom: clamp(48px, 6vw, 72px);
}
.fs-layout-section.feature-water[style*="--fs-editor-image-position:center"] .feature-water__visual,
.fs-layout-section.feature-water[style*="--fs-editor-image-position:top"] .feature-water__visual {
    min-height: 220px;
    display: grid;
    place-items: center;
}
.fs-layout-section.feature-water[style*="--fs-editor-image-position:center"] .feature-water__text,
.fs-layout-section.feature-water[style*="--fs-editor-image-position:top"] .feature-water__text {
    max-width: 620px;
}
.fs-layout-section.feature-water[style*="--fs-editor-image-position:center"] .feature-water__text .button,
.fs-layout-section.feature-water[style*="--fs-editor-image-position:top"] .feature-water__text .button {
    margin-right: auto;
    margin-left: auto;
}
.badge-row a {
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 750;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.badge-row a:hover,
.badge-row a:focus-visible {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.28);
    color: #fff;
    transform: translateY(-1px);
}
.fs-layout-section.feature-water {
    margin-right: auto;
    margin-left: auto;
    padding-right: clamp(20px, 5vw, 72px);
    padding-left: clamp(20px, 5vw, 72px);
}
.hero__content {
    max-width: 900px;
}

.hero h1 {
    max-width: 900px;
    font-size: clamp(2.45rem, 4.2vw, 3.25rem);
}
.hero__content {
    max-width: 1050px;
}

.hero h1 {
    max-width: 1050px;
}
.home-pathways > a {
    color: inherit;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.home-pathways > a:hover,
.home-pathways > a:focus-visible {
    border-color: var(--color-primary);
    box-shadow: 0 14px 30px rgba(15, 88, 80, 0.12);
    transform: translateY(-2px);
}

.sport-page-content .sport-layout__image{aspect-ratio:1/1;overflow:hidden;border-radius:8px;background:#fff}.sport-page-content .sport-layout__image img{width:100%;height:100% !important;aspect-ratio:1/1;object-fit:contain;box-shadow:none}.sport-page-content .text-panel{padding-top:18px;padding-bottom:18px}

/* FormSante: header and pool image refinement */
.site-header.is-scrolled{box-shadow:0 4px 14px rgba(32,51,50,.06)}.site-brand>a{display:flex;align-items:center;justify-content:center;width:104px;height:70px;overflow:hidden}.site-brand img{width:126px;max-width:none;height:auto}.home-balneo-teaser{grid-template-columns:minmax(220px,310px) minmax(0,1fr);gap:clamp(24px,4vw,48px)}.home-balneo-teaser__visual{aspect-ratio:4/3;min-height:0;padding:0;overflow:hidden}.home-balneo-teaser__visual img{width:100%;max-width:none;height:100%;object-fit:contain}@media(max-width:820px){.site-brand>a{width:96px;height:64px}.site-brand img{width:112px}.home-balneo-teaser{grid-template-columns:1fr}}

.site-header__inner{width:min(1440px,calc(100% - 40px))}

.page-hero.page-hero--balneo .page-hero__inner .eyebrow { color: #176b63; }

/* Wellness editorial polish 20261107 */
.wellness-services-section,.wellness-workshops-section{padding-block:48px}.wellness-services-section .section__header,.wellness-workshops-section .section__header{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:24px 48px;max-width:none;margin-bottom:28px;align-items:start}.wellness-services-section .section__header h2,.wellness-workshops-section .section__header h2{margin:0;font-size:30px;line-height:1.25}.wellness-services-section .section__header p,.wellness-workshops-section .section__header p{margin:0;max-width:64ch}.wellness-services-section .specialty-grid,.wellness-workshops-section .specialty-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 40px}.wellness-services-section .specialty-card,.wellness-workshops-section .specialty-card{min-width:0;padding:28px 0;border:0;border-top:1px solid #cbded9;border-radius:0;background:transparent;box-shadow:none}.wellness-services-section .specialty-card h3,.wellness-workshops-section .specialty-card h3{font-size:23px;line-height:1.3}.wellness-services-section .specialty-card p,.wellness-workshops-section .specialty-card p{max-width:56ch;white-space:pre-line}.sport-page-content .sport-layout__image{max-width:460px;justify-self:center}@media(max-width:820px){.wellness-services-section,.wellness-workshops-section{padding-block:32px}.wellness-services-section .section__header,.wellness-workshops-section .section__header{grid-template-columns:1fr;gap:16px}}@media(max-width:560px){.wellness-services-section .specialty-grid,.wellness-workshops-section .specialty-grid{grid-template-columns:1fr}}

.sport-page-content .sport-layout__image{position:static;top:auto;align-self:center;}
