@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("fonts/bricolage-grotesque-latin.woff2") format("woff2");
}

:root {
  --beton: #E6E5E1;
  --beton-clair: #F4F3EF;
  --encre: #1B1D21;
  --encre-2: #4A4D52;
  --canard: #0F6E78;
  --canard-fonce: #0B565E;
  --brique: #A9462F;
  --trait: #C9C7C0;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--beton);
  color: var(--encre);
  font-family: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.55;
}

a { color: var(--canard); text-underline-offset: 3px; }
a:hover { color: var(--canard-fonce); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--brique); outline-offset: 3px; }

.page {
  flex: 1;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 24px 56px;
}

/* ---------- Logo ---------- */
.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.09em;
  text-decoration: none;
  color: var(--encre);
  font-size: 120px;
}
.logo-mot { display: flex; align-items: stretch; line-height: 1; }
.logo-fis-g { width: 0.307em; height: 1em; }
.logo-fis-d { width: 0.159em; height: 1em; }
.logo-fis-g polyline, .logo-fis-g path, .logo-fis-d polyline { stroke: var(--encre); fill: none; stroke-linecap: round; stroke-linejoin: miter; }
.logo-texte {
  position: relative;
  font-weight: 600;
  letter-spacing: -0.025em;
  white-space: nowrap;
  color: var(--canard);
}
.logo-e { position: relative; }
.logo-accent { position: absolute; left: 36%; top: 0.22em; width: 0.1em; height: 0.14em; }
.logo-accent path { stroke: var(--canard); fill: none; }
.logo-fente { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.logo-fente polyline { stroke: var(--beton); fill: none; stroke-linejoin: miter; }
.logo-sa {
  font-size: 0.24em;
  font-weight: 600;
  letter-spacing: 0.34em;
  padding-left: 0.34em;
  text-transform: uppercase;
  line-height: 1.2;
}

/* ---------- Contenu ---------- */
.entete { text-align: center; }

.intro { text-align: center; margin-top: 56px; }

h1 {
  margin: 0 auto;
  max-width: 18em;
  font-size: clamp(28px, 4.2vw, 42px);
  line-height: 1.15;
  font-weight: 650;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.chapo {
  margin: 20px auto 0;
  max-width: 34em;
  color: var(--encre-2);
  text-wrap: pretty;
}

.actions { margin: 32px 0 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 24px;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  transition: background-color .15s ease, color .15s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-main { background: var(--canard); color: var(--beton-clair); }
.btn-main:hover { background: var(--canard-fonce); color: var(--beton-clair); }
.btn-second { border: 2px solid var(--encre); color: var(--encre); }
.btn-second:hover { background: var(--encre); color: var(--beton-clair); }

.fissure { display: block; width: 100%; height: 28px; margin: 64px 0 56px; }
.fissure polyline { stroke: var(--encre); stroke-width: 1.6; fill: none; stroke-linejoin: miter; stroke-linecap: round; }

.groupes { text-align: center; }
.surtitre {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brique);
}
h2 {
  margin: 0 auto;
  max-width: 20em;
  font-size: clamp(24px, 3.2vw, 32px);
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.groupes p.texte { margin: 16px auto 0; max-width: 34em; color: var(--encre-2); text-wrap: pretty; }

/* ---------- Pied de page ---------- */
.pied {
  border-top: 1px solid var(--trait);
  padding: 20px 24px 28px;
  text-align: center;
  font-size: 15px;
  color: var(--encre-2);
}
.pied a { color: var(--encre-2); }
.pied a:hover { color: var(--encre); }
.pied p { margin: 0; }

/* ---------- Mentions légales ---------- */
.legal { max-width: 680px; }
.legal .logo { font-size: 56px; }
.legal h1 { text-align: left; margin: 48px 0 8px; max-width: none; font-size: clamp(28px, 4vw, 36px); }
.legal h2 { text-align: left; margin: 36px 0 8px; max-width: none; font-size: 22px; }
.legal p { margin: 0 0 12px; color: var(--encre); }
.retour { margin-top: 40px; }

@media (max-width: 600px) {
  body { font-size: 17px; }
  .page { padding: 48px 16px 40px; }
  .logo { font-size: 68px; }
  .logo-fente polyline { stroke-width: 2; }
  .intro { margin-top: 40px; }
  .actions .btn { width: 100%; }
  .fissure { margin: 48px 0 40px; }
  .legal .logo { font-size: 44px; }
}
