/* SousTracker — site. Mesmas cores e letra da app (src/theme). */
@font-face { font-family: Outfit; src: url(fonts/Outfit_400Regular.ttf) format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: Outfit; src: url(fonts/Outfit_500Medium.ttf) format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: Outfit; src: url(fonts/Outfit_600SemiBold.ttf) format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: Outfit; src: url(fonts/Outfit_700Bold.ttf) format('truetype'); font-weight: 700; font-display: swap; }

:root {
  --emerald: #0F766E;
  --emerald-dark: #0B5C56;
  --emerald-soft: #E3F1EF;
  --gold: #F5B942;
  --gold-soft: #FDF3DC;
  --paper: #F8FAF9;
  --card: #FFFFFF;
  --ink: #1F2937;
  --ink-soft: #4B5563;
  --ink-faint: #667085; /* 4.8:1 sobre o fundo (WCAG AA) */
  --line: #E4E9E7;
  --out: #C2410C;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --wrap: 1080px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Outfit, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--emerald); }

/* Línguas: só a escolhida fica visível */
html:not([data-lang="pt"]) [data-l="pt"],
html:not([data-lang="fr"]) [data-l="fr"],
html:not([data-lang="en"]) [data-l="en"] { display: none !important; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* Barra de cima */
.top { padding: 18px 0; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 21px; letter-spacing: -0.01em; }
.brand img { width: 30px; height: 34px; }
.langs { display: flex; gap: 2px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.langs button {
  font: inherit; font-size: 14px; font-weight: 600; color: var(--ink-soft);
  border: 0; background: none; border-radius: 999px; padding: 5px 11px; cursor: pointer;
}
.langs button[aria-pressed="true"] { background: var(--emerald); color: #fff; }

/* Topo */
.hero { padding: 36px 0 56px; overflow-x: clip; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 600; color: var(--emerald); background: var(--emerald-soft); border-radius: 999px; padding: 5px 12px; margin: 0 0 18px; }
h1 { font-size: clamp(36px, 5.4vw, 58px); line-height: 1.04; letter-spacing: -0.025em; margin: 0 0 18px; font-weight: 700; }
h1 .accent { color: var(--emerald); }
.lead { font-size: 19px; color: var(--ink-soft); margin: 0 0 28px; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.play {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: #fff; text-decoration: none;
  border-radius: 12px; padding: 11px 20px 11px 16px; font-weight: 600; font-size: 17px;
}
.play svg { width: 22px; height: 22px; }
.play small { display: block; font-size: 11px; font-weight: 500; opacity: 0.75; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.1; }
.play span { line-height: 1.15; }
.play.web { background: var(--emerald); }
.price-note { font-size: 15px; color: var(--ink-soft); }
.price-note b { color: var(--ink); }

.phone {
  justify-self: center;
  width: min(330px, 100%);
  border-radius: 38px; padding: 10px;
  background: var(--ink);
  box-shadow: 0 30px 60px -20px rgba(15, 118, 110, 0.35), 0 12px 24px -12px rgba(31, 41, 55, 0.35);
  position: relative;
}
.phone img { border-radius: 29px; width: 100%; }
.hero-art { position: relative; justify-self: center; width: min(330px, 100%); }
.hero-art::before {
  content: ""; position: absolute; top: -26px; right: -30px; width: 110px; height: 110px;
  background: var(--gold); border-radius: 30px; transform: rotate(12deg);
}
.hero-art .phone { transform: rotate(2deg); width: 100%; }

/* Secções */
section { padding: 64px 0; }
h2 { font-size: clamp(28px, 3.6vw, 38px); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 12px; }
.section-lead { color: var(--ink-soft); margin: 0 0 36px; max-width: 38em; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; }
.feature .ico { width: 40px; height: 40px; border-radius: 12px; background: var(--emerald-soft); display: grid; place-items: center; margin-bottom: 14px; }
.feature .ico svg { width: 22px; height: 22px; stroke: var(--emerald); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature.gold .ico { background: var(--gold-soft); }
.feature.gold .ico svg { stroke: #B7801A; }
.feature h3 { margin: 0 0 6px; font-size: 19px; letter-spacing: -0.01em; }
.feature p { margin: 0; color: var(--ink-soft); font-size: 16px; }

.shots { background: var(--emerald); color: #fff; }
.shots .section-lead { color: rgba(255, 255, 255, 0.82); }
.shot-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.shot-row figure { margin: 0; }
.shot-row .phone { box-shadow: 0 24px 40px -18px rgba(0, 0, 0, 0.45); width: 100%; }
.shot-row figcaption { margin-top: 16px; text-align: center; font-weight: 500; color: rgba(255, 255, 255, 0.9); }

.privacy { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 16px; }
.checks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--emerald) 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='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }

.price-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center;
}
.price-big { font-size: 56px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; color: var(--emerald); }
.price-big small { font-size: 20px; color: var(--ink-soft); font-weight: 500; letter-spacing: 0; }
.price-card ul { margin: 0; padding-left: 20px; color: var(--ink-soft); }
.price-card li { margin: 6px 0; }

.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 16px 18px; margin-bottom: 10px; }
.faq summary { font-weight: 600; cursor: pointer; }
.faq details p { margin: 10px 0 0; color: var(--ink-soft); }

/* Rodapé */
footer { border-top: 1px solid var(--line); padding: 32px 0 44px; font-size: 15px; color: var(--ink-soft); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a { color: var(--ink-soft); }

/* Páginas legais */
.doc { max-width: 760px; padding-top: 24px; padding-bottom: 64px; }
.doc h1 { font-size: clamp(32px, 4.6vw, 44px); margin-bottom: 8px; }
.doc .updated { color: var(--ink-faint); margin: 0 0 32px; }
.doc h2 { font-size: 22px; margin: 36px 0 8px; }
.doc p, .doc li { color: var(--ink-soft); }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc strong { color: var(--ink); }
.box { background: var(--emerald-soft); border-radius: var(--r-md); padding: 20px 22px; margin: 24px 0; }
.box p:first-child { margin-top: 0; }
.box p:last-child { margin-bottom: 0; }
.btn { display: inline-block; background: var(--emerald); color: #fff; text-decoration: none; font-weight: 600; border-radius: 12px; padding: 12px 20px; }

@media (max-width: 860px) {
  .hero .wrap, .privacy, .price-card { grid-template-columns: 1fr; }
  .hero { padding-top: 16px; }
  .hero-art { width: min(290px, 78%); margin-top: 16px; }
  .features { grid-template-columns: 1fr 1fr; }
  .shot-row { grid-template-columns: repeat(3, 72%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .shot-row figure { scroll-snap-align: center; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .features { grid-template-columns: 1fr; }
  section { padding: 48px 0; }
  .price-card { padding: 24px; }
}

/* Dados legais */
.legal { display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1.25rem; margin: 1.25rem 0; }
.legal dt { font-weight: 600; }
.legal dd { margin: 0; }
@media (max-width: 560px) { .legal { grid-template-columns: 1fr; } .legal dd { margin-bottom: .5rem; } }

/* foco visível ao navegar com o teclado */
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
