/* Stick — site vitrine. Palette V13 de l'app. */
@font-face {
  font-family: "Exo 2";
  src: url("fonts/exo2.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --fond: #343434;      /* fond de page, plus sombre que l'app pour détacher les écrans */
  --carte: #444444;     /* encarts */
  --ardoise: #282828;   /* pied de page */
  --or: #FFC342;        /* stickers, actions */
  --encre: #191919;     /* texte sur or */
  --craie: #F4F2EE;     /* texte principal */
  --poussiere: #D6D4CF; /* texte secondaire */
  --ia: #00D4FF;        /* réservé à l'IA */
  --mesure: 68ch;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--fond);
  color: var(--craie);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}
main { overflow-x: clip; }
a { color: var(--craie); text-underline-offset: 0.2em; }
a:hover { color: var(--or); }
:focus-visible { outline: 3px solid var(--or); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* En-tête */
.top { display: flex; align-items: center; justify-content: space-between; padding-block: 22px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-s {
  width: 38px; height: 38px; border-radius: 9px; background: var(--or); color: var(--encre);
  display: grid; place-items: center; font-family: "Exo 2"; font-weight: 800; font-size: 23px;
}
.logo-nom { font-family: "Exo 2"; font-weight: 700; font-size: 1.45rem; letter-spacing: 0; }
.top nav a { font-size: 0.95rem; color: var(--poussiere); }

/* Accroche */
.hero {
  padding-top: 48px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center;
}
.hero h1 {
  font-family: "Exo 2"; font-weight: 600;
  font-size: clamp(2.5rem, 6.2vw, 4.4rem); line-height: 1.04; letter-spacing: -0.01em;
  margin: 0; max-width: 14ch;
}
.hero p.chapo { font-size: 1.2rem; color: var(--poussiere); max-width: 46ch; margin: 22px 0 28px; }
.badges { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 12px; }
.badges .badge { display: flex; }
.badge {
  display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px 12px 14px;
  background: var(--encre); color: var(--craie); border-radius: 12px; text-decoration: none;
  border: 1px solid #7a7a7a;
}
.badge svg { flex: none; }
.badge small { display: block; font-size: 0.72rem; color: var(--poussiere); line-height: 1.1; }
.badge strong { display: block; font-size: 1.05rem; line-height: 1.2; font-weight: 600; }

/* Les vrais écrans de l'app, dans un téléphone */
.telephone {
  background: var(--encre); border-radius: 40px; padding: 10px;
  box-shadow: 0 0 0 1px #6e6e6e, 0 28px 60px -18px rgba(0,0,0,.7);
}
.telephone img { display: block; width: 100%; height: auto; border-radius: 31px; }
.telephone.petit { border-radius: 30px; padding: 7px; }
.telephone.petit img { border-radius: 24px; }

.hero-ecran { position: relative; margin: 0; width: 320px; }
.hero-ecran .telephone { position: relative; transform: rotate(2.5deg); }
.hero-ecran::before {
  content: ""; position: absolute; inset: -18% -60%; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(214,228,255,.55) 0%, rgba(190,210,255,.26) 38%, rgba(190,210,255,.07) 62%, transparent 75%);
}
.hero-ecran { isolation: isolate; }
.sticker {
  position: absolute; top: 34px; left: -26px; transform: rotate(-10deg);
  background: var(--or); color: var(--encre);
  font-family: "Exo 2"; font-weight: 750; font-size: 1.15rem;
  padding: 10px 18px; border-radius: 999px; box-shadow: 0 3px 0 rgba(0,0,0,.3);
}
@media (prefers-reduced-motion: no-preference) {
  .sticker { animation: colle .5s .35s cubic-bezier(.2,1.4,.4,1) both; }
  @keyframes colle { from { transform: rotate(-24deg) scale(1.5); opacity: 0; } }
}

/* Contenu */
section.bloc { padding-top: 72px; padding-bottom: 8px; }
h2 {
  font-family: "Exo 2"; font-weight: 600; font-size: clamp(1.7rem, 3.3vw, 2.4rem); letter-spacing: -0.005em;
  line-height: 1.1; margin: 0 0 28px; max-width: 24ch;
}
.bloc .intro { color: var(--poussiere); max-width: 60ch; margin: -12px 0 36px; }
.vedette {
  display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; align-items: center;
  background: var(--carte); border-radius: 28px; padding: 44px 56px; margin-bottom: 56px;
  border-left: 6px solid var(--or);
}
.vedette h3 { font-family: "Exo 2"; font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.1; margin: 0 0 14px; }
.vedette p { margin: 0; color: var(--craie); font-size: 1.12rem; max-width: 46ch; }
.ecrans { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px; }
.ecrans .telephone { margin-bottom: 22px; }
.ecrans h3 { margin: 0 0 6px; font-size: 1.08rem; font-weight: 700; line-height: 1.3; padding-top: 10px; border-top: 4px solid var(--or); }
.ecrans p { margin: 0; color: var(--poussiere); font-size: 0.98rem; }
.premium { background: var(--carte); border-radius: 18px; padding: 36px 36px 30px; margin-top: 72px; }
.premium h2 { margin-bottom: 14px; }
.premium p { max-width: var(--mesure); color: var(--poussiere); margin: 0 0 8px; }

/* Pied de page */
footer { margin-top: 88px; background: var(--ardoise); padding: 36px 0 44px; color: var(--poussiere); font-size: 0.95rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 40px; justify-content: space-between; align-items: baseline; }
footer ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; padding: 0; }
footer a { color: var(--poussiere); }

/* Pages de texte (juridique) */
.texte { max-width: var(--mesure); padding-top: 40px; }
.texte h1 { font-family: "Exo 2"; font-weight: 600; letter-spacing: -0.005em; font-size: clamp(2rem, 4.6vw, 3rem); line-height: 1.05; margin: 0 0 8px; }
.texte .maj { color: var(--poussiere); margin: 0 0 36px; }
.texte h2 { font-size: 1.35rem; margin: 40px 0 12px; max-width: none; }
.texte p, .texte li { color: var(--craie); }
.texte ul { padding-left: 1.2em; }
.texte li { margin-bottom: 6px; }
.texte table { border-collapse: collapse; width: 100%; font-size: 0.95rem; margin: 8px 0 16px; }
.texte th, .texte td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid #6c6c6c; }
.texte th { color: var(--poussiere); font-weight: 600; }
.a-completer { background: var(--or); color: var(--encre); padding: 0 6px; border-radius: 4px; font-weight: 700; }
.etapes { counter-reset: e; list-style: none; padding: 0; }
.etapes li { counter-increment: e; position: relative; padding-left: 44px; margin-bottom: 14px; }
.etapes li::before {
  content: counter(e); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--or); color: var(--encre); font-weight: 800; display: grid; place-items: center; font-size: 0.95rem;
}

@media (max-width: 960px) {
  .vedette { grid-template-columns: minmax(0, 1fr) 220px; gap: 32px; padding: 32px; }
  .ecrans { gap: 28px; }
}
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 24px; }
  .badges { grid-auto-flow: row; }
  .hero-ecran { width: min(280px, 78vw); justify-self: center; }
  .sticker { left: -14px; font-size: 1rem; }
}
@media (max-width: 720px) {
  /* Sur téléphone : les écrans défilent de côté */
  .ecrans {
    display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 -24px; padding: 0 24px 12px; scroll-padding-inline: 24px; scrollbar-width: none;
  }
  .ecrans::-webkit-scrollbar { display: none; }
  .ecrans li { flex: 0 0 72%; scroll-snap-align: start; }
  .premium { padding: 28px 22px; }
  .vedette { grid-template-columns: 1fr; padding: 28px 22px; }
  .vedette .telephone { width: min(260px, 72vw); justify-self: center; }
  .top nav { display: none; }
}
