/* =========================================================
   Sinal Capital — estilos do site
   Para mudar cores, fontes ou espaçamentos, edite as variáveis abaixo.
   ========================================================= */
:root {
  --navy: #11264f;        /* títulos */
  --navy-btn: #172c59;    /* botões e ícones */
  --navy-dark: #0b1a38;   /* rodapé */
  --text: #666666;        /* texto corrido */
  --green: #36796d;       /* sobretítulos ("Sobre nós", "Nosso Time") */
  --agora: #00c389;       /* verde Ágora */
  --red: #d0312d;         /* sublinhado dos destaques */
  --bg-soft: #f4f4f4;     /* fundo de cartões e FAQ */
  --whatsapp: #25d366;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1240px;
  --gutter: 24px;
  --section: 96px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-btn); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4, h5 {
  color: var(--navy);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.2rem, 4.5vw, 3.5rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); letter-spacing: -0.027em; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.125rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--tight { padding: 48px 0; }
.center { text-align: center; }
.lead { font-size: 1.05rem; }

.eyebrow {
  display: block;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: .75rem;
}

/* Sublinhado vermelho "pincelado" dos títulos de destaque */
.highlight {
  position: relative;
  white-space: nowrap;
  display: inline-block;
}
.highlight::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -0.05em;
  height: .28em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 500 30' preserveAspectRatio='none'%3E%3Cpath d='M3 22c80-12 200-18 300-14 70 3 130 7 194 4' fill='none' stroke='%23d0312d' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

/* Grades */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-2--top { align-items: start; }

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--navy-btn);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  padding: 20px 32px;
  border-radius: 2px;
  border: 0;
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--navy); text-decoration: none; transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--navy-btn); box-shadow: inset 0 0 0 2px var(--navy-btn); }
.btn--outline:hover { background: var(--navy-btn); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #eee;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.site-header .logo img { height: 36px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--navy); font-weight: 600; font-size: 15px; white-space: nowrap; }
.nav a[aria-current="page"] { color: var(--green); }
.nav .btn { color: #fff; padding: 14px 20px; }
.nav .btn--outline { color: var(--navy-btn); }
.nav .btn--outline:hover { color: #fff; }
.menu-toggle {
  display: none;
  background: none; border: 0; padding: 8px; cursor: pointer;
  color: var(--navy); font-size: 24px; line-height: 1;
}

/* ---------- Home ---------- */
.hero { padding: 48px 0 0; }
.hero .grid-2 { align-items: center; }
.hero p { font-size: 1.05rem; margin-bottom: 1.5rem; }
.hero__media { position: relative; }
.hero__badge {
  position: absolute;
  display: flex; align-items: center; gap: 12px;
  background: #fff;
  padding: 12px 18px;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(17,38,79,.12);
  line-height: 1.3;
}
.hero__badge i { font-size: 30px; color: var(--navy-btn); }
.hero__badge strong { display: block; color: var(--navy); }
.hero__badge span { font-size: 14px; }
.hero__badge--1 { top: 18%; left: -6%; }
.hero__badge--2 { bottom: 18%; right: -4%; }

.partner-strip { border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.partner-strip .container { display: flex; align-items: center; gap: 48px; }
.partner-strip img { width: 260px; flex-shrink: 0; }
.partner-strip p { margin: 0; }

.feature { text-align: center; }
.feature i { font-size: 44px; color: var(--navy-btn); margin-bottom: 16px; }
.feature h3 { margin-bottom: .2rem; }
.feature small { display: block; font-size: 13px; margin-bottom: .8rem; }

.testimonial {
  background: #fff;
  padding: 28px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(17,38,79,.08);
}
.testimonial img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; margin-bottom: 16px; }
.testimonial h4 { margin-bottom: .5rem; }
.testimonial p { font-size: 15px; margin: 0; }

.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 16px; margin-bottom: 20px; line-height: 1.5; }
.contact-list i { font-size: 24px; color: var(--navy-btn); width: 28px; text-align: center; margin-top: 2px; }
.contact-list a { font-weight: 600; }
.map { width: 100%; height: 380px; border: 0; border-radius: 8px; }

/* ---------- Sobre ---------- */
.rounded { border-radius: 8px; }
.values .feature i { font-size: 36px; }
.counter { text-align: center; margin-top: 24px; }
.counter strong { display: block; font-size: 3rem; color: var(--navy); line-height: 1.1; }
.counter span { font-size: 14px; }
.counters { display: flex; justify-content: center; gap: 64px; }
.partner-logos { display: flex; flex-direction: column; gap: 48px; align-items: center; }
.partner-logos img { max-width: 340px; }

/* ---------- Time ---------- */
.member { text-align: center; }
.member img { width: 220px; height: 220px; object-fit: cover; border-radius: 50%; margin: 0 auto 16px; }
.member h4 { margin-bottom: 0; }
.divider { width: 60px; height: 3px; background: var(--green); border: 0; margin: 32px 0 24px; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: var(--bg-soft); margin-bottom: 16px; border-radius: 2px; }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 20px;
  font-weight: 700; color: var(--navy); font-size: 15px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 20px 20px; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: #b7c0d3; font-size: 14px; line-height: 1.7; }
.site-footer .grid-2 { align-items: start; padding: 72px 0 40px; }
.site-footer img { width: 280px; margin-bottom: 20px; }
.site-footer a { color: #fff; }
.social { display: flex; gap: 16px; list-style: none; padding: 0; margin: 20px 0 0; }
.social a { font-size: 20px; }
.copyright { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; font-size: 13px; }

.whatsapp-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--whatsapp); color: #fff;
  display: grid; place-items: center;
  font-size: 32px;
  box-shadow: 0 6px 20px rgba(0,0,0,.2);
  transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.08); text-decoration: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero__badge--1 { left: 0; }
  .hero__badge--2 { right: 0; }
}
@media (max-width: 1100px) {
  .menu-toggle { display: block; }
  .nav {
    display: none;
    position: absolute; top: 84px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid #eee;
    padding: 8px var(--gutter) 24px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; }
  .nav .btn { justify-content: center; margin-top: 8px; }
}
@media (max-width: 860px) {
  :root { --section: 64px; --gutter: 16px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 32px; }
  .partner-strip .container { flex-direction: column; text-align: center; gap: 16px; }
  .highlight { white-space: normal; }
  .site-header .logo img { height: 28px; }
}
@media (max-width: 520px) {
  .grid-4 { grid-template-columns: 1fr; }
  .hero__badge { position: static; margin-top: 12px; }
  .counters { gap: 32px; }
}

/* =========================================================
   Animações e transições
   ========================================================= */
:root { --ease: cubic-bezier(.22, .61, .36, 1); }

/* Header: encolhe e ganha sombra ao rolar */
.site-header { transition: box-shadow .3s var(--ease), background .3s; }
.site-header .container { transition: height .3s var(--ease); }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(17,38,79,.08); }
.site-header.scrolled .container { height: 70px; }

/* Links do menu: sublinhado que cresce */
.nav a:not(.btn) { position: relative; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -4px;
  width: 100%; height: 2px; background: var(--green);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:not(.btn):hover { text-decoration: none; color: var(--green); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

/* Botões: brilho que atravessa no hover */
.btn { position: relative; overflow: hidden; transition: background .25s, color .25s, transform .25s var(--ease), box-shadow .25s; }
.btn::before {
  content: ""; position: absolute; top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.25), transparent);
  transition: left .6s var(--ease);
}
.btn:hover::before { left: 140%; }
.btn:hover { box-shadow: 0 10px 24px rgba(23,44,89,.25); }

/* Aparecer ao rolar (só quando o JS está ativo) */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Sublinhado vermelho é "desenhado" */
.js .highlight::after { transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease) .4s; }
.js .highlight.is-visible::after { transform: scaleX(1); }

/* Hero: entrada na carga da página */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero__badge { animation: float 5s ease-in-out infinite; }
.hero__badge--2 { animation-delay: -2.5s; }

/* Cartões e blocos: elevação no hover */
.feature, .testimonial, .member { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.feature { padding: 24px 16px; border-radius: 8px; }
.feature:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(17,38,79,.10); background: #fff; }
.feature i { transition: transform .4s var(--ease), color .3s; }
.feature:hover i { transform: scale(1.12) rotate(-4deg); color: var(--green); }
.testimonial:hover { transform: translateY(-6px); box-shadow: 0 18px 44px rgba(17,38,79,.14); }
.member img { transition: transform .5s var(--ease), box-shadow .5s; }
.member:hover img { transform: scale(1.04); box-shadow: 0 16px 40px rgba(17,38,79,.2); }

/* Imagens grandes: zoom suave no hover */
img.rounded { transition: transform .6s var(--ease), box-shadow .6s; }
img.rounded:hover { transform: scale(1.02); box-shadow: 0 20px 50px rgba(17,38,79,.15); }

/* Contato: ícones */
.contact-list li i { transition: transform .3s var(--ease); }
.contact-list li:hover i { transform: translateY(-3px); color: var(--green); }

/* Rodapé: redes sociais */
.social a { display: inline-block; transition: transform .25s var(--ease), color .25s; }
.social a:hover { transform: translateY(-3px); color: var(--agora); }

/* FAQ: abertura suave */
.faq summary { transition: background .2s; }
.faq summary:hover { background: #ebedf1; }
.faq summary::after { transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details[open] p { animation: fadeUp .45s var(--ease); }

/* WhatsApp: pulso para chamar atenção */
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); } 70% { box-shadow: 0 0 0 18px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
.whatsapp-float { animation: pulse 2.4s infinite; }

/* Menu do celular desliza */
@media (max-width: 1100px) {
  .nav.open { animation: fadeUp .3s var(--ease); }
  .site-header.scrolled .nav { top: 70px; }
}

/* Respeita quem prefere menos movimento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .highlight::after { transform: none; }
}
