/* ==========================================================================
   skn.dev — feuille de style unique
   Sabrina Kherrab, développeuse full stack freelance
   ========================================================================== */

/* --- Réglages de base ---------------------------------------------------- */

:root {
  --noir:        #000000;
  --encre:       #2a2a33;
  --gris:        #5a5a68;
  --gris-clair:  #9a94a6;
  --violet:      #85589f;
  --violet-vif:  #9065b1;
  --violet-pale: #a884c9;
  --panneau:     #e2efe6;
  --sombre:      #08060c;
  --blanc:       #ffffff;

  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
  --sans: "Space Grotesk", system-ui, -apple-system, sans-serif;

  /* SEUIL MOBILE : 820 px. Une règle @media n'accepte pas de variable CSS, la valeur
     est donc répétée. Si vous la changez, changez-la aux CINQ endroits :
       1. @media « En-tête »        — navigation masquée, hamburger affiché
       2. @media « Bannière »       — la ligne passe sur une seule ligne
       3. @media « Tarifs »         — nom et prix au-dessus du détail
       4. @media « Maintenance »    — onglets en 2 × 2
       5. js/app.js                — fermeture du tiroir quand la fenêtre s'élargit */

  /* Marge latérale : suit la fenêtre, puis centre le contenu au-delà de 1760 px */
  --gouttiere: max(clamp(18px, 3vw, 44px), calc((100% - 1760px) / 2));
}

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

html {
  /* Les ancres s'arrêtent sous l'en-tête collant */
  scroll-padding-top: clamp(64px, 8.9vw, 132px);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--blanc);
  color: var(--noir);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--noir); text-decoration: none; }
a:hover { color: var(--violet-vif); }

ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
img, svg { display: block; }

:focus-visible {
  outline: 2px solid var(--violet-vif);
  outline-offset: 3px;
}

/* Réservé aux lecteurs d'écran */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --- Éléments réutilisés ------------------------------------------------- */

.section {
  padding: clamp(72px, 9vw, 150px) var(--gouttiere) clamp(60px, 7vw, 120px);
  border-bottom: 1px solid var(--noir);
}

.section__tete {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px 40px;
  margin-bottom: clamp(40px, 5vw, 80px);
}

.titre-section {
  font-family: var(--mono);
  font-size: clamp(23px, 2.4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
}

.chapeau {
  max-width: 46ch;
  font-size: clamp(15px, 1.25vw, 19px);
  line-height: 1.6;
  color: var(--gris);
  text-wrap: pretty;
}

/* Intertitre en petites capitales espacées */
.surtitre {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--violet);
}

/* Liste à puces « · » violette */
.puces { display: flex; flex-direction: column; gap: 9px; }

.puces li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 10px;
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.55;
  color: var(--gris);
  text-wrap: pretty;
}

.puces li::before { content: "·"; color: var(--violet); }

/* --- Logo --------------------------------------------------------------- */
/* Construction : crochet, « skn », le point traversé par une barre coupée,
   « dev », crochet. Tout est dimensionné en em pour suivre la taille du texte. */

.logo {
  display: flex;
  align-items: center;
  gap: 0.34em;
  font-family: var(--mono);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: currentColor;
}

.logo__crochet {
  width: 0.59em;
  height: 0.9em;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 8.19;
}

.logo__mot { display: flex; align-items: baseline; }

.logo__barre {
  position: relative;
  display: inline-block;
  width: 0.5em;
}

/* Le point */
.logo__barre::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0.32em;
  height: 0.32em;
  border-radius: 50%;
  background: currentColor;
  transform: translateX(-50%);
}

/* Les deux segments de la barre oblique, de longueur égale, inclinés à 18,43° */
.logo__trait {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0.1em;
  height: 0.4em;
  background: currentColor;
}

.logo__trait--haut { transform: translate(calc(-50% + 0.1423em), -0.3869em) rotate(18.43deg); }
.logo__trait--bas  { transform: translate(calc(-50% - 0.1423em), 0.4669em) rotate(18.43deg); }

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

.entete {
  position: sticky;
  top: 0;
  z-index: 80;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
  gap: 0 24px;
  background: var(--blanc);
  border-bottom: 1px solid var(--noir);
}

.entete__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 clamp(168px, 19vw, 272px);
  padding: clamp(18px, 2vw, 28px) clamp(11px, 1.2vw, 17px);
  background: var(--panneau);
  font-size: clamp(24px, 2.58vw, 38px);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  margin-left: auto;
  gap: 12px clamp(18px, 2.4vw, 34px);
  padding: 14px clamp(18px, 3vw, 44px);
  font-size: clamp(14px, 1.2vw, 17px);
  font-weight: 500;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.nav a { color: var(--gris); }
.nav a:hover { color: var(--noir); }
.nav a[aria-current="page"] { color: var(--noir); }
.nav a[aria-current="page"]:hover { color: var(--violet-vif); }

.nav__bouton {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  border: 1px solid var(--noir);
  border-radius: 999px;
  font-size: 0.86em;
  font-weight: 600;
  letter-spacing: 0.09em;
  color: var(--noir);
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav__bouton:hover { background: var(--noir); color: var(--blanc); }

/* Bouton hamburger : masqué au-dessus de 820 px */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 64px;
  min-height: 64px;
  margin-left: auto;
  padding: 0 20px;
  border: none;
  background: none;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--noir);
}

/* Tiroir de navigation mobile */
.tiroir {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  flex-direction: column;
  padding: 22px 26px 48px;
  background: var(--sombre);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.tiroir[data-ouvert="true"] { display: flex; }

.tiroir__fermer {
  align-self: flex-end;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  min-height: 52px;
  border: none;
  background: none;
  color: var(--blanc);
  font-family: var(--mono);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.tiroir__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 24px;
}

.tiroir__nav a {
  padding: 18px 0;
  border-bottom: 1px solid #2a2333;
  font-family: var(--mono);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--blanc);
}

.tiroir__nav a:last-child { border-bottom: none; color: var(--violet-pale); }

.tiroir__pied {
  padding-top: 40px;
  font-family: var(--mono);
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--gris-clair);
}

@media (max-width: 820px) {
  .nav { display: none; }
  .burger { display: flex; }
}

/* --- Titre et bannière -------------------------------------------------- */

.titre-principal {
  padding: clamp(22px, 2.6vw, 40px) max(clamp(8px, 1vw, 16px), calc((100% - 1760px) / 2)) clamp(26px, 3vw, 44px);
  text-align: center;
  font-family: var(--mono);
  font-size: clamp(32px, 5.9vw, 96px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.02;
  text-wrap: balance;
}

.banniere {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  aspect-ratio: 1990 / 806;
  min-height: min(64vw, 340px);
  container-type: inline-size;
  overflow: hidden;
  background: var(--sombre) url("assets/banniere-fond.svg") center / cover no-repeat;
}

/* Voile symétrique : le texte reste lisible au centre */
.banniere::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 6, 12, 0.86) 0%, rgba(8, 6, 12, 0.58) 50%, rgba(8, 6, 12, 0.86) 100%);
}

.banniere__ligne {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  width: 100%;
  row-gap: 0.4em;
  padding: 0 5%;
  font-family: var(--mono);
  /* cqi : la taille suit la largeur de la bannière, pas celle de l'écran */
  font-size: clamp(14px, 2.32cqi, 38px);
  font-weight: 500;
  font-variant-ligatures: none;
  line-height: 1.25;
  color: var(--blanc);
}

.banniere__signe { color: var(--violet-pale); padding: 0 0.5em; }
.banniere__salut { color: #e8dcf4; }
.banniere__fin { color: var(--violet-pale); }

.banniere__groupe {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}

.curseur {
  width: 0.37em;
  height: 1.1em;
  margin-left: 0.37em;
  background: var(--violet-vif);
  animation: clignote 1.15s steps(1, end) infinite;
}

@keyframes clignote {
  0%, 48% { opacity: 1; }
  52%, 100% { opacity: 0; }
}

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

/* Sur téléphone, la ligne tient sur une seule ligne quelle que soit sa taille */
@media (max-width: 820px) {
  .banniere__ligne {
    flex-wrap: nowrap;
    white-space: nowrap;
    padding: 0;
    font-size: 2.78cqi;
    line-height: 1.22;
  }
  .banniere__signe { padding: 0 0.3em; }
}

/* --- Services ----------------------------------------------------------- */

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(28px, 3.4vw, 56px);
}

.service {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid var(--noir);
}

.service h3 {
  font-size: clamp(20px, 1.7vw, 27px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.service p {
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.6;
  color: var(--encre);
  text-wrap: pretty;
}

.service .puces { margin-top: 4px; }

/* --- Tarifs ------------------------------------------------------------- */

.tarifs { display: flex; flex-direction: column; gap: clamp(48px, 5.5vw, 88px); }

.groupe { display: flex; flex-direction: column; }
.groupe > .surtitre { margin-bottom: 16px; }

.ligne {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px clamp(20px, 2.6vw, 48px);
  padding: 22px 0;
  border-top: 1px solid var(--noir);
}

.ligne__nom {
  order: 1;
  flex: 0 0 22%;
  min-width: 0;
  font-size: clamp(17px, 1.4vw, 21px);
  font-weight: 600;
  letter-spacing: -0.015em;
}

.ligne__detail {
  order: 2;
  flex: 3 1 260px;
  min-width: 0;
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.6;
  color: var(--gris);
  text-wrap: pretty;
}

.ligne__prix {
  order: 3;
  flex: 0 0 auto;
  margin-left: auto;
  font-family: var(--mono);
  font-size: clamp(16px, 1.4vw, 22px);
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

/* En colonne étroite : nom et prix sur la première ligne, détail en dessous */
@media (max-width: 820px) {
  .ligne__nom { flex: 1 1 auto; }
  .ligne__prix { order: 2; }
  .ligne__detail { order: 3; flex: 1 1 100%; }
}

/* Encart de remise */
.remise {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px clamp(24px, 3vw, 48px);
  padding: clamp(26px, 2.8vw, 40px);
  background: var(--panneau);
}

.remise__texte {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 62ch;
}

.remise__texte p {
  font-size: clamp(15px, 1.25vw, 19px);
  line-height: 1.6;
  color: var(--encre);
  text-wrap: pretty;
}

.remise__chiffre {
  font-family: var(--mono);
  font-size: clamp(26px, 2.5vw, 38px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  white-space: nowrap;
}

/* --- Maintenance -------------------------------------------------------- */

.maintenance { display: flex; flex-direction: column; gap: clamp(28px, 3vw, 44px); }

.maintenance__intro {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 1.8vw, 26px);
}

.maintenance__accroche {
  max-width: 34ch;
  font-family: var(--mono);
  font-size: clamp(20px, 2vw, 32px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
  text-wrap: balance;
}

.maintenance__texte {
  max-width: 62ch;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.6;
  color: var(--encre);
  text-wrap: pretty;
}

.forfaits { display: flex; flex-direction: column; }

/* Onglets : quatre colonnes égales, bordures fusionnées par marge négative */
.onglets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.onglet {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin: 0 -1px 0 0;
  padding: 14px clamp(12px, 1.6vw, 26px);
  border: 1px solid var(--noir);
  border-bottom: none;
  background: transparent;
  font-family: var(--mono);
  font-size: clamp(11px, 1vw, 14px);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gris);
  text-align: center;
  line-height: 1.2;
  cursor: pointer;
}

.onglet[aria-selected="true"] {
  background: var(--panneau);
  color: var(--noir);
}

@media (max-width: 820px) {
  .onglets { grid-template-columns: repeat(2, 1fr); }
  .onglet { border-bottom: 1px solid var(--noir); margin-bottom: -1px; }
}

.panneau {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(28px, 3.4vw, 56px);
  background: var(--panneau);
  border: 1px solid var(--noir);
}

/* L'attribut hidden doit gagner sur tout display: déclaré ici. Sans cette règle,
   .forfait { display: grid } annule le masquage et les quatre panneaux s'affichent
   en même temps. */
[hidden] {
  display: none !important;
}

.forfait {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(26px, 3vw, 56px);
  align-items: start;
}

.forfait__prix {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.forfait__montant {
  font-family: var(--mono);
  font-size: clamp(34px, 3.4vw, 54px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  white-space: nowrap;
}

.forfait__montant span {
  font-size: 0.36em;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--gris);
}

.forfait__cible {
  max-width: 30ch;
  font-size: clamp(14px, 1.15vw, 17px);
  font-weight: 600;
  line-height: 1.55;
  color: var(--encre);
  text-wrap: pretty;
}

.forfait__contenu { display: flex; flex-direction: column; gap: 20px; }

/* Le temps inclus, isolé du reste : aucune ambiguïté sur le cumul */
.temps {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.16);
}

.temps__label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--gris);
}

.temps__valeur {
  font-family: var(--mono);
  font-size: clamp(15px, 1.3vw, 19px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.temps__note {
  font-size: clamp(13px, 1.05vw, 15px);
  line-height: 1.5;
  color: var(--gris);
}

.forfait__liste { display: flex; flex-direction: column; gap: 12px; }

.forfait__liste .puces { gap: 12px; }
.forfait__liste .puces li { font-size: clamp(14px, 1.1vw, 16px); line-height: 1.6; color: #4a4a58; }

/* Encart urgence, sur fond noir */
.urgence {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 16px clamp(24px, 3vw, 48px);
  padding: clamp(24px, 2.6vw, 36px);
  background: var(--sombre);
}

.urgence__tete {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.urgence__label {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--violet-pale);
}

.urgence__delai {
  font-family: var(--mono);
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--blanc);
  white-space: nowrap;
}

.urgence__corps {
  flex: 1 1 320px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: clamp(13px, 1.05vw, 15px);
  line-height: 1.65;
  color: #c8c2d4;
  text-wrap: pretty;
}

.urgence__corps p + p { color: var(--gris-clair); }

/* Conditions, en trois colonnes */
.conditions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 18px clamp(24px, 3vw, 48px);
  padding-top: 22px;
  border-top: 1px solid var(--noir);
}

.conditions p {
  font-size: clamp(13px, 1.05vw, 15px);
  line-height: 1.6;
  color: var(--gris);
  text-wrap: pretty;
}

/* --- À propos ----------------------------------------------------------- */

.apropos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(36px, 4.4vw, 80px);
  align-items: center;
}

.apropos__texte {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.2vw, 32px);
}

.apropos__texte p {
  max-width: 54ch;
  font-size: clamp(16px, 1.35vw, 21px);
  line-height: 1.65;
  color: var(--encre);
  text-wrap: pretty;
}

.stack {
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(28px, 3vw, 48px);
  background: var(--panneau);
}

.stack__label {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--gris);
}

.stack ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  font-family: var(--mono);
  font-size: clamp(13px, 1.1vw, 16px);
}

.stack li {
  padding: 8px 14px;
  border: 1px solid var(--noir);
  border-radius: 999px;
}

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

.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(28px, 3.2vw, 48px);
  padding: clamp(80px, 10vw, 170px) var(--gouttiere);
  text-align: center;
}

.contact h2 {
  max-width: 22ch;
  font-family: var(--mono);
  font-size: clamp(25px, 2.85vw, 50px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.02;
  text-wrap: balance;
}

.contact__intro {
  max-width: 48ch;
  font-size: clamp(16px, 1.35vw, 21px);
  line-height: 1.6;
  color: var(--gris);
  text-wrap: pretty;
}

.reservation {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 1180px;
  margin-top: clamp(12px, 1.6vw, 24px);
}

/* Calendly ne passe en deux colonnes qu'au-delà d'environ 1000 px de large */
.calendly-inline-widget {
  width: 100%;
  min-width: 280px;
  height: 780px;
  border: 1px solid var(--noir);
}

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

.pied {
  padding: clamp(48px, 6vw, 88px) clamp(18px, 3vw, 44px) clamp(28px, 3vw, 40px);
  background: var(--sombre);
  color: var(--blanc);
}

.pied__interieur {
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 4.4vw, 64px);
  max-width: 1760px;
  margin: 0 auto;
}

.pied__haut {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(32px, 4vw, 64px);
}

.pied__marque { display: flex; flex-direction: column; gap: 18px; }
.pied__marque .logo { font-size: clamp(22px, 2.1vw, 32px); color: var(--blanc); }

.pied__accroche {
  max-width: 30ch;
  margin-top: 1.6em;
  font-size: clamp(14px, 1.15vw, 17px);
  line-height: 1.6;
  color: var(--gris-clair);
  text-wrap: pretty;
}

.pied__colonne {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: var(--mono);
  font-size: clamp(13px, 1.1vw, 16px);
  letter-spacing: 0.06em;
}

.pied__colonne span {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--gris-clair);
}

.pied__colonne a { color: var(--blanc); overflow-wrap: anywhere; }
.pied__colonne a:hover { color: var(--violet-pale); }

.pied__bas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  padding-top: clamp(20px, 2.4vw, 32px);
  border-top: 1px solid #2a2333;
  font-family: var(--mono);
  font-size: clamp(11px, 0.95vw, 13px);
  letter-spacing: 0.08em;
  color: var(--gris-clair);
}

.pied__legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.pied__legal a { color: var(--gris-clair); }
.pied__legal a:hover { color: var(--blanc); }

/* --- Pages légales ------------------------------------------------------ */

.legal__tete {
  padding: clamp(48px, 6vw, 96px) max(clamp(18px, 3vw, 44px), calc((100% - 1200px) / 2)) clamp(32px, 4vw, 56px);
}

.legal__tete h1 {
  margin-bottom: 18px;
  font-family: var(--mono);
  font-size: clamp(30px, 4vw, 62px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.02;
  text-wrap: balance;
}

.legal__tete p {
  max-width: 62ch;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.6;
  color: var(--gris);
  text-wrap: pretty;
}

.legal__corps {
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 4vw, 60px);
  padding: 0 max(clamp(18px, 3vw, 44px), calc((100% - 1200px) / 2)) clamp(72px, 9vw, 140px);
}

.legal__corps section {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--noir);
}

.legal__corps h2 {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--violet);
}

.legal__corps div {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 78ch;
  font-size: clamp(14px, 1.1vw, 17px);
  line-height: 1.7;
  color: var(--encre);
  text-wrap: pretty;
}

.legal__corps a { text-decoration: underline; text-underline-offset: 3px; }

/* Champ restant à compléter */
.todo { color: var(--violet); }
