@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/inter-300-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: 300;
  font-display: swap;
  src: url('/fonts/inter-300-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-400-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-400-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-500-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-500-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-600-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-600-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: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/playfair-display-400-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: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/playfair-display-400-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: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/playfair-display-400-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: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/playfair-display-400-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: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/playfair-display-600-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: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/playfair-display-600-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: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/playfair-display-700-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: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/playfair-display-700-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;
}

:root {
  --color-bg: #F5F0E8; --color-navy: #1B2D4F; --color-accent: #C8A96E; --color-text: #2C2C2C; --color-white: #FFFFFF;
  --color-gray-50: #F8F6F2; --color-gray-100: #F0EDE6; --color-gray-200: #E2DDD4; --color-gray-500: #8A8A8A;
  --color-error: #9B2C2C;
  --font-heading: 'Playfair Display', Georgia, serif; --font-body: 'Inter', system-ui, sans-serif;
  --radius-sm: 8px; --radius-md: 12px; --radius-lg: 16px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--color-bg); color: var(--color-text); font-family: var(--font-body); font-size: 1rem; line-height: 1.6; }
h1, h2, h3 { font-family: var(--font-heading); color: var(--color-navy); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); } h2 { font-size: 1.35rem; } h3 { font-size: 1.1rem; }
a { color: var(--color-navy); }
p { margin: 0 0 1rem; }
.container { max-width: 1040px; margin: 0 auto; padding: 0 1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* En-tête et pied de page */
.site-header { background: var(--color-white); border-bottom: 1px solid var(--color-gray-200); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-family: var(--font-heading); font-weight: 700; color: var(--color-navy); }
.lang-switch { font-size: .85rem; letter-spacing: .08em; } .lang-switch .sep { margin: 0 .5rem; color: var(--color-gray-500); }
.lang-switch [aria-current] { font-weight: 600; }
.site-footer { margin-top: 3rem; padding: 1.5rem 0; border-top: 1px solid var(--color-gray-200); font-size: .85rem; color: var(--color-gray-500); text-align: center; }
.site-footer p { margin: .25rem 0; }

/* Liste des fiches */
.page-header { padding: 2rem 0 1rem; max-width: 720px; }
.audience-step { background: var(--color-white); border-radius: var(--radius-md); padding: 1.25rem 1.5rem; margin-bottom: 1.5rem; }
.audience-question { font-weight: 600; color: var(--color-navy); margin-bottom: .75rem; }
.audience-choices { display: flex; flex-wrap: wrap; gap: .75rem; }
.type-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.type-card { background: var(--color-white); border-radius: var(--radius-md); padding: 1.5rem; border: 1px solid var(--color-gray-200); display: flex; flex-direction: column; }
.type-card.is-featured { border-color: var(--color-accent); }
.type-card h2 a { text-decoration: none; }
.type-card .btn { margin-top: auto; align-self: flex-start; }
.meta { color: var(--color-gray-500); font-size: .9rem; margin-bottom: .5rem; }

/* Boutons */
.btn { display: inline-block; padding: .7rem 1.4rem; border-radius: var(--radius-sm); font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: var(--font-body); font-size: 1rem; }
.btn-primary { background: var(--color-navy); color: var(--color-white); }
.btn-primary:hover { background: #24395f; }
.btn-ghost { background: transparent; color: var(--color-navy); border-color: var(--color-navy); }
button.link { background: none; border: 0; padding: 0; color: var(--color-navy); text-decoration: underline; cursor: pointer; font: inherit; }

/* Page d'une fiche */
.type-page { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 2rem; padding-top: 1.5rem; }
.type-summary { background: var(--color-white); border-radius: var(--radius-md); padding: 1.5rem; align-self: start; position: sticky; top: 1rem; }
.type-summary .back { display: inline-block; margin-bottom: 1rem; font-size: .9rem; text-decoration: none; }
.type-summary .avatar { border-radius: 50%; display: block; margin-bottom: 1rem; }
.type-summary .policy { font-size: .85rem; color: var(--color-gray-500); margin-top: 1.5rem; }
.booking-app { min-height: 200px; }
.step { background: var(--color-white); border-radius: var(--radius-md); padding: 1.5rem; margin-bottom: 1.25rem; border: 0; }
.step legend { font-family: var(--font-heading); font-size: 1.2rem; color: var(--color-navy); padding: 0; margin-bottom: .75rem; }
.choice { display: inline-flex; align-items: center; gap: .5rem; margin: 0 1.5rem .5rem 0; cursor: pointer; }

/* Calendrier */
.cal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: .75rem; }
.cal-header h2 { margin: 0; text-transform: capitalize; }
.cal-nav { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--color-gray-200); background: var(--color-white); font-size: 1.3rem; cursor: pointer; }
.cal-nav:disabled { opacity: .35; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-weekday { text-align: center; font-size: .75rem; color: var(--color-gray-500); padding: .25rem 0; }
.cal-day { aspect-ratio: 1; border-radius: 50%; border: 0; background: transparent; color: var(--color-gray-500); font: inherit; cursor: default; }
.cal-day.is-available { background: var(--color-gray-100); color: var(--color-navy); font-weight: 600; cursor: pointer; }
.cal-day.is-available:hover { background: var(--color-gray-200); }
.cal-day.is-selected, .cal-day.is-selected:hover { background: var(--color-navy); color: var(--color-white); }
.cal-day:focus-visible, .slot:focus-visible, .btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }
.tz-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 1rem 0; font-size: .9rem; }
.tz-row select { max-width: 100%; padding: .35rem .5rem; border-radius: var(--radius-sm); border: 1px solid var(--color-gray-200); font: inherit; }
.tz-note { color: var(--color-gray-500); }
.slots { display: flex; flex-wrap: wrap; gap: .5rem; }
.slot { padding: .55rem 1rem; border-radius: var(--radius-sm); border: 1px solid var(--color-navy); background: var(--color-white); color: var(--color-navy); font: inherit; font-weight: 600; cursor: pointer; }
.slot:hover { background: var(--color-gray-100); }
.slot.is-selected { background: var(--color-navy); color: var(--color-white); }

/* Formulaire */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 500; margin-bottom: .3rem; }
.field input:not([type=checkbox]), .field textarea { width: 100%; padding: .65rem .8rem; border: 1px solid var(--color-gray-200); border-radius: var(--radius-sm); font: inherit; background: var(--color-white); }
.field input:focus, .field textarea:focus { outline: 2px solid var(--color-navy); border-color: var(--color-navy); }
.field.checkbox label { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; }
.field.checkbox input { margin-top: .3rem; }
.optional { color: var(--color-gray-500); font-weight: 400; font-size: .85rem; }
.error { color: var(--color-error); font-size: .85rem; margin: .3rem 0 0; }
.alert { background: #FBEAEA; color: var(--color-error); border-radius: var(--radius-sm); padding: .75rem 1rem; margin-bottom: 1rem; }
.slot-summary { background: var(--color-gray-50); border-radius: var(--radius-sm); padding: .75rem 1rem; }
.cf-turnstile { margin: 1rem 0; }

/* Confirmation */
.confirmation { max-width: 720px; margin: 2rem auto; background: var(--color-white); border-radius: var(--radius-md); padding: 2rem; }
.confirmation dl { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1.25rem; margin: 0 0 1.5rem; }
.confirmation dt { font-weight: 600; color: var(--color-navy); }
.confirmation dd { margin: 0; }
.calendar-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }

@media (max-width: 768px) {
  .type-page { grid-template-columns: 1fr; gap: 1rem; }
  .type-summary { position: static; }
  .grid-2 { grid-template-columns: 1fr; }
  .confirmation dl { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

.alert-success { background: #E8F1EA; color: #1F5130; }

.consent-body { max-height: 60vh; overflow-y: auto; padding: 1rem 1.25rem; border: 1px solid var(--color-gray-200); border-radius: var(--radius-sm); background: var(--color-gray-50); margin-bottom: 1.5rem; }
.consent-body h2 { font-size: 1.1rem; margin-top: 1.25rem; }
.consent-form .field.checkbox { margin-bottom: .75rem; }

/* Pages d'erreur (403, 400, 503) */
.error-page { max-width: 640px; margin: 4rem auto; text-align: center; }
.error-code { font-family: var(--font-heading); font-size: 1rem; letter-spacing: .1em; color: var(--color-gray-500); text-transform: uppercase; margin: 0 0 .5rem; }
.error-message { font-size: 1.1rem; }

/* Badge du forfait gratuit (design ZenRV 3.3). */
.powered-by { margin: .75rem 0 0; font-size: .8rem; text-align: center; }
.powered-by a { color: var(--color-gray-500); }

/* Page embarquée dans le site du client (design ZenRV 7.2) : le fond est celui du site parent. */
body.embed { background: transparent; }
body.embed main { padding-top: 1rem; padding-bottom: 1rem; }

/* Blocs d'information (jalon 3e, design ZenRV 11.3) */
.info-blocks { display: grid; gap: .75rem; margin: 0 0 1.5rem; max-width: 720px; }
.info-block { background: var(--color-gray-50); border: 1px solid var(--color-gray-200); border-radius: var(--radius-sm); padding: .75rem 1rem; }
.info-block--announcement { background: var(--color-gray-100); }
.info-block-title { font-weight: 600; color: var(--color-navy); margin: 0 0 .25rem; }
.info-block-body > :first-child { margin-top: 0; }
.info-block-body > :last-child { margin-bottom: 0; }
.info-block-body a { color: var(--color-navy); text-decoration: underline; }
.confirmation .info-blocks { margin-top: 1rem; }

/* Formulaire d'accueil (2d) */
.intake-form fieldset { border: 0; padding: 0; margin: 0; }
.intake-form legend { font-weight: 500; margin-bottom: .3rem; padding: 0; }
.intake-form .choice { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; margin-bottom: .35rem; }
.intake-form .choice input { margin-top: .3rem; }
.intake-heading { font-size: 1.15rem; margin: 1.75rem 0 .5rem; }

/* Page configurable et connexion par code (design, décisions 69 à 72). */
.preserve-lines { white-space: pre-line; overflow-wrap: anywhere; }
.booking-page-block { border-left: 3px solid var(--color-accent); padding: .75rem 1rem; margin-bottom: 1rem; }
.booking-page-block h2 { font-size: 1.25rem; margin: 0 0 .5rem; }
.booking-page-links { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.embed-full-page { text-align: right; font-size: .85rem; margin: 0 0 .75rem; }
.booking-page-logos { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .75rem; max-width: 100%; }
.booking-page-logo { width: auto; max-width: min(160px, 100%); height: 56px; object-fit: contain; }
.booking-page-logos--small .booking-page-logo { max-width: 100px; height: 40px; }
.header-inner { flex-wrap: wrap; gap: .75rem; padding-top: .5rem; padding-bottom: .5rem; }
.brand { flex-wrap: wrap; min-width: 0; max-width: 100%; }
.client-identity { border: 1px solid var(--color-gray-200); border-radius: var(--radius-sm); padding: 1rem; margin: 1rem 0 1.5rem; }
.client-identity summary { font-weight: 600; cursor: pointer; }
.client-identity form { margin-top: 1rem; max-width: 36rem; }
.client-identity input, .client-identity select { width: 100%; min-height: 44px; }
.field input:not([type=checkbox]), .field textarea, .field select { color: var(--color-text); }
.field select { background: var(--color-white); padding: .65rem .8rem; border: 1px solid var(--color-gray-200); border-radius: var(--radius-sm); font: inherit; }
.client-identity input[name="code"] { letter-spacing: .25em; font-size: 1.25rem; max-width: 16rem; }
.booking-layout--list { grid-template-columns: 1fr; }
.booking-layout--list .type-card { padding: 1rem 1.5rem; }
.booking-layout--compact { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: .75rem; }
.booking-layout--compact .type-card { padding: 1rem; }
.booking-layout--compact .type-card h2 { font-size: 1.15rem; }
