/* =========================================================
   Automaconn Tecnologia — estilos
   Cores e fontes ficam nas variáveis abaixo: troque aqui e
   o site inteiro acompanha.
   ========================================================= */

@font-face { font-family: "Helvetica Rounded"; src: url(../fonts/helvetica-rounded-bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url(../fonts/satoshi-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url(../fonts/satoshi-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url(../fonts/satoshi-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Sora"; src: url(../fonts/sora-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Sora"; src: url(../fonts/sora-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --blue-dark: #005ba7;
  --blue-mid: #1296ce;
  --cyan: #2adeff;
  --black: #000;
  --card: #0d0d0d;
  --white: #fbfafc;
  --muted: rgba(255, 255, 255, .65);
  --line: rgba(255, 255, 255, .12);
  --grad: linear-gradient(90deg, var(--blue-dark), var(--cyan));
  --grad-panel: linear-gradient(159deg, var(--blue-dark) 0%, var(--cyan) 100%);
  --font-title: "Helvetica Rounded", "Arial Rounded MT Bold", "Nunito", system-ui, sans-serif;
  --font-body: "Satoshi", "Inter", system-ui, sans-serif;
  --radius-lg: 40px;
  --radius: 24px;
  --container: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-title); font-weight: 700; margin: 0; line-height: 1.12; letter-spacing: -.01em; }
p { margin: 0; }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.container--narrow { max-width: 760px; }
.section { padding: 110px 0; position: relative; }

/* ---------- tipografia ---------- */
.h2 { font-size: clamp(32px, 4.4vw, 46px); }
.h2--center, .head { text-align: center; }
.head { max-width: 760px; margin: 0 auto 56px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.lead { color: var(--muted); font-size: 16px; max-width: 620px; }
.lead--left { max-width: 520px; margin-top: 20px; }
.lead strong { color: var(--white); }
.accent { color: var(--cyan); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(20, 20, 20, .8); border: 1px solid var(--line);
  font-size: 13px; color: var(--white);
  box-shadow: 0 0 24px rgba(255, 255, 255, .06) inset;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.badge--dark { background: #0a0a0a; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 500; font-size: 15px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: linear-gradient(180deg, var(--cyan), var(--blue-mid) 70%, var(--blue-dark));
  color: #fff;
  box-shadow: 0 0 0 1px rgba(42, 222, 255, .35), 0 8px 30px rgba(18, 150, 206, .45);
}
.btn--primary:hover { box-shadow: 0 0 0 1px rgba(42, 222, 255, .6), 0 10px 40px rgba(42, 222, 255, .5); }
.btn--ghost { background: #0a0a0a; border-color: rgba(255, 255, 255, .22); color: var(--white); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, .5); }
.btn--sm { padding: 9px 20px; font-size: 14px; font-weight: 700; }
.btn--block { width: 100%; }

/* ---------- menu ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, backdrop-filter .3s; }
.nav.is-scrolled { background: rgba(0, 0, 0, .8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.nav__inner { width: min(1280px, 100% - 40px); margin: auto; height: 76px; display: flex; align-items: center; gap: 32px; }
.nav__logo { margin-right: auto; }
.nav__logo img { width: 66px; height: 66px; }
.nav__links { display: flex; gap: 30px; font-size: 14px; }
.nav__links a { color: rgba(255, 255, 255, .85); transition: color .2s; }
.nav__links a:hover { color: var(--cyan); }
.nav__toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; transition: transform .3s; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 150px 0 90px; overflow: hidden; }
.hero__waves { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(60% 40% at 15% 70%, rgba(0, 91, 167, .28), transparent 70%), radial-gradient(50% 35% at 90% 85%, rgba(18, 150, 206, .18), transparent 70%); }
.hero::after { /* granulado igual ao original */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url(../img/noise.png); opacity: .035; mix-blend-mode: overlay;
}
.hero > :not(.hero__waves) { position: relative; z-index: 1; }
.hero__content { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; }
.hero__title { font-size: clamp(40px, 7vw, 80px); max-width: 900px; line-height: 1.08; }
.hero__text { color: var(--muted); font-size: 15px; max-width: 600px; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* faixa de logos */
.logos { margin: 80px auto 0; width: min(760px, 100%); display: grid; gap: 26px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); }
.logos__row { overflow: hidden; }
.logos__track { display: flex; align-items: center; gap: 64px; width: max-content; animation: marquee 38s linear infinite; }
.logos__row--reverse .logos__track { animation-direction: reverse; }
.logos__track img { height: 36px; width: auto; max-width: none; object-fit: contain; opacity: .7; filter: grayscale(1) brightness(1.7); transition: filter .35s ease, opacity .35s ease, transform .35s ease; }
.logos__track img:hover { filter: none; opacity: 1; transform: scale(1.06); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* números */
.stats { display: grid; grid-template-columns: repeat(4, auto); justify-content: center; gap: 20px 56px; margin-top: 100px; text-align: center; }
.stat strong { display: block; font-family: var(--font-title); font-size: clamp(44px, 6vw, 72px); line-height: 1; }
.stat__label { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--muted); font-size: 16px; font-weight: 500; }
.stat__label svg { width: 22px; height: 22px; color: var(--cyan); flex: none; }

/* ---------- painéis azuis ---------- */
.panel { position: relative; }
.panel--blue { background: var(--grad-panel); border-radius: 30px; padding: 90px 0; margin: 0 max(0px, calc((100vw - 1320px) / 2)); }
.panel--blue .h2 { color: #fff; max-width: 820px; margin: 0 auto 70px; }
.panel--blue .accent { color: var(--cyan); }

.problem { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; max-width: 960px; margin: 0 auto 70px; }
.problem:last-child { margin-bottom: 0; }
.problem img { border-radius: 16px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; box-shadow: 0 20px 50px rgba(0, 40, 80, .35); }
.problem--reverse img { order: 2; }
.problem h3 { font-family: var(--font-body); font-weight: 700; font-size: 22px; margin-bottom: 12px; }
.problem p { color: rgba(255, 255, 255, .88); font-size: 15px; }

/* ---------- soluções ---------- */
.niches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.niche { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3.4; background: var(--card); }
.niche img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.niche:hover img { transform: scale(1.06); }
.niche span {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  display: flex; justify-content: center; align-items: center; gap: 8px;
  padding: 10px; border-radius: 999px; font-size: 14px; font-weight: 500;
  background: linear-gradient(180deg, #1583d0, var(--blue-dark));
  box-shadow: 0 6px 20px rgba(0, 0, 0, .35);
}
.niche i { font-style: normal; font-size: 16px; }

/* ---------- certificado / ponto ---------- */
#tecnologia { padding-top: 40px; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 120px; }
.feature:last-child { margin-bottom: 0; }
.feature__media img { width: 100%; max-width: 480px; margin: auto; }

/* ---------- sobre ---------- */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.about .h2 { margin: 22px 0 22px; text-align: left; max-width: none; }
.about__text { color: rgba(255, 255, 255, .92); font-size: 17px; max-width: 460px; }
.about__photo img { border-radius: 16px; width: 100%; max-width: 440px; margin-left: auto; box-shadow: 0 30px 60px rgba(0, 30, 70, .45); }

/* ---------- depoimentos ---------- */
.reels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 900px; margin: auto; }
.reels iframe { width: 100%; height: 560px; border: 0; border-radius: 14px; background: #fff; }

/* ---------- formulário ---------- */
.form-section { overflow: hidden; }
.form-wrap { position: relative; }
.form-wrap__bg { position: absolute; left: 50%; top: -170px; width: 1200px; max-width: none; transform: translateX(-50%); pointer-events: none; z-index: 0; }
.form-wrap .form { position: relative; z-index: 1; }
.form {
  max-width: 440px; margin: auto; padding: 24px; display: grid; gap: 16px;
  background: rgba(13, 13, 13, .92); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}
.form label { display: grid; gap: 7px; font-size: 12px; color: rgba(255, 255, 255, .8); }
.form input, .form select {
  width: 100%; padding: 11px 12px; border-radius: 8px; border: 1px solid transparent;
  background: #1f1f1f; color: #fff; font: inherit; font-size: 14px; outline: none;
  transition: border-color .2s;
}
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #aaa 50%), linear-gradient(135deg, #aaa 50%, transparent 50%); background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 32px; }
.form select option { background: #1f1f1f; }
.form input:focus, .form select:focus { border-color: var(--cyan); }
.form .is-invalid { border-color: #ff5a6a; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form button:disabled { opacity: .7; cursor: wait; }
.form__msg { font-size: 13px; text-align: center; min-height: 1em; color: var(--cyan); }
.form__msg.is-error { color: #ff7d8a; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #0d0d0d; border: 1px solid var(--line); border-radius: 10px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 50px 18px 20px; position: relative; font-size: 15px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 20px; transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 20px 20px; color: var(--muted); font-size: 15px; }

/* ---------- rodapé ---------- */
.footer { background: linear-gradient(150deg, var(--cyan) -11%, var(--blue-dark) 100%); border-radius: 48px 48px 0 0; padding: 70px 0 28px; margin: 40px max(0px, calc((100vw - 1320px) / 2)) 0; }
.footer__logo { width: min(560px, 90%); margin: 0 auto 50px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr .8fr; gap: 32px; max-width: 960px; margin: auto; font-size: 13px; }
.footer h4 { font-family: var(--font-body); font-size: 16px; margin-bottom: 12px; }
.footer small { display: block; font-size: 11px; opacity: .85; margin-bottom: 4px; }
.footer a:hover { text-decoration: underline; }
.footer__map { width: 100%; max-width: 260px; height: 140px; border: 0; border-radius: 8px; }
.footer__phone { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.footer__phone svg { width: 18px; height: 18px; fill: #fff; }
.footer__social { display: flex; gap: 12px; }
.footer__social svg { width: 22px; height: 22px; fill: #fff; }
.footer__copy { text-align: center; font-size: 12px; margin-top: 60px; opacity: .9; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37, 211, 102, .45); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }

/* ---------- animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .logos__track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsivo ---------- */
@media (max-width: 960px) {
  .nav__links { position: fixed; inset: 76px 0 auto; flex-direction: column; gap: 0; background: #000; padding: 10px 20px 20px; box-shadow: 0 20px 40px rgba(0, 0, 0, .6); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-12px); transition: opacity .3s, transform .3s, visibility 0s .3s; }
  .nav__links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition: opacity .3s, transform .3s; }
  .nav.is-open { background: #000; }
  .nav__toggle { display: block; }
  .nav.is-open .nav__toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav.is-open .nav__toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .stats { grid-template-columns: repeat(2, auto); gap: 40px 60px; }
  .problem, .feature, .about { grid-template-columns: 1fr; gap: 28px; }
  .problem--reverse img { order: 0; }
  .feature--reverse .feature__media { order: -1; }
  .feature { margin-bottom: 90px; text-align: center; }
  .feature .lead--left { margin-inline: auto; }
  .about .h2, .about__text { text-align: left; }
  .about__photo img { margin: auto; }
  .niches { grid-template-columns: repeat(2, 1fr); }
  .reels { grid-template-columns: 1fr; max-width: 380px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .section { padding: 80px 0; }
  .hero { padding-top: 120px; }
  .panel--blue { padding: 64px 0; border-radius: 28px; }
  .panel--blue .h2 { margin-bottom: 44px; }
  .problem { margin-bottom: 48px; }
  .niches { gap: 10px; }
  .niche span { font-size: 12px; padding: 8px; left: 6px; right: 6px; bottom: 6px; }
  .logos__track { gap: 40px; }
  .logos__track img { zoom: .8; }
  .footer { border-radius: 28px 28px 0 0; }
  .footer__grid { grid-template-columns: 1fr; text-align: left; }
  .footer__map { max-width: none; }
  .nav__logo img { width: 52px; height: 52px; }
  .form-wrap__bg { width: 640px; top: -100px; }
  .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}
