/* Distinction Esthétique Auto — Base / Reset
   Responsibility: box-model reset, body defaults, typographic scale,
   container widths, section spacing.
   Depends on: tokens.css (must be loaded before this file).
   No gradients. No soft box-shadows. Corners ≤ 2px.
*/

/* ── Box-model reset ──────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── Body defaults ────────────────────────────────────────────────── */
html {
  font-size: 100%; /* 16px base — rem references this */
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg-deep);
  color: var(--text-cream);
  font-family: var(--f-body);
  font-size: 17px;   /* bumped from 15px (+~13%) */
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100dvh;
}

/* ── Typographic scale ────────────────────────────────────────────── */
/*
  Display tier  — Antonio, uppercase, tight leading
  Title tier    — Antonio, uppercase
  Body tier     — Manrope
  Micro tier    — JetBrains Mono
*/

/* Display — 110px (hero headline) — bumped from 96px (+~15%) */
.t-d1 {
  font-family: var(--f-display);
  font-size: 110px;
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

/* Display — 76px (section opener) — bumped from 64px (+~19%) */
.t-d2 {
  font-family: var(--f-display);
  font-size: 76px;
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}

/* Display — 48px (sub-section / card headline) — bumped from 40px (+20%) */
.t-d3 {
  font-family: var(--f-display);
  font-size: 48px;
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}

/* Title — 33px — bumped from 28px (+~18%) */
.t-title-1 {
  font-family: var(--f-display);
  font-size: 33px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Title — 26px — bumped from 22px (+~18%) */
.t-title-2 {
  font-family: var(--f-display);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Body — 20px (lead / intro paragraph) — bumped from 18px (+11%) */
.t-body-lead {
  font-family: var(--f-body);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
}

/* Body — 17px (default running text) — bumped from 15px (+~13%) */
.t-body {
  font-family: var(--f-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
}

/* Body — 16px (secondary copy) — bumped from 14px (+~14%) */
.t-body-sm {
  font-family: var(--f-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
}

/* Micro — 12px (JetBrains Mono labels, eyebrows) — bumped from 11px */
.t-micro {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Micro — 12px (captions, metadata) — bumped from 11px */
.t-micro-sm {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ── Container widths ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: 80px;
}

.container--narrow {
  width: 100%;
  max-width: 960px;
  margin-inline: auto;
  padding-inline: 80px;
}

/* ── Section frame ────────────────────────────────────────────────── */
/* 96px vertical padding on desktop — bumped from 88px for Option B aéré feel */
.dea-section {
  padding: 96px 80px;
  position: relative;
}

.dea-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  gap: 40px;
}

/* ── Responsive — section frame ───────────────────────────────────── */
@media (max-width: 768px) {

  /* Fallback section padding — most sections define their own per-section
     mobile padding override; this catches any .dea-section that does not. */
  .dea-section {
    padding: 56px 24px;   /* bumped from 44px for Option B aéré feel */
  }

  /* Container widths — full-width on mobile with 24px gutters */
  .container,
  .container--narrow {
    padding-inline: 24px;
  }

  /* Section head — stack vertically on mobile */
  .dea-section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
  }

}

@media (max-width: 480px) {

  .dea-section {
    padding: 36px 20px;
  }

  .container,
  .container--narrow {
    padding-inline: 20px;
  }

}

/* ── Utility helpers ──────────────────────────────────────────────── */

/* Visually-hidden utility — accessible to screen readers, invisible on screen.
   Defined here so every page that loads base.css can use it (not just the funnel). */
.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;
}

/* Inline body links — couleur brand par défaut (au lieu d'hériter en cream).
   Les boutons (.dea-btn) ont leur propre style et ne sont pas affectés.
   Les liens de nav (.site-nav__link), du logo (.site-logo), du footer (.site-footer__links a),
   et du tunnel ont leurs styles spécifiques qui surchargent ce reset. */
main a,
.elementor a,
.entry-content a {
  color: var(--c-link);
  text-decoration: none;
  transition: color .18s var(--ease), opacity .18s var(--ease);
}
main a:hover,
.elementor a:hover,
.entry-content a:hover {
  color: var(--gold-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
/* Les CTAs (.dea-btn) gardent leur fond plein — exclure du reset */
main a.dea-btn,
.elementor a.dea-btn,
.entry-content a.dea-btn {
  color: var(--text-ink);
  text-decoration: none;
}
main a.dea-btn:hover,
.elementor a.dea-btn:hover,
.entry-content a.dea-btn:hover {
  text-decoration: none;
}
main a.dea-btn-ghost,
.elementor a.dea-btn-ghost,
.entry-content a.dea-btn-ghost {
  color: var(--text-cream);
}
/* Sur fond cream : la couleur du lien doit utiliser --c-link-ink (WCAG safe) */
.bg-cream a, .services a, .conditions a, .politique a {
  color: var(--c-link-ink);
}

/* Global keyboard-focus baseline — every interactive element shows a visible
   focus ring for keyboard users (WCAG 2.4.7 AA). */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Decorative serial / editorial number ribbon */
.dea-serial {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.16em;
}

