/* Babou Coach 6.2.2 — profondeur, contraste et finitions premium. */
:root{
 --bg:#080e19;--panel:#142134;--panel2:#1a2a42;--text:#fbf7ed;--muted:#b8c4d4;
 --gold:#edcb83;--light-gold:#ffe6ad;--line:rgba(237,203,131,.18);--border:rgba(176,195,222,.19);
 --v5-bg:#080e19;--v5-card:#142134;--v5-card-soft:#1a2a42;--v5-surface:#142134;--v5-surface-2:#1a2a42;
 --v5-text:#fbf7ed;--v5-muted:#b8c4d4;--v5-border:rgba(176,195,222,.19);--v5-gold:#edcb83;
}
html,body,body.v5{
 background:radial-gradient(ellipse at 5% 0%,rgba(58,100,157,.28),transparent 43%),radial-gradient(ellipse at 96% 18%,rgba(157,104,68,.15),transparent 34%),linear-gradient(155deg,#0b1628,#0a1020 56%,#080d17);
 color:var(--text);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.v5 header{background:rgba(10,18,31,.94);border-bottom:1px solid rgba(237,203,131,.15);box-shadow:0 10px 30px rgba(0,0,0,.14)}
.v5 header .brand img{box-shadow:0 10px 26px rgba(0,0,0,.3),0 0 0 1px rgba(237,203,131,.22)}
.v5 header .brand small{color:#edcb83;letter-spacing:.14em}
.card,.v5-card,.guided-exercise-card,.guided-feedback-card,.session-card{
 background:radial-gradient(ellipse at 0% 0%,rgba(112,148,196,.12),transparent 65%),linear-gradient(140deg,#19283e,#111d30);
 border:1px solid rgba(176,195,222,.18);box-shadow:0 20px 44px rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.065);border-radius:24px;
}
.card h1,.v5-card h1{letter-spacing:-.045em;font-weight:750;color:#fffaf0}
.card h2,.v5-card h2,.guided-exercise-card h2{letter-spacing:-.025em;color:#fffaf0}
.note,.v5-muted,.v61-context-note{color:#b8c4d4}
.v5-eyebrow,.daily-coach-kicker,.daily-decision-label,.v61-eyebrow{color:#edcb83;letter-spacing:.16em}
.daily-coach-card,.v5-health-head,.v58-cycle-panel{
 background:radial-gradient(ellipse at 100% 5%,rgba(237,203,131,.2),transparent 52%),radial-gradient(ellipse at 0% 95%,rgba(86,126,174,.2),transparent 48%),linear-gradient(130deg,#1d2c42,#101c2d);
 border-color:rgba(237,203,131,.32);
}
.daily-coach-card:before{background:radial-gradient(circle,rgba(237,203,131,.18),transparent 69%)}
.daily-prescription-grid>div,.v5-body-grid>div,.v5-macro-grid>div,.v5-dashboard-grid article{
 background:linear-gradient(140deg,rgba(86,124,176,.15),rgba(255,255,255,.025));border:1px solid rgba(184,205,231,.13);box-shadow:inset 0 1px 0 rgba(255,255,255,.045);border-radius:18px;
}
.daily-score-panel{background:rgba(4,11,22,.28);border:1px solid rgba(237,203,131,.16);border-radius:20px;padding:18px}
.primary,.v5-primary,.start-mission-btn,.guided-rest-actions .primary{
 background:linear-gradient(115deg,#ffe6ad,#edcb83 48%,#d9af64);color:#282013;border:1px solid rgba(255,238,198,.65);box-shadow:0 8px 20px rgba(207,162,79,.18),inset 0 1px 0 rgba(255,255,255,.45);font-weight:750;
}
.secondary,.v5-secondary{background:linear-gradient(140deg,#22354e,#1b2b41);color:#eef3fb;border:1px solid rgba(192,211,237,.2)}
button:active{transform:translateY(1px)}
input,select,textarea,.v61-section-head input{background:#0c1729;color:#fffaf0;border-color:rgba(184,205,231,.23);box-shadow:inset 0 2px 5px rgba(0,0,0,.12)}
.v5-tabs{gap:8px}.v5-tabs button{background:#15243a;border:1px solid rgba(184,205,231,.13);color:#c2cee0;border-radius:14px}
.v5-tabs button.active{background:linear-gradient(110deg,#ffe6ad,#e2bd76);color:#282013;border-color:#f2d397;box-shadow:0 5px 16px rgba(213,175,100,.13)}
.v61-section-head{margin-bottom:22px}.v61-section-head h2{font-size:26px;line-height:1.15;letter-spacing:-.035em;margin:8px 0 10px}.v61-section-head p{line-height:1.65}
.v61-stat-grid{gap:12px}.v61-stat-grid article{
 padding:18px 15px;border-radius:20px;position:relative;overflow:hidden;background:linear-gradient(135deg,#243b57,#172940);border-color:rgba(187,210,239,.17);box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 12px 25px rgba(0,0,0,.12);
}
.v61-stat-grid article:first-child{background:radial-gradient(ellipse at 95% 0%,rgba(237,203,131,.2),transparent 70%),linear-gradient(135deg,#2c3542,#202b3b);border-color:rgba(237,203,131,.27)}
.v61-stat-grid article::before{content:"";position:absolute;left:15px;right:15px;top:0;height:2px;background:linear-gradient(90deg,rgba(237,203,131,.8),transparent)}
.v61-stat-grid article span{color:#d6dfec;font-size:12px}.v61-stat-grid article strong{color:#fff6e2;font-size:30px;letter-spacing:-.035em}.v61-stat-grid article strong small{color:#c7d3e3;font-size:12px}.v61-stat-grid article>small{color:#b8c4d4;margin-top:4px}
.v61-simulation{border-radius:22px;padding:22px;background:radial-gradient(ellipse at 95% 0%,rgba(237,203,131,.27),transparent 70%),linear-gradient(115deg,#313848,#202d41);border-color:rgba(237,203,131,.35);box-shadow:0 14px 34px rgba(0,0,0,.2)}
.v61-simulation strong{font-size:40px;color:#ffe6ad;letter-spacing:-.04em}.v61-simulation span{font-size:12px;color:#e4d8bd;line-height:1.5}.v61-simulation p{color:#d0d7e3;font-size:13px}
.v61-ccpm-grid{gap:14px}.v61-ccpm-grid article{padding:22px;background:radial-gradient(ellipse at 95% 0%,rgba(85,140,193,.16),transparent 62%),linear-gradient(135deg,#1c304b,#14233b);border:1px solid rgba(184,205,231,.2);border-radius:22px;box-shadow:0 12px 30px rgba(0,0,0,.14),inset 0 1px 0 rgba(255,255,255,.055)}
.v61-ccpm-grid article:nth-child(2){background:radial-gradient(ellipse at 95% 0%,rgba(86,165,146,.15),transparent 62%),linear-gradient(135deg,#1c3340,#142735)}
.v61-ccpm-grid article:nth-child(3){background:radial-gradient(ellipse at 95% 0%,rgba(147,119,189,.16),transparent 62%),linear-gradient(135deg,#29324c,#1d263c)}
.v61-ccpm-grid h3{font-size:17px;color:#f7f1e5;letter-spacing:-.02em}.v61-ccpm-grid strong{font-size:36px;color:#fff5df;letter-spacing:-.035em}.v61-ccpm-grid .v61-target{padding:14px;background:rgba(5,12,25,.22);border:1px solid rgba(255,255,255,.07);border-radius:13px;margin-top:14px}.v61-target b{color:#edcb83;font-size:18px}
.v61-reading{background:linear-gradient(130deg,rgba(237,203,131,.12),rgba(104,142,194,.08));border-color:rgba(237,203,131,.23);padding:18px;border-radius:18px}.v61-reading strong{color:#f5deaa}.v61-reading p{color:#d2dce9}
.v61-trends article{padding:15px 0}.v61-trends strong{color:#f8f4e8}.v61-chip{padding:7px 10px;color:#d7e2f0;background:rgba(151,178,214,.12)}.v61-chip.positive{background:rgba(108,215,182,.14);color:#92ead0}
.v61-prescription{border-radius:20px;padding:20px;background:radial-gradient(ellipse at 100% 0%,rgba(237,203,131,.18),transparent 65%),linear-gradient(130deg,#23344c,#1d2d42);border-color:rgba(237,203,131,.32);box-shadow:inset 0 1px 0 rgba(255,255,255,.065)}
.v61-prescription strong{font-size:20px;line-height:1.35;color:#fff8ec}.v61-prescription div:nth-child(2) strong{color:#ffe6ad}.v61-prescription p{color:#c5d2e3;font-size:13px;line-height:1.65}.v61-prescription span{color:#c0cee0}
.v61-quality{background:linear-gradient(125deg,#203647,#172937);border-color:rgba(130,216,188,.22);border-radius:20px}.v61-quality strong{color:#92ead0}
.v61-home-facts{gap:11px}.v61-home-facts strong{font-size:17px;color:#fff6e2}.v61-home-facts>span{color:#edcb83}
.v61-context-chart{background:linear-gradient(150deg,#14243a,#101c30);border:1px solid rgba(181,203,230,.12);padding:8px;border-radius:20px;margin:22px 0}
.v61-data-table summary,.v61-legacy summary{color:#d1c3a2;font-size:12px}.v61-data-table table{color:#d6e0ed}.v61-data-table thead{background:rgba(184,205,231,.07)}
.v60-session-focus{border-left:0;padding:20px;border-radius:20px;border:1px solid rgba(237,203,131,.22);background:radial-gradient(ellipse at 100% 0%,rgba(237,203,131,.18),transparent 65%),linear-gradient(130deg,#25354b,#18283d)}
.v60-session-focus>span,.v60-up-next>span{color:#edcb83}.v60-session-focus h2{font-size:26px;letter-spacing:-.035em}.v60-up-next{background:linear-gradient(135deg,#203049,#16263c);border-color:rgba(184,205,231,.18);border-radius:20px}
.guided-session-toolbar{background:linear-gradient(120deg,#1f314a,#16243b);border-color:rgba(184,205,231,.18);border-radius:18px}.guided-session-time strong{color:#fff5df}.guided-progress{color:#d0ddeb}
.v5-water-line{background:linear-gradient(120deg,rgba(96,172,231,.12),rgba(68,112,180,.04));padding:18px;border-radius:18px}
.v5-sport-grid>div{background:linear-gradient(140deg,#243b57,#172940);border-color:rgba(187,210,239,.16);border-radius:18px}
.v5 nav{background:rgba(10,18,31,.97);border-top-color:rgba(237,203,131,.16);box-shadow:0 -10px 30px rgba(0,0,0,.17)}
.v5 nav button.active{color:#edcb83;background:rgba(237,203,131,.11)}
@media(max-width:680px){.v61-section-head h2{font-size:24px}.v61-stat-grid article{padding:17px 13px}.v61-stat-grid article strong{font-size:28px}.v61-ccpm-grid article{padding:20px}.v61-simulation strong{font-size:38px}.v61-prescription{padding:17px}.card,.v5-card{border-radius:23px}.daily-score-panel{padding:16px}.v60-session-focus h2{font-size:24px}}
@media(prefers-reduced-motion:reduce){button:active{transform:none}}

/* 6.2.2 — texte explicite pour éviter les couleurs héritées illisibles. */
.v5 h1,.v5 h2,.v5 h3,.v5 h4,
.v61-section-head h2,.v61-ccpm-grid h3,
.guided-exercise-card h2,.guided-feedback-card h2{color:#fff5e4}
.v61-section-head,.v61-stat-grid article,.v61-ccpm-grid article,
.v61-prescription,.v61-quality,.v61-reading,.v61-trends,
.v61-home-facts,.guided-feedback-card,.v5-health-head{color:#f8f2e7}
.v61-section-head p,.v61-context-note,.v61-stat-grid article>small,
.v61-ccpm-grid small,.v61-prescription span,.v61-prescription p,
.v61-quality p,.v61-quality small,.v61-trends small{color:#c7d4e5}
.v61-data-table th{color:#fff5e4}.v61-data-table td{color:#dbe5f2}
.primary,.v5-primary,.start-mission-btn,.guided-rest-actions .primary,
.v5-tabs button.active{color:#182238}
.primary :where(span,strong,b),.v5-primary :where(span,strong,b),
.start-mission-btn :where(span,strong,b),.v5-tabs button.active :where(span,strong,b){color:inherit}
input::placeholder,textarea::placeholder{color:#a7bbd2;opacity:1}
