/* ===== LETRAS E LOGO DECORAÇÃO — Design System ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Baloo+2:wght@600;700;800&display=swap');

:root {
  --branco: #ffffff;
  --preto: #211527;
  --preto-suave: #2c1c33;
  --roxo: #a53692;
  --roxo-escuro: #7a2870;
  --roxo-claro: rgba(165, 54, 146, 0.12);
  --laranja: #f58634;
  --azul-acento: #0098db;
  --verde-acento: #a9cf46;
  --cinza: #5a6472;
  --cinza-claro: #f7f4f8;
  --borda: #e7dfe8;
  --radius: 14px;
  --transicao: 0.3s ease-in-out;
  --sombra: 0 12px 32px -8px rgba(33, 21, 39, 0.18);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

@media (min-width: 1150px) {
  html { scroll-padding-top: 104px; }
}

section[id] {
  scroll-margin-top: 84px;
}

@media (min-width: 1150px) {
  section[id] { scroll-margin-top: 104px; }
}

body {
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--preto);
  background: var(--branco);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: 'Baloo 2', 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.2px;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.3rem; }

p { color: var(--cinza); }

.section {
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
  position: relative;
  z-index: 1;
}

.section-header .tag {
  position: relative;
  display: inline-block;
  color: var(--roxo);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
  padding-bottom: 6px;
}

.section-header .tag::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 34px;
  height: 3px;
  transform: translateX(-50%);
  border-radius: 3px;
  background: linear-gradient(90deg, var(--roxo), var(--laranja), var(--azul-acento), var(--verde-acento), var(--roxo));
  background-size: 300% 100%;
  animation: gradientShift 5s linear infinite;
}

.section-header h2 { color: var(--preto); margin-bottom: 16px; }
.section-header p { font-size: 1.05rem; }

/* Backgrounds com imagem + overlay */
.bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

@media (min-width: 1024px) {
  .section .bg-image { background-attachment: fixed; }
}

.section-clara { background: var(--branco); }
.section-clara .bg-image { background-color: var(--cinza-claro); }
.section-clara .bg-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.87);
}

.section-escura { background: var(--preto); color: var(--branco); }
.section-escura .bg-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(9, 12, 17, 0.85);
}

.section-escura h2, .section-escura h3 { color: var(--branco); }
.section-escura p { color: rgba(255, 255, 255, 0.75); }
.section-escura .section-header p { color: rgba(255, 255, 255, 0.75); }

/* ===== BOTÕES ===== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 10px;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transicao);
  white-space: nowrap;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}

.btn:hover::before { left: 130%; }

.btn-primario {
  background: var(--roxo);
  color: var(--branco);
  border-color: var(--roxo);
  box-shadow: 0 10px 24px -6px rgba(165, 54, 146, 0.5);
}

.btn-primario:hover {
  background: var(--roxo-escuro);
  border-color: var(--roxo-escuro);
  transform: translateY(-2px);
}

.btn-outline-claro {
  background: rgba(255, 255, 255, 0.1);
  color: var(--branco);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-claro:hover {
  background: var(--branco);
  color: var(--preto);
  border-color: var(--branco);
}

.btn-outline-escuro {
  background: var(--roxo-claro);
  color: var(--roxo-escuro);
  border-color: rgba(165, 54, 146, 0.5);
}

.btn-outline-escuro:hover {
  background: var(--roxo);
  color: var(--branco);
  border-color: var(--roxo);
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--borda);
  transition: box-shadow var(--transicao);
}

.header.scrolled { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); }

/* ===== BARRA DE PROGRESSO DE ROLAGEM ===== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--roxo), #f58634);
  z-index: 1100;
  transition: width 0.1s ease-out;
}

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

.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 58px; width: auto; }

.nav-links { display: none; align-items: center; gap: 30px; }

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--preto);
  transition: color var(--transicao);
  position: relative;
  padding-bottom: 4px;
}

.nav-links a:hover { color: var(--roxo); }

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--roxo);
  transition: width var(--transicao);
}

.nav-links a:hover::after { width: 100%; }

.nav-links a.active { color: var(--roxo); }
.nav-links a.active::after { width: 100%; }

.nav-vitrine {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--roxo) !important;
  padding: 6px 14px;
  border-radius: 30px;
  transition: background var(--transicao), color var(--transicao);
}

.nav-vitrine:hover {
  background: var(--roxo);
  color: var(--branco) !important;
}

.mobile-nav .nav-vitrine {
  align-self: flex-start;
}

.header-cta { display: none; }

.hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--preto);
  cursor: pointer;
  padding: 8px;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--borda);
}

.mobile-nav.open { display: flex; animation: fadeIn 0.3s ease-out; }
.mobile-nav a { font-weight: 600; color: var(--preto); }
.mobile-nav .btn { width: 100%; margin-top: 6px; }

@media (min-width: 1150px) {
  .nav-links { display: flex; }
  .header-cta { display: block; }
  .hamburger { display: none; }
  .header-inner { height: 104px; }
  .logo img { height: 76px; }
}

/* ===== TICKER DE DESTAQUES ===== */
.ticker {
  background: var(--roxo);
  overflow: hidden;
  padding: 16px 0;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  animation: tickerScroll 32s linear infinite;
  will-change: transform;
}

.ticker:hover .ticker-track { animation-play-state: paused; }

.ticker-track span {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--branco);
}

.ticker-dot { color: rgba(255, 255, 255, 0.5); font-weight: 400 !important; }

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (min-width: 900px) {
  .ticker { padding: 20px 0; }
  .ticker-track span { font-size: 1.1rem; }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 84px;
  overflow: hidden;
}

@media (min-width: 1150px) {
  .hero { padding-top: 104px; }
}

.hero .bg-image {
  background-image: url('img/bg-hero.jpg');
  animation: kenBurns 22s ease-in-out infinite alternate;
}

.hero .bg-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(9, 12, 17, 0.9) 0%, rgba(9, 12, 17, 0.72) 55%, rgba(165, 54, 146, 0.4) 100%);
}

.hero-shapes {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-shapes span {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(165, 54, 146, 0.35), transparent 70%);
  filter: blur(4px);
  animation: floatShape 10s ease-in-out infinite;
}

.hero-shapes span:nth-child(1) { width: 220px; height: 220px; top: 12%; right: 8%; animation-duration: 12s; }
.hero-shapes span:nth-child(2) { width: 140px; height: 140px; bottom: 18%; right: 24%; animation-duration: 9s; animation-delay: 1.5s; }
.hero-shapes span:nth-child(3) { width: 90px; height: 90px; top: 55%; right: 42%; animation-duration: 8s; animation-delay: 0.7s; }

@keyframes floatShape {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-24px) scale(1.08); }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 32px;
  align-items: center;
}

.hero-reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: heroReveal 0.7s ease-out forwards;
  animation-delay: var(--d, 0s);
}

@keyframes heroReveal {
  to { opacity: 1; transform: translateY(0); }
}

.hero-content { max-width: 720px; padding: 60px 0; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(165, 54, 146, 0.18);
  border: 1px solid rgba(165, 54, 146, 0.5);
  color: #f58634;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 30px;
  margin-bottom: 24px;
}

.hero-content h1 { color: var(--branco); font-size: 2.6rem; margin-bottom: 14px; }

.hero-content h2 {
  color: #f58634;
  font-size: 1.3rem;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 20px;
  line-height: 1.4;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  max-width: 600px;
  margin-bottom: 36px;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 44px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 480px;
}

.hero-stat {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-stat h3 {
  position: relative;
  color: var(--roxo);
  font-size: 1.6rem;
  background: rgba(165, 54, 146, 0.16);
  border: 1px solid rgba(165, 54, 146, 0.4);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-stat h3::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(165, 54, 146, 0.6);
  animation: pulseRing 2.4s ease-out infinite;
}

.hero-stat:nth-child(2) h3::after { animation-delay: 1.2s; }

@keyframes pulseRing {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.7); opacity: 0; }
}

.hero-stat p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  font-weight: 500;
}

@media (min-width: 640px) {
  .hero-buttons { flex-direction: row; }
}

@media (min-width: 1150px) {
  .hero-content h1 { font-size: 3.4rem; }
  .hero-content h2 { font-size: 1.55rem; }
}

/* ===== ABOUT / SOBRE ===== */
.sobre-intro {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto 56px;
  text-align: center;
}

.cards-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
  margin-bottom: 0;
}

.card {
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: var(--radius);
  padding: 32px;
  transition: all var(--transicao);
}

.section-escura .card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}

.card:hover {
  box-shadow: var(--sombra);
  border-color: rgba(165, 54, 146, 0.4);
  transform: translateY(-6px);
}

.icon-box {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--roxo-claro);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform var(--transicao), background var(--transicao);
}

.icon-box i { font-size: 1.4rem; color: var(--roxo); }

.section-escura .icon-box { background: rgba(165, 54, 146, 0.2); }
.section-escura .icon-box i { color: #f58634; }

/* Variações de cor dos ícones, inspiradas nos triângulos da marca */
.icon-box.laranja { background: rgba(245, 134, 52, 0.15); }
.icon-box.laranja i { color: var(--laranja); }
.icon-box.azul { background: rgba(0, 152, 219, 0.15); }
.icon-box.azul i { color: var(--azul-acento); }
.icon-box.verde { background: rgba(169, 207, 70, 0.18); }
.icon-box.verde i { color: #7a9a2e; }
.section-escura .icon-box.laranja { background: rgba(245, 134, 52, 0.2); }
.section-escura .icon-box.laranja i { color: var(--laranja); }
.section-escura .icon-box.azul { background: rgba(0, 152, 219, 0.2); }
.section-escura .icon-box.azul i { color: var(--azul-acento); }
.section-escura .icon-box.verde { background: rgba(169, 207, 70, 0.2); }
.section-escura .icon-box.verde i { color: var(--verde-acento); }

.card h3 { margin-bottom: 12px; }
.card p { font-size: 0.95rem; }

.valores-list { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }

.valores-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--cinza);
  transition: transform var(--transicao);
}

.section-escura .valores-list li { color: rgba(255, 255, 255, 0.75); }

.valores-list li:hover { transform: translateX(4px); }
.valores-list strong { color: var(--preto); }
.section-escura .valores-list strong { color: var(--branco); }

.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--roxo);
  margin-top: 7px;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .cards-grid.cards-3 { grid-template-columns: repeat(3, 1fr); }
}

/* ===== MERCADO ===== */
.mercado-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
}

@media (min-width: 700px) {
  .mercado-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== ATIVIDADES ===== */
.atividades-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 24px;
}

.atividade-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: all var(--transicao);
  overflow: hidden;
}

.atividade-media {
  margin: -30px -28px 24px;
  height: 170px;
  overflow: hidden;
  position: relative;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.atividades-grid.visible .atividade-media {
  clip-path: inset(0 0 0 0);
}

.atividade-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.atividade-card:hover .atividade-media img {
  transform: scale(1.08);
}

.atividade-card:hover {
  transform: translateY(-6px);
  border-color: rgba(165, 54, 146, 0.5);
  box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.5);
}

.atividade-card h3 {
  font-size: 1.15rem;
  margin-bottom: 16px;
  color: var(--branco);
}

.atividade-card > p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.atividade-list { display: flex; flex-direction: column; gap: 10px; }

.atividade-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.atividade-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--roxo);
}

/* Cards de atividade sobre fundo claro (ex.: seção Serviços) */
.section-clara .atividade-card {
  background: var(--branco);
  border: 1px solid var(--borda);
}

.section-clara .atividade-card:hover {
  border-color: rgba(165, 54, 146, 0.4);
  box-shadow: var(--sombra);
}

.section-clara .atividade-card h3 { color: var(--preto); }
.section-clara .atividade-list li { color: var(--cinza); }
.section-clara .atividade-card > p { color: var(--cinza); }

@media (min-width: 700px) {
  .atividades-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1100px) {
  .atividades-grid { grid-template-columns: repeat(3, 1fr); }
  .processo-grid { grid-template-columns: repeat(4, 1fr) !important; }
}

.atividades-cta {
  position: relative;
  z-index: 1;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 48px 32px;
  margin-top: 48px;
  color: var(--branco);
}

.atividades-cta h3 { color: var(--branco); margin-bottom: 14px; }

.atividades-cta p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin: 0 auto 28px;
}

.step-num {
  display: inline-block;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 1px;
  color: var(--laranja);
  background: rgba(245, 134, 52, 0.15);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  animation: stepPulse 2.4s ease-in-out infinite;
}

@keyframes stepPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 134, 52, 0.4); }
  50% { box-shadow: 0 0 0 7px rgba(245, 134, 52, 0); }
}

/* ===== DIFERENCIAIS ===== */
.diferenciais-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 24px;
}

.diferencial-item { text-align: center; padding: 24px; }
.diferencial-item .icon-box { margin: 0 auto 20px; background: var(--roxo-claro); }
.diferencial-item h3 { font-size: 1.1rem; margin-bottom: 10px; }
.diferencial-item p { font-size: 0.9rem; }

@media (min-width: 640px) {
  .diferenciais-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .diferenciais-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ===== VITRINE ===== */
.vitrine-box {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.vitrine-icon {
  width: 72px;
  height: 72px;
  font-size: 1.8rem;
  margin-bottom: 0;
  flex-shrink: 0;
}

.icon-box.vitrine-icon {
  background: var(--roxo);
}

.icon-box.vitrine-icon i {
  font-size: 1.8rem;
  color: var(--branco);
}

.vitrine-content .tag {
  display: inline-block;
  color: var(--roxo);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.vitrine-content h2 {
  color: var(--branco);
  margin-bottom: 14px;
}

.vitrine-content p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin: 0 auto 28px;
}

@media (min-width: 900px) {
  .vitrine-box {
    flex-direction: row;
    text-align: left;
    padding: 56px 64px;
    gap: 40px;
  }

  .vitrine-content p {
    margin: 0 0 28px;
  }
}

/* ===== CONTATO ===== */
.contato-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 40px;
}

.contato-info h3 { margin-bottom: 24px; }

.contato-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
}

.contato-item .icon-box {
  width: 48px; height: 48px;
  margin-bottom: 0;
  flex-shrink: 0;
}

.contato-item .icon-box i { font-size: 1.15rem; }

.contato-item h4 {
  font-size: 0.95rem;
  margin-bottom: 3px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: var(--branco);
}

.contato-item a, .contato-item p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  transition: color var(--transicao);
}

.contato-item a:hover { color: #f58634; }

.contato-cta-card {
  position: relative;
  background: linear-gradient(150deg, rgba(165, 54, 146, 0.22), rgba(165, 54, 146, 0.06));
  border: 1px solid rgba(165, 54, 146, 0.4);
  border-radius: var(--radius);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.contato-cta-card .icon-box {
  background: var(--roxo);
  margin-bottom: 4px;
}

.contato-cta-card .icon-box i { color: var(--branco); }
.contato-cta-card h3 { color: var(--branco); }
.contato-cta-card p { color: rgba(255, 255, 255, 0.78); margin-bottom: 8px; }

@media (min-width: 1024px) {
  .contato-grid { grid-template-columns: 1fr 1fr; }
}

/* ===== FOOTER ===== */
.footer { background: var(--preto); color: var(--branco); padding: 64px 0 0; }
.footer-grid { display: grid; gap: 36px; padding-bottom: 44px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo img { height: 40px; }

.footer-desc {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
  line-height: 1.7;
  font-size: 0.92rem;
}

.footer-socials { display: flex; gap: 14px; }

.footer-socials a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--branco);
  font-size: 1.1rem;
  transition: all var(--transicao);
}

.footer-socials a:hover { background: var(--roxo); transform: translateY(-3px); }

.footer-col h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  margin-bottom: 18px;
  color: var(--branco);
}

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul a, .footer-col ul span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  transition: color var(--transicao);
}

.footer-col ul a:hover { color: #f58634; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 0;
  text-align: center;
}

.footer-bottom p { font-size: 0.82rem; color: rgba(255, 255, 255, 0.55); }
.footer-bottom p a { color: rgba(255, 255, 255, 0.75); text-decoration: underline; transition: color var(--transicao); }
.footer-bottom p a:hover { color: var(--laranja); }

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

/* ===== WHATSAPP FLUTUANTE (discreto, sem animação) ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transition: background var(--transicao);
}

.whatsapp-float:hover { background: #1fb855; }
.whatsapp-float i { color: var(--branco); font-size: 1.7rem; }

/* Evita redundância/sobreposição visual enquanto o CTA de WhatsApp do Hero já está visível */
.whatsapp-float {
  transition: background var(--transicao), opacity 0.3s ease, transform 0.3s ease;
}

.whatsapp-float.oculto-hero {
  opacity: 0;
  transform: scale(0.7);
  pointer-events: none;
}

/* ===== FAQ (ACORDEÃO) ===== */
.faq-list {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transicao), box-shadow var(--transicao);
}

.faq-item.open {
  border-color: rgba(165, 54, 146, 0.4);
  box-shadow: var(--sombra);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--preto);
}

.faq-question .icon-box {
  width: 34px;
  height: 34px;
  margin-bottom: 0;
  flex-shrink: 0;
  background: var(--roxo-claro);
}

.faq-question .icon-box i {
  font-size: 0.85rem;
  color: var(--roxo);
  transition: transform var(--transicao);
}

.faq-item.open .faq-question .icon-box i { transform: rotate(180deg); }
.faq-item.open .faq-question .icon-box { background: var(--roxo); }
.faq-item.open .faq-question .icon-box i { color: var(--branco); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer p {
  padding: 0 24px 22px;
  font-size: 0.95rem;
  color: var(--cinza);
  line-height: 1.65;
}

/* ===== BANNER DE COOKIES / LGPD ===== */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 96px;
  max-width: 800px;
  margin: 0 auto;
  background: var(--preto);
  color: var(--branco);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 22px 26px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.5);
  z-index: 9998;
  transform: translateY(140%);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
  pointer-events: none;
}

.cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-banner-text { flex: 1 1 280px; }

.cookie-banner-text p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}

.cookie-banner-text a {
  color: var(--laranja);
  text-decoration: underline;
}

.cookie-banner-actions {
  flex-shrink: 0;
  margin-left: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-banner .btn {
  padding: 11px 20px;
  font-size: 0.85rem;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .cookie-banner {
    left: 14px;
    right: 14px;
    bottom: 90px;
    padding: 18px;
    gap: 14px;
  }

  .cookie-banner-actions { width: 100%; margin-left: 0; }
  .cookie-banner .btn { flex: 1 1 auto; white-space: normal; }
}

/* ===== MODAL DE PREFERÊNCIAS DE COOKIES ===== */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9, 12, 17, 0.65);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cookie-modal-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.cookie-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%);
  width: min(540px, 92vw);
  max-height: 85vh;
  overflow-y: auto;
  background: var(--branco);
  border-radius: var(--radius);
  padding: 32px;
  z-index: 10001;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.45);
}

.cookie-modal.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%);
}

.cookie-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.cookie-modal-header h3 { font-size: 1.3rem; }

.cookie-modal-close {
  background: none;
  border: none;
  font-size: 1.1rem;
  color: var(--cinza);
  cursor: pointer;
  padding: 4px 8px;
  flex-shrink: 0;
  transition: color var(--transicao);
}

.cookie-modal-close:hover { color: var(--roxo); }

.cookie-modal-intro {
  font-size: 0.9rem;
  color: var(--cinza);
  line-height: 1.6;
  margin-bottom: 20px;
}

.cookie-category {
  border-top: 1px solid var(--borda);
  padding: 18px 0;
}

.cookie-category:first-of-type { border-top: none; padding-top: 4px; }

.cookie-category-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.cookie-category-head h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
  color: var(--preto);
}

.cookie-category-head p {
  font-size: 0.85rem;
  color: var(--cinza);
  line-height: 1.55;
  margin: 0;
}

.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 26px;
  flex-shrink: 0;
  margin-top: 2px;
}

.cookie-toggle input { opacity: 0; width: 0; height: 0; }

.cookie-toggle-slider {
  position: absolute;
  inset: 0;
  background: rgba(90, 100, 114, 0.25);
  border-radius: 26px;
  cursor: pointer;
  transition: background var(--transicao);
}

.cookie-toggle-slider::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  top: 3px;
  background: var(--branco);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transition: transform var(--transicao);
}

.cookie-toggle input:checked + .cookie-toggle-slider { background: var(--roxo); }
.cookie-toggle input:checked + .cookie-toggle-slider::before { transform: translateX(20px); }

.cookie-toggle input:disabled + .cookie-toggle-slider {
  background: rgba(165, 54, 146, 0.45);
  cursor: not-allowed;
}

.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.cookie-modal-actions .btn {
  flex: 1 1 auto;
  padding: 14px 20px;
  font-size: 0.88rem;
  white-space: normal;
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes kenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.12); }
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Revelação escalonada dos itens dentro de grids */
.cards-grid.visible > *,
.diferenciais-grid.visible > *,
.mercado-grid.visible > *,
.atividades-grid.visible > *,
.hero-stats.visible > * {
  opacity: 1;
  transform: translateY(0);
}

.cards-grid > *,
.diferenciais-grid > *,
.mercado-grid > *,
.atividades-grid > *,
.hero-stats > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease-out, transform 0.55s ease-out;
}

.cards-grid > *:nth-child(1), .diferenciais-grid > *:nth-child(1), .mercado-grid > *:nth-child(1), .atividades-grid > *:nth-child(1), .hero-stats > *:nth-child(1) { transition-delay: 0.05s; }
.cards-grid > *:nth-child(2), .diferenciais-grid > *:nth-child(2), .mercado-grid > *:nth-child(2), .atividades-grid > *:nth-child(2), .hero-stats > *:nth-child(2) { transition-delay: 0.15s; }
.cards-grid > *:nth-child(3), .diferenciais-grid > *:nth-child(3), .mercado-grid > *:nth-child(3), .atividades-grid > *:nth-child(3) { transition-delay: 0.25s; }
.diferenciais-grid > *:nth-child(4), .mercado-grid > *:nth-child(4), .atividades-grid > *:nth-child(4) { transition-delay: 0.35s; }
.diferenciais-grid > *:nth-child(5), .atividades-grid > *:nth-child(5) { transition-delay: 0.45s; }
.diferenciais-grid > *:nth-child(6), .atividades-grid > *:nth-child(6) { transition-delay: 0.55s; }

/* Tilt 3D dinâmico nos cards (acompanha o cursor via JS) */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out, box-shadow var(--transicao), border-color var(--transicao);
  will-change: transform;
}

.tilt-card:hover {
  box-shadow: var(--sombra);
  border-color: rgba(165, 54, 146, 0.4);
}

.atividade-card.tilt-card:hover {
  box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.5);
  border-color: rgba(165, 54, 146, 0.5);
}

/* Borda que percorre as cores da marca ao passar o mouse */
.card:hover, .diferencial-item:hover, .atividade-card:hover {
  animation: borderCycle 3s linear infinite;
}

@keyframes borderCycle {
  0%, 100% { border-color: rgba(165, 54, 146, 0.55); }
  25% { border-color: rgba(245, 134, 52, 0.55); }
  50% { border-color: rgba(0, 152, 219, 0.55); }
  75% { border-color: rgba(169, 207, 70, 0.55); }
}

/* ===== TRIÂNGULOS DECORATIVOS (inspirados na logo) ===== */
.brand-shapes {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.brand-shapes .tri {
  position: absolute;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  opacity: 0.4;
  animation: floatTri 12s ease-in-out infinite;
}

.brand-shapes .tri.laranja { background: var(--laranja); }
.brand-shapes .tri.azul { background: var(--azul-acento); }
.brand-shapes .tri.verde { background: var(--verde-acento); }
.brand-shapes .tri.roxo { background: var(--roxo); }

@keyframes floatTri {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-22px) rotate(16deg); }
}

/* ===== SPOTLIGHT QUE ACOMPANHA O CURSOR ===== */
.spotlight {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  background: radial-gradient(360px circle at var(--sx, 50%) var(--sy, 50%), rgba(255, 255, 255, 0.08), transparent 70%);
}

.spotlight.active { opacity: 1; }

.section-clara .spotlight {
  background: radial-gradient(360px circle at var(--sx, 50%) var(--sy, 50%), rgba(165, 54, 146, 0.06), transparent 70%);
}

.card:hover .icon-box, .diferencial-item:hover .icon-box, .contato-item:hover .icon-box {
  transform: scale(1.12) rotate(-6deg);
  background: var(--roxo);
}

.card:hover .icon-box i, .diferencial-item:hover .icon-box i, .contato-item:hover .icon-box i {
  color: var(--branco);
}

/* Botões: leve deslocamento do ícone */
.btn i { transition: transform var(--transicao); }
.btn:hover i { transform: translateX(3px) scale(1.05); }

/* Logo com leve flutuação no header */
.logo img { transition: transform var(--transicao); }
.logo:hover img { transform: rotate(-4deg) scale(1.05); }

/* ===== TELAS MUITO PEQUENAS (≤380px) ===== */
@media (max-width: 380px) {
  .container { padding: 0 18px; }
  .hero-tag { font-size: 0.72rem; padding: 6px 12px; gap: 6px; }
  .hero-content h1 { font-size: 2.1rem; }
  .btn { white-space: normal; text-align: center; padding: 14px 22px; }
  .section { padding: 64px 0; }
  .atividades-cta, .contato-cta-card { padding: 32px 20px; }
  .hero-stats { grid-template-columns: 1fr; max-width: 100%; }
}


/* Respeitar preferência do usuário por menos movimento */
@media (prefers-reduced-motion: reduce) {
  .hero .bg-image,
  .fade-in,
  .cards-grid > *,
  .diferenciais-grid > *,
  .mercado-grid > *,
  .atividades-grid > *,
  .hero-stats > *,
  .hero-reveal,
  .hero-shapes span,
  .hero-stat h3::after,
  .btn::before,
  .ticker-track,
  .section-header .tag::after,
  .step-num,
  .atividade-media,
  .card:hover, .diferencial-item:hover, .atividade-card:hover,
  .brand-shapes .tri {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }

  .hero-shapes, .brand-shapes, .spotlight { display: none; }
}
