/* ============================================================
   SevenHeads — Landing Page
   Paleta da marca: #253439 (slate), #7C898B (teal), #A6A6A6 (cinza)
   ============================================================ */

:root {
  --slate: #253439;
  --slate-900: #1a2529;
  --teal: #7C898B;
  --teal-600: #5f6f72;
  --gray: #A6A6A6;

  --ink: #1b262a;
  --ink-soft: #46555a;
  --muted: #6b7a7e;

  --bg: #ffffff;
  --bg-soft: #f4f6f6;
  --bg-tint: #eef1f1;
  --line: #e2e7e7;

  --wa: #1f8f4e;
  --wa-dark: #187a41;

  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1140px;
  --shadow-sm: 0 1px 2px rgba(37, 52, 57, .06), 0 4px 14px rgba(37, 52, 57, .05);
  --shadow-md: 0 12px 40px rgba(37, 52, 57, .10);
  --font-display: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; height: auto; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--slate);
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

.section { padding-block: clamp(64px, 9vw, 120px); }

.eyebrow {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin: 0 0 14px;
}

.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head h2 { font-size: clamp(1.75rem, 4vw, 2.6rem); }
.section-lead {
  margin: 18px 0 0;
  font-size: 1.1rem;
  color: var(--ink-soft);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--slate);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .98rem;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.btn-lg { padding: 15px 26px; font-size: 1.02rem; }

.btn-whatsapp {
  background: var(--wa);
  color: #fff;
  box-shadow: 0 8px 20px rgba(31, 143, 78, .28);
}
.btn-whatsapp:hover { background: var(--wa-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(31, 143, 78, .34); }

.btn-ghost {
  background: transparent;
  color: var(--slate);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-600); transform: translateY(-2px); }

.btn-outline-light {
  background: rgba(255, 255, 255, .06);
  color: #fff;
  border-color: rgba(255, 255, 255, .35);
}
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; transform: translateY(-2px); }

.wa-icon, .mail-icon { width: 20px; height: 20px; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 2px 20px rgba(37, 52, 57, .05); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 74px;
}
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 30px; width: auto; }

.main-nav {
  display: flex;
  gap: 30px;
  margin-left: 12px;
  margin-right: auto;
}
.main-nav a {
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
  transition: color .18s ease;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--teal);
  transition: width .22s ease;
}
.main-nav a:hover { color: var(--slate); }
.main-nav a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  margin-left: auto;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--slate);
  border-radius: 2px;
  transition: transform .22s ease, opacity .22s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 8px clamp(20px, 5vw, 40px) 18px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.mobile-nav:not([hidden]) { display: flex; }
.mobile-nav a { padding: 13px 0; font-weight: 500; border-bottom: 1px solid var(--bg-tint); }
.mobile-nav a:last-child { border-bottom: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(70px, 12vw, 150px);
  background:
    radial-gradient(1100px 520px at 82% -8%, rgba(124, 137, 139, .20), transparent 60%),
    linear-gradient(180deg, #fbfcfc 0%, var(--bg-soft) 100%);
}
.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(520px 320px at 12% 108%, rgba(37, 52, 57, .07), transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; max-width: 880px; }

.hero h1 {
  font-size: clamp(2.3rem, 6vw, 4.15rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 26px;
}
.hero h1 .accent {
  display: inline;
  background: linear-gradient(120deg, var(--slate) 0%, var(--teal-600) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  color: var(--ink-soft);
  max-width: 660px;
  margin: 0 0 34px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 52px;
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 26px 0 0;
  border-top: 1px solid var(--line);
  max-width: 720px;
}
.hero-trust li { display: flex; flex-direction: column; }
.hero-trust strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--slate);
  letter-spacing: -0.01em;
}
.hero-trust span { font-size: .92rem; color: var(--muted); }

/* ---------- Services ---------- */
.services { background: var(--bg); }
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.card {
  background: linear-gradient(180deg, #fff 0%, #fbfcfc 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #d2dada; }
.card-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--bg-tint);
  color: var(--teal-600);
  margin-bottom: 18px;
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.28rem; margin-bottom: 9px; }
.card p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

/* ---------- Work / Case ---------- */
.work {
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(124, 137, 139, .10), transparent 55%),
    var(--bg-soft);
  border-block: 1px solid var(--line);
}
.work-inner {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}
.work-copy h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin-bottom: 18px; }
.work-copy p { color: var(--ink-soft); font-size: 1.06rem; margin: 0 0 16px; }
.work-copy .work-point { color: var(--ink); font-weight: 500; }
.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 8px 0 0;
  margin: 8px 0 0;
}
.work-tags li {
  font-size: .86rem;
  font-weight: 600;
  color: var(--teal-600);
  background: #fff;
  border: 1px solid var(--line);
  padding: 7px 14px;
  border-radius: 999px;
}

.work-panel {
  display: grid;
  gap: 16px;
  background: var(--slate);
  border-radius: 20px;
  padding: 32px 30px;
  box-shadow: var(--shadow-md);
}
.stat-block { padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.stat-block:last-child { padding-bottom: 0; border-bottom: 0; }
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.stat-label { display: block; color: var(--gray); font-size: .95rem; margin-top: 2px; }

/* ---------- Process ---------- */
.process { background: var(--bg); }
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #fbfcfc);
}
.step-num {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--slate);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 18px;
}
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

/* ---------- CTA Final ---------- */
.cta-final {
  background:
    radial-gradient(700px 400px at 15% 10%, rgba(124, 137, 139, .22), transparent 60%),
    linear-gradient(160deg, var(--slate) 0%, var(--slate-900) 100%);
  color: #fff;
}
.cta-inner { max-width: 760px; }
.cta-final h2 { color: #fff; font-size: clamp(1.9rem, 4.4vw, 3rem); }
.cta-final p { color: #cdd6d7; font-size: 1.15rem; margin: 18px 0 32px; max-width: 560px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--slate-900); color: #b9c4c5; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  padding-block: clamp(48px, 7vw, 72px);
}
.footer-logo { height: 30px; width: auto; margin-bottom: 18px; }
/* logo tem texto escuro: clareia sobre fundo escuro do rodapé */
.footer-logo { filter: brightness(0) invert(1); opacity: .92; }
.footer-brand p { margin: 0; max-width: 380px; color: #93a1a2; font-size: .98rem; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.footer-links h4 {
  color: #fff;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-links a { display: block; padding: 5px 0; color: #a7b3b4; font-size: .96rem; transition: color .16s ease; }
.footer-links a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .88rem;
  color: #7f8d8e;
}
.back-top { color: #a7b3b4; transition: color .16s ease; }
.back-top:hover { color: #fff; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }
.cards .reveal:nth-child(2) { transition-delay: .07s; }
.cards .reveal:nth-child(3) { transition-delay: .14s; }
.cards .reveal:nth-child(4) { transition-delay: .21s; }
.steps .reveal:nth-child(2) { transition-delay: .09s; }
.steps .reveal:nth-child(3) { transition-delay: .18s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .work-inner { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero-trust { grid-template-columns: 1fr; gap: 16px; }
  .footer-inner { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 480px) {
  .cards { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }
  .btn-lg { width: 100%; justify-content: center; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
