/* ===================== VARIÁVEIS — Identidade POWER PREV SOCIAL ===================== */
:root {
  --navy:      #15336e;   /* azul profundo (do símbolo) */
  --navy-deep: #0c1f47;   /* fundo escuro */
  --blue:      #1b50b5;   /* azul principal */
  --cyan:      #38b6ff;   /* ciano de destaque */
  --gold:      #38b6ff;   /* alias de destaque (mantém compatibilidade) */
  --gold-soft: #6fcaff;
  --grad:      linear-gradient(135deg, #38b6ff 0%, #1b50b5 55%, #15336e 100%);
  --ink:       #1a1f29;   /* texto escuro (igual ao logo preto) */
  --gray:      #5b6573;   /* texto secundário */
  --line:      #e6e8ec;   /* bordas */
  --bg:        #ffffff;
  --bg-alt:    #f4f8fd;   /* seções alternadas (azul levíssimo) */
  --wpp:       #25d366;
  --maxw:      1140px;
  --radius:    14px;
  --shadow:    0 10px 40px rgba(21,51,110,.10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: 'Poppins', 'Inter', system-ui, sans-serif; line-height: 1.18; font-weight: 700; letter-spacing: -.5px; }

/* ===================== BOTÕES ===================== */
.btn {
  display: inline-block;
  background: var(--grad);
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  padding: 14px 26px;
  border-radius: 999px;
  transition: transform .2s, box-shadow .2s, filter .2s;
  cursor: pointer;
  border: none;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(27,80,181,.45); filter: brightness(1.06); }
.btn--lg { padding: 17px 34px; font-size: 1.05rem; }
.btn--sm { padding: 9px 18px; font-size: .85rem; }
.btn--ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.4); }
.btn--ghost:hover { background: rgba(255,255,255,.1); box-shadow: none; }
.btn--wpp { background: var(--wpp); color: #fff; }
.btn--wpp:hover { background: #1eb958; box-shadow: 0 8px 22px rgba(37,211,102,.4); }

/* ===================== CABEÇALHO ===================== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(12,31,71,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 42px; width: auto; }
.logo__mark { font-family: 'Poppins', sans-serif; font-size: 1.5rem; color: var(--cyan); font-weight: 700; }
.logo__text { font-family: 'Poppins', sans-serif; font-size: 1.2rem; font-weight: 700; color: #fff; letter-spacing: .3px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: .92rem; font-weight: 500; color: rgba(255,255,255,.85); transition: color .2s; }
.nav a:hover { color: var(--cyan); }
.nav a.btn { color: #fff; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; color: #fff; cursor: pointer; }

/* ===================== HERO CINEMATOGRÁFICO ===================== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero__bg {
  position: absolute; inset: -4%; background-size: cover; background-position: center 30%;
  z-index: 0; animation: kenburns 22s ease-in-out infinite alternate;
  filter: saturate(.85);
}
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg, rgba(8,20,46,.95) 0%, rgba(8,20,46,.82) 38%, rgba(12,31,71,.55) 70%, rgba(27,80,181,.35) 100%),
    linear-gradient(to top, rgba(8,20,46,.9), transparent 35%);
}
.hero__inner { position: relative; z-index: 2; padding: 120px 24px; }
.hero__eyebrow { color: var(--cyan); font-weight: 600; letter-spacing: 3px; text-transform: uppercase; font-size: .8rem; margin-bottom: 18px; }
.hero__title { font-size: clamp(2.5rem, 6vw, 4.4rem); color: #fff; margin-bottom: 24px; font-weight: 800; }
.hero__sub { font-size: 1.18rem; max-width: 600px; color: rgba(255,255,255,.88); margin-bottom: 38px; }
.hero__sub strong { color: var(--cyan); }
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }
.grad-text { background: linear-gradient(90deg,#6fcaff,#38b6ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero__scroll { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 3; width: 26px; height: 44px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px; }
.hero__scroll span { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 4px; height: 8px; background: var(--cyan); border-radius: 2px; animation: scrolldot 1.8s infinite; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.12) translate(1.5%, -1.5%); } }
@keyframes scrolldot { 0% { opacity: 0; top: 8px; } 40% { opacity: 1; } 80% { opacity: 0; top: 24px; } 100% { opacity: 0; } }

/* ===================== STATS ===================== */
.stats { background: var(--navy); color: #fff; padding: 46px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat__num { display: block; font-family: 'Cormorant Garamond', serif; font-size: 2.8rem; font-weight: 700; color: var(--gold); line-height: 1; }
.stat__label { display: block; margin-top: 8px; font-size: .9rem; color: rgba(255,255,255,.75); }

/* ===================== SEÇÕES ===================== */
.section { padding: 90px 0; }
.section--alt { background: var(--bg-alt); }
.section__eyebrow { color: var(--gold); font-weight: 600; letter-spacing: 2px; text-transform: uppercase; font-size: .8rem; margin-bottom: 12px; }
.section__title { font-size: clamp(1.9rem, 4vw, 2.8rem); color: var(--navy); margin-bottom: 18px; max-width: 760px; }
.section__lead { font-size: 1.1rem; color: var(--gray); max-width: 680px; margin-bottom: 46px; }

/* ===================== ÁREAS DE ATUAÇÃO (cards de venda) ===================== */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.area {
  position: relative; display: flex; flex-direction: column;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 36px; overflow: hidden;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s, border-color .3s;
}
.area::before {
  content: ""; position: absolute; top: 0; left: 0; height: 3px; width: 0;
  background: var(--grad); transition: width .4s cubic-bezier(.2,.7,.2,1);
}
.area:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(21,51,110,.14); border-color: transparent; }
.area:hover::before { width: 100%; }
.area__head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.area__icon {
  flex-shrink: 0; width: 54px; height: 54px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); background: linear-gradient(135deg, rgba(56,182,255,.14), rgba(27,80,181,.10));
  border: 1px solid rgba(27,80,181,.14); transition: color .3s, background .3s, transform .3s;
}
.area__icon svg { width: 28px; height: 28px; }
.area:hover .area__icon { color: #fff; background: var(--grad); transform: scale(1.05); border-color: transparent; }
.area__head h3 { font-size: 1.4rem; color: var(--navy); line-height: 1.2; }
.area__pitch { color: var(--gray); font-size: 1rem; margin-bottom: 20px; }
.area__pitch strong { color: var(--ink); font-weight: 600; }
.area__list { list-style: none; margin-bottom: 26px; display: grid; gap: 9px; }
.area__list li { position: relative; padding-left: 24px; font-size: .95rem; color: var(--ink); }
.area__list li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 7px;
  border-left: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan);
  transform: rotate(-45deg); transform-origin: center;
}
.area__cta {
  margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: .92rem; color: var(--blue);
  transition: gap .25s, color .25s;
}
.area__cta span { transition: transform .25s; }
.area__cta:hover { color: var(--cyan); }
.area__cta:hover span { transform: translateX(5px); }

/* ===================== HISTÓRIA ===================== */
.historia__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.historia__media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin: 0; }
.historia__media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(8,20,46,.55), transparent 45%); pointer-events: none; }
.historia__media img { width: 100%; display: block; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.historia__media:hover img { transform: scale(1.06); }
.historia__caption { position: absolute; left: 22px; bottom: 18px; z-index: 2; font-size: .9rem; color: #fff; font-style: italic; max-width: 80%; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.historia__text p { color: var(--gray); margin-bottom: 16px; }
.historia__highlight { color: var(--navy) !important; font-weight: 600; font-size: 1.1rem; border-left: 3px solid var(--gold); padding-left: 18px; }

/* ===================== EQUIPE JURÍDICA (cinematográfica) ===================== */
.equipe { position: relative; min-height: 90vh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.equipe__bg { position: absolute; inset: -4%; background-size: cover; background-position: center 25%; z-index: 0; animation: kenburns 26s ease-in-out infinite alternate; }
.equipe__overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(8,20,46,.94) 0%, rgba(12,31,71,.78) 45%, rgba(8,20,46,.45) 100%); }
.equipe__content { position: relative; z-index: 2; max-width: 640px; padding: 100px 24px; }
.equipe__content .section__title { color: #fff; }
.equipe__lead { font-size: 1.15rem; color: rgba(255,255,255,.88); margin-bottom: 30px; }
.equipe__roster { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 0 0 34px; max-width: 540px; }
.equipe__roster li { display: flex; flex-direction: column; padding: 14px 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-left: 3px solid var(--cyan); border-radius: 10px; backdrop-filter: blur(4px); transition: transform .25s, background .25s; }
.equipe__roster li:hover { transform: translateY(-3px); background: rgba(56,182,255,.14); }
.equipe__name { font-family: 'Poppins', sans-serif; font-weight: 600; color: #fff; font-size: 1.02rem; }
.equipe__role { font-size: .82rem; color: var(--cyan); letter-spacing: .5px; }

/* ===================== DEPOIMENTOS ===================== */
.depo__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.depo {
  background: var(--bg); border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow); border-top: 3px solid var(--gold);
}
.depo p { font-size: 1.02rem; color: var(--ink); margin-bottom: 16px; font-style: italic; }
.depo cite { font-size: .88rem; color: var(--gray); font-style: normal; font-weight: 600; }
.depo__note { text-align: center; margin-top: 36px; color: var(--gray); }
.depo__note a { color: var(--gold); font-weight: 600; text-decoration: underline; }

/* ===================== GOOGLE BADGE ===================== */
.depo__google { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 40px; }
.google-badge { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 22px; box-shadow: var(--shadow); transition: transform .25s; }
.google-badge:hover { transform: translateY(-3px); }
.google-badge__g { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.6rem; background: conic-gradient(from -45deg, #ea4335, #fbbc05, #34a853, #4285f4, #ea4335); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.google-badge__txt { display: flex; flex-direction: column; font-size: .82rem; color: var(--gray); text-align: left; }
.google-badge__txt strong { color: var(--ink); font-size: .98rem; }
.google-badge__stars { color: #fbbc05; font-size: 1.2rem; letter-spacing: 2px; }

/* ===================== INSTAGRAM ===================== */
.nav__ig { font-size: 1.2rem; }
.insta { padding: 90px 0; background: var(--bg-alt); }
.insta__inner { display: block; }
.insta__head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.insta__head .section__title, .insta__head .section__lead { margin-left: auto; margin-right: auto; }
.btn--insta { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.insta__grid { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; align-items: flex-start; }
.insta__grid .instagram-media { margin: 0 !important; min-width: 300px; }

/* ===================== SOCIAL RODAPÉ ===================== */
.footer__social { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.footer__social a { font-size: .85rem; color: rgba(255,255,255,.8); }
.footer__social a:hover { color: var(--cyan); }

/* ===================== FAQ ===================== */
.faq { max-width: 800px; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { font-weight: 600; font-size: 1.08rem; color: var(--navy); cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: '+'; color: var(--gold); font-size: 1.5rem; }
.faq details[open] summary::after { content: '−'; }
.faq details p { color: var(--gray); margin-top: 12px; }

/* ===================== CTA FINAL ===================== */
.cta-final { background: linear-gradient(135deg, var(--navy-deep), var(--navy)); color: #fff; padding: 90px 0; text-align: center; }
.cta-final h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); color: #fff; max-width: 720px; margin: 0 auto 16px; }
.cta-final p { color: rgba(255,255,255,.8); font-size: 1.1rem; margin-bottom: 34px; }
.cta-final__contacts { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; margin-top: 34px; font-size: .95rem; color: rgba(255,255,255,.85); }
.cta-final__contacts a:hover { color: var(--gold); }

/* ===================== RODAPÉ ===================== */
.footer { background: var(--navy-deep); color: rgba(255,255,255,.7); padding: 40px 0; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer__brand img { height: 40px; width: auto; margin-bottom: 10px; }
.footer .logo__text { color: #fff; }
.footer p { font-size: .85rem; }
.footer__copy { font-size: .82rem; }

/* ===================== WHATSAPP FLUTUANTE ===================== */
.wpp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 200;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--wpp); color: #fff; font-size: 1.7rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,.5);
  transition: transform .2s; animation: pulse 2.5s infinite;
}
.wpp-float:hover { transform: scale(1.1); }
@keyframes pulse { 0%,100%{box-shadow:0 6px 20px rgba(37,211,102,.5);} 50%{box-shadow:0 6px 30px rgba(37,211,102,.85);} }

/* ===================== BARRA DE PROGRESSO ===================== */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 300; background: var(--grad); transition: width .1s linear; }

/* ===================== ANIMAÇÕES DE REVELAÇÃO ===================== */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); will-change: opacity, transform; }
.reveal--left { transform: translateX(-44px); }
.reveal--right { transform: translateX(44px); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal--left, .reveal--right { opacity: 1 !important; transform: none !important; }
  .hero__bg, .equipe__bg { animation: none !important; }
}

/* ===================== RESPONSIVO ===================== */
@media (max-width: 880px) {
  .nav { position: fixed; top: 74px; right: 0; flex-direction: column; background: var(--navy-deep); width: 250px; padding: 24px; gap: 18px; box-shadow: var(--shadow); transform: translateX(110%); transition: transform .3s; height: calc(100vh - 74px); align-items: flex-start; }
  .nav.open { transform: translateX(0); }
  .nav-toggle { display: block; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .cards, .depo__grid { grid-template-columns: 1fr; }
  .historia__inner { grid-template-columns: 1fr; gap: 32px; }
  .insta__inner { grid-template-columns: 1fr; gap: 32px; }
  .equipe__roster { grid-template-columns: 1fr; max-width: 100%; }
  .section, .insta { padding: 64px 0; }
}

@media (max-width: 600px) {
  /* Hero — reposiciona imagem para centralizar os rostos em portrait */
  .hero { min-height: 100svh; }
  .hero__bg { background-position: 65% top; inset: 0; animation: none; }
  .hero__overlay {
    background:
      linear-gradient(to bottom, rgba(8,20,46,.55) 0%, rgba(8,20,46,.3) 40%, rgba(8,20,46,.85) 100%);
  }
  .hero__inner { padding: 100px 20px 80px; }
  .hero__title { font-size: clamp(2rem, 9vw, 2.8rem); }
  .hero__sub { font-size: 1rem; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; text-align: center; }

  /* Nossa História — limita altura da imagem e centra os rostos */
  .historia__media img {
    max-height: 320px;
    object-fit: cover;
    object-position: center top;
  }

  /* Equipe — reduz altura mínima e reposiciona fundo para mostrar pessoas */
  .equipe { min-height: auto; }
  .equipe__bg { background-position: 40% center; animation: none; inset: 0; }
  .equipe__overlay {
    background: linear-gradient(180deg, rgba(8,20,46,.82) 0%, rgba(8,20,46,.70) 100%);
  }
  .equipe__content { padding: 64px 20px; max-width: 100%; }
  .equipe__roster { grid-template-columns: 1fr; }
}
