/* Agicont — site estático, mobile-first */
@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/poppins-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/poppins-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/poppins-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/poppins-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Roboto;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/roboto-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Roboto;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/roboto-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Roboto;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/roboto-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Roboto;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/roboto-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #050259;
  --blue: #030A8C;
  --teal: #41BFB3;
  --teal-dark: #0E7A72;
  --slate: #396273;
  --hover: #204066;
  --footer: #050259;
  --text: #1a1a1a;
  --muted: #3f4a4e;
  --bg: #fff;
  --bg-soft: #FBFBFB;
  --line: #e4e8ec;
  --white: #fff;
  --radius: 4px;
  --shadow: 0 2px 10px rgba(5, 2, 89, 0.06);
  --max: 1120px;
  --header-h: 4.25rem;
  --sans: Roboto, "Segoe UI", sans-serif;
  --display: Poppins, Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1.0625rem;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { color: var(--navy); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.2; color: var(--navy); margin: 0 0 0.75rem; }
h1 { font-size: clamp(1.7rem, 4.2vw, 2.6rem); }
h2 { font-size: clamp(1.35rem, 3vw, 1.85rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }
.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--navy); color: var(--white);
  padding: 0.6rem 1rem; z-index: 100;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }
.wrap { width: min(var(--max), calc(100% - 1.5rem)); margin-inline: auto; }
.wrap-narrow { width: min(44rem, calc(100% - 1.5rem)); margin-inline: auto; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: var(--header-h);
}
.logo { display: flex; align-items: center; flex: 0 0 auto; }
.logo img { width: auto; height: 2.6rem; }
.nav-bar { display: flex; align-items: center; gap: 0.15rem 1rem; flex-wrap: wrap; justify-content: flex-end; }
.nav-bar a, .nav-bar summary {
  font-family: var(--display);
  font-weight: 600; font-size: 0.92rem;
  color: var(--navy); text-decoration: none;
  background: none; border: 0; cursor: pointer;
  padding: 0.4rem 0.15rem; list-style: none;
}
.nav-bar summary::-webkit-details-marker { display: none; }
.nav-bar summary::after { content: " ▾"; font-size: 0.7em; color: var(--slate); }
.nav-bar a:hover, .nav-bar summary:hover { color: var(--teal-dark); }
.nav-bar a[aria-current="page"] { color: var(--teal-dark); }
.dropdown { position: relative; }
.dropdown .menu {
  position: absolute; right: 0; top: calc(100% + 0.35rem);
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  min-width: 18rem; padding: 0.4rem; z-index: 30;
}
.dropdown .menu a {
  display: block; padding: 0.55rem 0.75rem;
  color: var(--navy); border-radius: 6px; font-weight: 500;
}
.dropdown .menu a:hover { background: var(--bg-soft); color: var(--teal-dark); }
.menu-toggle { display: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  font-family: var(--display); font-weight: 600; font-size: 0.95rem;
  line-height: 1.2; text-decoration: none; border-radius: 6px;
  padding: 0.75rem 1.15rem; border: 2px solid transparent; cursor: pointer;
}
.btn svg { width: 1.15em; height: 1.15em; fill: currentColor; flex: 0 0 auto; }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--hover); color: var(--white); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--bg-soft); color: var(--navy); }
.btn-whats { background: var(--navy); color: var(--white); border-color: var(--navy); }
.header .btn-whats { background: var(--navy); }
.btn-whats:hover { background: var(--navy); color: var(--white); }
.header .btn { padding: 0.5rem 0.85rem; font-size: 0.85rem; }
.header-wa { display: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.25rem 0 0; }

/* Mobile nav */
@media (max-width: 860px) {
  .desktop-only { display: none !important; }
  .header-wa { display: inline-flex; }
  .menu-toggle {
    display: inline-flex; align-items: center;
    font-family: var(--display); font-weight: 600;
    background: var(--white); color: var(--navy);
    border: 1px solid var(--line); border-radius: 6px;
    padding: 0.45rem 0.8rem; cursor: pointer;
  }
  .mobile-nav > .nav-bar { display: none; }
  .mobile-nav[open] > .nav-bar {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; left: 0; right: 0;
    top: var(--header-h);
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1rem 1.25rem;
    box-shadow: var(--shadow);
  }
  .mobile-nav { position: static; }
  .mobile-nav .dropdown .menu { position: static; box-shadow: none; border: 0; min-width: 0; padding-left: 0.5rem; }
  .nav-bar .btn { width: 100%; }
  .header-inner { flex-wrap: nowrap; }
}
@media (min-width: 861px) {
  .mobile-nav { display: none; }
}

/* Hero */
.hero {
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}
.hero-grid { display: grid; gap: 1.5rem; padding: 2.75rem 0 0; align-items: end; }
.hero .copy { padding-bottom: 2.75rem; }
.eyebrow {
  font-family: var(--display); font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  font-size: 0.75rem; color: var(--teal); margin: 0 0 0.75rem;
}
.hero h1 { color: var(--white); max-width: 18ch; }
.hero .lead { color: rgba(255,255,255,0.92); }
.hero p { color: rgba(255,255,255,0.84); }
.lead { font-size: 1.08rem; color: var(--navy); margin: 0 0 1rem; font-weight: 400; line-height: 1.6; }
.hero .btn-primary { background: var(--white); color: var(--navy); }
.hero .btn-primary:hover { background: var(--teal); color: var(--navy); }
.hero .btn-ghost { color: var(--white); border-color: rgba(255,255,255,0.7); }
.hero .btn-ghost:hover { background: var(--white); color: var(--navy); }
.hero-portrait {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}
.hero-portrait img {
  width: min(100%, 280px);
  height: auto;
  filter: drop-shadow(0 12px 28px rgba(0,0,0,0.28));
}
.hero-portrait figcaption {
  width: 100%;
  padding: 0.65rem 0 1.25rem;
  text-align: center;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.78);
}
.portrait {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.portrait img {
  width: min(100%, 280px);
  height: auto;
  filter: drop-shadow(0 10px 24px rgba(5, 2, 89, 0.12));
}
.portrait figcaption {
  margin-top: 0.85rem;
  font-size: 0.92rem;
  color: var(--muted);
  text-align: center;
}
@media (min-width: 800px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 2.5rem; padding: 4rem 0 0; }
  .hero .copy { padding-bottom: 4rem; }
  .hero-portrait { align-items: flex-end; }
  .hero-portrait img { width: min(100%, 300px); }
}

.section { padding: 3.25rem 0; }
@media (min-width: 800px) { .section { padding: 4.25rem 0; } }
.page-hero { padding: 2.25rem 0 0.25rem; }
@media (min-width: 800px) { .page-hero { padding: 3rem 0 0.25rem; } }
.section-soft { background: var(--bg-soft); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy p { color: rgba(255,255,255,0.9); }
.kicker { color: var(--teal-dark); font-family: var(--display); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; margin: 0 0 0.4rem; }
.section-navy .kicker { color: var(--teal); }
.muted { color: var(--muted); }

/* Cards */
.cards { display: grid; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 640px) { .cards-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) {
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
  .cards-4 { grid-template-columns: repeat(4, 1fr); }
}
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.4rem 1.4rem 1.5rem; box-shadow: none;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.card h3 { margin: 0; }
.card p { margin: 0; flex: 1; }
.card .btn { margin-top: 0.7rem; align-self: flex-start; }
.list-plain { margin: 0 0 1rem; padding-left: 1.15rem; }
.list-plain li { margin: 0.3rem 0; }

/* Steps */
.steps { display: grid; gap: 1rem; margin-top: 1.5rem; counter-reset: passo; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  background: var(--white); border-radius: var(--radius); padding: 1.35rem 1.3rem;
  border: 1px solid var(--line); position: relative;
}
.step::before {
  counter-increment: passo;
  content: "Passo " counter(passo);
  display: block;
  font-family: var(--display); font-weight: 600;
  color: var(--teal-dark); font-size: 0.8rem;
  letter-spacing: 0.04em; text-transform: uppercase;
  margin-bottom: 0.35rem;
}
.step h3 { font-size: 1.05rem; }

/* Form */
.form-grid { display: grid; gap: 1.5rem; }
@media (min-width: 880px) { .form-grid { grid-template-columns: 1fr 1.1fr; align-items: start; } }
.form-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem; box-shadow: none;
}
.lead-form label, .lead-form legend {
  display: block; font-weight: 500; margin: 0 0 0.85rem; color: var(--navy);
}
.lead-form input[type="text"],
.lead-form input[type="tel"],
.lead-form input[type="email"],
.lead-form textarea {
  display: block; width: 100%; margin-top: 0.3rem;
  font: inherit; padding: 0.65rem 0.75rem;
  border: 1px solid #c9d0d6; border-radius: 6px; background: var(--white);
}
.lead-form input:focus, .lead-form textarea:focus { border-color: var(--teal-dark); }
.lead-form [aria-invalid="true"] { border-color: #9b1c1c; }
.err { display: block; color: #9b1c1c; font-size: 0.85rem; font-weight: 400; min-height: 1.1em; margin-top: 0.2rem; }
.row2 { display: grid; gap: 0 1rem; }
@media (min-width: 560px) { .row2 { grid-template-columns: 1fr 1fr; } }
.pref-contato { border: 0; padding: 0; margin: 0 0 0.85rem; }
.pref-options { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.4rem; }
.pref-option {
  display: inline-flex; align-items: center; gap: 0.4rem;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 0.4rem 0.8rem; margin: 0; font-weight: 500; cursor: pointer;
}
.pref-option:has(input:checked) { border-color: var(--navy); background: var(--bg-soft); }
.opt { font-weight: 400; color: var(--muted); font-size: 0.9em; }
.legal { font-size: 0.88rem; color: var(--muted); margin: 0.8rem 0 0; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-status { margin: 0.6rem 0 0; }
.form-status.fail { color: #9b1c1c; }
.form-done { background: #e8f6f4; border: 1px solid #b7e2dc; border-radius: 10px; padding: 1rem 1.1rem; }
.form-done h3 { margin-bottom: 0.4rem; }
.form-done:focus { outline: 3px solid var(--teal); }

/* Contact extras */
.map {
  width: 100%; height: 280px; border: 0; border-radius: var(--radius);
  box-shadow: none;
}
.contact-list { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.contact-list li { margin: 0 0 0.65rem; }

/* Breadcrumb */
.crumbs { padding: 1rem 0 0; font-size: 0.9rem; color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0; padding: 0; }
.crumbs li:not(:last-child)::after { content: " /"; color: #9aa4aa; }

/* Footer */
.footer { background: var(--footer); color: rgba(255,255,255,0.88); padding: 2.5rem 0 1.5rem; margin-top: 0; }
.footer a { color: var(--teal); }
.footer a:hover { color: var(--white); }
.footer-grid { display: grid; gap: 1.5rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer h2 { color: var(--white); font-size: 1rem; }
.footer .logo img { height: 2.2rem; margin-bottom: 0.8rem; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin: 0.3rem 0; }
.footer-copy { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 2rem; padding-top: 1rem; font-size: 0.88rem; color: rgba(255,255,255,0.7); }

/* Floating WhatsApp (mobile) */
.wa-float {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 30;
  width: 3.2rem; height: 3.2rem; border-radius: 50%;
  background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(5, 2, 89, 0.28);
  text-decoration: none;
}
.wa-float svg { width: 1.7rem; height: 1.7rem; fill: currentColor; }
.wa-float:hover { background: var(--navy); color: var(--white); }
@media (min-width: 861px) { .wa-float { display: none; } }

.prose h2 { margin-top: 1.8rem; }
.prose ul { margin: 0 0 1rem; padding-left: 1.2rem; }
.prose li { margin: 0.3rem 0; }

.about-grid { display: grid; gap: 1.75rem; }
@media (min-width: 800px) { .about-grid { grid-template-columns: 1.05fr 0.95fr; align-items: center; } }
.pillars { display: grid; gap: 0.75rem; margin: 1.25rem 0; }
@media (min-width: 640px) { .pillars { grid-template-columns: 1fr 1fr; } }
.pillar { background: var(--bg-soft); border-left: 3px solid var(--navy); border-radius: 0; padding: 1rem 1.1rem; }
.pillar strong { display: block; font-family: var(--display); color: var(--navy); }
.header .btn-whats, .nav-bar .btn-whats, .nav-bar .btn-whats:hover { color: var(--white); }
@media (max-width: 520px) {
  .header-wa span { display: none; }
  .header-wa { padding: 0.5rem 0.6rem; }
  .logo img { height: 2.1rem; }
  .header-inner { gap: 0.5rem; }
}
html, body { overflow-x: hidden; }
