/* Pages Nos coachs et profil individuel. La page d'accueil conserve ses styles validés. */
.coach-site-shell { background: #fff8f0; }
/* Fiches coach : mêmes bandes pleine largeur que les autres pages du site. */
body.coach-profile-page { background: #fff8f0; }
.coach-profile-page .coach-site-shell { width: 100%; max-width: none; box-shadow: none; }
.subpage-header { height: 108px; padding-top: 13px; background: linear-gradient(105deg, #002741, #073c59 60%, #002c49); color: white; }
.subpage-header .main-nav { margin-top: 39px; }
.subpage-header .brand-name { font-size: 33px; }
.subpage-header .brand-mark { margin-bottom: 3px; }
.small-label { margin: 0; color: #b67b24; font-size: 11px; font-weight: 800; letter-spacing: 2.2px; line-height: 1.5; }
.small-label .label-line { display: inline-block; width: 24px; height: 1px; margin: 0 10px 4px 0; background: #bf872e; }
.directory-intro { padding: 28px 6% 0; text-align: center; background: #fff9f2; }
.directory-intro-copy { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(300px, .84fr); align-items: stretch; height: 387px; border-radius: 21px; background: radial-gradient(ellipse at 40% 34%, #124862 0%, #0b3d59 48%, #052b46 100%); box-shadow: 0 13px 30px rgba(8, 40, 59, .12); overflow: hidden; }
.directory-intro-text { display: flex; flex-direction: column; justify-content: center; padding: 38px 26px 39px 47px; text-align: left; }
.directory-photo { position: relative; min-height: 282px; overflow: hidden; }
.directory-photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 51% 41%; }
.directory-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #0b3d59 0%, rgba(11,61,89,.20) 25%, transparent 55%); pointer-events: none; }
.directory-intro::after { display: none; }
.directory-intro h1, .profile-hero h1 { margin: 15px 0 13px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(36px, 4.2vw, 46px); line-height: 1.09; letter-spacing: -1.8px; color: #0a2b46; }
.directory-intro h1 em, .profile-hero h1 em { color: #ae741e; font-style: normal; }
.directory-intro h1 { max-width: 610px; margin: 0 0 15px; color: #fff; font-size: clamp(35px, 3.5vw, 43px); line-height: 1.18; letter-spacing: -1.1px; }
.directory-intro h1 em { color: #f3d296; }
.directory-lead { max-width: 530px; margin: 0; color: #e4ecf1; font-size: 17px; line-height: 1.6; }
.directory-reassurance { margin-top: 17px; display: flex; align-items: center; gap: 9px; font-size: 13.7px; color: #25445a; font-weight: 600; }
.directory-scroll { display: inline-flex; align-items: center; justify-content: center; gap: 15px; margin-top: 21px; padding: 13px 21px; border-radius: 25px; background: #f3c56c; color: #092c46; border: 1px solid #e4b55e; text-decoration: none; font-size: 14px; font-weight: 800; transition: background .2s ease; }
.directory-scroll:hover, .directory-scroll:focus-visible { background: #ffdc91; }
.directory-scroll span { font-size: 22px; line-height: 15px; }
.dot-check { display: grid; place-items: center; border: 1px solid #c9a46b; border-radius: 50%; color: #a97122; width: 22px; height: 22px; font-size: 13px; }
.small-dot { color: #a97122; font-size: 18px; }
.directory-people { position: relative; min-width: 0; height: 310px; isolation: isolate; }
.people-halo { position: absolute; z-index: -1; width: 300px; height: 238px; top: 25px; right: 20px; border-radius: 50%; background: radial-gradient(ellipse, #f5dfbd 0%, #f6e6ce 48%, transparent 73%); }
.people-teaser { position: absolute; display: flex; flex-direction: column; align-items: center; width: 184px; height: 258px; padding: 17px 16px 16px; border: 1px solid rgba(226,192,132,.65); border-radius: 18px; box-shadow: 0 16px 28px rgba(14,42,59,.14); text-align: center; }
.people-teaser-first { top: 8px; left: 1%; transform: rotate(-5deg); color: #fff; background: linear-gradient(145deg, #073b57, #00243e); }
.people-teaser-second { top: 40px; right: 0; transform: rotate(5deg); color: #fff; background: linear-gradient(145deg, #0d4c68, #06324d); }
.people-eyebrow { color: #f7d494; font-size: 9px; font-weight: 800; line-height: 1.5; letter-spacing: 1.2px; white-space: nowrap; }
.people-teaser img { width: 114px; height: 114px; margin: 14px auto 8px; border-radius: 50%; border: 4px solid #edcc95; background: #fff6e8; object-fit: cover; }
.people-teaser strong { font: 700 25px/1.15 Georgia, serif; }
.people-teaser > span:last-child { margin-top: 5px; font-size: 11px; color: #e6e8e9; }
.people-accent { position: absolute; z-index: 1; bottom: 15px; left: calc(50% - 22px); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff9ee; border: 1px solid #dcc499; color: #c29950; box-shadow: 0 6px 18px rgba(18,37,54,.12); }
.people-accent svg { width: 28px; height: 16px; }

.directory-list { padding: 36px 6% 64px; background: linear-gradient(180deg, #fff9f2 0%, #fffaf6 36%, #fffaf7 100%); }
.directory-title-row { margin-bottom: 26px; text-align: center; }
.directory-title-rule { display: block; width: 48px; height: 2px; margin: 15px auto 0; background: #cda464; border-radius: 2px; }
.directory-list h2, .directory-explain h2, .profile-about h2 { font: 700 34px/1.17 Georgia, 'Times New Roman', serif; letter-spacing: -.85px; color: #0a2b46; margin: 10px 0 0; }
.directory-list h2 { font-size: 29px; margin: 0; }
.people-note { max-width: 215px; font: italic 15px/1.45 Georgia, serif; color: #8e7254; text-align: right; }
.directory-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.directory-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid #e9dfd0; border-radius: 19px; background: #fff; box-shadow: 0 10px 28px rgba(9,37,57,.06); transition: transform .2s ease, box-shadow .2s ease; }
.directory-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(9,37,57,.1); }
.card-head { display: flex; align-items: center; gap: 18px; padding: 27px 25px 25px; color: white; background: radial-gradient(circle at 100% 0, #15516a 0, #07344f 42%, #00263f 100%); }
.card-avatar { width: 110px; height: 110px; flex: 0 0 110px; border: 4px solid #d6b679; border-radius: 50%; object-fit: cover; background: #faf1e3; box-shadow: 0 0 0 4px rgba(255,255,255,.1); }
.card-label { display: block; margin: 0 0 7px; color: #f2ca84; font-size: 11px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; }
.card-head h3 { margin: 0 0 5px; font: 700 32px/1.12 Georgia, serif; letter-spacing: -.6px; }
.card-subtitle { margin: 0; color: #e1e6e8; line-height: 1.35; font-size: 14px; }
.card-body { flex: 1; display: flex; flex-direction: column; padding: 25px 27px 25px; }
.card-description { color: #263b4e; font-size: 15.5px; line-height: 1.65; min-height: 76px; margin: 0 0 17px; }
.card-topics { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 24px; }
.topic-chip { font-size: 12px; line-height: 1.2; padding: 8px 11px; border-radius: 30px; background: #fff6e9; color: #82602f; border: 1px solid #eddcc2; }
.card-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.button-gold, .button-outline-light, .button-profile, .button-messenger { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 27px; text-decoration: none; cursor: pointer; font-weight: 800; transition: background .16s ease, transform .16s ease; }
.button-profile { flex: 1; min-width: 200px; padding: 14px 17px; background: #f3c56c; color: #082943; border: 1px solid #eab55b; font-size: 14px; }
.button-profile:hover, .button-gold:hover { background: #ffdd94; transform: translateY(-1px); }
.button-profile svg, .button-messenger svg { width: 19px; height: 19px; }
.button-messenger { min-width: 140px; padding: 13px 14px; border: 1px solid #0874d5; background: #0084ff; color: #fff; font-size: 14px; }
.button-messenger:hover { background: #006bd6; }
.button-outline-light:hover { background: #e9f3fa; }
.prototype-note { max-width: 800px; margin: 26px auto 0; text-align: center; color: #766f67; font-size: 12px; line-height: 1.55; }

.directory-explain { padding: 48px 6% 50px; text-align: center; color: white; background: radial-gradient(ellipse at 40% 20%, #11445f, #002844 76%); }
.directory-explain .small-label { color: #e4bc7a; }
.directory-explain h2 { color: white; font-size: 31px; margin: 9px 0 29px; }
.mini-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; text-align: left; }
.mini-steps > div { border: 1px solid rgba(242,203,143,.28); border-radius: 12px; padding: 22px 19px 23px; background: rgba(255,255,255,.055); }
.mini-number { color: #f2c46e; font: 26px Georgia, serif; }
.mini-steps h3 { margin: 13px 0 8px; color: white; font-size: 15px; line-height: 1.25; }
.mini-steps p { margin: 0; color: #dbe4eb; font-size: 13.5px; line-height: 1.55; }
.directory-explain-tail { margin: 25px 0 0; font-size: 13px; color: #dce7eb; }
.subpage-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 6%; background: #fff8ef; color: #34506a; font-size: 12px; }
.footer-brand { font-size: 20px; color: #0a2b46; text-decoration: none; white-space: nowrap; }
.subpage-footer > a:last-child { text-decoration: none; font-weight: 800; color: #0c3e5b; white-space: nowrap; }
.subpage-footer > a:last-child span { color: #ad782e; margin-left: 3px; }

/* Coach profile */
.profile-breadcrumb { width: 88.9%; max-width: 1240px; margin: 0 auto; padding: 20px 0 0; color: #8c7c6b; font-size: 12.5px; }
.profile-breadcrumb a { text-decoration: none; color: #255473; font-weight: 700; }
.profile-breadcrumb span { margin-left: 9px; }
.profile-hero { display: grid; grid-template-columns: minmax(0, 350px) minmax(0, 700px); justify-content: center; gap: 52px; align-items: center; width: 88.9%; max-width: 1240px; min-height: 450px; margin: 17px auto 28px; padding: 38px 34px; border: 1px solid #2b6076; border-radius: 25px; background: radial-gradient(ellipse at 24% 28%, #174b64 0%, #0b3e59 47%, #052b46 100%); box-shadow: 0 17px 35px rgba(7, 38, 58, .15); }
.profile-hero.has-blue-portrait { grid-template-columns: minmax(0, 350px) minmax(0, 700px); }
.profile-hero-text { min-width: 0; max-width: 700px; padding: 0; text-align: center; }
.profile-portrait-wrap, .profile-portrait-wrap.is-blue { padding: 22px 17px 19px; text-align: center; border: 1px solid rgba(231, 196, 136, .46); border-radius: 23px; background: radial-gradient(ellipse at 50% 18%, #20566f 0%, #0b3d59 53%, #06253e 100%); box-shadow: 0 15px 31px rgba(0, 20, 35, .22); }
.profile-portrait-ring, .profile-portrait-ring.is-blue { display: grid; place-items: center; width: min(300px, 100%); height: auto; aspect-ratio: 1; max-width: 100%; margin: 0 auto; border: 0; border-radius: 50%; background: #0d2038; box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.profile-portrait-ring img, .profile-portrait-ring.is-blue img { display: block; width: 100%; height: 100%; border: 0; border-radius: 50%; object-fit: cover; }
.portrait-caption, .profile-portrait-wrap.is-blue .portrait-caption { display: block; margin-top: 14px; color: #f2d49b; font: italic 15px Georgia, serif; }
.profile-hero .small-label { color: #f2cb8a; }
.profile-hero h1 { margin: 14px 0 21px; font-size: clamp(40px, 4vw, 48px); color: #fff; }
.profile-hero h1 em { color: #f5cd89; }
.profile-lead { max-width: 570px; font-size: 17px; color: #e2ebf1; line-height: 1.65; margin: 0 auto 29px; }
.profile-hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 11px; }
.button-gold { border: 1px solid #edbd66; background: linear-gradient(120deg, #ffd374, #ffe3a5); padding: 13px 16px; color: #082943; font-size: 13.5px; }
.button-gold svg, .button-outline-light svg { width: 19px; height: 19px; }
.button-outline-light { border: 1px solid #e8cda2; background: rgba(255,255,255,.06); color: #fff; padding: 13px 16px; font-size: 13.5px; }
.profile-hero .button-outline-light:hover { background: rgba(255,255,255,.16); }
.profile-note { margin: 12px 0 0; font-size: 12px; color: #5b7488; }
.profile-about { display: flex; flex-direction: column; align-items: center; gap: 38px; padding: 62px 6% 68px; border-bottom: 15px solid #fff8f0; background: radial-gradient(ellipse at 20% 20%, #164d65 0%, #0c3b54 53%, #032a43 100%); color: #fff; }
.profile-about-intro { width: min(1120px, 100%); text-align: center; }
.profile-about .small-label { color: #edc381; }
.profile-about h2 { max-width: 980px; margin: 15px auto 0; color: #fff; font-size: clamp(36px, 3.6vw, 53px); }
.profile-about h2 em { color: #d69a44; font-style: normal; }
.profile-about-lead { margin: 19px auto 0; color: #d9e6ec; font-size: 18px; line-height: 1.5; }
.profile-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 19px; width: min(1260px, 100%); margin: 0; padding: 0; list-style: none; }
.profile-steps li { min-width: 0; min-height: 220px; padding: 26px 28px 30px; border: 1px solid rgba(228,184,115,.46); border-radius: 17px; background: rgba(255,255,255,.07); }
.profile-step-number { display: block; color: #f4c37b; font: 700 37px/1.1 Georgia, 'Times New Roman', serif; }
.profile-steps h3 { margin: 17px 0 10px; color: #fff; font: 700 19px/1.3 Arial, Helvetica, sans-serif; }
.profile-steps p { margin: 0; color: #dceaf0; font-size: 16px; line-height: 1.6; }
.profile-personal-note { width: 100%; padding: 39px 6% 43px; background: #f4eadc; }
.profile-personal-note[hidden] { display: none; }
.profile-personal-card { display: flex; flex-direction: column; align-items: center; gap: 16px; width: min(1180px, 100%); margin: 0 auto; }
.profile-personal-heading { text-align: center; }
.profile-personal-heading::after { content: ''; display: block; width: 76px; height: 2px; margin: 13px auto 0; border-radius: 2px; background: #bc8c49; }
.profile-personal-card h2 { margin: 0; font: 700 clamp(36px, 3.3vw, 48px)/1.16 Georgia, 'Times New Roman', serif; color: #092d48; }
.profile-personal-card h2 em { color: #a97932; font-style: normal; }
.profile-personal-body { width: 100%; min-width: 0; }
.profile-personal-copy { color: #465b68; font-size: 17.5px; line-height: 1.62; text-align: left; }
.profile-personal-copy strong { color: #99621f; font-weight: 800; }
.profile-personal-copy p { margin: 0 0 9px; }
.profile-personal-copy p:last-child { margin-bottom: 0; }
.profile-personal-signature { margin: 11px 0 0; color: #a97932; font: italic 23px Georgia, 'Times New Roman', serif; text-align: right; }
.coach-profile-page .subpage-footer { padding-left: max(5.55%, calc((100% - 1120px) / 2)); padding-right: max(5.55%, calc((100% - 1120px) / 2)); }

/* Functional demo dialogs. Nothing is submitted in the mockup. */
.coach-dialog { position: fixed; width: min(490px, calc(100% - 28px)); max-height: min(88vh, 730px); overflow: auto; padding: 34px; border: none; border-radius: 18px; color: #0c2d47; background: #fffaf4; box-shadow: 0 28px 85px #001d36aa; }
.coach-dialog::backdrop { background: #001d36aa; }
.coach-dialog h2 { font: 700 27px/1.2 Georgia, serif; margin: 0 30px 13px 0; }
.coach-dialog > p { font-size: 15px; line-height: 1.55; color: #475b69; }
.coach-dialog .dialog-close { color: #123650; }
.coach-dialog .dialog-action { margin-top: 8px; }
.consultation-dialog .small-label { margin-bottom: 8px; }
.consultation-dialog form { display: grid; gap: 12px; margin-top: 18px; }
.consultation-dialog label { display: grid; gap: 5px; font-size: 13px; font-weight: 700; color: #203f52; }
.consultation-dialog input, .consultation-dialog textarea { width: 100%; background: white; border: 1px solid #d5c4aa; border-radius: 8px; padding: 11px 12px; color: #123650; outline-color: #caa15e; font: 14px Arial, sans-serif; }
.consultation-dialog textarea { resize: vertical; }
.request-submit { width: 100%; margin-top: 5px; }
.consultation-dialog .form-disclaimer { margin: 0; font-size: 11.5px; line-height: 1.45; color: #856f59; }
.form-state { margin: 0; padding: 10px 13px; background: #fff0d6; border-radius: 8px; font-size: 12px; line-height: 1.45; }

@media (min-width: 1001px) and (max-width: 1350px) {
  .profile-hero, .profile-hero.has-blue-portrait { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 38px; }
}
@media (max-width: 1000px) and (min-width: 741px) {
  .subpage-header { padding-right: 3%; }
  .subpage-header .main-nav { gap: 16px; font-size: 14px; }
  .profile-hero, .profile-hero.has-blue-portrait { grid-template-columns: minmax(0, 275px) minmax(0, 1fr); gap: 28px; padding: 28px; }
  .profile-hero-text { padding: 0; }
  .profile-hero h1 { font-size: 38px; }
  .profile-lead { font-size: 15.5px; }
  .profile-hero-actions button { font-size: 12.5px; padding: 11px 12px; }
  .profile-personal-copy { font-size: 16px; }
  .profile-steps { gap: 12px; }
  .profile-steps li { padding: 23px 21px 26px; }
  .profile-steps h3 { font-size: 18px; }
  .profile-steps p { font-size: 14px; }
  .directory-intro-copy { grid-template-columns: minmax(0, 1.15fr) minmax(270px, .85fr); }
  .directory-intro-text { padding: 29px 20px 31px 33px; }
  .card-head { padding: 25px 18px; gap: 14px; }
  .card-avatar { width: 90px; height: 90px; flex-basis: 90px; }
  .card-head h3 { font-size: 28px; }
  .card-body { padding: 22px 20px 24px; }
  .button-profile { min-width: 175px; }
}
@media (max-width: 740px) {
  .subpage-header { height: auto; min-height: 143px; flex-direction: column; padding: 9px 16px 18px; gap: 15px; }
  .subpage-header .main-nav { margin-top: 0; gap: 12px; }
  .directory-intro { padding: 17px 16px 0; }
  .directory-intro-copy { display: flex; flex-direction: column-reverse; height: auto; border-radius: 17px; }
  .directory-intro-text { padding: 22px 24px 34px; text-align: center; }
  .directory-photo { min-height: 213px; height: 213px; }
  .directory-photo img { object-position: 50% 37%; }
  .directory-photo::after { background: linear-gradient(180deg, transparent 54%, rgba(11,61,89,.45) 78%, #0b3d59 100%); }
  .directory-intro h1 { font-size: clamp(29px, 7.1vw, 36px); }
  .directory-intro h1 { margin: 0 auto 15px; }
  .directory-intro h1 br { display: none; }
  .directory-lead { margin: 0 auto; font-size: 15px; }
  .directory-reassurance { gap: 6px; font-size: 12.5px; flex-wrap: wrap; }
  .directory-people { height: 295px; max-width: 385px; width: 100%; margin: 0 auto; }
  .people-teaser { width: min(45%, 177px); height: 246px; padding: 15px 10px; }
  .people-teaser-first { left: 4%; }
  .people-teaser-second { right: 4%; }
  .people-teaser img { width: min(108px, 82%); height: auto; aspect-ratio: 1; margin: 12px auto 9px; }
  .people-eyebrow { font-size: 8px; letter-spacing: .7px; }
  .people-halo { width: 82%; right: 9%; }
  .directory-list { padding: 31px 7% 42px; }
  .directory-title-row { margin-bottom: 23px; }
  .directory-list h2 { font-size: 26px; }
  .people-note { display: none; }
  .directory-grid { grid-template-columns: 1fr; gap: 20px; }
  .card-head { padding: 23px 22px; }
  .card-avatar { width: 91px; height: 91px; flex-basis: 91px; }
  .card-head h3 { font-size: 27px; }
  .card-body { padding: 22px; }
  .card-description { min-height: auto; }
  .directory-explain { padding: 40px 7%; }
  .directory-explain h2 { font-size: 28px; }
  .mini-steps { grid-template-columns: 1fr; gap: 10px; }
  .mini-steps > div { padding: 16px 18px; }
  .mini-steps h3 { margin-top: 6px; }
  .subpage-footer { flex-direction: column; padding: 26px 6%; text-align: center; gap: 8px; }
  .profile-breadcrumb { width: calc(100% - 32px); padding-top: 18px; }
  .profile-hero, .profile-hero.has-blue-portrait { grid-template-columns: 1fr; gap: 25px; width: calc(100% - 32px); min-height: 0; margin: 12px auto 20px; padding: 27px 20px 33px; border-radius: 19px; }
  .profile-portrait-wrap, .profile-portrait-wrap.is-blue { width: min(304px, 100%); margin: 0 auto; padding: 19px 16px 17px; }
  .profile-portrait-ring, .profile-portrait-ring.is-blue { width: min(234px, 100%); height: auto; }
  .profile-hero-text { padding: 0; text-align: center; }
  .profile-hero h1 { font-size: 35px; }
  .profile-lead { font-size: 15px; }
  .profile-hero-actions { flex-direction: column; align-items: stretch; }
  .profile-hero-actions button { width: 100%; }
  .profile-about { gap: 26px; padding: 43px 7% 47px; }
  .profile-about h2 { font-size: 32px; }
  .profile-about-lead { margin-top: 15px; font-size: 16px; }
  .profile-steps { grid-template-columns: 1fr; gap: 13px; }
  .profile-steps li { min-height: 0; padding: 23px 24px 26px; }
  .profile-steps h3 { margin: 12px 0 7px; font-size: 19px; }
  .profile-steps p { font-size: 15px; }
  .profile-personal-note { padding: 32px 7% 38px; }
  .profile-personal-card { gap: 21px; }
  .profile-personal-heading::after { margin-top: 13px; }
  .profile-personal-card h2 { font-size: 28px; }
  .profile-personal-copy { font-size: 16px; }
}
@media (max-width: 380px) {
  .card-actions { flex-direction: column; }
  .button-profile, .button-messenger { width: 100%; }
  .small-label { letter-spacing: 1.5px; }
  .directory-reassurance .small-dot { display: none; }
}
@media (prefers-reduced-motion: reduce) { .directory-card { transition: none; } }

/* Nos coachs — version détaillée. Styles limités au répertoire, sans toucher à l'accueil. */
.directory-list {
  padding: 24px 0 64px;
  background: linear-gradient(180deg, #fff9f2 0%, #fffdfa 100%);
}
.directory-title-row {
  display: block;
  margin: 0;
  padding: 41px 6% 92px;
  text-align: center;
  background: #f4eadc;
  border-bottom: 1px solid #e6d7c3;
}
.directory-title-row .small-label { color: #0d304b; font-size: 13px; letter-spacing: 2.1px; margin: 0 0 12px; }
.directory-list h2 { margin: 0; color: #0d304b; font-size: 36px; line-height: 1.2; letter-spacing: -.95px; }
.directory-list h2 em { font-style: normal; color: #996626; }
.directory-title-rule { display: block; margin: 17px auto 0; width: 67px; height: 2px; border-radius: 2px; background: #ab814d; }
.directory-grid { position: relative; z-index: 1; gap: 22px; margin: -56px 5.55% 0; }
.directory-card {
  border: 1px solid #e6d7c3;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(13, 43, 66, .08);
}
.card-head {
  position: relative;
  isolation: isolate;
  gap: 20px;
  min-height: 163px;
  padding: 22px 24px;
  border-bottom: 3px solid #d9ad66;
  background: radial-gradient(ellipse at 100% 0%, #1b5870 0, #0c3c57 49%, #032b45 100%);
}
.card-head::after {
  content: '';
  position: absolute;
  z-index: -1;
  right: -50px;
  bottom: -120px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(238, 205, 147, .16);
  border-radius: 50%;
  pointer-events: none;
}
.card-avatar {
  width: 112px;
  height: 112px;
  flex-basis: 112px;
  border: 4px solid #e5c998;
  box-shadow: 0 0 0 5px rgba(255,255,255,.1);
}
.card-identity { min-width: 0; }
.card-label { font-size: 10px; letter-spacing: 1.45px; color: #f3d49c; margin-bottom: 6px; }
.card-head h3 { font-size: 33px; margin-bottom: 7px; }
.card-subtitle { color: #e6ebed; font-size: 13.5px; line-height: 1.42; }
.card-body { padding: 24px 26px 25px; }
.card-description { min-height: 76px; margin: 0 0 19px; line-height: 1.65; color: #384c5c; font-size: 15px; }
.card-specialties { border-top: 1px solid #eee3d5; padding-top: 16px; margin-bottom: 24px; }
.card-specialties-label { display: block; margin-bottom: 10px; color: #916d3b; font-size: 11px; font-weight: 800; letter-spacing: .7px; text-transform: uppercase; }
.card-topics { margin: 0; gap: 7px; }
.topic-chip { background: #fff7e9; border-color: #ead6b6; color: #71512b; padding: 7px 10px; font-size: 11.5px; }
.card-actions { gap: 9px; }
.button-profile { min-width: 0; padding: 13px 13px; font-size: 13.5px; white-space: nowrap; }
.button-messenger { min-width: 127px; padding: 12px 13px; font-size: 13px; }
.prototype-note { margin-top: 23px; max-width: 620px; }

.directory-trust {
  display: grid;
  grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr);
  align-items: center;
  gap: 34px;
  padding: 54px 5.55%;
  background: #f4eadc;
}
.trust-photo { position: relative; height: 345px; min-width: 0; overflow: hidden; border-radius: 19px; box-shadow: 0 14px 36px rgba(26,44,54,.12); }
.trust-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 45% center; }
.trust-copy { padding: 4px 0 4px 0; }
.trust-copy .small-label { color: #966e38; margin-bottom: 12px; }
.trust-copy h2 { margin: 0 0 19px; font: 700 34px/1.16 Georgia, 'Times New Roman', serif; letter-spacing: -.8px; color: #092d48; }
.trust-copy h2 em { color: #b47827; font-style: normal; }
.trust-copy > p:not(.small-label) { margin: 0 0 13px; font-size: 14.8px; line-height: 1.64; color: #344b5b; }
.trust-assurances { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.trust-assurances span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border: 1px solid #dec9aa; border-radius: 25px; background: rgba(255,255,255,.57); color: #26495c; font-size: 11.5px; font-weight: 700; }
.trust-assurances span::before { content: '✓'; color: #b27c34; font-weight: 900; }

.directory-explain { padding: 51px 5.55% 50px; background: radial-gradient(ellipse at 50% 10%, #12445f, #002944 76%); }
.directory-explain-heading { max-width: 730px; margin: 0 auto 28px; }
.directory-explain h2 { margin: 10px 0 9px; font-size: 32px; letter-spacing: -.8px; }
.directory-explain-heading > p:last-child { margin: 0; color: #dce8ef; font-size: 15px; line-height: 1.5; }
.mini-steps { gap: 14px; }
.mini-steps > div { position: relative; padding: 24px 21px 23px; border-radius: 15px; border-color: rgba(241, 209, 150, .35); background: rgba(255,255,255,.075); }
.mini-number { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #f1cd89; color: #0b324b; font: 700 18px Georgia, serif; }
.mini-steps h3 { margin: 15px 0 9px; font-size: 15.5px; line-height: 1.3; }
.mini-steps p { color: #e3eaf0; font-size: 13px; line-height: 1.6; }
.directory-explain-tail { margin: 26px 0 0; color: #e0eaf0; font-size: 13px; line-height: 1.6; }

.directory-final {
  position: relative;
  padding: 50px 5.55% 56px;
  overflow: hidden;
  background: radial-gradient(ellipse at 5% 100%, #f3e1c8 0, transparent 40%), radial-gradient(ellipse at 95% 0%, #f6e6d1 0, transparent 42%), #fff9f1;
  text-align: center;
}
.directory-final-copy { position: relative; z-index: 1; max-width: 690px; margin: 0 auto; }
.directory-final-eyebrow { font-size: 10px; font-weight: 800; letter-spacing: 1.9px; color: #a6732e; }
.directory-final h2 { margin: 11px 0 14px; font: 700 34px/1.2 Georgia, 'Times New Roman', serif; color: #07304c; letter-spacing: -.8px; }
.directory-final p { max-width: 570px; margin: 0 auto 23px; color: #40566a; font-size: 16px; line-height: 1.55; }
.directory-final-button { display: inline-flex; justify-content: center; align-items: center; gap: 16px; min-height: 50px; padding: 12px 25px; border-radius: 28px; background: linear-gradient(110deg, #fbd27c, #ffe1a0); border: 1px solid #e6ba71; color: #082b45; font-size: 16px; font-weight: 800; text-decoration: none; box-shadow: 0 8px 17px rgba(147,107,51,.12); }
.directory-final-button:hover, .directory-final-button:focus-visible { background: #ffe8b3; transform: translateY(-1px); }
.directory-final-button svg { flex: 0 0 20px; width: 20px; height: 20px; }
.directory-final-note { display: block; margin-top: 13px; color: #546676; font-size: 12.5px; }

@media (max-width: 1000px) and (min-width: 741px) {
  .card-head { padding: 22px 18px; gap: 14px; }
  .card-avatar { width: 100px; height: 100px; flex-basis: 100px; }
  .card-body { padding: 23px 19px 24px; }
  .card-actions { flex-wrap: nowrap; }
  .button-profile { font-size: 12.5px; }
  .button-messenger { min-width: 116px; font-size: 12px; }
  .directory-trust { gap: 28px; }
  .trust-copy h2 { font-size: 30px; }
  .trust-copy > p:not(.small-label) { font-size: 14px; }
}
@media (max-width: 740px) {
  .directory-list { padding: 16px 0 46px; }
  .directory-title-row { padding: 34px 7% 70px; }
  .directory-list h2 { font-size: 29px; }
  .directory-title-row .small-label { font-size: 12px; line-height: 1.6; }
  .directory-title-rule { margin-top: 13px; }
  .directory-grid { gap: 19px; margin: -38px 7% 0; }
  .card-head { padding: 21px 20px; min-height: 137px; }
  .card-avatar { width: 94px; height: 94px; flex-basis: 94px; }
  .card-head h3 { font-size: 29px; }
  .card-body { padding: 21px; }
  .card-description { min-height: 0; font-size: 14.5px; }
  .card-specialties { margin-bottom: 21px; }
  .button-profile { min-width: 0; }
  .directory-trust { grid-template-columns: 1fr; gap: 0; padding: 36px 7% 42px; }
  .trust-photo { height: auto; aspect-ratio: 1.32; border-radius: 15px; }
  .trust-copy { padding: 29px 3px 0; }
  .trust-copy h2 { font-size: 30px; }
  .trust-copy > p:not(.small-label) { font-size: 14.5px; }
  .directory-explain { padding: 42px 7% 44px; }
  .directory-explain h2 { font-size: 29px; }
  .mini-steps { gap: 11px; }
  .mini-steps > div { padding: 18px 18px 19px; }
  .mini-number { width: 37px; height: 37px; font-size: 16px; }
  .mini-steps h3 { margin-top: 9px; }
  .directory-final { padding: 43px 7% 50px; }
  .directory-final h2 { font-size: 30px; }
  .directory-final p { font-size: 14.5px; }
  .directory-final-button { font-size: 13.5px; gap: 9px; padding: 12px 16px; max-width: 100%; }
}
@media (max-width: 380px) {
  .card-actions { flex-direction: column; }
  .button-profile, .button-messenger { width: 100%; }
}

/* Galerie de portraits : quatre coachs par rangée sur grand écran.
   Les fiches détaillées restent sur leurs pages individuelles. */
.directory-grid.gallery-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  width: calc(100% - 11.1%);
}
.directory-grid.gallery-grid.gallery-few {
  grid-template-columns: repeat(2, minmax(0, 290px));
  justify-content: center;
}
.gallery-card {
  overflow: hidden;
  border-radius: 18px;
  border-color: #e6d6c0;
  background: #fffdf9;
  text-align: center;
  box-shadow: 0 11px 28px rgba(9, 37, 57, .09);
}
.gallery-photo-panel {
  position: relative;
  height: 106px;
  flex: 0 0 106px;
  background: radial-gradient(ellipse at 75% 0%, #1b526c 0%, #0b3d59 45%, #032a45 100%);
  border-bottom: 3px solid #d5aa68;
}
.gallery-photo-panel::before,
.gallery-photo-panel::after {
  content: '';
  position: absolute;
  border: 1px solid rgba(243, 207, 148, .16);
  border-radius: 50%;
  pointer-events: none;
}
.gallery-photo-panel::before { width: 175px; height: 175px; left: -50px; top: -115px; }
.gallery-photo-panel::after { width: 150px; height: 150px; right: -55px; top: -80px; }
.gallery-avatar {
  position: absolute;
  z-index: 1;
  width: 124px;
  height: 124px;
  left: 50%;
  top: 37px;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 4px solid #ecd0a0;
  background: #fff9ef;
  object-fit: cover;
  box-shadow: 0 0 0 5px #fffdf9, 0 12px 24px rgba(5, 35, 54, .16);
}
.gallery-avatar-david {
  background: #0c2039 url('./assets/david-profile-reference.webp') center -3px / 125% auto no-repeat;
}
.gallery-avatar-anais {
  background: #0c2039 url('./assets/anais-profile.png') center -2px / 140% auto no-repeat;
}
.gallery-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  padding: 71px 17px 18px;
}
.gallery-eyebrow { color: #a87834; font-size: 10px; font-weight: 800; letter-spacing: 1.5px; }
.gallery-content h3 { margin: 7px 0 4px; font: 700 31px/1.12 Georgia, serif; color: #092d48; }
.gallery-role { margin: 0; font-size: 12.5px; color: #667585; line-height: 1.5; }
.gallery-description {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  min-height: 60px;
  margin: 16px 0 12px;
  color: #3c5264;
  font-size: 13px;
  line-height: 1.55;
}
.gallery-topic { display: inline-flex; justify-content: center; padding: 7px 11px; border: 1px solid #ead7bd; border-radius: 25px; background: #fff5e7; color: #806138; font-size: 11.5px; }
.gallery-actions { display: grid; gap: 8px; width: 100%; margin-top: auto; padding-top: 20px; }
.gallery-actions .button-profile,
.gallery-actions .button-messenger {
  width: 100%;
  min-width: 0;
  min-height: 41px;
  padding: 10px 8px;
  border-radius: 25px;
  font-size: 12.5px;
  line-height: 1.25;
}
.gallery-actions .button-messenger svg { width: 17px; height: 17px; }

@media (max-width: 1199px) {
  .directory-grid.gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 850px) {
  .directory-grid.gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 580px) {
  .directory-grid.gallery-grid,
  .directory-grid.gallery-grid.gallery-few {
    grid-template-columns: minmax(0, 340px);
    justify-content: center;
    width: calc(100% - 14%);
  }
}

/* Carrousel des coachs : navigation manuelle, sans défilement automatique.
   Avec 16 profils, quatre cartes sont visibles par groupe sur grand écran. */
.coach-carousel {
  position: relative;
  z-index: 2;
  width: calc(100% - 11.1%);
  max-width: 1280px;
  margin: -56px auto 0;
}
.coach-carousel-viewport {
  overflow-x: hidden;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  touch-action: pan-y;
  scrollbar-width: none;
  padding: 5px 1px 18px;
  outline-offset: 3px;
}
.coach-carousel-viewport::-webkit-scrollbar { display: none; }
.coach-carousel .directory-grid.carousel-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 18px;
  width: 100%;
  max-width: none;
  margin: 0;
  grid-template-columns: none;
  justify-content: initial;
}
.coach-carousel .gallery-card {
  flex: 0 0 calc((100% - 54px) / 4);
}
.coach-carousel .carousel-track.carousel-centered { justify-content: center; }
.coach-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 8px 0 3px;
}
.carousel-arrow {
  position: absolute;
  z-index: 3;
  top: 44%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid #113d57;
  border-radius: 50%;
  background: #073653;
  color: #fff9ee;
  font: 24px/1 Arial, sans-serif;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(9, 43, 67, .10);
  transition: background .18s ease, transform .18s ease;
}
.carousel-arrow-prev { left: -58px; }
.carousel-arrow-next { right: -58px; }
.carousel-arrow:not(:disabled):hover,
.carousel-arrow:not(:disabled):focus-visible { background: #185673; transform: translateY(calc(-50% - 1px)); }
.carousel-arrow:disabled { opacity: .28; cursor: default; box-shadow: none; }
.carousel-page { min-width: 67px; text-align: center; color: #705c45; font-size: 13px; font-weight: 800; letter-spacing: 2px; }

@media (max-width: 1299px) {
  .coach-carousel .gallery-card { flex-basis: calc((100% - 36px) / 3); }
}
@media (max-width: 850px) {
  .coach-carousel .gallery-card { flex-basis: calc((100% - 18px) / 2); }
}
@media (max-width: 580px) {
  .coach-carousel { width: calc(100% - 14%); margin-top: -38px; }
  .coach-carousel .gallery-card { flex-basis: 100%; }
  .coach-carousel-controls { min-height: 52px; margin-top: 7px; }
  .carousel-arrow { top: auto; bottom: 2px; transform: none; width: 43px; height: 43px; }
  .carousel-arrow-prev { left: calc(50% - 132px); }
  .carousel-arrow-next { right: calc(50% - 132px); }
  .carousel-arrow:not(:disabled):hover,
  .carousel-arrow:not(:disabled):focus-visible { transform: translateY(-1px); }
}
@media (prefers-reduced-motion: reduce) {
  .carousel-arrow { transition: none; }
}
