/* ==========================================================================
   EZDent — Page d'accueil (landing one-page)
   Feuille de style autonome : aucune dépendance à un framework CSS.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Jetons de design
   -------------------------------------------------------------------------- */

:root {
  /* Palette : bleu clinique profond + menthe, neutres chauds */
  --ez-primary-900: #05303c;
  --ez-primary-800: #084253;
  --ez-primary-700: #0b5a70;
  --ez-primary-600: #0d7490;
  --ez-primary-500: #109ec2;
  --ez-primary-100: #d7f1f8;
  --ez-primary-50: #eef9fc;

  --ez-accent-600: #0f9b74;
  --ez-accent-500: #14b98b;
  --ez-accent-100: #d5f6ec;

  --ez-ink-900: #0c1b21;
  --ez-ink-700: #2b3c44;
  --ez-ink-500: #5a6b73;
  --ez-ink-300: #93a1a8;

  --ez-surface: #ffffff;
  --ez-surface-alt: #f5fafb;
  --ez-surface-deep: #eef4f6;
  --ez-border: #dce7ea;

  /* Typographie fluide : s'adapte sans media query */
  --ez-font-sans: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ez-step--1: clamp(0.84rem, 0.8rem + 0.2vw, 0.94rem);
  --ez-step-0: clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  --ez-step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --ez-step-2: clamp(1.5rem, 1.32rem + 0.9vw, 2rem);
  --ez-step-3: clamp(1.9rem, 1.6rem + 1.5vw, 2.85rem);
  --ez-step-4: clamp(2.4rem, 1.85rem + 2.7vw, 4.1rem);

  --ez-radius-sm: 10px;
  --ez-radius: 18px;
  --ez-radius-lg: 28px;
  --ez-radius-pill: 999px;

  --ez-shadow-sm: 0 2px 8px rgba(8, 66, 83, 0.06);
  --ez-shadow: 0 12px 32px -12px rgba(8, 66, 83, 0.18);
  --ez-shadow-lg: 0 32px 64px -24px rgba(8, 66, 83, 0.28);

  --ez-shell: min(1180px, 100% - 2.5rem);
  --ez-section-y: clamp(4rem, 3rem + 5vw, 7.5rem);
  --ez-nav-h: 76px;

  --ez-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* La nav collante ne doit pas recouvrir la section ciblée par une ancre. */
  scroll-padding-top: calc(var(--ez-nav-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body.ez-landing {
  margin: 0;
  font-family: var(--ez-font-sans);
  font-size: var(--ez-step-0);
  line-height: 1.65;
  color: var(--ez-ink-700);
  background: var(--ez-surface);
  overflow-x: hidden;
}

.ez-landing h1,
.ez-landing h2,
.ez-landing h3,
.ez-landing h4 {
  margin: 0 0 0.6em;
  color: var(--ez-primary-900);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.ez-landing p { margin: 0 0 1rem; }

/* La couleur par défaut ne vise que les liens « nus » : sans le :not([class]),
   `.ez-landing a` (0-1-1) l'emporterait sur `.ez-btn--primary` (0-1-0) et le
   texte des boutons-liens deviendrait invisible sur son propre fond. */
.ez-landing a { text-decoration: none; }
.ez-landing a:not([class]) { color: var(--ez-primary-600); }
.ez-landing a:not([class]):hover { color: var(--ez-primary-800); }
.ez-landing img { max-width: 100%; height: auto; display: block; }
.ez-landing ul { margin: 0; padding: 0; list-style: none; }

/* Accessibilité : cible de focus toujours visible */
.ez-landing :focus-visible {
  outline: 3px solid var(--ez-primary-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.ez-shell {
  width: var(--ez-shell);
  margin-inline: auto;
}

.ez-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 0.85rem 1.4rem;
  background: var(--ez-primary-800);
  color: #fff;
  border-radius: 0 0 var(--ez-radius-sm) 0;
}
.ez-skip-link:focus { left: 0; color: #fff; }

/* --------------------------------------------------------------------------
   3. Éléments réutilisables
   -------------------------------------------------------------------------- */

.ez-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.95rem;
  margin-bottom: 1.1rem;
  border-radius: var(--ez-radius-pill);
  background: var(--ez-primary-100);
  color: var(--ez-primary-700);
  font-size: var(--ez-step--1);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ez-eyebrow--light { background: rgba(255, 255, 255, 0.14); color: #d8f3fa; }

.ez-section { padding-block: var(--ez-section-y); }
.ez-section--alt { background: var(--ez-surface-alt); }
.ez-section--deep {
  background: linear-gradient(160deg, var(--ez-primary-900), var(--ez-primary-700));
  color: #d5e9ef;
}
.ez-section--deep h2,
.ez-section--deep h3 { color: #fff; }

.ez-section-head {
  max-width: 42rem;
  margin: 0 auto clamp(2.5rem, 2rem + 2vw, 4rem);
  text-align: center;
}
.ez-section-head h2 { font-size: var(--ez-step-3); }
.ez-section-head p {
  font-size: var(--ez-step-1);
  color: var(--ez-ink-500);
  margin-bottom: 0;
}
.ez-section--deep .ez-section-head p { color: #a9cdd8; }

.ez-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  border: 2px solid transparent;
  border-radius: var(--ez-radius-pill);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: transform 0.25s var(--ez-ease), box-shadow 0.25s var(--ez-ease),
              background-color 0.25s var(--ez-ease), color 0.25s var(--ez-ease),
              border-color 0.25s var(--ez-ease);
}
.ez-btn:hover { transform: translateY(-2px); }
.ez-btn:active { transform: translateY(0); }

.ez-btn--primary {
  background: var(--ez-primary-600);
  border-color: var(--ez-primary-600);
  color: #fff;
  box-shadow: var(--ez-shadow);
}
.ez-btn--primary:hover {
  background: var(--ez-primary-700);
  border-color: var(--ez-primary-700);
  color: #fff;
  box-shadow: var(--ez-shadow-lg);
}

.ez-btn--accent {
  background: var(--ez-accent-500);
  border-color: var(--ez-accent-500);
  color: #04352a;
  box-shadow: var(--ez-shadow);
}
.ez-btn--accent:hover { background: var(--ez-accent-600); border-color: var(--ez-accent-600); color: #fff; }

.ez-btn--ghost {
  background: transparent;
  border-color: var(--ez-border);
  color: var(--ez-primary-800);
}
.ez-btn--ghost:hover { border-color: var(--ez-primary-600); color: var(--ez-primary-700); background: var(--ez-primary-50); }

.ez-btn--on-dark {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.ez-btn--on-dark:hover { background: #fff; color: var(--ez-primary-800); border-color: #fff; }

.ez-btn--sm { padding: 0.6rem 1.25rem; font-size: var(--ez-step--1); }

/* Carte générique */
.ez-card {
  position: relative;
  padding: clamp(1.5rem, 1.2rem + 1vw, 2.2rem);
  background: var(--ez-surface);
  border: 1px solid var(--ez-border);
  border-radius: var(--ez-radius);
  box-shadow: var(--ez-shadow-sm);
  transition: transform 0.35s var(--ez-ease), box-shadow 0.35s var(--ez-ease),
              border-color 0.35s var(--ez-ease);
}
.ez-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ez-shadow-lg);
  border-color: var(--ez-primary-100);
}

.ez-icon {
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  margin-bottom: 1.15rem;
  border-radius: 14px;
  background: var(--ez-primary-100);
  color: var(--ez-primary-700);
  font-size: 1.4rem;
}
.ez-icon--accent { background: var(--ez-accent-100); color: var(--ez-accent-600); }

/* --------------------------------------------------------------------------
   4. Barre de progression + navigation
   -------------------------------------------------------------------------- */

.ez-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 120;
  background: linear-gradient(90deg, var(--ez-primary-500), var(--ez-accent-500));
  transform: scaleX(0);
  transform-origin: 0 50%;
  will-change: transform;
}

.ez-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 110;
  height: var(--ez-nav-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s var(--ez-ease), border-color 0.3s var(--ez-ease),
              background-color 0.3s var(--ez-ease);
}
.ez-nav.is-stuck {
  border-bottom-color: var(--ez-border);
  box-shadow: 0 6px 24px -18px rgba(8, 66, 83, 0.5);
}

.ez-nav__inner {
  width: var(--ez-shell);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.ez-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  font-size: 1.12rem;
  color: var(--ez-primary-900);
  letter-spacing: -0.02em;
}
.ez-brand:hover { color: var(--ez-primary-700); }
.ez-brand__mark {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 12px;
  background: linear-gradient(150deg, var(--ez-primary-600), var(--ez-accent-500));
  color: #fff;
  font-size: 1.05rem;
  box-shadow: var(--ez-shadow-sm);
}

/* Une seule rangée : la marque à gauche, les liens au centre, les actions à
   droite. Sans ce conteneur flexible, liens et boutons s'empilaient en deux
   blocs, et les boutons débordaient de la barre de 76 px. */
.ez-nav__menu {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.ez-nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-inline: auto;
}
.ez-nav__link {
  position: relative;
  padding: 0.5rem 0.75rem;
  color: var(--ez-ink-700);
  font-size: var(--ez-step--1);
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s var(--ez-ease);
}
/* Un trait sous le lien plutôt qu'une pastille pleine : la section en cours
   se lit sans alourdir la barre. */
.ez-nav__link::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.2rem;
  height: 2px;
  border-radius: 2px;
  background: var(--ez-primary-600);
  transform: scaleX(0);
  transition: transform 0.25s var(--ez-ease);
}
.ez-nav__link:hover { color: var(--ez-primary-700); }
/* État actif piloté par le scrollspy */
.ez-nav__link.is-active { color: var(--ez-primary-800); }
.ez-nav__link.is-active::after { transform: scaleX(1); }

.ez-nav__actions { flex: 0 0 auto; display: flex; align-items: center; gap: 0.5rem; }
.ez-nav__actions .ez-btn { white-space: nowrap; }

.ez-nav__toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--ez-border);
  border-radius: 12px;
  background: #fff;
  color: var(--ez-primary-800);
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   5. Hero
   -------------------------------------------------------------------------- */

.ez-hero {
  position: relative;
  padding-top: calc(var(--ez-nav-h) + clamp(3rem, 2rem + 4vw, 6rem));
  padding-bottom: clamp(3.5rem, 2.5rem + 5vw, 7rem);
  overflow: hidden;
  background:
    radial-gradient(1100px 600px at 82% -12%, var(--ez-primary-100), transparent 62%),
    radial-gradient(760px 520px at -8% 8%, var(--ez-accent-100), transparent 58%),
    var(--ez-surface);
}

/* Formes décoratives animées, purement ornementales */
.ez-hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  pointer-events: none;
  animation: ez-float 14s ease-in-out infinite;
}
.ez-hero__blob--a { width: 26rem; height: 26rem; top: -6rem; right: -5rem; background: #9fdcec; }
.ez-hero__blob--b { width: 20rem; height: 20rem; bottom: -7rem; left: -6rem; background: #a8ecd6; animation-delay: -6s; }

@keyframes ez-float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, -26px, 0) scale(1.06); }
}

.ez-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}
/* Sans min-width:0, une piste `1fr` s'élargit au min-content de son contenu et
   déborde du conteneur sur petit écran. */
.ez-hero__grid > * { min-width: 0; }

.ez-hero h1 {
  font-size: var(--ez-step-4);
  margin-bottom: 1.1rem;
}
/* Surlignage animé du mot clé.
   Réalisé avec un dégradé de fond plutôt qu'un ::after positionné : le texte
   peut ainsi passer à la ligne sur petit écran (box-decoration-break: clone
   redessine la barre sur chaque ligne) sans imposer de largeur minimale. */
.ez-hero h1 .ez-underline {
  color: var(--ez-primary-600);
  background-image: linear-gradient(var(--ez-accent-100), var(--ez-accent-100));
  background-repeat: no-repeat;
  background-position: 0 0.82em;
  background-size: 0 0.26em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  animation: ez-underline 0.9s var(--ez-ease) 0.55s forwards;
}
@keyframes ez-underline { to { background-size: 100% 0.26em; } }

.ez-hero__lead {
  font-size: var(--ez-step-1);
  color: var(--ez-ink-500);
  max-width: 34rem;
  margin-bottom: 1.9rem;
}

.ez-hero__cta { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 2.2rem; }

.ez-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  font-size: var(--ez-step--1);
  color: var(--ez-ink-500);
  font-weight: 600;
}
.ez-hero__trust li { display: inline-flex; align-items: center; gap: 0.5rem; }
.ez-hero__trust i { color: var(--ez-accent-600); }

/* Visuel : Dento à gauche, le panneau à droite. Les deux sont alignés sur
   leur base, la mascotte mordant légèrement sur le panneau pour que
   l'ensemble se lise comme une seule illustration et non deux blocs. */
.ez-hero__visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}
.ez-hero__mascot {
  flex: 0 0 auto;
  width: clamp(9rem, 5rem + 6vw, 12.5rem);
  /* Elle déborde à gauche dans l'espace entre les deux colonnes (la grille
     en réserve 2 à 4,5 rem) et mord à droite sur le panneau : au total, elle
     ne prend au panneau qu'une fraction de sa largeur, et ses lignes
     tiennent sur une ligne jusqu'aux écrans d'ordinateur portable, y
     compris avec la police de la page, plus large que celle de secours. */
  margin-left: -3rem;
  margin-right: -2.2rem;
  margin-bottom: -0.6rem;
  position: relative;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 14px 18px rgba(12, 58, 72, 0.22));
}
.ez-hero__mascot img {
  display: block;
  width: 100%;
  height: auto;
}
.ez-hero__panel { flex: 1 1 auto; }

.ez-hero__panel {
  position: relative;
  padding: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem);
  border-radius: var(--ez-radius-lg);
  background: linear-gradient(155deg, var(--ez-primary-800), var(--ez-primary-600));
  color: #e4f4f9;
  box-shadow: var(--ez-shadow-lg);
  overflow: hidden;
}
.ez-hero__panel::after {
  content: "";
  position: absolute;
  inset: auto -30% -55% auto;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}
.ez-hero__panel h2 {
  color: #fff;
  font-size: var(--ez-step-1);
  margin-bottom: 1.25rem;
}
.ez-hero__slotgrid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-bottom: 1.4rem;
}
.ez-hero__slot {
  padding: 0.65rem 0.4rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  text-align: center;
  font-size: var(--ez-step--1);
  font-weight: 700;
  color: #fff;
}
.ez-hero__slot.is-taken {
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.38);
  text-decoration: line-through;
  border-color: rgba(255, 255, 255, 0.08);
}
.ez-hero__slot.is-free { background: var(--ez-accent-500); color: #04352a; border-color: var(--ez-accent-500); }

.ez-floatcard {
  position: absolute;
  z-index: 2; /* au-dessus du panneau du héros */
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1.1rem;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--ez-shadow);
  font-size: var(--ez-step--1);
  font-weight: 700;
  color: var(--ez-primary-900);
  animation: ez-bob 6s ease-in-out infinite;
}
.ez-floatcard i { color: var(--ez-accent-600); font-size: 1.1rem; }
.ez-floatcard small { display: block; font-weight: 500; color: var(--ez-ink-500); }
/* Décalée au-dessus du panneau pour ne pas recouvrir son titre. */
.ez-floatcard--tl { top: -2.9rem; left: -1.6rem; }
.ez-floatcard--br { bottom: -1.6rem; right: -1.2rem; animation-delay: -3s; }

@keyframes ez-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.ez-scrollcue {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin-top: clamp(2.5rem, 2rem + 2vw, 4rem);
  font-size: var(--ez-step--1);
  font-weight: 600;
  color: var(--ez-ink-300);
}
.ez-scrollcue i { animation: ez-nudge 1.8s ease-in-out infinite; }
@keyframes ez-nudge {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(6px); opacity: 1; }
}

/* --------------------------------------------------------------------------
   6. Bandeau de statistiques
   -------------------------------------------------------------------------- */

.ez-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--ez-border);
  border: 1px solid var(--ez-border);
  border-radius: var(--ez-radius);
  overflow: hidden;
  box-shadow: var(--ez-shadow);
}
.ez-stat { padding: clamp(1.4rem, 1.1rem + 1vw, 2.1rem) 1rem; background: #fff; text-align: center; }
.ez-stat__value {
  display: block;
  font-size: var(--ez-step-3);
  font-weight: 800;
  color: var(--ez-primary-700);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.ez-stat__label { font-size: var(--ez-step--1); color: var(--ez-ink-500); font-weight: 600; }

/* --------------------------------------------------------------------------
   7. Services
   -------------------------------------------------------------------------- */

.ez-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: clamp(1rem, 0.8rem + 0.8vw, 1.75rem);
}

.ez-service { display: flex; flex-direction: column; }
.ez-service__cat {
  align-self: flex-start;
  margin-bottom: 0.8rem;
  padding: 0.25rem 0.7rem;
  border-radius: var(--ez-radius-pill);
  background: var(--ez-surface-deep);
  color: var(--ez-primary-700);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.ez-service h3 { font-size: var(--ez-step-1); margin-bottom: 0.5rem; }
.ez-service p { color: var(--ez-ink-500); font-size: var(--ez-step--1); flex: 1; }
.ez-service__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.2rem;
  padding-top: 1.1rem;
  border-top: 1px dashed var(--ez-border);
  font-size: var(--ez-step--1);
  color: var(--ez-ink-500);
  font-weight: 600;
}
.ez-service__price { color: var(--ez-primary-800); font-weight: 800; font-size: var(--ez-step-0); }

/* --------------------------------------------------------------------------
   8. Atouts
   -------------------------------------------------------------------------- */

.ez-split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 1.2rem + 3.5vw, 4.5rem);
  align-items: center;
}
.ez-feature { display: flex; gap: 1.1rem; }
.ez-feature + .ez-feature { margin-top: 1.75rem; }
.ez-feature__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  background: var(--ez-primary-100);
  color: var(--ez-primary-700);
}
.ez-feature h3 { font-size: var(--ez-step-1); margin-bottom: 0.3rem; }
.ez-feature p { color: var(--ez-ink-500); margin: 0; font-size: var(--ez-step--1); }

/* --------------------------------------------------------------------------
   9. Parcours patient
   -------------------------------------------------------------------------- */

.ez-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: clamp(1.2rem, 1rem + 1vw, 2rem);
  counter-reset: ez-step;
}
.ez-step { position: relative; padding-top: 3.6rem; }
.ez-step::before {
  counter-increment: ez-step;
  content: counter(ez-step, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-weight: 800;
  font-size: var(--ez-step--1);
}
/* Trait de liaison entre les étapes (masqué sur la dernière et en mobile) */
.ez-step::after {
  content: "";
  position: absolute;
  top: 1.35rem;
  left: 3.2rem;
  right: -1rem;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.35) 0 6px, transparent 6px 12px);
}
.ez-step:last-child::after { display: none; }
.ez-step h3 { font-size: var(--ez-step-1); }
.ez-step p { color: #a9cdd8; margin: 0; font-size: var(--ez-step--1); }

/* --------------------------------------------------------------------------
   10. Équipe & témoignages
   -------------------------------------------------------------------------- */

.ez-person { text-align: center; }
.ez-person__avatar {
  width: 6.5rem;
  height: 6.5rem;
  margin: 0 auto 1.1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--ez-primary-600), var(--ez-accent-500));
  color: #fff;
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  box-shadow: var(--ez-shadow);
}
.ez-person h3 { font-size: var(--ez-step-1); margin-bottom: 0.15rem; }
.ez-person__role { color: var(--ez-primary-600); font-weight: 700; font-size: var(--ez-step--1); }
.ez-person p { color: var(--ez-ink-500); font-size: var(--ez-step--1); margin-top: 0.7rem; margin-bottom: 0; }

.ez-quote { display: flex; flex-direction: column; }
.ez-quote__stars { color: #f5a623; margin-bottom: 0.9rem; letter-spacing: 0.15em; }
.ez-quote blockquote {
  margin: 0 0 1.4rem;
  font-size: var(--ez-step-0);
  color: var(--ez-ink-700);
  flex: 1;
}
.ez-quote blockquote::before { content: "\201C"; }
.ez-quote blockquote::after { content: "\201D"; }
.ez-quote__author { display: flex; align-items: center; gap: 0.8rem; }
.ez-quote__initials {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--ez-primary-100);
  color: var(--ez-primary-800);
  font-weight: 800;
  font-size: var(--ez-step--1);
}
.ez-quote__name { font-weight: 700; color: var(--ez-primary-900); font-size: var(--ez-step--1); }
.ez-quote__meta { font-size: 0.8rem; color: var(--ez-ink-300); }

/* --------------------------------------------------------------------------
   11. FAQ
   -------------------------------------------------------------------------- */

.ez-faq { max-width: 48rem; margin-inline: auto; }
.ez-faq__item {
  background: #fff;
  border: 1px solid var(--ez-border);
  border-radius: var(--ez-radius);
  margin-bottom: 0.85rem;
  overflow: hidden;
  transition: border-color 0.3s var(--ez-ease), box-shadow 0.3s var(--ez-ease);
}
.ez-faq__item[open] { border-color: var(--ez-primary-100); box-shadow: var(--ez-shadow-sm); }
.ez-faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  font-weight: 700;
  color: var(--ez-primary-900);
  cursor: pointer;
  list-style: none;
}
.ez-faq__item summary::-webkit-details-marker { display: none; }
.ez-faq__item summary i { color: var(--ez-primary-600); transition: transform 0.3s var(--ez-ease); }
.ez-faq__item[open] summary i { transform: rotate(45deg); }
.ez-faq__answer { padding: 0 1.4rem 1.3rem; color: var(--ez-ink-500); font-size: var(--ez-step--1); }
.ez-faq__answer p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   12. Appel à l'action & contact
   -------------------------------------------------------------------------- */

.ez-cta {
  position: relative;
  padding: clamp(2.5rem, 2rem + 3vw, 4.5rem);
  border-radius: var(--ez-radius-lg);
  background: linear-gradient(140deg, var(--ez-primary-800), var(--ez-accent-600));
  color: #e6f7f2;
  text-align: center;
  overflow: hidden;
  box-shadow: var(--ez-shadow-lg);
}
.ez-cta::before {
  content: "";
  position: absolute;
  inset: -50% -20% auto auto;
  width: 30rem;
  height: 30rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}
.ez-cta > * { position: relative; z-index: 1; }
.ez-cta h2 { color: #fff; font-size: var(--ez-step-3); }
.ez-cta p { max-width: 38rem; margin-inline: auto; margin-bottom: 1.9rem; font-size: var(--ez-step-1); }
.ez-cta__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center; }

.ez-contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 1rem + 2vw, 3rem); }
.ez-contact__list li {
  display: flex;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--ez-border);
}
.ez-contact__list li:last-child { border-bottom: 0; }
.ez-contact__list i {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 12px;
  background: var(--ez-primary-100);
  color: var(--ez-primary-700);
}
.ez-contact__label { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ez-ink-300); font-weight: 700; }
.ez-contact__value { font-weight: 700; color: var(--ez-primary-900); }

.ez-hours { padding: clamp(1.5rem, 1.2rem + 1vw, 2.2rem); background: var(--ez-surface-alt); border: 1px solid var(--ez-border); border-radius: var(--ez-radius); }
.ez-hours h3 { font-size: var(--ez-step-1); }
.ez-hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px dashed var(--ez-border);
  font-size: var(--ez-step--1);
}
.ez-hours li:last-child { border-bottom: 0; }
.ez-hours__day { font-weight: 700; color: var(--ez-primary-900); }
.ez-hours li.is-today { color: var(--ez-accent-600); }
.ez-hours li.is-today .ez-hours__day { color: var(--ez-accent-600); }
.ez-hours__closed { color: var(--ez-ink-300); }

/* --------------------------------------------------------------------------
   13. Pied de page
   -------------------------------------------------------------------------- */

.ez-footer { padding-block: clamp(3rem, 2.5rem + 2vw, 4.5rem) 2rem; background: var(--ez-primary-900); color: #8fb4c0; }
.ez-footer h4 { color: #fff; font-size: var(--ez-step-0); margin-bottom: 1rem; }
.ez-footer a { color: #8fb4c0; }
.ez-footer a:hover { color: #fff; }
.ez-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
.ez-footer__grid li { margin-bottom: 0.55rem; font-size: var(--ez-step--1); }
.ez-footer .ez-brand { color: #fff; margin-bottom: 1rem; }
.ez-footer__about { font-size: var(--ez-step--1); max-width: 26rem; }
.ez-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
}

.ez-totop {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 100;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 50%;
  background: var(--ez-primary-700);
  color: #fff;
  cursor: pointer;
  box-shadow: var(--ez-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ez-ease), transform 0.3s var(--ez-ease), visibility 0.3s;
}
.ez-totop.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.ez-totop:hover { background: var(--ez-primary-800); }

/* --------------------------------------------------------------------------
   14. Animations d'apparition au défilement
   -------------------------------------------------------------------------- */

/* État initial appliqué uniquement si JS est actif (classe posée sur <html>),
   pour que le contenu reste visible sans JavaScript. */
.ez-js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s var(--ez-ease) var(--ez-delay, 0ms),
    transform 0.7s var(--ez-ease) var(--ez-delay, 0ms);
  will-change: opacity, transform;
}
.ez-js [data-reveal="left"]  { transform: translateX(-32px); }
.ez-js [data-reveal="right"] { transform: translateX(32px); }
.ez-js [data-reveal="zoom"]  { transform: scale(0.94); }

.ez-js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   15. Adaptatif
   -------------------------------------------------------------------------- */

@media (max-width: 992px) {
  .ez-hero__grid { grid-template-columns: 1fr; }
  /* Le discours d'accroche reste en premier : le panneau de créneaux ne se
     comprend qu'après. */
  .ez-hero__visual { max-width: 30rem; margin: 1rem auto 0; }
  /* Sur une colonne, Dento ne doit pas voler la largeur du panneau : elle
     passe au-dessus, plus petite, et dépasse juste de son bord supérieur. */
  .ez-hero__visual { flex-direction: column; align-items: center; }
  .ez-hero__mascot { width: 8.5rem; margin: 0 0 -1rem; }
  .ez-hero__lead { margin-inline: auto; }
  .ez-hero { text-align: center; }
  .ez-hero__cta, .ez-hero__trust { justify-content: center; }
  .ez-split { grid-template-columns: 1fr; }
  .ez-stats { grid-template-columns: repeat(2, 1fr); }
  .ez-contact { grid-template-columns: 1fr; }
  .ez-footer__grid { grid-template-columns: 1fr 1fr; }
  .ez-step::after { display: none; }
}

/* La barre passe au menu déroulant AVANT que la rangée ne manque de place :
   marque, cinq liens et deux boutons tiennent sur une ligne jusque vers
   1 100 px. En dessous, les tronquer ou les empiler serait pire qu'un menu. */
@media (max-width: 1100px) {
  .ez-nav__toggle { display: grid; }

  /* Le nom du cabinet peut être long : une seule ligne, tronquée si besoin,
     pour ne pas faire déborder la barre de navigation. */
  .ez-nav__inner { gap: 0.75rem; }
  .ez-brand { min-width: 0; }
  .ez-brand > span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .ez-brand__mark { flex: 0 0 auto; }

  /* Menu déroulant sous la barre */
  .ez-nav__menu {
    position: fixed;
    inset: var(--ez-nav-h) 0 auto 0;
    display: block;
    padding: 1.25rem max(1.25rem, calc((100% - 1180px) / 2));
    background: #fff;
    border-bottom: 1px solid var(--ez-border);
    box-shadow: var(--ez-shadow);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s var(--ez-ease), transform 0.25s var(--ez-ease), visibility 0.25s;
  }
  .ez-nav__menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }

  .ez-nav__links { flex-direction: column; align-items: stretch; gap: 0.15rem; margin: 0 0 1rem; }
  .ez-nav__link { padding: 0.8rem 1rem; font-size: var(--ez-step-0); }
  /* Dans la liste verticale, le trait de la section en cours devient une
     barre à gauche. */
  .ez-nav__link::after { left: 0; right: auto; top: 0.6rem; bottom: 0.6rem; width: 3px; height: auto; transform: scaleY(0); }
  .ez-nav__link.is-active::after { transform: scaleY(1); }
  .ez-nav__actions { flex-direction: row; justify-content: flex-start; }
}

@media (max-width: 768px) {
  :root { --ez-shell: min(1180px, 100% - 2rem); }

  .ez-brand { font-size: 0.98rem; }
  .ez-brand__mark { width: 2.1rem; height: 2.1rem; }
  .ez-nav__actions { flex-direction: column; align-items: stretch; }
  .ez-nav__actions .ez-btn { width: 100%; }

  .ez-floatcard--tl { top: -1rem; left: -0.5rem; }
  .ez-floatcard--br { bottom: -1rem; right: -0.5rem; }
}

@media (max-width: 520px) {
  .ez-stats { grid-template-columns: 1fr; }
  .ez-footer__grid { grid-template-columns: 1fr; }
  .ez-hero__cta .ez-btn { width: 100%; }
  .ez-floatcard { display: none; }
}

/* --------------------------------------------------------------------------
   16. Préférences d'accessibilité
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .ez-js [data-reveal],
  .ez-js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .ez-hero__blob,
  .ez-floatcard,
  .ez-scrollcue i,
  .ez-hero h1 .ez-underline {
    animation: none;
  }
  /* Le surlignage reste affiché, simplement sans animation d'apparition. */
  .ez-hero h1 .ez-underline { background-size: 100% 0.26em; }

  .ez-btn:hover,
  .ez-card:hover { transform: none; }

  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .ez-nav, .ez-progress, .ez-totop, .ez-scrollcue { display: none !important; }
  .ez-landing { color: #000; }
}

/* --------------------------------------------------------------------------
   16. Vitrine produit — formulaire et blocs sur fond sombre (phase 6)
   --------------------------------------------------------------------------
   La page d'accueil présente désormais LA SOLUTION et embarque un vrai
   formulaire (demande d'inscription ou de démonstration), ce que la vitrine
   d'un cabinet n'avait pas. Ces règles complètent la feuille existante ; elles
   n'en modifient aucune.
   -------------------------------------------------------------------------- */

.ez-form-field { display: grid; gap: 0.4rem; }

.ez-landing label {
  font-weight: 600;
  font-size: var(--ez-step--1);
  color: var(--ez-primary-900);
}

.ez-input {
  width: 100%;
  padding: 0.85rem 1.05rem;
  border: 1px solid var(--ez-border);
  border-radius: var(--ez-radius);
  background: #fff;
  font: inherit;
  color: var(--ez-ink-900);
  transition: border-color 0.25s var(--ez-ease), box-shadow 0.25s var(--ez-ease);
}
.ez-input:hover { border-color: var(--ez-primary-100); }
.ez-input:focus {
  outline: none;
  border-color: var(--ez-primary-600);
  box-shadow: 0 0 0 3px rgba(13, 116, 144, 0.16);
}
textarea.ez-input { resize: vertical; min-height: 7rem; }

/* Un <select> perd son chevron natif dès qu'on lui pose un fond : on le
   redessine plutôt que de laisser une liste déroulante qui ne se signale pas.
   `appearance: none` est préfixé pour Safari. */
select.ez-input {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%230f5f73' d='M1.4 0 6 4.6 10.6 0 12 1.4 6 7.4 0 1.4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 0.7rem;
}

/* Message d'erreur d'un formulaire : reprend la carte, en signalant l'échec
   autrement que par la seule couleur (icône + titre explicite dans le HTML). */
.ez-card--error { border-color: #c0392b; }
.ez-card--error h3 { color: #a93226; }
.ez-card--error ul { list-style: disc; padding-left: 1.2rem; }
.ez-card--error li { color: var(--ez-ink-500); font-size: var(--ez-step--1); }

/* Sur fond sombre (.ez-section--deep), le gris de `.ez-feature p` devient
   illisible : il est prévu pour du texte sur blanc. Même correction que celle
   déjà appliquée à `.ez-section-head p` plus haut dans cette feuille. */
.ez-section--deep .ez-feature p { color: #a9cdd8; }
.ez-section--deep .ez-feature__icon {
  background: rgba(255, 255, 255, 0.12);
  color: #d8f3fa;
}
.ez-section--deep p { color: #b8d7e0; }

/* Liste d'options d'une formule et étapes numérotées : `.ez-landing ul` retire
   les puces pour toute la page, on les rétablit là où elles portent du sens. */
.ez-plan__features { display: grid; gap: 0.45rem; margin-top: 1rem; }
.ez-plan__features li { font-size: var(--ez-step--1); color: var(--ez-ink-500); }
.ez-plan__features i { color: var(--ez-primary-600); margin-right: 0.4rem; }

.ez-steps-ol { padding-left: 1.15rem; display: grid; gap: 0.7rem; margin: 1rem 0 0; }
.ez-steps-ol li { color: var(--ez-ink-500); font-size: var(--ez-step--1); }

/* Pastilles de villes : cible tactile confortable sur mobile. */
.ez-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }

/* --------------------------------------------------------------------------
   17. Dento hors du hero — page d'accueil de la plateforme seulement
   --------------------------------------------------------------------------
   Dento est la marque d'EZDent, pas celle d'un cabinet : la vitrine d'un
   cabinet (cabinet.php) partage cette feuille mais n'emploie aucune de ces
   classes, et garde sa dent sur dégradé.
   -------------------------------------------------------------------------- */

/* Marque : le buste de Dento dans un rond blanc, comme la barre latérale de
   l'espace de gestion. */
.ez-brand__mark--dento {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: #fff;
  overflow: hidden;
}
.ez-brand__mark--dento img { display: block; width: 100%; height: 100%; }

/* Illustration de section : décorative, ne capte aucun clic, posée sur son
   ombre comme celle du hero. */
.ez-dento {
  pointer-events: none;
  filter: drop-shadow(0 12px 16px rgba(12, 58, 72, 0.18));
}
.ez-dento img { display: block; width: 100%; height: auto; }

/* Section patients : Dento fait signe, les villes à côté. */
.ez-patients__aside {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 0.5rem + 2vw, 2.5rem);
}
.ez-patients__dento { flex: 0 0 auto; width: clamp(7.5rem, 5rem + 5vw, 11rem); }

/* Inscription : Dento debout sur la carte « Comment ça se passe », ses pieds
   mordant sur le bord. */
.ez-signup__dento {
  position: relative;
  z-index: 1;
  width: clamp(6.5rem, 4.5rem + 4vw, 9rem);
  margin: 0 1.5rem -0.9rem auto;
}

/* Appel final : au-dessus du titre. */
.ez-cta__dento { width: clamp(7rem, 5rem + 4vw, 9.5rem); margin: 0 auto 1.25rem; }

@media (max-width: 768px) {
  .ez-brand__mark--dento { width: 2.1rem; height: 2.1rem; }
}

@media (max-width: 520px) {
  .ez-patients__aside { flex-direction: column; align-items: flex-start; }
}
