/* =========================================================================
   L'Intégrale de Riquet — feuille de style partagée
   Palette et typographie dérivées du logo et de l'affiche officielle.
   ========================================================================= */

:root {
  /* Couleurs */
  --petrol:      #0E3A42;   /* teal profond — sections sombres, hero */
  --petrol-900:  #0A2A30;
  --petrol-700:  #14505A;
  --turquoise:   #23B0A0;   /* accent de marque (logo) */
  --turquoise-2: #8FD8CD;
  --parchemin:   #F3EEE1;   /* crème (affiche) */
  --craie:       #FBFAF5;
  --terre:       #C15A34;   /* terre cuite — arrivée & appels à l'action */
  --terre-clair: #E08A5C;
  --encre:       #14252A;
  --encre-doux:  #4A5F64;
  --ligne:       rgba(14, 58, 66, .14);

  /* Typographie */
  --display: "Oswald", "Arial Narrow", sans-serif;
  --corps:   "Instrument Sans", system-ui, sans-serif;
  --data:    "Space Mono", ui-monospace, monospace;

  --max: 1160px;
}

/* ---- Reset léger ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--corps);
  color: var(--encre);
  background: var(--parchemin);
  line-height: 1.62;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ---- Utilitaires ------------------------------------------------------- */
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: clamp(20px, 5vw, 48px); }
.section { padding-block: clamp(64px, 9vw, 128px); }

.eyebrow {
  font-family: var(--data);
  font-size: 12.5px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--turquoise);
  margin: 0 0 20px;
  display: flex; align-items: center; gap: 12px;
}
.eyebrow::before {
  content: ""; width: 34px; height: 2px; background: var(--terre); display: inline-block;
}
.section--dark .eyebrow { color: var(--turquoise-2); }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.02; margin: 0; }
h2.title {
  font-size: clamp(2.1rem, 5.2vw, 3.9rem);
  text-transform: uppercase;
  letter-spacing: -.005em;
  max-width: 16ch;
}
.lede { font-size: clamp(1.05rem, 2vw, 1.28rem); max-width: 60ch; color: var(--encre-doux); }
.section--dark .lede { color: rgba(243, 238, 225, .82); }

/* ---- En-tête ----------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 245, .86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ligne);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 46px; width: auto; }
.brand b {
  font-family: var(--display); text-transform: uppercase; font-weight: 600;
  letter-spacing: .04em; font-size: 1.02rem; color: var(--petrol); line-height: 1;
}
.brand span { display: block; font-family: var(--data); font-size: 10px; letter-spacing: .2em; color: var(--turquoise); }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); }
.nav a { text-decoration: none; font-size: .93rem; color: var(--encre); opacity: .8; transition: opacity .2s; }
.nav a:hover { opacity: 1; }
.nav a.nav-cta {
  opacity: 1; font-family: var(--display); text-transform: uppercase; letter-spacing: .05em;
  background: var(--petrol); color: var(--craie); padding: 9px 16px; border-radius: 2px;
}
.nav a.nav-cta:hover { background: var(--terre); }
.nav .nav-links { display: contents; }
@media (max-width: 720px) { .nav .nav-links a:not(.nav-cta) { display: none; } }

/* ---- Boutons ----------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); text-transform: uppercase; letter-spacing: .06em;
  font-size: 1rem; text-decoration: none; padding: 15px 26px; border-radius: 2px;
  border: 1.5px solid transparent; transition: transform .15s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--terre { background: var(--terre); color: #fff; }
.btn--terre:hover { background: var(--terre-clair); }
.btn--ghost { border-color: currentColor; color: var(--craie); }
.btn--ghost:hover { background: rgba(255,255,255,.08); }
.btn--ink { border-color: var(--petrol); color: var(--petrol); }
.btn--ink:hover { background: var(--petrol); color: var(--craie); }
.btn .arw { font-family: var(--data); }

/* ---- Sections sombres -------------------------------------------------- */
.section--dark { background: var(--petrol); color: var(--parchemin); }
.section--petrol9 { background: var(--petrol-900); color: var(--parchemin); }

/* ---- Pied de page ------------------------------------------------------ */
.site-footer { background: var(--petrol-900); color: rgba(243,238,225,.75); padding-block: 64px 40px; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
@media (max-width: 720px) { .site-footer .cols { grid-template-columns: 1fr; gap: 30px; } }
.site-footer h4 { font-family: var(--display); text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; color: var(--turquoise-2); margin: 0 0 14px; }
.site-footer a { color: var(--parchemin); text-decoration: none; opacity: .8; }
.site-footer a:hover { opacity: 1; color: var(--turquoise-2); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .92rem; }
.footer-brand b { font-family: var(--display); text-transform: uppercase; letter-spacing: .04em; font-size: 1.3rem; color: var(--parchemin); }
.footer-legal { margin-top: 42px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-family: var(--data); font-size: 11.5px; letter-spacing: .04em; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; opacity: .7; }

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