/* ==========================================================================
   The Wings of Healing — page d'accueil
   Breakpoints (mêmes que le site Bricks) : 991px · 767px · 478px
   ========================================================================== */

/* Éléments masqués depuis le CMS (attribut hidden) : toujours cachés, quel que soit leur display. */
[hidden] { display: none !important; }

/* ---------- Polices ---------- */
@font-face { font-family: "Parkinsans"; font-weight: 400; font-display: swap; src: url("../fonts/parkinsans-400.woff2") format("woff2"), url("../fonts/parkinsans-400.woff") format("woff"); }
@font-face { font-family: "Parkinsans"; font-weight: 500; font-display: swap; src: url("../fonts/parkinsans-500.woff2") format("woff2"), url("../fonts/parkinsans-500.woff") format("woff"); }
@font-face { font-family: "Parkinsans"; font-weight: 600; font-display: swap; src: url("../fonts/parkinsans-600.woff2") format("woff2"), url("../fonts/parkinsans-600.woff") format("woff"); }
@font-face { font-family: "Parkinsans"; font-weight: 700; font-display: swap; src: url("../fonts/parkinsans-700.woff2") format("woff2"), url("../fonts/parkinsans-700.woff") format("woff"); }
@font-face { font-family: "General Sans"; font-weight: 400; font-display: swap; src: url("../fonts/generalsans-400.woff2") format("woff2"), url("../fonts/generalsans-400.woff") format("woff"); }
@font-face { font-family: "General Sans"; font-weight: 500; font-display: swap; src: url("../fonts/generalsans-500.woff2") format("woff2"), url("../fonts/generalsans-500.woff") format("woff"); }
@font-face { font-family: "General Sans"; font-weight: 600; font-display: swap; src: url("../fonts/generalsans-600.woff2") format("woff2"), url("../fonts/generalsans-600.woff") format("woff"); }

/* ---------- Tokens ---------- */
:root {
  --blue: #0a44b1;
  --blue-light: #aed1fe;
  --blue-pale: #eff6ff;
  --text: #363636;
  --muted: #8c7373;
  --white: #fff;
  --black: #000;
  --font-body: "General Sans", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-heading: "Parkinsans", var(--font-body);
  --radius-btn: 10px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}
html.menu-open { overflow: hidden; }

body {
  margin: 0;
  overflow-x: clip;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.4;
  text-rendering: optimizeLegibility;
}
@media (max-width: 767px) {
  h1 { font-size: 32px; }
  h2 { font-size: 28px; }
  h3 { font-size: 24px; }
}

p { margin: 0 0 1.2em; }
p:last-of-type { margin-bottom: 0; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; vertical-align: middle; border: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus:not(:focus-visible) { outline: none; }

.skip-link {
  position: fixed; top: 0; left: 0; z-index: 9999;
  padding: 5px 10px;
  background: var(--black); color: var(--white); font-weight: 700;
  border-bottom-right-radius: 8px;
  transform: translateY(-102%);
  transition: transform .3s;
}
.skip-link:focus { transform: none; }

/* ---------- Mise en page ---------- */
.container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 90%;
  max-width: 1600px;
  margin-inline: auto;
}
.stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 0;
}
section { display: flex; flex-direction: column; align-items: center; width: 100%; }

/* ---------- Typo utilitaires ---------- */
.eyebrow { margin: 0; color: var(--blue); font-weight: 500; }
.w500 { font-weight: 500; }
.hl { font-weight: 600; color: var(--blue); }
.blue { color: var(--blue); }

/* Soulignement « coup de pinceau » */
.underline { position: relative; display: inline-block; }
.underline::after {
  content: "";
  position: absolute; left: 0; bottom: -4px; z-index: 1;
  width: 100%; height: 10px;
  background: no-repeat 0 0 / 100% 100%;
}
.underline--white { font-weight: 600; }
.underline--white::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='10' viewBox='0 0 439 10' preserveAspectRatio='none' fill='none'%3E%3Cpath d='M438.2 2.75219C438.2 2.75219 388.248 2.2968 355.57 2.26554C307.792 2.21984 281.319 3.93905 233.473 5.01453C209.642 5.5502 192.672 6.71518 168.84 6.88241C125.177 7.1888 104.649 6.88115 61.0684 6.78125C37.2393 6.72663 -0.000189199 6.84081 -0.000189199 6.84081' stroke='%23FFFFFF' stroke-width='5'/%3E%3C/svg%3E"); }
.underline--blue::after,
.underline--blue2::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='10' viewBox='0 0 439 10' preserveAspectRatio='none' fill='none'%3E%3Cpath d='M438.2 2.75219C438.2 2.75219 388.248 2.2968 355.57 2.26554C307.792 2.21984 281.319 3.93905 233.473 5.01453C209.642 5.5502 192.672 6.71518 168.84 6.88241C125.177 7.1888 104.649 6.88115 61.0684 6.78125C37.2393 6.72663 -0.000189199 6.84081 -0.000189199 6.84081' stroke='%230A44B1' stroke-width='7'/%3E%3C/svg%3E"); }
.underline--blue2 { font-weight: 600; }
.underline--light-bold { font-weight: 600; }
.underline--light-bold::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='10' viewBox='0 0 439 10' preserveAspectRatio='none' fill='none'%3E%3Cpath d='M438.2 2.75219C438.2 2.75219 388.248 2.2968 355.57 2.26554C307.792 2.21984 281.319 3.93905 233.473 5.01453C209.642 5.5502 192.672 6.71518 168.84 6.88241C125.177 7.1888 104.649 6.88115 61.0684 6.78125C37.2393 6.72663 -0.000189199 6.84081 -0.000189199 6.84081' stroke='%23AED1FE' stroke-width='15'/%3E%3C/svg%3E"); }
.underline--blue-bold { font-weight: 600; }
.underline--blue-bold::after { bottom: -2px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='10' viewBox='0 0 439 10' preserveAspectRatio='none' fill='none'%3E%3Cpath d='M438.2 2.75219C438.2 2.75219 388.248 2.2968 355.57 2.26554C307.792 2.21984 281.319 3.93905 233.473 5.01453C209.642 5.5502 192.672 6.71518 168.84 6.88241C125.177 7.1888 104.649 6.88115 61.0684 6.78125C37.2393 6.72663 -0.000189199 6.84081 -0.000189199 6.84081' stroke='%230A44B1' stroke-width='15'/%3E%3C/svg%3E"); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: var(--radius-btn);
  letter-spacing: .5px;
  text-align: center;
}
.btn--strong { font-weight: 500; }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--white { background: var(--white); color: var(--blue); }
.btn--outline-white { background: var(--white); color: var(--blue); border: 2px solid var(--white); }
.btn--ghost-light { background: rgba(255, 255, 255, .1); color: var(--white); border: 2px solid rgba(255, 255, 255, .2); }
.btn--white-dark { background: var(--white); color: var(--black); font-weight: 500; }
.btn--glass { background: rgba(255, 255, 255, .3); color: var(--white); }
.btn--soft { background: rgba(9, 66, 179, .1); color: var(--blue); border: 1.1px solid rgba(9, 66, 179, .2); }

.btn--icon { cursor: pointer; }
.btn--icon svg { flex-shrink: 0; transition: transform .3s ease; }
.btn--icon:hover svg { transform: translate(2px, -2px) scale(1.2) rotate(10deg); }

.btn-row { display: flex; flex-direction: row; align-items: flex-start; column-gap: 30px; width: 100%; }
.btn-row--center { justify-content: center; }
.btn-row--fit { width: fit-content; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 998;
}
.site-header__inner {
  display: flex; flex-direction: column; align-items: center;
  padding: 15px 0;
  transition: .4s ease;
}
.site-header__bar {
  display: flex; flex-direction: row; align-items: center; justify-content: space-between;
  width: 90%; max-width: 1600px;
}
.site-header__logo {
  width: 100%; max-width: 200px;
  margin: 10px 0;
  line-height: 1;
}
.site-header__logo img { display: block; width: auto; }
.site-header__logo--dark { display: none; transform: scale(.8); transform-origin: left center; }

/* Navigation */
.nav { display: inline-flex; align-items: center; }
.nav__items {
  display: flex; flex-flow: row wrap; align-items: center; gap: 30px;
  margin: 0; padding: 0; list-style: none;
  color: rgba(255, 255, 255, .8);
}
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 5px; }
.nav__link:hover { text-decoration: underline; }

.nav__dropdown { display: flex; flex-direction: column; }
.nav__toggle { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.nav__toggle button { display: flex; align-items: center; transition: transform .3s ease; }
.nav__toggle button[aria-expanded="true"] { transform: rotateX(180deg); }
@media (min-width: 992px) {
  .nav__dropdown:hover .nav__toggle button { transform: rotateX(180deg); }
}
.nav__chevron path { stroke: var(--white); }

.nav__submenu {
  position: absolute; top: 100%; left: 0; z-index: 1001;
  display: flex; flex-direction: column; row-gap: 20px;
  width: 40vw; min-width: 200px; max-width: 500px;
  margin: 10px 0 0; padding: 20px;
  list-style: none;
  background: var(--white);
  border: 3px solid rgba(174, 209, 254, .15);
  border-radius: 10px;
  box-shadow: 4px 6px 100px 2px rgba(0, 0, 0, .05);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease;
}
.nav__submenu::before { /* pont invisible pour garder le survol */
  content: ""; position: absolute; left: 0; bottom: 100%; width: 100%; height: 13px;
}
.nav__dropdown:hover > .nav__submenu,
.nav__dropdown:focus-within > .nav__submenu,
.nav__dropdown.is-open > .nav__submenu { opacity: 1; visibility: visible; pointer-events: auto; }

.nav__sublink { display: flex; flex-direction: column; align-items: flex-start; transition: transform .3s ease; }
.nav__sublink:hover { transform: translateX(6px); }
.nav__subtitle { margin-bottom: -5px; color: var(--black); }
.nav__subdesc { color: var(--muted); }

.nav__lang {
  display: flex; align-items: center;
  padding: 4px 10px;
  border-radius: 10px;
  background: #0b44b0;
  color: var(--white);
}
.nav__mobile-cta > a { display: none; } /* l'emplacement reste réservé, comme sur le site Bricks */

/* Burger (mobile) */
.burger {
  --size: 35px;
  --line: var(--white);
  position: relative; z-index: 10000;
  display: none; align-items: center; justify-content: center;
  width: var(--size); height: var(--size);
}
.burger__line,
.burger__line::before,
.burger__line::after {
  display: block; width: 100%; height: 2px;
  border-radius: 100px;
  background: var(--line);
}
.burger__line { position: relative; }
.burger__line::before,
.burger__line::after { content: ""; position: absolute; left: 0; }
.burger__line::before { top: calc(var(--size) / 4); transition: top .3s .3s cubic-bezier(.23, 1, .32, 1), transform .3s cubic-bezier(.23, 1, .32, 1); }
.burger__line::after { bottom: calc(var(--size) / 4); transition: bottom .3s .3s cubic-bezier(.23, 1, .32, 1), transform .3s cubic-bezier(.23, 1, .32, 1); }
.nav.is-open .burger__line { background: transparent; }
.nav.is-open .burger__line::before { top: 0; transform: rotate(-45deg); transition: top .3s cubic-bezier(.23, 1, .32, 1), transform .3s .3s cubic-bezier(.23, 1, .32, 1); }
.nav.is-open .burger__line::after { bottom: 0; transform: rotate(45deg); transition: bottom .3s cubic-bezier(.23, 1, .32, 1), transform .3s .3s cubic-bezier(.23, 1, .32, 1); }

/* Bouton « Nous soutenir » du header */
.site-header__cta { width: fit-content; }
.site-header__cta-scrolled { display: none; }

/* État après scroll */
.site-header.is-scrolled .site-header__inner { padding: 0; background: var(--white); }
.site-header.is-scrolled .site-header__logo--light { display: none; }
.site-header.is-scrolled .site-header__logo--dark { display: block; }
.site-header.is-scrolled .nav__link,
.site-header.is-scrolled .nav__toggle > * { color: var(--black); }
.site-header.is-scrolled .nav__chevron path { stroke: var(--black); }
.site-header.is-scrolled .burger { --line: var(--black); }
.site-header.is-scrolled .site-header__cta-top { display: none; }
.site-header.is-scrolled .site-header__cta-scrolled { display: inline-flex; }

@media (max-width: 991px) {
  .site-header__cta { display: none; }
  .burger { display: flex; }

  .nav__items {
    position: fixed; inset: 0; z-index: 1001;
    flex-flow: column nowrap; align-items: flex-start; justify-content: flex-start; gap: 0;
    padding: 150px 0 0 10%;
    overflow: hidden;
    background: var(--blue);
    font-size: 20px;
    opacity: 0; visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
  }
  .nav.is-open .nav__items { opacity: 1; visibility: visible; overflow-y: auto; }
  .nav__item { position: static; display: flex; }
  .nav__dropdown { width: 90%; }

  .site-header .nav .nav__link,
  .site-header .nav .nav__toggle > * { font-size: 28px; color: var(--white); }
  .site-header .nav .nav__chevron path { stroke: var(--white); }
  .nav.is-open .burger { --line: var(--white); }

  .nav__submenu {
    position: static; display: none;
    width: 100%; max-width: 100%;
    row-gap: 10px;
    margin-bottom: 25px;
    opacity: 1; visibility: visible; pointer-events: auto;
  }
  .nav__submenu::before { content: none; }
  .nav__dropdown.is-open > .nav__submenu { display: flex; }
  .nav__subtitle { font-size: 20px; }
  .nav__subdesc { display: none; }

  .nav__lang {
    margin-top: 25px;
    background: var(--white); color: var(--blue);
    font-size: 22px; font-weight: 500;
  }
  .nav__mobile-cta { position: absolute; top: 25px; left: 10%; }
  .nav__mobile-cta > a { display: inline-flex; }
}

@media (max-width: 478px) {
  .site-header__inner { padding: 10px 0; }
  .site-header__logo { width: 200px; }
  .burger { --size: 40px; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  justify-content: center;
  min-height: 100vh;
  padding-top: 100px;
  background: var(--blue);
}
.hero__ribbon { position: absolute; z-index: 0; left: -5vw; bottom: -41vh; width: 35vw; }
.hero__inner { flex-direction: row; column-gap: 5vw; row-gap: 35px; }

.hero__content {
  display: flex; flex-direction: column; align-items: flex-start; row-gap: 20px;
  align-self: flex-end;
  width: 100%;
  z-index: 1;
}
.hero__eyebrow { margin: 0; color: var(--blue-light); font-weight: 500; text-transform: uppercase; }
.hero__title { margin-right: 30px; color: var(--white); font-weight: 500; }
.hero__text { color: var(--white); }
.hero__photo-small {
  align-self: flex-end;
  width: 40%;
  margin-top: 30px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 20px;
}

.hero__visual {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  align-self: flex-end;
  width: 100%;
}
.hero__photo {
  z-index: 1;
  width: 100%;
  aspect-ratio: 7 / 5;
  border: 4px solid var(--blue);
  border-radius: 20px;
  background: url("../img/hero-enfants-ecole.webp") 0 0 / cover no-repeat;
}
.hero__bird { position: absolute; top: -18vh; right: -5px; width: 40vh; max-width: 400px; }
.hero__cloud { position: absolute; top: -19vh; right: -12px; }

@media (max-width: 991px) {
  .hero { min-height: 70vh; padding-top: 0; }
  .hero__ribbon { left: -2vw; bottom: -30vh; }
  .hero__inner { margin-top: 100px; }
  .hero__title { margin-right: 0; }
  .hero__bird { width: 25vw; right: 5vw; top: -120px; }
  .hero__cloud { top: -10vh; }
}
@media (max-width: 767px) {
  .hero__ribbon { display: none; width: 50vw; }
  .hero__photo-small,
  .hero__visual { display: none; }
}
@media (max-width: 478px) {
  .hero { min-height: 100vh; }
  .hero__ribbon { display: block; width: 90vw; bottom: -380px; }
  .hero__inner { margin-top: 120px; }
  .hero .btn-row { row-gap: 20px; }
}

/* ==========================================================================
   Notre projet
   ========================================================================== */
.project { position: relative; }
.project__inner {
  position: relative;
  flex-direction: row; align-items: center; column-gap: 8vw; row-gap: 35px;
  margin-top: 125px; margin-bottom: 100px;
}
.project__media {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start;
  align-self: center;
  width: 70%;
}
.project__photo {
  position: relative; z-index: 1;
  aspect-ratio: 1 / 1;
  object-fit: cover; object-position: 40%;
  border-right: 4px solid var(--white);
  border-bottom: 4px solid var(--white);
  border-radius: 30px;
  box-shadow: 4px 4px 0 0 var(--blue-light);
}
.project__hearts { position: absolute; z-index: 2; top: -90px; right: -110px; height: auto; }

.project__content {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start; row-gap: 20px;
  width: 100%;
}
.project__heading { display: flex; flex-direction: row; align-items: center; column-gap: 10px; width: 100%; }
.project__logo { width: 8vw; max-width: 120px; }
.project__bird { position: absolute; right: 0; bottom: -100px; width: 15vw; }

@media (max-width: 991px) {
  .project { z-index: 1; }
  .project__media { width: 40%; }
  .project__content { width: 60%; }
  .project__heading { align-items: flex-start; }
  .project__title { width: 80%; }
  .project__logo { width: 200px; }
  .project__hearts { width: 120px; top: -45px; right: -75px; }
  .project__bird { width: 25vw; }
}
@media (max-width: 767px) {
  .project__media,
  .project__content { width: 100%; }
  .project__photo { aspect-ratio: 2 / 1; }
  .project__logo { width: 80px; }
  .project__hearts { width: 180px; top: 0; left: 0; right: auto; }
}
@media (max-width: 478px) {
  .project { margin-top: 50px; }
  .project__title { width: 100%; }
  .project__photo { width: 100%; aspect-ratio: 1 / 1; }
  .project__hearts { width: 22vw; }
  .project__bird { width: 35vw; bottom: -50px; }
}

/* ==========================================================================
   Agenda
   ========================================================================== */
.agenda { margin-top: 75px; }
.agenda__inner { align-items: center; }

.agenda__list {
  display: flex; flex-direction: row; align-items: flex-start; column-gap: 70px;
  width: 100%;
  margin-top: 30px;
}
.event-card {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; row-gap: 15px;
  align-self: stretch;
  width: 100%;
  padding: 25px 25px 75px;
  border-radius: 25px;
  background: var(--white);
  box-shadow: 0 0 43.5px 1px rgba(0, 0, 0, .05);
}
.event-card__media {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-end; justify-content: flex-end;
  width: 100%;
  aspect-ratio: 21 / 9;
  padding: 18px;
  border-radius: 15px;
  background: center / cover no-repeat;
}
.event-card__heart { position: absolute; top: 10px; right: 10px; }
.event-card__date {
  margin: 0;
  padding: 8px 24px;
  border-radius: 11px;
  background: var(--white);
  font-size: 20px; font-weight: 500; line-height: 1.4;
}
.event-card__body { display: flex; flex-direction: column; align-items: flex-start; row-gap: 11px; width: 100%; }
.event-card__title { font-size: 23px; font-weight: 500; }
.event-card__body p { margin-bottom: 1px; }
.event-card__btn { position: relative; z-index: 1; }
.event-card__ribbon { position: absolute; right: 0; bottom: 0; height: auto; }

.agenda__all {
  display: flex; align-items: center; gap: 6px;
  margin-top: 7vh;
  text-decoration: underline;
}
.agenda__all svg { color: var(--black); }

@media (max-width: 991px) {
  .agenda__all { margin-top: 3vh; }
}
@media (max-width: 767px) {
  .agenda__list { row-gap: 45px; }
  .agenda__all { margin-top: calc(3vh + 30px); }
}
@media (max-width: 478px) {
  .event-card__ribbon { width: 30vw; }
}

/* ==========================================================================
   Nos réalisations
   ========================================================================== */
.achievements { position: relative; margin-top: 150px; background: var(--blue-pale); }
.achievements__birds { position: absolute; top: 10vh; left: 40vw; width: 9vw; max-width: 200px; height: auto; }
.achievements__inner {
  flex-direction: row; align-items: center; justify-content: center; column-gap: 8vw;
  margin-top: 15vh; margin-bottom: 15vh;
}
.achievements__intro { display: flex; flex-direction: column; align-items: flex-start; row-gap: 20px; width: 100%; }
.achievements__text { color: var(--blue); }

.achievements__cards { display: flex; flex-direction: row; align-items: flex-start; column-gap: 45px; width: 100%; }
.achievement { display: flex; flex-direction: column; align-items: flex-start; width: 100%; }
.achievement__img {
  aspect-ratio: 11.5 / 16;
  object-fit: cover;
  border: 6px solid var(--blue-light);
  border-radius: 25px;
}
.achievement__img--blue { border-color: var(--blue); object-position: 25%; }
.achievement__caption { display: flex; flex-direction: row; align-items: flex-start; column-gap: 20px; width: 100%; margin-top: 10px; }
.achievement__caption--right { justify-content: flex-end; padding-right: 30px; }
.achievement__caption--left { padding-left: 30px; }
.achievement__title { font-size: 18px; }
.achievement__caption--right .achievement__title { text-align: right; }
.achievement__arrow { margin-top: -14px; }

@media (max-width: 991px) {
  .achievements__birds { width: 11vw; }
  .achievements__inner { margin-top: 10vh; margin-bottom: 10vh; }
  .achievement__arrow--right { margin-right: -15px; }
  .achievement__arrow--left { margin-left: -15px; }
}
@media (max-width: 767px) {
  .achievements__birds { display: none; }
  .achievements__intro { margin-bottom: 40px; }
  .achievements__cards { row-gap: 45px; }
  .achievement { width: 45%; }
  .achievement__title { width: 70%; }
}
@media (max-width: 478px) {
  .achievement { width: 100%; }
  .achievement__title { margin-top: 20px; }
}

/* ==========================================================================
   Vidéo
   ========================================================================== */
.video { padding: 20vh 0 8vh; background: var(--blue); }
.video__inner { position: relative; justify-content: center; padding: 0 100px; }

.video__ribbon { position: absolute; width: 50vw; }
.video__ribbon--left { left: -30vw; bottom: -10vw; }
.video__ribbon--right { right: -30vw; top: -15vw; }
.video__cloud { position: absolute; top: calc(-10vw + 15px); left: -4vw; width: 40vw; }

.video__card {
  position: relative; z-index: 2;
  display: flex; flex-direction: row; align-items: flex-start; justify-content: flex-end;
  align-self: flex-end;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 40px;
  background: url("../img/video-clinique.webp") 0 0 / cover no-repeat;
  color: var(--white);
}
.video__overlay {
  position: absolute; inset: 0;
  border-radius: inherit;
  background: url("../img/overlay-video.webp") 0 0 / 100% 100% no-repeat;
}
.video__logo { position: absolute; z-index: 1; top: 15px; right: 15px; width: 5vw; }
.video__play { position: absolute; z-index: 1; top: 50%; left: 50%; width: 5vw; max-width: 100px; height: auto; transform: translate(-50%, -50%); }
.video__text {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: flex-start;
  align-self: flex-end;
  width: 100%;
  padding: 0 50% 3vw 3vw;
}
.video__title { color: var(--white); font-weight: 500; line-height: 1.3; }
.video__desc { color: var(--white); }

.video__tagline {
  display: flex; flex-direction: row; align-items: flex-end; justify-content: center; column-gap: 10px;
  width: 100%;
  margin-top: 20px;
  color: var(--white);
  font-family: var(--font-heading); font-weight: 500;
}
.video__tagline p { margin: 0; }
.video__tagline-arrow { width: 5%; height: auto; }
.video__tagline-heart { align-self: flex-start; width: 2.5%; height: auto; }

/* Nuage : apparition douce à l'entrée dans l'écran */
.reveal { opacity: 0; }
.reveal.is-visible { animation: fade-in 2s 1s ease forwards; }
@keyframes fade-in { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; }
  .reveal.is-visible { animation: none; }
}

@media (max-width: 991px) {
  .video { padding-top: 13vh; }
}
@media (max-width: 767px) {
  .video { padding-top: 18vh; padding-bottom: 22vh; }
  .video__inner { padding: 0 20px; }
}
@media (max-width: 478px) {
  .video__ribbon { width: 100vw; }
  .video__ribbon--left { left: -45vw; bottom: -30vw; }
  .video__ribbon--right { right: -50vw; top: -35vw; }
  .video__card { height: 60vh; aspect-ratio: auto; background-position: center; }
  .video__logo { width: 10vw; }
  .video__play { width: 70px; }
  .video__text { padding: 0 5vw 5vw; }
  .video__title { width: 100%; font-size: 25px; }
  .video__desc,
  .video__tagline { display: none; }
}

/* ==========================================================================
   Galerie
   ========================================================================== */
.gallery { position: relative; margin-top: 15vh; }
.gallery__inner { position: relative; z-index: 1; }
.gallery__card {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end;
  width: 100%;
  aspect-ratio: 20 / 7;
  border-radius: 30px;
  background: url("../img/galerie.webp") 0 0 / cover no-repeat;
}
.gallery__card::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: url("../img/overlay-galerie.webp") 0 0 / 100% 100% no-repeat;
}
.gallery__content {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; row-gap: 20px;
  width: fit-content;
  margin: 0 0 3vw 3vw;
}
.gallery__text { display: flex; flex-direction: column; align-items: flex-start; width: fit-content; max-width: 650px; }
.gallery__title { color: var(--white); font-weight: 500; }
.gallery__text p { color: var(--white); line-height: 1.5; }
.gallery .btn--glass svg { width: 25px; height: 25px; }
.gallery__ribbon { position: absolute; right: -26vw; bottom: -25vh; width: 50vw; }

@media (max-width: 991px) {
  .gallery { margin-top: 5vh; }
  .gallery__ribbon { bottom: -20vw; }
}
@media (max-width: 767px) {
  .gallery { margin-top: 20vh; }
  .gallery__text { padding-right: 20vw; }
}
@media (max-width: 478px) {
  .gallery { margin-top: 100px; }
  .gallery__card { height: 500px; aspect-ratio: auto; background-position: top right; }
  .gallery__content { margin: 0 0 22px 22px; }
  .gallery .btn-row { row-gap: 20px; }
  .gallery__ribbon { width: 600px; right: -60vw; bottom: -30vw; }
}

/* ==========================================================================
   Nous soutenir
   ========================================================================== */
.support { position: relative; overflow: hidden; margin-top: 200px; padding-bottom: 35vh; }
.support__inner { row-gap: 25px; align-items: center; justify-content: center; }
.support__heading {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  width: 100%; max-width: 750px;
  text-align: center;
}
.support__heading p { margin: 0; }
.support__title { color: var(--blue); font-weight: 400; }
.support__ribbon { position: absolute; left: -28vw; bottom: -22vw; width: 50vw; max-width: 100%; height: auto; }

@media (max-width: 991px) {
  .support { padding-bottom: 20vh; }
  .support__ribbon { bottom: -20vw; }
}
@media (max-width: 478px) {
  .support__title { line-height: 1.2; }
  .support .btn-row { row-gap: 20px; }
  .support__ribbon { width: 600px; left: -60vw; bottom: -50vw; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  padding: 100px 0 50px;
  border-top: 2px solid rgba(9, 66, 179, .27);
  background: var(--white);
}
.site-footer__inner { gap: 50px; }

.site-footer__top { display: flex; flex-direction: row; align-items: flex-start; column-gap: 45px; width: 100%; }
.site-footer__brand { display: flex; flex-direction: row; align-items: center; column-gap: 30px; width: 30%; }
.site-footer__logo { max-width: 200px; line-height: 1; }
.site-footer__logo img { display: block; width: auto; }
.site-footer__badge { display: inline-block; width: 70px; min-width: 70px; }
.site-footer__badge img { display: block; width: 100%; }

.site-footer__nav { position: relative; display: flex; flex-direction: row; justify-content: center; column-gap: 50px; width: 100%; }
.site-footer__col { display: flex; flex-direction: column; align-items: flex-start; width: fit-content; }
.site-footer__heading { margin-bottom: 10px; font-size: 18px; font-weight: 500; }
.site-footer__col a:hover { color: var(--blue); }
.site-footer__heart { position: absolute; top: -30px; right: -45px; }

.site-footer__bottom {
  display: flex; flex-direction: row; align-items: center; column-gap: 80px;
  width: 100%;
  padding-left: 20px;
  color: rgba(0, 0, 0, .5);
}
.site-footer__bottom p { margin: 0; }
.site-footer__bottom a { font-weight: 500; }
.site-footer__ribbon { position: absolute; right: 0; bottom: 0; }

@media (max-width: 991px) {
  .site-footer__brand { flex-direction: column; align-items: flex-start; row-gap: 30px; }
  .site-footer__nav {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px;
    width: 70%;
    overflow: hidden;
  }
  .site-footer__heart { display: none; }
}
@media (max-width: 767px) {
  .site-footer__inner { row-gap: 60px; }
  .site-footer__top { row-gap: 70px; }
  .site-footer__brand { flex-direction: row; width: 100%; }
  .site-footer__nav { width: 100%; }
}
@media (max-width: 478px) {
  .site-footer__nav { display: flex; flex-direction: column; }
}

/* ==========================================================================
   Mobile : les rangées passent à la ligne (comme Bricks)
   ========================================================================== */
@media (max-width: 767px) {
  .hero__inner,
  .btn-row,
  .project__inner,
  .project__heading,
  .agenda__list,
  .achievements__inner,
  .achievements__cards,
  .achievement__caption,
  .video__card,
  .video__tagline,
  .site-footer__top,
  .site-footer__brand,
  .site-footer__bottom { flex-wrap: wrap; }
}
