/*
Theme Name: Your Decision
Theme URI: https://example.com/
Author: Hasna Digital
Description: Thème sur mesure de Your Decision — coaching football à Bergerac. Hero photo plein cadre et cartes vitrées, titres Archivo, animations GSAP + ScrollTrigger, plateforme de réservation. À utiliser avec l’extension « Your Decision — Réservations ».
Version: 1.2.0
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: yourdecision
*/

/* ==========================================================================
   1. Système
   Archivo partout (titres gras et serrés, texte), Libre Caslon Text réservé au
   logotype et à la seconde voix du titre d'accueil (italique). Grille de 12 colonnes, photos et cartes aux angles arrondis,
   boutons en pilule, surfaces vitrées sur les photos.
   ========================================================================== */
:root {
	--yd-ink: #171515;
	--yd-ink-2: #221e1e;
	--yd-bordeaux: #642838;
	--yd-bordeaux-deep: #4A1D29;
	--yd-ecru: #F4EFE5;
	--yd-ecru-2: #EAE3D6;
	--yd-paper: #FAF7F1;
	--yd-gold: #B69B6A;
	--yd-muted: #6f6865;
	--yd-line: rgba(23, 21, 21, .14);
	--yd-line-light: rgba(244, 239, 229, .18);
	--yd-serif: 'Libre Caslon Text', Georgia, 'Times New Roman', serif;
	--yd-sans: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
	--yd-pad: clamp(20px, 4vw, 56px);
	--yd-gap: clamp(16px, 2vw, 32px);
	--yd-max: 1440px;
	--yd-radius: clamp(16px, 1.8vw, 26px);
	--yd-ease: cubic-bezier(.22, .61, .2, 1);
	--yd-y: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 280'%3E%3Cpath d='M20 35H79L105 94L149 35H208L22 253L71 144Z M40 252H62L222 62H216Z M79 252H100L182 149H177Z'/%3E%3C/svg%3E");
	--yd-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12' fill='none' stroke='%23000' stroke-width='1.3'%3E%3Cpath d='M0 6h15M10 1l5 5-5 5'/%3E%3C/svg%3E");
}

/* ==========================================================================
   2. Base
   ========================================================================== */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--yd-ecru); color: var(--yd-ink); font-family: var(--yd-sans); font-size: 16px; line-height: 1.55; letter-spacing: -.003em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
::selection { background: var(--yd-bordeaux); color: var(--yd-ecru); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }
:where(.wp-block-group) > :where(*), :where(.wp-block-buttons) { margin-block: 0; }
figure.wp-block-image { margin: 0; }
.wp-site-blocks { padding: 0 !important; }
.wp-site-blocks > * + * { margin-block-start: 0 !important; }
section[id] { scroll-margin-top: 64px; }
h1, h2, h3 { font-family: var(--yd-sans); font-weight: 700; margin: 0; text-wrap: balance; font-variant-numeric: normal; font-feature-settings: 'kern' 1, 'liga' 1; }
h1 em, h2 em, h3 em { font-family: var(--yd-serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; color: var(--yd-bordeaux); }
.yd-coachs h2 em, .yd-coachs h3 em, .yd-footer em { color: var(--yd-ecru); }
p em { font-style: italic; }
p { margin: 0; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

/* Petites voix */
.yd-label, .yd-eyebrow { font-family: var(--yd-sans); font-size: 13px; font-weight: 500; letter-spacing: .005em; line-height: 1.4; color: var(--yd-muted); }
.yd-index { font-family: var(--yd-sans); font-size: 13px; font-weight: 500; color: var(--yd-bordeaux); font-variant-numeric: tabular-nums; }
.yd-h2 { font-size: clamp(32px, 4vw, 60px); line-height: .98; letter-spacing: -.035em; }
.yd-lede { font-size: clamp(16px, 1.2vw, 18px); line-height: 1.5; color: #4d4847; max-width: 44ch; }

/* En-tête de section : index, intitulé, titre, chapô sur la grille. */
.yd-head { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--yd-gap); row-gap: 22px; padding-top: 18px; margin-bottom: clamp(32px, 4vw, 60px); }
.yd-head::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--yd-ink); opacity: .9; transform: scaleX(var(--yd-rule, 1)); transform-origin: left; }
.yd-head .yd-index { grid-column: 1 / 2; }
.yd-head .yd-label { grid-column: 2 / 5; justify-self: start; align-self: start; margin-top: -6px; padding: 6px 13px; border: 1px solid var(--yd-line); border-radius: 999px; }
.yd-head .yd-h2 { grid-column: 5 / 12; }
.yd-head .yd-lede { grid-column: 5 / 11; }

/* ==========================================================================
   3. Boutons — pilules, casse normale, flèche dessinée
   ========================================================================== */
.wp-block-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; }
.wp-block-button.yd-btn-plein, .wp-block-button.yd-btn-clair, .wp-block-button.yd-btn-lien, .wp-block-button.yd-btn-or, .wp-block-button.yd-btn-ligne { display: inline-block; background: none; border: 0; padding: 0; border-radius: 0; }
.wp-block-button .wp-block-button__link { display: inline-flex; align-items: center; gap: 18px; min-height: 50px; padding: 0 22px 0 26px; border: 1px solid transparent; border-radius: 999px; font-family: var(--yd-sans); font-size: 15px; font-weight: 500; letter-spacing: -.005em; text-transform: none; text-decoration: none; line-height: 1; transition: background-color .45s var(--yd-ease), color .45s var(--yd-ease), border-color .45s var(--yd-ease); }
.wp-block-button .wp-block-button__link::after { content: ''; width: 16px; height: 12px; background: currentColor; -webkit-mask: var(--yd-arrow) center / contain no-repeat; mask: var(--yd-arrow) center / contain no-repeat; transition: transform .5s var(--yd-ease); }
.wp-block-button .wp-block-button__link:hover::after { transform: translateX(4px); }
.wp-block-button.yd-btn-plein .wp-block-button__link { background: var(--yd-bordeaux); color: var(--yd-ecru); }
.wp-block-button.yd-btn-plein .wp-block-button__link:hover { background: var(--yd-bordeaux-deep); }
.wp-block-button.yd-btn-clair .wp-block-button__link, .wp-block-button.yd-btn-or .wp-block-button__link { background: var(--yd-ecru); color: var(--yd-ink); }
.wp-block-button.yd-btn-clair .wp-block-button__link:hover, .wp-block-button.yd-btn-or .wp-block-button__link:hover { background: #fff; }
.wp-block-button.yd-btn-ligne .wp-block-button__link { background: transparent; color: inherit; border-color: currentColor; }
.wp-block-button.yd-btn-lien .wp-block-button__link { min-height: 0; padding: 6px 0; background: none; color: inherit; border: 0; background-image: linear-gradient(currentColor, currentColor); background-size: 100% 1px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .5s var(--yd-ease); }
.wp-block-button.yd-btn-lien .wp-block-button__link::after { display: none; }
.wp-block-button.yd-btn-lien .wp-block-button__link:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ==========================================================================
   4. En-tête
   ========================================================================== */
.yd-header-part { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: transform .7s var(--yd-ease); }
.yd-header { padding: 0 var(--yd-pad); color: var(--yd-ink); border-bottom: 1px solid transparent; transition: background-color .5s, color .5s, border-color .5s; }
.yd-home .yd-header-part:not(.is-solid) .yd-header { color: var(--yd-ecru); }
.yd-header-part.is-solid .yd-header, body:not(.yd-home) .yd-header { background: rgba(244, 239, 229, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-color: var(--yd-line); }
.yd-header-part.is-hidden { transform: translateY(-100%); }
.yd-header__bar { max-width: var(--yd-max); margin: 0 auto; height: 64px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.yd-logo { margin: 0; grid-column: 2; grid-row: 1; justify-self: center; }
.yd-logo a { display: inline-flex; align-items: center; gap: 11px; color: inherit; text-decoration: none; font-family: var(--yd-serif); font-size: 14px; letter-spacing: .16em; white-space: nowrap; }
.yd-logo a::before { content: ''; width: 17px; height: 20px; background: var(--yd-gold); -webkit-mask: var(--yd-y) center / contain no-repeat; mask: var(--yd-y) center / contain no-repeat; }
.wp-block-navigation.yd-nav { grid-column: 1; grid-row: 1; justify-self: start; justify-content: flex-start !important; gap: 30px; font-family: var(--yd-sans); font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.wp-block-navigation.yd-nav .wp-block-navigation-item__content { color: inherit; text-decoration: none; padding: 4px 0; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-position: 100% 100%; background-repeat: no-repeat; transition: background-size .5s var(--yd-ease); }
.wp-block-navigation.yd-nav .wp-block-navigation-item__content:hover { background-size: 100% 1px; background-position: 0 100%; }
.wp-block-navigation.yd-nav .wp-block-navigation__responsive-container.is-menu-open { background-color: var(--yd-ink) !important; color: var(--yd-ecru) !important; padding: 24px var(--yd-pad); }
.wp-block-navigation.yd-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 14px; font-family: var(--yd-sans); font-weight: 700; font-size: 36px; letter-spacing: -.03em; }
.yd-header__actions { grid-column: 3; grid-row: 1; display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.yd-header__cta .wp-block-button__link { min-height: 38px; padding: 0 14px 0 16px; font-size: 14px; gap: 12px; white-space: nowrap; }
.yd-header__cta .wp-block-button__link::after { width: 13px; height: 10px; }

/* Réseaux */
.yd-socials { display: inline-flex; gap: 14px; align-items: center; }
.yd-social { display: inline-grid; place-items: center; width: 20px; height: 20px; color: inherit; opacity: .8; transition: opacity .3s; }
.yd-social:hover { opacity: 1; }
.yd-social::before { content: ''; width: 18px; height: 18px; background: currentColor; -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; }
.yd-social--instagram::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='.6' fill='%23000'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='.6' fill='%23000'/%3E%3C/svg%3E"); }
.yd-social--tiktok::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16 3c.4 2.4 1.9 4 4.3 4.2v3.2c-1.6 0-3-.5-4.3-1.3v6.2a5.7 5.7 0 1 1-5.7-5.7c.3 0 .7 0 1 .1v3.3a2.5 2.5 0 1 0 1.5 2.3V3H16z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16 3c.4 2.4 1.9 4 4.3 4.2v3.2c-1.6 0-3-.5-4.3-1.3v6.2a5.7 5.7 0 1 1-5.7-5.7c.3 0 .7 0 1 .1v3.3a2.5 2.5 0 1 0 1.5 2.3V3H16z'/%3E%3C/svg%3E"); }
.yd-social__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.yd-socials--footer { margin-top: 14px; }
.yd-progress { display: none; }

/* ==========================================================================
   5. Hero — photo plein cadre, grand titre, cartes vitrées
   ========================================================================== */
.yd-hero { position: relative; min-height: 100vh; min-height: 100svh; background: var(--yd-ink); color: #fff; overflow: hidden; isolation: isolate; display: flex; }
.yd-hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.yd-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 40%; transform-origin: 64% 45%; }
.yd-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(23,21,21,.72) 0%, rgba(23,21,21,.42) 38%, rgba(23,21,21,0) 62%), linear-gradient(180deg, rgba(23,21,21,.5) 0%, rgba(23,21,21,0) 18%, rgba(23,21,21,0) 70%, rgba(23,21,21,.55) 100%); }
.yd-hero__inner { position: relative; width: 100%; max-width: var(--yd-max); margin: 0 auto; padding: 112px var(--yd-pad) clamp(36px, 5vh, 56px); display: grid; grid-template-columns: minmax(0, 1fr) clamp(250px, 21vw, 300px); column-gap: var(--yd-gap); align-items: end; }
.yd-hero__main { max-width: 720px; }

/* Étiquette, titre, introduction */
.yd-hero__label { font-family: var(--yd-sans); font-weight: 500; line-height: 1.3; letter-spacing: 0; text-wrap: wrap; display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 7px 14px 7px 10px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; background: rgba(255,255,255,.08); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 13px; font-weight: 500; color: rgba(255,255,255,.88); }
.yd-hero__label::before { content: ''; width: 14px; height: 16px; background: var(--yd-gold); -webkit-mask: var(--yd-y) center / contain no-repeat; mask: var(--yd-y) center / contain no-repeat; }
.yd-hero__title { font-family: var(--yd-sans); font-weight: 700; font-stretch: 96%; font-size: clamp(46px, 6.2vw, 96px); line-height: .94; letter-spacing: -.035em; color: #fff; }
/* Seconde voix du titre : Libre Caslon Text italique, comme « is a decision. » de la charte. */
.yd-hero__title em { font-family: var(--yd-serif); font-style: italic; font-weight: 400; font-size: 1.04em; letter-spacing: -.025em; color: var(--yd-ecru); }
.yd-hero__title .yd-mask { padding-right: .12em; margin-right: -.12em; }
.yd-hero__intro { max-width: 44ch; margin-top: 26px; font-size: clamp(15px, 1.1vw, 17px); line-height: 1.55; color: rgba(255,255,255,.82); }
.yd-hero__ctas { margin-top: 28px; gap: 12px; }
/* Bouton principal du hero : bordeaux, comme « Réserver » dans l'en-tête. */
.yd-hero .wp-block-button.yd-btn-plein .wp-block-button__link { background: var(--yd-bordeaux); color: var(--yd-ecru); }
.yd-hero .wp-block-button.yd-btn-plein .wp-block-button__link:hover { background: var(--yd-bordeaux-deep); }
.yd-hero .wp-block-button.yd-btn-ligne .wp-block-button__link { color: #fff; border-color: rgba(255,255,255,.55); }
.yd-hero .wp-block-button.yd-btn-ligne .wp-block-button__link:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.yd-hero .wp-block-button.yd-btn-ligne .wp-block-button__link::after { display: none; }

/* Les coachs, en pastille */
.yd-hero__team { display: inline-flex; align-items: center; margin-top: 30px; padding: 6px 18px 6px 6px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.16); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.yd-hero__team .yd-avatar { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; border: 2px solid rgba(255,255,255,.9); flex: 0 0 auto; }
.yd-hero__team .yd-avatar + .yd-avatar { margin-left: -12px; }
.yd-hero__team .yd-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.yd-hero__team-text { margin-left: 14px; font-size: 14px; color: rgba(255,255,255,.78); }
.yd-hero__team-text strong { font-weight: 600; color: #fff; }

/* Chiffres clés */
.yd-hero__stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.yd-hero__stats p { padding: 6px 13px; border: 1px solid rgba(255,255,255,.32); border-radius: 999px; font-size: 12px; font-weight: 500; color: rgba(255,255,255,.86); white-space: nowrap; }

/* Cartes vitrées (colonne de droite) */
.yd-hero__cards { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; align-self: stretch; padding-top: clamp(0px, 4vh, 40px); }
.yd-glass-card { padding: 10px 10px 16px; border-radius: 20px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.22); -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2); box-shadow: 0 18px 40px -18px rgba(0,0,0,.45); color: #fff; }
.yd-glass-card__media { border-radius: 13px; overflow: hidden; margin-bottom: 12px; aspect-ratio: 16 / 8; }
.yd-glass-card--tall .yd-glass-card__media { aspect-ratio: 4 / 3; }
.yd-glass-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transition: transform 1.2s var(--yd-ease); }
.yd-glass-card--tall .yd-glass-card__media img { object-position: 50% 30%; }
.yd-glass-card__media--sprint img { object-position: 30% 22%; }
.yd-glass-card--tall .yd-glass-card__media--haies img { object-position: 50% 64%; }
.yd-glass-card:hover .yd-glass-card__media img { transform: scale(1.04); }
.yd-glass-card > p { padding: 0 6px; }
.yd-glass-card__title { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.yd-glass-card__text { margin-top: 5px; font-size: 13px; line-height: 1.45; color: rgba(255,255,255,.78); }
.yd-glass-card__link { margin-top: 10px; font-size: 13px; font-weight: 500; }
.yd-glass-card__link a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.yd-glass-card__link a::after { content: ''; width: 13px; height: 10px; background: currentColor; -webkit-mask: var(--yd-arrow) center / contain no-repeat; mask: var(--yd-arrow) center / contain no-repeat; transition: transform .5s var(--yd-ease); }
.yd-glass-card__link a:hover::after { transform: translateX(4px); }
.yd-glass-card__ctas { margin-top: 12px; padding: 0 6px; }
.yd-glass-card__ctas .wp-block-button__link { min-height: 34px; padding: 0 14px; font-size: 13px; gap: 10px; }
.yd-glass-card__ctas .wp-block-button__link::after { width: 12px; height: 9px; }

/* ==========================================================================
   6. Sections
   ========================================================================== */
.yd-section { position: relative; padding: clamp(56px, 6.5vw, 100px) var(--yd-pad); }
.yd-section > * { max-width: var(--yd-max); margin-left: auto; margin-right: auto; }
.yd-training { background: var(--yd-ecru); }

/* Planche photo pleine largeur */
.yd-plate { background: var(--yd-ecru); padding: 0 var(--yd-pad) clamp(36px, 4vw, 64px); }
.yd-plate__media { position: relative; max-width: var(--yd-max); margin: 0 auto; }
.yd-plate__media img { width: 100%; height: clamp(340px, 72vh, 780px); object-fit: cover; object-position: 50% 55%; border-radius: var(--yd-radius); }
/* Visuel avec la signature incrustée : on garde toute l'image pour ne jamais couper le texte. */
.yd-plate__media.yd-plate__media--decision img { height: auto; max-height: 82vh; aspect-ratio: 1672 / 941; object-position: 50% 50%; }
.yd-plate__media figcaption { max-width: var(--yd-max); margin: 16px auto 0; padding: 0 4px; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); column-gap: var(--yd-gap); font-size: 13px; font-weight: 500; color: var(--yd-muted); text-align: left; }
.yd-plate__media figcaption::before { content: 'Bergerac, séance spécifique'; color: var(--yd-ink); }

/* Day Experience */
.yd-day { background: var(--yd-ecru); color: var(--yd-ink); }
.yd-day__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--yd-gap); align-items: start; }
.yd-day__grid > .yd-programme { grid-column: 1 / 8; }
.yd-day__grid > .ydd { grid-column: 8 / 13; position: sticky; top: 96px; }

.yd-programme { padding: 10px; border-radius: calc(var(--yd-radius) * 1.3); background: #fff; box-shadow: 0 1px 2px rgba(23, 21, 21, .04), 0 30px 60px -40px rgba(23, 21, 21, .35); }
@keyframes yd-live { 0% { box-shadow: 0 0 0 0 rgba(182, 155, 106, .6); } 100% { box-shadow: 0 0 0 9px rgba(182, 155, 106, 0); } }

/* Une journée DAY : l'amplitude 10 h – 16 h, puis ce qu'elle contient */
.yd-programme__hours { position: relative; padding: 18px 20px 26px; border-radius: var(--yd-radius); overflow: hidden; background: radial-gradient(120% 140% at 0% 0%, #7A3346 0%, var(--yd-bordeaux) 45%, var(--yd-bordeaux-deep) 100%); color: var(--yd-ecru); }
.yd-programme__live { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 999px; background: rgba(23, 21, 21, .25); border: 1px solid rgba(244, 239, 229, .18); font-size: 12px; font-weight: 600; color: var(--yd-ecru); }
.yd-programme__live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--yd-gold); animation: yd-live 2s ease-out infinite; }
.yd-programme__time { display: flex; align-items: center; gap: clamp(14px, 2vw, 24px); margin-top: clamp(20px, 3vw, 36px); font-family: var(--yd-sans); font-weight: 700; font-size: clamp(54px, 6.2vw, 100px); line-height: .9; letter-spacing: -.04em; color: var(--yd-ecru); }
.yd-programme__time strong { display: flex; flex: 1 1 auto; align-items: center; gap: clamp(14px, 2vw, 24px); font-weight: inherit; }
.yd-programme__time strong::after { content: ''; flex: 1 1 auto; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--yd-gold), rgba(244, 239, 229, .85)); transform: scaleX(var(--p, 1)); transform-origin: left; box-shadow: 0 0 16px rgba(182, 155, 106, .5); }
.yd-programme__time em { font-family: var(--yd-serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; color: var(--yd-ecru); }
.yd-programme__steps { --p: 1; position: relative; list-style: none; margin: 14px 0 10px; padding: 0 clamp(14px, 1.8vw, 24px); }
.yd-programme__steps::before, .yd-programme__steps::after { content: ''; position: absolute; left: calc(clamp(14px, 1.8vw, 24px) + 21px); top: 34px; bottom: 34px; width: 2px; border-radius: 2px; }
.yd-programme__steps::before { background: rgba(23, 21, 21, .08); }
.yd-programme__steps::after { background: linear-gradient(180deg, var(--yd-gold), var(--yd-bordeaux)); transform: scaleY(var(--p)); transform-origin: top; box-shadow: 0 0 14px rgba(182, 155, 106, .45); }
.yd-programme__steps li { position: relative; min-height: 44px; padding: 13px 0 13px 64px; font-size: 14px; line-height: 1.5; color: var(--yd-muted); transition: opacity .6s var(--yd-ease), color .6s; }
.yd-programme__steps li br { display: none; }
.yd-programme__steps li strong { display: block; margin-bottom: 2px; font-size: 17px; font-weight: 600; letter-spacing: -.015em; color: var(--yd-ink); }
.yd-programme__steps li::before { content: ''; position: absolute; left: 0; top: 10px; z-index: 1; width: 44px; height: 44px; border-radius: 50%; background: var(--yd-bordeaux); box-shadow: 0 0 0 5px #fff; transition: background-color .5s, box-shadow .5s; }
.yd-programme__steps li::after { content: ''; position: absolute; left: 12px; top: 22px; z-index: 2; width: 20px; height: 20px; background: var(--yd-ecru); -webkit-mask: var(--yd-ico) center / contain no-repeat; mask: var(--yd-ico) center / contain no-repeat; }
.yd-programme__steps li:nth-child(1) { --yd-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5l4 2.9-1.5 4.6h-5L8 10.4z'/%3E%3Cpath d='M12 3v4.5M16 10.4l4.4-1.4M14.5 15l2.7 3.7M9.5 15l-2.7 3.7M8 10.4L3.6 9'/%3E%3C/svg%3E"); }
.yd-programme__steps li:nth-child(2) { --yd-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5L12 4l9 6.5V20H3z'/%3E%3Cpath d='M9 20v-6h6v6'/%3E%3C/svg%3E"); }
.yd-programme__steps li:nth-child(3) { --yd-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linejoin='round'%3E%3Cpath d='M8.5 3.5L3 6.5l2 4 2-1V20.5h10V9.5l2 1 2-4-5.5-3c-.5 1.6-1.9 2.6-3.5 2.6S9 5.1 8.5 3.5z'/%3E%3C/svg%3E"); }
/* États pilotés par le défilement (seulement quand l'animation est active) */
html.yd-anim .yd-programme__steps li:not(.is-on) { opacity: .5; }
html.yd-anim .yd-programme__steps li:not(.is-on)::after { background: var(--yd-muted); }
html.yd-anim .yd-programme__steps li:not(.is-on)::before { background: #E9E3D9; }
html.yd-anim .yd-programme__steps li.is-now::before { box-shadow: 0 0 0 5px #fff, 0 0 0 9px rgba(100, 40, 56, .25), 0 10px 24px -6px rgba(100, 40, 56, .9); }

/* Coachs */
.yd-coachs { box-sizing: border-box; width: calc(100% - 2 * var(--yd-pad)); max-width: calc(var(--yd-max) + 2 * var(--yd-pad)); margin: 0 auto; padding: clamp(48px, 6vw, 88px) 0 0; border-radius: calc(var(--yd-radius) * 1.4); background: var(--yd-bordeaux); color: var(--yd-ecru); overflow: hidden; }
.yd-coachs__intro { max-width: 820px; margin: 0 auto clamp(36px, 4vw, 60px); padding: 0 var(--yd-pad); text-align: center; }
.yd-coachs__kicker { display: inline-flex; padding: 7px 14px; border: 1px solid rgba(244, 239, 229, .24); border-radius: 999px; background: rgba(244, 239, 229, .06); font-size: 13px; font-weight: 500; color: rgba(244, 239, 229, .86); }
.yd-coachs__title { margin-top: 22px; font-family: var(--yd-sans); font-weight: 700; font-size: clamp(40px, 5.6vw, 88px); line-height: .94; letter-spacing: -.035em; color: var(--yd-ecru); }
.yd-coachs__title::after { content: ''; display: block; width: 26px; height: 30px; margin: 22px auto 0; background: var(--yd-gold); -webkit-mask: var(--yd-y) center / contain no-repeat; mask: var(--yd-y) center / contain no-repeat; }
.yd-coachs__lede { max-width: 46ch; margin: 22px auto 0; font-size: clamp(15px, 1.1vw, 17px); line-height: 1.55; color: rgba(244, 239, 229, .74); }

/* Une bande par coach : visage cadré serré d'un côté, présentation de l'autre, en alternance */
.yd-coach { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: clamp(320px, 34vw, 500px); border-top: 1px solid rgba(23, 21, 21, .28); }
.yd-coach--reverse { background: #5C2432; }
.yd-coach__media { grid-column: 2; grid-row: 1; position: relative; margin: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 38%); mask-image: linear-gradient(90deg, transparent 0, #000 38%); }
.yd-coach--reverse .yd-coach__media { grid-column: 1; -webkit-mask-image: linear-gradient(270deg, transparent 0, #000 38%); mask-image: linear-gradient(270deg, transparent 0, #000 38%); }
.yd-coach__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(100, 40, 56, .35), rgba(100, 40, 56, .1)); mix-blend-mode: multiply; pointer-events: none; }
.yd-coach__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; transition: transform 1.6s var(--yd-ease); }
.yd-coach:hover .yd-coach__media img { transform: scale(1.03); }
.yd-coach__body { grid-column: 1; grid-row: 1; position: relative; z-index: 1; align-self: center; max-width: 640px; padding: clamp(32px, 4vw, 72px) var(--yd-pad); }
.yd-coach--reverse .yd-coach__body { grid-column: 2; justify-self: end; text-align: right; }
.yd-coach__tag { display: inline-flex; padding: 6px 13px; border: 1px solid rgba(182, 155, 106, .5); border-radius: 999px; font-size: 12px; font-weight: 500; color: var(--yd-ecru); }
.yd-coach__name { margin-top: 18px; font-family: var(--yd-sans); font-weight: 700; font-size: clamp(38px, 4.4vw, 70px); line-height: .96; letter-spacing: -.035em; color: var(--yd-ecru); }
.yd-coach__name em { display: block; font-family: var(--yd-serif); font-style: italic; font-weight: 400; font-size: 1.04em; letter-spacing: -.02em; color: var(--yd-ecru); }
.yd-coach__bio { max-width: 46ch; margin-top: 20px; font-size: clamp(15px, 1.1vw, 17px); line-height: 1.65; color: rgba(244, 239, 229, .84); }
.yd-coach--reverse .yd-coach__bio { margin-left: auto; }

/* Appel final */
.yd-main { background: var(--yd-ecru); }


/* Manifeste : filigrane YOUR DECISION, filet doré, titre éditorial centré */
.yd-manifeste { --yd-shift: 0px; position: relative; overflow: hidden; padding: clamp(72px, 9vw, 140px) var(--yd-pad) clamp(56px, 7vw, 110px); background: var(--yd-ecru); text-align: center; isolation: isolate; }
.yd-manifeste::before { content: 'YOUR DECISION'; position: absolute; z-index: -1; top: clamp(18px, 3vw, 44px); left: 50%; transform: translate(-50%, var(--yd-shift)); font-family: var(--yd-serif); font-weight: 400; font-size: clamp(78px, 15.5vw, 250px); line-height: .9; letter-spacing: .01em; white-space: nowrap; color: var(--yd-ecru-2); pointer-events: none; }
.yd-manifeste__kicker { display: inline-flex; align-items: center; gap: 16px; font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--yd-ink); }
.yd-manifeste__kicker::before { content: ''; width: 34px; height: 1px; background: var(--yd-gold); }
.yd-manifeste__title { margin: clamp(22px, 3vw, 40px) auto 0; font-family: var(--yd-serif); font-weight: 400; font-size: clamp(40px, 5.8vw, 96px); line-height: 1.02; letter-spacing: -.025em; color: var(--yd-ink); }
.yd-manifeste__title em { color: var(--yd-bordeaux); }
.yd-manifeste__text { max-width: 60ch; margin: clamp(26px, 3vw, 40px) auto 0; font-size: clamp(15px, 1.15vw, 17px); line-height: 1.75; color: #6f6865; }
.yd-manifeste__link { margin-top: clamp(28px, 3vw, 44px); }
.yd-manifeste__link a { display: inline-flex; align-items: center; gap: 36px; font-size: 14px; font-weight: 500; color: var(--yd-bordeaux); text-decoration: none; }
.yd-manifeste__link a::after { content: ''; width: 20px; height: 15px; background: currentColor; -webkit-mask: var(--yd-arrow) center / contain no-repeat; mask: var(--yd-arrow) center / contain no-repeat; transform: rotate(-45deg); transition: transform .5s var(--yd-ease); }
.yd-manifeste__link a:hover::after { transform: rotate(-45deg) translateX(4px); }

/* Questions fréquentes : accordéons en cartes */
.yd-faq { background: var(--yd-ecru); }
.yd-faq__list { display: grid; gap: 10px; max-width: 940px !important; }
.yd-faq__item { margin: 0; border-radius: 18px; background: #fff; box-shadow: 0 1px 2px rgba(23, 21, 21, .04), 0 16px 34px -28px rgba(23, 21, 21, .45); transition: box-shadow .4s; }
.yd-faq__item[open] { box-shadow: 0 0 0 1.5px rgba(100, 40, 56, .35), 0 20px 40px -28px rgba(23, 21, 21, .5); }
.yd-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; list-style: none; cursor: pointer; font-size: clamp(15px, 1.2vw, 17px); font-weight: 600; letter-spacing: -.01em; }
.yd-faq__item summary::-webkit-details-marker { display: none; }
.yd-faq__item summary::after { content: ''; flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: #F6F3EE url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23642838' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M8 3.5v9M3.5 8h9'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .4s var(--yd-ease), background-color .3s; }
.yd-faq__item[open] summary::after { transform: rotate(45deg); background-color: rgba(100, 40, 56, .1); }
.yd-faq__item summary:focus-visible { outline: 2px solid var(--yd-bordeaux); outline-offset: 2px; border-radius: 18px; }
.yd-faq__item > p { margin: 0; padding: 0 24px 22px; font-size: 15px; line-height: 1.65; color: #4d4847; }

/* Boutique : la collection, à acheter auprès des coachs */
.yd-shop { background: var(--yd-ecru); }
.yd-shop__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.yd-product { position: relative; padding: 10px 10px 18px; border-radius: calc(var(--yd-radius) * 1.2); background: #fff; box-shadow: 0 1px 2px rgba(23, 21, 21, .04), 0 24px 50px -36px rgba(23, 21, 21, .4); }
.yd-product__media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--yd-radius); overflow: hidden; background: #EDE7DC; }
.yd-product__media > .yd-product__img { position: absolute; inset: 0; margin: 0; }
.yd-product__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--yd-ease); }
.yd-product:hover .yd-product__img img { transform: scale(1.03); }
/* Coloris : une image par couleur, la première visible sans JavaScript */
.yd-product__media > .yd-variant { opacity: 0; transition: opacity .5s var(--yd-ease); }
.yd-product__media > .yd-variant:first-child, html.yd-js .yd-product__media > .yd-variant.is-active { opacity: 1; }
html.yd-js .yd-product__media > .yd-variant:first-child:not(.is-active) { opacity: 0; }
.yd-swatches { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 8px 0; }
.yd-swatch { position: relative; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.yd-swatch::before { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(23, 21, 21, .14); }
.yd-swatch::after { content: ''; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 1.5px transparent; transition: box-shadow .25s; }
.yd-swatch:hover::after { box-shadow: 0 0 0 1.5px rgba(23, 21, 21, .25); }
.yd-swatch[aria-checked="true"]::after { box-shadow: 0 0 0 2px var(--yd-bordeaux); }
.yd-swatch:focus-visible { outline: 2px solid var(--yd-bordeaux); outline-offset: 3px; }
.yd-product__colors strong { font-weight: 600; color: var(--yd-ink); }
.yd-product__name { margin: 16px 8px 0; font-size: clamp(19px, 1.5vw, 22px); line-height: 1.1; letter-spacing: -.025em; }
.yd-product__colors { margin: 4px 8px 0; font-size: 14px; color: var(--yd-muted); }
.yd-product__how { display: inline-flex; align-items: center; gap: 7px; margin: 14px 8px 0; padding: 5px 12px 5px 10px; border-radius: 999px; background: rgba(100, 40, 56, .08); font-size: 12px; font-weight: 600; color: var(--yd-bordeaux); }
.yd-product__how::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.yd-shop__how { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 14px; padding: clamp(20px, 2.4vw, 28px) clamp(20px, 2.6vw, 32px); border-radius: calc(var(--yd-radius) * 1.2); background: var(--yd-ink); color: var(--yd-ecru); }
.yd-shop__how-title { max-width: 62ch; font-size: 14px; line-height: 1.55; color: rgba(244, 239, 229, .74); }
.yd-shop__how-title br { display: none; }
.yd-shop__how-title strong { display: block; margin-bottom: 4px; font-size: 18px; font-weight: 700; letter-spacing: -.02em; color: var(--yd-ecru); }
.yd-shop__ctas { flex: 0 0 auto; }

/* Bergerac et alentours : ouvert à tous */
.yd-local { box-sizing: border-box; width: calc(100% - 2 * var(--yd-pad)); max-width: var(--yd-max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; padding: clamp(28px, 4vw, 56px); border-radius: calc(var(--yd-radius) * 1.4); background: #fff; box-shadow: 0 1px 2px rgba(23, 21, 21, .04), 0 30px 60px -40px rgba(23, 21, 21, .35); }
.yd-local__label { display: inline-flex; align-items: center; gap: 8px; padding: 6px 13px 6px 10px; border: 1px solid var(--yd-line); border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--yd-muted); }
.yd-local__label::before { content: ''; width: 12px; height: 15px; background: var(--yd-bordeaux); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 15'%3E%3Cpath d='M6 0a6 6 0 0 0-6 6c0 4.4 6 9 6 9s6-4.6 6-9a6 6 0 0 0-6-6zm0 8.2A2.2 2.2 0 1 1 6 3.8a2.2 2.2 0 0 1 0 4.4z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 15'%3E%3Cpath d='M6 0a6 6 0 0 0-6 6c0 4.4 6 9 6 9s6-4.6 6-9a6 6 0 0 0-6-6zm0 8.2A2.2 2.2 0 1 1 6 3.8a2.2 2.2 0 0 1 0 4.4z'/%3E%3C/svg%3E") center / contain no-repeat; }
.yd-local__title { margin-top: 20px; font-size: clamp(32px, 3.6vw, 56px); line-height: .98; letter-spacing: -.035em; }
.yd-local__title em { font-family: var(--yd-serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; color: var(--yd-bordeaux); }
.yd-local__lede { margin-top: 18px; max-width: 46ch; font-size: clamp(15px, 1.1vw, 17px); line-height: 1.55; color: #4d4847; }
.yd-local__points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 26px; }
.yd-local__point { padding: 16px; border-radius: 16px; background: #F6F3EE; font-size: 13px; line-height: 1.45; color: #57514f; }
.yd-local__point br { display: none; }
.yd-local__point strong { display: block; margin-bottom: 4px; font-size: 15px; font-weight: 600; letter-spacing: -.01em; color: var(--yd-ink); }
.yd-local__point::before { content: ''; display: block; width: 30px; height: 30px; margin-bottom: 12px; border-radius: 50%; background: var(--yd-bordeaux) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") center / 14px no-repeat; }
.yd-local__ctas { margin-top: 28px; gap: 12px; }
.yd-local .wp-block-button.yd-btn-ligne .wp-block-button__link { border-color: rgba(23, 21, 21, .2); }
.yd-local .wp-block-button.yd-btn-ligne .wp-block-button__link:hover { border-color: var(--yd-ink); }
.yd-local__map { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 100%; aspect-ratio: 1 / 1.22; padding: 16px; border-radius: calc(var(--yd-radius) * 1.1); overflow: hidden; color: var(--yd-ecru); background:
	url("assets/img/carte-bergerac.svg") center 30% / 84% auto no-repeat,
	radial-gradient(90% 80% at 50% 45%, #7A3346 0%, var(--yd-bordeaux) 45%, var(--yd-bordeaux-deep) 100%); }
.yd-local__pin { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px 7px 10px; border-radius: 999px; background: rgba(23, 21, 21, .35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(244, 239, 229, .16); font-size: 12px; font-weight: 600; }
.yd-local__pin::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--yd-gold); animation: yd-live 2s ease-out infinite; }
.yd-local__towns-label { margin-top: auto; margin-bottom: 8px; font-size: 12px; font-weight: 500; color: rgba(244, 239, 229, .7); }
.yd-local__towns { display: flex; flex-wrap: wrap; gap: 6px; }
.yd-local__towns p { padding: 5px 11px; border-radius: 999px; background: rgba(244, 239, 229, .1); border: 1px solid rgba(244, 239, 229, .14); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 12px; font-weight: 500; white-space: nowrap; }
.yd-local__towns p:first-child { background: var(--yd-ecru); color: var(--yd-bordeaux); border-color: transparent; font-weight: 600; }


/* ==========================================================================
   7 bis. Module de réservation — parcours façon « app » : une feuille blanche,
   des tuiles douces, une sélection marquée par un contour bordeaux, des
   pastilles pour les étapes et les horaires, des champs arrondis.
   ========================================================================== */
.ydb, .ydd, .yda { --ydb-serif: var(--yd-sans); }
.ydb {
	--ydb-tile: #F6F3EE;
	--ydb-tile-hover: #EFEBE4;
	--ydb-hair: rgba(23, 21, 21, .09);
	--ydb-ring: 0 0 0 2px var(--yd-bordeaux);
	--ydb-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E");
	--ydb-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 16' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 2l6 6-6 6'/%3E%3C/svg%3E");
	padding: clamp(20px, 3vw, 44px);
	background: #fff;
	border-radius: calc(var(--yd-radius) * 1.3);
	box-shadow: 0 1px 2px rgba(23, 21, 21, .04), 0 30px 60px -40px rgba(23, 21, 21, .35);
}

/* Étapes : pastilles numérotées reliées par un trait */
.ydb-progress { display: flex; align-items: center; gap: 10px; margin: 0 0 clamp(32px, 4vw, 48px); padding: 0; }
.ydb-progress__step { display: flex; flex: 1 1 0; align-items: center; gap: 10px; min-width: 0; padding: 0; border: 0; font-size: 13px; font-weight: 500; color: var(--ydb-muted); }
.ydb-progress__step:last-child { flex: 0 0 auto; }
.ydb-progress__step::before { display: none; }
.ydb-progress__step::after { content: ''; flex: 1 1 auto; min-width: 12px; height: 2px; border-radius: 2px; background: var(--ydb-tile-hover); transition: background-color .5s var(--yd-ease); }
.ydb-progress__step:last-child::after { display: none; }
.ydb-progress__num { flex: 0 0 auto; display: grid; place-items: center; width: 28px; min-width: 0; height: 28px; border-radius: 50%; background: var(--ydb-tile); color: var(--ydb-muted); font-size: 12px; font-weight: 600; transition: background-color .4s, color .4s; }
.ydb-progress__label { white-space: nowrap; }
.ydb-progress__step.is-current { color: var(--ydb-ink); font-weight: 600; }
.ydb-progress__step.is-current .ydb-progress__num { background: var(--yd-bordeaux); color: #fff; box-shadow: 0 0 0 4px rgba(100, 40, 56, .14); }
.ydb-progress__step.is-done { color: var(--ydb-ink); }
.ydb-progress__step.is-done .ydb-progress__num { font-size: 0; background: var(--ydb-ink); }
.ydb-progress__step.is-done .ydb-progress__num::after { content: ''; width: 13px; height: 13px; background: #fff; -webkit-mask: var(--ydb-check) center / contain no-repeat; mask: var(--ydb-check) center / contain no-repeat; }
.ydb-progress__step.is-done::after { background: var(--ydb-ink); }

/* Titres et textes */
.ydb-panel__title { margin-bottom: 22px; font-weight: 700; font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -.03em; }
.ydb-lead { margin: -10px 0 26px; }
.ydb-notice { padding: 16px 18px; border: 0; border-radius: 14px; background: var(--ydb-tile); }

/* Formules : tuiles, coche ronde, contour à la sélection */
.ydb-formulas { gap: 12px; border: 0; }
.ydb-card, .ydb-card:first-child, .ydb-card:nth-child(n) { min-height: 250px; padding: 20px 20px 18px; border: 0; border-radius: 20px; background: var(--ydb-tile); transition: background-color .3s, box-shadow .3s, transform .3s var(--yd-ease); }
.ydb-card:hover { background: var(--ydb-tile-hover); }
.ydb-card:active { transform: scale(.985); }
.ydb-card:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(100, 40, 56, .35); }
.ydb-card::after { content: ''; position: absolute; top: 18px; right: 18px; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid rgba(23, 21, 21, .22); background: #fff; transition: background-color .3s, border-color .3s; }
.ydb-card__top { justify-content: flex-start; padding-right: 32px; }
.ydb-card__index { display: none; }
.ydb-card__name { margin: 34px 0 12px; font-weight: 700; font-stretch: 100%; letter-spacing: -.02em; }
.ydb-card__bars { gap: 5px; }
.ydb-card__bars i { width: 8px; height: 8px; border-radius: 50%; background: rgba(23, 21, 21, .14); }
.ydb-card__bars i.is-on { background: var(--yd-bordeaux); }
.ydb-card__price strong { font-weight: 600; }
.ydb-card__cta { width: auto; margin: 18px 0 0; padding: 0; border: 0; gap: 8px; justify-content: flex-start; color: var(--yd-bordeaux); font-weight: 600; }
.ydb-card__cta::after { width: 7px; height: 11px; -webkit-mask-image: var(--ydb-chevron); mask-image: var(--ydb-chevron); }
.ydb-card.is-selected { background: #fff; color: var(--ydb-ink); box-shadow: var(--ydb-ring), 0 14px 30px -18px rgba(100, 40, 56, .55); }
.ydb-card.is-selected .ydb-card__top, .ydb-card.is-selected .ydb-card__price em, .ydb-card.is-selected .ydb-card__total { color: var(--ydb-muted); }
.ydb-card.is-selected .ydb-card__bars i { background: rgba(23, 21, 21, .14); }
.ydb-card.is-selected .ydb-card__bars i.is-on { background: var(--yd-bordeaux); }
.ydb-card.is-selected::after { border-color: var(--yd-bordeaux); background-color: var(--yd-bordeaux); background-position: center; background-size: 12px; background-repeat: no-repeat; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E"); }
.ydb-card--day { min-height: 200px; }

/* Calendrier : un mois dans une tuile, des jours ronds */
.ydb-cal { gap: 14px; padding-top: 0; border-top: 0; }
.ydb-cal__month, .ydb-cal__slots { padding: 20px; border-radius: 20px; background: var(--ydb-tile); }
.ydb-cal__label { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.ydb-cal__nav { width: 34px; height: 34px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(23, 21, 21, .08); transition: background-color .3s; }
.ydb-cal__nav:hover:not(:disabled) { background: var(--ydb-tile-hover); }
.ydb-cal__nav::before { width: 7px; height: 11px; -webkit-mask-image: var(--ydb-chevron); mask-image: var(--ydb-chevron); }
.ydb-cal__dow span { font-weight: 600; font-size: 11px; letter-spacing: .04em; }
.ydb-cal__grid { row-gap: 4px; }
.ydb-day { justify-self: center; width: 42px; height: 42px; border-radius: 50%; font-size: 15px; }
.ydb-day.is-today { box-shadow: inset 0 0 0 1.5px rgba(23, 21, 21, .2); }
.ydb-day.is-open { background: rgba(100, 40, 56, .09); color: var(--yd-bordeaux); font-weight: 600; }
.ydb-day.is-open::after { display: none; }
.ydb-day.is-open:hover { background: rgba(100, 40, 56, .16); }
.ydb-day.is-selected, .ydb-day.is-selected:hover { background: var(--yd-bordeaux); color: #fff; box-shadow: 0 6px 14px -6px rgba(100, 40, 56, .7); }

/* Horaires : des pastilles */
.ydb-cal__day { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.ydb-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; border: 0; }
.ydb-slot { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; min-height: 58px; padding: 12px 16px; border: 0; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--ydb-hair); transition: box-shadow .25s, background-color .25s, transform .25s var(--yd-ease); }
.ydb-slot::after { display: none; }
.ydb-slot strong { font-size: 16px; font-weight: 600; }
.ydb-slot span { font-size: 13px; }
.ydb-slot em { flex-basis: 100%; font-size: 12px; }
.ydb-slot:hover { padding-left: 16px; background: #fff; box-shadow: inset 0 0 0 1px rgba(23, 21, 21, .28); }
.ydb-slot:active { transform: scale(.98); }
.ydb-slot.is-selected, .ydb-slot.is-selected:hover { background: #fff; color: var(--ydb-ink); box-shadow: var(--ydb-ring); }
.ydb-slot.is-selected span, .ydb-slot.is-selected em { color: var(--yd-bordeaux); }
.ydb-cal__empty, .ydb-cal__loading { color: var(--ydb-muted); }

/* Journées : des lignes en tuiles */
.ydb-events { display: grid; gap: 8px; border: 0; }
.ydb-event { padding: 16px 18px; border: 0; border-radius: 14px; background: var(--ydb-tile); transition: box-shadow .25s, background-color .25s; }
.ydb-event:has(input:checked) { background: #fff; box-shadow: var(--ydb-ring); }
.ydb-event input { accent-color: var(--yd-bordeaux); }

/* Formulaires : champs arrondis, focus doux */
.ydb-person { margin-bottom: 32px; }
.ydb-person legend { margin-bottom: 14px; padding: 0; border: 0; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.ydb-grid { gap: 0 14px; }
.ydb-field { gap: 6px; margin-bottom: 16px; }
.ydb-field > span { font-size: 13px; font-weight: 500; color: #57514f; }
.ydb-field input, .ydb-field select, .ydb-field textarea, .yda-field input, .yda-field textarea { min-height: 50px; padding: 12px 16px; border: 0; border-radius: 12px; background: var(--ydb-tile); box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .25s, background-color .25s; }
.ydb-field select { padding-right: 40px; background: var(--ydb-tile) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23171917' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") right 16px center / 11px 7px no-repeat; }
.ydb-field input:hover, .ydb-field select:hover, .ydb-field textarea:hover { background-color: var(--ydb-tile-hover); }
.ydb-field input:focus, .ydb-field select:focus, .ydb-field textarea:focus, .yda-field input:focus, .yda-field textarea:focus { background-color: #fff; box-shadow: inset 0 0 0 1.5px var(--yd-bordeaux), 0 0 0 4px rgba(100, 40, 56, .12); }
.ydb-field.has-error input, .ydb-field.has-error select { box-shadow: inset 0 0 0 1.5px #B3261E; }
.ydb-chips { gap: 8px; }
.ydb-chip { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--ydb-tile); font-weight: 500; transition: background-color .25s, color .25s, box-shadow .25s; }
.ydb-chip:hover { background: var(--ydb-tile-hover); }
.ydb-chip.is-on { background: var(--yd-bordeaux); color: #fff; }
.ydb-guardian { margin: 8px 0 16px; padding: 20px; border: 0; border-radius: 16px; background: rgba(100, 40, 56, .06); }
.ydb-check input { accent-color: var(--yd-bordeaux); }

/* Récapitulatif : une liste groupée */
.ydb-recap { padding: 4px 20px; border: 0; border-radius: 20px; background: var(--ydb-tile); }
.ydb-recap dl > div { border-bottom: 1px solid var(--ydb-hair); }
.ydb-recap dl > div:last-child { border-bottom: 0; }
.ydb-recap__total dd { font-weight: 700; }

/* Navigation : bouton principal en pilule bordeaux */
.ydb-nav { margin-top: 32px; padding-top: 0; border-top: 0; }
.ydb-btn { min-height: 52px; padding: 0 24px 0 26px; border: 0; border-radius: 999px; background: var(--yd-bordeaux); color: #fff; font-weight: 600; transition: background-color .3s, transform .25s var(--yd-ease); }
.ydb-btn:hover { background: var(--yd-bordeaux-deep); }
.ydb-btn:active { transform: scale(.98); }
.ydb-btn--ghost, .ydb-btn--ghost:hover { min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--ydb-tile); color: var(--ydb-ink); }
.ydb-btn--ghost:hover { background: var(--ydb-tile-hover); }
.ydb-btn--ghost::before { width: 7px; height: 11px; -webkit-mask-image: var(--ydb-chevron); mask-image: var(--ydb-chevron); }

/* Confirmation : une coche, un texte centré */
.ydb-done { position: relative; padding: clamp(32px, 5vw, 60px); border-radius: 24px; background: var(--ydb-tile); color: var(--ydb-ink); text-align: center; }
.ydb-done::before { content: ''; display: block; width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%; background: var(--yd-bordeaux) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") center / 30px no-repeat; }
.ydb-done .ydb-panel__title { color: var(--ydb-ink); }
.ydb-done__ref { color: var(--ydb-muted); }
.ydb-done__ref strong { color: var(--ydb-ink); }
.ydb-done__text { margin: 0 auto; }
.ydb-done__total { color: var(--ydb-muted); }
.ydb-done__sign { border-top-color: var(--ydb-hair); font-weight: 600; }
.ydb-done .ydb-btn--ghost { color: var(--ydb-ink); background: #fff; }


/* Stages à l'étranger : en projet, volontairement grisés (non réservables) */
.yd-trips { margin-top: clamp(28px, 3.5vw, 48px); }
.yd-trips__label { display: inline-flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--yd-muted); }
.yd-trips__label::before { content: ''; width: 28px; height: 1px; background: var(--yd-gold); }
.yd-trips__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.yd-trip { position: relative; padding: 22px 24px 24px; border-radius: var(--yd-radius); background: #ECE7DF; border: 1px dashed rgba(23, 21, 21, .16); color: #8B8580; cursor: not-allowed; user-select: none; }
.yd-trip__badge { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border-radius: 999px; background: rgba(23, 21, 21, .06); font-size: 12px; font-weight: 600; color: #8B8580; }
.yd-trip__badge::before { content: ''; width: 11px; height: 11px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='3' y='7' width='10' height='7' rx='1.5'/%3E%3Cpath d='M5.5 7V5a2.5 2.5 0 0 1 5 0v2'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'%3E%3Crect x='3' y='7' width='10' height='7' rx='1.5'/%3E%3Cpath d='M5.5 7V5a2.5 2.5 0 0 1 5 0v2'/%3E%3C/svg%3E") center / contain no-repeat; }
.yd-trip__name { margin-top: 14px; font-size: clamp(22px, 2vw, 28px); line-height: 1.05; letter-spacing: -.03em; color: #8B8580; }
.yd-trip__text { margin-top: 6px; font-size: 14px; color: #9C968F; }

/* Le Pack Training : trois pièces, en vitrine */
.yd-pack { margin: 6px clamp(4px, 1vw, 14px) 4px; padding: 18px; border-radius: var(--yd-radius); background: #F6F3EE; }
.yd-pack__title { font-size: clamp(19px, 1.6vw, 24px); font-weight: 700; letter-spacing: -.03em; }
.yd-pack__title em { font-family: var(--yd-serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; color: var(--yd-bordeaux); }
.yd-pack__items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.yd-pack__item { padding: 6px 6px 12px; border-radius: 16px; background: #fff; text-align: center; transition: transform .5s var(--yd-ease), box-shadow .5s; }
.yd-pack__item:hover { transform: translateY(-3px); box-shadow: 0 18px 30px -22px rgba(23, 21, 21, .5); }
.yd-pack__img { aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: #EDE7DC; }
.yd-pack__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--yd-ease); }
.yd-pack__item:hover .yd-pack__img img { transform: scale(1.04); }
.yd-pack__label { margin-top: 10px; font-size: 13px; font-weight: 600; }

/* Journées DAY (fond clair) : tuiles dégradées, pastilles, message en carte */
.ydd { color: var(--yd-ink); }
.ydd-card__price span, .ydd-dates__title, .ydd-item__left { color: var(--yd-muted); }
.ydd-item__date { color: #4D4847; }
.ydd-item__cta { background: var(--yd-bordeaux); color: #fff; }
.ydd-item__cta:hover { background: var(--yd-bordeaux-deep); }
.ydd-closed { color: var(--yd-ecru); }
.ydd-cards { display: grid; gap: 12px; border: 0; }
.ydd-card { position: relative; padding: 24px; margin: 0; border: 0; border-radius: var(--yd-radius); background: #fff; box-shadow: 0 1px 2px rgba(23, 21, 21, .04), 0 24px 50px -36px rgba(23, 21, 21, .4); overflow: hidden; transition: transform .5s var(--yd-ease), box-shadow .5s; }
.ydd-card:hover { transform: translateY(-2px); box-shadow: 0 1px 2px rgba(23, 21, 21, .04), 0 30px 60px -36px rgba(23, 21, 21, .5); }
.ydd-card::after { content: ''; position: absolute; right: -70px; top: -70px; width: 190px; height: 190px; border-radius: 50%; background: radial-gradient(circle, rgba(100, 40, 56, .12), transparent 70%); pointer-events: none; }
.ydd-card__kicker { justify-self: start; padding: 4px 11px; border-radius: 999px; background: #F6F3EE; font-size: 12px; font-weight: 500; color: var(--yd-muted); }
.ydd-card__name { margin-top: 14px; font-weight: 700; font-stretch: 100%; letter-spacing: -.03em; color: var(--yd-ink); }
.ydd-card__price strong { font-weight: 600; }
.ydd-card__flag { padding: 4px 10px; border: 1px solid rgba(138, 111, 62, .45); border-radius: 999px; color: #8A6F3E; }
.ydd-card__inc { display: flex; align-items: center; gap: 8px; color: #4D4847; }
.ydd-card__inc::before { content: ''; width: 14px; height: 14px; flex: 0 0 auto; background: var(--yd-bordeaux); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") center / contain no-repeat; }
.ydd-dates { margin-top: 12px; }
.ydd-closed { display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-radius: var(--yd-radius); background: var(--yd-bordeaux); font-family: var(--yd-sans); font-weight: 600; font-size: clamp(16px, 1.3vw, 19px); letter-spacing: -.015em; }
.ydd-closed::before { content: ''; flex: 0 0 auto; width: 22px; height: 22px; background: var(--yd-ecru); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15' rx='3'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15' rx='3'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E") center / contain no-repeat; }
.ydd-list { display: grid; gap: 8px; border: 0; }
.ydd-item { padding: 14px 18px; border: 0; border-radius: 14px; background: #fff; }
.ydd-item__cta { border-radius: 999px; }

@media (max-width: 760px) {
	.ydb { margin: 0 -8px; padding: 18px 16px; border-radius: 24px; }
	.ydb-progress { gap: 6px; margin-bottom: 30px; }
	.ydb-progress__step { gap: 6px; }
	.ydb-progress__label { display: none; }
	.ydb-progress__step.is-current .ydb-progress__label { display: none; }
	.ydb-progress__num { width: 26px; height: 26px; }
	.ydb-formulas { gap: 8px; }
	.ydb-card, .ydb-card:first-child, .ydb-card:nth-child(n) { min-height: 0; padding: 16px 14px 14px; border-radius: 16px; }
	.ydb-card::after { top: 14px; right: 12px; width: 20px; height: 20px; }
	.ydb-card__top { padding-right: 26px; }
	.ydb-card__cta { width: auto; margin: 14px 0 0; padding: 0; }
	.ydb-cal__month, .ydb-cal__slots { padding: 16px 12px; border-radius: 16px; }
	.ydb-day { width: 38px; height: 38px; }
	.ydb-slots { grid-template-columns: 1fr 1fr; gap: 8px; }
	.ydb-recap { padding: 2px 16px; }
	.ydb-nav { margin: 24px -16px -18px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-radius: 0 0 24px 24px; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 -1px 0 var(--ydb-hair); }
}

/* ==========================================================================
   7. Pied de page
   ========================================================================== */
.yd-footer { margin-top: clamp(40px, 5vw, 72px); background: var(--yd-ink); color: var(--yd-ecru); padding: clamp(56px, 7vw, 100px) var(--yd-pad) 28px; border-radius: calc(var(--yd-radius) * 1.4) calc(var(--yd-radius) * 1.4) 0 0; }
.yd-footer a { color: inherit; text-decoration: none; transition: opacity .3s; }
.yd-footer a:hover { opacity: .6; }
.yd-footer__top { max-width: var(--yd-max); margin: 0 auto; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--yd-gap); row-gap: 48px; }
.yd-footer__brand { grid-column: 1 / 6; }
.yd-footer__cols { grid-column: 6 / 13; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.35fr) minmax(0, 1fr); gap: var(--yd-gap); }
.yd-footer .yd-contact a { overflow-wrap: anywhere; }
.yd-footer__logo { display: flex; align-items: center; gap: 11px; margin-bottom: 26px; font-family: var(--yd-serif); font-size: 14px; letter-spacing: .16em; }
.yd-footer__logo::before { content: ''; width: 17px; height: 20px; background: var(--yd-gold); -webkit-mask: var(--yd-y) center / contain no-repeat; mask: var(--yd-y) center / contain no-repeat; }
.yd-footer__slogan { margin-bottom: 30px; font-family: var(--yd-sans); font-weight: 700; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.08; letter-spacing: -.03em; }
.yd-footer__slogan em { font-family: var(--yd-serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; color: var(--yd-ecru); }
.yd-footer__label { margin-bottom: 14px; font-size: 13px; font-weight: 500; color: rgba(244, 239, 229, .5); }
.yd-footer__list { list-style: none; margin: 0; padding: 0; font-size: 15px; line-height: 1.95; }
.yd-footer .yd-contact { display: flex; flex-direction: column; gap: 2px; font-size: 15px; line-height: 1.95; }
.yd-footer .yd-contact .yd-sep { display: none; }
.yd-contact__who { display: inline-block; min-width: 58px; color: rgba(244, 239, 229, .5); }
.yd-local__lede a { color: var(--yd-bordeaux); font-weight: 600; text-decoration: none; white-space: nowrap; background-image: linear-gradient(currentColor, currentColor); background-size: 100% 1px; background-position: 0 100%; background-repeat: no-repeat; }
.yd-footer__bottom { max-width: var(--yd-max); margin: clamp(60px, 8vw, 110px) auto 0; padding-top: 18px; border-top: 1px solid var(--yd-line-light); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: rgba(244, 239, 229, .5); }

.yd-footer__mark { max-width: var(--yd-max); margin: clamp(36px, 5vw, 72px) auto 0; font-family: var(--yd-serif); font-weight: 400; font-size: clamp(30px, 8.3vw, 124px); line-height: .9; letter-spacing: .08em; text-align: center; white-space: nowrap; color: rgba(244, 239, 229, .08); user-select: none; pointer-events: none; }

/* Réservation fixe (mobile) */
.yd-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(244, 239, 229, .96); border-top: 1px solid var(--yd-line); transform: translateY(110%); transition: transform .6s var(--yd-ease); }
.yd-sticky .wp-block-buttons { display: block; }
.yd-sticky .wp-block-button, .yd-sticky .wp-block-button__link { width: 100%; justify-content: space-between; }
html.yd-show-sticky .yd-sticky { transform: none; }

/* ==========================================================================
   8. Pages
   ========================================================================== */
.yd-page { padding: 128px var(--yd-pad) 110px; min-height: 70vh; }
.yd-page__head { max-width: var(--yd-max); margin: 0 auto clamp(40px, 5vw, 70px); padding-top: 18px; border-top: 1px solid var(--yd-line); }
.yd-page__head .yd-eyebrow { margin-bottom: 18px; }
.yd-page__title { font-size: clamp(34px, 4.2vw, 64px); line-height: .98; letter-spacing: -.035em; }
.yd-page__content { max-width: var(--yd-max); margin: 0 auto; }
.yd-legal .yd-page__head, .yd-legal .yd-page__content { max-width: 760px; }
.yd-legal .yd-page__content h2 { margin: 52px 0 14px; font-size: 24px; font-weight: 600; line-height: 1.15; letter-spacing: -.02em; }
.yd-legal .yd-page__content p, .yd-legal .yd-page__content li { font-size: 16px; line-height: 1.7; color: #39332f; margin-bottom: 10px; }
.yd-legal .yd-page__content ul { padding-left: 18px; }
.yd-legal .yd-page__content strong { background: rgba(182, 155, 106, .24); padding: 0 3px; font-weight: 600; }
.yd-legal-note { padding: 14px 18px; border-left: 1px solid var(--yd-bordeaux); background: var(--yd-paper); font-size: 14px !important; }
.yd-page--epure { padding-top: 80px; }
.yd-404 .wp-block-buttons { margin-top: 30px; }
.yd-404 .yd-page__head p { margin-top: 16px; }

/* ==========================================================================
   9. Ouverture (rideau) et états d'animation
   ========================================================================== */
.yd-curtain { display: none; }
html.yd-curtain-on .yd-curtain { display: grid; position: fixed; inset: 0; z-index: 1000; place-items: center; background: var(--yd-ink); pointer-events: none; }
html.yd-curtain-on { overflow: hidden; }
.yd-curtain__inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.yd-curtain__y { width: 46px; height: 54px; fill: var(--yd-gold); }
.yd-curtain__word { display: block; margin: 0; padding-left: .34em; font-family: var(--yd-serif); font-size: clamp(17px, 2.6vw, 30px); letter-spacing: .34em; line-height: 1.2; white-space: nowrap; color: var(--yd-ecru); }
.yd-curtain__ch { display: inline-block; overflow: hidden; vertical-align: top; }
.yd-curtain__ch > span { display: inline-block; }
.yd-curtain__sp { display: inline-block; width: .5em; }
.yd-curtain__inner::after { content: ''; width: 140px; height: 1px; background: var(--yd-gold); transform: scaleX(var(--yd-l, 0)); }
.yd-curtain__line { display: none; }
.yd-curtain::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--yd-gold) 30%, var(--yd-gold) 70%, transparent); box-shadow: 0 0 28px 2px rgba(182, 155, 106, .55); }
html.yd-anim:not(.yd-ready):not(.yd-failsafe) .yd-hero__main,
html.yd-anim:not(.yd-ready):not(.yd-failsafe) .yd-hero__cards { visibility: hidden; }
html.yd-failsafe:not(.yd-ready) .yd-curtain { display: none !important; }
.yd-mask { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.yd-mask > span { display: block; will-change: transform; }

/* ==========================================================================
   10. Adaptatif
   ========================================================================== */
@media (max-width: 1100px) {
	.wp-block-navigation.yd-nav { gap: 22px; }
	.yd-hero__inner { grid-template-columns: minmax(0, 1fr) 240px; }
	.yd-hero__title { font-size: clamp(46px, 7vw, 80px); }
	.yd-head .yd-label { grid-column: 2 / 6; }
	.yd-head .yd-h2, .yd-head .yd-lede { grid-column: 2 / 13; }
	.yd-day__grid > .yd-programme { grid-column: 1 / 8; }
	.yd-day__grid > .ydd { grid-column: 8 / 13; }
	.yd-local { grid-template-columns: 1fr; }
	.yd-local__map { aspect-ratio: 16 / 10; background-size: auto 92%, auto; }
	.yd-footer__brand, .yd-footer__cols { grid-column: 1 / 13; }
}
@media (max-width: 782px) {
	.yd-header__bar { height: 58px; gap: 12px; }
	.yd-header__actions .yd-socials { display: none; }
	.yd-header__cta .wp-block-button__link { padding: 0 14px; }
	.yd-header__cta .wp-block-button__link::after { display: none; }
	.yd-header__bar { position: relative; }
	.yd-logo { grid-area: auto; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
	.yd-logo a { font-size: 12px; letter-spacing: .1em; gap: 8px; }
	.yd-logo a::before { width: 14px; height: 17px; }
	.yd-hero { display: block; }
	.yd-hero__media { bottom: auto; height: 100svh; }
	.yd-hero__media img { object-position: 60% 40%; }
	.yd-hero::before { bottom: auto; height: 100svh; background: linear-gradient(180deg, rgba(23,21,21,.45) 0%, rgba(23,21,21,0) 18%, rgba(23,21,21,.2) 40%, rgba(23,21,21,.85) 78%, var(--yd-ink) 100%); }
	.yd-hero__inner { display: block; padding-top: max(96px, calc(100svh - 400px)); padding-bottom: 28px; }
	.yd-hero__label { margin-bottom: 16px; font-size: 12px; }
	.yd-hero__title { font-size: clamp(38px, 10.6vw, 54px); line-height: .92; }
	.yd-hero__intro { margin-top: 16px; font-size: 15px; max-width: 34ch; }
	.yd-hero__ctas { margin-top: 22px; }
	.yd-hero__ctas { gap: 10px; }
	.yd-hero__ctas .wp-block-button { flex: 1 1 auto; }
	.yd-hero__ctas .wp-block-button__link { min-height: 48px; padding: 0 18px; }
	.yd-hero__ctas .wp-block-button__link { width: 100%; justify-content: center; }
	.yd-hero__team, .yd-hero__stats { display: none; }
	.yd-hero__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 36px; padding-top: 0; }
	.yd-glass-card { padding: 8px 8px 12px; border-radius: 16px; background: rgba(255,255,255,.09); }
	.yd-glass-card__media, .yd-glass-card--tall .yd-glass-card__media { aspect-ratio: 4 / 3; border-radius: 10px; }
	.yd-glass-card > p { padding: 0 4px; }
	.yd-glass-card__text { font-size: 12px; }
	.yd-glass-card--tall .yd-glass-card__text { display: none; }
	.yd-glass-card__ctas { padding: 0 4px; }
	.yd-glass-card__ctas .wp-block-button { width: 100%; }
	.yd-glass-card__ctas .wp-block-button__link { width: 100%; justify-content: center; padding: 0 10px; font-size: 12px; white-space: nowrap; }
	.yd-glass-card__ctas .wp-block-button__link::after { display: none; }
	.yd-head { row-gap: 14px; }
	.yd-head .yd-index { grid-column: 1 / 3; }
	.yd-head .yd-label { grid-column: 3 / 13; }
	.yd-head .yd-h2, .yd-head .yd-lede { grid-column: 1 / 13; }
	.yd-plate__media img { height: 58vh; }
	.yd-plate__media figcaption { display: block; }
	.yd-plate__media figcaption::before { display: block; margin-bottom: 4px; }
	.yd-coach, .yd-coach--reverse { grid-template-columns: 1fr; min-height: 0; }
	.yd-coach__media, .yd-coach--reverse .yd-coach__media { grid-column: 1; grid-row: 1; aspect-ratio: 4 / 3; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
	.yd-coach__body, .yd-coach--reverse .yd-coach__body { grid-column: 1; grid-row: 2; justify-self: start; text-align: left; margin-top: -56px; padding: 0 var(--yd-pad) 44px; }
	.yd-coach--reverse .yd-coach__bio { margin-left: 0; }
	.yd-shop__grid { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%; gap: 10px; margin: 0 calc(-1 * var(--yd-pad)); padding: 0 var(--yd-pad) 6px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.yd-shop__grid::-webkit-scrollbar { display: none; }
	.yd-product { scroll-snap-align: start; }
	.yd-shop__how { flex-direction: column; align-items: stretch; }
	.yd-shop__ctas .wp-block-button, .yd-shop__ctas .wp-block-button__link { width: 100%; justify-content: center; }
	.yd-local { grid-template-columns: 1fr; padding: 28px 18px 18px; gap: 28px; }
	.yd-local__points { grid-template-columns: 1fr; }
	.yd-local__point { display: grid; grid-template-columns: 30px 1fr; column-gap: 14px; }
	.yd-local__point::before { grid-row: span 2; margin: 0; }
	.yd-local__ctas .wp-block-button { flex: 1 1 auto; }
	.yd-local__ctas .wp-block-button__link { width: 100%; justify-content: center; }
	.yd-local__map { aspect-ratio: auto; min-height: 0; background-size: 100% auto, auto; background-position: center 44px, center; }
	.yd-local__towns-label { margin-top: calc(100vw - 2 * var(--yd-pad) - 36px - 10px); }
	.yd-day__grid > .yd-programme, .yd-day__grid > .ydd { grid-column: 1 / 13; position: static; }
	.yd-day__grid > .yd-programme { margin-bottom: 14px; }
	.yd-programme { padding: 8px; }
	.yd-pack { margin: 6px 0 2px; padding: 12px; }
	.yd-trips__grid { grid-template-columns: 1fr; gap: 8px; }
	.yd-trips__label { letter-spacing: .12em; }
	.yd-pack__items { gap: 6px; }
	.yd-pack__item { padding: 4px 4px 10px; border-radius: 12px; }
	.yd-pack__label { font-size: 12px; }
	.yd-footer__cols { grid-template-columns: 1fr 1fr; }
	.yd-footer__bottom { padding-bottom: 76px; }
	.yd-page { padding-top: 104px; }
}
@media (min-width: 783px) { .yd-sticky { display: none; } }
@media (max-width: 599px) {
	.wp-block-navigation.yd-nav .wp-block-navigation__responsive-container-open { color: inherit; }
	.yd-footer__cols { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
	.yd-curtain { display: none !important; }
}
