/* IZYRONOPS v2 — "Painel claro" */
:root {
  --navy: #0c1a2c;
  --navy-2: #132841;
  --navy-line: rgba(255, 255, 255, 0.09);
  --ink: #13253a;
  --muted: #4c5c6d;
  --paper: #f5f6f1;
  --surface: #ffffff;
  --line: #d9dfe3;
  --green: #b8e56c;
  --green-ink: #2d6a1e;
  --green-soft: #ebf5dc;
  --on-dark: #ffffff;
  --on-dark-muted: #c3cfdc;
  --focus: #2a69ad;
  --danger: #a32121;
  --danger-soft: #fbeeee;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(12, 26, 44, 0.05), 0 8px 24px rgba(12, 26, 44, 0.06);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
}
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
svg { display: block; flex: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.hero :focus-visible, .header :focus-visible { outline-color: var(--green); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(1160px, 100% - 3rem); margin-inline: auto; }

.skip {
  position: fixed; top: -100px; left: 1rem; z-index: 50;
  padding: .75rem 1.1rem; border-radius: var(--radius);
  background: var(--surface); color: var(--ink); font-weight: 700;
}
.skip:focus { top: 1rem; }

/* Botões e links */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .75rem 1.35rem;
  border: 1.5px solid transparent; border-radius: 999px;
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none;
  cursor: pointer; transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.button-accent { background: var(--green); color: var(--navy); }
.button-accent:hover { background: #cdf08f; }
.button-dark { background: var(--navy); color: var(--on-dark); }
.button-dark:hover { background: var(--navy-2); }
.button-outline { border-color: rgba(255, 255, 255, 0.35); color: var(--on-dark); }
.button-outline:hover { border-color: var(--green); color: var(--green); }
.button:active { transform: translateY(1px); }
.button[disabled] { opacity: .7; cursor: progress; }

.text-link { font-weight: 600; text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-thickness: 2px; }
.text-link-light { color: var(--on-dark); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-ink); margin-bottom: 1rem;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 2px; background: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.eyebrow-light { color: var(--green); }
.eyebrow-light .dot { box-shadow: 0 0 0 3px rgba(184, 229, 108, 0.18); }

/* Marca */
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand-mark {
  display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 10px; background: var(--green); color: var(--navy);
}
.brand-mark svg { width: 30px; height: 30px; fill: currentColor; }
.brand-name { font-size: 1.2rem; font-weight: 800; letter-spacing: .06em; }
.brand-name b { font-weight: 400; color: var(--on-dark-muted); }

/* Cabeçalho */
.header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(12, 26, 44, 0.96); color: var(--on-dark);
  border-bottom: 1px solid var(--navy-line);
}
@supports (backdrop-filter: blur(8px)) { .header { background: rgba(12, 26, 44, 0.88); backdrop-filter: blur(10px); } }
.nav { display: flex; align-items: center; gap: 2rem; min-height: 76px; }
.nav-links { display: flex; gap: 1.75rem; margin-left: auto; }
.nav-links a { color: var(--on-dark-muted); text-decoration: none; font-size: .95rem; font-weight: 500; padding: .35rem 0; }
.nav-links a:hover { color: var(--on-dark); text-decoration: underline; text-underline-offset: .35em; }
.nav-cta { min-height: 42px; padding: .55rem 1.05rem; font-size: .93rem; }

/* 1. Abertura */
.hero {
  position: relative; overflow: hidden; color: var(--on-dark);
  background:
    radial-gradient(60rem 30rem at 85% 10%, rgba(42, 105, 173, 0.28), transparent 60%),
    linear-gradient(var(--navy-line) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, var(--navy-line) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--navy);
  padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(4.5rem, 9vw, 7.5rem);
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 120px;
  background: linear-gradient(transparent, rgba(12, 26, 44, 0.9));
  pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .75fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2.35rem, 5.4vw, 4.2rem); font-weight: 800; max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--green); }
.hero-intro { margin-top: 1.5rem; max-width: 36rem; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--on-dark-muted); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2.25rem; }

.hero-mark { display: grid; justify-items: center; gap: 1.75rem; }
.mark-frame { position: relative; width: min(100%, 300px); aspect-ratio: 1; display: grid; place-items: center; }
.ring { position: absolute; border-radius: 28%; border: 1px solid rgba(255, 255, 255, 0.14); }
.ring-1 { inset: 0; }
.ring-2 { inset: 13%; border-color: rgba(184, 229, 108, 0.35); }
.ring-3 { inset: 26%; border-color: rgba(255, 255, 255, 0.2); border-style: dashed; }
.mark-core {
  position: relative; display: grid; place-items: center;
  width: 36%; aspect-ratio: 1; border-radius: 24%;
  background: var(--green); color: var(--navy);
  box-shadow: 0 0 0 10px rgba(184, 229, 108, 0.08), 0 20px 50px rgba(0, 0, 0, 0.35);
}
.mark-core svg { width: 76%; height: 76%; fill: currentColor; }
.mark-words { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; list-style: none; padding: 0; margin: 0; }
.mark-words li {
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--on-dark-muted); padding: .35rem .8rem; border: 1px solid var(--navy-line); border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

/* Seções */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-head { max-width: 40rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2, .environment h2, .contact h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 800; }
.section-head p:not(.eyebrow) { margin-top: .9rem; color: var(--muted); font-size: 1.1rem; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }

/* 2. Serviços */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.service { position: relative; padding: 1.6rem 1.5rem 1.75rem; display: flex; flex-direction: column; gap: .8rem; transition: border-color .2s ease, transform .2s ease; }
.service::before { content: ""; position: absolute; left: 1.5rem; right: 1.5rem; top: -1px; height: 3px; border-radius: 0 0 3px 3px; background: var(--green); transform: scaleX(.25); transform-origin: left; transition: transform .25s ease; }
.service:hover { border-color: #bfc9cf; transform: translateY(-2px); }
.service:hover::before { transform: scaleX(1); }
.service-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: .4rem; }
.service-icon { width: 44px; height: 44px; padding: 8px; border-radius: 12px; background: var(--green-soft); fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-num { font-size: .85rem; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.service h3 { font-size: 1.18rem; font-weight: 750; }
.service-question { font-weight: 600; color: var(--ink); }
.service p:last-child { color: var(--muted); font-size: .98rem; }

/* 3. Seu ambiente */
.environment { background: var(--surface); border-block: 1px solid var(--line); }
.environment-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.environment-copy h2 { max-width: 18ch; }
.environment-copy p:not(.eyebrow) { margin: 1.25rem 0 2rem; max-width: 34rem; color: var(--muted); font-size: 1.1rem; }
.start-card {
  position: relative; padding: clamp(1.75rem, 3vw, 2.4rem);
  border-radius: var(--radius-lg); background: var(--navy); color: var(--on-dark);
  overflow: hidden;
}
.start-card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 30%; border: 1px solid rgba(184, 229, 108, 0.25); transform: rotate(12deg); }
.start-label { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }
.start-lead { margin-top: .75rem; font-size: clamp(1.3rem, 2.4vw, 1.55rem); font-weight: 750; line-height: 1.25; letter-spacing: -0.01em; max-width: 20ch; }
.start-list { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: .6rem; }
.start-list li {
  display: flex; gap: .75rem; align-items: flex-start;
  padding: .85rem 1rem; border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--navy-line); color: #e3eaf1;
}
.start-list li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: .55em; border-radius: 2px; background: var(--green); }

/* 4. Processo */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: step; }
.step { position: relative; padding-top: 1.5rem; border-top: 2px solid var(--line); }
.step::before { content: ""; position: absolute; top: -2px; left: 0; width: 56px; height: 2px; background: var(--green-ink); }
.step-num {
  display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 1rem;
  border-radius: 12px; background: var(--navy); color: var(--green); font-weight: 800; font-variant-numeric: tabular-nums;
}
.step h3 { font-size: 1.2rem; font-weight: 750; }
.step p { margin-top: .5rem; color: var(--muted); max-width: 30ch; }

/* 5. Contato */
.contact { background: linear-gradient(var(--paper), #eceee6); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-copy { position: sticky; top: 110px; }
.contact-copy p:not(.eyebrow) { margin-top: 1.1rem; color: var(--muted); font-size: 1.08rem; max-width: 30rem; }
.contact-copy .contact-note { font-size: .95rem; }

.form { padding: clamp(1.4rem, 3vw, 2.25rem); display: grid; gap: 1.25rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; }
.field { display: grid; gap: .4rem; align-content: start; min-width: 0; }
.field-full { grid-column: 1 / -1; }
label { font-weight: 650; font-size: .96rem; }
.req { color: var(--danger); font-weight: 700; }
.opt { font-weight: 400; font-size: .85rem; color: var(--muted); margin-left: .25rem; }
input:not([type=checkbox]), select, textarea {
  width: 100%; min-height: 48px; padding: .7rem .85rem;
  border: 1.5px solid #b9c3cb; border-radius: var(--radius); background: var(--surface);
  font-size: 1rem; transition: border-color .15s ease, box-shadow .15s ease;
}
textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
select {
  appearance: none; padding-right: 2.5rem; cursor: pointer;
  background-image: url("/select-chevron.svg");
  background-repeat: no-repeat; background-position: right .8rem center; background-size: 18px;
}
input:not([type=checkbox]):hover, select:hover, textarea:hover { border-color: #8e9ba6; }
input:not([type=checkbox]):focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px rgba(42, 105, 173, 0.25); }
[aria-invalid=true] { border-color: var(--danger) !important; }
.field-meta { display: flex; justify-content: space-between; gap: 1rem; font-size: .88rem; color: var(--muted); }
.field-count { flex: none; font-variant-numeric: tabular-nums; }
.field-count.is-near { color: var(--danger); font-weight: 600; }
.field-error { color: var(--danger); font-size: .9rem; font-weight: 600; }

.warning {
  display: flex; gap: .75rem; align-items: flex-start;
  padding: .9rem 1rem; border-radius: var(--radius);
  background: var(--green-soft); border: 1px solid #cfe5ae; font-size: .94rem; color: var(--ink);
}
.warning svg { width: 22px; height: 22px; margin-top: .1rem; fill: none; stroke: var(--green-ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.warning strong { font-weight: 700; }

.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.checkbox { display: flex; gap: .75rem; align-items: flex-start; font-weight: 400; font-size: .95rem; cursor: pointer; }
.checkbox input { flex: none; width: 22px; height: 22px; margin: .1rem 0 0; accent-color: var(--navy); cursor: pointer; }
.checkbox a { font-weight: 600; text-underline-offset: .2em; }

.button-submit { justify-self: start; min-width: 220px; }
.form-status:empty { display: none; }
.form-status { padding: .9rem 1rem; border-radius: var(--radius); font-weight: 600; outline-offset: 2px; }
.form-status[data-state=pending] { background: #eef2f6; color: var(--ink); }
.form-status[data-state=success] { background: var(--green-soft); color: #1f4f13; border: 1px solid #cfe5ae; }
.form-status[data-state=error] { background: var(--danger-soft); color: var(--danger); border: 1px solid #efc9c9; }

/* 6. Rodapé */
.footer { background: var(--navy); color: var(--on-dark); padding: 3rem 0 1.5rem; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem 2rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; }
.footer-nav a { color: var(--on-dark-muted); text-decoration: none; padding: .35rem 0; }
.footer-nav a:hover { color: var(--on-dark); text-decoration: underline; text-underline-offset: .3em; }
.footer :focus-visible { outline-color: var(--green); }
.footer-bottom { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--navy-line); font-size: .88rem; color: var(--on-dark-muted); }

/* Aviso de privacidade */
.privacy { padding: clamp(3rem, 7vw, 5rem) 0 clamp(4rem, 8vw, 6rem); }
.privacy-body { max-width: 46rem; }
.privacy h1 { font-size: clamp(2rem, 4.5vw, 2.9rem); font-weight: 800; }
.privacy .privacy-meta { margin-top: .75rem; color: var(--muted); font-size: .95rem; }
.privacy h2 { font-size: 1.3rem; font-weight: 750; margin-top: 2.5rem; }
.privacy p, .privacy ul { margin-top: .9rem; color: #2c3d50; }
.privacy ul { padding-left: 1.2rem; }
.privacy li + li { margin-top: .35rem; }
.privacy a { font-weight: 600; text-underline-offset: .2em; }
.privacy .button { margin-top: 2.5rem; }

/* Responsivo */
@media (max-width: 1040px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-mark { display: none; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .environment-grid, .contact-grid { grid-template-columns: 1fr; }
  .contact-copy { position: static; }
  .steps { grid-template-columns: 1fr; gap: 1.75rem; }
  .step p { max-width: none; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .wrap { width: calc(100% - 2rem); }
  .nav { min-height: 64px; gap: 1rem; }
  html { scroll-padding-top: 76px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-mark svg { width: 27px; height: 27px; }
  .brand-name { font-size: 1.05rem; }
  .nav-cta { padding: .5rem .85rem; min-height: 44px; }
  .hero-actions { flex-direction: column; align-items: stretch; text-align: center; }
  .hero-actions .text-link { padding: .5rem; }
  .service-grid { grid-template-columns: 1fr; }
  .environment-copy .button, .button-submit { width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .field-meta { flex-direction: column; gap: .15rem; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 380px) {
  .nav-cta span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nav-cta { width: 44px; padding: 0; }
}

/* Movimento */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .hero-copy > * { animation: rise .6s ease both; }
  .hero-copy > :nth-child(2) { animation-delay: .06s; }
  .hero-copy > :nth-child(3) { animation-delay: .12s; }
  .hero-copy > :nth-child(4) { animation-delay: .18s; }
  .ring-3 { animation: spin 60s linear infinite; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (forced-colors: active) {
  .button, .card, .start-card { border: 1px solid CanvasText; }
}

/* Alvos de toque (WCAG 2.5.8): links de navegação com área mínima de 44px */
.brand, .footer-nav a, .nav-links a, .text-link { min-height: 44px; display: inline-flex; align-items: center; }
.hero-actions .text-link { padding-inline: .25rem; }
