/* ===== Eixo Tecnologia — tema claro (verde + branco) e escuro (verde + preto) ===== */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/inter-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/inter-600.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/inter-700.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/inter-800.woff2") format("woff2"); }

:root {
  --brand: #0f9d58;
  --brand-strong: #0b7a44;
  --brand-soft: #e7f6ee;
  --on-brand: #ffffff;
  --accent: #34d17f;

  --bg: #ffffff;
  --bg-alt: #f4faf6;
  --surface: #ffffff;
  --text: #0e1f16;
  --text-muted: #4b5f54;
  --border: #d9e8df;
  --shadow: 0 10px 30px rgba(15, 157, 88, .12);
  --header-bg: rgba(255, 255, 255, .85);
  --radius: 18px;
  --wa: #25d366;
  --wa-dark: #0e7a40;
  --btn-bg: #0b7a44;   /* verde profundo: texto branco com contraste AA */
  --btn-bg-2: #08653a;
  --btn-fg: #ffffff;
}

[data-theme="dark"] {
  --brand: #2ee08a;
  --brand-strong: #6cf0ad;
  --brand-soft: #0f2a1c;
  --on-brand: #04130b;
  --accent: #19b566;

  --bg: #050806;
  --bg-alt: #0a110d;
  --surface: #0e1712;
  --text: #eaf5ee;
  --text-muted: #9db3a6;
  --border: #1c2c23;
  --shadow: 0 10px 30px rgba(0, 0, 0, .5);
  --header-bg: rgba(5, 8, 6, .85);
  --btn-bg: #2ee08a;
  --btn-bg-2: #19b566;
  --btn-fg: #04130b;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background .3s, color .3s;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--brand-strong); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand-strong); margin-bottom: 14px;
}
.grad { background: linear-gradient(90deg, var(--brand), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ===== Botões ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 2px solid var(--btn-bg);
  background: var(--btn-bg); color: var(--btn-fg); font: inherit; font-weight: 700;
  text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:focus-visible, .theme-toggle:focus-visible, .menu-toggle:focus-visible, .wa-float:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.btn--ghost { background: transparent; color: var(--brand-strong); }
.btn--small { padding: 9px 20px; font-size: .95rem; }
.btn--wa { background: var(--wa-dark); border-color: var(--wa-dark); color: #fff; width: 100%; }
.btn--wa svg { width: 22px; height: 22px; fill: currentColor; }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 50; background: var(--header-bg);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brand); font-size: 1.35rem; }
.logo__mark { width: 36px; height: 36px; }
.logo__text { color: var(--text); font-weight: 500; letter-spacing: -.02em; }
.logo__text strong { color: var(--brand-strong); font-weight: 800; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: var(--text); text-decoration: none; font-weight: 500; font-size: .98rem; }
.nav a:not(.btn):hover { color: var(--brand-strong); }
.header__actions { display: flex; align-items: center; gap: 8px; }

.theme-toggle, .menu-toggle {
  width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); cursor: pointer; display: grid; place-items: center;
}
.theme-toggle .icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--moon { display: none; }
[data-theme="dark"] .icon--sun { display: none; }
[data-theme="dark"] .icon--moon { display: block; }
.menu-toggle { display: none; flex-direction: column; gap: 4px; align-items: center; justify-content: center; }
.menu-toggle span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ===== Idioma ===== */
.lang { display: flex; padding: 3px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.lang button {
  border: 0; background: transparent; color: var(--text-muted); font: inherit; font-size: .78rem; font-weight: 700;
  padding: 0 9px; height: 34px; border-radius: 9px; cursor: pointer; letter-spacing: .04em;
}
.lang button:hover { color: var(--text); }
.lang button[aria-pressed="true"] { background: var(--btn-bg); color: var(--btn-fg); }
.lang button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ===== Hero ===== */
.hero {
  padding: clamp(48px, 9vw, 110px) 0 clamp(40px, 7vw, 80px);
  background:
    radial-gradient(60% 60% at 85% 10%, var(--brand-soft) 0%, transparent 70%),
    var(--bg);
}
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero__lead { font-size: 1.15rem; color: var(--text-muted); max-width: 54ch; margin-top: 18px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.hero__visual { position: relative; max-width: 440px; margin-inline: auto; width: 100%; }
.axis-art { width: 100%; height: auto; }
.ring { fill: none; stroke: var(--border); stroke-width: 2; }
.ring--2 { stroke: var(--brand); stroke-opacity: .35; stroke-dasharray: 4 8; }
.cross { stroke: var(--brand); stroke-width: 3; stroke-linecap: round; stroke-opacity: .55; }
.core { fill: var(--brand); }
.dot { fill: var(--brand); }
.dot--alt { fill: var(--accent); }
.orbit { transform-origin: 200px 200px; animation: spin 24s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.chip {
  position: absolute; padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: .9rem;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); color: var(--brand-strong);
  animation: float 5s ease-in-out infinite;
}
.chip--a { top: 10%; right: 4%; }
.chip--b { bottom: 18%; left: -2%; animation-delay: -1.5s; }
.chip--c { bottom: 4%; right: 12%; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ===== Números ===== */
.stats { border-block: 1px solid var(--border); background: var(--bg-alt); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 20px; text-align: center; border-left: 1px solid var(--border); }
.stat:first-child { border-left: 0; }
.stat__num { display: block; font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 800; color: var(--brand-strong); letter-spacing: -.03em; line-height: 1.1; }
.stat__label { display: block; margin-top: 6px; color: var(--text-muted); font-size: .95rem; }

/* ===== Seções ===== */
.section { padding: clamp(56px, 9vw, 104px) 0; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 640px; margin-bottom: 44px; }
.section__head p { color: var(--text-muted); font-size: 1.08rem; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; transition: transform .2s, box-shadow .25s, border-color .2s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--brand); }
.card p { color: var(--text-muted); font-size: .96rem; margin: 0; }
.card__icon { width: 50px; height: 50px; border-radius: 14px; background: var(--brand-soft); display: grid; place-items: center; margin-bottom: 18px; }
.card__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--brand-strong); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ===== Diagnóstico → solução ===== */
.dx { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.dx__intro p { color: var(--text-muted); font-size: 1.08rem; }
.flow { display: flex; flex-wrap: nowrap; align-items: center; gap: 6px; margin: 26px 0 30px; }
.flow__step { padding: 8px 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-weight: 600; font-size: .88rem; white-space: nowrap; }
.flow__step--on { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--btn-fg); }
.flow__arrow { color: var(--brand-strong); font-weight: 700; }
.dx__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.dx__list li { padding: 22px; border: 1px solid var(--border); border-left: 4px solid var(--brand); border-radius: 14px; background: var(--surface); }
.dx__list h3 { font-size: 1.02rem; margin-bottom: .35em; }
.dx__tag { display: inline-block; margin-top: 12px; padding: 4px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-strong); font-size: .8rem; font-weight: 700; }
.dx__tag::before { content: "→ "; }
.dx__list p { margin: 0; color: var(--text-muted); font-size: .93rem; }
.card--featured { border-color: var(--brand); background: var(--brand-soft); }

/* ===== Sobre ===== */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.about__photo { position: relative; margin: 0; max-width: 380px; width: 100%; margin-inline: auto; }
.about__photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top;
  border-radius: 28px; border: 1px solid var(--border); box-shadow: var(--shadow); background: var(--brand-soft);
}
.about__badge {
  position: absolute; right: -14px; bottom: -18px; padding: 16px 22px; border-radius: 20px; text-align: center;
  background: linear-gradient(135deg, var(--btn-bg), var(--btn-bg-2));
  color: var(--btn-fg); box-shadow: var(--shadow);
}
.about__years { display: block; font-size: 3rem; font-weight: 800; line-height: 1; letter-spacing: -.04em; }
.about__years small { font-size: .5em; }
.about__years-label { display: block; font-weight: 600; font-size: .95rem; }
.about__text p { color: var(--text-muted); }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.500 10.500l3 3 6-6.500' fill='none' stroke='white' stroke-width='2.200' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

/* ===== Método ===== */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { position: relative; padding: 26px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.steps p { color: var(--text-muted); margin: 0; font-size: .96rem; }
.steps__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--btn-bg); color: var(--btn-fg); font-weight: 800; margin-bottom: 16px; }

/* ===== Contato ===== */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact__intro p { color: var(--text-muted); font-size: 1.08rem; }
.form { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: clamp(22px, 4vw, 34px); box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.field label small { font-weight: 400; color: var(--text-muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: 12px; border: 1.5px solid var(--border);
  background: var(--bg); color: var(--text); font: inherit; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #d93025; }
.field__error { display: block; min-height: 1.1em; margin-top: 4px; color: #d93025; font-size: .85rem; }
[data-theme="dark"] .field__error, [data-theme="dark"] .field.invalid input { color: #ff8a80; }
.form__hint { margin: 14px 0 0; font-size: .82rem; color: var(--text-muted); text-align: center; }

/* ===== Rodapé ===== */
.footer { padding: 44px 0; border-top: 1px solid var(--border); text-align: center; color: var(--text-muted); }
.footer__inner { display: grid; gap: 10px; justify-items: center; }
.footer p { margin: 0; }
.footer__copy { font-size: .85rem; }
.footer__social { display: flex; gap: 12px; margin: 4px 0; }
.footer__social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 999px;
  border: 1px solid var(--border); color: var(--text-muted);
  transition: color .2s, border-color .2s, background .2s;
}
.footer__social a:hover, .footer__social a:focus-visible {
  color: var(--on-brand); background: var(--brand); border-color: var(--brand);
}
.footer__social svg { width: 18px; height: 18px; fill: currentColor; }

/* ===== Botão flutuante ===== */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: 0;
  height: 60px; padding: 0 16px; border-radius: 999px; background: var(--wa); color: #fff;
  text-decoration: none; box-shadow: 0 8px 24px rgba(0, 0, 0, .28); transition: transform .2s, gap .25s;
}
.wa-float svg { width: 30px; height: 30px; fill: currentColor; flex-shrink: 0; }
.wa-float__label { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 700; opacity: 0; transition: max-width .3s, opacity .25s; }
.wa-float:hover, .wa-float:focus-visible { transform: translateY(-3px); gap: 10px; }
.wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label { max-width: 180px; opacity: 1; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--wa); animation: pulse 2.4s ease-out infinite; pointer-events: none; }
@keyframes pulse { from { transform: scale(1); opacity: .7; } to { transform: scale(1.35); opacity: 0; } }

/* ===== Responsivo ===== */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .menu-toggle { display: flex; }
  .nav {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--border); padding: 8px 16px 18px;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.open { opacity: 1; transform: none; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--border); }
  .nav__cta { margin-top: 14px; }
  .hero__inner, .about, .contact, .dx { grid-template-columns: 1fr; gap: 36px; }
  .hero__visual { max-width: 340px; order: -1; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--border); }
}
@media (max-width: 560px) {
  .lang button { padding: 0 7px; }
  .header__actions { gap: 6px; }
  .cards, .steps, .dx__list { grid-template-columns: 1fr; }
  .flow { flex-direction: column; align-items: flex-start; }
  .flow__arrow { transform: rotate(90deg); margin-left: 18px; }
  .hero__cta .btn { width: 100%; }
  .wa-float { right: 14px; bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
