/*
 * La feuille de style de Prompto.
 *
 * Un seul thème, clair, comme l'app : elle se verrouille en
 * `userInterfaceStyle: light`, et un site qui basculerait en sombre ne lui
 * ressemblerait plus.
 *
 * Les couleurs, les rayons et le verre translucide sont ceux de l'app, repris
 * jeton pour jeton. Une page qui vend l'app doit avoir l'air de l'app.
 */

:root {
  color-scheme: light;

  --fond-haut: #f8faff;
  --fond-milieu: #edf1fa;
  --fond-bas: #dfe7f6;
  --verre: rgba(255, 255, 255, 0.66);
  --filet: rgba(255, 255, 255, 0.92);
  --bordure: rgba(15, 23, 42, 0.08);
  --texte: #0e1421;
  --texte-attenue: #68728a;
  --texte-pale: #98a1b5;
  --accent: #0a78ff;
  --accent-clair: #3b9bff;
  --accent-doux: rgba(10, 120, 255, 0.09);
  --ombre: 27, 42, 70;

  --rayon: 20px;
  --rayon-lg: 26px;
  --gouttiere: 24px;
  --largeur: 1080px;
  --largeur-texte: 700px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto,
    Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.62;
  color: var(--texte);
  background: var(--fond-milieu);
  -webkit-font-smoothing: antialiased;
}

/* Le dégradé de fond de l'app, posé une fois, fixe. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 80% at 12% -10%, rgba(10, 120, 255, 0.14), rgba(10, 120, 255, 0) 58%),
    linear-gradient(to bottom, var(--fond-haut) 0%, var(--fond-milieu) 48%, var(--fond-bas) 100%);
}

.enveloppe {
  width: 100%;
  max-width: var(--largeur);
  margin: 0 auto;
  padding-inline: var(--gouttiere);
}

/* ---------- Barre du haut ---------- */

.barre {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 250, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--bordure);
}

.barre > .enveloppe {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 62px;
}

.marque {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--texte);
  text-decoration: none;
}

.marque .clap {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  flex: none;
  display: block;
  box-shadow: 0 2px 8px rgba(10, 120, 255, 0.28);
}

.barre nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 15px;
}

.barre nav a {
  color: var(--texte-attenue);
  text-decoration: none;
  transition: color 0.15s ease;
}

.barre nav a:hover,
.barre nav a[aria-current='page'] { color: var(--texte); }

/* ---------- Boutons ---------- */

.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: var(--rayon);
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.bouton-principal {
  color: #fff;
  background: linear-gradient(135deg, var(--accent-clair), var(--accent));
  box-shadow: 0 10px 26px rgba(10, 120, 255, 0.3);
}

/* Le reflet spéculaire du bouton principal de l'app. */
.bouton-principal::after {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 50%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.bouton-principal:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(10, 120, 255, 0.36);
}

.bouton-second {
  color: var(--texte);
  background: var(--verre);
  border: 1px solid var(--filet);
  box-shadow: 0 4px 14px rgba(var(--ombre), 0.07);
}

.bouton-second:hover { background: rgba(255, 255, 255, 0.86); }

.bouton:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Typographie ---------- */

h1, h2, h3 {
  margin: 0;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  /* Plafonné pour que « You watch the lens. » tienne sur une ligne dans la
     colonne du héros ; au-delà, le titre se casse en trois. */
  font-size: clamp(36px, 5.4vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.18;
  scroll-margin-top: 84px;
}

h3 { font-size: 19px; line-height: 1.3; }

p { margin: 0; }
a { color: var(--accent); text-underline-offset: 2px; }

.lede {
  font-size: clamp(17px, 2.1vw, 21px);
  line-height: 1.52;
  color: var(--texte-attenue);
  text-wrap: pretty;
}

.oeil {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-doux);
  border-radius: 999px;
  padding: 7px 14px;
}

/* ---------- Sections ---------- */

section { padding-block: clamp(64px, 9vw, 104px); }

.section-tete {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: var(--largeur-texte);
  margin-bottom: 44px;
}

/* ---------- Héros ---------- */

.heros { padding-block: clamp(56px, 8vw, 96px) clamp(40px, 6vw, 72px); }

.heros > .enveloppe {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.heros-texte {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.heros-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.heros-note { font-size: 14px; color: var(--texte-pale); }

.heros-visuel {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 460px;
}

/* La lueur derrière le téléphone, qui décolle l'objet du fond. */
.heros-visuel::before {
  content: '';
  position: absolute;
  width: 118%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 120, 255, 0.2), rgba(10, 120, 255, 0) 62%);
  pointer-events: none;
}

/* ---------- Le téléphone ---------- */

.telephone {
  position: relative;
  width: 264px;
  max-width: 100%;
  border-radius: 44px;
  padding: 9px;
  background: linear-gradient(160deg, #2b3444, #0d1119 62%);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.22) inset,
    0 34px 70px -18px rgba(var(--ombre), 0.5),
    0 10px 24px -12px rgba(var(--ombre), 0.32);
}

.telephone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 36px;
}

.telephone.paysage { width: 100%; max-width: 720px; border-radius: 34px; }
.telephone.paysage img { border-radius: 26px; }
.telephone.petit { width: 216px; border-radius: 38px; padding: 8px; }
.telephone.petit img { border-radius: 31px; }

/* ---------- Étapes ---------- */

.etapes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}

.etape {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.etape-texte { display: flex; flex-direction: column; gap: 7px; }

.etape-numero {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin: 0 auto;
}

.etape p { font-size: 15px; color: var(--texte-attenue); }

/* ---------- Bloc paysage ---------- */

.paysage-bloc > .enveloppe {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
}

.paysage-bloc .section-tete { margin-bottom: 0; }

/* ---------- Plaques de verre ---------- */

.verre {
  position: relative;
  background: var(--verre);
  border: 1px solid var(--filet);
  border-radius: var(--rayon-lg);
  padding: 26px 28px;
  box-shadow: 0 10px 28px rgba(var(--ombre), 0.08);
  overflow: hidden;
}

.verre::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 64px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.verre > * { position: relative; }

/* ---------- Tarifs ---------- */

.tarifs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.tarif { display: flex; flex-direction: column; gap: 18px; }

.tarif-pro {
  border-color: rgba(10, 120, 255, 0.34);
  box-shadow: 0 16px 40px rgba(10, 120, 255, 0.14);
}

.tarif-tete { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.tarif h3 { font-size: 17px; letter-spacing: 0; }
.tarif-prix { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; }
.tarif-suffixe { font-size: 14px; color: var(--texte-pale); }

.tarif ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 15px;
}

.tarif li { display: flex; gap: 11px; align-items: flex-start; color: var(--texte-attenue); }

.tarif li::before {
  content: '';
  flex: none;
  width: 17px;
  height: 17px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--accent-doux) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.6 6.2l2.2 2.2 4.6-4.8' fill='none' stroke='%230A78FF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.tarif-note { font-size: 13px; color: var(--texte-pale); margin-top: auto; }

/* ---------- Questions ---------- */

.questions { max-width: var(--largeur-texte); }

details { border-bottom: 1px solid var(--bordure); }
details:first-of-type { border-top: 1px solid var(--bordure); }

summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-block: 18px;
  font-size: 17px;
  font-weight: 600;
}

summary::-webkit-details-marker { display: none; }

summary::before {
  content: '+';
  flex: none;
  width: 16px;
  color: var(--accent);
  font-weight: 700;
  font-size: 19px;
  line-height: 1;
}

details[open] summary::before { content: '–'; }

details > p {
  padding: 0 0 20px 30px;
  color: var(--texte-attenue);
  font-size: 16px;
  max-width: 62ch;
}

/* ---------- Assistance ---------- */

.assistance {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: clamp(34px, 5vw, 52px);
}

.assistance p { max-width: 54ch; color: var(--texte-attenue); }

/* ---------- Pages de texte ---------- */

.page-texte { padding-block: clamp(48px, 6vw, 76px); }
.page-texte .enveloppe { max-width: var(--largeur-texte); }
.page-texte h1 { font-size: clamp(32px, 5vw, 44px); margin-bottom: 12px; }
.page-texte h2 { font-size: 21px; margin: 40px 0 12px; }
.page-texte h3 { font-size: 17px; margin: 26px 0 8px; }
.page-texte p, .page-texte ul { margin: 0 0 14px; }
.page-texte ul { padding-left: 22px; }
.page-texte li { margin-bottom: 8px; }

.date { font-size: 14px; color: var(--texte-pale); margin-bottom: 32px; }

.encart {
  border-radius: var(--rayon);
  padding: 20px 22px;
  margin: 22px 0;
  background: var(--verre);
  border: 1px solid var(--filet);
  box-shadow: 0 6px 18px rgba(var(--ombre), 0.06);
}

.encart.accent { background: var(--accent-doux); border-color: rgba(10, 120, 255, 0.26); }
.encart p:last-child { margin-bottom: 0; }

/* ---------- Pied ---------- */

footer {
  border-top: 1px solid var(--bordure);
  padding-block: 32px 52px;
  font-size: 14px;
  color: var(--texte-pale);
}

footer > .enveloppe {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: baseline;
}

footer nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: 22px; }

footer a, footer button {
  color: var(--texte-attenue);
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

footer a:hover, footer button:hover { color: var(--accent); }

/* ---------- Adaptations ---------- */

@media (max-width: 900px) {
  .heros > .enveloppe,
  .paysage-bloc > .enveloppe { grid-template-columns: minmax(0, 1fr); }
  .heros-texte { align-items: center; text-align: center; }
  .heros-actions { justify-content: center; }
  .heros-visuel { min-height: 0; order: 2; }
  .paysage-bloc .section-tete { margin-inline: auto; text-align: center; }
  .etapes { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .tarifs { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  :root { --gouttiere: 18px; }
  body { font-size: 16px; }
  .barre nav { gap: 16px; font-size: 14px; }
  .barre nav .masquable { display: none; }
  footer nav { margin-left: 0; width: 100%; gap: 18px; }
}
