/* ============================================================
   SFFR Assessoria Financeira — Stylesheet Principal
   Paleta: Navy #0A1628 | Gold #C9A84C | White #FFFFFF | Light #F5F7FA
   ============================================================ */

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

:root {
  --navy:       #0A1628;
  --navy-mid:   #112240;
  --navy-light: #1a3055;
  --gold:       #C9A84C;
  --gold-light: #e0c070;
  --white:      #FFFFFF;
  --light:      #F5F7FA;
  --gray:       #8892A4;
  --text:       #2D3748;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;
  --transition: 0.35s ease;
  --shadow:     0 8px 32px rgba(10,22,40,0.12);
  --shadow-lg:  0 16px 64px rgba(10,22,40,0.2);
  --radius:     10px;
  --radius-lg:  18px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

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

.section { padding: 96px 0; }

.gold { color: var(--gold); }

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-tag.light { color: var(--gold-light); }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 16px;
}
.section-title.light { color: var(--white); }

.section-desc {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}
.section-desc.light { color: rgba(255,255,255,0.75); }

.section-header.center { text-align: center; margin-bottom: 56px; }

.subsection-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--navy);
  margin-top: 32px;
  margin-bottom: 16px;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: all var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border: 2px solid var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn-lg { padding: 18px 44px; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }

/* ===== HEADER / NAVBAR ===== */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
  padding: 0;
}
#header.scrolled {
  background: rgba(10,22,40,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(10,22,40,0.3);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo img {
  height: 52px;
  width: auto;
  filter: brightness(0) invert(1);
}
#header.scrolled .logo img { filter: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.04em;
  transition: color var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--gold); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-cta { padding: 10px 24px; font-size: 0.88rem; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,0.88) 0%, rgba(10,22,40,0.65) 60%, rgba(10,22,40,0.45) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 80px;
  max-width: 760px;
}

.hero-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.4);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
  animation: fadeInDown 0.8s ease both;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.18;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
  max-width: 580px;
  animation: fadeInUp 0.8s ease 0.35s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
  animation: fadeInUp 0.8s ease 0.5s both;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  animation: fadeInUp 0.8s ease 0.65s both;
}
.stat { text-align: left; }
.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.05em;
  margin-top: 4px;
}
.stat-divider {
  width: 1px; height: 40px;
  background: rgba(255,255,255,0.2);
}

.scroll-down {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(255,255,255,0.6);
  font-size: 1.2rem;
  animation: bounce 2s infinite;
  transition: color var(--transition);
}
.scroll-down:hover { color: var(--gold); }

/* ===== SOBRE ===== */
.sobre { background: var(--white); }

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.sobre-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}
.sobre-image img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 480px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.sobre-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--navy);
  color: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow);
}
.sobre-badge i { font-size: 1.8rem; color: var(--gold); }
.sobre-badge strong { display: block; font-size: 0.95rem; }
.sobre-badge span { font-size: 0.8rem; color: var(--gray); }

.sobre-content .section-title { margin-bottom: 20px; }
.sobre-content p { color: var(--gray); margin-bottom: 16px; }
.sobre-content p strong { color: var(--navy); }

.valores-list {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
}
.valores-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 10px;
}
.valores-list li i { color: var(--gold); font-size: 1rem; margin-top: 3px; flex-shrink: 0; }
.valores-list li strong { color: var(--navy); }

/* ===== SERVIÇOS ===== */
.servicos {
  position: relative;
  overflow: hidden;
}
.servicos-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.servicos-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.servicos-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,0.96) 0%, rgba(17,34,64,0.94) 100%);
}
.servicos .container { position: relative; z-index: 1; }

.servicos-detalhes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.servico-detalhado {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
  backdrop-filter: blur(8px);
}
.servico-detalhado:hover {
  background: rgba(201,168,76,0.08);
  border-color: rgba(201,168,76,0.5);
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(10,22,40,0.4);
}

.servico-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.servico-icon {
  width: 56px; height: 56px;
  background: rgba(201,168,76,0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition);
}
.servico-icon i { font-size: 1.4rem; color: var(--gold); }
.servico-detalhado:hover .servico-icon { background: rgba(201,168,76,0.25); }

.servico-detalhado h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--white);
}

.servico-detalhado p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 16px;
  line-height: 1.7;
}

.servico-items {
  list-style: none;
  padding: 0;
  margin: 0;
}
.servico-items li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 12px;
  line-height: 1.6;
}
.servico-items li i { color: var(--gold); font-size: 0.85rem; margin-top: 4px; flex-shrink: 0; }
.servico-items li strong { color: var(--gold); }

/* ===== METODOLOGIA ===== */
.metodologia { background: var(--white); }

.metodologia-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
  margin-top: 40px;
}
.metodologia-timeline::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(10,22,40,0.1);
  z-index: 0;
}

.timeline-item {
  position: relative;
  text-align: center;
  padding-top: 60px;
}
.timeline-icon {
  width: 56px; height: 56px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: var(--shadow);
  border: 4px solid var(--white);
  z-index: 1;
}
.timeline-content h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--navy);
  margin-top: 20px;
  margin-bottom: 10px;
}
.timeline-content p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
}

/* ===== DIFERENCIAIS ===== */
.diferenciais { background: var(--light); }

.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.diferencial-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border-top: 4px solid var(--gold);
}
.diferencial-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.diferencial-num {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: rgba(201,168,76,0.25);
  line-height: 1;
  margin-bottom: 16px;
}
.diferencial-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}
.diferencial-item p { font-size: 0.88rem; color: var(--gray); }

/* ===== EQUIPE ===== */
.equipe { background: var(--white); }

.equipe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.socio-card {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition);
  border: 1px solid transparent;
}
.socio-card:hover {
  background: var(--white);
  border-color: rgba(201,168,76,0.3);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.socio-avatar {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  border: 3px solid var(--gold);
}
.socio-avatar span {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.socio-card h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 4px;
  text-align: center;
}
.socio-cargo {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
}
.socio-divider {
  width: 40px; height: 2px;
  background: var(--gold);
  margin: 14px auto;
  opacity: 0.4;
}
.socio-card p { font-size: 0.85rem; color: var(--gray); line-height: 1.65; text-align: left; margin-bottom: 10px; }

/* ===== FAQ ===== */
.faq { background: var(--light); }

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--light); }
.faq-question i {
  transition: transform var(--transition);
  color: var(--gold);
}
.faq-question.active i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}
.faq-answer.open {
  max-height: 400px;
  padding-bottom: 20px;
}
.faq-answer p { font-size: 0.9rem; color: var(--gray); line-height: 1.7; }

/* ===== CTA SECTION ===== */
.cta-section {
  position: relative;
  padding: 96px 0;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
}
.cta-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,0.92) 0%, rgba(17,34,64,0.88) 100%);
}
.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.cta-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--white);
  margin-bottom: 20px;
}
.cta-content p {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  margin-bottom: 36px;
}

/* ===== CONTATO ===== */
.contato { background: var(--light); }

.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}

.info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  align-items: flex-start;
}
.info-icon {
  width: 44px; height: 44px;
  background: var(--navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.info-icon i { color: var(--gold); font-size: 1rem; }
.info-item h4 { font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.info-item p { font-size: 0.9rem; color: var(--gray); line-height: 1.6; }

.info-cnpj {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-top: 8px;
}
.info-cnpj p { font-size: 0.85rem; color: rgba(255,255,255,0.8); margin-bottom: 6px; }
.info-cnpj p:last-child { margin-bottom: 0; }
.info-cnpj strong { color: var(--gold); }

.contato-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #E2E8F0;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238892A4' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }

.form-note { font-size: 0.78rem; color: var(--gray); margin-top: 12px; text-align: center; }

/* ===== FOOTER ===== */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}
.footer-brand p { font-size: 0.88rem; line-height: 1.7; margin-bottom: 24px; }

.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  transition: all var(--transition);
}
.footer-social a:hover {
  background: var(--gold);
  color: var(--navy);
}

.footer-links h5,
.footer-contact h5 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-links ul li { margin-bottom: 10px; }
.footer-links ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-links ul li a:hover { color: var(--gold); }

.footer-contact p {
  font-size: 0.88rem;
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.footer-contact p i { color: var(--gold); margin-top: 3px; flex-shrink: 0; }
.footer-cnpj { margin-top: 16px; font-size: 0.82rem !important; color: rgba(255,255,255,0.45) !important; }

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--gold); }

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px; height: 44px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(201,168,76,0.4);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover { background: var(--gold-light); transform: translateY(-2px); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

[data-aos] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}
[data-aos][data-aos-delay="100"] { transition-delay: 0.1s; }
[data-aos][data-aos-delay="200"] { transition-delay: 0.2s; }
[data-aos][data-aos-delay="300"] { transition-delay: 0.3s; }
[data-aos][data-aos-delay="400"] { transition-delay: 0.4s; }
[data-aos][data-aos-delay="500"] { transition-delay: 0.5s; }
[data-aos][data-aos-delay="600"] { transition-delay: 0.6s; }

[data-aos="fade-right"] { transform: translateX(-28px); }
[data-aos="fade-right"].aos-animate { transform: translateX(0); }
[data-aos="fade-left"] { transform: translateX(28px); }
[data-aos="fade-left"].aos-animate { transform: translateX(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .metodologia-timeline { grid-template-columns: repeat(2, 1fr); gap: 48px; }
  .metodologia-timeline::before { display: none; }
  .timeline-item { padding-top: 0; text-align: left; }
  .timeline-icon { position: static; transform: translateX(0); margin-bottom: 16px; }
  .diferenciais-grid { grid-template-columns: repeat(2, 1fr); }
  .equipe-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }

  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 80px; left: 0; right: 0;
    background: rgba(10,22,40,0.98);
    backdrop-filter: blur(12px);
    padding: 32px 24px;
    gap: 24px;
    align-items: flex-start;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .nav-links.open + .nav-cta {
    display: block;
    position: fixed;
    bottom: 24px; left: 24px; right: 24px;
    text-align: center;
  }

  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .stat-divider { display: none; }

  .sobre-grid { grid-template-columns: 1fr; gap: 48px; }
  .sobre-badge { right: 0; bottom: -20px; }

  .servicos-detalhes { grid-template-columns: 1fr; }
  .metodologia-timeline { grid-template-columns: 1fr; }
  .diferenciais-grid { grid-template-columns: 1fr; }
  .equipe-grid { grid-template-columns: 1fr; }

  .contato-grid { grid-template-columns: 1fr; gap: 40px; }
  .contato-form { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
