/* ==========================================================================
   S10 Comunicação — folha de estilo única
   Sem framework, sem build. Só CSS.
   ========================================================================== */

:root {
  --bg: #08090c;
  --bg-soft: #0c0e13;
  --card: #11141a;
  --card-2: #151922;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f3f4f6;
  --muted: #9ba1ac;
  --muted-2: #7c828d;
  --accent: #ff5c2b;
  --accent-2: #ffab2e;
  --grad: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.8);
  --max: 1160px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Sora', 'Inter', system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 0.5em;
  font-weight: 600;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.1rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }

p { margin: 0 0 1rem; }
strong { font-weight: 600; }

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

.muted { color: var(--muted-2); }

/* Acessibilidade ---------------------------------------------------------- */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 12px 0;
  z-index: 100;
}
.skip:focus { left: 0; }

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

/* Cabeçalho --------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(8, 9, 12, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(8, 9, 12, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: var(--grad);
  color: #101014;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  box-shadow: 0 10px 26px -10px rgba(255, 92, 43, 0.85);
}

.brand-text {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.94rem;
}
.nav a { color: var(--muted); transition: color 0.2s ease; }
.nav a:hover { color: var(--text); }
.nav .btn { color: #fff; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  padding: 12px 11px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle span + span { margin-top: 5px; }
.nav-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Botões ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  will-change: transform;
}
.btn:active { transform: translateY(1px) scale(0.995); }

.btn-primary {
  background: var(--grad);
  color: #14100c;
  box-shadow: 0 16px 40px -16px rgba(255, 92, 43, 0.85);
}
.btn-primary:hover {
  box-shadow: 0 20px 50px -14px rgba(255, 92, 43, 0.95);
  transform: translateY(-1px);
}

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

.btn-sm { padding: 10px 18px; font-size: 0.88rem; }
.btn-lg { padding: 17px 30px; font-size: 1rem; }

/* Hero -------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(56px, 9vw, 110px) 0 clamp(48px, 7vw, 90px);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 620px;
  background:
    radial-gradient(46% 60% at 22% 30%, rgba(255, 92, 43, 0.20), transparent 70%),
    radial-gradient(42% 55% at 78% 12%, rgba(255, 171, 46, 0.14), transparent 70%);
  filter: blur(6px);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(70% 60% at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 0%, #000 20%, transparent 75%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3ddc84;
  box-shadow: 0 0 0 4px rgba(61, 220, 132, 0.14);
}

.hero h1 em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 0.88rem;
  color: var(--muted);
}
.hero-checks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-checks li::before {
  content: '';
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: 3px;
  border-radius: 50%;
  background-color: rgba(255, 92, 43, 0.14);
  border: 1px solid rgba(255, 92, 43, 0.45);
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffab2e' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 10px 10px;
  background-position: center;
  background-repeat: no-repeat;
}

/* Cartão do hero */
.hero-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    var(--card);
  padding: 22px;
  box-shadow: var(--shadow);
}
.hero-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgba(255, 92, 43, 0.55), transparent 42%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hero-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.pill {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
}

.live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.74rem;
  color: var(--muted-2);
}

.service-mini { display: grid; gap: 4px; }
.service-mini li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  transition: background 0.2s ease;
}
.service-mini li:hover { background: rgba(255, 255, 255, 0.035); }
.service-mini strong { display: block; font-size: 0.94rem; font-weight: 600; }
.service-mini small { display: block; font-size: 0.8rem; color: var(--muted-2); line-height: 1.45; }

.mini-ico,
.card-ico {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--accent-2);
}
.mini-ico svg, .card-ico svg { width: 19px; height: 19px; }

/* Seções ------------------------------------------------------------------ */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-soft {
  background:
    radial-gradient(60% 60% at 50% 0%, rgba(255, 255, 255, 0.035), transparent 70%),
    var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 54px); }
.section-sub { color: var(--muted); font-size: 1.02rem; margin: 0; }

/* Cards de serviço */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: 28px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.2);
  background: var(--card-2);
}
.card h3 { margin: 18px 0 8px; }
.card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 16px; }
.card ul { display: grid; gap: 8px; }
.card li {
  position: relative;
  padding-left: 20px;
  font-size: 0.88rem;
  color: var(--muted);
}
.card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--grad);
  opacity: 0.9;
}

/* Processo */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: step;
}
.steps li {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  padding: 26px;
}
.step-n {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-2);
  margin-bottom: 14px;
}
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 0.93rem; margin: 0; }

/* Agência */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: start;
}
.about-grid p { color: var(--muted); }
.muted-note {
  border-left: 2px solid rgba(255, 92, 43, 0.6);
  padding-left: 16px;
  font-size: 0.93rem;
  color: var(--muted-2);
  margin-top: 22px;
}

.data-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  padding: 26px;
}
.data-card h3 { margin-bottom: 18px; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.data-card dl { margin: 0; display: grid; gap: 16px; }
.data-card div { display: grid; gap: 3px; }
.data-card dt {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.data-card dd { margin: 0; font-size: 0.94rem; line-height: 1.55; }
.data-card a { border-bottom: 1px solid rgba(255, 255, 255, 0.22); transition: border-color 0.2s ease; }
.data-card a:hover { border-bottom-color: var(--accent-2); }

/* CTA */
.section-cta { padding-top: 0; }
.cta-box {
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 28px;
  align-items: center;
  border: 1px solid rgba(255, 92, 43, 0.28);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  background:
    radial-gradient(80% 140% at 0% 0%, rgba(255, 92, 43, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    var(--card);
}
.cta-box h2 { margin-bottom: 8px; }
.cta-box .section-sub { max-width: 46ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Rodapé ------------------------------------------------------------------ */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 36px;
  background: var(--bg-soft);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.footer-legal {
  margin: 18px 0 0;
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--muted-2);
}
.footer-nav { display: grid; gap: 10px; font-size: 0.9rem; }
.footer-nav a { color: var(--muted); transition: color 0.2s ease; }
.footer-nav a:hover { color: var(--text); }
.footer-contact { display: grid; gap: 10px; font-size: 0.9rem; justify-items: start; }
.footer-contact a { color: var(--text); }
.footer-contact a:hover { color: var(--accent-2); }

/* Animação de entrada ----------------------------------------------------- */
/* A classe "js" é adicionada no <head>. Sem JavaScript o conteúdo aparece normal. */
html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
html.js .reveal.is-visible { opacity: 1; transform: none; }

/* Responsivo -------------------------------------------------------------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { order: 2; }
  .about-grid { grid-template-columns: 1fr; }
  .cta-box { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }

  .nav {
    position: fixed;
    inset: 74px 12px auto 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(12, 14, 19, 0.98);
    box-shadow: var(--shadow);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 12px 10px; border-radius: 10px; }
  .nav a:hover { background: rgba(255, 255, 255, 0.05); }
  .nav .btn { margin-top: 6px; }

  .cards, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-checks { gap: 8px 16px; }
}

@media (max-width: 480px) {
  .eyebrow { font-size: 0.68rem; letter-spacing: 0.09em; gap: 7px; }
  .lead { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  html.js .reveal { opacity: 1; transform: none; }
}

/* Páginas de texto (privacidade / termos) --------------------------------- */
.legal {
  padding: clamp(48px, 8vw, 90px) 0;
}
.legal-wrap { max-width: 780px; }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.legal h2 { font-size: 1.2rem; margin-top: 2.2em; }
.legal p, .legal li { color: var(--muted); font-size: 0.96rem; }
.legal ul { list-style: disc; padding-left: 22px; display: grid; gap: 8px; }
.legal .updated { font-size: 0.84rem; color: var(--muted-2); }
.legal a { color: var(--accent-2); border-bottom: 1px solid rgba(255, 171, 46, 0.4); }
