/* =========================================================
   THE WILD TOUR — feuille de style commune
   ========================================================= */

/* ---------- Variables ---------- */
:root {
  /* Couleurs (DA d'origine) */
  --principal-color: #002533;
  --secondary-color: #f7efe7;
  --tertiary-color: #f2621f;
  --sable-color: #e0cebc;
  --bleupale-color: #d1dbe4;
  --texte-color: #13323e;
  --texte-doux: #4a5f68;
  --navy-glass: rgba(0, 37, 51, 0.55);
  --navy-glass-fort: rgba(0, 37, 51, 0.88);

  /* Typographies */
  --font-titre: 'Playfair Display', Georgia, serif;
  --font-texte: 'Lexend', system-ui, sans-serif;

  /* Espacements */
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(56px, 8vw, 112px);
  --largeur-max: 1200px;

  /* Effets */
  --radius-s: 12px;
  --radius: 20px;
  --radius-l: 32px;
  --ombre: 0 10px 30px -12px rgba(0, 37, 51, 0.35);
  --ombre-forte: 0 24px 48px -16px rgba(0, 37, 51, 0.45);
  --decalage: 12px;
  --transition: 350ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--secondary-color);
  color: var(--texte-color);
  font-family: var(--font-texte);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
}

main {
  flex: 1;
}

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

a {
  color: inherit;
}

ul {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
}

h1, h2, h3, h4 {
  font-family: var(--font-titre);
  font-style: italic;
  font-weight: 700;
  line-height: 1.15;
  color: var(--principal-color);
}

strong {
  font-weight: 500;
}

:focus-visible {
  outline: 3px solid var(--tertiary-color);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--tertiary-color);
  color: var(--secondary-color);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-s);
  background: var(--tertiary-color);
  color: var(--secondary-color);
  font-weight: 500;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

/* ---------- Utilitaires ---------- */
.container {
  width: 100%;
  max-width: var(--largeur-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
}

.section--sable {
  background: var(--sable-color);
}

.section--navy {
  background: var(--principal-color);
  color: var(--secondary-color);
}

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(32px, 5vw, 56px);
  text-align: center;
}

.section-head--left {
  margin-left: 0;
  text-align: left;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
}

.section--navy .section-title {
  color: var(--secondary-color);
}

.section-head p {
  margin-top: 1rem;
  color: var(--texte-doux);
  font-size: 1.05rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--tertiary-color);
  font-family: var(--font-texte);
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.divider {
  width: 64px;
  height: 3px;
  margin: 1.5rem auto 0;
  border: 0;
  border-radius: 3px;
  background: var(--tertiary-color);
}

.section-head--left .divider {
  margin-left: 0;
}

.prose {
  max-width: 68ch;
  font-size: 1.075rem;
  line-height: 1.85;
}

.prose p + p {
  margin-top: 1.25em;
}

.prose--center {
  margin-inline: auto;
  text-align: center;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--principal-color);
  color: var(--secondary-color);
  font-family: var(--font-texte);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn::after {
  content: "→";
  transition: transform var(--transition);
}

.btn:hover {
  background: var(--tertiary-color);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -10px var(--tertiary-color);
}

.btn:hover::after {
  transform: translateX(4px);
}

.btn--accent {
  background: var(--tertiary-color);
}

.btn--accent:hover {
  background: var(--principal-color);
  box-shadow: 0 10px 20px -10px var(--principal-color);
}

.btn--ghost {
  border-color: currentColor;
  background: transparent;
  color: var(--principal-color);
}

.btn--ghost:hover {
  border-color: var(--tertiary-color);
  color: var(--secondary-color);
}

.btn--no-arrow::after {
  content: none;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--tertiary-color);
  font-family: var(--font-titre);
  font-style: italic;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
}

.link-arrow::after {
  content: "→";
  font-family: var(--font-texte);
  font-style: normal;
  transition: transform var(--transition);
}

.link-arrow:hover::after {
  transform: translateX(5px);
}

/* =========================================================
   NAVBAR
   ========================================================= */
.site-header {
  position: fixed;
  top: 12px;
  left: 50%;
  z-index: 100;
  width: min(var(--largeur-max), calc(100% - 24px));
  transform: translateX(-50%);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0.75rem 0.6rem 1.25rem;
  border: 1px solid rgba(247, 239, 231, 0.12);
  border-radius: 18px;
  background: var(--navy-glass);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  transition: background var(--transition), box-shadow var(--transition);
}

.is-scrolled .navbar {
  background: var(--navy-glass-fort);
  box-shadow: var(--ombre);
}

.navbar__logo {
  width: auto;
  height: 46px;
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.navbar__menu > li {
  position: relative;
  display: flex;
  align-items: center;
}

.navbar__menu a {
  position: relative;
  display: block;
  padding: 0.55rem 1rem;
  color: var(--secondary-color);
  font-family: var(--font-titre);
  font-style: italic;
  font-weight: 600;
  font-size: 1.15rem;
  text-decoration: none;
  transition: color var(--transition);
}

.navbar__menu > li > a::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.3rem;
  height: 2px;
  border-radius: 2px;
  background: var(--tertiary-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.navbar__menu a:hover,
.navbar__menu a[aria-current="page"] {
  color: var(--tertiary-color);
}

.navbar__menu > li > a:hover::after,
.navbar__menu > li > a[aria-current="page"]::after {
  transform: scaleX(1);
}

.has-dropdown > a {
  padding-right: 0.25rem;
}

.dropdown__toggle {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-right: 0.5rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--tertiary-color);
}

.dropdown__toggle::before {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform var(--transition);
}

.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  min-width: 220px;
  padding: 0.5rem;
  border: 1px solid rgba(247, 239, 231, 0.12);
  border-radius: var(--radius-s);
  background: var(--navy-glass-fort);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: var(--ombre);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}

/* Zone tampon pour ne pas perdre le survol entre le lien et le menu */
.dropdown::before {
  content: "";
  position: absolute;
  inset: -16px 0 auto;
  height: 16px;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.has-dropdown:hover .dropdown__toggle::before,
.has-dropdown.is-open .dropdown__toggle::before {
  transform: translateY(2px) rotate(-135deg);
}

.dropdown a {
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
  font-family: var(--font-texte);
  font-style: normal;
  font-weight: 400;
  font-size: 0.95rem;
}

.dropdown a:hover,
.dropdown a[aria-current="page"] {
  background: rgba(247, 239, 231, 0.08);
}

.navbar__toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: rgba(247, 239, 231, 0.08);
}

.navbar__toggle span,
.navbar__toggle span::before,
.navbar__toggle span::after {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--secondary-color);
  transition: transform var(--transition), background var(--transition);
}

.navbar__toggle span {
  top: 50%;
  transform: translate(-50%, -50%);
}

.navbar__toggle span::before,
.navbar__toggle span::after {
  content: "";
  transform: translateX(-50%);
}

.navbar__toggle span::before { top: -6px; }
.navbar__toggle span::after { top: 6px; }

.navbar__toggle[aria-expanded="true"] span {
  background: transparent;
}

.navbar__toggle[aria-expanded="true"] span::before {
  transform: translate(-50%, 6px) rotate(45deg);
}

.navbar__toggle[aria-expanded="true"] span::after {
  transform: translate(-50%, -6px) rotate(-45deg);
}

@media (max-width: 900px) {
  .navbar {
    flex-wrap: wrap;
  }

  .navbar__toggle {
    display: block;
  }

  .navbar__menu {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 0.5rem 0 0.75rem;
    border-top: 1px solid rgba(247, 239, 231, 0.12);
  }

  .navbar.is-open {
    background: var(--navy-glass-fort);
  }

  .navbar.is-open .navbar__menu {
    display: flex;
  }

  .navbar__menu > li {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .navbar__menu > li > a::after {
    content: none;
  }

  .dropdown {
    position: static;
    display: none;
    width: 100%;
    padding: 0 0 0 1rem;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .has-dropdown.is-open .dropdown {
    display: block;
  }

  .has-dropdown:hover .dropdown__toggle::before {
    transform: translateY(-2px) rotate(45deg);
  }

  .has-dropdown.is-open .dropdown__toggle::before {
    transform: translateY(2px) rotate(-135deg);
  }

  .dropdown__toggle {
    width: 44px;
    height: 44px;
  }
}

/* =========================================================
   HERO (image principale + titre)
   ========================================================= */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(460px, 80vh, 860px);
  overflow: hidden;
  border-radius: 0 0 var(--radius-l) var(--radius-l);
  background: var(--principal-color);
  isolation: isolate;
}

.hero__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-zoom 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 37, 51, 0.35) 0%, rgba(0, 37, 51, 0) 35%, rgba(0, 37, 51, 0.75) 100%);
}

.hero__content {
  width: 100%;
  max-width: var(--largeur-max);
  margin-inline: auto;
  padding: 0 var(--gutter) clamp(40px, 7vw, 88px);
  color: var(--secondary-color);
}

.hero__title {
  color: var(--secondary-color);
  font-size: clamp(3.25rem, 11vw, 8.5rem);
  font-weight: 800;
  line-height: 0.95;
  text-shadow: 3px 4px 0 var(--tertiary-color);
  animation: fade-up 900ms 150ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero__lead {
  max-width: 560px;
  margin-top: 1.25rem;
  color: rgba(247, 239, 231, 0.9);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  animation: fade-up 900ms 300ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero .eyebrow {
  animation: fade-up 900ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  color: rgba(247, 239, 231, 0.9);
  font-size: 0.9rem;
  animation: fade-up 900ms 400ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero__meta img {
  width: 40px;
  height: 40px;
  border: 2px solid var(--tertiary-color);
  border-radius: 50%;
  object-fit: cover;
}

/* =========================================================
   CARTES
   ========================================================= */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: clamp(20px, 3vw, 32px);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--principal-color);
  color: var(--secondary-color);
  box-shadow: var(--ombre);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ombre-forte);
}

.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.card:hover .card__media img {
  transform: scale(1.06);
}

.card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: var(--tertiary-color);
  color: var(--secondary-color);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
}

.card__body h3 {
  color: var(--secondary-color);
  font-size: 1.45rem;
}

.card__body p {
  color: rgba(247, 239, 231, 0.78);
  font-size: 0.95rem;
}

.card__body .link-arrow {
  margin-top: auto;
  padding-top: 0.5rem;
}

/* Rend toute la carte cliquable via le lien principal */
.card__body .link-arrow::before {
  content: "";
  position: absolute;
  inset: 0;
}

.card__footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(247, 239, 231, 0.1);
  font-size: 0.9rem;
}

.card__footer img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

/* Avatar à initiales (auteurs sans photo) */
.avatar {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--tertiary-color);
  color: var(--secondary-color);
  font-family: var(--font-titre);
  font-style: italic;
  font-weight: 700;
  font-size: 0.95rem;
}

.card__footer small {
  display: block;
  color: rgba(247, 239, 231, 0.6);
  font-size: 0.78rem;
}

/* =========================================================
   ARTICLES EN LIGNE (image + texte)
   ========================================================= */
.features {
  display: grid;
  gap: clamp(40px, 6vw, 72px);
}

.feature {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
}

.feature:nth-child(even) .feature__media {
  order: 2;
}

.feature__media {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--ombre);
  aspect-ratio: 16 / 11;
}

.feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.feature:hover .feature__media img {
  transform: scale(1.04);
}

.feature__body h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.feature__body p {
  margin-bottom: 1.75rem;
  color: var(--texte-doux);
}

@media (max-width: 760px) {
  .feature {
    grid-template-columns: 1fr;
  }

  .feature:nth-child(even) .feature__media {
    order: 0;
  }
}

/* =========================================================
   BLOCS TEXTE / IMAGE AVEC OMBRE DÉCALÉE
   ========================================================= */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
}

.split + .split {
  margin-top: var(--section-y);
}

.split--reverse .split__media {
  order: -1;
}

.split__text {
  padding: clamp(24px, 4vw, 48px);
  border-radius: var(--radius);
  background: var(--sable-color);
  box-shadow: var(--decalage) var(--decalage) 0 var(--principal-color);
}

.split__text h2,
.split__text h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.split__text p + p {
  margin-top: 1rem;
}

.split__media {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--decalage) var(--decalage) 0 var(--principal-color);
  aspect-ratio: 4 / 3;
}

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

.split--accent .split__text,
.split--accent .split__media {
  box-shadow: var(--decalage) var(--decalage) 0 var(--tertiary-color);
}

.split--plain .split__text {
  padding: 0;
  background: none;
  box-shadow: none;
}

@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
  }

  .split--reverse .split__media {
    order: 0;
  }
}

/* =========================================================
   LANDING (index.html)
   ========================================================= */
.landing {
  position: relative;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: var(--gutter);
  background: var(--principal-color) url("assets-daniel/nils-nedel-ONpGBpns3cs-unsplash (1).jpg") center / cover no-repeat;
  isolation: isolate;
}

.landing::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 37, 51, 0.7) 0%, rgba(0, 37, 51, 0.15) 70%),
    linear-gradient(0deg, rgba(0, 37, 51, 0.6) 0%, rgba(0, 37, 51, 0) 40%);
}

.landing__inner {
  width: 100%;
  max-width: var(--largeur-max);
  margin-inline: auto;
}

.landing__logo {
  width: 150px;
  margin-bottom: clamp(24px, 5vh, 56px);
  animation: fade-up 900ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.landing__title {
  color: var(--secondary-color);
  font-size: clamp(4rem, 14vw, 10rem);
  font-weight: 800;
  line-height: 0.92;
  text-shadow: 3px 4px 0 var(--tertiary-color);
}

.landing__title span {
  display: block;
  animation: fade-up 1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.landing__title span:nth-child(2) { animation-delay: 150ms; padding-left: 0.6em; }
.landing__title span:nth-child(3) { animation-delay: 300ms; padding-left: 1.2em; }

.landing__lead {
  max-width: 480px;
  margin-top: 2rem;
  color: rgba(247, 239, 231, 0.9);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  animation: fade-up 1s 450ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.landing__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
  animation: fade-up 1s 600ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.landing .btn {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

.landing .btn--ghost {
  color: var(--secondary-color);
}

/* =========================================================
   ACCUEIL
   ========================================================= */
.intro {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}

.intro h2 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
}

.intro p {
  margin-top: 1.5rem;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.8;
}

/* =========================================================
   CATÉGORIES (Découvertes)
   ========================================================= */
.categories {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(16px, 2vw, 24px);
}

.categorie {
  position: relative;
  display: flex;
  align-items: flex-end;
  grid-column: span 2;
  min-height: 340px;
  overflow: hidden;
  border-radius: var(--radius);
  color: var(--secondary-color);
  text-decoration: none;
  box-shadow: var(--ombre);
  isolation: isolate;
}

.categorie:nth-child(4),
.categorie:nth-child(5) {
  grid-column: span 3;
}

.categorie img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.categorie::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(0, 37, 51, 0.92) 0%, rgba(0, 37, 51, 0.1) 65%);
  transition: opacity var(--transition);
}

.categorie:hover img {
  transform: scale(1.07);
}

.categorie__body {
  padding: 1.5rem;
}

.categorie__body h3 {
  color: var(--secondary-color);
  font-size: 2rem;
}

.categorie__body p {
  max-height: 0;
  overflow: hidden;
  color: rgba(247, 239, 231, 0.85);
  font-size: 0.92rem;
  opacity: 0;
  transition: max-height var(--transition), opacity var(--transition), margin var(--transition);
}

.categorie:hover .categorie__body p,
.categorie:focus-visible .categorie__body p {
  max-height: 8rem;
  margin-top: 0.5rem;
  opacity: 1;
}

.categorie__body .link-arrow {
  margin-top: 0.5rem;
}

@media (hover: none) {
  .categorie__body p {
    max-height: none;
    margin-top: 0.5rem;
    opacity: 1;
  }
}

@media (max-width: 900px) {
  .categories {
    grid-template-columns: 1fr 1fr;
  }

  .categorie,
  .categorie:nth-child(4),
  .categorie:nth-child(5) {
    grid-column: span 1;
  }

  .categorie:nth-child(5) {
    grid-column: span 2;
  }
}

@media (max-width: 560px) {
  .categories {
    grid-template-columns: 1fr;
  }

  .categorie,
  .categorie:nth-child(5) {
    grid-column: span 1;
    min-height: 280px;
  }
}

/* =========================================================
   FICHE ART (Julien)
   ========================================================= */
.bleed {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding-block: var(--section-y);
  background: linear-gradient(90deg, var(--secondary-color) 62%, var(--sable-color) 62%);
}

.bleed__text {
  justify-self: end;
  max-width: 560px;
  padding-left: var(--gutter);
}

.bleed__text h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.bleed__media {
  overflow: hidden;
  border-radius: var(--radius-l) 0 0 var(--radius-l);
  box-shadow: var(--ombre-forte);
  aspect-ratio: 4 / 5;
  max-height: 80vh;
}

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

.wide-figure {
  width: min(1400px, 92%);
  overflow: hidden;
  border-radius: 0 var(--radius-l) var(--radius-l) 0;
  box-shadow: var(--ombre-forte);
}

.wide-figure img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

.wide-figure figcaption {
  padding: 0.85rem var(--gutter);
  background: var(--principal-color);
  color: rgba(247, 239, 231, 0.8);
  font-size: 0.85rem;
}

.pullquote {
  max-width: 900px;
  margin-inline: auto;
  padding-left: 1.5rem;
  border-left: 4px solid var(--tertiary-color);
  color: var(--principal-color);
  font-family: var(--font-titre);
  font-style: italic;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  line-height: 1.4;
}

.pullquote + .prose {
  margin-top: 2.5rem;
}

.pullquote--light {
  color: var(--secondary-color);
}

.prose--light {
  color: rgba(247, 239, 231, 0.8);
}

.wide-figure + .section,
.section + .wide-figure {
  margin-top: 0;
}

@media (max-width: 860px) {
  .bleed {
    grid-template-columns: 1fr;
    background: linear-gradient(180deg, var(--secondary-color) 55%, var(--sable-color) 55%);
  }

  .bleed__text {
    justify-self: stretch;
    max-width: none;
    padding-right: var(--gutter);
  }

  .bleed__media {
    justify-self: end;
    width: 92%;
    aspect-ratio: 4 / 3;
  }
}

/* =========================================================
   FICHE ÉCOLOGIE (Stéphanie V.)
   ========================================================= */
.banner {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 6vw, 72px);
  border-radius: var(--radius-l);
  background: url("assets-daniel/chris-abney-gvb84QdErNs-unsplash.jpg") center / cover no-repeat;
  box-shadow: var(--decalage) var(--decalage) 0 var(--tertiary-color);
}

.banner__panel {
  max-width: 720px;
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--radius);
  background: rgba(247, 239, 231, 0.88);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.banner__panel h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
}

.banner__panel p + p {
  margin-top: 1rem;
}

.actors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr));
  gap: clamp(28px, 4vw, 48px);
}

.actor {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--decalage) var(--decalage) 0 var(--principal-color);
}

.actor:nth-child(even) {
  box-shadow: var(--decalage) var(--decalage) 0 var(--tertiary-color);
}

.actor__num {
  color: var(--tertiary-color);
  font-family: var(--font-titre);
  font-style: italic;
  font-weight: 800;
  font-size: 3rem;
  line-height: 1;
}

.actor__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(24px, 3vw, 36px);
}

.actor__body h3 {
  font-size: clamp(1.6rem, 2.6vw, 2rem);
}

.pill {
  align-self: flex-start;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: rgba(242, 98, 31, 0.12);
  color: #b3410d;
  font-size: 0.8rem;
  font-weight: 500;
}

.actor__body ul {
  display: grid;
  gap: 0.4rem;
}

.actor__body li {
  position: relative;
  padding-left: 1.25rem;
}

.actor__body li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tertiary-color);
}

.actor__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 37, 51, 0.1);
  color: var(--texte-doux);
  font-size: 0.9rem;
}

/* =========================================================
   FICHE NATURE (Stéphanie M.)
   ========================================================= */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: clamp(12px, 2vw, 20px);
}

.gallery img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--ombre);
  transition: transform var(--transition);
}

.gallery img:hover {
  transform: scale(1.02);
}

.gallery img:nth-child(1) { grid-column: span 2; }
.gallery img:nth-child(2) { grid-row: span 2; }
.gallery img:nth-child(4) { grid-column: span 3; }

@media (max-width: 760px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 180px;
  }

  .gallery img:nth-child(1),
  .gallery img:nth-child(4) { grid-column: span 2; }
  .gallery img:nth-child(2) { grid-row: span 1; }
}

.author {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(20px, 4vw, 48px);
  padding: clamp(24px, 4vw, 48px);
  border-radius: var(--radius);
  background: var(--principal-color);
  color: rgba(247, 239, 231, 0.85);
}

.author__avatar {
  width: 120px;
  height: 120px;
  border: 3px solid var(--secondary-color);
  font-size: 2.6rem;
}

.author h2 {
  margin-bottom: 0.75rem;
  color: var(--secondary-color);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.author p + p {
  margin-top: 0.75rem;
}

@media (max-width: 860px) {
  .author {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .author__avatar {
    margin-inline: auto;
  }
}

/* =========================================================
   CONTACT
   ========================================================= */
.page-contact {
  background:
    linear-gradient(90deg, rgba(0, 37, 51, 0.85) 0%, rgba(0, 37, 51, 0.45) 100%),
    var(--principal-color) url("assets-daniel/aaron-burden-6DD9FJYj0Vo-unsplash.jpg") center / cover no-repeat fixed;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
  width: 100%;
  max-width: var(--largeur-max);
  margin-inline: auto;
  padding: clamp(120px, 16vh, 180px) var(--gutter) var(--section-y);
}

.contact__intro {
  color: var(--secondary-color);
}

.contact__title {
  color: var(--secondary-color);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  text-shadow: 3px 4px 0 var(--tertiary-color);
}

.contact__intro p:last-child {
  max-width: 420px;
  margin-top: 1.25rem;
  font-size: 1.1rem;
  text-shadow: 0 1px 12px rgba(0, 37, 51, 0.6);
}

.form {
  display: grid;
  gap: 1.1rem;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid rgba(247, 239, 231, 0.18);
  border-radius: var(--radius);
  background: rgba(0, 37, 51, 0.6);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: var(--ombre-forte);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.form__field {
  display: grid;
  gap: 0.4rem;
}

.form label {
  color: var(--secondary-color);
  font-size: 0.9rem;
  font-weight: 400;
}

.form__optional {
  color: rgba(247, 239, 231, 0.6);
  font-size: 0.8rem;
}

.form input,
.form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid transparent;
  border-radius: var(--radius-s);
  background: rgba(247, 239, 231, 0.95);
  color: var(--principal-color);
  font: inherit;
  font-weight: 400;
  transition: border-color var(--transition), box-shadow var(--transition);
}

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

.form input:focus,
.form textarea:focus {
  border-color: var(--tertiary-color);
  outline: none;
  box-shadow: 0 0 0 4px rgba(242, 98, 31, 0.25);
}

.form [aria-invalid="true"] {
  border-color: #e5484d;
}

.form__error {
  color: #ffb4a8;
  font-size: 0.85rem;
  font-weight: 400;
}

.form__error--global,
.form__success {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-s);
  color: var(--secondary-color);
  font-size: 0.95rem;
}

.form__error--global {
  background: rgba(229, 72, 77, 0.35);
}

.form__success {
  background: rgba(48, 164, 108, 0.45);
}

.form button {
  justify-self: start;
  border: 0;
}

/* Champ pot de miel : invisible pour les humains */
.form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 860px) {
  .contact {
    grid-template-columns: 1fr;
  }

  .page-contact {
    background-attachment: scroll;
  }
}

@media (max-width: 520px) {
  .form__row {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--principal-color);
  color: rgba(247, 239, 231, 0.75);
  font-size: 0.92rem;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  max-width: var(--largeur-max);
  margin-inline: auto;
  padding: clamp(40px, 6vw, 64px) var(--gutter);
}

.site-footer__brand img {
  width: 150px;
  margin-bottom: 1rem;
}

.site-footer__brand p {
  max-width: 320px;
}

.site-footer h2 {
  margin-bottom: 1rem;
  color: var(--secondary-color);
  font-size: 1.2rem;
}

.site-footer li + li {
  margin-top: 0.4rem;
}

.site-footer a {
  text-decoration: none;
  transition: color var(--transition);
}

.site-footer a:hover {
  color: var(--tertiary-color);
}

.site-footer__bottom {
  padding: 1.25rem var(--gutter);
  border-top: 1px solid rgba(247, 239, 231, 0.1);
  font-size: 0.8rem;
  text-align: center;
}

@media (max-width: 760px) {
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__brand {
    grid-column: span 2;
  }
}

/* =========================================================
   ANIMATIONS
   ========================================================= */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-zoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

/* Apparition au scroll (classe ajoutée par main.js) */
.js .reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 800ms cubic-bezier(0.2, 0.7, 0.2, 1), transform 800ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-delay: 0ms !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }

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