/* ==========================================================================
   ANTECH BRASIL — Landing Page
   Folha de estilos principal

   Estrutura do arquivo:
   1. Reset e variáveis (paleta de cores, fontes)
   2. Helpers globais (container, botões)
   3. Nav
   4. Hero
   5. Stats
   6. Seções genéricas (titles, etc)
   7. Pilares
   8. Equipamentos
   9. Sobre
   10. Timeline
   11. CTA / Formulário
   12. Footer
   13. WhatsApp flutuante
   14. Responsivo (mobile)
   ========================================================================== */


/* ========== 1. RESET E VARIÁVEIS ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Cores da marca Antech */
  --blue: #1c5a9d;          /* Azul principal Antech */
  --blue-dark: #154775;     /* Azul escuro (gradiente, hover) */
  --blue-darker: #0e2f4d;   /* Azul muito escuro (footer, texto em verde) */
  --green: #84c145;         /* Verde principal Antech */
  --green-dark: #5a9434;    /* Verde escuro (gradiente, hover) */

  /* Cores neutras */
  --gray-bg: #f4f5f2;       /* Fundo cinza claro (seções alternadas) */
  --gray-line: #e1e4dc;     /* Bordas e linhas */
  --text: #1a2333;          /* Texto principal */
  --text-soft: #5a6478;     /* Texto secundário */
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Manrope', system-ui, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}


/* ========== 2. HELPERS GLOBAIS ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

img {
  max-width: 100%;
  display: block;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--green);
  color: var(--blue-darker);
}
.btn-primary:hover {
  background: var(--green-dark);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-outline-blue {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline-blue:hover {
  background: var(--blue);
  color: var(--white);
}

.btn-large {
  padding: 16px 32px;
  font-size: 16px;
}


/* ========== 3. NAV ========== */
.nav {
  position: sticky;
  top: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-line);
  z-index: 100;
  padding: 14px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-logo {
  height: 44px;
}
.nav-logo img {
  height: 100%;
}

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

.nav-selo {
  height: 52px;
}
.nav-selo img {
  height: 100%;
}


/* ========== 4. HERO ========== */
.hero {
  position: relative;
  padding: 80px 0 100px;
  background: var(--white);
  overflow: hidden;
}

/* Triângulo verde decorativo (canto superior direito) */
.hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 380px;
  height: 380px;
  background: linear-gradient(135deg, #b6e07a 0%, #4a8a26 100%);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  opacity: 0.85;
  z-index: 0;
}

/* Triângulo azul decorativo (canto inferior esquerdo) */
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 320px;
  height: 320px;
  background: var(--blue);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  opacity: 0.92;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(132, 193, 69, 0.12);
  color: var(--green-dark);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  border-radius: 40px;
  margin-bottom: 28px;
  text-transform: uppercase;
}
.hero-eyebrow i {
  font-size: 18px;
}

.hero h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.05;
  color: var(--blue);
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}
.hero h1 .accent {
  color: var(--green-dark);
}

.hero-sub {
  font-size: 19px;
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 580px;
}
.hero-sub strong {
  color: var(--blue);
  font-weight: 700;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-trust {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-soft);
  font-weight: 500;
}
.hero-trust-item i {
  color: var(--green-dark);
  font-size: 20px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-caju {
  width: 360px;
  max-width: 100%;
  filter: drop-shadow(0 20px 40px rgba(28, 90, 157, 0.15));
}

.hero-flags {
  position: absolute;
  bottom: -10px;
  background: var(--white);
  padding: 12px 20px;
  border-radius: 50px;
  box-shadow: 0 8px 30px rgba(28, 90, 157, 0.12);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
}
.hero-flags .flag {
  font-size: 24px;
}


/* ========== 5. STATS ========== */
.stats {
  background: var(--blue);
  padding: 50px 0;
  position: relative;
}

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

.stat {
  text-align: center;
  color: var(--white);
}

.stat-num {
  font-size: 44px;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -1px;
}

.stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}


/* ========== 6. SEÇÕES GENÉRICAS ========== */
section {
  padding: 90px 0;
}

.section-alt {
  background: var(--gray-bg);
}

.section-dark {
  background: var(--blue);
  color: var(--white);
}

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--green-dark);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-dark .section-tag {
  color: var(--green);
}

.section-title {
  font-size: 42px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.section-dark .section-title {
  color: var(--white);
}
.section-title .accent {
  color: var(--green-dark);
}
.section-dark .section-title .accent {
  color: var(--green);
}

.section-desc {
  font-size: 18px;
  color: var(--text-soft);
  line-height: 1.65;
  max-width: 620px;
}
.section-dark .section-desc {
  color: rgba(255,255,255,0.85);
}

.section-divider {
  width: 60px;
  height: 3px;
  background: var(--green);
  margin-bottom: 20px;
}


/* ========== 7. PILARES ========== */
.pilares-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pilar {
  background: var(--white);
  border: 2px solid var(--blue);
  border-radius: 100px;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: all 0.2s;
}
.pilar:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(28, 90, 157, 0.12);
}

.pilar-icon {
  width: 48px;
  height: 48px;
  border: 2px solid var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--white);
}
.pilar-icon i {
  font-size: 22px;
  color: var(--blue);
}

.pilar-text {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.3;
}


/* ========== 8. EQUIPAMENTOS ========== */
.equip-card {
  background: var(--blue);
  border-radius: 24px;
  padding: 48px;
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Variante: imagem na esquerda, texto na direita */
.equip-card.alt {
  grid-template-columns: 1fr 1fr;
}
.equip-card.alt .equip-info {
  order: 2;
}
.equip-card.alt .equip-img-wrap {
  order: 1;
}

/* Triângulo decorativo do card */
.equip-bg-tri {
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #b6e07a 0%, #4a8a26 100%);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
  opacity: 0.35;
}
.equip-card.alt .equip-bg-tri {
  right: auto;
  left: 0;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.equip-info {
  color: var(--white);
  position: relative;
  z-index: 2;
}

.equip-name {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}
.equip-name .accent {
  color: var(--green);
}

.equip-line {
  width: 80px;
  height: 3px;
  background: var(--green);
  margin: 16px 0 24px;
}

.equip-specs {
  list-style: none;
}
.equip-specs li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  font-size: 15px;
  color: rgba(255,255,255,0.95);
}
.equip-specs li::before {
  content: '●';
  color: var(--green);
  font-size: 10px;
  margin-top: 8px;
  flex-shrink: 0;
}
.equip-specs li strong {
  color: var(--white);
  font-weight: 700;
}

.equip-img-wrap {
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  z-index: 2;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.equip-img-wrap img {
  width: 100%;
  height: auto;
  object-fit: contain;
}


/* ========== 9. SOBRE ========== */
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.sobre-img {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  border-radius: 24px;
  aspect-ratio: 4/5;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px;
  color: var(--white);
}
.sobre-img::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #b6e07a 0%, #4a8a26 100%);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
  opacity: 0.4;
}

.sobre-img-quote {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.sobre-img-author {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  position: relative;
  z-index: 2;
}

.sobre-text p {
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-soft);
}
.sobre-text p strong {
  color: var(--blue);
  font-weight: 700;
}


/* ========== 10. TIMELINE ========== */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
}

/* Linha vertical central */
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gray-line);
  transform: translateX(-50%);
}

.tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 100px 1fr;
  gap: 0;
  margin-bottom: 36px;
  align-items: center;
}

.tl-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  border: 4px solid var(--white);
}

/* Alternar cores: ímpares azul, pares verde */
.tl-item:nth-child(even) .tl-circle {
  background: var(--green);
  color: var(--blue-darker);
}

.tl-content {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.55;
}
.tl-content strong {
  color: var(--blue);
  font-weight: 700;
}

/* Itens ímpares: texto na esquerda */
.tl-item:nth-child(odd) .tl-content {
  grid-column: 1;
  text-align: right;
  padding-right: 24px;
}
.tl-item:nth-child(odd) .tl-spacer {
  grid-column: 3;
}

/* Itens pares: texto na direita */
.tl-item:nth-child(even) .tl-spacer {
  grid-column: 1;
}
.tl-item:nth-child(even) .tl-content {
  grid-column: 3;
  text-align: left;
  padding-left: 24px;
}

.tl-item .tl-circle {
  grid-column: 2;
}


/* ========== 11. CTA / FORMULÁRIO ========== */
.cta-section {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background: linear-gradient(135deg, #b6e07a 0%, #4a8a26 100%);
  clip-path: polygon(40% 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.18;
}

.cta-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.cta-form {
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  color: var(--text);
}

.form-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 8px;
}

.form-sub {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 24px;
}

.form-row {
  margin-bottom: 16px;
}

.form-row label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-line);
  border-radius: 8px;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--blue);
}

.form-submit {
  width: 100%;
  background: var(--green);
  color: var(--blue-darker);
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 16px;
  padding: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 8px;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-submit:hover {
  background: var(--green-dark);
  color: var(--white);
}

.form-privacy {
  text-align: center;
  font-size: 12px;
  color: var(--text-soft);
  margin-top: 12px;
}

.cta-promise h2 {
  font-size: 40px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
.cta-promise h2 .accent {
  color: var(--green);
}

.cta-promise p {
  font-size: 17px;
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
  margin-bottom: 28px;
}

.cta-promise-list {
  list-style: none;
  margin-bottom: 32px;
}
.cta-promise-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
}
.cta-promise-list li i {
  color: var(--green);
  font-size: 22px;
  flex-shrink: 0;
}

.cta-contact {
  background: rgba(255,255,255,0.08);
  border-left: 3px solid var(--green);
  padding: 20px 24px;
  border-radius: 6px;
}

.cta-contact-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}

.cta-contact-role {
  font-size: 12px;
  color: var(--green);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.cta-contact-info {
  display: grid;
  gap: 8px;
}
.cta-contact-info a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.95);
  text-decoration: none;
  font-size: 14px;
}
.cta-contact-info a i {
  color: var(--green);
  font-size: 18px;
}
.cta-contact-info a:hover {
  color: var(--green);
}


/* ========== 12. FOOTER ========== */
.footer {
  background: var(--blue-darker);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 30px;
}

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

.footer-logo {
  height: 36px;
  margin-bottom: 16px;
}
.footer-logo img {
  height: 100%;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.footer-tagline {
  font-size: 14px;
  line-height: 1.6;
  max-width: 360px;
  margin-bottom: 16px;
}

.footer-h {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.footer-list {
  list-style: none;
  display: grid;
  gap: 10px;
}
.footer-list li {
  font-size: 14px;
}
.footer-list a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-list a:hover {
  color: var(--green);
}
.footer-list a i {
  color: var(--green);
  font-size: 16px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}


/* ========== 13. WHATSAPP FLUTUANTE ========== */
.float-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25D366;
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: transform 0.2s;
}
.float-wa:hover {
  transform: scale(1.08);
}
.float-wa i {
  font-size: 32px;
}


/* ========== 14. RESPONSIVO (MOBILE / TABLET) ========== */
@media (max-width: 900px) {
  .hero-inner,
  .equip-card,
  .equip-card.alt,
  .sobre-grid,
  .cta-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .equip-card.alt .equip-info,
  .equip-card.alt .equip-img-wrap {
    order: initial;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .pilares-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 38px;
  }

  .section-title {
    font-size: 32px;
  }

  .cta-promise h2 {
    font-size: 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Timeline em uma coluna no mobile
     PROBLEMA: a ordem dos elementos no HTML alterna entre itens ímpares
     ([content, circle, spacer]) e pares ([spacer, circle, content]).
     SOLUÇÃO: usar flexbox + order pra forçar [círculo, texto] sempre,
     ignorando a ordem do HTML. */
  .timeline::before {
    left: 28px;
  }
  .tl-item {
    display: flex;
    align-items: center;
    gap: 16px;
    grid-template-columns: none;
  }
  .tl-item .tl-circle {
    grid-column: auto !important;
    width: 56px;
    height: 56px;
    font-size: 14px;
    flex-shrink: 0;
    order: 1;
    margin: 0;
  }
  .tl-item:nth-child(odd) .tl-content,
  .tl-item:nth-child(even) .tl-content {
    grid-column: auto !important;
    text-align: left !important;
    padding: 0 !important;
    flex: 1;
    order: 2;
  }
  .tl-spacer {
    display: none;
  }

  .nav-selo {
    display: none;
  }

  .equip-card {
    padding: 28px;
  }
  .equip-name {
    font-size: 22px;
  }
}
