/* ==========================================================================
   Nisusa Coaching
   ========================================================================== */

:root {
  --bg: #0c0a09;
  --surface: rgba(18, 13, 11, .6);
  --line: rgba(255, 120, 70, .16);
  --text: #f5efe8;
  --muted: #a39a91;
  --faint: #8a7f76;          /* texte secondaire, contraste AA sur --bg */
  --accent: #ff5a2e;
  --max: 1180px;
  --header-h: 78px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 78% 15%, rgba(255, 90, 46, .10), transparent 30rem),
    radial-gradient(circle at 10% 70%, rgba(255, 90, 46, .06), transparent 26rem),
    var(--bg);
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ol, ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.container { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }

h1, h2, h3 { font-family: "Bebas Neue", Arial, sans-serif; letter-spacing: .5px; font-weight: 400; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 200;
  padding: 10px 14px; background: var(--accent); color: #160804; font-weight: 700; font-size: 13px;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* ---------- Fond ---------- */
.background-grid {
  position: fixed; inset: 0; pointer-events: none; opacity: .18;
  background-image:
    linear-gradient(rgba(255, 90, 46, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 90, 46, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}
.ambient { position: fixed; width: 420px; height: 420px; border-radius: 50%; filter: blur(100px); opacity: .10; pointer-events: none; }
.ambient-one { background: var(--accent); top: 6%; right: -180px; }
.ambient-two { background: #8a2f16; bottom: 5%; left: -220px; }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(12, 10, 9, .78);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  transition: background .3s, border-color .3s;
}
.site-header.is-scrolled { background: rgba(12, 10, 9, .94); border-bottom-color: rgba(255, 90, 46, .3); }

.nav { min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 25px; transition: min-height .3s; }
.is-scrolled .nav { min-height: 64px; }

.brand { display: flex; align-items: center; gap: 11px; font-family: "Bebas Neue", Arial, sans-serif; font-size: 20px; letter-spacing: 1px; }
.brand b { color: var(--accent); font-weight: 400; }
.brand-mark {
  width: 32px; height: 32px; display: grid; place-items: center;
  border: 1px solid var(--accent); color: var(--accent);
  box-shadow: 0 0 18px rgba(255, 90, 46, .2);
}

.nav-links { display: flex; gap: 32px; }
.nav-links a { position: relative; color: var(--muted); font-size: 13px; padding-block: 6px; transition: color .25s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--accent); }
.nav-links a[aria-current]::after, .nav-links a:hover::after { transform: scaleX(1); }
.menu-cta { display: none; }

.nav-cta { border: 1px solid var(--line); padding: 11px 16px; font-size: 12px; transition: .25s; }
.nav-cta:hover { border-color: var(--accent); color: var(--accent); }
.nav-cta span { margin-left: 8px; }

.nav-toggle { display: none; width: 44px; height: 44px; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text); transition: transform .3s, top .3s; }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; min-height: 100svh;
  padding-top: 130px; padding-bottom: 70px;
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center; gap: 48px;
}
.eyebrow { color: var(--accent); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.eyebrow span { width: 26px; height: 1px; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.hero h1 { font-size: clamp(52px, 6.4vw, 92px); line-height: .95; max-width: 820px; }
.hero h1 strong { color: var(--accent); font-weight: 400; }
.hero-text { color: var(--muted); max-width: 520px; margin-top: 22px; font-size: 17px; line-height: 1.7; }
.hero-actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

.button { display: inline-block; padding: 15px 22px; font-size: 13px; border: 1px solid var(--line); transition: .25s; letter-spacing: .3px; }
.button-primary { background: var(--accent); color: #160804; border-color: var(--accent); font-weight: 700; }
.button-primary:hover { box-shadow: 0 0 28px rgba(255, 90, 46, .35); transform: translateY(-2px); }
.button-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* Maquette t-shirt */
.hero-visual { position: relative; }
.hero-visual::before {          /* halo orange derrière la maquette */
  content: ""; position: absolute; inset: 12% 8% -6%; z-index: -1;
  background: radial-gradient(ellipse at 50% 60%, rgba(255, 90, 46, .28), transparent 65%);
  filter: blur(30px);
}
.shirt-stage {
  --rx: 0deg; --ry: 0deg;
  position: relative; overflow: hidden;
  border: 1px solid rgba(255, 90, 46, .28);
  background: #191919;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 60px rgba(255, 90, 46, .08);
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .25s ease-out;
}
.shirt-stage::after {           /* fondu vers le fond du site */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 58%, rgba(12, 10, 9, .7) 100%);
}
.shirt-stage img { width: 100%; }
.hero-visual figcaption {
  display: flex; justify-content: space-between; gap: 16px;
  margin-top: 12px; color: var(--faint); font-size: 12px; letter-spacing: .5px;
}
.hero-visual figcaption span:first-child { color: var(--accent); }

/* Ouverture de page : un seul moment orchestré */
.js .hero-content > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) backwards; }
.js .hero-content > :nth-child(2) { animation-delay: .08s; }
.js .hero-content > :nth-child(3) { animation-delay: .16s; }
.js .hero-content > :nth-child(4) { animation-delay: .24s; }
.js .hero-visual { animation: rise 1s cubic-bezier(.2, .7, .2, 1) .2s backwards; }

/* ---------- Bandeau défilant ---------- */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: rgba(18, 13, 11, .5); padding: 14px 0; }
.ticker-track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker-track span {
  display: inline-flex; align-items: center; gap: 28px; padding-right: 28px;
  font-family: "Bebas Neue", Arial, sans-serif; font-size: 22px; letter-spacing: 1.5px; color: var(--muted); white-space: nowrap;
}
.ticker-track span::after { content: ""; width: 7px; height: 7px; background: var(--accent); transform: rotate(45deg); }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* ---------- Sections ---------- */
.section { padding-top: 120px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin-bottom: 42px; }
.section-heading h2 { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.05; margin-top: 10px; }
.section-heading h2 span, .contact-card h2 span, .expertise-panel h2 span { color: var(--accent); }
.section-kicker { color: var(--accent); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; }
.section-heading > p { max-width: 390px; color: var(--muted); line-height: 1.6; font-size: 14px; }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.service-card {
  position: relative; min-height: 300px; padding: 26px; overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(24, 17, 14, .9), rgba(12, 10, 9, .75));
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.service-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 100% 0, rgba(255, 90, 46, .14), transparent 45%); opacity: 0; transition: opacity .3s; }
.service-card:hover { transform: translateY(-7px); border-color: rgba(255, 90, 46, .5); box-shadow: 0 18px 45px rgba(0, 0, 0, .3); }
.service-card:hover::before { opacity: 1; }
.card-icon { width: 30px; height: 30px; color: var(--accent); margin: 8px 0 34px; position: relative; }
.card-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { font-size: 22px; position: relative; }
.service-card p { color: var(--muted); font-size: 13px; line-height: 1.65; margin-top: 12px; position: relative; }
.card-link { position: absolute; bottom: 24px; left: 26px; color: var(--accent); font-size: 12px; }
.card-link b { display: inline-block; margin-left: 8px; font-weight: 400; transition: transform .3s; }
.service-card:hover .card-link b { transform: translateX(5px); }

/* Méthode */
.expertise-panel {
  border: 1px solid var(--line); padding: 55px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  background: linear-gradient(120deg, rgba(22, 15, 12, .85), rgba(10, 8, 7, .55));
}
.expertise-panel h2 { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.05; margin-top: 10px; }
.method-list { display: grid; gap: 18px; }
.method-list li { display: grid; grid-template-columns: 40px 1fr; gap: 15px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.method-list li:last-child { border-bottom: 0; }
.method-list span { color: var(--accent); font-family: "Bebas Neue", Arial, sans-serif; font-size: 18px; }
.method-list p { color: var(--muted); font-size: 13px; line-height: 1.5; }
.method-list strong { color: var(--text); font-family: "Bebas Neue", Arial, sans-serif; font-size: 18px; letter-spacing: .4px; font-weight: 400; }

/* Détails des services */
.details { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.detail-block { padding: 45px; border: 1px solid var(--line); background: var(--surface); scroll-margin-top: 100px; }
.detail-block h2 { font-size: 30px; margin: 10px 0 16px; }
.detail-block > p { color: var(--muted); line-height: 1.7; font-size: 14px; }
.detail-block ul { display: grid; gap: 9px; margin-top: 22px; color: #cfc4bb; font-size: 13px; }
.detail-block li::before { content: "✓"; color: var(--accent); margin-right: 9px; }
.detail-block > .detail-note { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--faint); font-size: 12px; line-height: 1.6; }

/* Recettes */
.recipe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.recipe-card { padding: 28px; border: 1px solid var(--line); background: linear-gradient(150deg, rgba(24, 17, 14, .9), rgba(12, 10, 9, .75)); transition: transform .3s, border-color .3s; }
.recipe-card:hover { transform: translateY(-6px); border-color: rgba(255, 90, 46, .45); }
.recipe-tag { color: var(--accent); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; }
.recipe-card h3 { font-size: 22px; margin: 14px 0 10px; }
.recipe-card > p { color: var(--muted); font-size: 13px; line-height: 1.6; }
.recipe-macros { display: flex; gap: 22px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.recipe-macros div { display: grid; gap: 2px; }
.recipe-macros strong { font-family: "Bebas Neue", Arial, sans-serif; color: var(--accent); font-size: 20px; font-weight: 400; }
.recipe-macros span { color: var(--faint); font-size: 12px; }

/* Tarifs */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.price-card {
  position: relative; padding: 30px 26px; overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(24, 17, 14, .92), rgba(12, 10, 9, .75));
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.price-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 100% 0, rgba(255, 90, 46, .13), transparent 45%); opacity: 0; transition: opacity .3s; }
.price-card:hover { transform: translateY(-6px); border-color: rgba(255, 90, 46, .48); box-shadow: 0 18px 45px rgba(0, 0, 0, .3); }
.price-card:hover::before { opacity: 1; }
.price-tag { position: relative; color: var(--accent); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; }
.price-card h3 { position: relative; font-size: 22px; margin: 20px 0 15px; }
.price { position: relative; color: var(--muted); font-size: 13px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.price strong { display: block; font-family: "Bebas Neue", Arial, sans-serif; font-weight: 400; color: var(--text); font-size: 32px; margin-top: 5px; }
.price small { font-family: "Inter", Arial, sans-serif; font-size: 13px; color: var(--muted); }
.price-card > p { position: relative; color: var(--muted); font-size: 13px; line-height: 1.6; margin-top: 17px; min-height: 52px; }
.price-card ul { position: relative; display: grid; gap: 10px; margin-top: 16px; color: #cfc4bb; font-size: 12px; }
.price-card li::before { content: "✓"; color: var(--accent); margin-right: 8px; }

.combo-note { margin-top: 15px; display: flex; gap: 15px; align-items: flex-start; padding: 20px 24px; border: 1px solid var(--line); background: rgba(18, 13, 11, .45); }
.combo-note > span { color: var(--accent); font-size: 18px; }
.combo-note strong { font-size: 13px; letter-spacing: .5px; }
.combo-note p { color: var(--muted); font-size: 13px; line-height: 1.5; margin-top: 6px; }
.combo-note a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* Contact */
.contact { padding-bottom: 120px; }
.contact-card {
  padding: 75px; text-align: center;
  border: 1px solid rgba(255, 90, 46, .28);
  background: radial-gradient(circle at 50% 0, rgba(255, 90, 46, .13), transparent 50%), rgba(18, 13, 11, .72);
}
.contact-card h2 { font-size: clamp(34px, 4.4vw, 54px); margin-top: 10px; }
.contact-card p { max-width: 600px; margin: 20px auto; color: var(--muted); line-height: 1.6; }
.contact-email {
  display: inline-block; color: var(--accent); font-family: "Bebas Neue", Arial, sans-serif;
  font-size: clamp(18px, 2.4vw, 26px); padding-bottom: 8px; border-bottom: 1px solid rgba(255, 90, 46, .35);
  overflow-wrap: anywhere; transition: border-color .25s;
}
.contact-email:hover { border-color: var(--accent); }
.contact-email span { margin-left: 8px; }
.secure { color: var(--faint); font-size: 12px; margin-top: 24px; }

/* Pied de page */
.footer { border-top: 1px solid var(--line); padding: 24px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--faint); font-size: 12px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { transition: color .25s; }
.footer-links a:hover { color: var(--accent); }
.footer-health { margin-top: 14px; color: var(--faint); font-size: 11px; line-height: 1.6; }

/* ---------- Pages légales ---------- */
.legal { padding-top: calc(var(--header-h) + 60px); padding-bottom: 100px; max-width: 820px; }
.legal h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1; margin-bottom: 12px; }
.legal-intro { color: var(--muted); font-size: 14px; line-height: 1.7; margin-bottom: 40px; }
.legal section { padding: 34px 0; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.legal h2 { font-size: 32px; margin-bottom: 18px; }
.legal h3 { font-size: 20px; margin: 22px 0 8px; color: var(--accent); }
.legal p, .legal li { color: var(--muted); font-size: 14px; line-height: 1.75; }
.legal p + p, .legal ul { margin-top: 10px; }
.legal ul { padding-left: 18px; list-style: disc; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal mark { background: rgba(255, 90, 46, .18); color: var(--text); padding: 1px 6px; border: 1px dashed rgba(255, 90, 46, .6); }

/* ---------- Animations ---------- */
.js .reveal { opacity: 0; }
.js .reveal.active { opacity: 1; animation: rise .7s cubic-bezier(.2, .7, .2, 1) backwards; animation-delay: calc(var(--i, 0) * 80ms); }

@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px 24px 20px;
    background: rgba(12, 10, 9, .97); border-bottom: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { padding: 14px 0; font-size: 15px; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .menu-cta { display: block; margin-top: 16px; padding: 14px 18px !important; text-align: center; background: var(--accent); color: #160804 !important; font-weight: 700; border: 0 !important; }

  .hero { grid-template-columns: 1fr; padding-top: 120px; gap: 40px; min-height: 0; }
  .service-grid, .pricing-grid, .recipe-grid { grid-template-columns: repeat(2, 1fr); }
  .expertise-panel { grid-template-columns: 1fr; gap: 45px; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 30px), var(--max)); }
  .nav { min-height: 68px; }
  .brand { font-size: 16px; }
  .brand-mark { width: 28px; height: 28px; }
  .nav-links { padding-inline: 15px; }
  .hero { padding-top: 105px; padding-bottom: 50px; gap: 32px; }
  .hero h1 { font-size: clamp(42px, 13vw, 66px); }
  .hero-text { font-size: 15px; }
  .hero-visual figcaption { flex-direction: column; gap: 2px; }
  .section { padding-top: 85px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 18px; }
  .service-grid, .pricing-grid, .details, .recipe-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 260px; }
  .expertise-panel, .contact-card, .detail-block { padding: 30px 24px; }
  .contact { padding-bottom: 80px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .ticker-track { transform: none; }
}
