/* Polices hébergées sur seizy.fr (aucune requête vers Google : pas de transfert d'adresses IP).
   Cormorant Garamond et Inter — licence SIL Open Font License 1.1 (voir /fonts/LICENCES.txt).
   Fichiers à graisse variable : un seul fichier sert plusieurs graisses. */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/cormorant-garamond-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/cormorant-garamond-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/cormorant-garamond-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/cormorant-garamond-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/cormorant-garamond-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/cormorant-garamond-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/cormorant-garamond-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/cormorant-garamond-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/cormorant-garamond-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/cormorant-garamond-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/inter-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/inter-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/inter-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/inter-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/inter-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/inter-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* ==========================================================================
   SEIZY — design system
   Palette : crème / noir / photographie. Le rose reste un accent.
   Mobile-first : les media queries ajoutent, elles ne corrigent pas.
   ========================================================================== */

:root {
  --cream: #F3EDE3;
  --blush: #E8C9C4;
  --rose: #D98F9A;
  --ink: #1C1B19;
  --white: #FFFFFF;

  --line: rgba(28, 27, 25, 0.16);
  --line-strong: rgba(28, 27, 25, 0.5);

  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --gutter: clamp(1.25rem, 5vw, 3rem);
  --header-h: 4.5rem;
  --radius: 999px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: lining-nums; /* Cormorant a des chiffres elzéviriens : « 11 » se lirait « II » */
}
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.header:not(.is-scrolled) :focus-visible,
.hero :focus-visible,
.footer :focus-visible,
.photo :focus-visible { outline-color: var(--white); }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: var(--gutter); top: -4rem; z-index: 100;
  background: var(--ink); color: var(--white); padding: .6rem 1rem; border-radius: var(--radius);
}
.skip:focus { top: .75rem; }

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

.title, .modal__title, .steps__h, .menu__nav a, .wordmark {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.title {
  font-size: clamp(2.5rem, 7.2vw, 4.25rem);
  line-height: 1.02;
  text-wrap: balance;
}
.title--sm { font-size: clamp(2.2rem, 6vw, 3.4rem); }
.title--display { font-size: clamp(2.8rem, 7.6vw, 4.75rem); }
em { font-style: italic; color: var(--rose); }
/* Le rose n'a pas assez de contraste sur le blush : on y garde l'italique seul. */
.section--blush em { color: inherit; }

.eyebrow, .kicker {
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  line-height: 1.5;
}
.kicker { margin-bottom: 1.25rem; }
.eyebrow--light { color: var(--white); }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3.25rem; padding: .85rem 1.75rem;
  background: var(--ink); color: var(--white);
  border: 1px solid var(--ink); border-radius: var(--radius);
  font-size: .9375rem; font-weight: 500; letter-spacing: .01em; line-height: 1.2;
  text-align: center; text-decoration: none;
  transition: opacity .2s ease, background-color .2s ease, color .2s ease;
}
.btn:hover { opacity: .86; }
.btn:disabled { opacity: .5; cursor: wait; }
.btn .arrow { display: inline-block; transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn--sm { min-height: 2.75rem; padding: .6rem 1.35rem; font-size: .875rem; }
.btn--block { width: 100%; }
.btn--outline { background: transparent; color: var(--ink); }
.btn--outline:hover { opacity: 1; background: var(--blush); }
.btn--light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--icon { flex: none; width: 3.25rem; padding: 0; font-size: 1.25rem; }

.wordmark {
  font-size: 1.75rem; font-weight: 600; letter-spacing: .16em; text-decoration: none; line-height: 1;
}
.wordmark--light { color: var(--cream); }

/* ---------- Navigation ---------- */

.header {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  color: var(--white);
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled, .header.is-open {
  background: var(--cream); color: var(--ink); border-bottom-color: var(--line);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  height: var(--header-h); max-width: 88rem; margin: 0 auto; padding: 0 var(--gutter);
}
.header__nav, .header__cta, .header__login { display: none; }
.header__nav a {
  font-size: .9375rem; text-decoration: none; padding: .5rem 0;
}
.header__nav a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
/* Sur la photo, le bouton noir garde un liseré clair pour rester lisible. */
.header:not(.is-scrolled) .header__cta { border-color: rgba(255, 255, 255, .55); }

.burger {
  width: 2.75rem; height: 2.75rem; padding: 0; margin-right: -.5rem;
  background: none; border: 0; position: relative;
}
.burger span {
  position: absolute; left: .7rem; right: .7rem; height: 1.5px; background: currentColor;
  transition: transform .25s ease, top .25s ease;
}
.burger span:first-child { top: calc(50% - 4px); }
.burger span:last-child { top: calc(50% + 4px); }
.header.is-open .burger span:first-child { top: 50%; transform: rotate(45deg); }
.header.is-open .burger span:last-child { top: 50%; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 30; padding: calc(var(--header-h) + 2rem) var(--gutter) 2.5rem;
  background: var(--cream);
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; overflow-y: auto;
}
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a {
  font-size: clamp(2rem, 9vw, 2.75rem); line-height: 1.1; text-decoration: none;
  padding: 1rem 0; border-bottom: 1px solid var(--line);
}

/* ---------- Hero ---------- */

.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  background: var(--ink); color: var(--white); overflow: hidden;
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.hero__img.is-missing { display: none; }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(28, 27, 25, .42); pointer-events: none; }
.hero__content {
  position: relative; z-index: 1; width: 100%; max-width: 88rem; margin: 0 auto;
  padding: calc(var(--header-h) + 3rem) var(--gutter) clamp(3rem, 10vh, 6rem);
}
.hero__title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(3.5rem, 15vw, 8.5rem); line-height: .94; letter-spacing: -.02em;
  margin: 1.5rem 0 1.75rem;
}
.hero__title em { font-weight: 500; }
.hero__lead { max-width: 24rem; font-size: 1.0625rem; line-height: 1.55; margin-bottom: 2rem; }

/* ---------- Sections ---------- */

.container { width: 100%; max-width: 76rem; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(4.5rem, 10vw, 8rem) 0; }
.section--cream { background: var(--cream); }
.section--blush { background: var(--blush); }

.split { display: grid; gap: 3rem; align-items: center; }
.split__text .title { margin-bottom: 2.25rem; }

/* Avantages : trois lignes strictement identiques (même police, même hauteur). */
.advantages { margin-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
.advantages li {
  display: grid; grid-template-columns: 2.25rem 1fr; align-items: center; column-gap: .75rem;
  min-height: 4.75rem; padding: .9rem 0; border-top: 1px solid var(--line);
}
.advantages__n { font-size: .75rem; font-weight: 500; letter-spacing: .12em; color: var(--ink); opacity: .55; }
.advantages__t { font-size: 1.0625rem; font-weight: 500; line-height: 1.35; }

/* ---------- Photographies ---------- */
/* Sans image (fichier absent), le bloc reste une surface charbon élégante. */

.photo { position: relative; overflow: hidden; background: var(--ink); }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo img.is-missing { display: none; }
.photo--portrait { aspect-ratio: 4 / 5; }
.photo--studio { aspect-ratio: 4 / 5; }
.photo--scrim::after { content: ""; position: absolute; inset: 0; background: rgba(28, 27, 25, .42); pointer-events: none; }
.photo__caption {
  position: absolute; z-index: 1; left: 1.25rem; right: 1.25rem; bottom: 1.5rem;
  display: flex; flex-direction: column; gap: .35rem;
  color: var(--white); font-size: clamp(.8rem, 4.9vw, 1.7rem); font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; line-height: 1.15;
}
.photo__caption span { white-space: nowrap; }

/* ---------- Comment ça marche ---------- */

.steps { display: grid; gap: 2.5rem; margin-top: 3rem; }
.steps li { border-top: 1px solid var(--line-strong); padding-top: 1.25rem; }
.steps__n { display: block; font-size: .75rem; font-weight: 500; letter-spacing: .2em; margin-bottom: 1.5rem; }
.steps__h { font-size: 2rem; line-height: 1.1; margin-bottom: .5rem; }
.steps p { max-width: 22rem; }

/* ---------- 02 · Studios (3 colonnes) ---------- */

.studios { display: grid; }
.studios__col { padding: clamp(3.5rem, 8vw, 6rem) var(--gutter); display: flex; flex-direction: column; align-items: flex-start; }
.studios__col--left { background: var(--cream); }
.studios__col--right { background: var(--blush); justify-content: center; }
.studios__col--left .title { margin-bottom: 2.25rem; }
.studios__photo { width: 100%; aspect-ratio: 1; }

.underline { display: block; width: 3.5rem; height: 2px; background: var(--rose); margin: 1.5rem 0; }
.studios__lead { font-size: 1.0625rem; max-width: 20rem; margin-bottom: 1.75rem; }
.inline-form { display: flex; gap: .5rem; width: 100%; max-width: 26rem; }
.inline-form .input { flex: 1; min-width: 0; }

/* ---------- À propos ---------- */

.about { max-width: 52rem; }
.about__text { font-size: 1.125rem; line-height: 1.7; max-width: 38rem; margin-top: 1.75rem; }

/* ---------- Footer ---------- */

.footer { background: var(--ink); color: var(--cream); padding: 3.5rem 0 2.5rem; }
.footer__inner { display: grid; gap: 2rem; }
.footer__links, .footer__legal { display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; font-size: .9375rem; }
.footer__legal { font-size: .8125rem; opacity: .7; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__copy { font-size: .8125rem; opacity: .7; }

/* ---------- Formulaires ---------- */

.input {
  width: 100%; min-height: 3.25rem; padding: .8rem 1rem;
  background: var(--white); border: 1px solid var(--line-strong); border-radius: 6px;
  font-size: 1rem; /* 16px minimum : évite le zoom automatique sur iOS */
  transition: border-color .15s ease;
}
.input::placeholder { color: rgba(28, 27, 25, .5); }
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.input[aria-invalid="true"] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }

.form { display: grid; gap: 1.25rem; margin-top: 1.75rem; }
.form__row { display: grid; gap: 1.25rem; }
.field { display: grid; gap: .4rem; min-width: 0; }
.field label, .fieldset legend { font-size: .8125rem; font-weight: 500; letter-spacing: .02em; }
.fieldset { border: 0; margin: 0; padding: 0; }
.fieldset legend { padding: 0; margin-bottom: .6rem; font-family: var(--serif); font-size: 1.25rem; font-weight: 500; letter-spacing: 0; }
.field__hint { font-size: .8125rem; opacity: .65; margin-top: .5rem; }
.field__error { font-size: .8125rem; font-weight: 500; min-height: 0; }
.field__error:empty { display: none; }
.field__error::before { content: "— "; color: var(--rose); }
.field__error--form { text-align: center; }
.field__error--form::before { content: none; }

.pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pill span {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: .5rem 1.25rem;
  border: 1px solid var(--ink); border-radius: var(--radius);
  font-size: .9375rem; font-weight: 500; transition: background-color .15s ease, color .15s ease;
}
.pill:hover span { background: var(--blush); }
.pill input:checked + span { background: var(--ink); color: var(--white); }
.pill input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }

.check { display: grid; grid-template-columns: 1.25rem 1fr; gap: .75rem; align-items: start; font-size: .875rem; line-height: 1.5; cursor: pointer; }
.check input { width: 1.25rem; height: 1.25rem; margin: .1rem 0 0; accent-color: var(--ink); }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Modale ---------- */

.modal {
  position: fixed; inset: auto 0 0 0; margin: 0;
  width: 100%; max-width: none; max-height: 94vh; max-height: 94svh; overflow-y: auto;
  padding: 3.5rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
  background: var(--cream); color: var(--ink); border: 0; border-radius: 18px 18px 0 0;
}
.modal::backdrop { background: rgba(28, 27, 25, .55); }
.modal__close {
  position: absolute; top: .75rem; right: .75rem; width: 2.75rem; height: 2.75rem;
  background: none; border: 0; border-radius: 50%; font-size: 1.9rem; line-height: 1;
}
.modal__close:hover { background: var(--blush); }
.modal__title { font-size: clamp(2.1rem, 8vw, 2.75rem); line-height: 1.05; padding-right: 2rem; text-wrap: balance; }
.modal__title:focus { outline: none; }
.modal__lead { margin-top: 1rem; font-size: 1rem; }
.modal__done { display: grid; gap: 0; justify-items: start; padding: 1.5rem 0 .5rem; }
.modal__done .btn { margin-top: 2rem; }

/* ---------- Tablette ---------- */

@media (min-width: 640px) {
  .form__row { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .footer__inner { grid-template-columns: 1fr auto; align-items: start; }
  .footer__links { justify-content: flex-end; }
  .footer__legal { grid-column: 1 / -1; }
  .footer__copy { grid-column: 1 / -1; }

  .modal {
    inset: 0; margin: auto; width: min(100% - 3rem, 33rem); max-height: 90vh; max-height: 90svh;
    padding: 3.5rem 2.5rem 2.5rem; border-radius: 10px;
  }
}

/* ---------- Desktop ---------- */

@media (min-width: 900px) {
  :root { --header-h: 5rem; }
  .header__nav { display: flex; gap: 2rem; margin-left: auto; }
  .header__cta { display: inline-flex; }
  .header__login { display: inline; font-size: .9375rem; }
  .header__login:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
  .burger, .menu { display: none !important; }

  .split { grid-template-columns: 1.1fr .9fr; gap: clamp(3rem, 7vw, 7rem); }
  .photo--portrait { aspect-ratio: 4 / 5; }

  .footer__inner { grid-template-columns: auto 1fr auto; align-items: center; gap: 2.5rem; }
  .footer__links { justify-content: center; }
  .footer__legal { grid-column: 1 / 3; grid-row: 2; }
  .footer__copy { grid-column: 3; grid-row: 2; text-align: right; }
}

@media (min-width: 1000px) {
  .studios { grid-template-columns: 1.05fr 1fr 1fr; min-height: 44rem; }
  .studios__photo { aspect-ratio: auto; }
  .studios__col--left .title { font-size: clamp(2.4rem, 3.4vw, 3.3rem); }
  .studios__col--right .title--display { font-size: clamp(2.6rem, 4vw, 3.8rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}


.nowrap { white-space: nowrap; }

/* ---------- Comptes : connexion, inscription, espace personnel ---------- */

.page-header {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  height: var(--header-h); padding: 0 var(--gutter); border-bottom: 1px solid var(--line);
}
.page-header__link { font-size: .9375rem; text-decoration: none; }
.page-header__link:hover { text-decoration: underline; text-underline-offset: 5px; }

.auth { display: grid; min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); }
.auth__panel { width: 100%; max-width: 30rem; margin: 0 auto; padding: clamp(2.5rem, 8vw, 5rem) var(--gutter); align-self: center; }
.auth__panel .title { margin-bottom: .75rem; }
.auth__lead { margin-top: 1rem; max-width: 26rem; }
.auth__alt { margin-top: 1.75rem; font-size: .9375rem; }
.auth__alt a { font-weight: 500; text-underline-offset: 4px; }
.auth__photo { display: none; }

/* Champ mot de passe + bouton Afficher / Masquer */
.field__wrap { position: relative; }
.field__wrap .input { padding-right: 5.5rem; }
.field__toggle {
  position: absolute; top: 50%; right: .35rem; transform: translateY(-50%);
  min-height: 2.5rem; padding: 0 .75rem; background: none; border: 0; border-radius: var(--radius);
  font-size: .8125rem; font-weight: 500; text-decoration: underline; text-underline-offset: 3px;
}
.field__toggle:hover { background: var(--blush); }

.account { max-width: 46rem; margin: 0 auto; padding: clamp(2.5rem, 7vw, 5rem) var(--gutter) 5rem; }
.account__hello { font-size: clamp(2.75rem, 9vw, 4.75rem); margin-bottom: .75rem; overflow-wrap: anywhere; }
.account__since { font-size: .9375rem; opacity: .7; }
.account__section { border-top: 1px solid var(--line); margin-top: 2.75rem; padding-top: 2rem; }
.account__section--last { padding-bottom: 0; }
.account__h { font-family: var(--serif); font-weight: 500; font-size: 2rem; line-height: 1.1; margin-bottom: 1rem; }
.account__empty { font-weight: 500; }
.account__note { font-size: .9375rem; opacity: .7; margin-top: .25rem; }
.account .form { margin-top: 0; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.status { font-size: .875rem; font-weight: 500; }
.status:empty { display: none; }

@media (min-width: 900px) {
  .auth { grid-template-columns: 1fr 1fr; }
  .auth__panel { margin: 0 auto; }
  .auth__photo { display: block; }
}

/* ---------- Pages intérieures : navigation, pied de page ---------- */

.page-header__nav { display: flex; align-items: center; gap: 1.25rem; font-size: .9375rem; }
.page-header__nav a { text-decoration: none; white-space: nowrap; }
.page-header__nav a:hover, .page-header__nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.wordmark--sm { font-size: 1.25rem; }
.mini-footer { border-top: 1px solid var(--line); margin-top: 4rem; padding: 2rem 0; font-size: .875rem; }
.mini-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.mini-footer nav { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.mini-footer a { text-decoration: none; }
.mini-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.narrow { max-width: 40rem; padding-top: 1rem; padding-bottom: 5rem; }
.back { display: inline-block; margin: 1.5rem 0 1rem; font-size: .9375rem; text-decoration: none; }
.back:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Catalogue ---------- */

.catalog__intro { padding-top: 2.5rem; padding-bottom: 2rem; }
.catalog__lead { margin-top: 1.25rem; max-width: 34rem; font-size: 1.0625rem; }
.filters { display: grid; gap: 1rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.filters__row { display: flex; flex-wrap: wrap; gap: .5rem; }
.filters__selects { display: grid; gap: 1rem; align-items: end; }

.chip {
  min-height: 2.75rem; padding: .5rem 1.15rem; background: transparent;
  border: 1px solid var(--ink); border-radius: var(--radius); font-size: .9375rem; font-weight: 500;
  transition: background-color .15s ease, color .15s ease;
}
.chip:hover { background: var(--blush); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--white); }

.select {
  appearance: none; -webkit-appearance: none; padding-right: 2.75rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%231C1B19' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
}
.filters__reset { justify-self: start; background: none; border: 0; padding: .5rem 0; font-size: .9375rem; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }

.catalog__results { padding-top: .5rem; }
.catalog__count { font-size: .875rem; opacity: .7; margin: 1.5rem 0 1rem; min-height: 1.25rem; }
.courses { display: grid; gap: 1rem; }
.courses > li { display: flex; }

.course {
  display: grid; align-content: start; gap: .3rem; width: 100%; padding: 1.25rem;
  background: var(--cream); border: 1px solid var(--line-strong); border-radius: 4px;
  text-decoration: none; transition: background-color .2s ease;
}
.course:hover { background: var(--white); }
.course__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; }
.course__cat { font-size: .75rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.course__when { font-family: var(--serif); font-size: 1.5rem; line-height: 1.1; margin-top: .75rem; }
.course__when strong { font-weight: 500; font-size: 2.5rem; letter-spacing: -.01em; }
.course__meta { font-size: .9375rem; }
.course__soon { font-weight: 500; }
.course__studio { font-weight: 600; margin-top: .75rem; }
.course__type { font-size: .875rem; opacity: .7; }
.course__place { display: flex; align-items: flex-start; gap: .4rem; font-size: .875rem; margin-top: .25rem; }
.icon { flex: none; margin-top: .2rem; }
.course__bottom {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem;
  margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line);
}
.course__price strong { font-family: var(--serif); font-size: 2.25rem; font-weight: 500; line-height: 1; }
.course__old { opacity: .6; margin-right: .5rem; }
.course__cta { font-size: .9375rem; font-weight: 500; white-space: nowrap; }
.course__cta .arrow { display: inline-block; transition: transform .2s ease; }
.course:hover .course__cta .arrow { transform: translateX(4px); }

.badge {
  display: inline-block; padding: .2rem .75rem; background: var(--blush); border-radius: var(--radius);
  font-size: .75rem; font-weight: 500; letter-spacing: .02em; line-height: 1.5; white-space: nowrap;
}
.badge--last { background: var(--ink); color: var(--white); }
.badge--discount, .badge--done { background: transparent; border: 1px solid var(--line-strong); }

.empty { display: grid; justify-items: start; gap: 1rem; max-width: 34rem; padding: 3rem 0; }
.empty__title { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 6vw, 2.75rem); line-height: 1.05; }

/* ---------- Fiche cours, réservation, confirmation ---------- */

.course-page { padding-bottom: 3rem; }
.course-page__loading { opacity: .7; padding: 2rem 0; }
.course-page__when { font-size: 1.125rem; margin: .75rem 0 2rem; }
.course-page__grid { display: grid; gap: 1.25rem; }
.panel { border: 1px solid var(--line-strong); border-radius: 4px; padding: 1.5rem; display: grid; align-content: start; gap: .75rem; }
.panel__h { font-family: var(--serif); font-weight: 500; font-size: 1.75rem; line-height: 1.1; }
.panel__note { font-size: .875rem; opacity: .75; }
.price__label { display: block; font-size: .75rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; opacity: .7; }
.price__old s { font-size: 1.25rem; opacity: .7; }
.price__now strong { font-family: var(--serif); font-weight: 500; font-size: 3.25rem; line-height: 1; margin-right: .5rem; }
.scarcity { min-height: 1.75rem; }
.btn.is-disabled { opacity: .45; pointer-events: none; }

.studio { display: grid; gap: .5rem; }
.studio__name { font-family: var(--serif); font-size: 1.75rem; line-height: 1.1; }
.studio__label { font-size: .75rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; opacity: .7; margin-right: .35rem; }
.studio__place { display: flex; align-items: flex-start; gap: .5rem; }
.studio__place .icon { margin-top: .3rem; }
.studio__links { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; font-size: .9375rem; }
.studio__links a { font-weight: 500; text-underline-offset: 4px; }
.studio__about { margin-top: .5rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.studio--compact { margin-bottom: 2rem; padding: 1.25rem; border: 1px solid var(--line-strong); border-radius: 4px; }
.studio--compact .studio__name { font-size: 1.5rem; }

.recap { display: grid; grid-template-columns: 6.5rem 1fr; gap: .9rem 1rem; margin: 2rem 0; padding: 1.5rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.recap dt { font-size: .75rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; opacity: .7; padding-top: .2rem; }
.recap dd { margin: 0; }
.recap strong { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; }

.notice { margin: 1.5rem 0; padding: 1rem 1.25rem; background: var(--blush); border-radius: 6px; font-size: .9375rem; }
.notice p + p { margin-top: .35rem; }
.notice__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .85rem; }
.booking__lead { margin-top: 1rem; }
.booking__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

/* ---------- Connexion sociale, champs ---------- */

.oauth { display: grid; gap: .75rem; margin: 1.75rem 0 0; }
.oauth__terms { font-size: .8125rem; opacity: .75; }
.oauth__or { display: flex; align-items: center; gap: 1rem; margin-top: .5rem; font-size: .8125rem; opacity: .75; }
.oauth__or::before, .oauth__or::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }
.field__labelrow { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.field__link { font-size: .8125rem; text-underline-offset: 3px; }
.auth__panel .notice:first-of-type { margin-top: 1.25rem; }

/* ---------- Espace personnel : réservations, sécurité ---------- */

.bookings { display: grid; gap: .75rem; }
.bookings:empty { display: none; }
.booking__link { display: block; padding: 1rem 1.25rem; border: 1px solid var(--line-strong); border-radius: 4px; text-decoration: none; transition: background-color .2s ease; }
.booking__link:hover { background: var(--white); }
.booking__when { font-size: 1.0625rem; }
.booking__when strong { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; }
.booking__what { font-weight: 600; }
.booking__where { font-size: .875rem; opacity: .75; }
.booking__meta { margin-top: .5rem; font-size: .9375rem; }
.account__h3 { font-family: var(--serif); font-weight: 500; font-size: 1.375rem; margin: 2rem 0 .75rem; }
.account__h3:first-of-type { margin-top: 1.25rem; }
.account__actions { margin-top: 1rem; }

.flash {
  position: fixed; z-index: 60; top: calc(var(--header-h) + .75rem); left: 50%; transform: translateX(-50%);
  width: min(100% - 2rem, 30rem); padding: .9rem 1.25rem; background: var(--ink); color: var(--white);
  border-radius: 6px; font-size: .9375rem; text-align: center;
}

@media (min-width: 560px) {
  .filters__selects { grid-template-columns: 1fr 1fr auto; }
}
@media (min-width: 720px) {
  .courses { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .course-page__grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .recap { grid-template-columns: 8rem 1fr; }
}
@media (min-width: 1080px) {
  .courses { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Pages légales (texte long) ---------- */

.prose { max-width: 46rem; padding-top: 2.5rem; padding-bottom: 2rem; }
.prose > * + * { margin-top: 1rem; }
.prose .title { margin: .5rem 0 0; }
.prose__date { font-size: .875rem; opacity: .7; }
/* Le rose est réservé aux titres : dans le texte courant, il manque de contraste. */
.prose em { color: inherit; }
.prose .title em { color: var(--rose); }
.prose h2 { font-family: var(--serif); font-weight: 500; font-size: 1.75rem; line-height: 1.15; margin-top: 2.5rem; }
.prose h3 { font-size: 1rem; font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.25rem; display: grid; gap: .5rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose a { text-underline-offset: 3px; }
.prose code { font-size: .9em; padding: .05em .35em; background: var(--blush); border-radius: 3px; }
.prose__note { font-size: .875rem; opacity: .75; margin-top: 2rem; }
.facts { display: grid; grid-template-columns: 1fr; gap: .15rem 1.5rem; }
.facts dt { font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; opacity: .7; margin-top: .75rem; }
.facts dd { margin: 0; }
.processing { border: 1px solid var(--line-strong); border-radius: 4px; padding: 1.25rem; }
.processing h3 { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; line-height: 1.15; margin-bottom: .25rem; }
/* Repère provisoire : un texte à compléter n'est jamais publié par erreur (voir scripts/check-legal.js). */
.todo { background: var(--blush); border-bottom: 1px dashed var(--ink); padding: 0 .2em; }
@media (min-width: 640px) {
  .facts { grid-template-columns: 13rem 1fr; }
  .facts dt { margin-top: 0; padding-top: .3rem; }
  .facts dd { padding-bottom: .5rem; }
}

/* ---------- Impression / export PDF des pages légales ---------- */
@media print {
  @page { size: A4; margin: 18mm 17mm; }
  body { background: #fff; color: #000; font-size: 10.5pt; }
  .skip, .page-header__link, .mini-footer nav { display: none !important; }
  .page-header { height: auto; padding: 0 0 8mm; border: 0; }
  .prose { max-width: none; padding: 0; }
  .prose h2 { break-after: avoid; font-size: 17pt; margin-top: 8mm; }
  .processing, .facts, .prose li { break-inside: avoid; }
  .prose a { color: inherit; text-decoration: none; }
  .prose a[href^="mailto:"], .prose a[href^="https:"] { text-decoration: underline; }
  .todo, .prose code { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .mini-footer { margin-top: 10mm; padding: 4mm 0 0; }
  .mini-footer__inner { justify-content: space-between; }
}

/* ---------- Espace studio ---------- */

.studio-space { max-width: 60rem; padding-top: 2.5rem; padding-bottom: 3rem; }
.studio-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.studio-nav .chip { display: inline-flex; align-items: center; text-decoration: none; }
.chip[aria-current="page"] { background: var(--ink); color: var(--white); }
.studio-section > .account__h { margin-bottom: 1.25rem; }
.studio-section .filters__row { margin-bottom: 1.25rem; }

.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.tile { border: 1px solid var(--line-strong); border-radius: 4px; padding: 1.1rem 1.25rem; }
.tile__n { font-family: var(--serif); font-size: 2.5rem; font-weight: 500; line-height: 1; }
.tile__l { font-size: .875rem; opacity: .75; margin-top: .4rem; }

.srows { display: grid; gap: .75rem; }
.srows:empty { display: none; }
.srow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; padding: 1rem 1.25rem; border: 1px solid var(--line-strong); border-radius: 4px; }
.srow--block { display: block; margin-bottom: .75rem; }
.srow__main { min-width: 0; flex: 1 1 18rem; }
.srow__when { font-size: 1.0625rem; }
.srow__when strong { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; }
.srow__what { font-weight: 600; margin-top: .15rem; }
.srow__meta { font-size: .875rem; opacity: .8; }
.srow__amount { font-family: var(--serif); font-size: 1.75rem; }
.srow__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.people { display: grid; gap: .35rem; margin-top: .75rem; padding-top: .75rem; border-top: 1px solid var(--line); }
.people li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; }
.summary { min-height: 1.5rem; font-size: .9375rem; font-weight: 500; }
textarea.input { min-height: 7rem; resize: vertical; line-height: 1.5; }
.studio-section .form { max-width: 34rem; }

@media (min-width: 720px) {
  .tiles { grid-template-columns: repeat(4, 1fr); }
}

/* Administration : un lien d'invitation est long, il doit pouvoir passer à la ligne */
.notice code { overflow-wrap: anywhere; }
