/* Golf du Liberty Country Club — sous-domaine golf
   Charte : Futura LT · Dark Blue #00003B · Blue #36A9E1 · Beige Gold #CEB19E (touches)
   Mobile first. Couleurs en tokens, états focus/hover/erreur explicites. */

@font-face { font-family: "Futura LT"; src: url("../fonts/FuturaLT-Light.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Futura LT"; src: url("../fonts/FuturaLT-Book.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Futura LT"; src: url("../fonts/FuturaLT.woff2") format("woff2"); font-weight: 500 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Futura LT"; src: url("../fonts/FuturaLT-Bold.woff2") format("woff2"); font-weight: 700 800; font-style: normal; font-display: swap; }

/* ---------- Design tokens ---------- */
:root {
  /* Couleurs de marque */
  --c-navy: #00003b;        /* fond principal sombre, titres, CTA primaire */
  --c-navy-2: #0b0b55;      /* survol des zones sombres */
  --c-blue: #36a9e1;        /* accent : liens, focus, petits détails (pas de texte courant sur blanc) */
  --c-blue-d: #1f7fb3;      /* accent foncé : texte bleu sur fond clair (contraste AA) */
  --c-beige: #ceb19e;       /* touches décoratives uniquement, jamais de texte */
  /* Neutres */
  --c-ink: #14142b;         /* texte courant */
  --c-muted: #4a4a63;       /* texte secondaire (contraste 7:1 sur blanc) */
  --c-soft: #f5f6f9;        /* fond de section alterné */
  --c-line: rgba(0, 0, 59, .12);
  --c-white: #ffffff;
  /* États */
  --c-error: #b42318;
  --c-success: #1d7a4a;
  --c-focus: #36a9e1;

  --font: "Futura LT", "Futura", "Century Gothic", system-ui, sans-serif;

  /* Typographie (échelle fluide) */
  --fs-xs: .8rem;
  --fs-sm: .9rem;
  --fs-base: 1.0625rem;     /* 17px : lisibilité mobile */
  --fs-lg: clamp(1.125rem, 1.6vw, 1.3rem);
  --fs-h3: clamp(1.25rem, 2vw, 1.5rem);
  --fs-h2: clamp(1.75rem, 3.6vw, 2.75rem);
  --fs-h1: clamp(2.25rem, 6vw, 4.75rem);

  /* Espacements (échelle 4px) */
  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem;
  --s-5: 1.5rem; --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem;
  --sec: clamp(4rem, 9vw, 8rem);
  --gutter: 20px;           /* marge latérale mobile */
  --wrap: 1200px;

  --r: 4px;                 /* rayon unique, sobre */
  --shadow: 0 24px 60px -36px rgba(0, 0, 59, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --hdr: 72px;
}

@media (min-width: 900px) { :root { --gutter: 40px; --hdr: 84px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); }
body { margin: 0; background: var(--c-white); color: var(--c-ink); font: 400 var(--fs-base)/1.65 var(--font); -webkit-font-smoothing: antialiased; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--c-blue-d); text-underline-offset: 3px; }
a:hover { color: var(--c-navy); }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--c-focus); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--c-navy); color: var(--c-white); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 300; background: var(--c-navy); color: var(--c-white); padding: var(--s-3) var(--s-4); }
.skip:focus { left: var(--s-2); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sec { padding-block: var(--sec); }
.sec--soft { background: var(--c-soft); }
.sec--navy { background: var(--c-navy); color: var(--c-white); }
.sec--navy .h2, .sec--navy .h3 { color: var(--c-white); }
.sec--navy p { color: rgba(255, 255, 255, .86); }

/* ---------- Typographie ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: var(--s-3); margin-bottom: var(--s-4); font-size: var(--fs-xs); font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--c-blue-d); }
.eyebrow::before { content: ""; width: 1.4rem; height: 1px; background: var(--c-beige); }
.sec--navy .eyebrow { color: var(--c-blue); }

.h1 { font-size: var(--fs-h1); font-weight: 300; line-height: 1.02; letter-spacing: .01em; text-transform: uppercase; }
.h1 strong { font-weight: 700; display: block; }
.h2 { font-size: var(--fs-h2); font-weight: 300; line-height: 1.1; letter-spacing: .01em; text-transform: uppercase; color: var(--c-navy); }
.h2 strong { display: block; font-weight: 700; }
.h3 { font-size: var(--fs-h3); font-weight: 500; line-height: 1.3; color: var(--c-navy); }
.lead { font-size: var(--fs-lg); line-height: 1.6; color: var(--c-muted); max-width: 40rem; }
.sec--navy .lead { color: rgba(255, 255, 255, .88); }
.measure { max-width: 42rem; }
.stack > * + * { margin-top: var(--s-4); }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2); min-height: 52px; padding: .9rem 1.6rem; border: 1px solid var(--c-navy); border-radius: var(--r); font-size: var(--fs-sm); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.btn--primary { background: var(--c-navy); color: var(--c-white); }
.btn--primary:hover { background: var(--c-navy-2); color: var(--c-white); }
.btn--secondary { background: transparent; color: var(--c-navy); }
.btn--secondary:hover { background: var(--c-navy); color: var(--c-white); }
.btn--light { background: var(--c-white); border-color: var(--c-white); color: var(--c-navy); }
.btn--light:hover { background: transparent; color: var(--c-white); }
.btn--ghost-light { background: transparent; border-color: rgba(255, 255, 255, .7); color: var(--c-white); }
.btn--ghost-light:hover { background: var(--c-white); color: var(--c-navy); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-row { display: flex; flex-direction: column; gap: var(--s-3); }
@media (min-width: 560px) { .btn-row { flex-direction: row; flex-wrap: wrap; } }

.link-arrow { display: inline-flex; align-items: center; gap: var(--s-2); font-size: var(--fs-sm); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--c-navy); text-decoration: none; border-bottom: 1px solid var(--c-beige); padding-bottom: 2px; }
.link-arrow:hover { color: var(--c-blue-d); border-color: var(--c-blue); }

/* ---------- Bandeau et en-tête ---------- */
.news-bar { background: var(--c-navy-2); color: rgba(255, 255, 255, .9); font-size: var(--fs-xs); text-align: center; padding: var(--s-2) var(--gutter); letter-spacing: .04em; }
.news-bar a { color: var(--c-white); }

.site-header { position: sticky; top: 0; z-index: 100; background: var(--c-white); border-bottom: 1px solid transparent; transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.site-header.is-scrolled { border-color: var(--c-line); box-shadow: 0 8px 24px -20px rgba(0, 0, 59, .4); }
.header-inner { display: flex; align-items: center; justify-content: flex-start; gap: var(--s-6); min-height: var(--hdr); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: 118px; height: auto; }
@media (min-width: 900px) { .brand img { width: 128px; } }

.header-actions { display: flex; align-items: center; gap: var(--s-3); flex: none; margin-left: auto; }
.header-actions .btn { display: none; min-height: 44px; padding: .6rem 1.1rem; white-space: nowrap; }
@media (min-width: 1280px) { .header-actions .btn { display: inline-flex; } }

.menu-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; width: 48px; height: 48px; padding: 0 12px; border-radius: var(--r); }
.menu-toggle span { display: block; height: 1.5px; background: var(--c-navy); transition: transform .3s var(--ease), opacity .3s var(--ease); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
@media (min-width: 1280px) { .menu-toggle { display: none; } }

.main-nav { position: fixed; inset: calc(var(--hdr) + 36px) 0 0 0; background: var(--c-white); padding: var(--s-5) var(--gutter) var(--s-7); overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .35s var(--ease), visibility .35s; }
.main-nav.is-open { transform: none; visibility: visible; }
.main-nav ul { display: flex; flex-direction: column; }
.main-nav a { display: flex; justify-content: space-between; align-items: center; padding: var(--s-4) 0; border-bottom: 1px solid var(--c-line); font-size: 1.05rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--c-navy); text-decoration: none; min-height: 52px; }
.main-nav a[aria-current="page"] { color: var(--c-blue-d); }
.main-nav .nav-cta { margin-top: var(--s-6); display: flex; flex-direction: column; gap: var(--s-3); }
.main-nav .nav-cta .btn { width: 100%; }

@media (min-width: 1280px) {
  .main-nav { position: static; transform: none; visibility: visible; padding: 0; overflow: visible; background: none; inset: auto; }
  .main-nav ul { flex-direction: row; gap: clamp(18px, 1.7vw, 32px); }
  .site-header .wrap { max-width: 1440px; }
  .main-nav a { white-space: nowrap; border: 0; padding: var(--s-2) 0; font-size: .75rem; letter-spacing: .08em; position: relative; min-height: auto; }
  .main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--c-blue); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
  .main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .main-nav .nav-cta { display: none; }
  .nav-wrap { display: flex; align-items: center; gap: var(--s-6); }
}
.nav-wrap { display: contents; }
@media (min-width: 1280px) { .nav-wrap { display: flex; align-items: center; gap: var(--s-6); } }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--c-navy); color: var(--c-white); overflow: hidden; }
.hero__inner { position: relative; padding-block: clamp(4.5rem, 12vw, 9rem); }
.hero .eyebrow { color: var(--c-blue); }
.hero .lead { color: rgba(255, 255, 255, .88); margin-top: var(--s-5); }
.hero .btn-row { margin-top: var(--s-7); }
.hero__mark { position: absolute; right: -4%; bottom: -18%; width: min(60vw, 520px); opacity: .07; pointer-events: none; }
.hero__mark img { width: 100%; filter: brightness(0) invert(1); }
.hero__facts { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); margin-top: var(--s-8); padding-top: var(--s-6); border-top: 1px solid var(--c-line-w, rgba(255, 255, 255, .16)); }
.hero__facts dt { font-size: var(--fs-xs); letter-spacing: .16em; text-transform: uppercase; color: var(--c-beige); }
.hero__facts dd { margin: var(--s-1) 0 0; font-size: var(--fs-sm); color: rgba(255, 255, 255, .92); }
@media (min-width: 900px) { .hero__facts { grid-template-columns: repeat(4, 1fr); } }
.hero--page { padding-block: 0; }
.hero--page .hero__inner { padding-block: clamp(4rem, 9vw, 7rem); }
.hero--video { min-height: min(86vh, 760px); display: flex; align-items: flex-end; background: var(--c-navy) url("../img/hero-video.jpg") center / cover no-repeat; }
.hero--video > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero--video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 59, .5) 0%, rgba(0, 0, 59, .72) 50%, rgba(0, 0, 59, .92) 100%); }
.hero--video .hero__inner { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .hero--video > video { display: none; } }
.hero--image { min-height: min(78vh, 720px); display: flex; align-items: flex-end; background: var(--c-navy); }
.hero--image > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero--image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 59, .15) 0%, rgba(0, 0, 59, .85) 100%); }
.hero--image .hero__inner { z-index: 1; }

/* ---------- Grilles et cartes ---------- */
.grid { display: grid; gap: var(--s-6); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 720px) { .grid--2 { grid-template-columns: 1fr 1fr; } .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }
.grid--gap-lg { gap: var(--s-8); }

.card { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-6) 0 0; border-top: 1px solid var(--c-line); }
.card p { color: var(--c-muted); }
.card .card__num { font-size: var(--fs-xs); letter-spacing: .18em; color: var(--c-blue-d); font-weight: 500; }
.card .link-arrow { margin-top: auto; align-self: flex-start; }

.feature { display: grid; gap: var(--s-5); }
.feature__media { position: relative; overflow: hidden; border-radius: var(--r); aspect-ratio: 4 / 3; background: var(--c-navy); }
.feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.feature:hover .feature__media img { transform: scale(1.02); }
@media (min-width: 900px) { .feature { grid-template-columns: 1.1fr 1fr; gap: var(--s-8); align-items: center; } .feature--reverse .feature__media { order: 2; } }

.placeholder { display: grid; place-items: center; text-align: center; padding: var(--s-6); background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-navy-2) 60%, #1b3a6b 100%); color: rgba(255, 255, 255, .85); font-size: var(--fs-sm); letter-spacing: .06em; }
.placeholder small { display: block; margin-top: var(--s-2); color: var(--c-beige); font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; }

/* Liste à puces discrète (style charte) */
.ticks li { position: relative; padding-left: 1.6rem; color: var(--c-muted); }
.ticks li + li { margin-top: var(--s-3); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .72em; width: .7rem; height: 1px; background: var(--c-blue); }
.sec--navy .ticks li { color: rgba(255, 255, 255, .86); }

/* Chiffres clés */
.figures { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6) var(--s-5); }
.figures__item { border-top: 1px solid var(--c-line); padding-top: var(--s-4); }
.figures__value { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 300; color: var(--c-navy); line-height: 1.1; }
.figures__label { font-size: var(--fs-sm); color: var(--c-muted); margin-top: var(--s-1); }
@media (min-width: 900px) { .figures { grid-template-columns: repeat(4, 1fr); } }

/* Citation / engagement */
.pull { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 300; line-height: 1.3; color: var(--c-navy); }
.pull strong { font-weight: 700; }
.pull-mark { width: 2.2rem; height: 2px; background: var(--c-beige); margin-bottom: var(--s-5); }

/* ---------- Formulaires ---------- */
.form { display: grid; gap: var(--s-5); }
.form__row { display: grid; gap: var(--s-5); }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: var(--s-2); }
.field label { font-size: var(--fs-sm); font-weight: 500; color: var(--c-navy); }
.field .hint { font-size: var(--fs-xs); color: var(--c-muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: .8rem 1rem; font: inherit; font-size: 1rem; color: var(--c-ink); background: var(--c-white); border: 1px solid #9c9cb3; border-radius: var(--r); transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.field textarea { min-height: 128px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--c-navy); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-navy); box-shadow: 0 0 0 3px rgba(54, 169, 225, .35); }
.field[data-state="error"] input, .field[data-state="error"] select, .field[data-state="error"] textarea { border-color: var(--c-error); box-shadow: 0 0 0 3px rgba(180, 35, 24, .12); }
.field__error { display: none; font-size: var(--fs-xs); color: var(--c-error); font-weight: 500; }
.field[data-state="error"] .field__error { display: block; }
.field[data-state="valid"] input { border-color: var(--c-success); }
.check { display: grid; grid-template-columns: 22px 1fr; gap: var(--s-3); align-items: start; font-size: var(--fs-sm); color: var(--c-muted); }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--c-navy); }
.form__note { font-size: var(--fs-xs); color: var(--c-muted); }
.form__success { display: none; padding: var(--s-5); border-left: 2px solid var(--c-success); background: var(--c-soft); color: var(--c-ink); }
.form.is-sent .form__success { display: block; }
.form.is-sent .form__fields { display: none; }

/* ---------- FAQ ---------- */
.faq details { border-top: 1px solid var(--c-line); }
.faq details:last-child { border-bottom: 1px solid var(--c-line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); padding: var(--s-5) 0; min-height: 56px; cursor: pointer; list-style: none; font-weight: 500; color: var(--c-navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; font-weight: 300; line-height: 1; color: var(--c-blue-d); transition: transform .3s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 var(--s-5); color: var(--c-muted); max-width: 46rem; }
.faq summary:hover { color: var(--c-blue-d); }

/* ---------- Bandeau de conversion ---------- */
.cta-band { background: var(--c-navy); color: var(--c-white); padding-block: var(--s-8); }
.cta-band__inner { display: grid; gap: var(--s-5); }
.cta-band .h2 { color: var(--c-white); font-size: clamp(1.5rem, 3vw, 2.25rem); }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1.4fr 1fr; align-items: center; } .cta-band .btn-row { justify-content: flex-end; } }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--c-navy); color: rgba(255, 255, 255, .8); padding-block: var(--s-8) var(--s-6); font-size: var(--fs-sm); }
.site-footer a { color: rgba(255, 255, 255, .9); text-decoration: none; }
.site-footer a:hover { color: var(--c-blue); }
.footer-grid { display: grid; gap: var(--s-7); }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h2 { font-size: var(--fs-xs); letter-spacing: .18em; text-transform: uppercase; color: var(--c-beige); margin-bottom: var(--s-4); font-weight: 500; }
.site-footer li + li { margin-top: var(--s-2); }
.footer-logo img { width: 170px; }
.footer-bottom { margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid rgba(255, 255, 255, .14); display: flex; flex-direction: column; gap: var(--s-2); font-size: var(--fs-xs); color: rgba(255, 255, 255, .6); }
@media (min-width: 700px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }

/* Barre d'action mobile : accessible au pouce */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--c-line); transform: translateY(0); transition: transform .3s var(--ease); }
.mobile-cta a { display: flex; align-items: center; justify-content: center; min-height: 56px; background: var(--c-white); color: var(--c-navy); font-size: var(--fs-xs); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
.mobile-cta a.is-primary { background: var(--c-navy); color: var(--c-white); }
@media (min-width: 1280px) { .mobile-cta { display: none; } }
@media (max-width: 1279px) { body { padding-bottom: 56px; } }

/* ---------- Mouvement ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Utilitaires ---------- */
.center { text-align: center; }
.center .measure, .center .lead { margin-inline: auto; }
.mt-lg { margin-top: var(--s-7); }
.mt-md { margin-top: var(--s-5); }
.tel-link { font-weight: 500; color: var(--c-navy); white-space: nowrap; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Icônes d'en-tête ---------- */
.i { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--c-navy); border-radius: var(--r); transition: color .2s var(--ease), background-color .2s var(--ease); }
.icon-btn:hover { color: var(--c-blue-d); background: var(--c-soft); }

/* ---------- Galeries et agenda ---------- */
.gallery { display: grid; gap: var(--s-4); grid-template-columns: 1fr; }
@media (min-width: 640px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.events-grid { display: grid; gap: var(--s-6); grid-template-columns: 1fr; }
@media (min-width: 640px) { .events-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .events-grid { grid-template-columns: repeat(3, 1fr); } }
.event-card { display: flex; flex-direction: column; gap: var(--s-3); }
.event-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.event-card .card__num { font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--c-blue-d); font-weight: 500; }
.event-card h3 { font-size: 1.05rem; font-weight: 500; line-height: 1.35; color: var(--c-navy); }

/* Ordinateur : logo à gauche, menu centré, actions à droite */
@media (min-width: 1280px) {
  .header-inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--s-6); }
  .brand { justify-self: start; }
  .main-nav { justify-self: center; }
  .header-actions { justify-self: end; margin-left: 0; }
}

/* ---------- Mise à jour visuelle : titres, cadres photo, heroes illustrés ---------- */
.h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.feature__media { aspect-ratio: 5 / 4; border-radius: 10px; box-shadow: var(--shadow); }
.feature__media img { border-radius: 10px; }
.card { padding-top: var(--s-7); }
.card .card__num { font-size: .8rem; letter-spacing: .2em; }
.hero--image > img { opacity: .8; }
.hero--image::after { background: linear-gradient(180deg, rgba(0, 0, 59, .55) 0%, rgba(0, 0, 59, .8) 100%); }
@media (min-width: 900px) {
  .hero--image::after { background: linear-gradient(90deg, rgba(0, 0, 59, .9) 0%, rgba(0, 0, 59, .55) 55%, rgba(0, 0, 59, .2) 100%); }
}
.hero--image .lead { color: rgba(255, 255, 255, .9); }
