/* =========================================
   Paleta de cores — Manual de Marca iGreen
   Verde fluorescente 18ff00 / Verde médio 28a828
   Verde escuro (impressão) 154715 / Preto 000000
   ========================================= */
:root {
  --preto: #000000;
  --verde-escuro: #154715;
  --verde: #28a828;
  --verde-vivo: #18ff00;
  --verde-claro: #e4f7e4;
  --hero-grad-inicio: #0b3d33;
  --hero-grad-fim: #154715;
  --amarelo: #f5c518;
  --texto: #242424;
  --texto-claro: #5c6b5c;
  --branco: #ffffff;
  --cinza-fundo: #f6faf6;
  --borda: #e0ebe0;
  --sombra: 0 8px 24px rgba(21, 71, 21, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--texto);
  background: var(--branco);
  line-height: 1.6;
}

.display-font {
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

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

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--verde);
  color: var(--branco);
  box-shadow: var(--sombra);
}

.btn-primary:hover {
  background: var(--verde-escuro);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border-color: var(--verde);
  color: var(--verde-escuro);
}

.btn-outline:hover {
  background: var(--verde-claro);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--borda);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  display: flex;
  align-items: flex-end;
  gap: 6px;
}

.logo-img {
  height: 28px;
  width: auto;
  display: block;
}

.logo-tagline {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--verde-escuro);
  margin-bottom: 3px;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--texto);
  transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--verde-escuro);
}

/* Dropdown "Nossos Produtos" */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  font: inherit;
  font-weight: 500;
  color: var(--texto);
  cursor: pointer;
  padding: 0;
  transition: color 0.15s ease;
}

.nav-dropdown-toggle svg {
  width: 16px;
  height: 16px;
  transition: transform 0.15s ease;
}

.nav-dropdown-toggle:hover {
  color: var(--verde-escuro);
}

.nav-dropdown.open .nav-dropdown-toggle {
  color: var(--verde-escuro);
}

.nav-dropdown.open .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: 12px;
  box-shadow: var(--sombra);
  padding: 8px;
  min-width: 200px;
  display: none;
  z-index: 70;
}

/* Ponte invisível: mantém o hover ativo entre o botão e a lista */
.nav-dropdown::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 100%;
  width: 220px;
  height: 14px;
}

.nav-dropdown.open .dropdown-menu,
.nav-dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--texto);
  white-space: nowrap;
}

.dropdown-menu li a:hover {
  background: var(--verde-claro);
  color: var(--verde-escuro);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.phone-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cinza-fundo);
  color: var(--verde-escuro);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.btn-whatsapp {
  background: var(--verde);
  color: var(--branco);
}

.btn-whatsapp:hover {
  background: var(--verde-escuro);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--verde-escuro);
}

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--hero-grad-inicio) 0%, var(--hero-grad-fim) 100%);
  padding: 96px 0 88px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
      100deg,
      rgba(255, 255, 255, 0.05) 0px,
      rgba(255, 255, 255, 0.05) 1px,
      transparent 1px,
      transparent 64px
    ),
    repeating-linear-gradient(
      10deg,
      rgba(255, 255, 255, 0.05) 0px,
      rgba(255, 255, 255, 0.05) 1px,
      transparent 1px,
      transparent 64px
    );
  pointer-events: none;
}

.hero .container {
  position: relative;
  max-width: 780px;
}

.badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--branco);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 2.8rem;
  line-height: 1.18;
  margin-bottom: 18px;
  color: var(--branco);
}

.hero h1 span {
  color: var(--verde-vivo);
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

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

.hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hero-card {
  background: var(--branco);
  border-radius: 20px;
  box-shadow: var(--sombra);
  border: 1px solid var(--borda);
  padding: 32px;
}

.hero-card h3 {
  color: var(--verde-escuro);
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.hero-stat strong {
  display: block;
  font-size: 1.6rem;
  color: var(--verde-escuro);
}

.hero-stat span {
  font-size: 0.85rem;
  color: var(--texto-claro);
}

/* Seções genéricas */
section {
  padding: 72px 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-header .eyebrow {
  color: var(--verde-escuro);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  display: block;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--texto-claro);
}

.bg-soft {
  background: var(--cinza-fundo);
}

/* Grid de cards */
.grid {
  display: grid;
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

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

.card {
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--sombra);
  transition: transform 0.15s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
}

.card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--verde-claro);
  color: var(--verde-escuro);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.card .icon svg {
  width: 24px;
  height: 24px;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.card p {
  color: var(--verde);
  font-weight: 700;
  font-size: 0.95rem;
}

.card ul {
  margin-top: 14px;
}

.card ul li {
  font-size: 0.9rem;
  color: var(--texto-claro);
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}

.card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--verde);
  font-weight: 700;
}

.card .btn {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

/* Cards de planos (Telecom) */
.plan-card {
  background: var(--branco);
  border: 2px solid var(--verde);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--sombra);
}

.plan-card-header {
  background: var(--verde);
  color: var(--branco);
  padding: 20px;
  text-align: center;
}

.plan-card-header h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.plan-gb {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 10px;
}

.plan-badge {
  display: inline-block;
  background: var(--preto);
  color: var(--branco);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.plan-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.plan-card-body ul {
  margin-bottom: 16px;
}

.plan-card-body ul li {
  font-size: 0.85rem;
  color: var(--texto-claro);
  padding: 4px 0;
  text-align: center;
}

.plan-card-body ul li strong {
  color: var(--texto);
}

.plan-price {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--texto);
  margin-bottom: 4px;
}

.plan-price span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--texto-claro);
}

.plan-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--texto-claro);
  margin-bottom: 16px;
}

.plan-disclaimer {
  text-align: center;
  font-size: 0.85rem;
  color: var(--texto-claro);
  margin-top: 32px;
}

.plan-disclaimer + .plan-disclaimer {
  margin-top: 8px;
}

/* Passos (como funciona) */
.steps {
  counter-reset: step;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(4, 1fr);
}

.step {
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: 16px;
  padding: 28px 24px;
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--verde-escuro);
  color: var(--branco);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 16px;
}

.step h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.step p {
  color: var(--texto-claro);
  font-size: 0.9rem;
}

/* Disclaimer */
.disclaimer {
  background: #fff8e6;
  border: 1px solid #f0ddac;
  border-radius: 14px;
  padding: 20px 24px;
  font-size: 0.88rem;
  color: #6b5a1f;
}

/* CTA final */
.cta-final {
  background: linear-gradient(135deg, var(--verde-escuro), var(--verde));
  color: var(--branco);
  border-radius: 24px;
  padding: 56px 40px;
  text-align: center;
}

.cta-final h2 {
  font-size: 1.9rem;
  margin-bottom: 12px;
}

.cta-final p {
  opacity: 0.9;
  margin-bottom: 28px;
}

.cta-final .btn-primary {
  background: var(--branco);
  color: var(--verde-escuro);
}

.cta-final .btn-primary:hover {
  background: var(--verde-claro);
}

/* Faixa de CTA sólida (estilo "Entendi e quero assinar") */
.cta-band {
  background: var(--verde);
  color: var(--branco);
  text-align: center;
  padding: 64px 24px;
}

.cta-band h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.cta-band p {
  opacity: 0.95;
  margin-bottom: 28px;
  font-size: 1.05rem;
}

.cta-band .btn-primary {
  background: var(--branco);
  color: var(--verde-escuro);
}

.cta-band .btn-primary:hover {
  background: var(--verde-claro);
}

/* Lista de vantagens */
.advantages {
  max-width: 720px;
  margin: 0 auto;
}

.advantages li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--borda);
  font-size: 1rem;
}

.advantages li:last-child {
  border-bottom: none;
}

.advantages li .check {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--verde-claro);
  color: var(--verde-escuro);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

/* Seção do App iGreen Club */
.app-section {
  background: var(--branco);
  color: var(--texto);
}

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

.app-phone-frame {
  display: flex;
  justify-content: center;
}

.app-phone-frame img {
  width: 100%;
  display: block;
}

.app-label {
  font-size: 3rem;
  font-weight: 800;
  color: var(--verde);
  line-height: 1;
  margin-bottom: 12px;
}

.app-logo {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 28px;
}

.app-logo img {
  height: 34px;
  width: auto;
}

.app-logo span {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--texto);
  margin-bottom: 3px;
}

.app-heading {
  font-size: 1.6rem;
  line-height: 1.35;
  font-weight: 800;
  margin-bottom: 28px;
  max-width: 480px;
}

.app-heading .verde {
  color: var(--verde);
}

.app-list {
  max-width: 480px;
}

.app-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 12px;
  color: var(--texto-claro);
  font-size: 0.98rem;
}

.app-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--verde);
}

/* Mecanismo em ícones circulares */
.mechanism {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.mechanism-step .icon-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--verde);
  color: var(--branco);
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.mechanism-step h3 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--texto);
  margin-bottom: 4px;
}

.mechanism-step span {
  font-size: 0.85rem;
  color: var(--texto-claro);
}

/* Vídeos de depoimento */
.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.video-item h3 {
  text-align: center;
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.video-wrapper {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--sombra);
  background: var(--texto);
}

.video-wrapper video {
  width: 100%;
  display: block;
}

/* Seção de recrutamento */
.recruit-band {
  background: var(--verde-escuro);
  color: var(--branco);
  text-align: center;
  padding: 32px 24px;
}

.recruit-band h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--branco);
}

.recruit-band p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 22px;
}

.btn-recruit {
  background: var(--branco);
  color: var(--verde-escuro);
}

.btn-recruit:hover {
  background: var(--verde-claro);
}

/* Formulário de contato */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.form-card {
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--sombra);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--texto);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--borda);
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--cinza-fundo);
}

.form-group textarea {
  min-height: 110px;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid var(--verde);
  background: var(--branco);
}

.contact-info-card {
  background: var(--verde-claro);
  border-radius: 20px;
  padding: 32px;
}

.contact-info-card h3 {
  color: var(--verde-escuro);
  margin-bottom: 20px;
}

.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-info-item .icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--branco);
  color: var(--verde-escuro);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-item strong {
  display: block;
  margin-bottom: 2px;
}

.contact-info-item span,
.contact-info-item a {
  color: var(--texto-claro);
  font-size: 0.92rem;
}

/* Seção de contato em verde escuro */
.section-dark {
  background: var(--verde-escuro);
  color: var(--branco);
  padding: 72px 0;
}

.section-dark .section-header h2,
.section-dark .section-header .eyebrow {
  color: var(--branco);
}

.section-dark .form-card {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  max-width: 560px;
  margin: 0 auto;
}

.section-dark .form-group label {
  color: var(--branco);
}

.section-dark .form-group input,
.section-dark .form-group select,
.section-dark .form-group textarea {
  background: var(--branco);
  border: none;
}

.section-dark .btn-primary {
  background: var(--branco);
  color: var(--verde-escuro);
}

.section-dark .btn-primary:hover {
  background: var(--verde-claro);
}

/* Footer */
.footer {
  background: var(--verde-escuro);
  color: var(--branco);
  padding: 32px 0 24px;
}

.footer h4 {
  color: var(--branco);
  margin-bottom: 14px;
  font-size: 1rem;
}

.footer p,
.footer a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

.footer a:hover {
  color: var(--branco);
}

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

.footer .disclaimer {
  background: rgba(0, 0, 0, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--branco);
  margin-bottom: 24px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
}

.footer-bottom .footer-id {
  display: block;
  margin-top: 4px;
}

/* Rolagem de âncora com header fixo */
section[id] {
  scroll-margin-top: 88px;
}

/* WhatsApp botão flutuante */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25d366;
  color: var(--branco);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4);
  z-index: 60;
  transition: transform 0.15s ease;
  animation: whatsapp-pulse 2.2s infinite;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.55);
  }
  70% {
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4), 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float {
    animation: none;
  }
}

/* Página interna (título de topo) */
.page-hero {
  background: var(--verde-claro);
  padding: 56px 0;
  text-align: center;
}

.page-hero .eyebrow {
  color: var(--verde-escuro);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.page-hero h1 {
  font-size: 2.1rem;
  margin-top: 8px;
}

.page-hero p {
  color: var(--texto-claro);
  max-width: 560px;
  margin: 12px auto 0;
}

/* Responsivo */
@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .grid-2,
  .steps,
  .mechanism,
  .app-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .footer .container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--branco);
    flex-direction: column;
    padding: 20px 24px;
    border-bottom: 1px solid var(--borda);
    display: none;
    gap: 16px;
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 4px 0 0 14px;
    min-width: 0;
  }

  .nav-dropdown:hover .dropdown-menu {
    display: none;
  }
}
