:root {
  --bg: #020914;
  --bg-2: #061426;
  --panel: rgba(5, 22, 42, 0.78);
  --panel-strong: rgba(7, 29, 54, 0.94);
  --line: rgba(28, 197, 255, 0.28);
  --line-strong: rgba(84, 255, 133, 0.7);
  --text: #f4fbff;
  --muted: #a9bed0;
  --cyan: #17c7ff;
  --green: #79ff73;
  --green-2: #1deb87;
  --danger: #ff5e7c;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 10% 15%, rgba(23, 199, 255, 0.16), transparent 28rem),
    radial-gradient(circle at 85% 5%, rgba(121, 255, 115, 0.13), transparent 24rem),
    linear-gradient(180deg, #020914 0%, #04101f 45%, #020914 100%);
  line-height: 1.55;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(121, 255, 115, 0.75);
  outline-offset: 3px;
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(23, 199, 255, 0.2);
  background: rgba(2, 9, 20, 0.86);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 108px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  width: 240px;
  height: 96px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  color: #d8eaff;
  font-size: 0.94rem;
  font-weight: 650;
  transition: color 180ms ease, text-shadow 180ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--cyan);
  text-shadow: 0 0 18px rgba(23, 199, 255, 0.75);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 29, 54, 0.88);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  content: "";
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"]::before {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
  transform: translateY(-7px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.75rem 1.05rem;
  border: 1px solid rgba(23, 199, 255, 0.5);
  border-radius: var(--radius);
  background: rgba(7, 29, 54, 0.72);
  color: var(--text);
  font-weight: 800;
  line-height: 1.2;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(23, 199, 255, 0.95);
  background: rgba(12, 45, 78, 0.88);
  box-shadow: 0 0 24px rgba(23, 199, 255, 0.18);
}

.btn-primary {
  border-color: rgba(121, 255, 115, 0.78);
  background: linear-gradient(135deg, #b7ff93 0%, #5aff67 48%, #19d9a1 100%);
  color: #04101f;
  box-shadow: 0 0 28px rgba(94, 255, 111, 0.36);
}

.btn-primary:hover {
  border-color: #d9ffc7;
  background: linear-gradient(135deg, #d5ffbd 0%, #77ff7c 52%, #26f2b6 100%);
}

.btn-ghost {
  background: rgba(5, 22, 42, 0.52);
}

.section {
  padding: 76px 0;
}

.section-tight {
  padding: 46px 0;
}

.eyebrow {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.28em;
}

.section-title {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.04;
}

.section-lead {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: center;
  border-bottom: 1px solid rgba(23, 199, 255, 0.22);
  background:
    linear-gradient(90deg, rgba(2, 9, 20, 0.98) 0%, rgba(2, 9, 20, 0.86) 40%, rgba(2, 9, 20, 0.28) 100%),
    url("../img/hero-coach.png") center right / cover no-repeat;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  content: "";
  box-shadow: 0 0 36px 8px rgba(23, 199, 255, 0.42);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  padding: 90px 0 110px;
}

.hero h1 {
  max-width: 640px;
  margin: 16px 0 18px;
  font-size: clamp(2.55rem, 6vw, 4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p {
  max-width: 620px;
  margin: 0;
  color: #d7e6f2;
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-card-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(23, 199, 255, 0.22);
  border-bottom: 1px solid rgba(23, 199, 255, 0.22);
  background: rgba(2, 9, 20, 0.78);
}

.stat {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
  padding: 22px;
  border-right: 1px solid rgba(23, 199, 255, 0.18);
}

.stat:last-child {
  border-right: 0;
}

.icon-box {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  line-height: 0;
  border: 1px solid rgba(23, 199, 255, 0.35);
  border-radius: var(--radius);
  color: var(--cyan);
  background: rgba(23, 199, 255, 0.08);
}

.icon-box img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(72%) sepia(91%) saturate(2890%) hue-rotate(157deg) brightness(103%) contrast(104%);
}

.stat strong {
  display: block;
  line-height: 1.2;
}

.stat p {
  margin: 0;
}

.stat p span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(9, 32, 58, 0.9), rgba(4, 17, 33, 0.88));
  box-shadow: var(--shadow);
}

.panel-pad {
  padding: 28px;
}

.services-grid,
.features-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.service-card {
  overflow: hidden;
}

.service-card > img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid rgba(23, 199, 255, 0.22);
}

.card-body {
  padding: 22px;
}

.card-body h3,
.feature-card h3,
.price-card h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  line-height: 1.2;
}

.card-body p,
.feature-card p,
.price-card p {
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 20px;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 9px;
  align-items: start;
  color: #dbefff;
}

.check-list img {
  width: 20px;
  height: 20px;
  margin-top: 0.15em;
  object-fit: contain;
  color: var(--green);
  filter: brightness(0) saturate(100%) invert(84%) sepia(96%) saturate(383%) hue-rotate(50deg) brightness(103%) contrast(103%);
}

.feature-card,
.price-card {
  padding: 24px;
}

.feature-card > .icon-box {
  margin-bottom: 18px;
}

.price {
  display: flex;
  align-items: end;
  gap: 6px;
  margin: 20px 0;
}

.price strong {
  font-size: 2.6rem;
  line-height: 1;
}

.price span {
  color: var(--muted);
}

.featured {
  border-color: var(--line-strong);
  box-shadow: 0 0 44px rgba(94, 255, 111, 0.12), var(--shadow);
}

.about-photo {
  min-height: 430px;
  overflow: hidden;
  background: url("../img/suivi-performance.png") center / cover no-repeat;
}

.quote {
  margin: 22px 0 0;
  padding-left: 18px;
  border-left: 3px solid var(--green);
  color: #e8f8ff;
  font-size: 1.12rem;
}

.cta-band {
  padding: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid rgba(121, 255, 115, 0.45);
  background:
    linear-gradient(120deg, rgba(23, 199, 255, 0.16), rgba(121, 255, 115, 0.1)),
    rgba(5, 22, 42, 0.9);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 8px;
  color: #d8eaff;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(23, 199, 255, 0.25);
  border-radius: var(--radius);
  background: rgba(2, 9, 20, 0.72);
  color: var(--text);
  padding: 0.86rem 0.95rem;
}

textarea {
  min-height: 128px;
  resize: vertical;
}

input:hover,
select:hover,
textarea:hover,
input:focus,
select:focus,
textarea:focus {
  border-color: rgba(23, 199, 255, 0.8);
}

.form-message {
  margin: 14px 0 0;
  color: var(--green);
  font-weight: 800;
}

.page-hero {
  padding: 78px 0 42px;
  border-bottom: 1px solid rgba(23, 199, 255, 0.2);
  background:
    linear-gradient(120deg, rgba(23, 199, 255, 0.12), transparent 46%),
    linear-gradient(180deg, rgba(7, 29, 54, 0.78), rgba(2, 9, 20, 0));
}

.page-hero h1 {
  max-width: 850px;
  margin: 12px 0 12px;
  font-size: clamp(2.35rem, 5vw, 4rem);
  line-height: 1.02;
}

.content-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
}

.legal-content {
  max-width: 860px;
}

.legal-content h2 {
  margin-top: 34px;
}

.legal-note {
  border-left: 3px solid var(--green);
  padding: 18px 20px;
  color: #dff9e8;
  background: rgba(121, 255, 115, 0.08);
}

.site-footer {
  border-top: 1px solid rgba(23, 199, 255, 0.22);
  background: rgba(2, 9, 20, 0.9);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 0.8fr 1fr;
  gap: 28px;
  padding: 42px 0;
}

.footer-grid h2,
.footer-grid h3 {
  margin: 0 0 14px;
  font-size: 1rem;
}

.footer-grid p,
.footer-grid a {
  color: var(--muted);
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid rgba(23, 199, 255, 0.14);
  color: var(--muted);
  font-size: 0.9rem;
}

.cookie-bar {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  width: min(420px, calc(100% - 36px));
  padding: 18px;
  border: 1px solid rgba(23, 199, 255, 0.35);
  border-radius: var(--radius);
  background: rgba(4, 17, 33, 0.96);
  box-shadow: var(--shadow);
}

.cookie-bar p {
  margin: 0 0 12px;
  color: var(--muted);
}

@media (min-width: 1600px) {
  .hero {
    background-position: center, right calc(50% + 70px);
  }
}

@media (max-width: 980px) {
  .site-nav {
    position: fixed;
    inset: 108px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px 24px 24px;
    border-bottom: 1px solid rgba(23, 199, 255, 0.3);
    background: rgba(2, 9, 20, 0.98);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 0;
  }

  .nav-toggle {
    display: block;
  }

  .header-actions .btn-primary {
    display: none;
  }

  .hero {
    min-height: auto;
    background-color: var(--bg);
    background:
      linear-gradient(180deg, rgba(2, 9, 20, 0.1), rgba(2, 9, 20, 0.22) 220px, var(--bg) 430px),
      url("../img/hero-coach.png") right top / auto 430px no-repeat;
  }

  .hero-content {
    padding: 420px 0 72px;
  }

  .hero-card-row,
  .services-grid,
  .features-grid,
  .pricing-grid,
  .split,
  .content-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .page-hero h1 {
    font-size: 2rem;
    overflow-wrap: anywhere;
  }

  .container {
    width: min(100% - 24px, var(--max));
  }

  .header-inner {
    min-height: 96px;
  }

  .brand img {
    width: 210px;
    height: 84px;
  }

  .header-actions .btn-ghost {
    display: none;
  }

  .site-nav {
    inset: 96px 0 auto;
  }

  .hero-content {
    padding: 330px 0 54px;
  }

  .hero-actions,
  .footer-bottom {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-card-row,
  .services-grid,
  .features-grid,
  .pricing-grid,
  .split,
  .content-grid,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid rgba(23, 199, 255, 0.16);
  }

  .section {
    padding: 54px 0;
  }

  .panel-pad,
  .card-body,
  .feature-card,
  .price-card,
  .cta-band {
    padding: 20px;
  }
}
