:root {
  --blue-950: #1f1d20;
  --blue-900: #2f2b2f;
  --blue-800: #51494d;
  --blue-700: #8f2638;
  --blue-500: #c56a76;
  --blue-100: #f8ecee;
  --cyan: #ead4d7;
  --green: #7f9f68;
  --burgundy: #b01633;
  --ball: #e7bd58;
  --cream: #fff8f1;
  --ink: #252226;
  --muted: #70696d;
  --line: #eadcde;
  --surface: #ffffff;
  --surface-soft: #fbf5f4;
  --shadow: 0 14px 34px rgba(31, 29, 32, 0.1);
  --radius: 8px;
  --container: min(1120px, calc(100% - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--cream), #ffffff 360px);
  line-height: 1.6;
}

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

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

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

.container {
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(219, 230, 244, 0.8);
}

.navbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  color: var(--blue-900);
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: contain;
  background: white;
  border: 2px solid rgba(167, 25, 69, 0.12);
  box-shadow: 0 8px 18px rgba(31, 29, 32, 0.12);
}

.nav-toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  color: var(--blue-900);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  width: 20px;
  height: 2px;
  border-radius: 10px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle {
  gap: 4px;
}

.nav-toggle.is-open span {
  opacity: 0;
}

.nav-toggle.is-open::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-open::after {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-menu {
  position: fixed;
  inset: 72px 16px auto 16px;
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.nav-menu a {
  padding: 11px 12px;
  border-radius: var(--radius);
  color: var(--blue-900);
  font-weight: 650;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  background: var(--blue-100);
  color: var(--burgundy);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 18px;
  border: 0;
  border-radius: var(--radius);
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: white;
  background: var(--burgundy);
  box-shadow: 0 12px 22px rgba(167, 25, 69, 0.2);
}

.btn-primary:hover {
  background: #8f153b;
  box-shadow: 0 14px 26px rgba(167, 25, 69, 0.25);
}

.btn-light {
  color: var(--blue-900);
  background: white;
}

.btn-outline {
  color: var(--blue-900);
  border: 1px solid var(--line);
  background: white;
}

.hero {
  min-height: calc(100svh - 72px);
  display: grid;
  align-items: end;
  position: relative;
  color: white;
  overflow: hidden;
  background: var(--blue-900);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(31, 29, 32, 0.82), rgba(70, 34, 39, 0.52), rgba(70, 34, 39, 0.18)),
    url("../images/club/chalet.jpg") center / cover no-repeat;
}

.hero .container {
  position: relative;
  padding: 88px 0 54px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--burgundy);
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow {
  color: var(--ball);
}

.hero h1,
.page-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.2rem, 7vw, 4.8rem);
  line-height: 1;
  letter-spacing: 0;
}

.hero p,
.page-hero p {
  max-width: 640px;
  margin: 20px 0 0;
  font-size: clamp(1rem, 2vw, 1.24rem);
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 48px;
}

.stat {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
}

.stat strong {
  display: block;
  font-size: 1.5rem;
}

.stat span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
}

.section {
  padding: 72px 0;
}

.section.alt {
  background: linear-gradient(180deg, var(--surface-soft), #ffffff);
}

.section-head {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2 {
  margin: 0;
  color: var(--blue-950);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
}

.section-head p {
  margin: 14px 0 0;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 18px;
}

.grid-3 {
  grid-template-columns: 1fr;
}

.grid-2 {
  grid-template-columns: 1fr;
}

.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 8px 22px rgba(31, 29, 32, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(167, 25, 69, 0.28);
  box-shadow: var(--shadow);
}

.card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: var(--radius);
  color: var(--blue-950);
  background: var(--ball);
}

.card h3 {
  margin: 0 0 8px;
  color: var(--blue-950);
}

.card p {
  margin: 0;
  color: var(--muted);
}

.split {
  display: grid;
  gap: 34px;
  align-items: center;
}

.feature-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.feature-list li::before {
  content: "";
  flex: 0 0 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--green);
}

.image-panel {
  min-height: 360px;
  border-radius: var(--radius);
  background: url("../images/club/court exter tennis.jpg") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.club-spaces {
  background: #ffffff;
}

.photo-grid {
  display: grid;
  gap: 18px;
}

.photo-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 8px 22px rgba(31, 29, 32, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.photo-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.photo-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.photo-card div {
  padding: 20px;
}

.photo-card h3 {
  margin: 0 0 8px;
  color: var(--blue-950);
}

.photo-card p {
  margin: 0;
  color: var(--muted);
}

.section-action {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.booking-steps {
  display: grid;
  gap: 18px;
  max-width: 860px;
  margin: 0 auto;
  counter-reset: booking-step;
}

.booking-step {
  position: relative;
  padding: 26px 26px 26px 82px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 8px 22px rgba(31, 29, 32, 0.06);
  counter-increment: booking-step;
}

.booking-step::before {
  content: counter(booking-step);
  position: absolute;
  top: 24px;
  left: 24px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--burgundy);
  font-weight: 900;
}

.booking-step h2 {
  margin: 0 0 8px;
  color: var(--blue-950);
  font-size: 1.25rem;
}

.booking-step p {
  margin: 0;
}

.booking-step a {
  color: var(--burgundy);
  font-weight: 800;
}

.cta-band {
  color: white;
  background:
    linear-gradient(135deg, rgba(31, 29, 32, 0.95), rgba(176, 22, 51, 0.82)),
    url("../images/tennis-lines.svg") center / cover no-repeat;
}

.cta-band .container {
  display: grid;
  gap: 20px;
  align-items: center;
}

.cta-band h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.05;
}

.cta-band p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.page-hero {
  color: white;
  background:
    linear-gradient(90deg, rgba(31, 29, 32, 0.93), rgba(91, 35, 43, 0.7)),
    url("../images/tennis-lines.svg") center / cover no-repeat;
}

.page-hero .container {
  padding: 82px 0 68px;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pricing-card.featured {
  border: 2px solid var(--burgundy);
}

.badge {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--blue-950);
  background: #fff0bd;
  font-size: 0.78rem;
  font-weight: 800;
}

.price {
  color: var(--blue-950);
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
}

.price small {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

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

.check-list li {
  display: flex;
  gap: 10px;
  color: var(--muted);
}

.check-list li::before {
  content: "✓";
  color: var(--green);
  font-weight: 900;
}

.coach-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 16px;
  background: var(--blue-100);
}

.people-grid {
  display: grid;
  gap: 18px;
}

.person-card,
.hierarchy-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 8px 22px rgba(31, 29, 32, 0.06);
}

.teacher-card {
  min-height: 100%;
}

.person-initials {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 50%;
  color: white;
  background: var(--blue-900);
  font-weight: 900;
}

.person-card h3,
.hierarchy-card h3 {
  margin: 0 0 8px;
  color: var(--blue-950);
}

.person-card p,
.hierarchy-card p {
  margin: 0;
  color: var(--muted);
}

.hierarchy-grid {
  display: grid;
  gap: 14px;
}

.hierarchy-card {
  border-left: 5px solid var(--blue-500);
}

.hierarchy-card.president {
  border-left-color: var(--burgundy);
  background: #fff8fb;
}

.hierarchy-label {
  display: block;
  margin-bottom: 8px;
  color: var(--burgundy);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.members-head {
  margin-top: 48px;
}

.role {
  margin: 0 0 10px;
  color: var(--blue-700);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
}

.org-chart {
  display: grid;
  gap: 12px;
}

.org-level {
  padding: 18px;
  border-radius: var(--radius);
  color: white;
  background: var(--blue-900);
  text-align: center;
  font-weight: 800;
}

.org-row {
  display: grid;
  gap: 12px;
}

.schedule {
  display: grid;
  gap: 14px;
}

.schedule-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--blue-500);
  border-radius: var(--radius);
  background: white;
}

.schedule-card strong {
  color: var(--blue-950);
}

.schedule-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--blue-900);
  font-size: 0.84rem;
  font-weight: 700;
}

.club-logo-inline {
  width: min(180px, 45vw);
  height: auto;
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 10px 24px rgba(31, 29, 32, 0.12);
}

.club-logo-small {
  width: 76px;
  height: 76px;
  object-fit: contain;
  border-radius: 50%;
  background: white;
}

.warm-note {
  padding: 18px;
  border-left: 5px solid var(--ball);
  border-radius: var(--radius);
  background: #fff7dd;
}

.tarif-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--burgundy);
  font-weight: 900;
}

.important-note {
  padding: 20px;
  border-radius: var(--radius);
  color: var(--blue-950);
  background: #fff1b8;
  font-weight: 800;
}

.info-stack {
  display: grid;
  gap: 16px;
}

.payment-links {
  display: grid;
  gap: 14px;
}

.payment-group {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 8px 22px rgba(31, 29, 32, 0.05);
}

.payment-group h3 {
  margin: 0 0 14px;
  color: var(--burgundy);
}

.payment-group.adults {
  border-top: 6px solid var(--ball);
}

.payment-group.youth {
  border-top: 6px solid var(--blue-500);
}

.payment-group.pickleball {
  border-top: 6px solid #8bd8b4;
}

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

.link-list a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius);
  color: var(--blue-900);
  background: var(--surface-soft);
  font-weight: 800;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.link-list a:hover {
  color: white;
  background: var(--burgundy);
  transform: translateX(3px);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

th,
td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  color: var(--blue-900);
  background: var(--blue-100);
}

tr:last-child td {
  border-bottom: 0;
}

.contact-layout {
  display: grid;
  gap: 24px;
}

.form {
  display: grid;
  gap: 14px;
}

.form-row {
  display: grid;
  gap: 14px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  color: var(--blue-950);
  font-weight: 700;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  color: var(--ink);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 3px solid rgba(176, 22, 51, 0.16);
  border-color: var(--blue-500);
}

.contacts-directory {
  background: #ffffff;
}

.contact-list {
  display: grid;
  gap: 12px;
}

.contact-line {
  display: grid;
  gap: 10px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--burgundy);
  border-radius: var(--radius);
  background: white;
  box-shadow: 0 8px 22px rgba(31, 29, 32, 0.05);
}

.contact-line strong {
  display: block;
  color: var(--blue-950);
}

.contact-line span {
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-line a {
  color: var(--burgundy);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.form-message {
  min-height: 24px;
  color: var(--blue-700);
  font-weight: 700;
}

.map {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.site-footer {
  color: rgba(255, 255, 255, 0.82);
  background: var(--blue-950);
}

.footer-grid {
  display: grid;
  gap: 26px;
  padding: 46px 0;
}

.site-footer h3,
.site-footer h4 {
  margin: 0 0 10px;
  color: white;
}

.site-footer p {
  margin: 0;
}

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

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 720px) {
  .hero-stats,
  .grid-2,
  .form-row,
  .org-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3,
  .photo-grid,
  .bureau-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .teachers-grid,
  .hierarchy-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split,
  .contact-layout,
  .cta-band .container {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .contact-line {
    grid-template-columns: 1.4fr 1fr auto;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .nav-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .nav-menu a {
    padding: 10px 11px;
    font-size: 0.94rem;
  }

  .hero .container {
    padding-bottom: 70px;
  }

  .hero-stats {
    max-width: 760px;
    grid-template-columns: repeat(4, 1fr);
  }

  .teachers-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 420px) {
  .hero-actions .btn,
  .cta-band .btn {
    width: 100%;
  }

  .section-action .btn {
    width: 100%;
  }

  .booking-step {
    padding: 72px 20px 22px;
  }
}
