﻿*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ════════════════════════════════════════
   DESIGN TOKENS — fonte única da verdade visual
   Uso de rgba com opacidade: rgba(var(--primary-rgb), 0.1)
════════════════════════════════════════ */
:root {
  /* ── Brand ── */
  --primary:      #E8650A;
  --primary-deep: #C4500A;
  --primary-rgb:  232, 101, 10;

  /* ── Backgrounds ── */
  --bg-dark:      #1C1C1E;
  --bg-deeper:    #111113;
  --bg-carbon:    #3A3A3C;
  --bg-light:     #F5F5F0;
  --white:        #ffffff;
  --white-rgb:    255, 255, 255;

  /* ── Text ── */
  --text-light:   #F5F5F5;
  --text-muted:   #888888;
  --text-body:    #555555;
  --text-subtle:  #666666;
  --text-dim:     #444444;

  /* ── Border Radius ── */
  --radius-sm:    6px;
  --radius-md:    8px;
  --radius-lg:    12px;
  --radius-xl:    14px;
  --radius-badge: 20px;
  --radius-pill:  100px;

  /* ── Shadows ── */
  --shadow-primary:    0 8px 28px rgba(var(--primary-rgb),0.35);
  --shadow-primary-sm: 0 4px 20px rgba(var(--primary-rgb),0.15);
  --shadow-card:       0 6px 28px rgba(var(--primary-rgb),0.10);
  --shadow-modal:      0 20px 56px rgba(0,0,0,0.20);

  /* ── Z-index ── */
  --z-float:  900;
  --z-cookie: 9500;
  --z-nav:    1000;
  --z-modal:  9999;
  --z-toast:  99999;

  /* ── Motion ── */
  --ease:      0.3s ease;
  --ease-fast: 0.2s ease;

  /* ── Feedback de formulário ── */
  --feedback-success-bg:     #d1fae5;
  --feedback-success-text:   #065f46;
  --feedback-success-border: #6ee7b7;
  --feedback-error-bg:       #fee2e2;
  --feedback-error-text:     #991b1b;
  --feedback-error-border:   #fca5a5;
}

/* ── SKIP LINK (Acessibilidade WCAG 2.1) ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--primary);
  color: var(--white);
  padding: 10px 20px;
  z-index: var(--z-toast);
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  text-decoration: none;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { top: 0; }

/* ── CREDIBILITY BADGE ── */
.credibility-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.cred-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid rgba(var(--white-rgb),0.18);
  border-radius: var(--radius-badge);
  font-size: 12px;
  font-weight: 500;
  color: rgba(var(--white-rgb),0.8);
  background: rgba(var(--white-rgb),0.06);
}
.cred-badge svg { flex-shrink: 0; }

/* ── NAV LINK ACTIVE ── */
.nav-links a.nav-active { color: var(--primary); }
.nav-links a.nav-active::after { width: 100%; }

/* ── TESTIMONIALS ── */
#depoimentos {
  background: var(--bg-deeper);
  padding: 96px 0;
}
#depoimentos .section-title { color: var(--text-light); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 56px;
  border-top: 1px solid rgba(var(--white-rgb),0.07);
}
.testimonial-card {
  background: transparent;
  border: none;
  border-right: 1px solid rgba(var(--white-rgb),0.06);
  border-radius: 0;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.testimonial-card:last-child { border-right: none; }
.testimonial-card::before {
  content: '\201C';
  font-family: 'Rajdhani', sans-serif;
  font-size: 72px;
  line-height: 0.75;
  color: rgba(var(--white-rgb),0.15);
  display: block;
  margin-bottom: 4px;
}
.testimonial-stars { display: none; }
.testimonial-card blockquote {
  font-size: 15px;
  line-height: 1.78;
  color: rgba(var(--white-rgb),0.88);
  font-style: normal;
  flex: 1;
}
.testimonial-card blockquote::before { content: none; }
.testimonial-card blockquote::after  { content: none; }
.testimonial-cite {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(var(--white-rgb),0.06);
}
.testimonial-avatar { display: none; }
.testimonial-cite cite {
  font-style: normal;
  font-size: 13px;
}
.testimonial-cite cite strong {
  display: block;
  color: var(--text-light);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.testimonial-cite cite span { color: var(--primary); opacity: 0.75; font-size: 12px; }

/* ── COOKIE CONSENT BANNER ── */
#cookieConsent {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(18,18,20,0.97);
  border-top: 1px solid rgba(var(--primary-rgb),0.2);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  z-index: var(--z-cookie);
  backdrop-filter: blur(8px);
  transform: translateY(0);
  transition: transform 0.35s ease;
}
#cookieConsent.hidden { transform: translateY(110%); pointer-events: none; }
#cookieConsent p {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
  flex: 1;
  margin: 0;
}
#cookieConsent p a { color: rgba(var(--primary-rgb),0.9); }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn {
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid rgba(var(--primary-rgb),0.5);
  font-family: 'Inter', sans-serif;
  transition: all 0.2s ease;
}
.cookie-btn-accept {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.cookie-btn-accept:hover { background: var(--primary-deep); }
.cookie-btn-decline {
  background: transparent;
  color: rgba(255,255,255,0.6);
  border-color: rgba(255,255,255,0.2);
}
.cookie-btn-decline:hover { border-color: rgba(255,255,255,0.5); color: var(--white); }

/* ── WHATSAPP FLOATING BUTTON ── */
.wa-float {
  position: fixed;
  bottom: 88px;
  right: 28px;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  text-decoration: none;
  z-index: var(--z-float);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.6);
}
.wa-float svg { width: 28px; height: 28px; }

/* ── BACK TO TOP ── */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 28px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(var(--primary-rgb),0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: var(--z-float);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.back-to-top:hover { background: var(--primary-deep); transform: translateY(-2px); }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  line-height: 1.15;
}

/* ── CONTAINER ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── LABEL / EYEBROW ── */
.label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}

/* ── SECTION TITLE ── */
.section-title {
  font-size: clamp(32px, 4vw, 44px);
  margin-bottom: 16px;
}

.section-title::after {
  content: '';
  display: block;
  width: 44px;
  height: 3px;
  background: var(--primary);
  margin-top: 12px;
}

.section-title.center::after { margin-left: auto; margin-right: auto; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--ease);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-deep);
  border-color: var(--primary-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(var(--primary-rgb),0.35);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(var(--primary-rgb),0.35);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}
.btn-white:hover {
  background: transparent;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.25);
}

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.d1 { transition-delay: 0.10s; }
.d2 { transition-delay: 0.20s; }
.d3 { transition-delay: 0.30s; }
.d4 { transition-delay: 0.40s; }
.d5 { transition-delay: 0.50s; }

/* ════════════════════════════════════════
   NAVBAR
════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  background: var(--bg-dark);
  transition: box-shadow var(--ease), background var(--ease);
}
#navbar.scrolled {
  background: rgba(28,28,30,0.96);
  box-shadow: 0 2px 32px rgba(0,0,0,0.45);
  backdrop-filter: blur(12px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-name {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 21px;
  letter-spacing: 0.01em;
}
.logo-name .s { color: var(--primary); }
.logo-name .rest { color: var(--text-light); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  position: relative;
  transition: color var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width var(--ease);
}
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 16px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-light);
  border-radius: 2px;
  transition: all var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  background: rgba(28,28,30,0.98);
  border-top: 1px solid rgba(255,255,255,0.05);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 14px 24px;
  color: var(--text-light);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: color var(--ease), background var(--ease);
}
.mobile-nav a:hover { color: var(--primary); background: rgba(var(--primary-rgb),0.04); }
.mobile-nav a.cta-mob { color: var(--primary); font-weight: 600; }

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
#inicio {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg-dark);
  overflow: hidden;
  padding: 110px 0 80px;
}

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

#inicio::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent 5%, var(--primary) 20%, var(--primary) 80%, transparent 95%);
  pointer-events: none;
  z-index: 1;
}

.hero-content { position: relative; z-index: 1; max-width: 740px; }

.hero-content h1 {
  font-size: clamp(42px, 6.5vw, 72px);
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.hero-content h1 .accent { color: var(--primary); }

/* Acima de ~1100px o clamp() do h1 já atinge o teto (72px) e a segunda
   linha ("Consultoria que faz sentido.") passa a exigir mais largura do
   que os 740px padrão — sem isso ela quebra no meio da frase. */
@media (min-width: 1100px) {
  .hero-content { max-width: 1040px; }
}

.hero-content p {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 580px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── Hero: atalhos para as soluções (ponte para #solucoes, não decoração) ── */
.hero-services {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(var(--white-rgb), 0.08);
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(var(--white-rgb), 0.12);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  text-decoration: none;
  transition: color var(--ease-fast), border-color var(--ease-fast), background var(--ease-fast);
}
.hero-tag::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(var(--white-rgb), 0.35);
  flex-shrink: 0;
  transition: background var(--ease-fast);
}
.hero-tag:hover,
.hero-tag:focus-visible {
  color: var(--text-light);
  border-color: rgba(var(--primary-rgb), 0.5);
  background: rgba(var(--primary-rgb), 0.08);
}
.hero-tag:hover::before,
.hero-tag:focus-visible::before {
  background: var(--primary);
}

/* ── Hero: convite para rolar ── */
.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: rgba(var(--white-rgb), 0.45);
  z-index: 1;
  animation: hero-scroll-cue-bounce 2.2s ease-in-out infinite;
}
.hero-scroll-cue:hover,
.hero-scroll-cue:focus-visible {
  color: var(--primary);
}
@keyframes hero-scroll-cue-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}
@media (max-width: 768px) {
  .hero-scroll-cue { display: none; }
}

/* ════════════════════════════════════════
   STATS
════════════════════════════════════════ */

/* ════════════════════════════════════════
   SERVICES
════════════════════════════════════════ */
#solucoes {
  background: var(--bg-light);
  padding: 100px 0;
}

.services-header {
  text-align: center;
  margin-bottom: 60px;
}
.services-header .section-title { color: var(--bg-dark); }
.services-header .section-title::after { display: none; }
.services-header p {
  color: var(--text-subtle);
  font-size: 16px;
  max-width: 520px;
  margin: 0 auto;
}

.btn-sm { padding: 9px 20px; font-size: 13px; }

/* ── SOLUÇÕES — layout expandido (agro-grid pattern) ───── */
.sol-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  padding: 36px 0 52px;
}
.sol-grid.reverse .sol-visual { order: -1; }

.sol-divider {
  border: none;
  border-top: 1px solid rgba(0,0,0,0.07);
  margin: 0;
}

/* .section-badge — componente canônico; .sol-badge é alias */
.section-badge,
.sol-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(var(--primary-rgb), 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.22);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  margin-bottom: 20px;
}
.section-badge .dot,
.sol-badge .dot { width: 6px; height: 6px; background: var(--primary); border-radius: 50%; flex-shrink: 0; }
.section-badge span,
.sol-badge span { font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary); }

.sol-text > p { color: var(--text-body); font-size: 16px; line-height: 1.8; margin-bottom: 32px; }

/* ── Soluções: grid de cards ── */
.sol-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.sol-card {
  width: 100%;
  background: var(--white);
  border: 1.5px solid rgba(var(--primary-rgb),0.12);
  border-radius: var(--radius-xl);
  cursor: pointer;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  position: relative;
  text-align: center;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}
.sol-card:hover {
  box-shadow: 0 6px 28px rgba(var(--primary-rgb),0.10);
  border-color: rgba(var(--primary-rgb),0.30);
  transform: translateY(-2px);
}
.sol-card[aria-expanded="true"] {
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(var(--primary-rgb),0.15);
}
.sol-card--featured {
  border-color: rgba(var(--primary-rgb),0.32);
}
.sol-card--featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.sol-featured-tag {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  padding: 3px 8px;
  border: 1px solid rgba(var(--primary-rgb),0.28);
  border-radius: var(--radius-badge);
  margin-bottom: 4px;
  display: inline-block;
}

.sol-card-img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  display: block;
  padding: 18px 20px 14px;
  background: rgba(var(--primary-rgb),0.03);
  border-bottom: 1px solid rgba(var(--primary-rgb),0.08);
}

.sol-card-label {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--bg-dark);
  padding: 10px 14px 14px;
  line-height: 1.3;
  display: block;
  transition: color 0.2s ease;
}
.sol-card[aria-expanded="true"] .sol-card-label { color: var(--primary); }

.sol-arr {
  position: absolute;
  top: 10px; right: 10px;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1.5px solid rgba(var(--primary-rgb),0.35);
  background: rgba(255,255,255,0.9);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; color: var(--primary); line-height: 1;
  transition: all 0.25s ease;
}
.sol-card[aria-expanded="true"] .sol-arr {
  background: rgba(var(--primary-rgb),0.14);
  border-color: var(--primary);
  transform: rotate(45deg);
}

/* Painéis full-width abaixo do grid */
.sol-panels { margin-top: 8px; }

.sol-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.55s ease, opacity 0.4s ease;
}
.sol-panel.open { max-height: 1400px; opacity: 1; }

.sol-panel .sol-grid {
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 32px 0 48px;
  border-top: 2px solid rgba(var(--primary-rgb),0.12);
}
.sol-panel .sol-visual { display: flex; }
.sol-panel .sol-features { grid-template-columns: 1fr 1fr; }

.sol-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 36px;
}
.sol-feat { display: flex; gap: 12px; align-items: flex-start; }
.sol-feat h4 { font-size: 14px; font-weight: 600; color: var(--bg-dark); margin-bottom: 4px; }
.sol-feat p  { font-size: 12px; color: var(--text-subtle); margin: 0; line-height: 1.5; }

.sol-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.sol-visual svg,
.about-visual svg { max-width: 320px; }

/* ════════════════════════════════════════
   ABOUT
════════════════════════════════════════ */
#sobre {
  background: var(--bg-deeper);
  padding: 100px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 680px;
  margin: 0 auto;
}

.about-text .section-title { color: var(--text-light); }

.about-text p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 18px;
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 30px;
}
.pillar {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.pillar-dot {
  width: 8px; height: 8px;
  background: rgba(var(--white-rgb),0.3);
  border-radius: 50%;
  margin-top: 9px;
  flex-shrink: 0;
}
.pillar p { color: var(--text-muted); font-size: 15px; margin: 0; }
.pillar strong { color: var(--text-light); }

.about-visual { display: none; }

.about-founder {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(var(--white-rgb),0.07);
}
.founder-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(var(--primary-rgb),0.12);
  border: 1px solid rgba(var(--primary-rgb),0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--primary);
  flex-shrink: 0;
}
.founder-info strong {
  display: block;
  color: var(--text-light);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}
.founder-info span {
  color: var(--text-muted);
  font-size: 12px;
}

/* ════════════════════════════════════════
   PROCESSO
════════════════════════════════════════ */
#processo {
  background: var(--bg-dark);
  padding: 96px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.processo-header { text-align: center; margin-bottom: 64px; }
.processo-header p { color: var(--text-muted); max-width: 480px; margin: 0 auto; }
.processo-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}
.processo-steps::before {
  content: '';
  position: absolute;
  top: 65px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(var(--primary-rgb),0.5) 15%, rgba(var(--primary-rgb),0.5) 85%, transparent 100%);
}
.processo-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  position: relative;
}
.step-num {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
  letter-spacing: 0;
  color: rgba(var(--primary-rgb), 0.32);
  margin-bottom: -4px;
}
.step-dot {
  width: 60px; height: 60px;
  border-radius: 50%;
  border: 2px solid rgba(var(--primary-rgb),0.35);
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}
.processo-step:hover .step-dot {
  background: rgba(var(--primary-rgb),0.14);
  border-color: rgba(var(--primary-rgb),0.65);
  box-shadow: 0 0 20px rgba(var(--primary-rgb),0.15);
}
.processo-step h3 { font-size: 17px; margin-bottom: 10px; color: var(--text-light); }
.processo-step p  { font-size: 13px; color: var(--text-muted); line-height: 1.65; }

/* ════════════════════════════════════════
   FAQ
════════════════════════════════════════ */
#faq { background: var(--bg-light); padding: 96px 0; }
#faq .section-title { color: var(--bg-dark); }
#faq .section-title::after { display: none; }
#faq .faq-sub {
  color: var(--text-body);
  font-size: 16px;
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
#faq .label { color: var(--primary); }
.faq-wrap {
  max-width: 760px;
  margin: 0 auto;
}
details.faq-item { border-bottom: 1px solid rgba(0,0,0,0.08); }
details.faq-item:first-of-type { border-top: 1px solid rgba(0,0,0,0.08); }
details.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: var(--bg-dark);
  user-select: none;
  transition: color 0.2s ease;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details[open] summary { color: var(--primary); }
.faq-plus {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1.5px solid rgba(var(--primary-rgb),0.4);
  background: rgba(var(--primary-rgb),0.06);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: var(--primary);
  line-height: 1;
  transition: all 0.2s ease;
}
details[open] .faq-plus {
  background: rgba(var(--primary-rgb),0.12);
  border-color: var(--primary);
  transform: rotate(45deg);
}
.faq-ans {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0;
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.72;
  max-width: 700px;
  transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.35s ease;
}
details[open] .faq-ans {
  max-height: 400px;
  opacity: 1;
  padding: 0 0 22px;
}

/* ════════════════════════════════════════
   CTA / CONTATO
════════════════════════════════════════ */
#contato {
  background: var(--primary);
  padding: 96px 0;
}
#contato .label { color: rgba(255,255,255,0.82); }
.cta-headline {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 10px;
}
.cta-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
  max-width: 480px;
}
.cta-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 56px;
  align-items: start;
}
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 20px 56px rgba(0,0,0,0.2);
}
.contact-form-card h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 20px;
  color: var(--bg-dark);
  margin-bottom: 22px;
}
.form-group { margin-bottom: 14px; }
#f-tel-hint { display: block; margin-top: 4px; color: var(--text-muted); font-size: 0.8rem; }
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-subtle);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #e2e2e2;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--bg-dark);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb),0.12);
}
.form-group textarea { resize: vertical; min-height: 96px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.btn-submit {
  width: 100%;
  margin-top: 6px;
  padding: 13px;
  background: var(--bg-dark);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.02em;
}
.btn-submit:hover {
  background: var(--bg-deeper);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
.form-trust-note {
  margin-top: 10px;
  font-size: 11px;
  color: var(--text-subtle);
  text-align: center;
  line-height: 1.5;
}
.btn-submit:disabled,
.btn-submit.loading {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.btn-submit .btn-spinner {
  display: none;
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}
.btn-submit.loading .btn-spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Feedback do formulário ── */
/* Visually hidden (not display:none) so AT registers the live region at parse time */
#form-feedback {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border-radius: var(--radius-md);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
}
#form-feedback.form-feedback--success,
#form-feedback.form-feedback--error {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  clip-path: none;
  white-space: normal;
  display: block;
  margin-top: 1rem;
  padding: 1rem 1.25rem;
}
#form-feedback.form-feedback--success {
  background: var(--feedback-success-bg);
  color: var(--feedback-success-text);
  border: 1px solid var(--feedback-success-border);
}
#form-feedback.form-feedback--error {
  background: var(--feedback-error-bg);
  color: var(--feedback-error-text);
  border: 1px solid var(--feedback-error-border);
}

.cta-direct { padding-top: 4px; }
.cta-direct h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 22px;
  color: var(--white);
  margin-bottom: 22px;
}
.cta-direct-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}
.cta-di {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.88);
}
.cta-ico {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.14);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* Privacy Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.72);
  z-index: var(--z-modal);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 680px;
  width: 100%;
  max-height: 82vh;
  overflow-y: auto;
  padding: 40px 44px;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 16px; right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #777;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 4px;
}
.modal-close:hover { color: #111; background: #f0f0f0; }
.modal-box h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 26px;
  color: var(--bg-dark);
  margin-bottom: 4px;
}
.modal-date { font-size: 12px; color: #999; margin-bottom: 24px; }
.modal-box h3 { font-family: 'Rajdhani', sans-serif; font-size: 16px; margin: 22px 0 8px; color: var(--bg-dark); }
.modal-box p, .modal-box li { font-size: 14px; line-height: 1.75; color: var(--text-dim); margin-bottom: 8px; }
.modal-box ul { padding-left: 20px; margin-bottom: 8px; }
.modal-box a { color: var(--primary); }

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
footer {
  background: var(--bg-deeper);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
}

.footer-brand .logo { margin-bottom: 16px; }
.footer-brand > p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  max-width: 270px;
  margin-bottom: 24px;
}

.socials { display: flex; gap: 10px; }
.social-a {
  width: 36px; height: 36px;
  background: var(--bg-carbon);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all var(--ease);
}
.social-a:hover { background: var(--primary); transform: translateY(-2px); }

.footer-col h4 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color var(--ease);
}
.footer-col ul li a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p { color: var(--text-muted); font-size: 13px; }
.footer-bottom .tag { color: rgba(var(--primary-rgb),0.7); font-weight: 500; }

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .cta-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 540px; margin-left: auto; margin-right: auto; }
  .testimonial-card { border-right: none; border-bottom: 1px solid rgba(var(--white-rgb),0.06); }
  .testimonial-card:last-child { border-bottom: none; }
  .nav-links, .nav-right { display: none; }
  .hamburger { display: flex; }
  #inicio { padding-top: 96px; }
}

@media (max-width: 768px) {
  .processo-steps { grid-template-columns: 1fr; gap: 32px; }
  .processo-steps::before { display: none; }
  .processo-step { flex-direction: row; align-items: flex-start; text-align: left; gap: 14px; }
  .step-num {
    font-size: 12px;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 0;
    order: -1;
    align-self: center;
    width: 22px;
  }
  .step-dot { flex-shrink: 0; }
  .processo-step-text { flex: 1; }
  .hero-content h1 { font-size: 40px; }
  .hero-content p  { font-size: 16px; }
  .hero-btns { flex-direction: column; align-items: flex-start; }

  .sol-grid { grid-template-columns: 1fr; gap: 40px; padding: 48px 0; }
  .sol-grid.reverse .sol-visual { order: 0; }
  .sol-visual { display: none; }
  .sol-features { grid-template-columns: 1fr; }
  .sol-cards-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .sol-panel .sol-grid { grid-template-columns: 1fr; gap: 32px; }
  .sol-panel .sol-visual { display: none; }
  .sol-panel .sol-features { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: span 2; }

  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .hero-tag { font-size: 12px; padding: 4px 12px; }
  .sol-cards-grid { grid-template-columns: 1fr; }
  .sol-panel .sol-grid { padding: 24px 0 32px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .contact-form-card { padding: 24px 20px; }
}

/* ── A11y: Focus visible (WCAG 2.1 AA) ─────────────────── */
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}
:focus:not(:focus-visible) { outline: none; }
/* inputs têm focus visual próprio (border + box-shadow) */
.form-group input:focus-visible,
.form-group textarea:focus-visible { outline: none; }

/* ── A11y: Validação visual de campos ───────────────────── */
input:invalid:not(:placeholder-shown),
textarea:invalid:not(:placeholder-shown) {
  border-color: #e53e3e;
  box-shadow: 0 0 0 2px rgba(229,62,62,.2);
}
input:valid:not(:placeholder-shown),
textarea:valid:not(:placeholder-shown) {
  border-color: #38a169;
}

/* ── A11y: Botão desabilitado durante loading ───────────── */
form [type="submit"][disabled] {
  opacity: .7;
  cursor: not-allowed;
  pointer-events: none;
}

/* ── A11y: Preferência por menos animação (WCAG 2.3) ────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── SEO/UX: Alto contraste — prefers-contrast (WCAG 1.4.3) ── */
@media (prefers-contrast: high) {
  :root { --primary: #ff6a00; }
  body { background-color: #000000; color: #ffffff; }
  a { color: #ffcc00; text-decoration: underline; }
  button, .btn, [class*="btn"] { border: 2px solid #ffffff !important; }
}

/* ── Segurança: Classe utilitária screen-reader-only ─────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Código: Classes utilitárias ─────────────────────────── */
.hidden       { display: none !important; }
.text-primary { color: var(--primary); }
.text-center  { text-align: center; }
.mt-1         { margin-top: 0.5rem; }
.mt-2         { margin-top: 1rem; }
.mt-3         { margin-top: 1.5rem; }
.w-full       { width: 100%; }
.flex         { display: flex; }
.items-center { align-items: center; }
.gap-2        { gap: 0.5rem; }
.btn-text-link {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(var(--primary-rgb),0.8);
  font-weight: 500;
  font-size: 13px;
  font-family: inherit;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── UX: Badge de verificação nos depoimentos ───────────── */
.testimonial-badge { display: none; }

/* ── UX: Cursor pointer em elementos clicáveis ────────────── */
button, [role="button"], label[for], summary { cursor: pointer; }

/* ── UX: Linha de progresso de leitura ──────────────────── */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--primary);
  z-index: calc(var(--z-toast) - 1);
  transition: width 0.1s linear;
}

/* ── UX: Scroll-reveal — estado inicial/visível via classes (nunca inline) ── */
.scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.scroll-reveal.visible {
  opacity: 1;
  transform: none;
}

