/* =====================================================================
   YOU ELETRIC — Landing Page
   Design System + Layout + Componentes
   Paleta inspirada na logomarca: verde-neon + preto + branco.
   ===================================================================== */

/* ----------------------------- TOKENS ----------------------------- */
:root {
  /* Marca */
  --neon:        #1FD24A;
  --neon-dark:   #16B23C;
  --neon-darker: #0F9230;
  --neon-soft:   #E7FBEC;
  --neon-tint:   #F2FCF4;

  /* Neutros / escuros */
  --ink:      #0D1110;  /* quase preto */
  --carbon:   #141A18;
  --panel:    #1A211E;
  --ink-2:    #232C28;

  --text:      #16201C;   /* texto em fundo claro */
  --text-soft: #3A4742;
  --muted:     #61716A;
  --line:      #E2E8E5;

  --bg:       #FFFFFF;
  --bg-soft:  #F3F7F4;

  /* texto em fundo escuro */
  --on-dark:        #ECF3EF;
  --on-dark-soft:   #AEBDB6;

  --whats:      #25D366;
  --whats-dark: #1EBE5A;

  --white: #FFFFFF;

  /* Tipografia */
  --font: "Sora", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Raio / sombra / espaço */
  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(13, 17, 16, .06);
  --shadow:    0 14px 34px rgba(13, 17, 16, .12);
  --shadow-lg: 0 26px 64px rgba(13, 17, 16, .20);

  --container: 1180px;
  --gutter: clamp(18px, 5vw, 40px);

  --t-fast: .18s ease;
  --t: .3s cubic-bezier(.22, 1, .36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }

h1, h2, h3 { line-height: 1.14; font-weight: 700; letter-spacing: -.02em; color: var(--text); }

:focus-visible { outline: 3px solid var(--neon-dark); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--neon); color: var(--ink); }

/* ----------------------------- HELPERS ----------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.txt-neon { color: var(--neon-darker); }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 18px;
  border-radius: var(--radius-sm); transition: top var(--t-fast);
}
.skip-link:focus { top: 12px; }

/* ----------------------------- BOTÕES ----------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: 16px;
  padding: 14px 26px; border-radius: var(--radius-pill);
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), color var(--t-fast);
  white-space: nowrap; line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 20px; height: 20px; }

.btn--primary { background: var(--neon); color: var(--ink); box-shadow: 0 1px 2px rgba(13, 17, 16, .12); font-weight: 700; }
.btn--primary:hover { background: var(--neon-dark); box-shadow: 0 6px 16px rgba(13, 17, 16, .16); }
.btn--primary svg { fill: var(--ink); }

.btn--dark { background: var(--ink); color: #fff; box-shadow: var(--shadow); }
.btn--dark:hover { background: var(--carbon); }

.btn--ghost { background: transparent; color: inherit; border: 2px solid currentColor; opacity: .9; }
.btn--ghost:hover { opacity: 1; }

.btn--lg { padding: 17px 32px; font-size: 17px; }
.btn--block { width: 100%; }
.btn--header { padding: 11px 22px; font-size: 15px; gap: 8px; }
.btn--header svg { width: 17px; height: 17px; }

.ico-arrow { width: 18px !important; height: 18px !important; fill: none !important; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ico-wa { fill: currentColor; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 13px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--neon-darker);
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; flex: none;
  background: var(--neon-darker); border-radius: 2px;
}
.eyebrow--on-dark { color: var(--neon); }
.eyebrow--on-dark::before { background: var(--neon); }

/* ----------------------------- HEADER ----------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; gap: 24px; height: 74px; }
.brand__logo { width: auto; height: 40px; }
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 28px; }
.nav__link { font-weight: 600; font-size: 15.5px; color: var(--text-soft); position: relative; padding: 6px 0; }
.nav__link::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--neon); transition: width var(--t-fast); }
.nav__link:hover { color: var(--text); }
.nav__link:hover::after { width: 100%; }
.btn--header { margin-left: 8px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 10px; margin-left: auto; }
.nav-toggle span { width: 26px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: var(--t-fast); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ----------------------------- HERO ----------------------------- */
.hero {
  position: relative; isolation: isolate;
  background: var(--ink);
  color: var(--on-dark);
  padding: clamp(56px, 9vw, 120px) 0 clamp(56px, 8vw, 110px);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 500px at 75% 18%, rgba(31, 210, 74, .22), transparent 60%),
    linear-gradient(90deg, var(--ink) 18%, rgba(13, 17, 16, .72) 60%, rgba(13, 17, 16, .35) 100%);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 660px); }
.hero__content .eyebrow { margin-bottom: 18px; }
.hero__title { font-size: clamp(2.2rem, 5.6vw, 3.7rem); color: #fff; margin-bottom: 18px; }
.hero__lead { font-size: clamp(1.05rem, 2.3vw, 1.28rem); color: var(--on-dark-soft); max-width: 46ch; margin-bottom: 24px; }
.hero__lead strong { color: #fff; }

.hero__checks { display: grid; gap: 10px; margin-bottom: 32px; }
.hero__checks li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--on-dark); }
.ico-check {
  width: 24px; height: 24px; flex: none; fill: none; stroke: var(--ink); stroke-width: 3;
  stroke-linecap: round; stroke-linejoin: round; background: var(--neon); border-radius: 50%; padding: 4px;
}
.ico-check--neon { background: rgba(31, 210, 74, .15); stroke: var(--neon); }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 16px; }
.hero__microcopy { font-size: 14px; color: var(--on-dark-soft); }

/* ----------------------------- CREDENCIAIS ----------------------------- */
.creds { background: var(--bg); border-bottom: 1px solid var(--line); }
.creds__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  padding: clamp(28px, 4vw, 40px) 0;
}
.cred { display: flex; align-items: center; gap: 14px; }
.cred__ico {
  display: inline-flex; width: 50px; height: 50px; flex: none; align-items: center; justify-content: center;
  border-radius: 14px; background: var(--neon-soft);
}
.cred__ico svg { width: 26px; height: 26px; fill: none; stroke: var(--neon-darker); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cred strong { display: block; font-size: 15.5px; }
.cred span { font-size: 13.5px; color: var(--muted); }

/* ----------------------------- SEÇÕES ----------------------------- */
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--dark .section__title { color: #fff; }
.section--dark .section__intro { color: var(--on-dark-soft); }

.section__head { max-width: 760px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section__head--left { text-align: left; margin-inline: 0; }
.section__title { font-size: clamp(1.7rem, 3.8vw, 2.5rem); margin: 16px 0 14px; }
.section__intro { color: var(--text-soft); font-size: 1.08rem; }

/* ----------------------------- SERVIÇOS ----------------------------- */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.service-card {
  display: flex; flex-direction: column; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px; position: relative; overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.service-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--neon); transform: scaleY(0); transform-origin: top; transition: transform var(--t);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleY(1); }
.service-card__ico {
  display: inline-flex; width: 56px; height: 56px; align-items: center; justify-content: center;
  border-radius: 15px; background: var(--ink); margin-bottom: 4px;
}
.service-card__ico svg { width: 30px; height: 30px; fill: none; stroke: var(--neon); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { font-size: 1.34rem; }
.service-card p { color: var(--muted); font-size: 15.5px; flex: 1; }
.service-card__cta {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--neon-darker);
  margin-top: 6px; align-self: flex-start;
}
.service-card__cta svg { transition: transform var(--t-fast); }
.service-card__cta:hover svg { transform: translateX(4px); }

/* ----------------------------- ONDE INSTALAMOS ----------------------------- */
.onde__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.onde__content .section__head { text-align: left; margin: 0 0 8px; }
.place-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 26px 0 30px; }
.place-list li {
  display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 15.5px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; position: relative; overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.place-list li::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--neon); transform: scaleY(0); transform-origin: top; transition: transform var(--t);
}
.place-list li:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.place-list li:hover::before { transform: scaleY(1); }
.place-list__ico {
  display: inline-flex; width: 46px; height: 46px; flex: none; align-items: center; justify-content: center;
  border-radius: 13px; background: var(--neon-soft); transition: background var(--t);
}
.place-list li:hover .place-list__ico { background: var(--neon-tint); }
.place-list__ico svg {
  width: 24px; height: 24px; fill: none; stroke: var(--neon-darker);
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.place-list__txt { line-height: 1.25; }
.onde__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); object-fit: cover; aspect-ratio: 6/5; }

/* ----------------------------- DIFERENCIAIS ----------------------------- */
.reasons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 980px; margin-inline: auto; }
.reason {
  display: flex; align-items: center; gap: 18px; font-size: 1.04rem; color: var(--on-dark);
  background: linear-gradient(180deg, var(--panel), var(--carbon));
  border: 1px solid var(--ink-2); border-radius: var(--radius-lg);
  padding: 24px 26px; position: relative; overflow: hidden;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.reason::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 130px; height: 130px;
  background: radial-gradient(circle, rgba(31, 210, 74, .16), transparent 70%);
  opacity: 0; transition: opacity var(--t); pointer-events: none;
}
.reason:hover { transform: translateY(-4px); border-color: rgba(31, 210, 74, .45); box-shadow: 0 18px 40px rgba(0, 0, 0, .34); }
.reason:hover::after { opacity: 1; }
.reason__txt { line-height: 1.4; }
.reason strong { color: #fff; }
.reason .ico-check--neon {
  width: 38px; height: 38px; flex: none; padding: 8px;
  background: rgba(31, 210, 74, .14);
  border: 1.5px solid rgba(31, 210, 74, .4);
  box-shadow: inset 0 0 12px rgba(31, 210, 74, .12);
  transition: background var(--t), border-color var(--t);
}
.reason:hover .ico-check--neon { background: rgba(31, 210, 74, .22); border-color: rgba(31, 210, 74, .6); }

/* ----------------------------- COMO FUNCIONA ----------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
/* Linha de fluxo conectando as etapas — visível só nos vãos entre os cards */
.steps::before {
  content: ""; position: absolute; top: 59px; left: 9%; right: 9%; height: 2px; z-index: 0;
  background: repeating-linear-gradient(90deg, rgba(31, 210, 74, .55) 0 7px, transparent 7px 15px);
}
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 26px; position: relative; z-index: 1;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.step__num {
  display: inline-flex; width: 54px; height: 54px; align-items: center; justify-content: center;
  border-radius: 16px; background: var(--ink); color: var(--neon);
  font-weight: 800; font-size: 1.32rem; margin-bottom: 18px; position: relative;
  box-shadow: 0 8px 18px rgba(13, 17, 16, .16);
}
.step__num::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  border: 1.5px solid rgba(31, 210, 74, .35);
}
.step h3 { font-size: 1.18rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* ----------------------------- SOBRE ----------------------------- */
.about__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.about__media { position: relative; }
.about__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); object-fit: cover; object-position: center top; aspect-ratio: 4/5; }
.about__badge {
  position: absolute; right: -10px; bottom: -18px; background: var(--ink); color: #fff;
  border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 22px; max-width: 230px;
  border-left: 5px solid var(--neon);
}
.about__badge strong { display: block; font-size: 1.4rem; color: var(--neon); letter-spacing: .04em; }
.about__badge span { font-size: 13px; color: var(--on-dark-soft); }
.about__content p { color: var(--text-soft); margin: 14px 0; }
.about__content .btn { margin-top: 12px; }

/* ----------------------------- FAQ ----------------------------- */
.faq__wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 5vw, 56px); align-items: start; }
.faq { display: grid; gap: 14px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 24px; transition: box-shadow var(--t-fast), border-color var(--t-fast); }
.faq__item[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-weight: 700; font-size: 1.06rem; padding: 18px 0; cursor: pointer; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 1.7rem; font-weight: 300; color: var(--neon-darker); transition: transform var(--t); line-height: 1; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__answer p { color: var(--muted); padding-bottom: 20px; }

/* ----------------------------- CTA FINAL ----------------------------- */
.cta-final {
  background:
    radial-gradient(700px 380px at 78% 0%, rgba(31, 210, 74, .28), transparent 60%),
    var(--ink);
  color: #fff; padding: clamp(56px, 8vw, 96px) 0;
}
.cta-final__inner { text-align: center; max-width: 720px; margin-inline: auto; }
.cta-final h2 { color: #fff; font-size: clamp(1.7rem, 4vw, 2.6rem); }
.cta-final p { color: var(--on-dark-soft); font-size: 1.1rem; margin: 14px 0 28px; }

/* ----------------------------- FOOTER ----------------------------- */
.site-footer { background: var(--ink); color: var(--on-dark-soft); padding: clamp(48px, 6vw, 72px) 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr; gap: 40px; }
.footer__logo-wrap { display: inline-block; background: #fff; padding: 10px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; }
.footer__logo { height: 38px; width: auto; }
.footer__brand p { color: var(--on-dark-soft); max-width: 34ch; }
.footer__col h3 { color: #fff; font-size: 1.05rem; margin-bottom: 16px; }
.footer__col ul { display: grid; gap: 10px; }
.footer__col a { color: var(--on-dark-soft); transition: color var(--t-fast); }
.footer__col a:hover { color: var(--neon); }
.footer__contact address { font-style: normal; color: var(--on-dark-soft); line-height: 1.5; }
.footer__legal {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1);
  display: grid; gap: 12px; font-size: 13px; color: #7E8E87;
}
.footer__disclaimer { max-width: 90ch; line-height: 1.6; }

/* ----------------------------- WHATSAPP FLUTUANTE ----------------------------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%; background: var(--whats);
  display: grid; place-items: center; box-shadow: 0 8px 22px rgba(13, 17, 16, .22);
  transition: transform var(--t-fast), background var(--t-fast);
}
.wa-float:hover { transform: scale(1.08); background: var(--whats-dark); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; position: relative; z-index: 2; }
.wa-float__pulse { position: absolute; inset: 0; border-radius: 50%; background: var(--whats); animation: wa-pulse 2.4s ease-out infinite; z-index: 1; }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .32; } 100% { transform: scale(1.75); opacity: 0; } }

/* ----------------------------- ANIMAÇÃO REVEAL ----------------------------- */
/* Progressive enhancement: só esconde para animar quando há JS (classe .js).
   Sem JS, o conteúdo aparece normalmente. */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s cubic-bezier(.22,1,.36,1); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ----------------------------- RESPONSIVO ----------------------------- */
@media (max-width: 980px) {
  .creds__grid { grid-template-columns: repeat(2, 1fr); }
  .services, .reasons { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .onde__grid, .about__grid, .faq__wrap { grid-template-columns: 1fr; }
  .onde__media, .about__media { max-width: 540px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav, .btn--header { display: none; }
  .nav-toggle { display: flex; }

  .site-header.nav-open .nav {
    display: block; position: absolute; top: 74px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 14px var(--gutter) 22px;
  }
  .site-header.nav-open .nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
  .site-header.nav-open .nav__link { padding: 14px 6px; }
  .site-header.nav-open .nav__link::after { display: none; }
  .site-header.nav-open .btn--header { display: inline-flex; margin: 14px 6px 0; }

  .services, .steps, .reasons, .place-list { grid-template-columns: 1fr; }
  .creds__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .about__badge { right: 12px; }
  body { font-size: 16px; }
}

@media (max-width: 420px) {
  .hero__actions .btn { width: 100%; }
}

/* ----------------------------- PREFERÊNCIAS ----------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
  .wa-float__pulse { display: none; }
}
