/* Anticio — site vitrine. Statique, sans build. Partagé par toutes les pages. */

:root {
  --bg: #FFFFFF;
  --bg-2: #F6F5FB;
  --ink: #14122B;
  --ink-2: #5B5876;
  --ink-3: #9A97B3;
  --line: #E8E6F3;
  --primary: #6054E8;
  --primary-dark: #4A3FCF;
  --brand: linear-gradient(115deg, #2976F8 0%, #7B2CEF 38%, #B32FB6 70%, #D8399A 100%);
  --radius: 18px;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --measure: 62rem;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 var(--body);
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .15em; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 4px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.025em; line-height: 1.08; margin: 0; }
p { margin: 0; }
.wrap { max-width: var(--measure); margin: 0 auto; padding: 0 1.25rem; }

/* ---- Barre ---------------------------------------------------------------- */
.bar { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.88); backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); }
.bar .wrap { display: flex; align-items: center; gap: 1rem; min-height: 3.5rem; }
.brand { display: flex; align-items: center; gap: .55rem; color: var(--ink); font-family: var(--display); font-weight: 600; font-size: 1.125rem; letter-spacing: -.01em; margin-right: auto; }
.brand:hover { text-decoration: none; }
.brand img { width: 28px; height: 28px; }
.langs { display: flex; gap: .125rem; }
.langs button { font: inherit; font-size: .75rem; font-weight: 600; line-height: 1; letter-spacing: .04em; padding: .45rem .55rem; border-radius: 999px; border: 0; background: transparent; color: var(--ink-3); cursor: pointer; }
.langs button:hover { color: var(--ink); background: var(--bg-2); }
.langs button[aria-current="true"] { color: var(--ink); background: var(--bg-2); }
.bar .cta { display: none; }
@media (min-width: 640px) { .bar .cta { display: inline-flex; } }

/* ---- Boutons -------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: inherit; font-weight: 600; font-size: .9375rem; line-height: 1; padding: .85rem 1.25rem; border-radius: 999px; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: transform .15s ease, background .15s ease; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-2); }
.btn-store { background: var(--ink); color: #fff; padding: .7rem 1.1rem .7rem .9rem; }
.btn-store svg { width: 22px; height: 22px; flex: none; }
.btn-store span { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.btn-store small { font-size: .625rem; font-weight: 500; opacity: .75; letter-spacing: .02em; }
.btn.is-soon { opacity: .55; pointer-events: none; }

/* ---- Hero ----------------------------------------------------------------- */
.hero { position: relative; padding: clamp(4rem, 12vh, 8rem) 0 clamp(3rem, 8vh, 5rem); overflow: hidden; }
.hero .wrap { position: relative; }
.hero h1 { font-size: clamp(2.5rem, 7.2vw, 5rem); max-width: 14ch; font-weight: 600; }
.hero h1 em { font-style: normal; background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { max-width: 34rem; margin-top: 1.5rem; font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--ink-2); }
.hero .actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 2.25rem; }
.hero .actions .alt { font-size: .9375rem; color: var(--ink-2); margin-left: .25rem; }

/* La signature : ce qu'on n'a plus à retenir. Des bribes du quotidien, posées
   autour du titre, qui s'effacent une fois à l'ouverture. */
.clutter { position: absolute; inset: 0; pointer-events: none; user-select: none; z-index: 0; }
.clutter span { position: absolute; font-family: var(--display); font-weight: 500; font-size: clamp(.8125rem, 1.4vw, 1.0625rem); color: var(--ink-3); white-space: nowrap; padding: .35em .7em; border: 1px solid var(--line); border-radius: 999px; background: #fff; opacity: 0; transform: rotate(var(--r, 0deg)); }
.hero .wrap { z-index: 1; }
@media (prefers-reduced-motion: no-preference) {
  .clutter span { animation: fade-away 4.2s cubic-bezier(.4, 0, .2, 1) both; animation-delay: var(--d, 0s); }
  @keyframes fade-away {
    0%   { opacity: 0; transform: translateY(6px) rotate(var(--r, 0deg)); }
    18%  { opacity: .9; transform: translateY(0) rotate(var(--r, 0deg)); }
    62%  { opacity: .9; }
    100% { opacity: 0; transform: translateY(-14px) rotate(var(--r, 0deg)); filter: blur(3px); }
  }
}
@media (prefers-reduced-motion: reduce) { .clutter span { opacity: .28; } }
@media (max-width: 720px) { .clutter span:nth-child(n+6) { display: none; } }

/* ---- Sections image + texte ---------------------------------------------- */
.feature { padding: clamp(3rem, 8vh, 6rem) 0; }
.feature .wrap { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 800px) {
  .feature .wrap { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .feature.flip .copy { order: 2; }
}
.feature .copy h2 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); max-width: 16ch; }
.feature .copy p { margin-top: 1rem; max-width: 30rem; color: var(--ink-2); font-size: 1.0625rem; }
.feature + .feature { border-top: 1px solid var(--line); }
.phone { width: min(300px, 78vw); margin: 0 auto; border-radius: 42px; padding: 9px; background: var(--ink); box-shadow: 0 30px 60px -30px rgba(20, 18, 43, .45), 0 0 0 1px rgba(20,18,43,.06); }
.phone img { border-radius: 34px; aspect-ratio: 1320 / 2868; background: var(--bg-2); }

/* ---- Bande « et aussi » --------------------------------------------------- */
.also { padding: clamp(3rem, 8vh, 5rem) 0; border-top: 1px solid var(--line); background: var(--bg-2); }
.also .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 2rem 3rem; }
.also h3 { font-size: 1.0625rem; letter-spacing: -.01em; }
.also p { margin-top: .4rem; color: var(--ink-2); font-size: .9375rem; }

/* ---- Fermeture ------------------------------------------------------------ */
.close { padding: clamp(4rem, 12vh, 7rem) 0; text-align: center; }
.close h2 { font-size: clamp(2rem, 5vw, 3.25rem); max-width: 18ch; margin: 0 auto; }
.close .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 2rem; }

/* ---- Pages simples (web, support, confidentialité) ----------------------- */
.page { padding: clamp(3rem, 8vh, 5rem) 0 clamp(4rem, 10vh, 7rem); }
.page .wrap { max-width: 44rem; }
.page h1 { font-size: clamp(2.25rem, 5.5vw, 3.5rem); }
.page .lede { margin-top: 1.25rem; font-size: 1.125rem; color: var(--ink-2); }
.page h2 { font-size: 1.375rem; margin-top: 2.75rem; }
.page p { margin-top: .75rem; color: var(--ink-2); }
.page ul { margin: .75rem 0 0; padding-left: 1.2rem; color: var(--ink-2); }
.page li { margin-top: .4rem; }
.page li strong, .page p strong { color: var(--ink); font-weight: 600; }
.page .actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.card { margin-top: 2rem; padding: 1.25rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
.card p { margin-top: .35rem; }
.card h2 { margin-top: 0; font-size: 1.125rem; }
.two { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 640px) { .two { grid-template-columns: 1fr 1fr; } }
.two .card { margin-top: 0; }
.two ul { padding-left: 1.1rem; }
.qa { margin-top: 2.5rem; border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { cursor: pointer; padding: 1.1rem 0; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; color: var(--ink-3); font-weight: 400; flex: none; }
.qa details[open] summary::after { content: "–"; }
.qa details > div { padding: 0 0 1.1rem; }
.qa details > div p { margin-top: .5rem; }

/* ---- Pied ----------------------------------------------------------------- */
footer { border-top: 1px solid var(--line); padding: 2rem 0 3rem; font-size: .875rem; color: var(--ink-3); }
footer .wrap { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; }
footer a { color: var(--ink-2); }
footer .copy { margin-left: auto; }
