/* Go Electric — Home (paleta amarelo/preto/branco) */

/* === HERO ===
   Bloco principal com vídeo de fundo (banner) + overlay escuro pra texto legível.
   Espelha o site real: pouco texto, mensagem direta. */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--on-ink);
  padding: clamp(72px, 12vw, 140px) 0 clamp(64px, 10vw, 120px);
  overflow: hidden;
  isolation: isolate;  /* cria stacking context — o z-index do conteúdo fica contido */
}
/* Vídeo de fundo: full-bleed, atrás de todo o resto */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  pointer-events: none;
}
/* Overlay escuro + nuance de amarelo nos cantos pra dar legibilidade ao texto */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at top right, rgba(255, 221, 0, 0.12), transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(255, 221, 0, 0.06), transparent 50%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.7) 100%);
}
.hero__inner {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}
.hero__title {
  font-size: clamp(32px, 5.5vw, 56px);
  font-weight: 800;
  color: var(--on-ink);
  margin: 0 0 28px;
  letter-spacing: -0.025em;
  line-height: 1.12;
}
.hero__title em {
  font-style: italic;
  font-weight: 800;
  color: var(--brand);
}
.hero__cta {
  display: inline-flex;
  margin-top: 8px;
}

/* === Section title (overrides do home pra dar mais impacto) === */
.section--home .section__title {
  font-size: clamp(28px, 4vw, 38px);
}

/* === Projetos — 4 cards com imagens reais === */
.proj-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1024px) { .proj-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .proj-grid { grid-template-columns: 1fr; } }

.proj-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--text);
  transition: all 200ms var(--ease);
}
.proj-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand);
  color: var(--text);
  text-decoration: none;
}
.proj-card__img {
  aspect-ratio: 16 / 10;
  background: var(--bg-muted);
  overflow: hidden;
}
.proj-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms var(--ease);
}
.proj-card:hover .proj-card__img img { transform: scale(1.04); }
.proj-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.proj-card__title {
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}
.proj-card__desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
}
.proj-card__cta {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  border-bottom: 2px solid var(--brand);
  padding-bottom: 2px;
}
.proj-card__cta::after { content: "→"; transition: transform 180ms; }
.proj-card:hover .proj-card__cta::after { transform: translateX(3px); }

/* === Eletropostos — 10 cards portrait (5 col em desktop, scroll horizontal em mobile) === */
.stations-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
@media (max-width: 1100px) { .stations-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 860px)  { .stations-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px)  { .stations-grid { grid-template-columns: repeat(2, 1fr); } }

.station-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 200ms var(--ease);
}
.station-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand);
}
.station-card__img {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #1a1a1a, #000);
  display: grid;
  place-items: center;
  color: var(--brand);
  font-size: 48px;
  overflow: hidden;
}
.station-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.station-card__body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.station-card__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}
.station-card__meta {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.station-card__cta {
  margin-top: auto;
  padding-top: 10px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.station-card__cta::after { content: "→"; }
.station-card:hover .station-card__cta { color: var(--brand-hover); }

.stations-more {
  text-align: center;
  margin-top: 40px;
}

/* === App section === full-bleed, 2 colunas:
   Esquerda: foto do hub (eletroposto real) + mockup do app sobreposto.
   Direita: painel preto com título, badges das stores, prompt de contato e CTA amarelo. */
.app-section {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--ink);
  color: var(--on-ink);
  padding: 0;
  overflow: hidden;
  min-height: 520px;
}
@media (max-width: 900px) {
  .app-section { grid-template-columns: 1fr; min-height: 0; }
}

.app-section__media {
  position: relative;
  overflow: hidden;
  min-height: 100%;
}
@media (max-width: 900px) {
  /* Foto vira o "banner" da seção no mobile. Altura confortável pra acomodar o celular dentro. */
  .app-section__media {
    aspect-ratio: auto;
    min-height: 0;
    height: 360px;
  }
}
.app-section__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Mockup do celular: posicionado em relação à seção inteira (não à coluna),
   centralizado verticalmente e horizontalmente em cima da linha divisória das duas colunas. */
.app-section__phone {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-height: calc(100% - 48px);
  width: auto;
  z-index: 3;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.55));
  pointer-events: none;
}
@media (max-width: 900px) {
  /* No mobile, celular vai pra dentro do "banner" (área da foto), centrado em cima. */
  .app-section__phone {
    top: 24px;
    transform: translateX(-50%);
    max-height: 320px;
    height: 320px;
    max-width: 80%;
  }
}

.app-section__content {
  padding: clamp(48px, 7vw, 88px) clamp(24px, 5vw, 80px) clamp(48px, 7vw, 88px) clamp(80px, 12vw, 140px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
}
@media (max-width: 900px) {
  .app-section__content {
    padding: clamp(40px, 8vw, 64px) clamp(20px, 5vw, 40px);
    text-align: center;
    align-items: center;
  }
}

.app-section h2 {
  color: var(--on-ink);
  font-size: clamp(28px, 3.6vw, 42px);
  margin: 0;
}
.app-section__lead {
  color: var(--on-ink);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.55;
  max-width: 440px;
  margin: 0;
}
@media (max-width: 900px) {
  .app-section__lead { margin-inline: auto; }
}

.app-section__buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 6px;
}
@media (max-width: 900px) {
  .app-section__buttons { justify-content: center; }
}
.app-store-btn {
  display: inline-block;
  transition: transform 180ms var(--ease);
}
.app-store-btn img {
  height: 56px;
  width: auto;
}
.app-store-btn:hover { transform: translateY(-2px); }

.app-section__contact-prompt {
  color: var(--on-ink);
  font-size: 15px;
  font-weight: 600;
  margin: 18px 0 0;
  letter-spacing: -0.005em;
}

.app-section .button--with-icon {
  align-self: flex-start;
  padding: 14px 26px;
  font-size: 16px;
  gap: 12px;
}
@media (max-width: 900px) {
  .app-section .button--with-icon { align-self: center; }
}
.button--with-icon .button__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--on-brand);
  color: var(--brand);
  flex-shrink: 0;
}
.button--with-icon .button__icon svg {
  width: 14px;
  height: 14px;
}

/* === CTA bar (Solicite Orçamento) === */
.cta-bar {
  background: var(--bg-alt);
  padding: 48px 0;
  text-align: center;
}
.cta-bar .button { padding: 16px 36px; font-size: 16px; }

/* === Equipamentos (cards de categoria na home) === */
.equip-cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .equip-cats { grid-template-columns: 1fr; gap: 16px; } }

.equip-cat {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text);
  text-decoration: none;
  transition: all 220ms var(--ease);
  position: relative;
  overflow: hidden;
}
.equip-cat::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 280ms var(--ease);
  z-index: 2;
}
.equip-cat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand);
  color: var(--text);
}
.equip-cat:hover::after { transform: scaleX(1); }
.equip-cat__img {
  aspect-ratio: 4 / 5;
  background: var(--bg-muted);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.equip-cat__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
  transition: transform 320ms var(--ease);
}
.equip-cat:hover .equip-cat__img img { transform: scale(1.04); }
.equip-cat__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 24px 28px;
  flex: 1;
}
.equip-cat__title {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  color: var(--text);
  letter-spacing: -0.01em;
}
.equip-cat__desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
  flex: 1;
}
.equip-cat__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 4px;
}
.equip-cat__cta::after {
  content: "→";
  transition: transform 200ms var(--ease);
}
.equip-cat:hover .equip-cat__cta { color: var(--brand-hover); }
.equip-cat:hover .equip-cat__cta::after { transform: translateX(4px); }

/* === Contato (home inline) === */
.contact-section {
  background: var(--bg-alt);
  padding: 80px 0;
}
.contact-section__head {
  text-align: center;
  margin-bottom: 40px;
  max-width: 760px;
  margin-inline: auto;
}
.contact-section__title {
  font-size: clamp(26px, 3.8vw, 36px);
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.contact-section__lead {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}
.contact-section__ctas {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 8px;
}
.contact-section__wa {
  display: inline-flex;
}
.contact-section__page-link {
  /* botão outline pra página /contato/ — combina com o estilo do site (preto, hover amarelo) */
  border-color: var(--ink);
  color: var(--ink);
}
.contact-section__page-link:hover {
  background: var(--ink);
  color: var(--brand);
}

/* === Sede === */
.sede-section {
  padding: 80px 0;
  background: var(--bg);
}
.sede-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 800px) {
  .sede-section__inner { grid-template-columns: 1fr; }
}
.sede-section h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 18px;
}
.sede-section address {
  font-style: normal;
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}
.sede-section address strong { color: var(--text); }
.sede-map {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background: var(--bg-muted);
  overflow: hidden;
  border: 1px solid var(--border);
}
.sede-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ============================================================
   === Design system 2026 — Como Funciona / Mapa / CTA amarelo
   ============================================================ */

/* Utilitário: ênfase em itálico (palavras-chave do design) */
.em-yellow { font-style: italic; font-weight: 800; color: var(--brand); }
.em-ink    { font-style: italic; font-weight: 800; color: var(--ink); }

/* === Como Funciona — seção escura com 3 passos === */
.como-funciona {
  position: relative;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  color: var(--text);
  padding: clamp(72px, 10vw, 120px) 0;
  overflow: hidden;
}
.como-funciona__bolt {
  position: absolute;
  right: -80px;
  top: -40px;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}
.como-funciona .container {
  position: relative;
  z-index: 1;
}
.como-funciona__inner {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 1024px) {
  .como-funciona__inner { grid-template-columns: 1fr; gap: 48px; }
}
.como-funciona__lead .section__eyebrow { color: var(--ink); }
.como-funciona__lead .section__eyebrow::before { background: var(--ink); }
.como-funciona__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.04;
  color: var(--ink);
  margin: 8px 0 18px;
}
.como-funciona__desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 420px;
}
.como-funciona__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .como-funciona__steps { grid-template-columns: 1fr; }
}
.step-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  padding: 28px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
}
.step-card__num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink);
  margin-bottom: 60px;
  text-transform: uppercase;
}
.step-card__title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 8px;
}
.step-card__desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
}
.step-card__icon {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--ink);
  display: grid;
  place-items: center;
  color: var(--brand);
}
.step-card__icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* === CTA amarelo grande === */
.cta-yellow {
  position: relative;
  background: var(--brand);
  padding: clamp(64px, 9vw, 96px) 0;
  overflow: hidden;
}
.cta-yellow__bolt-tr,
.cta-yellow__bolt-bl {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.cta-yellow__bolt-tr {
  right: -100px;
  top: -80px;
  opacity: 0.25;
}
.cta-yellow__bolt-bl {
  left: -60px;
  bottom: -80px;
  opacity: 0.18;
  transform: rotate(180deg);
}
.cta-yellow .container {
  position: relative;
  z-index: 1;
}
.cta-yellow__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
@media (max-width: 900px) {
  .cta-yellow__inner { grid-template-columns: 1fr; gap: 28px; }
}
.cta-yellow__title {
  font-size: clamp(36px, 7vw, 72px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.95;
  color: var(--ink);
  margin: 0;
}
.cta-yellow__desc {
  font-size: 18px;
  line-height: 1.55;
  margin-top: 18px;
  max-width: 500px;
  color: rgba(35, 31, 32, 0.75);
}
.cta-yellow__buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
@media (max-width: 900px) {
  .cta-yellow__buttons { width: 100%; }
}
.button--dark {
  background: var(--ink);
  color: var(--on-ink);
}
.button--dark:hover {
  background: var(--ink-soft);
  color: var(--on-ink);
  box-shadow: 0 6px 14px rgba(35, 31, 32, 0.35);
}
