/* DialogPro — feuille de style unique, ecrite a la main. Pas de build, pas de framework.
   ponytail: un seul fichier pour tout le site. Le decouper quand il depassera ~400 lignes. */

@font-face {
  font-family: 'Geist';
  src: url('/assets/fonts/geist-sans.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --teal: #0d9488;
  --teal-dark: #0f766e;
  --teal-light: #f0fdfa;
  --ink: #111827;
  --body: #4b5563;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg-alt: #f9fafb;
  --dark: #111827;
  --radius: 12px;
  --wide: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Geist', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--body);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.35rem; font-weight: 600; }
p { margin: 0; }
img { max-width: 100%; height: auto; display: block; }

a { color: var(--teal-dark); }
a:focus-visible, summary:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 760px; }
section { padding: 4.5rem 0; }
.lead { font-size: 1.125rem; color: var(--body); }
.center { text-align: center; }

/* --- boutons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1.0625rem;
  text-decoration: none;
  transition: background-color .15s, border-color .15s;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--bg-alt); }

/* --- hero --- */
.hero {
  background: linear-gradient(to bottom, var(--teal-light), #fff);
  text-align: center;
  padding: 5rem 0 4rem;
}
.hero p { max-width: 46rem; margin: 1.5rem auto 0; }
.hero .btn { margin-top: 2.5rem; }
.hero-icon { width: 260px; margin: 3rem auto 0; border-radius: 22%; box-shadow: 0 20px 45px rgb(0 0 0 / .18); }

.checks {
  list-style: none;
  margin: 3rem auto 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem 2rem;
  font-size: .9375rem;
}
.checks li { display: flex; align-items: center; gap: .5rem; }
.checks svg { color: var(--teal); flex: none; }

/* --- fonctionnalites --- */
#features { background: var(--bg-alt); }
.section-head { max-width: 46rem; margin: 0 auto 3.5rem; text-align: center; }
.section-head p { margin-top: 1rem; }

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  margin-bottom: 4.5rem;
}
.feature:last-of-type { margin-bottom: 0; }
/* un bloc sur deux : la capture passe a gauche */
.feature:nth-of-type(even) .feature-shot { order: -1; }
.feature h3 { margin-bottom: .75rem; }
.feature ul { margin: 1.25rem 0 0; padding-left: 1.1rem; }
.feature li { margin-bottom: .35rem; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  margin-bottom: 1rem;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--teal-dark);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.badge span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  background: var(--teal);
  color: #fff;
}

.feature-shot img {
  width: 100%;
  /* les captures font 576x1285 : au-dela de ~250px de large le bloc devient
     bien plus haut que sa colonne de texte et laisse un grand vide. */
  max-width: 250px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

/* --- cartes --- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4.5rem;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.card h3 { font-size: 1.125rem; margin-bottom: .5rem; }
.card p { font-size: .9375rem; }

/* --- faq (details/summary natif, zero JS) --- */
.faq { display: grid; gap: .75rem; }
details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.125rem 1.5rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: '';
  flex: none;
  width: .55rem;
  height: .55rem;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .2s;
}
details[open] summary::after { transform: rotate(-135deg); }
summary:hover { background: var(--bg-alt); }
details > p { padding: 0 1.5rem 1.25rem; }

/* --- telechargement --- */
.qr {
  width: 200px;
  margin: 2.5rem auto 0;
  padding: .75rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.stores {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .75rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.stores img { height: 48px; width: auto; }

/* --- footer --- */
footer {
  background: var(--dark);
  color: #d1d5db;
  padding: 4rem 0 2rem;
  font-size: .9375rem;
}
footer h2 { color: #fff; }
footer a { color: #9ca3af; text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; }
.footer-cta { text-align: center; padding-bottom: 3rem; border-bottom: 1px solid rgb(255 255 255 / .1); }
.footer-cta p { max-width: 38rem; margin: 1rem auto 2rem; }
.footer-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding: 3rem 0;
}
.footer-cols h3 {
  color: #d1d5db;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 1rem;
}
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.brand { display: flex; align-items: center; gap: .75rem; color: #fff; font-size: 1.25rem; font-weight: 700; }
.brand img { width: 40px; border-radius: 22%; }
.rgpd { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.25rem; color: #9ca3af; }
.rgpd svg { color: var(--teal); flex: none; }
.copyright {
  padding-top: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / .1);
  text-align: center;
  color: #9ca3af;
  font-size: .875rem;
}

/* --- pages de texte (mentions legales, 404) --- */
.prose { padding: 3.5rem 0 4.5rem; }
.prose h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 1.5rem; }
.prose h2 { font-size: 1.375rem; margin: 2.5rem 0 .75rem; }
.prose p { margin-bottom: 1rem; }
.prose ul { margin: 0 0 1rem; padding-left: 1.25rem; }
.prose li { margin-bottom: .5rem; }
.prose .back { display: inline-block; margin-bottom: 2rem; font-size: .9375rem; }

.centered-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  gap: 1rem;
}

@media (max-width: 760px) {
  section { padding: 3rem 0; }
  .feature { grid-template-columns: 1fr; gap: 1.75rem; margin-bottom: 3.5rem; }
  /* en colonne, la capture passe toujours apres le texte */
  .feature:nth-of-type(even) .feature-shot { order: 0; }
  .cards { grid-template-columns: 1fr; margin-top: 3rem; }
  .footer-cols { grid-template-columns: 1fr; gap: 2rem; }
  .hero-icon { width: 200px; }
}
