/* ==========================================================================
   Studio MyReformer — feuille de style du site public
   Charte de marque v2.0 :
   - Bleu Encre #0F1B2E (surfaces "cocon"), nuances #07141F / #2D3D4B / #5D6871
   - Rosé #F3E3E5 (logo, boutons sur fond sombre), nuances #FBF2F3 / #D8B6BA / #A17D81
   - Titres : Tan Twinkle → remplacée par Playfair Display (webfont libre), logo en image
   - Texte : Montserrat
   ========================================================================== */

:root {
    --ink: #0F1B2E;
    --ink-deep: #07141F;
    --ink-soft: #2D3D4B;
    --ink-muted: #5D6871;
    --rose: #F3E3E5;
    --rose-pale: #FBF2F3;
    --rose-mid: #D8B6BA;
    --rose-dark: #A17D81;
    --paper: #FBF7F5;
    --line-light: rgba(243, 227, 229, 0.22);
    --line-dark: rgba(161, 125, 129, 0.35);
    --font-title: "Playfair Display", Georgia, serif;
    --font-body: "Montserrat", "Segoe UI", sans-serif;
    --container: 1180px;
    --header-h: 84px;
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.97rem;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

p {
    margin: 0 0 1.1em;
}

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

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ---------- Typographie ---------- */

.eyebrow {
    margin: 0 0 18px;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--rose-dark);
}

.eyebrow--light { color: var(--rose-mid); }
.eyebrow--center { text-align: center; }

.display,
.title {
    margin: 0 0 22px;
    font-family: var(--font-title);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: -0.01em;
}

.display {
    font-size: clamp(2.3rem, 4.6vw, 3.6rem);
    color: var(--rose);
}

.display--sm { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }

.title {
    font-size: clamp(1.75rem, 3vw, 2.4rem);
    color: var(--ink);
}

.title--sm { font-size: clamp(1.45rem, 2.2vw, 1.8rem); }

.display em,
.title em {
    font-style: italic;
}

.lead {
    max-width: 46ch;
    font-size: 1rem;
    font-weight: 300;
    color: rgba(243, 227, 229, 0.86);
}

.dash {
    display: block;
    width: 44px;
    height: 1px;
    margin: 6px 0 26px;
    background: var(--rose-mid);
}

.quote {
    margin-top: 1.6em;
    font-family: var(--font-title);
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.5;
    color: var(--ink-soft);
}

.key-phrases {
    margin: 1.8em 0 0;
    padding: 0 0 0 20px;
    border-left: 2px solid var(--rose-mid);
    list-style: none;
    font-family: var(--font-title);
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--ink);
}

/* ---------- Boutons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 30px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}

.btn:hover { transform: translateY(-2px); }

.btn__arrow {
    width: 16px;
    height: 16px;
    stroke-width: 2;
    transition: transform 0.3s var(--ease);
}

.btn:hover .btn__arrow { transform: translateX(3px); }

.btn--light {
    background: var(--rose);
    color: var(--ink);
}

.btn--light:hover { background: #fff; }

.btn--dark {
    background: var(--ink);
    color: var(--rose);
}

.btn--dark:hover { background: var(--ink-soft); }

.btn--outline {
    border-color: var(--rose-dark);
    color: var(--ink);
}

.btn--outline:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--rose);
}

.btn--small { padding: 11px 22px; }

/* ---------- Icônes ---------- */

.icon {
    width: 52px;
    height: 52px;
    color: var(--rose-dark);
}

.icon--lg {
    width: 84px;
    height: 84px;
}

/* ---------- Ondes (décor façon vitrine) ---------- */

.waves {
    position: absolute;
    pointer-events: none;
}

.waves path {
    fill: none;
    stroke: var(--rose-mid);
    stroke-width: 1.1;
    vector-effect: non-scaling-stroke;
    opacity: 0.45;
}

.waves path + path { opacity: 0.28; }

.waves--hero {
    left: 0;
    bottom: 0;
    width: 100%;
    height: 120px;
}

.waves--cta {
    right: 0;
    bottom: 0;
    width: 60%;
    height: 110px;
}

/* ==========================================================================
   En-tête
   ========================================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--ink);
    border-bottom: 1px solid rgba(243, 227, 229, 0.08);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: var(--header-h);
    max-width: 1320px;
}

.site-header__logo img {
    width: 200px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav a:not(.btn) {
    position: relative;
    padding: 6px 0;
    color: var(--rose);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 0.2s;
}

.main-nav a:not(.btn)::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: var(--rose);
    transform: translateX(-50%);
    transition: width 0.3s var(--ease);
}

.main-nav a:not(.btn):hover,
.main-nav a.is-active {
    opacity: 1;
}

.main-nav a:not(.btn):hover::after,
.main-nav a.is-active::after {
    width: 28px;
}

.main-nav__cta { margin-left: 14px; }

.nav-toggle {
    display: none;
    position: relative;
    width: 44px;
    height: 44px;
    border: 0;
    background: none;
    cursor: pointer;
}

.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
    position: absolute;
    left: 10px;
    width: 24px;
    height: 1.5px;
    background: var(--rose);
    transition: transform 0.3s var(--ease), background 0.2s;
}

.nav-toggle__bar { top: 21px; }
.nav-toggle__bar::before { content: ""; left: 0; top: -7px; }
.nav-toggle__bar::after { content: ""; left: 0; top: 7px; }

.nav-open .nav-toggle__bar { background: transparent; }
.nav-open .nav-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Héros
   ========================================================================== */

/* Panneau Bleu Encre + photo (accueil) */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: min(78vh, 640px);
    background: var(--ink);
}

.hero-split__text {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 80px 60px 110px max(28px, calc((100vw - var(--container)) / 2 + 28px));
}

.hero-split__media {
    position: relative;
}

.hero-split__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Photo pleine largeur, texte sur dégradé (pages intérieures) */
.hero-photo {
    position: relative;
    display: flex;
    align-items: center;
    min-height: min(72vh, 600px);
    padding: 90px 0 110px;
    background:
        linear-gradient(90deg, rgba(7, 20, 31, 0.92) 0%, rgba(7, 20, 31, 0.72) 38%, rgba(7, 20, 31, 0.1) 72%),
        var(--hero-image) right center / auto 100% no-repeat,
        var(--ink);
    overflow: hidden;
}

.hero-photo__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* En-tête simple (blog, contact, pages légales) */
.page-head {
    position: relative;
    padding: 90px 0 110px;
    background: var(--ink);
    overflow: hidden;
}

.page-head--small { padding: 70px 0 60px; }
.page-head--article { padding-bottom: 70px; }

.back-link {
    display: inline-block;
    margin-bottom: 26px;
    color: var(--rose-mid);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
}

.back-link:hover { color: var(--rose); }

/* ==========================================================================
   Sections
   ========================================================================== */

.section {
    padding: 96px 0;
}

.section--rose { background: var(--rose); }
.section--paper { background: var(--paper); }

.section-head {
    max-width: 680px;
    margin: 0 auto 56px;
    text-align: center;
}

/* Deux formules (accueil) */
.offers {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.offer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 40px;
    text-align: center;
    text-decoration: none;
    color: var(--ink-soft);
}

.offer + .offer { border-left: 1px solid var(--line-dark); }

.offer__title {
    margin: 22px 0 14px;
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 2;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--ink);
}

.offer p {
    max-width: 30ch;
    margin: 0;
    font-family: var(--font-title);
    font-size: 1.08rem;
}

.offer .icon { transition: transform 0.4s var(--ease); }
.offer:hover .icon { transform: translateY(-4px); }

/* Photo + texte */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--paper);
}

.split__media {
    position: relative;
    min-height: 420px;
}

.split__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.split__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 90px max(28px, calc((100vw - var(--container)) / 2 + 28px)) 90px 72px;
    color: var(--ink-soft);
}

.split__text > p { max-width: 54ch; }
.split__text > .eyebrow { max-width: none; }

.split__text--rose { background: var(--rose-pale); }

.split--reverse .split__media { order: 2; }

.split--reverse .split__text {
    padding: 90px 72px 90px max(28px, calc((100vw - var(--container)) / 2 + 28px));
}

/* Bande Bleu Encre */
.band-dark {
    padding: 72px 0;
    background: var(--ink);
    color: var(--rose);
}

.band-dark .eyebrow { margin-bottom: 48px; }

/* Liste d'atouts avec séparateurs verticaux */
.features {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
}

.features--4 { grid-template-columns: repeat(4, 1fr); }
.features--5 { grid-template-columns: repeat(5, 1fr); }
.features--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.features--6 li { padding: 4px 14px; }
.features--6 h3 { letter-spacing: 0.14em; }

.features li {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4px 22px;
    text-align: center;
}

.features li + li { border-left: 1px solid var(--line-dark); }

.features h3 {
    margin: 18px 0 10px;
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1.9;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.features p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--ink-muted);
}

.features--dark li + li { border-left-color: var(--line-light); }
.features--dark .icon { color: var(--rose); }
.features--dark p { color: rgba(243, 227, 229, 0.75); }

.features--compact {
    width: 100%;
    margin-top: 28px;
}

.features--compact li { padding: 4px 10px; }
.features--compact .icon { width: 36px; height: 36px; }
.features--compact h3 { margin-bottom: 0; font-size: 0.6rem; letter-spacing: 0.16em; }

/* Tuiles des bienfaits */
.tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.tiles li {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 34px 20px 30px;
    background: var(--rose-pale);
    border: 1px solid rgba(216, 182, 186, 0.45);
    text-align: center;
    transition: transform 0.4s var(--ease), box-shadow 0.4s;
}

.tiles li:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px -26px rgba(15, 27, 46, 0.35);
}

.tiles h3 {
    margin: 16px 0 0;
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1.9;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.tiles h3::after {
    content: "";
    display: block;
    width: 26px;
    height: 1px;
    margin: 14px auto 0;
    background: var(--rose-mid);
}

/* Le Studio : galerie + coach */
.studio-coach {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 14px;
    padding: 0 14px 14px;
    background: var(--paper);
}

.gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 14px;
    min-height: 440px;
}

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

.gallery__tall { grid-row: span 2; }

.coach-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    background: var(--rose-pale);
}

.coach-card__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px;
    color: var(--ink-soft);
}

.coach-card__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 0 14px 14px;
    background: var(--paper);
}

.duo__item {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
    background: var(--rose-pale);
}

.duo__item img {
    width: 100%;
    height: 100%;
    min-height: 240px;
    object-fit: cover;
}

.duo__item > div {
    padding: 32px 36px;
    color: var(--ink-soft);
}

.duo__item p:last-child { margin: 0; }

/* Infos pratiques (Le Studio, Contact) */
.infos {
    padding: 72px 0;
    background: var(--ink);
    color: var(--rose);
}

.infos__grid {
    display: grid;
    grid-template-columns: 1fr 0.8fr 1.3fr;
}

.infos__col {
    padding: 0 40px;
}

.infos__col:first-child { padding-left: 0; }
.infos__col:last-child { padding-right: 0; }
.infos__col + .infos__col { border-left: 1px solid var(--line-light); }

.infos__title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 26px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.infos__title .icon {
    width: 30px;
    height: 30px;
    color: var(--rose);
}

.infos__hours {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 24px;
}

.infos__label {
    margin-bottom: 8px;
    font-size: 0.64rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--rose-mid);
}

.infos__big {
    font-family: var(--font-title);
    font-size: 1.35rem;
    line-height: 1.4;
}

.infos__line {
    display: flex;
    gap: 16px;
    margin-bottom: 8px;
}

.infos__line span {
    min-width: 72px;
    color: var(--rose-mid);
}

.infos__line a { text-decoration: none; }
.infos__line a:hover { text-decoration: underline; }

.infos .btn { margin-top: 18px; }

.infos__map {
    display: block;
    width: 100%;
    height: 180px;
    border: 0;
    filter: grayscale(0.35) contrast(0.95);
}

.infos__maplink {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.75rem;
    color: var(--rose-mid);
}

/* Bandeau d'appel à l'action */
.cta-band {
    position: relative;
    padding: 110px 0;
    overflow: hidden;
    background: var(--ink-deep);
    text-align: center;
    color: var(--rose);
}

.cta-band__bg {
    position: absolute;
    inset: -12px;
    background-size: cover;
    background-position: center;
    filter: blur(2px);
    opacity: 0.45;
}

.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(7, 20, 31, 0.55), rgba(7, 20, 31, 0.75));
}

.cta-band__inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-band__title {
    margin: 0 0 34px;
    font-family: var(--font-title);
    font-weight: 400;
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    line-height: 1.2;
}

.cta-band .waves { z-index: 2; }

/* ==========================================================================
   Blog
   ========================================================================== */

.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.article-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    text-decoration: none;
    color: var(--ink);
    transition: transform 0.4s var(--ease), box-shadow 0.4s;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 48px -30px rgba(15, 27, 46, 0.4);
}

.article-card__image {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--ink);
}

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

.article-card__image .article-card__placeholder {
    width: 72px;
    height: auto;
    opacity: 0.8;
}

.article-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 26px 26px 30px;
}

.article-card__date {
    margin-bottom: 10px;
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--rose-dark);
}

.article-card__title {
    margin: 0 0 12px;
    font-family: var(--font-title);
    font-size: 1.35rem;
    font-weight: 400;
    line-height: 1.3;
}

.article-card__excerpt {
    flex: 1;
    font-size: 0.9rem;
    color: var(--ink-muted);
}

.article-card__link {
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--rose-dark);
}

.empty-state {
    padding: 40px 0;
    text-align: center;
    font-family: var(--font-title);
    font-size: 1.2rem;
    color: var(--ink-muted);
}

.article-detail__cover {
    max-width: 900px;
    margin: -150px auto 56px;
    position: relative;
}

.article-detail__content,
.prose {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.02rem;
    color: var(--ink-soft);
}

.article-detail__content h2,
.article-detail__content h3,
.prose h2 {
    margin: 1.8em 0 0.6em;
    font-family: var(--font-title);
    font-weight: 400;
    color: var(--ink);
}

.prose h2 { font-size: 1.5rem; }
.prose h2:first-child { margin-top: 0; }

.article-detail__content a,
.prose a { color: var(--rose-dark); }

.article-detail__content blockquote {
    margin: 1.6em 0;
    padding-left: 22px;
    border-left: 2px solid var(--rose-mid);
    font-family: var(--font-title);
    font-style: italic;
    font-size: 1.15rem;
}

/* Images insérées depuis l'éditeur du back-office (Trix) */
.article-detail__content figure { margin: 32px 0; }

.article-detail__content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.article-detail__content figcaption {
    margin-top: 10px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--ink-muted);
}

/* Trix ajoute nom + poids du fichier dans la légende : inutile côté public */
.article-detail__content .attachment__name,
.article-detail__content .attachment__size { display: none; }

.article-detail__content .attachment-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.article-detail__content .attachment-gallery figure {
    flex: 1 1 200px;
    margin: 0;
}

/* ==========================================================================
   Contact & formulaires
   ========================================================================== */

.contact-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 72px;
}

.contact-call {
    padding-right: 40px;
    border-right: 1px solid var(--line-dark);
}

.contact-call__phone {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
    font-family: var(--font-title);
    font-size: 1.6rem;
    text-decoration: none;
    color: var(--ink);
}

.contact-call__phone .icon {
    width: 26px;
    height: 26px;
}

.contact-call__phone:hover { color: var(--rose-dark); }

.contact-call__note {
    margin-top: 24px;
    font-size: 0.9rem;
    color: var(--ink-muted);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
}

.form-row { margin-bottom: 20px; }

.form-row label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.form-row input,
.form-row textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(93, 104, 113, 0.35);
    border-radius: 0;
    background: #fff;
    font: inherit;
    color: var(--ink);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-row input:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--rose-dark);
    box-shadow: 0 0 0 3px rgba(216, 182, 186, 0.35);
}

.form-errors ul {
    margin: 6px 0 0;
    padding: 0;
    list-style: none;
    font-size: 0.82rem;
    color: #a0383c;
}

.form-note {
    font-size: 0.8rem;
    color: var(--ink-muted);
}

.form-note a { color: var(--rose-dark); }

.flash {
    margin: 24px 0 0;
    padding: 16px 20px;
    border-left: 3px solid var(--rose-dark);
    background: var(--rose-pale);
    color: var(--ink);
}

/* ==========================================================================
   Pied de page
   ========================================================================== */

.site-footer {
    background: var(--ink-deep);
    color: var(--rose);
}

.site-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-top: 44px;
    padding-bottom: 36px;
    max-width: 1320px;
}

.site-footer__logo img { width: 190px; }

.site-footer__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
}

.site-footer__nav a,
.site-footer__signature {
    font-size: 0.64rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none;
    opacity: 0.85;
}

.site-footer__nav a:hover { opacity: 1; text-decoration: underline; }

.site-footer__social {
    display: flex;
    align-items: center;
    gap: 16px;
}

.site-footer__social .icon {
    width: 24px;
    height: 24px;
    color: var(--rose);
}

.site-footer__signature {
    padding-left: 16px;
    border-left: 1px solid var(--line-light);
    white-space: nowrap;
}

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 24px;
    padding-top: 18px;
    padding-bottom: 22px;
    max-width: 1320px;
    border-top: 1px solid rgba(243, 227, 229, 0.1);
    font-size: 0.72rem;
    color: rgba(243, 227, 229, 0.6);
}

.site-footer__legal a { text-decoration: none; }
.site-footer__legal a:hover { color: var(--rose); }

/* ==========================================================================
   Connexion back-office (templates/security/login.html.twig)
   ========================================================================== */

.login-page {
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: 24px;
    background: var(--ink);
}

.login-card {
    width: 100%;
    max-width: 400px;
    padding: 44px 38px;
    background: var(--paper);
}

.login-card__logo {
    width: 220px;
    margin: 0 auto 10px;
}

.login-card .subtitle {
    margin-bottom: 28px;
    text-align: center;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--rose-dark);
}

.login-card .btn {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
}

.login-error {
    margin-bottom: 20px;
    padding: 12px 16px;
    border-left: 3px solid #a0383c;
    background: #fbeeee;
    font-size: 0.88rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1180px) {
    .main-nav { gap: 20px; }
    .main-nav__cta { margin-left: 4px; }
    .site-header__logo img { width: 170px; }
    .studio-coach { grid-template-columns: 1fr; }
    .features--5 { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
    .features--5 li:nth-child(4) { border-left: 0; }
}

@media (max-width: 1040px) {
    .nav-toggle { display: block; }

    .main-nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        justify-content: flex-start;
        gap: 6px;
        padding: 40px 28px;
        background: var(--ink);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s;
    }

    .nav-open .main-nav {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav-open { overflow: hidden; }

    .main-nav a:not(.btn) {
        padding: 12px 0;
        font-size: 0.82rem;
    }

    .main-nav__cta { margin: 24px 0 0; }

    .site-footer__inner {
        flex-direction: column;
        text-align: center;
    }

    .site-footer__nav { justify-content: center; }
}

@media (max-width: 900px) {
    .section { padding: 72px 0; }

    .hero-split,
    .split,
    .offers,
    .duo,
    .contact-layout,
    .infos__grid {
        grid-template-columns: 1fr;
    }

    .hero-split__media { min-height: 340px; order: -1; }

    .hero-split__text,
    .split__text,
    .split--reverse .split__text {
        padding: 64px 28px;
    }

    .hero-photo {
        min-height: 0;
        padding: 80px 0 100px;
        background:
            linear-gradient(180deg, rgba(7, 20, 31, 0.55), rgba(7, 20, 31, 0.9)),
            var(--hero-image) center / cover no-repeat,
            var(--ink);
    }

    .split--reverse .split__media { order: 0; }
    .split__media { min-height: 300px; }

    .offer { padding: 36px 10px; }
    .offer + .offer { border-left: 0; border-top: 1px solid var(--line-dark); }

    .features--4,
    .features--5,
    .features--6 { grid-template-columns: 1fr 1fr; row-gap: 40px; }
    .features li + li { border-left: 0; }
    .features li:nth-child(even) { border-left: 1px solid var(--line-dark); }
    .features--dark li:nth-child(even) { border-left-color: var(--line-light); }

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

    .coach-card { grid-template-columns: 1fr; }
    .coach-card__photo { max-height: 380px; order: -1; }

    .duo__item { grid-template-columns: 1fr 1.4fr; }

    .infos__col,
    .infos__col:first-child,
    .infos__col:last-child { padding: 32px 0; }
    .infos__col + .infos__col { border-left: 0; border-top: 1px solid var(--line-light); }

    .contact-call { padding: 0 0 40px; border-right: 0; border-bottom: 1px solid var(--line-dark); }

    .article-grid { grid-template-columns: 1fr 1fr; }
    .article-detail__cover { margin-top: -100px; }

    .waves--cta { width: 100%; }
}

@media (max-width: 560px) {
    .container { padding: 0 20px; }
    .site-header__logo img { width: 150px; }
    .features--compact { grid-template-columns: 1fr 1fr; }
    .tiles { grid-template-columns: 1fr; }
    .gallery { grid-template-columns: 1fr 1fr; min-height: 320px; }
    .duo__item { grid-template-columns: 1fr; }
    .duo__item img { min-height: 200px; max-height: 240px; }
    .form-grid { grid-template-columns: 1fr; }
    .infos__hours { grid-template-columns: 1fr; }
    .article-grid { grid-template-columns: 1fr; }
    .site-footer__social { flex-wrap: wrap; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
