/* ==========================================================================
   EazySet — Design system « premium clair » (porté de la v1)
   Aucun fond sombre. CSS autonome : aucun build requis au runtime.
   ========================================================================== */

/* ----- Fonts self-hosted (RGPD, pas de CDN) ------------------------------ */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
  font-style: normal;
}

/* ----- Tokens ------------------------------------------------------------ */
:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --surface-2: #f1eee8;
  --ink: #23262a;
  --muted: #6b7280;
  --line: #e6e1d8;
  --teal: #12a594;
  --teal-deep: #0e7c6e;
  --gold: #b08d3f;

  --accent: var(--teal-deep);
  --accent-soft: rgba(18, 165, 148, 0.1);

  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 20px;
  --radius-lg: 28px;
  --radius-sm: 16px;
  --shadow-soft: 0 2px 8px rgba(35, 38, 42, 0.04), 0 12px 32px rgba(35, 38, 42, 0.06);
  --shadow-lg: 0 4px 16px rgba(35, 38, 42, 0.05), 0 24px 60px rgba(35, 38, 42, 0.08);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1200px;
}

/* Ambiance par cible (posée sur <body data-audience>) */
body[data-audience="agences"] {
  --accent: var(--teal-deep);
  --accent-soft: rgba(18, 165, 148, 0.1);
}
body[data-audience="multi"] {
  --accent: var(--gold);
  --accent-soft: rgba(176, 141, 63, 0.12);
}

/* ----- Reset léger ------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* Lenis : ne PAS combiner avec scroll-behavior:smooth (source de saccades). */
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
.lenis.lenis-smooth iframe {
  pointer-events: none;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: pointer;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0;
  color: var(--ink);
}
p {
  margin: 0;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Grain papier ≤ 3 % */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.ez-page {
  position: relative;
  z-index: 1;
}

/* ----- Utilitaires ------------------------------------------------------- */
.ez-container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 768px) {
  .ez-container {
    padding-inline: 2rem;
  }
}
.ez-section {
  padding-block: 5rem;
  position: relative;
}
@media (min-width: 768px) {
  .ez-section {
    padding-block: 7rem;
  }
}
.ez-section--bg {
  background: var(--bg);
}
.ez-section--surface {
  background: var(--surface);
}
.ez-section--surface2 {
  background: var(--surface-2);
}
.ez-grad-ivory {
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%);
}
.ez-gold-rule {
  height: 1px;
  border: 0;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: 0.5;
}
.ez-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.ez-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.ez-heading {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  text-wrap: balance;
}
.ez-lead {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.65;
}
.ez-section-head {
  max-width: 42rem;
}
.ez-section-head--center {
  margin-inline: auto;
  text-align: center;
}
.ez-muted {
  color: var(--muted);
}
.ez-accent {
  color: var(--accent);
}

/* ----- Boutons ----------------------------------------------------------- */
.ez-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.85rem 1.6rem;
  border: 1px solid transparent;
  transition: all 0.3s var(--ease);
  text-align: center;
}
.ez-btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-soft);
}
.ez-btn--primary:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.ez-btn--secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}
.ez-btn--secondary:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.ez-btn--ghost {
  color: var(--ink);
}
.ez-btn--ghost:hover {
  color: var(--accent);
}
.ez-btn--block {
  width: 100%;
}
.ez-btn--lg {
  padding: 1rem 1.9rem;
  font-size: 1rem;
}

/* ----- Header ------------------------------------------------------------ */
.ez-header {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: all 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.ez-header.is-scrolled {
  background: rgba(251, 250, 247, 0.82);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.ez-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
  transition: padding 0.3s var(--ease);
}
.ez-header.is-scrolled .ez-header__inner {
  padding-block: 0.6rem;
}
.ez-logo {
  display: inline-flex;
  align-items: center;
}
.ez-logo img {
  height: 38px;
  width: auto;
}
.ez-nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}
.ez-nav a {
  font-size: 0.9rem;
  color: var(--muted);
  transition: color 0.2s;
}
.ez-nav a:hover {
  color: var(--ink);
}
.ez-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.ez-switch {
  display: none;
  align-items: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  padding: 3px;
}
.ez-switch a {
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 999px;
  color: var(--muted);
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}
.ez-switch a.is-active {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-soft);
}
.ez-burger {
  display: grid;
  place-items: center;
  height: 42px;
  width: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.ez-burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: all 0.3s var(--ease);
}
.ez-burger span::before,
.ez-burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: all 0.3s var(--ease);
}
.ez-burger span::before {
  top: -6px;
}
.ez-burger span::after {
  top: 6px;
}
.ez-mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: rgba(251, 250, 247, 0.97);
  backdrop-filter: blur(12px);
}
.ez-mobile-menu.is-open {
  display: block;
}
.ez-mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-block: 1rem;
}
.ez-mobile-menu a {
  padding: 0.7rem 0.5rem;
  border-radius: 12px;
  color: var(--ink);
  font-size: 0.95rem;
}
.ez-mobile-menu a:hover {
  background: var(--surface-2);
}
@media (min-width: 1024px) {
  .ez-nav {
    display: flex;
  }
  .ez-burger {
    display: none;
  }
}
@media (min-width: 640px) {
  .ez-switch {
    display: inline-flex;
  }
}

/* ----- Réassurance strip ------------------------------------------------- */
.ez-reassurance {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.ez-reassurance li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.ez-reassurance svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex: none;
}
.ez-reassurance--center {
  justify-content: center;
}

/* ----- Front-page : panneaux de sélection -------------------------------- */
.ez-select {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.ez-select__intro {
  text-align: center;
  max-width: 42rem;
  margin: 3.5rem auto 0;
}
.ez-select__title {
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  margin-top: 0.75rem;
}
.ez-panels {
  display: grid;
  gap: 1.25rem;
  margin: 3rem auto 0;
  width: 100%;
  max-width: 64rem;
}
@media (min-width: 768px) {
  .ez-panels {
    grid-template-columns: 1fr 1fr;
  }
}
.ez-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 420px;
  padding: 2.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease),
    filter 0.5s var(--ease), opacity 0.5s var(--ease);
}
@media (min-width: 768px) {
  .ez-panel {
    padding: 2.75rem;
  }
}
.ez-panel:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px) scale(1.012);
}
.ez-panels:hover .ez-panel:not(:hover) {
  opacity: 0.72;
  filter: saturate(0.7);
}
.ez-panel[data-audience="agences"] {
  --accent: var(--teal-deep);
  --accent-soft: rgba(18, 165, 148, 0.1);
}
.ez-panel[data-audience="multi"] {
  --accent: var(--gold);
  --accent-soft: rgba(176, 141, 63, 0.12);
}
.ez-panel__halo {
  position: absolute;
  right: -6rem;
  top: -6rem;
  width: 16rem;
  height: 16rem;
  border-radius: 999px;
  background: var(--accent-soft);
  filter: blur(48px);
  opacity: 0.6;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.ez-panel:hover .ez-panel__halo {
  opacity: 1;
}
.ez-panel__title {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  margin-top: 1.5rem;
}
.ez-panel__desc {
  margin-top: 1rem;
  color: var(--muted);
  max-width: 24rem;
}
.ez-panel__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  color: var(--accent);
  font-weight: 500;
}
.ez-panel__cta svg {
  transition: transform 0.3s var(--ease);
}
.ez-panel:hover .ez-panel__cta svg {
  transform: translateX(4px);
}

/* ----- Hero -------------------------------------------------------------- */
.ez-hero {
  position: relative;
  overflow: hidden;
  padding-top: 4rem;
}
@media (min-width: 768px) {
  .ez-hero {
    padding-top: 6rem;
  }
}
.ez-hero__grid {
  display: grid;
  gap: 3rem;
  padding-bottom: 5rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .ez-hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4rem;
  }
}
.ez-hero__title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.05;
  margin-top: 1.25rem;
  text-wrap: balance;
}
.ez-hero__sub {
  margin-top: 1.5rem;
  max-width: 34rem;
}
.ez-hero__actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ----- Dashboard mock ---------------------------------------------------- */
.ez-dash {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}
.ez-dash__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.ez-dash__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.72rem;
  color: var(--muted);
}
.ez-dash__pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}
.ez-dash__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  margin-bottom: 0.6rem;
}
.ez-dash__row .info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}
.ez-dash__ico {
  display: grid;
  place-items: center;
  height: 36px;
  width: 36px;
  border-radius: 12px;
  background: var(--surface);
  color: var(--accent);
  flex: none;
}
.ez-dash__ico svg {
  width: 18px;
  height: 18px;
}
.ez-dash__name {
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ez-dash__meta {
  font-size: 0.75rem;
  color: var(--muted);
}
.ez-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 500;
  white-space: nowrap;
}
.ez-badge svg {
  width: 14px;
  height: 14px;
}
.ez-badge--ok {
  background: var(--accent-soft);
  color: var(--accent);
}
.ez-badge--warn {
  background: #fef3c7;
  color: #b45309;
}
.ez-dash__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  border-radius: var(--radius);
  background: var(--accent-soft);
  padding: 0.75rem 1rem;
  margin-top: 1.25rem;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 500;
}
.pulse {
  animation: ez-pulse 1.8s ease-in-out infinite;
}
@keyframes ez-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}

/* ----- Grilles de cartes (services / steps / why) ------------------------ */
.ez-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 3rem;
}
.ez-grid--2 {
  grid-template-columns: 1fr;
}
.ez-grid--4 {
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .ez-grid--2,
  .ez-grid--4 {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1024px) {
  .ez-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}
.ez-card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-soft);
}
.ez-card--bg {
  background: var(--bg);
}
.ez-card__ico {
  display: grid;
  place-items: center;
  height: 48px;
  width: 48px;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--accent);
}
.ez-card__ico svg {
  width: 22px;
  height: 22px;
}
.ez-card h3 {
  font-size: 1.15rem;
  margin-top: 1rem;
}
.ez-card p {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}
.ez-step__num {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--accent);
}

/* ----- Problème → solution ---------------------------------------------- */
.ez-ps {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (min-width: 1024px) {
  .ez-ps {
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
  }
}
.ez-ps__col {
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.ez-ps__col--after {
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.ez-ps__label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.ez-ps__col--after .ez-ps__label {
  color: var(--accent);
}
.ez-ps__badge {
  display: grid;
  place-items: center;
  height: 24px;
  width: 24px;
  border-radius: 999px;
}
.ez-ps__badge--warn {
  background: #fef3c7;
  color: #b45309;
}
.ez-ps__badge--ok {
  background: var(--accent-soft);
  color: var(--accent);
}
.ez-ps__badge svg {
  width: 14px;
  height: 14px;
}
.ez-ps__item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1rem;
  background: var(--surface);
}
.ez-ps__col--after .ez-ps__item {
  background: var(--bg);
}
.ez-ps__item strong {
  display: block;
  color: var(--ink);
}
.ez-ps__item span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.ez-ps__col--after .ez-ps__item span {
  color: var(--teal-deep);
}
.ez-ps__arrow {
  display: none;
}
@media (min-width: 1024px) {
  .ez-ps__arrow {
    display: grid;
    place-items: center;
  }
  .ez-ps__arrow span {
    display: grid;
    place-items: center;
    height: 48px;
    width: 48px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--accent);
    box-shadow: var(--shadow-soft);
  }
}

/* ----- Bande de stats ---------------------------------------------------- */
.ez-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 3rem;
}
@media (min-width: 900px) {
  .ez-stats {
    grid-template-columns: repeat(var(--cols, 4), 1fr);
  }
}
.ez-stat {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.6rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.ez-stat b {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  color: var(--accent);
}
.ez-stat span {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.ez-note {
  margin-top: 1.25rem;
  text-align: center;
  font-size: 0.78rem;
  font-style: italic;
  color: var(--muted);
}

/* ----- RSE --------------------------------------------------------------- */
.ez-rse {
  display: grid;
  gap: 1.25rem;
  margin-top: 3rem;
}
@media (min-width: 768px) {
  .ez-rse {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ----- FAQ --------------------------------------------------------------- */
.ez-faq {
  max-width: 48rem;
  margin: 3rem auto 0;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding-inline: 0.5rem;
}
.ez-faq__item {
  border-top: 1px solid var(--line);
  padding-inline: 1rem;
}
.ez-faq__item:first-child {
  border-top: 0;
}
.ez-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  background: none;
  border: 0;
  padding: 1.25rem 0;
  text-align: left;
  font-weight: 500;
  color: var(--ink);
  font-size: 1rem;
}
.ez-faq__icon {
  display: grid;
  place-items: center;
  height: 32px;
  width: 32px;
  flex: none;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--accent);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.ez-faq__item.is-open .ez-faq__icon {
  transform: rotate(45deg);
  background: var(--accent-soft);
}
.ez-faq__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s var(--ease);
}
.ez-faq__a p {
  padding: 0 3rem 1.25rem 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ----- CTA final --------------------------------------------------------- */
.ez-cta {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 4rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
@media (min-width: 768px) {
  .ez-cta {
    padding: 4rem;
  }
}
.ez-cta__halo {
  position: absolute;
  width: 18rem;
  height: 18rem;
  border-radius: 999px;
  background: var(--accent-soft);
  filter: blur(48px);
  opacity: 0.7;
  pointer-events: none;
}
.ez-cta__halo--1 {
  left: -6rem;
  top: -6rem;
}
.ez-cta__halo--2 {
  right: -6rem;
  bottom: -6rem;
}
.ez-cta__inner {
  position: relative;
}
.ez-cta h2 {
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  max-width: 34rem;
  margin-inline: auto;
  text-wrap: balance;
}

/* ----- Footer ------------------------------------------------------------ */
.ez-footer {
  margin-top: 6rem;
  border-top: 1px solid var(--line);
  background: var(--surface-2);
}
.ez-footer__grid {
  display: grid;
  gap: 2.5rem;
  padding-block: 3.5rem;
}
@media (min-width: 768px) {
  .ez-footer__grid {
    grid-template-columns: 1.4fr repeat(3, 1fr);
  }
}
.ez-footer h3 {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
}
.ez-footer ul {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.ez-footer a {
  font-size: 0.9rem;
  color: var(--muted);
}
.ez-footer a:hover {
  color: var(--accent);
}
.ez-footer__legal {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-top: 1px solid var(--line);
  padding-block: 1.5rem;
  font-size: 0.78rem;
  color: var(--muted);
}
@media (min-width: 640px) {
  .ez-footer__legal {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ----- Reveal (GSAP-driven, fallback statique) --------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
}
.ez-revealed [data-reveal],
.no-anim [data-reveal] {
  opacity: 1;
  transform: none;
}

/* ----- prefers-reduced-motion ------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ----- Focus visible ----------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ----- Helpers ----------------------------------------------------------- */
.ez-mt-2 {
  margin-top: 0.75rem;
}
.ez-mt-4 {
  margin-top: 1.5rem;
}
.ez-mt-6 {
  margin-top: 2.5rem;
}
.ez-center {
  text-align: center;
}
.ez-hide {
  display: none !important;
}
.ez-hide-mobile {
  display: none;
}
@media (min-width: 640px) {
  .ez-hide-mobile {
    display: inline-flex;
  }
}
