:root {
  --blue: #006898;
  --blue2: #0b7ead;
  --ink: #172128;
  --charcoal: #10171b;
  --slate: #667178;
  --muted: #6f7c84;
  --line: #dce4e8;
  --soft: #f4f7f8;
  --white: #fff;
  --max: 1180px;
  --radius: 26px;
  --shadow: 0 20px 55px rgba(20, 35, 45, .11)
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

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

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

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

button,
input,
textarea {
  font: inherit
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: -.035em
}

h1 {
  font-size: clamp(2.6rem, 5.4vw, 5.2rem);
  font-weight: 850
}

h2 {
  font-size: clamp(1.9rem, 3.4vw, 3.2rem);
  font-weight: 820
}

h3 {
  font-size: 1.35rem
}

p {
  margin: 0;
  color: #526069
}

.small {
  font-size: .9rem;
  color: var(--muted)
}

.section-label {
  display: flex;
  align-items: center;
  gap: .8rem;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: .13em;
  font-weight: 850;
  font-size: .8rem;
  margin-bottom: 12px
}

.section-label::before,
.section-label::after {
  content: "";
  height: 2px;
  background: currentColor;
  flex: 0 0 30px
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .93rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 780;
  transition: .22s ease;
  white-space: nowrap
}

.btn-primary {
  background: var(--blue);
  color: #fff
}

.btn-primary:hover {
  background: #005a83;
  transform: translateY(-2px)
}

.btn-dark {
  background: #10171b;
  color: #fff
}

.btn-light {
  background: #fff;
  border-color: var(--line)
}

.btn-light:hover {
  border-color: #aeb9bf;
  transform: translateY(-2px)
}

.actions {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(20, 35, 45, .08)
}

nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem
}

.brand {
  display: flex;
  align-items: center;
  gap: .72rem
}

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

.brand-copy {
  line-height: 1.05
}

.brand-copy .top {
  display: block;
  font-size: .69rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 760;
  color: #5f6b72
}

.brand-copy .bottom {
  display: block;
  font-size: .97rem;
  font-weight: 900;
  color: #172128;
  margin-top: .16rem
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 1rem
}

.navlinks a {
  font-size: .86rem;
  font-weight: 720;
  color: #253139
}

.navlinks a.active,
.navlinks a:hover {
  color: var(--blue)
}

.phone-cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border: 1px solid var(--blue);
  color: var(--blue);
  padding: .62rem .85rem;
  border-radius: 999px;
  font-weight: 820;
  font-size: .87rem
}

.phone-cta:hover {
  background: var(--blue);
  color: #fff
}

.menu {
  display: none;
  border: 0;
  background: none;
  font-size: 1.5rem
}

.mobile-phone {
  display: none
}

.hero {
  min-height: 76vh;
  background: linear-gradient(90deg, rgba(8, 16, 21, .88), rgba(8, 16, 21, .74) 38%, rgba(8, 16, 21, .42) 68%, rgba(8, 16, 21, .27)), url('hero-stage-back.jpeg') center center/cover no-repeat;
  color: #fff;
  overflow: hidden;
  position: relative
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 3rem;
  align-items: center;
  padding: 84px 0 110px
}

.hero p {
  color: #cbd5da;
  font-size: 1.12rem;
  max-width: 700px;
  margin: 1.35rem 0 2rem
}

.hero h1 span {
  display: block;
  color: #9adbf2
}

.hero-logo-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 500px;
  isolation: isolate
}

.hero-logo-stage img {
  width: min(500px, 88%);
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 24px 42px rgba(0, 0, 0, .25))
}

.hero-star {
  position: absolute;
  z-index: 0;
  width: min(520px, 84%);
  aspect-ratio: 1;
  background: rgba(176, 190, 198, .22);
  clip-path: polygon(50% 2%, 61% 34%, 95% 35%, 68% 55%, 78% 88%, 50% 69%, 22% 88%, 32% 55%, 5% 35%, 39% 34%);
  opacity: .05;
  transform: scale(.84) rotate(-5deg);
  transition: opacity .12s linear, transform .12s linear;
  filter: drop-shadow(0 0 30px rgba(118, 190, 219, .13))
}

.home-nav {
  padding: 0 0 44px;
  margin-top: -88px;
  position: relative;
  z-index: 6
}

.home-nav-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: 176px
}

.home-nav-card {
  padding: 1.6rem;
  border-right: 1px solid var(--line);
  transition: .2s ease;
  display: flex;
  flex-direction: column;
  justify-content: center
}

.home-nav-card:last-child {
  border-right: 0
}

.home-nav-card:hover {
  background: var(--soft)
}

.home-nav-card strong {
  display: block;
  margin-bottom: .25rem
}

.home-nav-card span {
  font-size: .85rem;
  color: var(--muted)
}

.page-hero {
  padding: 78px 0 60px
}

.page-hero.photo {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 360px;
  display: flex;
  align-items: end;
  color: #fff
}

.page-hero.photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 16, 21, .84), rgba(8, 16, 21, .48) 58%, rgba(8, 16, 21, .25))
}

.page-hero.photo .container {
  position: relative;
  z-index: 2
}

.page-hero.photo p {
  color: #d7e0e4;
  max-width: 760px;
  font-size: 1.08rem;
  margin-top: 18px
}

section {
  padding: 84px 0
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  margin-bottom: 42px
}

.section-head p {
  max-width: 570px
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem
}

.surface {
  background: var(--soft)
}

.dark {
  background: var(--charcoal);
  color: #fff
}

.dark p {
  color: #b8c3c9
}

.visual {
  min-height: 470px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #e9eef0;
  position: relative;
  box-shadow: var(--shadow)
}

.visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0
}

.visual.placeholder::after {
  content: "PHOTO / VIDÉO À AJOUTER";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #8b979d;
  font-weight: 800;
  letter-spacing: .1em;
  font-size: .78rem
}

.object-center {
  object-position: center center !important
}

.object-center-top {
  object-position: center 24% !important
}

.object-right {
  object-position: 65% center !important
}

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

.preview {
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: #fff
}

.preview-media {
  height: 220px;
  background: #e6ecef;
  overflow: hidden
}

.preview-media img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.preview-body {
  padding: 1.4rem
}

.preview-body p {
  margin: .7rem 0 1.2rem
}

.home-school-cta {
  margin-top: 20px;
  display: flex;
  gap: .8rem;
  flex-wrap: wrap
}

.call-strip {
  background: var(--blue);
  color: #fff;
  padding: 22px 0
}

.call-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem
}

.call-strip p {
  color: #d7edf5
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px
}

.fact {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.2rem
}

.fact span {
  display: block;
  color: var(--muted);
  font-size: .84rem
}

.fact strong {
  font-size: 1.05rem
}

.gallery3 {
  display: grid;
  grid-template-columns: 1.1fr .9fr .9fr;
  gap: 18px
}

.gallery3 .visual {
  min-height: 430px
}

.gallery3 .visual:nth-child(2),
.gallery3 .visual:nth-child(3) {
  min-height: 320px
}

.wingate {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 30px;
  align-items: center
}

.wingate img {
  border-radius: 20px;
  box-shadow: var(--shadow)
}

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

.qualification {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line)
}

.qualification span {
  font-size: .9rem;
  color: var(--muted)
}

.qualification a {
  font-weight: 800;
  color: var(--blue)
}

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

.persona {
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: #fff
}

.persona img {
  width: 100%;
  height: 260px;
  object-fit: cover
}

.persona .body {
  padding: 1.4rem
}

.questions {
  background: #0f181d;
  color: #fff;
  border-radius: 30px;
  padding: clamp(2rem, 5vw, 4rem)
}

.questions p {
  color: #c5d0d5
}

.question-list {
  display: grid;
  gap: .7rem;
  margin-top: 1.4rem
}

.question {
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 1.08rem;
  font-weight: 720
}

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

.media-item {
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: #fff
}

.media-thumb {
  height: 230px;
  background: #e6ecef;
  position: relative
}

.media-thumb::after {
  content: "MÉDIA";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #8b989e;
  font-weight: 850;
  letter-spacing: .12em;
  font-size: .76rem
}

.media-body {
  padding: 1.2rem
}

.media-body span {
  font-size: .82rem;
  color: var(--blue);
  font-weight: 800
}

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 34px
}

.contact-card {
  background: #10171b;
  color: #fff;
  border-radius: 28px;
  padding: clamp(2rem, 5vw, 4rem)
}

.contact-card p {
  color: #b8c3c9;
  margin: 1rem 0 2rem
}

.contact-links {
  display: grid;
  gap: 0
}

.contact-link {
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  justify-content: space-between;
  gap: 1rem
}

.contact-link span {
  color: #b9c4c9
}

form {
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(2rem, 5vw, 4rem);
  display: grid;
  gap: 14px
}

label {
  font-size: .82rem;
  font-weight: 780;
  color: #5d6a72
}

input,
textarea {
  width: 100%;
  padding: .95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 14px
}

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

.map {
  border: 0;
  width: 100%;
  height: 390px;
  border-radius: 26px
}

footer {
  background: #0d1418;
  color: #d3dce0;
  padding: 50px 0 26px
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .9fr;
  gap: 42px
}

footer p,
footer a {
  color: #aebbc1;
  font-size: .9rem
}

footer a:hover {
  color: #fff
}

.footer-links {
  display: grid;
  gap: .45rem
}

.ig {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #6944ff, #ea397c, #ff8c2a);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  font-size: 1.05rem;
  margin-top: .8rem
}

.footer-association {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .78rem;
  color: #829097
}

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

.reveal.visible {
  opacity: 1;
  transform: none
}

@media(max-width:980px) {
  .navlinks {
    display: none
  }

  .menu {
    display: block
  }

  .phone-cta {
    display: none
  }

  .hero-grid,
  .split,
  .wingate,
  .contact-grid {
    grid-template-columns: 1fr
  }

  .home-nav-grid {
    grid-template-columns: 1fr 1fr
  }

  .home-nav-card {
    border-bottom: 1px solid var(--line)
  }

  .preview-grid,
  .persona-grid,
  .media-grid {
    grid-template-columns: 1fr 1fr
  }

  .facts {
    grid-template-columns: 1fr 1fr
  }

  .gallery3 {
    grid-template-columns: 1fr 1fr
  }

  .gallery3 .visual:first-child {
    grid-column: 1/-1
  }

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

  .mobile-phone {
    display: flex;
    position: fixed;
    bottom: 16px;
    right: 16px;
    z-index: 60;
    background: var(--blue);
    color: #fff;
    border-radius: 999px;
    padding: .9rem 1rem;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .25);
    font-weight: 850
  }
}

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

  nav {
    height: 68px
  }

  .brand img {
    width: 42px;
    height: 42px
  }

  .brand-copy .top {
    font-size: .60rem
  }

  .brand-copy .bottom {
    font-size: .84rem
  }

  section {
    padding: 66px 0
  }

  .hero-grid {
    padding: 58px 0 96px
  }

  .hero-logo-stage {
    min-height: 350px
  }

  .home-nav {
    margin-top: -70px
  }

  .home-nav-grid,
  .preview-grid,
  .persona-grid,
  .media-grid,
  .facts,
  .gallery3,
  .footer-grid {
    grid-template-columns: 1fr
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column
  }

  .call-strip .container {
    align-items: flex-start;
    flex-direction: column
  }

  .visual {
    min-height: 390px
  }
}

.ois-hero {
  min-height: 440px;
  background-position: center 40% !important;
  background-size: cover !important;
}

.ois-hero::before {
  background:
    linear-gradient(90deg, rgba(7, 15, 20, .88) 0%, rgba(7, 15, 20, .62) 42%, rgba(7, 15, 20, .28) 70%, rgba(7, 15, 20, .16) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .30)) !important;
}

.ois-hero h1 {
  max-width: 780px;
  text-shadow: 0 4px 22px rgba(0, 0, 0, .42)
}

.ois-hero h1 span {
  display: block
}

.ois-hero .hero-subline {
  margin-top: .18em;
  color: #d9edf5;
  font-size: .72em
}

.wingate-card {
  min-height: 360px;
  display: grid;
  place-items: center;
  padding: 28px
}

.wingate-card img {
  width: min(360px, 88%);
  max-height: 310px;
  object-fit: contain;
  margin: auto;
  box-shadow: none
}

/* ===== V3.2: dark OIS/Aaron page ===== */
body.ois-page {
  background: #081117;
  color: #eef4f6;
}

body.ois-page main {
  position: relative;
  background:
    radial-gradient(circle at 80% 16%, rgba(0, 104, 152, .22), transparent 28%),
    radial-gradient(circle at 16% 66%, rgba(78, 101, 114, .16), transparent 34%),
    linear-gradient(180deg, #09131a 0%, #0b1820 46%, #071015 100%);
  overflow: hidden;
}

body.ois-page main::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .20;
  background-image:
    linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .014) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, black, transparent 94%);
}

body.ois-page section {
  position: relative;
  z-index: 1
}

body.ois-page .page-hero.photo {
  min-height: 480px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

body.ois-page .page-hero.photo::before {
  background:
    linear-gradient(90deg, rgba(4, 11, 15, .92) 0%, rgba(5, 14, 20, .70) 42%, rgba(5, 14, 20, .30) 72%, rgba(5, 14, 20, .22) 100%) !important;
}

body.ois-page .section-head p,
body.ois-page p {
  color: #c4d0d5
}

body.ois-page .card {
  background: rgba(255, 255, 255, .055);
  border-color: rgba(255, 255, 255, .10);
  color: #eef4f6;
  backdrop-filter: blur(10px);
}

body.ois-page .card p {
  color: #c7d3d8
}

body.ois-page .visual {
  background: #061016;
  border: 1px solid rgba(255, 255, 255, .08);
}

body.ois-page .surface {
  background: rgba(255, 255, 255, .025);
  border-top: 1px solid rgba(255, 255, 255, .07);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

body.ois-page .dark {
  background: transparent
}

body.ois-page .section-label {
  color: #50bce8
}

body.ois-page .ois-system-block {
  position: relative;
  overflow: hidden;
}

body.ois-page .ois-system-block::after {
  content: "";
  position: absolute;
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  width: min(650px, 55vw);
  aspect-ratio: 1;
  background: url('ois-magen.jpeg') center/contain no-repeat;
  opacity: .13;
  filter: saturate(.9) contrast(1.08);
  pointer-events: none;
}

body.ois-page .ois-system-block .container {
  position: relative;
  z-index: 2
}

body.ois-page .wingate-card {
  background: rgba(255, 255, 255, .06)
}

/* ===== V3.2: Lourmarin real-photo atmosphere on Les cours ===== */
body.cours-page {
  background: #fff;
}

body.cours-page main {
  position: relative;
  overflow: hidden;
}

body.cours-page .lourmarin-atmosphere {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .93), rgba(255, 255, 255, .86)),
    url('https://commons.wikimedia.org/wiki/Special:Redirect/file/Lourmarin%20dans%20le%20Luberon%20%28Vaucluse%29.jpg?width=1920') center 45%/cover no-repeat;
  background-attachment: fixed;
}

body.cours-page .lourmarin-atmosphere::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 104, 152, .05), transparent 34%, rgba(23, 33, 40, .04));
  pointer-events: none;
}

body.cours-page .lourmarin-atmosphere>* {
  position: relative;
  z-index: 1
}

body.cours-page .village-band {
  min-height: 360px;
  display: flex;
  align-items: end;
  background:
    linear-gradient(180deg, rgba(9, 18, 24, .10), rgba(9, 18, 24, .68)),
    url('https://commons.wikimedia.org/wiki/Special:Redirect/file/Lourmarin%20dans%20le%20Luberon%20%28Vaucluse%29.jpg?width=1920') center 45%/cover no-repeat;
  color: #fff;
  padding: 60px 0;
}

body.cours-page .village-band p {
  color: #e4edf0;
  max-width: 700px
}

.page-hero>.container>.section-label {
  display: none !important
}

/* OIS / Aaron : one continuous dark blue background */
body.ois-page,
body.ois-page main {
  background: #071a27 !important;
}

body.ois-page main {
  position: relative;
}

body.ois-page main::after {
  content: "";
  position: fixed;
  right: -4vw;
  bottom: -8vh;
  width: min(620px, 46vw);
  aspect-ratio: 1;
  background: url('ois-magen.jpeg') center/contain no-repeat;
  opacity: .065;
  pointer-events: none;
  z-index: 0;
}

body.ois-page main>section {
  position: relative;
  z-index: 1
}

body.ois-page .page-hero.photo {
  background-image:
    linear-gradient(90deg, rgba(7, 26, 39, .90), rgba(7, 26, 39, .55) 52%, rgba(7, 26, 39, .18)),
    url('aaron-hero-bg.jpeg') !important;
  background-size: cover !important;
  background-position: center 38% !important;
}

body.ois-page .page-hero.photo::after {
  content: "";
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: min(430px, 35vw);
  aspect-ratio: 1;
  background: url('ois-magen.jpeg') center/contain no-repeat;
  opacity: .52;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .28));
}

body.ois-page .page-hero.photo .container {
  position: relative;
  z-index: 2
}

body.ois-page .surface,
body.ois-page .dark {
  background: transparent !important;
}

/* Les cours : vraie photo de Lourmarin, utilisée comme texture d'ambiance et non comme publicité */
body.cours-page main {
  position: relative;
  background: #fff;
}

body.cours-page .lourmarin-atmosphere {
  position: relative;
  background:
    linear-gradient(rgba(255, 255, 255, .88), rgba(255, 255, 255, .90)),
    url('https://commons.wikimedia.org/wiki/Special:Redirect/file/Lourmarin%20dans%20le%20Luberon%20%28Vaucluse%29.jpg?width=1920') center 46%/cover no-repeat !important;
  background-attachment: scroll !important;
}

body.cours-page .lourmarin-atmosphere::before {
  display: none !important
}

body.cours-page .village-band {
  display: none !important
}

/* ===== V3.4 ===== */

/* Aaron / OIS : use only the cut-out logo in hero, no square background */
body.ois-page .page-hero.photo::after {
  background-image: url('ois-magen-transparent.png') !important;
  background-color: transparent !important;
  width: min(430px, 34vw) !important;
  opacity: .70 !important;
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, .28)) !important;
}

body.ois-page main::after {
  background-image: url('ois-magen-transparent.png') !important;
  opacity: .055 !important;
}

/* Les cours : one single real Lourmarin image as permanent page background */
body.cours-page main {
  background:
    linear-gradient(rgba(255, 255, 255, .82), rgba(255, 255, 255, .86)),
    url('https://commons.wikimedia.org/wiki/Special:Redirect/file/Lourmarin%20dans%20le%20Luberon%20%28Vaucluse%29.jpg?width=1920') center center/cover fixed no-repeat !important;
}

body.cours-page section:not(.page-hero):not(.call-strip):not(.surface):not(.lourmarin-atmosphere) {
  background: rgba(255, 255, 255, .80);
  backdrop-filter: blur(1px);
}

body.cours-page .call-strip {
  background: rgba(0, 104, 152, .94) !important;
}

body.cours-page .village-band {
  display: none !important
}

/* ===== V3.6 ===== */
.btn-light {
  color: var(--ink) !important
}

.btn-dark {
  color: #fff !important
}

.btn-primary {
  color: #fff !important
}

/* 2 x 2 practical info cards */
body.cours-page .facts {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  max-width: 820px;
}

/* Real Lourmarin photograph as subtle permanent page atmosphere */
body.cours-page main {
  background:
    linear-gradient(rgba(255, 255, 255, .86), rgba(255, 255, 255, .90)),
    url('lourmarin-real.jpg') center center/cover fixed no-repeat !important;
}

body.cours-page section:not(.page-hero):not(.call-strip) {
  background: rgba(255, 255, 255, .10);
  backdrop-filter: blur(0px);
}

body.cours-page .surface {
  background: rgba(244, 247, 248, .78) !important;
}

/* qualification image */
.diploma-visual {
  min-height: 560px;
  display: grid;
  place-items: center;
  padding: 36px;
  background: rgba(255, 255, 255, .88);
}

.diploma-placeholder {
  width: min(460px, 92%);
  aspect-ratio: 1.414/1;
  border: 1px solid #cfd9de;
  background: #fff;
  box-shadow: 0 18px 45px rgba(20, 35, 45, .12);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 28px;
}

.diploma-placeholder strong {
  display: block;
  font-size: 1.2rem
}

.diploma-placeholder span {
  color: var(--muted);
  font-size: .9rem
}

/* Home: fewer white pills/cards */
.home-nav-grid {
  box-shadow: 0 14px 38px rgba(20, 35, 45, .08) !important;
}

.home-nav-card {
  background: transparent !important;
}

.home-nav-card:hover {
  background: rgba(0, 104, 152, .045) !important;
}


/* V3.9 — navigation d'accueil illustrée */
.home-nav-visual .home-nav-card {
  min-height: 176px;
  position: relative;
  overflow: hidden;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .45);
  background-size: cover !important;
  background-position: center !important;
  isolation: isolate;
}

.home-nav-visual .home-nav-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 18, 27, .20), rgba(4, 18, 27, .78));
  z-index: -1;
}

.home-nav-visual .home-nav-card strong {
  font-size: 1.02rem
}

.home-nav-visual .home-nav-card span {
  color: #f4f8fa
}

.home-nav-visual .home-nav-card:hover {
  transform: translateY(-2px);
  filter: brightness(1.05)
}

.home-nav-visual .home-aaron {
  background-image: url('aaron-clo.jpeg') !important;
  background-position: center 35% !important
}

.home-nav-visual .home-cours {
  background-image: url('lourmarin-rue-large.jpeg') !important;
  background-position: center 50% !important
}

.home-nav-visual .home-coaching {
  background-image: url('kids-training-crop.jpg') !important
}

.home-nav-visual .home-medias {
  background-image: url('aaron-aix.jpg') !important;
  background-position: center 30% !important
}

.home-nav-visual .home-contact {
  background-image: url('lourmarin-village.jpeg') !important;
  background-position: center 55% !important
}

/* 5 informations pratiques */
body.cours-page .facts-five {
  grid-template-columns: repeat(5, 1fr)
}

body.cours-page .facts-five .fact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 112px
}

body.cours-page .facts-five .fact strong {
  font-size: 1.08rem
}

body.cours-page .facts-five .fact span {
  margin-top: 6px
}

.trial-info {
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 12px;
  color: #fff
}

@media(max-width:980px) {
  body.cours-page .facts-five {
    grid-template-columns: 1fr 1fr
  }
}

@media(max-width:640px) {
  body.cours-page .facts-five {
    grid-template-columns: 1fr
  }
}

.contact-village-photo {
  height: 260px;
  background:
    linear-gradient(rgba(5, 20, 31, .38), rgba(5, 20, 31, .38)),
    url('lourmarin-chateau.jpg') center 48%/cover no-repeat;
}

@media(max-width:700px) {
  .contact-village-photo {
    height: 180px
  }
}

/* V4.1 — Les cours : ambiance Lourmarin plus présente mais discrète */
body.cours-page {
  background:
    linear-gradient(rgba(248, 250, 251, .92), rgba(248, 250, 251, .92)),
    url('lourmarin-rue-large.jpeg') center top / cover fixed no-repeat;
}

body.cours-page main {
  position: relative;
  background: transparent;
}

body.cours-page main::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .76) 30%, rgba(255, 255, 255, .90) 65%, rgba(255, 255, 255, .78)),
    url('lourmarin-village.jpeg') right 18% / 54% auto no-repeat,
    url('lourmarin-chateau.jpg') left 72% / 48% auto no-repeat;
  opacity: .20;
}

body.cours-page main>* {
  position: relative;
  z-index: 1
}

body.cours-page .course-hero {
  background:
    linear-gradient(90deg, rgba(5, 20, 31, .86), rgba(5, 20, 31, .48)),
    url('lourmarin-rue.webp') center 48% / cover no-repeat !important;
}

body.cours-page section:not(.course-hero) .container {
  backdrop-filter: blur(1.5px);
}

/* Les cours — photo instructeur */
body.cours-page #instructeur .visual {
  min-height: 0;
  aspect-ratio: 1243 / 1255;
}

body.cours-page #instructeur .visual img {
  object-fit: contain;
  object-position: center;
}

/* V4.1 — Coaching : fond plus riche, photo discrète et légèrement floutée */
body.coaching-page {
  position: relative;
  background: #f5f7f8;
}

body.coaching-page::before {
  content: "";
  position: fixed;
  inset: -18px;
  z-index: -2;
  background:
    linear-gradient(110deg, rgba(244, 247, 249, .94) 0%, rgba(244, 247, 249, .88) 42%, rgba(8, 28, 41, .38) 100%),
    url('kids-training-crop.jpg') center 28% / cover no-repeat;
  filter: blur(0px);
  transform: scale(1.035);
}

body.coaching-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, .70), transparent 35%),
    linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(4, 19, 30, .12));
}

body.coaching-page main {
  background: transparent
}

body.coaching-page .page-hero {
  background: linear-gradient(90deg, rgba(4, 19, 30, .92), rgba(4, 19, 30, .64), rgba(4, 19, 30, .25)) !important;
}

body.coaching-page section .container {
  position: relative;
}

body.coaching-page .panel,
body.coaching-page .profile-card,
body.coaching-page .coaching-card {
  box-shadow: 0 18px 50px rgba(5, 22, 34, .09);
}

@media(max-width:760px) {
  body.cours-page {
    background-attachment: scroll
  }

  body.cours-page main::before {
    background-size: cover, cover;
    opacity: .12
  }

  body.coaching-page::before {
    background-position: 60% top
  }
}