/* =========================
   Design system
   ========================= */
:root {
  --bg: #0f0f10;
  --surface: #222;
  --text: #e9e9ec;
  --muted: #b9bcc6;
  --accent: #ff4d4f;
  --accent-contrast: #121214;
  --border: #26272b;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(0,0,0,.25);
  --container: 1200px;

  --step--1: clamp(0.85rem, 0.80rem + 0.2vw, 0.95rem);
  --step-0: clamp(1rem, 0.9rem + 0.6vw, 1.2rem);
  --step-1: clamp(1.25rem, 1.1rem + 1vw, 1.6rem);
  --step-2: clamp(1.6rem, 1.3rem + 1.6vw, 2.2rem);
  --step-3: clamp(2rem, 1.6rem + 2.4vw, 3rem);
}

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

html, body {
  padding: 0;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Ubuntu, Arial, sans-serif;
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #ffd9d9; text-decoration: none; }
a:hover { text-decoration: underline; }
/* :focus-visible { outline: 3px solid #ffd9d9; outline-offset: 2px; } */

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

/* TOP BAR */
.top-bar {
  color: #fff;
  padding: 10px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  flex-wrap: wrap;
  gap: 0.5rem;  
}

.top-bar a {
  color: #fff;
  text-decoration: none;
}

.top-bar-left,
.top-bar-center,
.top-bar-right {
  flex: 1 1 auto;
  min-width: 0;
}

.top-bar-left {
  text-align: left;
}

.top-bar-center {
  text-align: center;
  /*position: absolute;
  left: 50%;
  transform: translateX(-50%);*/
}

.top-bar-right {
  text-align: right;
}

.top-bar a:hover {
  text-decoration: underline;
}

.top-bar-menu select {
  margin-right: 15px;
}

@media (max-width: 768px) {
  .top-bar {
    flex-direction: column;      /* stack the 3 divs */
    align-items: stretch;        /* let them take full width */
    gap: 0.5rem;                 /* smaller gaps between rows */
  }

  .top-bar-left,
  .top-bar-center,
  .top-bar-right {
    width: 100%;
    text-align: left;
  }

  .top-bar  > * {
    width: 100%;                 /* each child div uses full line */
  }
}

/* =========================
   Header
   ========================= */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.brand {
  display: inline-block;
  padding: 0.9rem 0;
  color: var(--muted);
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.skip a {
  position: absolute; left: -9999px;
}
.skip a:focus {
  left: 0; top: 0.5rem;
  background: var(--accent); color: #fff;
  padding: 0.5rem 0.75rem; border-radius: 6px;
  z-index: 1000;
}

.top-fr-link {
  display: flex;

  /*
  background: #ffeb99;
  padding: 10px 20px;
  text-align: center;
  font-weight: bold;
  color: #333;
  text-decoration: none;*/
}
/*
.top-fr-link:hover {
  background: #ffe066;
}*/

.flag-fr {
  width: 20px;
  height: auto;
  margin-right: 8px;
  vertical-align: middle;
}

/* =========================
   Hero (couverture + texte)
   ========================= */
.hero {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  padding: 2rem 0 1rem;
}
.cover {
  margin: 0;
  background: #0c0d0e;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-text h1 {
  margin: 0 0 0.25rem;
  font-size: var(--step-3);
  line-height: 1;
}
.subtitle {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: var(--step-0);
}
.teaser {
  font-weight: 600;
  font-size: var(--step-1);
  margin: 0 0 0.5rem;
}
.desc {
  margin: 0 0 1rem;
}
.meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.25rem 1rem;
  margin: 1rem 0 0.5rem;
}
.meta dt {
  font-weight: 700;
  color: var(--muted);
}
.meta dd {
  margin: 0 0 0.5rem;
}
.keywords {
  color: var(--muted);
  margin-top: 0.5rem;
  font-size: var(--step--1);
}


@media (min-width: 720px) {
  .hero {
    grid-template-columns: 0.7fr 1.2fr;
    gap: 2.5rem;
    padding: 3.5rem 0 1.5rem;
  }
  .cover { max-width: 420px; }
}

/* For very wide screens, increase the text column further */
/* ≈32 % cover, 68 % text */
/* @media (min-width: 1100px) {
  .hero {
    grid-template-columns: 0.7fr 1.5fr;
  }
  .cover {
    max-width: 800px;
  }
}*/

/* =========================
   Galerie dā€™illustrations
   ========================= */
.gallery {
  padding: 2rem 0;
}
.gallery h2 {
  font-size: var(--step-2);
  margin: 0 0 1rem;
}
.gallery {
  display: grid;
  gap: 1rem;
}
.card {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.card img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.card figcaption {
  padding: 0.75rem 1rem;
  color: var(--muted);
  font-size: var(--step--1);
}

.gallery-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 600px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}

/* =========================
   Auteur
   ========================= */
.author {
  padding: 2rem 0 2.5rem;
}
.author h2 {
  font-size: var(--step-2);
  margin: 0 0 1rem;
}
.author-card {
  display: grid;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}
.author-media img {
  width: 120px; height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}
.author-name {
  margin: 0;
  font-size: var(--step-1);
}
.author-bio {
  margin: 0.25rem 0 0;
  color: var(--text);
  font-size: var(--step-0);
}

@media (min-width: 700px) {
  .author-card {
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
  }
  .author-media img { width: 150px; height: 150px; }
}

/* =========================
   CTA
   ========================= */
.cta {
  padding: 2rem 0 3rem;
  text-align: center;
}
.cta h2 {
  font-size: var(--step-2);
  margin: 0 0 0.5rem;
}
.btn-primary {
  display: inline-block;
  margin-top: 0.5rem;
  background: var(--accent);
  color: #fff;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform .08s ease, box-shadow .2s ease, background .2s ease;
  box-shadow: 0 8px 18px rgba(255, 77, 79, 0.35);
}
.btn-primary:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(255, 77, 79, 0.45);
}

/* FAQ Section Styling */
.faq-section {
  background-color: var(--surface);
  padding: 0.5rem  1.5rem;            /* same vertical rhythm as other sections */
  margin-top: 0;
  margin-bottom: 3rem;
  border-radius: 1rem;             /* matches your likely rounded card style */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); /* subtle depth for contrast */
}

/* Ensure width matches .container sections */
.faq-section.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* FAQ items */
.faq-item {
  margin-bottom: 1.5rem;
}

/* Titles and spacing */
.faq-section h2 {
  font-size: 1.75rem;
  margin-bottom: 2rem;
  text-align: left;
}

.faq-item h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.faq-item p {
  margin: 0;
  line-height: 1.6;
}

/* Footer Styling */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  padding: 1rem 0;
  text-align: center;
  font-size: var(--step--1);
}