/* Polices hebergees sur le site (aucun appel a Google) */
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/space-grotesk-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/space-grotesk-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/inter-latin-500-normal.woff2') format('woff2'); }

/* ---------- Variables ---------- */
:root {
  --nuit: #0F1B2D;
  --nuit-profond: #0A1424;
  --creme: #F7F4EC;
  --creme-clair: #FBF9F4;
  --ligne: #D5CFC0;
  --jaune: #F2B705;
  --texte: #1F2937;
  --texte-doux: #3F4A5C;
  --clair: #F4F1EA;
  --bleu-gris: #C5CEDC;
  --marge: clamp(20px, 5vw, 40px);
  --titres: 'Space Grotesk', system-ui, sans-serif;
  --corps: 'Inter', system-ui, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 80px; background: var(--creme); }
body {
  margin: 0;
  font-family: var(--corps);
  color: var(--texte);
  background: var(--creme);
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}
h1, h2, h3, p, ul { margin: 0; }
a { color: var(--nuit); }
a:hover { color: #7A5200; }
a:focus-visible { outline: 3px solid var(--jaune); outline-offset: 3px; }
.conteneur { max-width: 1200px; margin: 0 auto; }
.titre-section {
  font-family: var(--titres);
  font-weight: 600;
  font-size: clamp(26px, 5vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--nuit);
}

.lien-evitement {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; background: var(--jaune); color: var(--nuit);
  font-weight: 500; border-radius: 6px; text-decoration: none;
}
.lien-evitement:focus { top: 12px; }

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  transition: background-color .2s, color .2s, border-color .2s;
}
.bouton-plein { background: var(--jaune); color: var(--nuit); }
.bouton-plein:hover { background: #FFD04D; color: var(--nuit); }
.bouton-contour { border: 1px solid var(--clair); color: var(--clair); }
.bouton-contour:hover { background: var(--clair); color: var(--nuit); }

/* ---------- En-tête ---------- */
.entete {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  padding: 16px var(--marge);
  background: var(--creme-clair);
  border-bottom: 1px solid var(--ligne);
}
.marque {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--nuit);
  text-decoration: none;
}
.marque svg { flex: none; }
.marque span {
  font-family: var(--titres);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 15px; }
.nav a { color: var(--nuit); text-decoration: none; font-weight: 500; padding: 10px 0; }
.nav a:hover { color: #7A5200; text-decoration: underline; }

/* ---------- Bandeau d'accueil ---------- */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  contain: paint;
  background: var(--nuit);
  padding: clamp(56px, 10vw, 96px) var(--marge);
}
.hero-deco {
  position: absolute;
  right: -120px;
  top: 50%;
  width: 640px;
  height: 640px;
  margin-top: -320px;
  pointer-events: none;
}
.hero-contenu { position: relative; display: flex; flex-direction: column; gap: 22px; }
.hero-surtitre { font-size: 13px; letter-spacing: 0.18em; font-weight: 500; color: var(--jaune); }
.hero h1 {
  max-width: 640px;
  font-family: var(--titres);
  font-weight: 600;
  font-size: clamp(34px, 7vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--clair);
}
.hero p { max-width: 520px; font-size: clamp(17px, 2.5vw, 19px); line-height: 1.55; color: var(--bleu-gris); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }

/* ---------- Principe ---------- */
.principe { padding: clamp(48px, 8vw, 72px) var(--marge) 0; }
.principe .conteneur {
  border-left: 5px solid var(--jaune);
  padding-left: clamp(16px, 3vw, 24px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.principe-phrase {
  max-width: 820px;
  font-family: var(--titres);
  font-weight: 600;
  font-size: clamp(24px, 4.5vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--nuit);
}
.principe-detail { max-width: 640px; font-size: 17px; line-height: 1.6; color: var(--texte-doux); }

/* ---------- Offres ---------- */
.offres { padding: clamp(40px, 6vw, 64px) var(--marge) clamp(56px, 8vw, 88px); }
.offres .conteneur { display: flex; flex-direction: column; gap: 32px; }
.grille-offres {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 24px;
}
.carte {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(22px, 4vw, 32px);
  background: #fff;
  border: 1px solid var(--ligne);
  border-radius: 12px;
}
.carte h3 { font-family: var(--titres); font-weight: 600; font-size: 24px; color: var(--nuit); }
.carte p { font-size: 16px; line-height: 1.55; }
.carte ul {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--texte-doux);
}

/* ---------- À propos ---------- */
.apropos { padding: 0 var(--marge) clamp(56px, 8vw, 88px); }
.apropos .conteneur { display: flex; flex-direction: column; gap: 16px; }
.apropos p { max-width: 720px; font-size: 17px; line-height: 1.6; }

.apropos .apropos-grille {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  grid-template-areas:
    ". titre"
    "photo texte";
  gap: 16px clamp(24px, 5vw, 56px);
  align-items: start;
}
.apropos-titre { grid-area: titre; }
.apropos-photo { grid-area: photo; align-self: center; }
.apropos-photo { margin: 0; }
.apropos-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--ligne);
  background: var(--creme-clair);
}
.apropos-texte { grid-area: texte; display: flex; flex-direction: column; gap: 16px; }
.apropos-texte h3 { margin-top: 8px; font-family: var(--titres); font-weight: 600; font-size: 20px; color: var(--nuit); }
.apropos-texte ul { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 16px; line-height: 1.5; color: var(--texte-doux); }

/* ---------- Contact ---------- */
.contact { background: var(--nuit); padding: clamp(48px, 8vw, 80px) var(--marge); }
.contact .conteneur { display: flex; flex-direction: column; gap: 20px; color: var(--clair); }
.contact .titre-section { color: var(--clair); }
.contact p { max-width: 560px; font-size: 17px; line-height: 1.6; color: var(--bleu-gris); }
.contact-fiche { display: flex; flex-wrap: wrap; gap: 16px; }
.bouton-fiche { gap: 14px; min-height: 60px; padding: 0 28px; text-align: left; }
.bouton-fiche span { display: flex; flex-direction: column; line-height: 1.25; }
.bouton-fiche small { font-size: 13px; font-weight: 400; opacity: .8; }

/* ---------- Pied de page ---------- */
.pied {
  padding: 24px var(--marge);
  background: var(--nuit-profond);
  font-size: 13px;
  color: #B9C3D3;
}
.pied .conteneur { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }

/* ---------- Pied de page : liens ---------- */
.pied a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.pied a:hover { color: var(--jaune); }

/* ---------- Page mentions legales ---------- */
.legal { padding: clamp(40px, 6vw, 64px) var(--marge) clamp(56px, 8vw, 88px); }
.legal .conteneur { max-width: 820px; display: flex; flex-direction: column; gap: 36px; }
.legal h1 {
  font-family: var(--titres);
  font-weight: 600;
  font-size: clamp(30px, 6vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--nuit);
}
.legal-maj { margin-top: 10px; font-size: 14px; color: var(--texte-doux); }
.legal-bloc { display: flex; flex-direction: column; gap: 12px; padding-top: 28px; border-top: 1px solid var(--ligne); }
.legal-bloc h2 { font-family: var(--titres); font-weight: 600; font-size: 22px; letter-spacing: -0.01em; color: var(--nuit); }
.legal-bloc p, .legal-bloc li { font-size: 16px; line-height: 1.6; }
.legal-bloc ul { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.legal-bloc a { color: var(--nuit); text-underline-offset: 3px; }
.legal-retour { align-self: flex-start; }

/* ---------- Tablettes et téléphones ---------- */
@media (max-width: 720px) {
  .apropos .apropos-grille {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "photo"
      "titre"
      "texte";
  }
  .apropos-photo { align-self: start; }
  .apropos-photo { max-width: 420px; }
  .hero-deco { opacity: .45; right: -280px; }
  .hero-actions .bouton { flex: 1 1 100%; }
  .nav { gap: 4px 20px; }
  .bouton-fiche { flex: 1 1 100%; }
  .pied .conteneur { flex-direction: column; }
}
@media (max-width: 400px) {
  .marque span { font-size: 18px; }
  .carte h3 { font-size: 21px; }
}

/* ---------- Préférences utilisateur ---------- */
@media (prefers-reduced-motion: reduce) {
  .bouton { transition: none; }
}
