:root {
  --navy: #0b1b2e;
  --navy-2: #122a45;
  --blue: #0b86c9;
  --blue-strong: #036eb6;
  --blue-soft: #e7f4fb;
  --yellow: #ffc72c;
  --yellow-dark: #d69a00;
  --green: #2f6b4f;
  --green-soft: #e5f0ea;
  --ink: #142033;
  --muted: #5d6a7c;
  --line: #dfe5ed;
  --paper: #f5f7fa;
  --white: #ffffff;
  --radius: 8px;
  --max: 1180px;
  --shadow: 0 16px 36px rgba(11, 27, 46, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  background: var(--white);
}

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

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

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

:focus-visible {
  outline: 3px solid rgba(255, 199, 44, 0.85);
  outline-offset: 3px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  font-weight: 900;
  color: var(--navy);
}

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

.brand span {
  line-height: 1.05;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.main-nav a {
  border-radius: 999px;
  padding: 9px 11px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  background: var(--blue-soft);
  color: var(--blue-strong);
}

.nav-cta {
  background: var(--yellow) !important;
  color: var(--navy) !important;
  box-shadow: inset 0 -2px 0 var(--yellow-dark);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(11, 27, 46, 0.95), rgba(18, 42, 69, 0.94)),
    linear-gradient(135deg, var(--navy), var(--blue-strong));
}

.hero::before,
.band-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.45) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px);
  background-size: 76px 76px;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -1px;
  width: 720px;
  height: 190px;
  opacity: 0.18;
  background: var(--white);
  clip-path: polygon(0 100%, 14% 46%, 25% 70%, 39% 28%, 55% 72%, 70% 36%, 86% 64%, 100% 42%, 100% 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  align-items: center;
  gap: 48px;
  min-height: 640px;
  padding: 72px 0 92px;
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-strong);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-kicker {
  color: var(--yellow);
}

.hero-kicker::before,
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  font-family: "Segoe UI Black", "Arial Black", "Segoe UI", system-ui, sans-serif;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  margin-top: 16px;
  color: var(--white);
  font-size: clamp(3rem, 8vw, 6.8rem);
  max-width: 930px;
}

.hero h1 span {
  color: var(--yellow);
}

.hero-copy {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 900;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.button-primary {
  background: var(--yellow);
  color: var(--navy);
  box-shadow: inset 0 -2px 0 var(--yellow-dark);
}

.button-dark {
  background: var(--navy);
  color: var(--white);
}

.button-light {
  background: var(--white);
  color: var(--navy);
}

.button-ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: transparent;
}

.button-outline {
  color: var(--navy);
  border: 1px solid var(--line);
  background: var(--white);
}

.button:hover {
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0);
}

.hero-logos-panel {
  display: grid;
  justify-items: center;
  gap: 22px;
  padding: 12px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.hero-logo-main,
.hero-logo-club {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.hero-logo-main {
  width: min(260px, 72vw);
}

.hero-logo-clubs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  width: min(100%, 390px);
}

.hero-logo-club {
  width: 100%;
  padding: 0;
}

.hero-logo-main img,
.hero-logo-club img,
.grenoble-logo,
.grenoble-logo img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: contain;
  background: transparent;
}

.section {
  padding: 82px 0;
}

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

.section-paper {
  background: var(--paper);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 360px);
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading h2,
.page-section h2 {
  margin-top: 12px;
  font-size: clamp(2rem, 4vw, 3.7rem);
}

.section-heading p,
.lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.subheading {
  margin-top: 22px;
  font-size: 1.2rem;
}

.grid-3,
.grid-4,
.grid-2 {
  display: grid;
  gap: 18px;
}

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

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.card,
.info-card,
.club-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 1px 0 rgba(11, 27, 46, 0.03);
}

.card,
.info-card {
  padding: 24px;
}

.club-card {
  overflow: hidden;
}

.club-card-header {
  min-height: 170px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(11, 134, 201, 0.1), rgba(11, 27, 46, 0.06)),
    var(--paper);
}

.club-card-header img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 50%;
}

.club-card-header img[src$="grenoble-lacrosse-logo-officiel.png"] {
  width: 132px;
  height: 132px;
  max-width: 86%;
  max-height: 86%;
  border-radius: 50%;
  object-fit: contain;
}

.club-card-body {
  padding: 22px;
}

.club-card h3,
.card h3,
.info-card h3 {
  font-size: 1.35rem;
}

.club-card p,
.card p,
.info-card p {
  margin: 10px 0 0;
  color: var(--muted);
}

.meta {
  display: inline-flex;
  margin-top: 14px;
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--blue-soft);
  color: var(--blue-strong);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.meta-green {
  background: var(--green-soft);
  color: var(--green);
}

.link-arrow {
  display: inline-flex;
  margin-top: 18px;
  color: var(--blue-strong);
  font-weight: 900;
}

.meta-line {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
}

.external-card {
  color: var(--blue-strong);
  font-weight: 900;
}

.want-card {
  min-height: 190px;
  display: flex;
  flex-direction: column;
}

.want-card .icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--navy);
  background: var(--yellow);
  font-weight: 900;
}

.want-card .link-arrow {
  margin-top: auto;
}

.band-dark {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}

.band-dark .container {
  position: relative;
  z-index: 1;
}

.band-dark h2,
.band-dark h3 {
  color: var(--white);
}

.band-dark p {
  color: rgba(255, 255, 255, 0.78);
}

.band-dark .info-card h3 {
  color: var(--ink);
}

.band-dark .info-card p {
  color: var(--muted);
}

.pill-list,
.clean-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.pill-list li {
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 800;
}

.clean-list {
  display: grid;
  gap: 10px;
}

.clean-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
}

.clean-list li::before {
  content: "";
  flex: 0 0 9px;
  width: 9px;
  height: 9px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--yellow);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 46px;
  align-items: start;
}

.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--blue-strong));
}

.page-hero.green {
  background: linear-gradient(135deg, var(--navy), var(--green));
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  opacity: 0.18;
  background: var(--white);
  clip-path: polygon(0 100%, 10% 44%, 22% 70%, 34% 35%, 48% 75%, 61% 42%, 75% 66%, 90% 38%, 100% 58%, 100% 100%);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px;
  padding: 72px 0 88px;
}

.page-hero h1 {
  max-width: 780px;
}

.page-hero p {
  max-width: 650px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.83);
  font-size: 1.15rem;
}

.page-logo {
  width: 210px;
  height: 210px;
  border-radius: 50%;
  padding: 10px;
  object-fit: contain;
  background: var(--white);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.24);
}

.page-logo[src$="grenoble-lacrosse-logo-officiel.png"] {
  width: 210px;
  height: 210px;
  max-width: 210px;
  max-height: 210px;
  padding: 0;
  border-radius: 50%;
  object-fit: contain;
  aspect-ratio: 1 / 1;
  background: transparent;
}

.page-grenoble {
  --club-dark: #0a1926;
  --club-deep: #344850;
  --club-accent: #586364;
  --club-accent-soft: #eef1ed;
  --club-ice: #d9e4e6;
  --club-cream: #e7e6d9;
}

.page-terres-froides {
  --club-accent: #2f6b4f;
  --club-accent-soft: #e5f0ea;
  --club-deep: #173f32;
}

.page-grenoble .page-hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(231, 230, 217, 0.18), transparent 30%),
    linear-gradient(135deg, var(--club-dark), #142837 48%, var(--club-deep));
}

.page-terres-froides .page-hero {
  background: linear-gradient(135deg, var(--navy), #255c43);
}

.page-club .eyebrow {
  color: var(--club-accent);
}

.page-club .page-hero .hero-kicker {
  color: var(--yellow);
}

.page-club .button-ghost:hover,
.page-club .button-outline:hover {
  border-color: var(--club-accent);
  background: var(--club-accent-soft);
  color: var(--club-deep);
}

.page-club .meta,
.page-club .event-label {
  background: var(--club-accent-soft);
  color: var(--club-accent);
}

.page-grenoble .page-logo {
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 20px 34px rgba(0, 0, 0, 0.36));
}

.page-grenoble .page-hero::after {
  background: var(--club-cream);
  opacity: 0.13;
}

.page-grenoble .section-paper {
  background: linear-gradient(180deg, #eef1ed, var(--paper));
}

.page-grenoble .card,
.page-grenoble .info-card,
.page-grenoble .practice-card,
.page-grenoble .schedule-card {
  border-color: rgba(111, 142, 154, 0.34);
}

.page-grenoble .clean-list li::before {
  background: var(--club-accent);
}

.page-grenoble .button-ghost {
  border-color: rgba(231, 230, 217, 0.5);
  color: var(--club-cream);
}

.page-grenoble .button-outline {
  border-color: rgba(88, 99, 100, 0.34);
}

.page-section {
  padding: 76px 0;
}

.status-box {
  border: 1px dashed #b7c0cc;
  border-radius: var(--radius);
  padding: 18px;
  color: var(--muted);
  background: var(--paper);
}

.note-spaced {
  margin-top: 18px;
}

.legal-content {
  display: grid;
  gap: 18px;
}

.media-panel {
  overflow: hidden;
  margin: 24px 0 0;
  border-radius: var(--radius);
  background: var(--navy);
  box-shadow: var(--shadow);
}

.media-panel img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  max-height: 460px;
  object-fit: cover;
}

.media-panel-wide img {
  aspect-ratio: 16 / 7;
}

.home-clubs-photo {
  aspect-ratio: 3 / 2;
  max-height: none;
  overflow: hidden;
}

.home-clubs-photo img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 2;
  min-height: 0;
  max-height: none;
  object-fit: cover;
  object-position: center center;
}

.media-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 18px;
  margin-bottom: 24px;
}

.media-grid .media-panel {
  margin: 0;
}

.event-grid {
  align-items: stretch;
}

.event-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.event-date {
  align-self: flex-start;
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--navy);
  background: var(--yellow);
  font-size: 0.82rem;
  font-weight: 900;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.schedule-card {
  display: grid;
  align-content: start;
  gap: 14px;
}

.schedule-card .clean-list {
  gap: 10px;
}

.cta-final {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 44px;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--blue-strong));
}

.cta-final h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.cta-final p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.8);
}

.event-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  align-items: stretch;
}

.event-label {
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--navy);
  font-weight: 900;
  text-align: center;
}

.form-card {
  padding: 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 6px;
}

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

label {
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 900;
}

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

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

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: var(--navy);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 26px;
  padding: 46px 0;
}

.site-footer h2,
.site-footer h3 {
  color: var(--white);
  font-size: 1.05rem;
}

.site-footer ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 12px 0 0;
  list-style: none;
}

.footer-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

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

@media (max-width: 1050px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 16px 18px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

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

  .main-nav a {
    border-radius: var(--radius);
    padding: 12px;
  }

  .hero-inner,
  .page-hero-inner,
  .split,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .page-hero-inner {
    padding-bottom: 64px;
  }

  .hero-logos-panel {
    max-width: 430px;
    margin-inline: auto;
    padding: 8px;
  }

  .hero-logo-main {
    width: min(230px, 68vw);
  }

  .hero-logo-clubs {
    gap: 18px;
  }

  .grid-4,
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .brand span {
    font-size: 0.95rem;
  }

  .brand small {
    font-size: 0.64rem;
  }

  .hero-inner {
    min-height: auto;
    padding: 52px 0 64px;
  }

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

  .button {
    width: 100%;
  }

  .section,
  .page-section {
    padding: 56px 0;
  }

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

  .grid-2,
  .grid-3,
  .grid-4,
  .media-grid,
  .schedule-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .media-panel img,
  .media-panel-wide img {
    aspect-ratio: 4 / 3;
    min-height: 220px;
  }

  .home-clubs-photo img {
    aspect-ratio: 3 / 2;
    min-height: 0;
    max-height: none;
    object-position: center center;
  }

  .hero-logos-panel {
    gap: 18px;
    padding: 6px;
  }

  .hero-logo-main {
    width: min(190px, 66vw);
  }

  .hero-logo-clubs {
    gap: 14px;
  }

  .page-logo {
    width: 150px;
    height: 150px;
  }

  .page-logo[src$="grenoble-lacrosse-logo-officiel.png"] {
    width: 150px;
    height: 150px;
    max-width: 150px;
    max-height: 150px;
    padding: 0;
  }

  .event-row {
    grid-template-columns: 1fr;
  }

  .event-label {
    min-height: 70px;
  }

  .cta-final {
    padding: 28px;
  }

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