/* Skate Connect V6 « Douce » — Mon espace et Avis (29.10).
   Habillage seulement : aucun id, formulaire ni script n'est modifié.
   Chargée après les styles d'origine de mon-espace.html, d'où les !important
   (les règles d'origine en contiennent déjà beaucoup). */

/* ── Palette V6 sur les variables d'origine ── */
body.v6-espace{
  --cream:#F7F6F2;--snow:#F5F3F1;--ice:#EEEDF0;
  --spark:#8B8DA6;--grace:#6E7088;--mix:#9C9B89;
  --dark:#3D3D3D;--gold:#8B8DA6;--white:#FFFFFF;
  --text:#3D3D3D;--muted:#67646D;--faint:#E2E1E6;
  --rose:#E6E5EC;--coach-accent:#6E7088;--nav-h:98px;
  background:#F7F6F2!important;color:#3D3D3D;
  font-family:Inter,system-ui,sans-serif!important;
}
body.v6-espace .page-content{background:#F7F6F2}

/* ── Polices : Inter partout, Playfair pour les titres ; plus de capitales espacées ── */
body.v6-espace :is(#pageContent>section,#pageContent>section *,body>div:not(#pageContent),body>div:not(#pageContent) *){
  font-family:Inter,system-ui,sans-serif!important;font-style:normal!important;
  text-transform:none!important;letter-spacing:.005em!important;
}
body.v6-espace :is(.hero-title,.dash-welcome-name,.pending-title,.resa-title,.dash-modal-title,.profile-modal-title,
  .profile-title,.stepper-title,.choice-title,.admin-title,.wb-title,.email-verif-screen h1,.splash-text,
  .course-type-title,.dash-card-value,.admin-stat-value,.revenue-box-value,.avatar-initials,
  #adminResaLinkPanel .cal-month,[style*="'Cinzel'"][style*="font-size:1."],[style*="'Cinzel'"][style*="font-size: 1."],
  [style*="'Cormorant Garamond'"][style*="font-size:1.8rem"],[style*="'Cormorant Garamond'"][style*="font-size:2rem"]){
  font-family:'Playfair Display',Georgia,serif!important;font-weight:400!important;letter-spacing:-.01em!important;
}

/* Petites étiquettes (anciennes capitales Cinzel) : lisibles, sans gras appuyé */
body.v6-espace :is([style*="'Cinzel'"],.admin-btn,.admin-coach-name,.admin-count,.admin-db-badge,.admin-db-table th,
  .admin-stat-label,.apply-btn,.auth-btn,.auth-google,.auth-tab,.choice-btn,.coach-tab,.course-date,.cta-btn,
  .dash-card-title,.dash-logout,.dash-menu-cat,.dash-menu-direct,.dash-menu-item,.dash-role-badge,.ddnav-cat,
  .ddnav-sub,.form-label,.hero-label,.pending-status,.pending-step-num,.pm-cancel,.pm-label,.pm-save,
  .profile-field-label,.resa-confirm-btn,.resa-link-label,.resa-slot-compact-edit,.resa-slot-compact-label,
  .resa-status,.resa-type,.revenue-box-label,.role-option-label,.step-title,.student-badge,.student-level,
  .student-name,.wb-btn,#dashBurgerLabel,#interactiveWeekGrid .iwg-cell.header,#adminResaLinkPanel .cal-header span,
  .email-verif-screen .verif-actions button){
  font-weight:500!important;
}
body.v6-espace :is([style*="'Cinzel'"][style*="font-size:.2"],[style*="'Cinzel'"][style*="font-size:.3"],
  [style*="'Cinzel'"][style*="font-size:.4"],[style*="'Cinzel'"][style*="font-size:.5"],[style*="'Cinzel'"][style*="font-size:.6"],
  [style*="'Cinzel'"][style*="font-size:.7"],[style*="'Cinzel'"][style*="font-size: .2"],[style*="'Cinzel'"][style*="font-size: .3"],
  [style*="'Cinzel'"][style*="font-size: .4"],[style*="'Cinzel'"][style*="font-size: .5"],[style*="'Cinzel'"][style*="font-size: .6"],
  .admin-btn,.admin-coach-name,.admin-count,.admin-db-badge,.admin-db-table th,.admin-stat-label,.course-date,
  .dash-card-title,.dash-menu-cat,.dash-menu-direct,.dash-menu-item,.ddnav-cat,.ddnav-sub,.form-label,.hero-label,
  .pending-status,.pending-step-num,.pm-label,.profile-field-label,.resa-link-label,.resa-slot-compact-edit,
  .resa-slot-compact-label,.resa-status,.resa-type,.revenue-box-label,.role-option-label,.step-title,.student-badge,
  .student-level,.student-name,#dashBurgerLabel,#interactiveWeekGrid .iwg-cell.header,#adminResaLinkPanel .cal-header span){
  font-size:13px!important;line-height:1.5!important;
}
body.v6-espace :is([style*="'Cinzel'"][style*="font-size:.8"],[style*="'Cinzel'"][style*="font-size:.9"]){font-size:15px!important}
body.v6-espace .form-label,body.v6-espace .pm-label,body.v6-espace .profile-field-label{color:#67646D!important;margin-bottom:7px}

/* ── Introduction de la page ── */
body.v6-espace .hero-page,body.v6-espace .hero-page.coach-hero{
  background:transparent!important;padding:56px 24px 12px!important;text-align:center;overflow:visible;
}
body.v6-espace .hero-page::before{display:none!important}
body.v6-espace .hero-title{font-size:58px!important;line-height:1.12!important;color:#3D3D3D!important;margin:0 0 10px!important}
body.v6-espace .hero-title-accent{font-size:17px!important;line-height:1.6!important;color:#67646D!important;margin-top:14px!important;font-weight:400!important}

/* ── Cartes et surfaces ── */
body.v6-espace :is(.choice-section,.auth-section,.dashboard-section,.pending-section){background:transparent!important}
body.v6-espace :is(.choice-card,.auth-box,.dash-card,.onboarding-stepper,.dash-modal,.profile-modal){
  border:1px solid #E7E6EA!important;border-radius:14px!important;background:#fff!important;
  box-shadow:0 12px 32px rgba(87,83,96,.05)!important;
}
body.v6-espace :is(.choice-card,.auth-box,.dash-card)::before,body.v6-espace .auth-box::before{display:none!important}
body.v6-espace :is(.choice-card,.dash-card):hover{transform:none!important;box-shadow:0 14px 34px rgba(87,83,96,.08)!important}
body.v6-espace .dash-modal-sep{display:none!important}
body.v6-espace .dash-modal-header{background:#fff!important;border-bottom:1px solid #EEEDF0!important}
body.v6-espace .dash-modal-overlay{background:rgba(61,61,61,.32)!important}

/* Écran de choix : deux cartes simples, sans symbole au-dessus du titre */
body.v6-espace #choiceSection .choice-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:22px!important;max-width:760px!important;margin:0 auto!important}
body.v6-espace #choiceSection .choice-card{display:block!important;max-width:none!important;margin:0!important;padding:38px 32px!important;text-align:left;cursor:pointer}
body.v6-espace #choiceSection .choice-icon{display:none!important}
body.v6-espace .choice-title{font-size:30px!important;line-height:1.25!important;color:#3D3D3D!important;margin-bottom:12px!important}
body.v6-espace .choice-desc{font-size:15px!important;line-height:1.65!important;color:#67646D!important;margin-bottom:24px!important}
@media(max-width:760px){body.v6-espace #choiceSection .choice-grid{grid-template-columns:1fr!important}}

/* ── Boutons : pilule ardoise (principal) ou contour (secondaire) ── */
body.v6-espace :is(.auth-btn,.cta-btn,.cta-btn-primary,.choice-btn,.pm-save,.resa-confirm-btn,.apply-btn,.admin-btn,.wb-btn,
  .email-verif-screen .verif-actions button,a[href="reservation.html"][style*="padding"],
  button[style*="background:var(--gold)"],button[style*="background:var(--spark)"],button[style*="background:var(--coach-accent)"],
  a[style*="background:var(--gold)"],a[style*="background:var(--spark)"],a[style*="background:var(--coach-accent)"]){
  border-radius:999px!important;font-size:14px!important;font-weight:500!important;box-shadow:none!important;transform:none!important;
}
body.v6-espace :is(.auth-btn,.cta-btn-primary,.choice-btn,.client-choice .choice-btn,.coach-choice .choice-btn,.pm-save,
  .resa-confirm-btn,a[href="reservation.html"][style*="padding"],button[style*="background:var(--gold)"],button[style*="background:var(--coach-accent)"],
  a[style*="background:var(--gold)"],a[style*="background:var(--coach-accent)"]){
  background:#3D3D3D!important;color:#fff!important;border:0!important;
}
body.v6-espace :is(.auth-btn,.cta-btn-primary,.choice-btn,.pm-save,a[href="reservation.html"][style*="padding"]):hover{background:#2E2E2E!important}
body.v6-espace .choice-btn{padding:12px 24px!important}
body.v6-espace :is(button[style*="background:var(--spark)"],a[style*="background:var(--spark)"]){background:#6E7088!important;color:#fff!important;border:0!important}
body.v6-espace :is(.auth-google,.cta-btn-secondary,.dash-role-badge,.pm-cancel,.dash-logout,.btn-home){
  border-radius:999px!important;background:#fff!important;border:1px solid #D9D7DF!important;color:#3D3D3D!important;
  font-size:14px!important;font-weight:500!important;
}
body.v6-espace .dash-logout{color:#9A4B4B!important;border-color:#E9D2D2!important}
body.v6-espace .auth-google{display:flex;align-items:center;justify-content:center;gap:10px}

/* ── Champs ── */
body.v6-espace :is(.form-input,.form-select,.pm-input,.pm-select,.pm-readonly,.profile-edit-input,.resa-link-input,
  #pageContent>section input[type="text"],#pageContent>section input[type="email"],#pageContent>section input[type="password"],
  #pageContent>section input[type="tel"],#pageContent>section input[type="date"],#pageContent>section input[type="number"],
  #pageContent>section select,#pageContent>section textarea,body>div:not(#pageContent) :is(input[type="text"],input[type="tel"],input[type="date"],select,textarea)){
  border:1px solid #DEDCE3!important;border-radius:10px!important;background:#fff!important;color:#3D3D3D!important;
}
body.v6-espace :is(.form-input,.form-select,.pm-input,.pm-select):focus{border-color:#8B8DA6!important;outline:2px solid #8B8DA633}

/* ── Connexion / inscription ── */
body.v6-espace .auth-box{max-width:470px!important;padding:40px 38px!important}
body.v6-espace .auth-tabs{border-bottom:0!important;background:#F3F2F5;border-radius:999px;padding:4px;margin-bottom:28px!important;gap:4px}
body.v6-espace .auth-tab{border-radius:999px;padding:10px 0!important;font-size:14px!important;color:#67646D!important;min-height:0!important}
body.v6-espace .auth-tab.active{background:#fff;color:#3D3D3D!important;box-shadow:0 2px 8px rgba(87,83,96,.08)}
body.v6-espace .auth-tab.active::after{display:none!important}
body.v6-espace .auth-divider{font-size:14px!important;color:#67646D!important}

/* ── Espace élève : mise en page de la maquette (menu à gauche, cartes à droite) ── */
body.v6-espace #dashClient{padding:28px 0 80px!important}
body.v6-espace .dash-welcome{text-align:left!important;margin-bottom:26px!important}
body.v6-espace #dashClient .dash-welcome>div:first-child{flex-direction:row-reverse!important;justify-content:space-between!important;align-items:center!important}
body.v6-espace #dashClient .dash-welcome>div:first-child>div:last-child{text-align:left!important}
body.v6-espace #dashClient .dash-welcome>div:last-child{justify-content:flex-start!important}
body.v6-espace .dash-welcome-name{font-size:46px!important;line-height:1.15!important;color:#3D3D3D!important}
body.v6-espace :is(#clientAvatarWrap,#coachAvatarWrap){width:76px!important;height:76px!important;min-width:76px!important;min-height:76px!important}
body.v6-espace :is(#clientAvatarWrap,#coachAvatarWrap) :is(.avatar-img,.avatar-initials){width:76px!important;height:76px!important}
body.v6-espace .avatar-initials{background:#E6E8EF!important;color:#3D3D3D!important;font-size:30px!important}
body.v6-espace .avatar-edit{width:26px!important;height:26px!important;background:#3D3D3D!important}
body.v6-espace #dashClient .dash-welcome+div{text-align:left!important}
body.v6-espace #clientWhatsappShortcut{display:none!important} /* règle de Sven : pas de WhatsApp, la messagerie Skate Connect seulement */

body.v6-espace .dash-grid{gap:16px!important;margin-bottom:26px!important}
body.v6-espace .dash-card{padding:22px 24px!important;text-align:left!important}
body.v6-espace .dash-card-icon{display:none!important}
body.v6-espace .dash-card-title{color:#67646D!important;margin-bottom:6px!important}
body.v6-espace .dash-card-value{font-size:34px!important;color:#3D3D3D!important;line-height:1.2}
body.v6-espace .dash-card-label{font-size:14px!important;color:#67646D!important}

body.v6-espace .coach-tabs{border-bottom:0!important;gap:6px!important;justify-content:flex-start!important;margin-bottom:22px!important}
body.v6-espace .coach-tab{border-radius:999px!important;background:transparent!important;color:#67646D!important;
  padding:11px 18px!important;font-size:14px!important;min-height:0!important}
body.v6-espace .coach-tab.active{background:#E6E5EC!important;color:#3D3D3D!important}
body.v6-espace .coach-tab:hover{color:#3D3D3D!important}
body.v6-espace .coach-tab.active::after{display:none!important}

body.v6-espace :is(#dashClient,#dashCoach) .resa-section{background:#fff;border:1px solid #E7E6EA;border-radius:14px;
  padding:26px 28px!important;box-shadow:0 12px 32px rgba(87,83,96,.04)}
body.v6-espace .resa-title{font-size:28px!important;line-height:1.25!important;color:#3D3D3D!important;text-align:left!important;margin-bottom:18px!important}
body.v6-espace .resa-empty{border:0!important;background:#F4F3F1!important;border-radius:12px!important;text-align:left!important;
  font-size:15px!important;color:#67646D!important;padding:18px 20px!important}
body.v6-espace #dashClient div[style*="border:.5px solid var(--faint)"]{border:1px solid #E7E6EA!important;border-radius:12px!important;background:#FAFAF8!important}
body.v6-espace .onboarding-stepper{padding:24px 26px!important;margin-bottom:22px!important}
body.v6-espace .stepper-title{font-size:24px!important;color:#3D3D3D!important}
body.v6-espace .stepper-progress{font-size:14px!important;color:#67646D!important}
body.v6-espace .resa-empty a{color:#3D3D3D!important;text-decoration:underline;text-underline-offset:3px}

@media(min-width:1024px){
  body.v6-espace #dashClient>.container{display:grid!important;grid-template-columns:210px minmax(0,1fr);column-gap:40px;max-width:1180px!important}
  body.v6-espace #dashClient>.container>*{grid-column:2;min-width:0}
  body.v6-espace #dashClient #clientTabs{grid-column:1;grid-row:1/span 40;align-self:start;position:sticky;top:116px;
    flex-direction:column!important;align-items:stretch!important;overflow:visible!important;margin:4px 0 0!important}
  body.v6-espace #clientTabs .coach-tab{text-align:left;width:100%}
}
@media(max-width:1023px){
  body.v6-espace #dashClient #clientTabs{overflow-x:auto!important;flex-wrap:nowrap!important}
  body.v6-espace .dash-welcome-name{font-size:36px!important}
}
@media(max-width:760px){
  body.v6-espace .hero-page,body.v6-espace .hero-page.coach-hero{padding:34px 20px 4px!important}
  body.v6-espace .hero-title{font-size:42px!important}
  body.v6-espace .auth-box{padding:30px 22px!important}
  body.v6-espace :is(#dashClient,#dashCoach) .resa-section{padding:22px 18px!important}
  body.v6-espace .dash-welcome-name{font-size:32px!important}
  body.v6-espace .dash-grid{grid-template-columns:1fr 1fr 1fr!important;gap:10px!important}
  body.v6-espace .dash-card{padding:16px 14px!important}
  body.v6-espace .dash-card-value{font-size:26px!important}
}

/* ── Espace coach : mêmes couleurs, mêmes cartes ── */
body.v6-espace .coach-card .dash-card-value{color:#3D3D3D!important}
body.v6-espace #dashMenu{background:#fff!important;border:1px solid #E7E6EA!important;border-radius:14px!important}
body.v6-espace .pending-step-num{border-radius:50%!important;background:#6E7088!important}
body.v6-espace .pending-status{border-radius:999px!important;border:1px solid #D9D7DF!important}

/* Éléments décoratifs d'origine retirés (règle de Sven : pas de trait décoratif) */
body.v6-espace :is(.splash-line,.card-line){display:none!important}
body.v6-espace .splash-overlay{background:#F7F6F2!important}

/* ════════════════════════════════════════════════════════════════════
   AVIS (avis.html) — la page reprend son formulaire d'origine.
   ════════════════════════════════════════════════════════════════════ */
.v6-avis .avis-main{display:flex;justify-content:center;padding:36px 20px 90px}
.v6-avis .card{width:100%;max-width:580px;background:#fff;border:1px solid #E7E6EA;border-radius:14px;
  box-shadow:0 12px 32px rgba(87,83,96,.05);padding:42px 40px}
.v6-avis .card-header{text-align:left;margin-bottom:30px}
.v6-avis .card-eyebrow{font-size:13px;letter-spacing:.06em;color:#67646D;margin-bottom:10px}
.v6-avis .card-title{font-size:40px;line-height:1.18;margin:0 0 14px}
.v6-avis .card-sub{font-size:16px;line-height:1.7;color:#67646D}
.v6-avis .card-line{display:none}
.v6-avis form{display:flex;flex-direction:column;gap:20px}
.v6-avis .field{display:flex;flex-direction:column;gap:7px}
.v6-avis label.lbl{font-size:14px;color:#67646D}
.v6-avis input[type="text"],.v6-avis input[type="email"],.v6-avis textarea{width:100%;padding:13px 15px;border:1px solid #DEDCE3;
  border-radius:10px;background:#fff;font:400 16px/1.5 Inter,system-ui,sans-serif;color:#3D3D3D;outline:none}
.v6-avis input:focus,.v6-avis textarea:focus{border-color:#8B8DA6}
.v6-avis textarea{resize:vertical;min-height:130px}
.v6-avis .field>span[style]{font-family:Inter,system-ui,sans-serif!important;font-style:normal!important;font-size:13px!important}
.v6-avis .stars-wrap{display:flex;flex-direction:row-reverse;justify-content:flex-end;gap:6px}
.v6-avis .stars-wrap input[type="radio"]{position:absolute;opacity:0;width:1px;height:1px}
.v6-avis .stars-wrap label{font-size:32px;line-height:1;color:#E2E1E6;cursor:pointer;user-select:none;transition:color .15s}
.v6-avis .stars-wrap label:hover,.v6-avis .stars-wrap label:hover~label,.v6-avis .stars-wrap input:checked~label{color:#8B8DA6}
.v6-avis .stars-wrap input:focus-visible+label{outline:2px solid #8B8DA6;outline-offset:3px;border-radius:4px}
.v6-avis .stars-hint{font-size:13px;color:#67646D}
.v6-avis .hp{position:absolute;left:-9999px;opacity:0;pointer-events:none}
.v6-avis .btn-submit{width:100%;padding:15px 22px;border:0;border-radius:999px;background:#3D3D3D;color:#fff;
  font:500 15px Inter,system-ui,sans-serif;cursor:pointer;margin-top:4px}
.v6-avis .btn-submit:hover{background:#2E2E2E}
.v6-avis .btn-submit:disabled{opacity:.5;cursor:default}
.v6-avis #formMsg{display:none;padding:12px 16px;border-radius:10px;font-size:14px}
.v6-avis #formMsg.err{background:#FBF3F3;border:1px solid #EBCFCF;color:#8E3B3B}
.v6-avis #formMsg.ok{background:#F2F7F3;border:1px solid #C9DDCF;color:#2F5E3E}
.v6-avis #successState{display:none;text-align:center;padding:12px 0}
.v6-avis .success-icon{width:60px;height:60px;border-radius:50%;background:#E6E5EC;display:flex;align-items:center;justify-content:center;margin:0 auto 20px}
.v6-avis .success-icon svg{width:26px;height:26px;stroke:#3D3D3D;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round}
.v6-avis .success-title{font-family:'Playfair Display',Georgia,serif;font-size:36px;margin-bottom:10px}
.v6-avis .success-sub{font-size:16px;line-height:1.7;color:#67646D;max-width:420px;margin:0 auto 28px}
.v6-avis #successState section{margin:0 0 32px!important;padding:0!important}
.v6-avis #successState [style*="'Cinzel'"],.v6-avis #successState [style*="'Cormorant Garamond'"]{font-family:Inter,system-ui,sans-serif!important;
  text-transform:none!important;letter-spacing:.01em!important;font-style:normal!important;font-weight:500!important;font-size:15px!important}
.v6-avis #successState div[style*="flex:1 1 210px"]{border:1px solid #E7E6EA!important;border-radius:14px!important;background:#FAFAF8!important}
.v6-avis #successState div[style*="flex:1 1 210px"] a{color:#3D3D3D!important}
.v6-avis .btn-home{display:inline-block;padding:13px 26px;border-radius:999px;border:1px solid #D9D7DF;color:#3D3D3D;font-size:15px}
@media(max-width:600px){.v6-avis .card{padding:30px 22px}.v6-avis .card-title{font-size:32px}}

/* La règle d'origine « a[href="reservation.html"] » (téléphone) grossissait aussi le bouton de l'en-tête et les liens de texte */
body.v6-espace .site-header a.cta-book{min-height:48px!important;padding:10px 24px!important;font-size:15px!important;letter-spacing:.01em!important}
body.v6-espace #pageContent>section a[href="reservation.html"]:not([style*="padding"]):not(.cta-btn):not(.v6e-btn){min-height:0!important;padding:0!important;font-size:inherit!important;letter-spacing:inherit!important}
@media(max-width:760px){body.v6-espace .site-header a.cta-book{padding:10px 16px!important;font-size:14px!important}}
@media(max-width:380px){body.v6-espace .site-header a.cta-book{padding:10px 12px!important;font-size:13px!important}}
body.v6-espace #dashCoach .dash-welcome{text-align:center!important}
body.v6-espace #dashCoach .dash-welcome div{justify-content:center!important}

/* 30.10 : souplesse retirée de l'offre (décision de Sven). Masquée à l'affichage seulement, les anciennes données restent. */
body.v6-espace div:has(> #partnerMaxSouplesse),
body.v6-espace .cash-formule-row:has(#cashCheckSouplesse),
body.v6-espace div:has(> div > #priceCoursSouplesse),
body.v6-espace label.course-type-option:has(input[name="courseCategory"][value="souplesse"]),
body.v6-espace label:has(> input.regSpec[value^="Souplesse"]){display:none!important}
