/* ==========================================================================
   Propulsar — estilos do site
   ========================================================================== */

/* Fontes variáveis hospedadas no próprio site (licença SIL OFL 1.1), subconjunto latino */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter.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: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/assets/fonts/space-grotesk.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 {
  --ink: #12151f;
  --ink-2: #1b1f2c;
  --ink-3: #262b3b;
  --slate: #3a3f4f;
  --text: #1f2330;
  --muted: #5d6273;
  --line: #e4e6ec;
  --bg: #ffffff;
  --bg-soft: #f4f5f8;
  --flame: #f5c84c;
  --flame-2: #e9a514;
  --blue: #3d9be9;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgba(18, 21, 31, .18);
  --shadow-lg: 0 30px 60px -20px rgba(18, 21, 31, .35);

  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --header-h: 76px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.02em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 2rem * 2); margin-inline: auto; }
@media (max-width: 600px) { .container { width: calc(100% - 2rem); } }

.hidden { display: none; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--flame); color: var(--ink); padding: .6rem 1rem; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 3px solid var(--flame); outline-offset: 3px; border-radius: 4px; }

.icon {
  width: 1.15em; height: 1.15em; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .9rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 .98rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--flame), var(--flame-2)); color: var(--ink); box-shadow: 0 10px 24px -10px rgba(233, 165, 20, .7); }
.btn-primary:hover { box-shadow: 0 16px 30px -10px rgba(233, 165, 20, .8); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-outline { border-color: currentColor; }
.btn-sm { padding: .55rem 1rem; font-size: .9rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  color: #fff; transition: background-color .3s ease, box-shadow .3s ease, color .3s ease;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .92); color: var(--text);
  backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px);
  box-shadow: 0 1px 0 var(--line), 0 8px 24px -16px rgba(18, 21, 31, .25);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

.brand { position: relative; display: block; width: 140px; flex-shrink: 0; }
.brand img { width: 140px; height: auto; transition: opacity .3s ease; }
.brand-dark { position: absolute; inset: 0; opacity: 0; }
.site-header.scrolled .brand-light,
.site-header.menu-open .brand-light { opacity: 0; }
.site-header.scrolled .brand-dark,
.site-header.menu-open .brand-dark { opacity: 1; }

.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav a { text-decoration: none; font-size: .95rem; font-weight: 500; opacity: .85; transition: opacity .2s ease, color .2s ease; }
.nav a:hover { opacity: 1; }
.nav a:not(.btn):hover { color: var(--flame); }
.site-header.scrolled .nav a:not(.btn):hover { color: var(--flame-2); }
.nav-cta { opacity: 1 !important; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  color: inherit; padding: 10px; border-radius: 10px;
}
.nav-toggle span { display: block; height: 2px; background: currentColor; border-radius: 2px; margin: 5px 0; transition: transform .3s ease, opacity .3s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; color: var(--text); padding: .5rem 1rem 1.5rem;
    box-shadow: 0 20px 30px -20px rgba(18, 21, 31, .35);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .nav a { padding: .9rem .25rem; border-bottom: 1px solid var(--line); opacity: 1; }
  .nav .nav-cta { margin-top: 1rem; border: 1.5px solid var(--text); padding: .8rem; }
  .site-header.menu-open { background: #fff; color: var(--text); }
  .site-header.menu-open .nav { opacity: 1; transform: none; visibility: visible; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(100svh, 860px); display: flex; align-items: center;
  background: var(--ink); color: #fff;
  padding: calc(var(--header-h) + 3rem) 0 5rem;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 75% center; opacity: .75; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, var(--ink) 0%, rgba(18, 21, 31, .92) 35%, rgba(18, 21, 31, .35) 70%, rgba(18, 21, 31, .2) 100%),
    linear-gradient(0deg, var(--ink) 0%, transparent 30%);
}
.hero-glow {
  position: absolute; z-index: -1; width: 560px; height: 560px; border-radius: 50%;
  left: -180px; bottom: -260px; filter: blur(60px); opacity: .35;
  background: radial-gradient(circle, var(--flame-2), transparent 65%);
}
@media (max-width: 760px) {
  .hero-bg img { opacity: .45; object-position: 70% center; }
  .hero::before { background: linear-gradient(180deg, rgba(18, 21, 31, .55) 0%, rgba(18, 21, 31, .85) 60%, var(--ink) 100%); }
}
.hero-content { max-width: 1180px; }
.hero h1 { font-size: clamp(2.3rem, 5.6vw, 4.4rem); font-weight: 700; max-width: 14ch; margin-bottom: .45em; }
.hl {
  background: linear-gradient(120deg, var(--flame), var(--flame-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); max-width: 56ch; color: rgba(255, 255, 255, .78); margin-bottom: 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-tags { list-style: none; padding: 0; margin: 3rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.hero-tags li {
  font-size: .85rem; padding: .4rem .9rem; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .05); color: rgba(255, 255, 255, .8);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font: 600 .8rem/1 var(--font-body); text-transform: uppercase; letter-spacing: .14em;
  color: var(--flame); margin-bottom: 1.2rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow-dark { color: var(--flame-2); }

/* ---------- Seções ---------- */
section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }

.section-head { max-width: 680px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; }
.section-head-light p:not(.eyebrow) { color: rgba(255, 255, 255, .7); }

/* Propósito */
.purpose-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.purpose h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
.hl-dark { color: var(--flame-2); }
.purpose .big { font-size: 1.15rem; color: var(--muted); margin-bottom: 2.2rem; }
.pillars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 2rem; }
.pillars li { display: flex; gap: .9rem; align-items: flex-start; }
.pillars .icon {
  width: 44px; height: 44px; padding: 11px; border-radius: 12px; stroke-width: 1.8;
  background: #fff7e0; color: var(--flame-2);
}
.pillars strong { display: block; font-family: var(--font-head); font-size: 1.08rem; margin-bottom: .15rem; }
.pillars span { color: var(--muted); font-size: .95rem; line-height: 1.5; }

@media (max-width: 860px) {
  .purpose-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .pillars { grid-template-columns: 1fr; }
}

/* Soluções */
.solutions { background: var(--bg-soft); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.2rem 2rem; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-icon {
  width: 56px; height: 56px; display: grid; place-items: center; border-radius: 14px;
  background: var(--ink); color: var(--flame); margin-bottom: 1.6rem;
}
.card-icon .icon { width: 26px; height: 26px; }
.card h3 { font-size: 1.6rem; margin-bottom: .5rem; }
.card-sub { font-weight: 500; color: var(--text); }
.card p:not(.card-sub) { color: var(--muted); font-size: .97rem; }
.card-link {
  margin-top: auto; padding-top: .6rem; display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 600; text-decoration: none; color: var(--text);
}
.card-link .icon { transition: transform .2s ease; }
.card-link:hover { color: var(--flame-2); }
.card-link:hover .icon { transform: translateX(3px); }

.card-featured { background: var(--ink); color: #fff; border-color: var(--ink); }
.card-featured .card-icon { background: linear-gradient(135deg, var(--flame), var(--flame-2)); color: var(--ink); }
.card-featured .card-sub { color: #fff; }
.card-featured p:not(.card-sub) { color: rgba(255, 255, 255, .7); }
.card-featured .card-link { color: var(--flame); }
.card-featured .card-link:hover { color: #fff; }
.card-featured::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(400px 200px at 100% 0%, rgba(245, 200, 76, .18), transparent 70%);
}

@media (max-width: 960px) {
  .cards { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
}

/* Processo */
.process { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.process::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.process .container { position: relative; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: s; }
.steps li {
  position: relative; padding: 2rem 1.6rem; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--ink-2), rgba(27, 31, 44, .4));
  border: 1px solid rgba(255, 255, 255, .08);
}
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 3.05rem; right: -1.25rem; width: 1.25rem; height: 2px;
  background: linear-gradient(90deg, var(--flame-2), transparent);
}
.step-num {
  display: inline-block; font: 700 .9rem/1 var(--font-head); color: var(--ink);
  background: var(--flame); padding: .45rem .6rem; border-radius: 8px; margin-bottom: 1.4rem;
}
.steps h3 { font-size: 1.25rem; }
.steps p { color: rgba(255, 255, 255, .65); font-size: .95rem; margin: 0; }

@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li::after { display: none; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
}

/* AUGE */
.auge { padding-block: clamp(3.5rem, 7vw, 5.5rem); background: linear-gradient(120deg, #fff4d4, #ffe7a8 60%, var(--flame)); }
.auge-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.auge h2 { margin-bottom: .3em; }
.auge p { max-width: 58ch; color: #4a4636; margin: 0; }
.auge .eyebrow-dark { color: #a8740a; }
@media (max-width: 760px) {
  .auge-inner { flex-direction: column; align-items: flex-start; }
}

/* Contato */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-info > p:not(.eyebrow) { color: var(--muted); font-size: 1.1rem; }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .75rem; }
.contact-list a {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.1rem; text-decoration: none;
  border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .2s ease, background-color .2s ease;
}
.contact-list a:hover { border-color: var(--flame-2); background: #fffbef; }
.contact-list small { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contact-list span:last-child { font-weight: 500; line-height: 1.45; }
.ci-icon {
  width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px;
  background: var(--bg-soft); color: var(--slate);
}
.ci-icon svg { width: 22px; height: 22px; }
.ci-whats { background: #e7f8ee; color: #1fa855; }

.contact-form {
  background: #fff; border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px);
  padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: .4rem; }
.field input,
.field select,
.field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  padding: .8rem .95rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fbfbfd;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--flame-2); background: #fff; box-shadow: 0 0 0 4px rgba(245, 200, 76, .25); }
.form-note { font-size: .82rem; color: var(--muted); margin: 1rem 0 0; text-align: center; }

@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .field-row { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .7); padding: 4rem 0 1.5rem; font-size: .95rem; }
.footer-inner { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-brand img { width: 150px; margin-bottom: 1rem; }
.footer-brand p { max-width: 34ch; margin: 0; }
.footer-nav,
.footer-contact { display: flex; flex-direction: column; gap: .55rem; }
.site-footer a { text-decoration: none; transition: color .2s ease; }
.site-footer a:hover { color: var(--flame); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.5rem; padding-right: 72px; font-size: .85rem; color: rgba(255, 255, 255, .5); }

@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ---------- WhatsApp flutuante ---------- */
.whats-float {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .6);
  transition: transform .2s ease;
}
.whats-float:hover { transform: scale(1.08); }
.whats-float svg { width: 30px; height: 30px; }

/* Selo "Powered by Netlify" (64px de altura, fixo no canto inferior direito) */
.has-nl-badge .whats-float { bottom: calc(64px + .75rem); }
.has-nl-badge .site-footer { padding-bottom: calc(64px + 1rem); }

/* ---------- Página simples (obrigado / 404) ---------- */
.simple-page {
  min-height: 100svh; display: grid; place-items: center; text-align: center;
  background: var(--ink); color: #fff; padding: 2rem 1rem;
}
.simple-page img { width: 160px; margin: 0 auto 2.5rem; }
.simple-page h1 { font-size: clamp(2rem, 5vw, 3rem); }
.simple-page p { color: rgba(255, 255, 255, .7); max-width: 46ch; margin: 0 auto 2rem; font-size: 1.1rem; }

/* ---------- Animações ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}
