/* Pages publiques de Foxsana (confidentialité, assistance) : une colonne de lecture, couleurs de l'app. */
:root { --bg: #FBF3EE; --surface: #fff; --ink: #2E1C1F; --ink2: #7B6066; --line: #F0DFD8; --rasp: #C8385E; --soft: #FBE1E8; }
@media (prefers-color-scheme: dark) { :root { --bg: #1A1214; --surface: #261A1D; --ink: #FBEFF1; --ink2: #CDB2B8; --line: #3E2C31; --rasp: #E0557A; --soft: #3F1E28; color-scheme: dark; } }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 17px; line-height: 1.6; }
header { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 760px; margin: 0 auto; padding: 22px 20px 0; }
.brand { font-family: 'Fredoka', ui-rounded, sans-serif; font-weight: 700; font-size: 24px; color: var(--ink); text-decoration: none; }
.brand b { color: var(--rasp); }
.langs { display: flex; gap: 6px; }
.langs button { font: inherit; font-weight: 800; font-size: 14px; padding: 6px 12px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.langs button[aria-pressed="true"] { background: var(--rasp); border-color: var(--rasp); color: #fff; }
main { max-width: 760px; margin: 0 auto; padding: 10px 20px 60px; }
h1 { font-family: 'Fredoka', ui-rounded, sans-serif; font-size: 34px; line-height: 1.15; margin: 26px 0 6px; text-wrap: balance; }
h2 { font-family: 'Fredoka', ui-rounded, sans-serif; font-size: 22px; margin: 34px 0 8px; }
p, li { max-width: 68ch; }
.date { color: var(--ink2); margin: 0 0 18px; }
.key { background: var(--soft); border-radius: 18px; padding: 16px 18px; margin: 18px 0; }
.key p { margin: 0; }
table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15.5px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { font-weight: 800; color: var(--ink2); }
.scroll { overflow-x: auto; }
a { color: var(--rasp); font-weight: 700; }
.todo { background: #FFF1B8; color: #4a3800; padding: 0 4px; border-radius: 4px; }
footer { max-width: 760px; margin: 0 auto; padding: 0 20px 40px; color: var(--ink2); font-size: 15px; }
footer a { margin-right: 16px; }
[hidden] { display: none !important; }

/* Page d'accueil : plus large, une section par argument, captures de l'app dans un cadre de téléphone. */
.brand img { border-radius: 10px; vertical-align: middle; margin: -4px 10px 0 0; }
.landing header, .landing main, .landing footer { max-width: 1080px; }
.landing main { padding-bottom: 40px; }
.landing h1 { font-size: clamp(36px, 5.2vw, 56px); margin: 8px 0 14px; }
.landing h2 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.15; margin: 4px 0 12px; text-wrap: balance; }
.landing h3 { font-family: 'Fredoka', ui-rounded, sans-serif; font-size: 20px; margin: 0 0 4px; }
.eyebrow { font-weight: 800; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--rasp); margin: 0; }
.lead { font-size: 19px; }
.fine { color: var(--ink2); font-size: 15px; }

.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 36px 0 24px; }
.hero-visual { position: relative; display: flex; justify-content: center; padding: 10px 0; }
.hero-visual::before { content: ''; position: absolute; inset: 6% 4%; border-radius: 50%; background: var(--soft); }
.hero-visual .sana { position: absolute; left: 0; bottom: 0; width: 38%; height: auto; filter: drop-shadow(0 10px 18px rgba(60, 20, 35, .25)); }
.phone { position: relative; flex: none; width: min(280px, 70vw); border: 8px solid #2E1C1F; border-radius: 40px; overflow: hidden; background: #2E1C1F; box-shadow: 0 18px 44px rgba(60, 20, 35, .22); line-height: 0; }
.phone img { width: 100%; height: auto; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 12px; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 14px; border-radius: 14px; background: #2E1C1F; color: #fff; text-decoration: none; font-family: 'Fredoka', ui-rounded, sans-serif; font-size: 19px; line-height: 1.15; }
.store svg { width: 26px; height: 26px; fill: currentColor; }
.store small { display: block; font-family: 'Nunito', system-ui, sans-serif; font-size: 12px; font-weight: 700; opacity: .85; }
.store.soon { cursor: default; opacity: .75; }
a.store:not(.soon):hover { background: var(--rasp); }
@media (prefers-color-scheme: dark) { .store { background: #fff; color: #2E1C1F; } a.store:not(.soon):hover { color: #fff; } }

.facts { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 0; margin: 20px 0 30px; }
.facts li { background: var(--surface); border: 1.5px solid var(--line); border-radius: 20px; padding: 16px 18px; max-width: none; }
.facts b { display: block; font-family: 'Fredoka', ui-rounded, sans-serif; font-size: 30px; line-height: 1.1; color: var(--rasp); }
.facts span { color: var(--ink2); font-size: 15.5px; line-height: 1.35; display: block; margin-top: 4px; }

.row { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center; padding: 44px 0; }
.row .phone { justify-self: center; }
.row.flip { grid-template-columns: 1fr 300px; }
.row.flip .phone { order: 2; }
.ticks { list-style: none; padding: 0; margin: 14px 0 0; }
.ticks li { position: relative; padding: 5px 0 5px 32px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 9px; width: 20px; height: 20px; border-radius: 50%; background: var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23C8385E' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }

.calm, .price { padding: 44px 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.cards > div { background: var(--surface); border: 1.5px solid var(--line); border-radius: 22px; padding: 20px; }
.cards p { margin: 0; color: var(--ink2); }

.private { background: var(--soft); border-radius: 28px; padding: 32px; margin: 20px 0; }
.private p { margin: 0 0 10px; }

.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); gap: 14px; margin: 20px 0 14px; }
.plan { position: relative; background: var(--surface); border: 1.5px solid var(--line); border-radius: 22px; padding: 22px 20px 18px; }
.plan.best { border-color: var(--rasp); border-width: 2px; }
.plan p { margin: 0; color: var(--ink2); }
.plan .amount { font-family: 'Fredoka', ui-rounded, sans-serif; font-size: 32px; line-height: 1.2; color: var(--ink); font-variant-numeric: tabular-nums; }
.plan .amount small { font-family: 'Nunito', system-ui, sans-serif; font-size: 15px; font-weight: 700; color: var(--ink2); }
.tag { position: absolute; top: -12px; left: 18px; background: var(--rasp); color: #fff; font-weight: 800; font-size: 12.5px; padding: 3px 10px; border-radius: 999px; }

.end { display: grid; grid-template-columns: 220px 1fr; gap: 36px; align-items: center; background: var(--surface); border: 1.5px solid var(--line); border-radius: 32px; padding: 28px 36px; margin: 30px 0 10px; }
.end img { width: 100%; height: auto; }
.landing footer { border-top: 1.5px solid var(--line); padding-top: 22px; }
.landing footer p { margin: 10px 0 0; max-width: none; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 24px; padding-top: 18px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .row, .row.flip { grid-template-columns: 1fr; gap: 26px; padding: 30px 0; }
  .row.flip .phone { order: 0; }
  .cards, .plans { grid-template-columns: 1fr; }
  .end { grid-template-columns: 1fr; text-align: left; padding: 24px; gap: 12px; }
  .end img { width: 150px; }
  .private { padding: 24px; }
}
