/* G5 Soluções · estilos do site
   Paleta derivada do logo original. Fonte de texto: Manrope. */

:root {
  --green: #69B53D;
  --green-d: #4F893E;
  --green-l: #8CCB5E;
  --green-soft: #EEF6E8;
  --deep: #121316;
  --ink: #1C1D21;
  --ink-2: #26272C;
  --graphite: #54555D;
  --subtle: #6E7078;
  --page: #F6F7F5;
  --white: #FFFFFF;
  --amber: #E0A33A;
  --amber-soft: #FBF0DC;
  --amber-ink: #9A6A16;
  --on-dark: #F1F1F3;
  --on-dark-m: #AEB0B8;
  --line: rgba(28, 29, 33, 0.09);
  --line-strong: rgba(28, 29, 33, 0.15);
  --line-dark: rgba(255, 255, 255, 0.09);
  --shadow: 0 1px 2px rgba(28, 29, 33, 0.04), 0 18px 40px -22px rgba(28, 29, 33, 0.25);
  --radius: 20px;
  --max: 1240px;
  --font: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--green); color: #fff; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 16px; }

/* ── Botões ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 24px; border-radius: 12px; border: 1px solid transparent;
  font-size: 15.5px; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn .icon { width: 18px; height: 18px; stroke-width: 2; transition: transform .2s ease; }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 10px 24px -12px rgba(105, 181, 61, 0.7); }
.btn-primary:hover { background: #5DA634; transform: translateY(-1px); }
.btn-ghost { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.18); color: #fff; font-weight: 600; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); }
.btn-sm { padding: 11px 18px; border-radius: 10px; font-size: 14.5px; font-weight: 600; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green-d);
}
.eyebrow::before { content: ''; width: 18px; height: 2px; border-radius: 2px; background: var(--green); }
.eyebrow-dark { color: var(--green-l); }
.h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; font-weight: 600; letter-spacing: -0.03em; }
.lead { font-size: 17px; color: var(--graphite); }

/* ── Cabeçalho ── */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; padding: 16px 0; transition: padding .25s ease; }
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 10px 10px 20px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-dark);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  transition: background-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled { padding: 10px 0; }
.site-header.is-scrolled .bar { background: rgba(18, 19, 22, 0.86); box-shadow: 0 16px 40px -20px rgba(0, 0, 0, 0.6); }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a { color: var(--on-dark-m); text-decoration: none; font-size: 14.5px; font-weight: 500; transition: color .2s ease; }
.nav a:hover, .nav a.is-active { color: #fff; }
.nav a.btn { color: #fff; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.05); color: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.menu-toggle .icon { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.menu-open .menu-toggle .icon-open { display: none; }
.menu-open .menu-toggle .icon-close { display: block; }

/* ── Hero ── */
.hero {
  position: relative; overflow: hidden; color: var(--on-dark);
  background:
    radial-gradient(900px 560px at 85% 10%, rgba(105, 181, 61, 0.22), transparent 65%),
    radial-gradient(700px 420px at 0% 100%, rgba(105, 181, 61, 0.08), transparent 70%),
    linear-gradient(160deg, var(--deep) 0%, var(--ink) 60%, var(--ink-2) 100%);
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(900px 600px at 20% 30%, #000, transparent 75%);
  mask-image: radial-gradient(900px 600px at 20% 30%, #000, transparent 75%);
}
.hero-inner {
  position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 56px;
  padding-top: clamp(150px, 16vw, 190px); padding-bottom: clamp(64px, 8vw, 104px);
}
.hero-copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.hero h1 { font-size: clamp(38px, 5.2vw, 64px); line-height: 1.06; font-weight: 600; letter-spacing: -0.035em; color: #fff; }
.hero h1 em { font-style: normal; color: var(--green-l); }
.hero-sub { font-size: clamp(17px, 1.5vw, 19px); color: var(--on-dark-m); max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-visual { flex: 1 1 440px; min-width: 0; max-width: 560px; margin: 0 auto; position: relative; }
.panel { border-radius: 20px; background: var(--white); color: var(--ink); overflow: hidden; box-shadow: 0 50px 110px -30px rgba(0, 0, 0, 0.65); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; background: #FAFAFA; }
.panel-id { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1; }
.panel-id img { height: 26px; width: auto; flex: none; }
.panel-id strong { display: block; font-size: 14px; }
.panel-id span { display: block; font-size: 12px; color: var(--subtle); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; flex: none; }
.pill-ok { background: var(--green-soft); color: var(--green-d); }
.pill-wip { background: var(--amber-soft); color: var(--amber-ink); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }
.dot-wip { background: var(--amber); }
.pill .dot { width: 6px; height: 6px; }
.ticket { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); }
.ticket-txt { flex: 1; min-width: 0; }
.ticket-txt strong { display: block; font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ticket-txt span { font-size: 12.5px; color: var(--subtle); }
.panel-foot { display: flex; align-items: flex-end; gap: 18px; padding: 16px 18px; border-top: 1px solid var(--line); }
.panel-foot small { display: block; font-size: 12px; color: var(--subtle); }
.panel-foot b { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; }
.bars { flex: 1; height: 56px; display: flex; align-items: flex-end; gap: 5px; }
.bars i { flex: 1; border-radius: 4px 4px 0 0; background: var(--green); transform-origin: bottom; }
.float-card {
  position: absolute; left: -40px; bottom: -58px; display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: 16px; background: var(--ink); border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 50px -16px rgba(0, 0, 0, 0.6);
}
.float-card small { display: block; font-size: 12px; color: var(--on-dark-m); }
.float-card strong { font-size: 15px; color: #fff; }

.chip { width: 48px; height: 48px; border-radius: 13px; display: flex; align-items: center; justify-content: center; flex: none; background: var(--green-soft); color: var(--green-d); }
.chip-dark { width: 40px; height: 40px; border-radius: 11px; background: rgba(105, 181, 61, 0.16); color: var(--green-l); }
.chip-dark .icon { width: 20px; height: 20px; }

.pillars { position: relative; border-top: 1px solid var(--line-dark); background: rgba(0, 0, 0, 0.18); }
.pillars ul { list-style: none; margin: 0 auto; padding: 6px 24px; max-width: var(--max); display: flex; flex-wrap: wrap; }
.pillars li { flex: 1 1 240px; display: flex; align-items: center; gap: 12px; padding: 18px 20px; font-size: 14.5px; font-weight: 500; }
.pillars li + li { border-left: 1px solid var(--line-dark); }
.pillars .chip { width: 38px; height: 38px; border-radius: 10px; background: rgba(105, 181, 61, 0.14); color: var(--green-l); }
.pillars .chip .icon { width: 19px; height: 19px; }

/* ── Seções ── */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section-white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; }
.section-head > div { display: flex; flex-direction: column; gap: 18px; max-width: 640px; }
.section-head p { max-width: 420px; font-size: 16.5px; color: var(--graphite); }

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

.about { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.about-copy { flex: 1 1 420px; display: flex; flex-direction: column; gap: 22px; }
.about-grid { flex: 1 1 520px; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.about-item { display: flex; gap: 16px; padding: 22px; border-radius: 18px; }
.about-item .chip { width: 44px; height: 44px; border-radius: 12px; }
.about-item h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.about-item p { font-size: 14.5px; color: var(--graphite); line-height: 1.55; }

.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.service { display: flex; flex-direction: column; gap: 20px; padding: 28px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.service:hover { transform: translateY(-4px); border-color: rgba(105, 181, 61, 0.35); box-shadow: 0 1px 2px rgba(28, 29, 33, 0.04), 0 28px 50px -24px rgba(28, 29, 33, 0.32); }
.service-top { display: flex; justify-content: space-between; align-items: center; }
.tag { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--subtle); }
.service h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 6px; }
.service-desc { font-size: 15px; color: var(--graphite); min-height: 48px; }
.checks { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.checks .icon { width: 16px; height: 16px; stroke-width: 2.2; color: var(--green); margin-top: 3px; }
.link-more { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--green-d); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; align-self: flex-start; }
.link-more .icon { width: 16px; height: 16px; stroke-width: 2; transition: transform .2s ease; }
.link-more:hover .icon { transform: translateX(3px); }

.partners { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.partner { display: flex; flex-direction: column; gap: 16px; padding: 26px; }
.partner-top { display: flex; align-items: center; justify-content: space-between; color: var(--green); }
.partner-top strong { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.badge { align-self: flex-start; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--green-soft); color: var(--green-d); }
.partner p { font-size: 14.5px; color: var(--graphite); }

/* ── Contato ── */
.contact { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.contact-copy { flex: 1 1 420px; display: flex; flex-direction: column; gap: 22px; }
.contact-copy h2 { font-size: clamp(32px, 4vw, 50px); line-height: 1.08; font-weight: 600; letter-spacing: -0.035em; }
.contact-list { list-style: none; margin: 0; padding: 10px 0 0; display: flex; flex-direction: column; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 14px; }
.contact-list .chip { width: 44px; height: 44px; border-radius: 12px; }
.contact-list small { display: block; font-size: 13px; color: var(--subtle); }
.contact-list a, .contact-list b { font-size: 17px; font-weight: 600; text-decoration: none; }
.contact-list div > span { display: block; font-size: 14.5px; color: var(--graphite); }

.form { flex: 1 1 440px; display: flex; flex-direction: column; gap: 16px; padding: clamp(24px, 3vw, 36px); border-radius: 22px; box-shadow: 0 1px 2px rgba(28, 29, 33, 0.04), 0 40px 80px -40px rgba(28, 29, 33, 0.35); }
.form h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 13.5px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; height: 46px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-strong);
  background: var(--page); font-size: 15px; transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236E7078' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field textarea { height: 116px; padding: 12px 14px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--subtle); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(105, 181, 61, 0.15); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #C2412D; }
.field-error { display: none; font-size: 12.5px; color: #B3261E; }
.field.has-error .field-error { display: block; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--graphite); }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--green); flex: none; }
.consent a { color: var(--green-d); font-weight: 600; }
.form .btn { width: 100%; height: 52px; }
.form-note { font-size: 12.5px; color: var(--subtle); text-align: center; }
.form-status { display: none; padding: 12px 14px; border-radius: 10px; background: var(--green-soft); color: var(--green-d); font-size: 14px; font-weight: 600; }
.form-status.is-visible { display: block; }

/* ── Rodapé ── */
.site-footer { background: var(--deep); color: var(--on-dark-m); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 36px; padding: 60px 0 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 18px; max-width: 380px; font-size: 14.5px; }
.footer-brand img { height: 46px; width: auto; align-self: flex-start; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 56px; font-size: 14px; }
.footer-cols div { display: flex; flex-direction: column; gap: 10px; }
.footer-cols strong { color: #fff; font-weight: 600; }
.footer-cols a { color: var(--on-dark-m); text-decoration: none; transition: color .2s ease; }
.footer-cols a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 22px 0 32px; border-top: 1px solid var(--line-dark); font-size: 13px; }
.footer-bottom a { color: var(--on-dark-m); text-decoration: none; }

/* ── WhatsApp flutuante ── */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, 0.7); transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }

/* ── Aviso de cookies ── */
.cookie {
  position: fixed; left: 20px; bottom: 20px; z-index: 45; max-width: 420px; display: none;
  padding: 18px 20px; border-radius: 16px; background: var(--ink); color: var(--on-dark);
  border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 24px 50px -16px rgba(0, 0, 0, 0.6); font-size: 14px;
}
.cookie.is-visible { display: block; }
.cookie p { color: var(--on-dark-m); margin-bottom: 14px; }
.cookie a { color: var(--green-l); }
.cookie .btn { padding: 10px 16px; font-size: 14px; }

/* ── Página interna (privacidade) ── */
.page-hero { background: linear-gradient(160deg, var(--deep), var(--ink-2)); color: #fff; padding: 160px 0 64px; }
.page-hero h1 { font-size: clamp(32px, 4vw, 48px); font-weight: 600; letter-spacing: -0.03em; margin-top: 16px; }
.prose { max-width: 780px; display: flex; flex-direction: column; gap: 18px; color: var(--graphite); font-size: 16.5px; }
.prose h2 { font-size: 22px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; margin-top: 18px; }
.prose ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.prose a { color: var(--green-d); font-weight: 600; }

/* ── Animação de entrada ── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@keyframes grow { from { transform: scaleY(0.2); } to { transform: scaleY(1); } }
.bars i { animation: grow 1s cubic-bezier(.2, .8, .2, 1) both; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .bars i { animation: none; }
  .service, .btn, .btn .icon { transition: none; }
}

/* ── Responsivo ── */
@media (max-width: 899px) {
  .menu-toggle { display: inline-flex; }
  .header-actions .btn { display: none; }
  .nav {
    position: absolute; left: 24px; right: 24px; top: calc(100% - 4px);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px;
    border-radius: 16px; background: rgba(18, 19, 22, 0.97); border: 1px solid var(--line-dark);
    box-shadow: 0 24px 50px -16px rgba(0, 0, 0, 0.6);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav a { padding: 14px 14px; border-radius: 10px; font-size: 16px; }
  .nav a:not(.btn):hover { background: rgba(255, 255, 255, 0.05); }
  .nav .btn { display: flex; margin-top: 6px; }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  .float-card { display: none; }
  .pillars li + li { border-left: 0; border-top: 1px solid var(--line-dark); }
  .brand img { height: 40px; }
}
@media (min-width: 900px) { .nav .btn { display: none; } }
@media (max-width: 520px) {
  .container { padding-left: 20px; padding-right: 20px; }
  .hero-ctas .btn { width: 100%; }
  .services { grid-template-columns: 1fr; }
  .cookie { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .wa-float { right: 14px; bottom: 14px; width: 54px; height: 54px; }
  .cookie.is-visible ~ .wa-float { bottom: 170px; }
}
