@charset "UTF-8";
/* ═══════════════════════════════════════════════════════════
   03 — MISE EN PAGE
   Structure des sections, en-tête, menu, pied de page, décors.
   ═══════════════════════════════════════════════════════════ */

/* ── Sections ───────────────────────────────────────────── */
section { position: relative; }

.section { padding-block: var(--section-y); }

.section--alt {
  background: var(--bg-alt);
  box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line);
}

/* En-tête de section */
.head { max-width: 720px; margin-bottom: clamp(48px, 6vw, 82px); }
.head--center { margin-inline: auto; text-align: center; }
.head--center .eyebrow { justify-content: center; }
.head__lead {
  margin-top: 24px;
  font-size: var(--fs-lead);
  color: var(--gray-600);
  line-height: 1.66;
  max-width: 60ch;
}
.head--center .head__lead { margin-inline: auto; }
.head__lead a {
  color: var(--accent-text);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(194,70,8,.35);
  transition: text-decoration-color var(--t) var(--ease);
}
.head__lead a:hover { text-decoration-color: var(--accent); }


/* ══ EN-TÊTE ════════════════════════════════════════════ */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-header);
  padding-block: 16px;
  transition: padding var(--t) var(--ease), background var(--t) var(--ease),
              box-shadow var(--t) var(--ease), translate .5s var(--ease);
}
.header::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,.72);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  box-shadow: 0 1px 0 var(--line);
  opacity: 0;
  transition: opacity var(--t) var(--ease);
  pointer-events: none;
}
.header.is-stuck { padding-block: 10px; }
.header.is-stuck::before { opacity: 1; }
.header.is-hidden { translate: 0 -110%; }

.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Marque */
.brand { display: flex; align-items: center; flex: none; }
.brand__full { height: 34px; width: auto; transition: height var(--t) var(--ease); }
.brand__icon { height: 32px; width: auto; display: none; }
.header.is-stuck .brand__full { height: 30px; }

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  position: absolute;
  left: 50%;
  translate: -50% 0;
}
.nav__link {
  position: relative;
  padding: 9px 15px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--gray-700);
  border-radius: 99px;
  transition: color var(--t) var(--ease);
}
.nav__link::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: var(--gray-100);
  opacity: 0;
  scale: .88;
  transition: opacity var(--t) var(--ease), scale var(--t) var(--ease);
}
.nav__link span { position: relative; }
.nav__link:hover { color: var(--ink); }
.nav__link:hover::before { opacity: 1; scale: 1; }
.nav__link.is-active { color: var(--ink); }
.nav__link.is-active::after {
  content: '';
  position: absolute;
  left: 15px; right: 15px; bottom: 2px;
  height: 1.5px;
  border-radius: 99px;
  background: var(--accent);
}

.header__actions { display: flex; align-items: center; gap: 10px; flex: none; }

/* Bouton hamburger */
.burger {
  display: none;
  position: relative;
  width: 42px; height: 42px;
  border-radius: 12px;
  box-shadow: var(--hairline);
  background: var(--bg);
}
.burger i {
  position: absolute;
  left: 12px;
  width: 18px; height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: translate var(--t) var(--ease), rotate var(--t) var(--ease), width var(--t) var(--ease);
}
.burger i:nth-child(1) { top: 17px; }
.burger i:nth-child(2) { top: 23px; width: 12px; }
.burger[aria-expanded="true"] i:nth-child(1) { translate: 0 3px; rotate: 45deg; }
.burger[aria-expanded="true"] i:nth-child(2) { translate: 0 -3px; rotate: -45deg; width: 18px; }


/* ══ MENU PLEIN ÉCRAN (mobile) ══════════════════════════ */
.drawer {
  position: fixed;
  inset: 0;
  z-index: var(--z-drawer);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  /* Marges auto plutôt que `justify-content: center` : le bloc
     reste centré quand il y a la place, et défile normalement
     depuis le haut quand l'écran est trop court (petits
     téléphones en paysage) au lieu d'être rogné. */
  justify-content: flex-start;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 110px var(--shell-pad) 40px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .62s var(--ease-out);
  visibility: hidden;
}
.drawer.is-open { clip-path: inset(0 0 0 0); visibility: visible; }

.drawer__nav { display: flex; flex-direction: column; margin-top: auto; }
.drawer__nav a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 18px 0;
  box-shadow: 0 1px 0 var(--line);
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 8vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -.035em;
  color: var(--ink);
  opacity: 0;
  translate: 0 26px;
  transition: opacity .5s var(--ease-out), translate .5s var(--ease-out), color var(--t) var(--ease);
}
.drawer.is-open .drawer__nav a { opacity: 1; translate: 0 0; }
.drawer.is-open .drawer__nav a:nth-child(1) { transition-delay: .16s; }
.drawer.is-open .drawer__nav a:nth-child(2) { transition-delay: .22s; }
.drawer.is-open .drawer__nav a:nth-child(3) { transition-delay: .28s; }
.drawer.is-open .drawer__nav a:nth-child(4) { transition-delay: .34s; }
.drawer.is-open .drawer__nav a:nth-child(5) { transition-delay: .40s; }
.drawer.is-open .drawer__nav a:nth-child(6) { transition-delay: .46s; }
.drawer__nav a:active { color: var(--accent-text); }
.drawer__nav em {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  font-style: normal;
  color: var(--gray-500);
  letter-spacing: .1em;
}

.drawer__foot {
  margin-top: 42px;
  margin-bottom: auto;
  opacity: 0;
  translate: 0 18px;
  transition: opacity .5s var(--ease-out) .52s, translate .5s var(--ease-out) .52s;
}
.drawer.is-open .drawer__foot { opacity: 1; translate: 0 0; }
.drawer__mail {
  display: block;
  margin-top: 20px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--gray-600);
}

body.is-locked { overflow: hidden; }


/* ══ DÉCORS ═════════════════════════════════════════════ */

/* Grille technique en fond */
.grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 76px 76px;
  -webkit-mask-image: radial-gradient(ellipse 78% 62% at 50% 34%, #000 12%, transparent 78%);
  mask-image: radial-gradient(ellipse 78% 62% at 50% 34%, #000 12%, transparent 78%);
  opacity: .85;
}
.grid-lines--dark {
  background-image:
    linear-gradient(to right, rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.07) 1px, transparent 1px);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 0%, transparent 72%);
}

/* Halos colorés très diffus */
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  will-change: translate, scale;
}
.glow--a {
  width: 46vw; height: 46vw;
  max-width: 620px; max-height: 620px;
  top: -14vw; right: -10vw;
  background: radial-gradient(circle, rgba(255,107,26,.16), transparent 68%);
  animation: drift-a 22s var(--ease-io) infinite alternate;
}
.glow--b {
  width: 40vw; height: 40vw;
  max-width: 540px; max-height: 540px;
  top: 22vw; left: -14vw;
  background: radial-gradient(circle, rgba(90,120,255,.10), transparent 68%);
  animation: drift-b 26s var(--ease-io) infinite alternate;
}


/* ══ PIED DE PAGE ═══════════════════════════════════════ */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,.62);
  padding-block: clamp(56px, 7vw, 88px) 32px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.7fr repeat(3, 1fr);
  gap: clamp(32px, 5vw, 64px);
  padding-bottom: 48px;
  box-shadow: 0 1px 0 var(--line-light);
}
.footer__brand img { height: 32px; width: auto; }
.footer__brand p {
  margin-top: 20px;
  max-width: 38ch;
  font-size: var(--fs-sm);
  line-height: 1.68;
  color: rgba(255,255,255,.52);
}
.footer__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding-bottom: 3px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.28);
  transition: box-shadow var(--t) var(--ease), gap var(--t) var(--ease);
}
.footer__cta:hover { box-shadow: 0 1px 0 var(--accent); gap: 12px; }

.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.footer__col p {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.58);
  margin-bottom: 3px;
}
.footer__col a {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.62);
  transition: color var(--t) var(--ease), translate var(--t) var(--ease);
}
.footer__col a:hover { color: #fff; translate: 3px 0; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 28px;
  color: rgba(255,255,255,.55);
}
