/* ============================================================
   Frédéric Desclercs — refonte 2026
   Thème sombre raffiné : cuivre & or sur noir chaud, accent turquoise.
   Typographie : Fraunces (titres) + Inter (texte).
   ============================================================ */

:root {
  --bg: #070403;
  --bg-soft: #0d0907;
  --panel: #150e0a;
  --panel-soft: #1c1410;
  --line: rgba(255, 240, 224, 0.12);
  --line-strong: rgba(255, 240, 224, 0.22);
  --text: #f7ece0;
  --muted: #cdbcab;
  --copper: #e8853d;
  --gold: #ecc05e;
  --teal: #37c4b3;
  --coral: #ff5f70;
  --radius: 10px;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.5);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 68px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(900px 500px at 85% -5%, rgba(232, 133, 61, 0.13), transparent 60%),
    radial-gradient(800px 520px at -10% 30%, rgba(55, 196, 179, 0.07), transparent 55%),
    linear-gradient(180deg, #0a0605 0%, var(--bg) 45%);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

::selection {
  background: rgba(232, 133, 61, 0.45);
  color: #fff;
}

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

.wrap {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
}

/* ---------- Typographie ---------- */

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.7rem, 6.5vw, 5rem);
  line-height: 1.04;
}

/* Le nom : police sans-serif (Inter) en graisse forte, comme l'ancienne identité. */
.hero-name {
  font-family: var(--font-body);
  font-weight: 900;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.1;
}

h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  line-height: 1.2;
}

h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.18rem;
  line-height: 1.3;
  margin: 0 0 10px;
}

p {
  margin: 0;
}

.eyebrow {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--copper);
  margin-bottom: 16px;
}

/* ---------- Liens d'évitement ---------- */

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--gold);
  color: #15100a;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 8px 8px;
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 0;
}

/* ---------- Boutons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold), var(--copper) 60%, var(--coral));
  color: #170d06;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 10px 30px rgba(232, 133, 61, 0.25);
}

.button-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
}

.button-ghost:hover {
  box-shadow: none;
  border-color: var(--copper);
  color: var(--gold);
}

.button-small {
  padding: 9px 18px;
  font-size: 0.85rem;
}

.social-link {
  display: inline-flex;
  padding: 6px 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  border-radius: 6px;
  transition: color 160ms ease;
}

.social-link:hover {
  color: var(--teal);
}

/* ---------- En-tête ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 5, 3, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 200ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}

.brand {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 4px;
}

.nav-link {
  position: relative;
  padding: 8px 14px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  border-radius: 6px;
  transition: color 160ms ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--copper));
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-link:hover {
  color: var(--text);
}

.nav-link.is-active {
  color: var(--text);
}

.nav-link.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-actions .button-small {
  display: none;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }

  .nav-actions .button-small {
    display: inline-flex;
  }

  .menu-toggle {
    display: none;
  }
}

/* ---------- Menu mobile (drawer) ---------- */

.drawer {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.drawer::backdrop {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.drawer-inner {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: min(86vw, 360px);
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 26px;
  background: var(--bg-soft);
  border-left: 1px solid var(--line-strong);
  overflow-y: auto;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.drawer-close {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.drawer-links {
  display: grid;
  gap: 6px;
}

.drawer-links a {
  padding: 13px 14px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border-radius: 8px;
  transition: background 160ms ease, color 160ms ease;
}

.drawer-links a:hover {
  background: rgba(232, 133, 61, 0.14);
  color: var(--gold);
}

.drawer-socials {
  display: flex;
  gap: 6px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: auto;
}

/* ---------- Hero ---------- */

.hero {
  padding-block: clamp(56px, 9vw, 110px) clamp(36px, 5vw, 60px);
}

.hero-grid {
  display: grid;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.hero-copy .eyebrow {
  margin-bottom: 20px;
}

.hero-lead {
  max-width: 56ch;
  margin-top: 22px;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--muted);
}

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

.hero-socials {
  display: flex;
  gap: 4px;
  margin-top: 22px;
}

.hero-media {
  margin: 0;
  justify-self: center;
  max-width: 380px;
}

.hero-media img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}

.hero-media figcaption {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 360px;
  }
}

/* ---------- Bandeau repères ---------- */

.snapshot {
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
  gap: 1px;
}

.snapshot-item {
  display: grid;
  gap: 6px;
  padding: 22px 24px;
  background: var(--panel);
}

.snapshot-item strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold);
}

.snapshot-item span {
  font-size: 0.92rem;
  color: var(--muted);
}

@media (min-width: 768px) {
  .snapshot {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- Sections ---------- */

.section {
  padding-block: clamp(64px, 9vw, 120px);
  scroll-margin-top: calc(var(--header-h) + 12px);
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 240, 224, 0.025), rgba(255, 240, 224, 0.012));
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section-intro {
  margin-top: 18px;
  font-size: 1.06rem;
  color: var(--muted);
}

.section-head .check-list {
  margin-top: 22px;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--text);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.7 2.7L12 5.6' fill='none' stroke='%23170d06' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat,
    linear-gradient(135deg, var(--gold), var(--copper));
}

.group-head {
  display: grid;
  gap: 8px;
  margin: clamp(48px, 7vw, 76px) 0 clamp(24px, 4vw, 36px);
  padding-top: clamp(22px, 3vw, 30px);
  border-top: 1px solid var(--line);
}

.group-head h3 {
  color: var(--gold);
}

.group-head p {
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 70ch;
}

/* ---------- Blocs zigzag ---------- */

.zig {
  display: grid;
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
  padding-block: clamp(20px, 3.5vw, 34px);
}

.zig + .zig {
  border-top: 1px dashed var(--line);
}

.zig-body h4 {
  font-size: 1.3rem;
}

.zig-body p {
  color: var(--muted);
}

.zig-meta {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--teal);
  margin-bottom: 10px;
}

.framed {
  margin: 0;
}

.framed a {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
}

.framed img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  transition: transform 300ms ease;
}

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

.framed figcaption {
  margin-top: 10px;
  font-size: 0.84rem;
  color: var(--muted);
}

.img-tall {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 38%;
}

@media (min-width: 860px) {
  .zig {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  }

  .zig-media {
    order: 0;
  }

  .zig-body {
    order: 1;
  }

  .zig-flip .zig-media {
    order: 1;
  }

  .zig-flip .zig-body {
    order: 0;
  }
}

/* ---------- Emplacements photo à venir ---------- */

.placeholder {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 10px;
  min-height: 240px;
  padding: 28px;
  text-align: center;
  color: var(--muted);
  border: 2px dashed var(--line-strong);
  border-radius: var(--radius);
  background: rgba(255, 240, 224, 0.025);
}

.placeholder svg {
  width: 38px;
  height: 38px;
  color: var(--copper);
  opacity: 0.85;
}

.placeholder strong {
  color: var(--text);
  font-size: 1rem;
}

.placeholder span {
  font-size: 0.85rem;
}

/* ---------- Bloc vedette (coach) ---------- */

.feature-grid {
  display: grid;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.feature-copy {
  display: grid;
  gap: 18px;
  justify-items: start;
}

.feature-copy p {
  color: var(--muted);
}

.feature-media {
  justify-self: center;
  max-width: 420px;
  width: 100%;
}

@media (min-width: 900px) {
  .feature-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  }
}

.proof-band {
  display: grid;
  gap: 1px;
  margin-top: clamp(44px, 6vw, 64px);
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.proof-item {
  padding: 26px 24px;
  background: var(--panel);
  display: grid;
  gap: 8px;
}

.proof-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
}

.proof-item p {
  font-size: 0.92rem;
  color: var(--muted);
}

@media (min-width: 768px) {
  .proof-band {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- Galerie photo (rangées justifiées, hauteur égale) ---------- */

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-start;
}

.gallery .shot {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 150px;
  flex-shrink: 1;
}

.gallery .shot a {
  display: block;
  height: clamp(190px, 25vw, 290px);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
}

.gallery .shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms ease;
}

.gallery .shot a:hover img {
  transform: scale(1.05);
}

/* Légende sous la photo (comme les autres sections). */
.gallery .shot figcaption {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.gallery .shot figcaption strong {
  font-size: 0.92rem;
  line-height: 1.25;
  color: var(--text);
}

.gallery .shot figcaption span {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Sur très petit écran : une photo par ligne, ratio naturel (aucun recadrage). */
@media (max-width: 560px) {
  .gallery .shot {
    height: auto;
    width: 100%;
    flex: 1 1 100% !important;
  }

  .gallery .shot a,
  .gallery .shot img {
    height: auto;
  }
}

/* ---------- Mosaïque (blocs bio : 2 ou 3 photos, SANS recadrage) ----------
   Rangée à hauteur égale : chaque photo conserve son ratio naturel (largeur
   proportionnelle), les images sont alignées et regroupées sans être coupées
   ni déformées. Le dimensionnement est relatif (hauteur fluide), pas absolu. */

.mosaic {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: flex-start;
}

.mosaic a {
  display: block;
  height: clamp(150px, 19vw, 215px);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
}

.framed .mosaic img {
  height: 100%;
  width: auto;
  display: block;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transition: transform 400ms ease;
}

.mosaic a:hover img {
  transform: scale(1.04);
}

/* Sur petit écran, mosaïque sur toute la largeur : photos empilées, ratio intact. */
@media (max-width: 560px) {
  .mosaic a {
    height: auto;
    width: 100%;
  }

  .framed .mosaic img {
    width: 100%;
    height: auto;
  }
}

/* ---------- Lien texte & rangée de boutons ---------- */

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(236, 192, 94, 0.4);
  padding-bottom: 2px;
  width: fit-content;
  transition: color 160ms ease, border-color 160ms ease;
}

.text-link:hover {
  color: var(--copper);
  border-color: var(--copper);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Bloc Voyageurs du Monde ---------- */

.vdm-panel {
  display: grid;
  gap: clamp(24px, 4vw, 44px);
  padding: clamp(20px, 3.5vw, 40px);
  border: 1px solid rgba(236, 192, 94, 0.35);
  border-radius: var(--radius);
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(236, 192, 94, 0.07), transparent 60%),
    var(--panel);
}

.vdm-page {
  margin: 0;
  max-width: 420px;
  justify-self: center;
}

.vdm-page a {
  display: block;
  border-radius: 8px;
  overflow: hidden;
}

.vdm-page img {
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
}

.vdm-page figcaption {
  margin-top: 10px;
  font-size: 0.84rem;
  color: var(--muted);
  text-align: center;
}

.vdm-logo {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.vdm-logo img {
  width: 190px;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.vdm-story {
  display: grid;
  gap: 18px;
  align-content: center;
}

.vdm-story p {
  color: var(--muted);
}

.vdm-story strong {
  color: var(--text);
}

.vdm-jury {
  font-size: 0.95rem;
  padding-left: 16px;
  border-left: 3px solid var(--gold);
}

.map-frame {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

#vdm-map {
  height: clamp(260px, 36vw, 330px);
  background: #0f0c0a;
}

.map-caption {
  font-size: 0.84rem;
  color: var(--muted);
}

.leaflet-container {
  font-family: var(--font-body);
}

@media (min-width: 960px) {
  .vdm-panel {
    grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  }
}

/* ---------- Documents (NatGeo, livre, expositions) ---------- */

.docs-grid {
  display: grid;
  gap: 22px;
}

.doc {
  margin: 0;
  display: grid;
  gap: 10px;
  align-content: start;
}

.doc a {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--panel);
  transition: border-color 200ms ease;
}

.doc a:hover {
  border-color: var(--copper);
}

.doc img {
  width: 100%;
}

.doc figcaption {
  font-size: 0.88rem;
  color: var(--muted);
}

.doc figcaption strong {
  color: var(--text);
}

@media (min-width: 760px) {
  .docs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Archives ---------- */

.archives {
  margin-top: clamp(48px, 7vw, 76px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}

.archives summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  padding: 22px 26px;
  cursor: pointer;
  list-style: none;
}

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

.archives summary::before {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold);
  margin-right: 4px;
  line-height: 1;
}

.archives[open] summary::before {
  content: "–";
}

.archives summary span {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text);
}

.archives summary small {
  font-size: 0.85rem;
  color: var(--muted);
}

.archives summary:hover span {
  color: var(--gold);
}

.archives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
  padding: 0 26px 26px;
}

.archive-cell {
  margin: 0;
  display: grid;
  gap: 7px;
  align-content: start;
}

.archive-cell figcaption {
  font-size: 0.74rem;
  line-height: 1.35;
  color: var(--muted);
}

.archive-thumb {
  display: block;
  aspect-ratio: 1;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.archive-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 250ms ease, opacity 250ms ease;
}

.archive-thumb:hover img {
  transform: scale(1.06);
}

.photo-credit {
  margin-top: clamp(36px, 5vw, 56px);
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.contact-grid .section-head {
  margin-bottom: 0;
}

.contact-socials {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.contact-card {
  padding: clamp(22px, 3.5vw, 36px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.contact-card form {
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  gap: 18px;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: rgba(255, 240, 224, 0.04);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  transition: border-color 160ms ease, background 160ms ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(205, 188, 171, 0.55);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--copper);
  background: rgba(255, 240, 224, 0.07);
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

.field-error {
  font-size: 0.82rem;
  color: var(--coral);
}

.form-banner {
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 0.92rem;
  margin-bottom: 18px;
}

.form-ok {
  background: rgba(55, 196, 179, 0.12);
  border: 1px solid rgba(55, 196, 179, 0.4);
  color: #9fe8df;
}

.form-err {
  background: rgba(255, 95, 112, 0.1);
  border: 1px solid rgba(255, 95, 112, 0.38);
  color: #ffb3bc;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (min-width: 960px) {
  .contact-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }
}

/* ---------- Pied de page ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: clamp(36px, 5vw, 56px) 28px;
  background: var(--bg-soft);
}

.footer-grid {
  display: grid;
  gap: 28px;
}

.footer-grid p {
  margin-top: 8px;
  font-size: 0.88rem;
  color: var(--muted);
}

.footer-links {
  display: grid;
  gap: 8px;
  justify-items: start;
}

.footer-links a {
  font-size: 0.92rem;
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-socials {
  display: flex;
  gap: 6px;
  align-items: start;
}

.footer-legal {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.footer-legal p {
  font-size: 0.8rem;
  color: rgba(205, 188, 171, 0.7);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr auto;
  }
}

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
}

.lightbox::backdrop {
  background: rgba(2, 1, 1, 0.94);
}

.lb-figure {
  position: absolute;
  inset: 0;
  margin: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  padding: clamp(16px, 4vw, 48px);
  pointer-events: none;
}

.lb-image {
  max-width: min(92vw, 1200px);
  max-height: 78vh;
  width: auto;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7);
  pointer-events: auto;
}

.lb-caption {
  max-width: 80ch;
  text-align: center;
  font-size: 0.92rem;
  color: var(--muted);
}

.lb-counter {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: rgba(205, 188, 171, 0.7);
}

.lb-close,
.lb-nav {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(20, 13, 9, 0.8);
  color: var(--text);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}

.lb-close:hover,
.lb-nav:hover {
  background: rgba(232, 133, 61, 0.25);
  border-color: var(--copper);
}

.lb-close {
  top: 18px;
  right: 18px;
}

.lb-prev {
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
}

.lb-next {
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 640px) {
  .lb-prev,
  .lb-next {
    top: auto;
    bottom: 18px;
    transform: none;
  }

  .lb-prev {
    left: 18px;
  }

  .lb-next {
    right: 18px;
  }
}

/* ---------- Animations d'apparition ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

  .framed img,
  .shot img,
  .archive-thumb img,
  .button {
    transition: none;
  }
}
