/* =========================================================
   MASCAREIGNES — V2
   Palette issue du logo + direction éditoriale surf / Réunion
========================================================= */

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

:root {
  --blue-dark: #063b52;
  --blue-deep: #032f43;
  --blue: #0570b9;
  --blue-soft: #dcecf3;
  --red: #ed1c24;
  --red-dark: #cb1118;
  --sand: #f6dda5;
  --sand-soft: #fff3d9;
  --cream: #f7f3ec;
  --paper: #fffdf9;
  --white: #ffffff;
  --ink: #0e1f27;
  --muted: #59717b;
  --line: rgba(6, 59, 82, .13);
  --shadow: 0 24px 70px rgba(4, 50, 68, .10);

  --container: 1280px;
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "Avenir Next", Avenir, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color: var(--blue-dark);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

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

::selection {
  background: var(--red);
  color: white;
}

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

.section {
  padding: 112px 0;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--red);
}

.eyebrow-light {
  color: rgba(255, 255, 255, .72);
}

.section-title {
  margin: 0;
  max-width: 760px;
  font-size: clamp(42px, 5.1vw, 72px);
  line-height: .98;
  letter-spacing: -.055em;
  color: var(--blue-dark);
}

.section-intro,
.section-copy > p {
  margin: 0;
  max-width: 560px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted);
}

.section-note {
  display: inline-block;
  margin-top: 18px;
  font-size: 12px;
  line-height: 1.5;
  color: #6e8087;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

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

.btn-red {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(237, 28, 36, .22);
}

.btn-red:hover {
  background: var(--red-dark);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, .58);
  background: rgba(255, 255, 255, .06);
  color: white;
  backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
  background: white;
  color: var(--blue-dark);
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
  position: absolute;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  padding: 24px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 30px;
}

.brand {
  flex: 0 0 auto;
}

.brand-panel {
  display: grid;
  place-items: center;
  width: 142px;
  height: 108px;
  padding: 10px 14px;
  border-radius: 20px;
  background: rgba(255, 253, 249, .96);
  box-shadow: 0 18px 45px rgba(2, 37, 52, .16);
  backdrop-filter: blur(8px);
}

.brand-panel img {
  width: 112px;
  height: auto;
  max-height: 88px;
  object-fit: contain;
}

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

.main-nav a {
  position: relative;
  font-size: 12px;
  font-weight: 700;
  color: white;
  text-shadow: 0 1px 12px rgba(0, 31, 44, .24);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: var(--red);
  transition: right .2s ease;
}

.main-nav a:hover::after {
  right: 0;
}

.header-cta {
  min-height: 46px;
  padding-inline: 20px;
}

.mobile-menu {
  display: none;
  margin-left: auto;
  color: white;
}

.mobile-menu summary {
  list-style: none;
  cursor: pointer;
  padding: 11px 15px;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu nav {
  position: absolute;
  top: 92px;
  left: 20px;
  right: 20px;
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 20px;
  background: rgba(255,253,249,.98);
  color: var(--blue-dark);
  box-shadow: var(--shadow);
}

.mobile-menu nav a {
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
}

.mobile-menu nav a:hover {
  background: var(--cream);
}


/* =========================================================
   HERO
========================================================= */

.hero {
  position: relative;
  min-height: 850px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--blue-deep);
}

.hero-media {
  position: absolute;
  z-index: -2;
  inset: 0;
  overflow: hidden;
}

.hero-media picture,
.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: center 48%;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 47, 67, .94) 0%, rgba(2, 47, 67, .75) 38%, rgba(2, 47, 67, .24) 68%, rgba(2, 47, 67, .05) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 220px;
  background: linear-gradient(to bottom, transparent, rgba(1, 42, 58, .42));
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  right: 8vw;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 221, 165, .42), rgba(246,221,165,0) 68%);
  filter: blur(6px);
}

.hero-glow {
  position: absolute;
  z-index: -1;
  left: -110px;
  bottom: 120px;
  width: 260px;
  height: 70px;
  border-radius: 0 999px 999px 0;
  background: var(--red);
  opacity: .96;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.hero-content {
  width: min(760px, 62vw);
  padding-top: 88px;
  color: white;
}

.hero h1 {
  margin: 0;
  font-size: clamp(62px, 7.4vw, 112px);
  line-height: .87;
  letter-spacing: -.07em;
}

.hero h1 span {
  display: block;
  color: var(--sand);
}

.hero-description {
  max-width: 620px;
  margin: 30px 0 32px;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.75;
  color: rgba(255,255,255,.9);
}

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

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,.78);
  background: rgba(0, 35, 49, .16);
  backdrop-filter: blur(8px);
}


/* =========================================================
   TRUST STRIP
========================================================= */

.trust-strip {
  position: relative;
  z-index: 5;
  margin-top: -58px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.trust-grid article {
  display: flex;
  gap: 14px;
  min-height: 118px;
  padding: 26px 24px;
  border-right: 1px solid var(--line);
}

.trust-grid article:last-child {
  border-right: 0;
}

.trust-index {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--red);
}

.trust-grid strong {
  display: block;
  margin-bottom: 5px;
  font-size: 16px;
}

.trust-grid p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}


/* =========================================================
   COURSES
========================================================= */

.courses-section {
  padding-top: 150px;
  background:
    radial-gradient(circle at 88% 5%, rgba(246, 221, 165, .48), transparent 22%),
    var(--cream);
}

.section-head,
.journey-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  align-items: end;
  gap: 70px;
}

.courses-head {
  margin-bottom: 56px;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.course-card {
  min-height: 530px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(6,59,82,.09);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: 0 14px 45px rgba(4, 50, 68, .06);
  transition: transform .25s ease, box-shadow .25s ease;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(4, 50, 68, .11);
}

.course-card-top {
  min-height: 122px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 24px;
  background:
    radial-gradient(circle at 88% 30%, rgba(237,28,36,.19), transparent 34%),
    linear-gradient(135deg, #e7f2f6, #f7fbfc);
}

.course-card-featured .course-card-top {
  background:
    radial-gradient(circle at 88% 30%, rgba(246,221,165,.42), transparent 34%),
    linear-gradient(135deg, #063b52, #0b5b76);
  color: white;
}

.course-card-sand .course-card-top {
  background:
    radial-gradient(circle at 85% 10%, rgba(237,28,36,.12), transparent 34%),
    linear-gradient(135deg, #f7dfa9, #fff0cb);
}

.course-card-blue .course-card-top {
  background:
    radial-gradient(circle at 85% 20%, rgba(255,255,255,.24), transparent 36%),
    linear-gradient(135deg, #0570b9, #075779);
  color: white;
}

.course-number {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
}

.course-duration {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.course-card-body {
  flex: 1;
  padding: 26px 24px 18px;
}

.course-kicker {
  margin: 0 0 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
}

.course-card h3 {
  margin: 0 0 14px;
  font-size: 27px;
  line-height: 1.05;
  letter-spacing: -.045em;
}

.course-intro {
  min-height: 82px;
  margin: 0 0 22px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

.price-list {
  border-top: 1px solid var(--line);
}

.price-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 48px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.price-list strong {
  font-size: 18px;
  letter-spacing: -.03em;
}

.group-price {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.group-price strong {
  display: block;
  font-size: 42px;
  line-height: 1;
  letter-spacing: -.06em;
}

.group-price span {
  display: block;
  margin-top: 7px;
  font-size: 12px;
  color: var(--muted);
}

.course-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 0 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 800;
  transition: background .2s ease, color .2s ease;
}

.course-link:hover {
  background: var(--blue-dark);
  color: white;
}


/* =========================================================
   COACH
========================================================= */

.coach {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  min-height: 780px;
  background: var(--paper);
}

.coach-image {
  position: relative;
  min-height: 780px;
  overflow: hidden;
  background: #dce8ec;
}

.coach-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4,43,58,.18), transparent 35%);
  pointer-events: none;
}

.coach-photo {
  width: 100%;
  height: 100%;
  min-height: 780px;
  object-fit: cover;
  object-position: center 43%;
}

.coach-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px clamp(50px, 7vw, 120px);
}

.coach-content::before {
  content: "";
  position: absolute;
  top: 72px;
  right: 68px;
  width: 139px;
  height: 46px;
  background: url("../images/nuage_rg.svg") center / contain no-repeat;
  opacity: 1;
}

.coach-name {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--blue);
}

.coach-content h2 {
  margin: 0 0 28px;
  max-width: 650px;
  font-size: clamp(48px, 5.7vw, 82px);
  line-height: .92;
  letter-spacing: -.06em;
}

.coach-content > p:not(.eyebrow):not(.coach-name) {
  max-width: 650px;
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

.credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.credentials span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cream);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}


/* =========================================================
   GALLERY — SAINT-LEU
========================================================= */

.session-gallery {
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 8%, rgba(246,221,165,.34), transparent 22%),
    var(--cream);
}

.gallery-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .7fr);
  align-items: end;
  gap: 70px;
  margin-bottom: 48px;
}

.surf-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 170px;
  gap: 14px;
}

.surf-gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  background: #dce8ec;
}

.surf-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.surf-gallery-item:hover img {
  transform: scale(1.025);
}

.surf-gallery-item-1 { grid-column: span 5; grid-row: span 2; }
.surf-gallery-item-2 { grid-column: span 4; grid-row: span 2; }
.surf-gallery-item-3 { grid-column: span 3; grid-row: span 1; }
.surf-gallery-item-4 { grid-column: span 3; grid-row: span 1; }
.surf-gallery-item-5 { grid-column: span 7; grid-row: span 2; }
.surf-gallery-item-6 { grid-column: span 5; grid-row: span 2; }

/* =========================================================
   SPOTS
========================================================= */

.spots {
  position: relative;
  overflow: hidden;
  padding: 115px 0;
  color: white;
  background:
    radial-gradient(circle at 5% 20%, rgba(5,112,185,.48), transparent 28%),
    linear-gradient(135deg, #032f43, #064d67);
}

.spots::after {
  content: "";
  position: absolute;
  right: -140px;
  bottom: -110px;
  width: 420px;
  height: 180px;
  border-radius: 50%;
  border: 42px solid rgba(255,255,255,.05);
  transform: rotate(-12deg);
}

.spots-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr .78fr;
  gap: 84px;
  align-items: center;
}

.spots-content h2 {
  margin: 0 0 28px;
  font-size: clamp(54px, 6.4vw, 94px);
  line-height: .9;
  letter-spacing: -.065em;
}

.spots-content > p:not(.eyebrow) {
  max-width: 660px;
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255,255,255,.82);
}

.spot-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 30px 0 28px;
}

.spot-list span {
  padding: 10px 13px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  background: rgba(255,255,255,.05);
}

.safety-note {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 12px;
  max-width: 620px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.14);
}

.safety-dot {
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(237,28,36,.14);
}

.safety-note p {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255,255,255,.66);
}

.spots-visual {
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 28px;
  background: rgba(255,255,255,.06);
  transform: rotate(2deg);
}

.spots-visual img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 20px;
}

.spots-visual figcaption {
  padding: 14px 8px 2px;
  font-size: 10px;
  line-height: 1.5;
  color: rgba(255,255,255,.58);
}


/* =========================================================
   JOURNEY
========================================================= */

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

.journey-head {
  margin-bottom: 60px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.step {
  position: relative;
  min-height: 320px;
  padding: 38px 34px 42px;
  border-right: 1px solid var(--line);
}

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

.step-number {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 30px;
  border: 1px solid var(--blue-dark);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
}

.step-label {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
}

.step h3 {
  margin: 0 0 12px;
  font-size: 30px;
  letter-spacing: -.04em;
}

.step > p:last-child {
  max-width: 310px;
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}


/* =========================================================
   SAFETY BAND
========================================================= */

.safety-band {
  padding: 60px 0;
  color: white;
  background: var(--red);
}

.safety-band-inner {
  display: grid;
  grid-template-columns: 72px 1fr .9fr;
  gap: 34px;
  align-items: center;
}

.safety-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 50%;
  font-size: 23px;
  font-weight: 800;
}

.safety-band h2 {
  margin: 0;
  max-width: 690px;
  font-size: clamp(31px, 3.5vw, 50px);
  line-height: 1;
  letter-spacing: -.045em;
}

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

.safety-points span {
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
}


/* =========================================================
   PHILOSOPHY
========================================================= */

.philosophy {
  background:
    radial-gradient(circle at 6% 88%, rgba(5,112,185,.08), transparent 25%),
    var(--cream);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 80px;
  align-items: start;
}

.philosophy-title {
  position: sticky;
  top: 40px;
}

.philosophy-cards {
  display: grid;
  gap: 14px;
}

.philosophy-cards article {
  position: relative;
  min-height: 180px;
  padding: 30px 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
}

.philosophy-cards article::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -28px;
  width: 110px;
  height: 110px;
  border: 22px solid var(--sand);
  border-radius: 50%;
  opacity: .48;
}

.philosophy-cards span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
}

.philosophy-cards h3 {
  margin: 8px 0 10px;
  font-size: 31px;
  letter-spacing: -.045em;
}

.philosophy-cards p {
  max-width: 560px;
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
  position: relative;
  overflow: hidden;
  color: white;
  background: #032f43;
}

.footer-visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: .16;
}

.footer-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #032f43 0%, rgba(3,47,67,.66) 54%, rgba(3,47,67,.3) 100%);
}

.footer-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}

.footer-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .48fr 1.3fr .5fr;
  gap: 70px;
  align-items: center;
  min-height: 520px;
  padding: 80px 0;
}

.footer-brand {
  display: grid;
  place-items: center;
  width: 210px;
  min-height: 190px;
  padding: 22px;
  border-radius: 28px;
  background: rgba(255,253,249,.96);
}

.footer-brand img {
  width: 170px;
  height: auto;
}

.footer-cta h2 {
  margin: 0 0 20px;
  max-width: 650px;
  font-size: clamp(46px, 5.6vw, 80px);
  line-height: .92;
  letter-spacing: -.06em;
}

.footer-cta > p:not(.eyebrow) {
  max-width: 550px;
  margin: 0 0 28px;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255,255,255,.72);
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-width: 760px;
  margin: 0 0 18px;
}

.contact-detail {
  min-width: 0;
  padding: 17px 18px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 16px;
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(8px);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.contact-detail:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.32);
  background: rgba(255,255,255,.11);
}

.contact-detail-label {
  display: block;
  margin-bottom: 5px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}

.contact-detail strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.45;
  color: white;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-side {
  display: grid;
  gap: 40px;
  align-content: center;
}

.social-block > p {
  margin: 0 0 12px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(255,255,255,.58);
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-link {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: white;
}

.social-link svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.8;
}

.social-link:first-child svg {
  stroke: none;
}

.social-link:last-child svg {
  fill: none;
}

.social-link .instagram-dot {
  fill: currentColor;
  stroke: none;
}

.social-note {
  display: block;
  margin-top: 10px;
  max-width: 180px;
  font-size: 9px;
  line-height: 1.5;
  color: rgba(255,255,255,.42);
}

.footer-nav {
  display: grid;
  gap: 12px;
}

.footer-nav a {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,.78);
}

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

.footer-bottom {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,.10);
  background: rgba(0, 27, 39, .45);
}

.footer-bottom-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  font-size: 11px;
  color: rgba(255,255,255,.8);
}

.footer-bottom-inner > div {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

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


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1180px) {
  .main-nav {
    gap: 18px;
  }

  .main-nav a {
    font-size: 11px;
  }

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

  .course-card {
    min-height: 500px;
  }

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

  .footer-nav {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }
}

@media (max-width: 980px) {
  .container {
    width: min(calc(100% - 40px), var(--container));
  }

  .site-header {
    padding-top: 18px;
  }

  .brand-panel {
    width: 118px;
    height: 90px;
    padding: 8px 12px;
    border-radius: 16px;
  }

  .brand-panel img {
    width: 90px;
    max-height: 72px;
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .hero {
    min-height: 790px;
  }

  .hero-media img {
    object-position: 62% center;
  }

  .hero-media::after {
    background: linear-gradient(90deg, rgba(2,47,67,.88), rgba(2,47,67,.44));
  }

  .hero::before {
    inset: auto 0 0;
    height: 220px;
  }

  .hero-content {
    width: min(700px, 86vw);
    padding-top: 110px;
  }

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

  .trust-grid article:nth-child(2) {
    border-right: 0;
  }

  .trust-grid article:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .section-head,
  .journey-head,
  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .coach-image,
  .coach-photo {
    min-height: 620px;
  }

  .coach-photo {
    object-position: center 35%;
  }

  .coach-content {
    padding: 72px 40px 82px;
  }

  .coach-content::before {
    top: 48px;
    right: 40px;
    width: 112px;
    height: 37px;
  }

  .gallery-head {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .surf-gallery {
    grid-auto-rows: 145px;
  }

  .surf-gallery-item-1,
  .surf-gallery-item-2,
  .surf-gallery-item-5,
  .surf-gallery-item-6 { grid-column: span 6; }
  .surf-gallery-item-3,
  .surf-gallery-item-4 { grid-column: span 6; grid-row: span 2; }

  .spots-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .spots-visual {
    max-width: 620px;
  }

  .steps {
    grid-template-columns: 1fr;
    border: 0;
    gap: 12px;
  }

  .step {
    min-height: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
  }

  .step:last-child {
    border-right: 1px solid var(--line);
  }

  .safety-band-inner {
    grid-template-columns: 64px 1fr;
  }

  .safety-points {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, 1fr);
  }

  .philosophy-title {
    position: static;
  }

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

  .footer-brand {
    width: 180px;
    min-height: 160px;
  }

  .footer-brand img {
    width: 142px;
  }

  .footer-nav {
    grid-column: auto;
  }
}

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

  .section {
    padding: 82px 0;
  }

  .hero {
    min-height: 760px;
    align-items: flex-end;
    padding-bottom: 92px;
  }

  .hero-media img {
    object-position: 70% center;
  }

  .hero-media::after {
    background: linear-gradient(180deg, rgba(2,47,67,.27), rgba(2,47,67,.9) 68%, rgba(2,47,67,.96));
  }

  .hero::before {
    background: linear-gradient(to bottom, transparent, rgba(1, 42, 58, .34));
  }

  .hero::after {
    width: 260px;
    height: 260px;
    right: -90px;
  }

  .hero-glow {
    display: none;
  }

  .hero-content {
    width: 100%;
    padding-top: 150px;
  }

  .hero h1 {
    font-size: clamp(53px, 15.4vw, 74px);
  }

  .hero-description {
    margin-top: 22px;
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-meta {
    margin-top: 24px;
  }

  .hero-meta span {
    font-size: 12px;
  }

  .trust-strip {
    margin-top: -38px;
  }

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

  .trust-grid article {
    min-height: 96px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-grid article:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .trust-grid article:last-child {
    border-bottom: 0;
  }

  .courses-section {
    padding-top: 115px;
  }

  .section-title {
    font-size: clamp(42px, 12vw, 58px);
  }

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

  .course-card {
    min-height: 0;
  }

  .course-intro {
    min-height: 0;
  }

  .coach-image,
  .coach-photo {
    min-height: 520px;
  }

  .coach-content {
    padding: 66px 22px 72px;
  }

  .coach-content::before {
    display: block;
    top: 26px;
    right: 22px;
    width: 92px;
    height: 31px;
  }

  .coach-content h2 {
    font-size: 54px;
  }

  .surf-gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 150px;
    gap: 10px;
  }

  .surf-gallery-item-1,
  .surf-gallery-item-2,
  .surf-gallery-item-3,
  .surf-gallery-item-4,
  .surf-gallery-item-5,
  .surf-gallery-item-6 {
    grid-column: auto;
    grid-row: span 1;
    border-radius: 16px;
  }

  .surf-gallery-item-1,
  .surf-gallery-item-5 {
    grid-column: 1 / -1;
    grid-row: span 2;
  }

  .spots {
    padding: 82px 0;
  }

  .spots-content h2 {
    font-size: 58px;
  }

  .spots-visual {
    transform: none;
  }

  .step {
    padding: 28px 24px 32px;
  }

  .safety-band-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .safety-points {
    grid-column: auto;
    grid-template-columns: repeat(2, 1fr);
  }

  .philosophy-cards article {
    padding: 26px 24px;
  }

  .footer-inner {
    min-height: 0;
    padding: 72px 0;
  }

  .footer-brand {
    width: 150px;
    min-height: 132px;
    padding: 16px;
    border-radius: 20px;
  }

  .footer-brand img {
    width: 118px;
  }

  .footer-cta h2 {
    font-size: 50px;
  }

  .footer-nav {
    display: grid;
  }

  .contact-details {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-actions .btn {
    width: 100%;
  }

  .footer-side {
    gap: 32px;
  }

  .social-note {
    max-width: none;
  }

  .footer-bottom-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px 0;
  }

  .footer-bottom-inner > div {
    display: grid;
    gap: 8px;
  }
}

/* =========================================================
   WORDPRESS / PAGES INTÉRIEURES
========================================================= */

.site-header-innerpage {
  position: relative;
  background: var(--blue-deep);
}

.admin-bar .site-header:not(.site-header-innerpage) {
  top: 32px;
}

.content-page {
  min-height: 60vh;
  padding: 100px 0 120px;
  background: var(--paper);
}

.content-page-inner {
  max-width: 920px;
}

.entry-page > h1 {
  margin: 0 0 36px;
  font-size: clamp(46px, 7vw, 82px);
  line-height: .95;
  letter-spacing: -.055em;
}

.entry-content {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.8;
}

.entry-content > * {
  max-width: 780px;
}

.entry-content > .alignwide {
  max-width: 1280px;
}

.entry-content a:not(.btn) {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  color: var(--blue-dark);
  line-height: 1.12;
  letter-spacing: -.03em;
}

.social-link-pending {
  opacity: .62;
}

@media (max-width: 782px) {
  .admin-bar .site-header:not(.site-header-innerpage) {
    top: 46px;
  }
}

@media (max-width: 680px) {
  .content-page {
    padding: 72px 0 90px;
  }
}
