/* =========================================================
   ACENTRA - GLOBAL CSS
========================================================= */

/* =========================
   RESET
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

input,
button,
textarea,
select {
  font: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
}

body {
  min-height: 100vh;
  font-family: "Poppins", sans-serif;
  color: #16324f;
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* =========================
   VARIÁVEIS
========================= */
:root {
  --color-primary: #003366;
  --color-primary-dark: #02284f;
  --color-accent: #fa9b00;
  --color-accent-dark: #c97e00;

  --color-whatsapp: #25d366;
  --color-whatsapp-dark: #1faf55;

  --color-white: #ffffff;
  --color-black: #102235;

  --color-text: #16324f;
  --color-text-soft: #5f7388;

  --color-border: rgba(0, 51, 102, 0.10);
  --color-border-strong: rgba(0, 51, 102, 0.18);

  --bg-white: #ffffff;
  --bg-blue: #003366;
  --bg-yellow: #fa9b00;
  --bg-light-blue: #edf4fb;

  --shadow-sm: 0 10px 30px rgba(0, 51, 102, 0.06);
  --shadow-md: 0 18px 50px rgba(0, 51, 102, 0.12);

  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --radius-pill: 999px;

  --container-width: 1200px;
  --transition-fast: 0.22s ease;
  --transition-base: 0.3s ease;
}

/* =========================
   BASE
========================= */
.container {
  width: min(100% - 2rem, var(--container-width));
  margin-inline: auto;
}

main section {
  position: relative;
  padding: 6rem 0;
}

.page-home main section:first-child,
.page-about main section:first-child,
.page-services main section:first-child,
.page-quote main section:first-child {
  padding-top: 10rem;
}

h1,
h2,
h3,
h4 {
  font-family: "Manrope", sans-serif;
  color: var(--color-primary);
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-align: left;
}

p,
label,
input,
textarea,
select,
li,
a,
span {
  font-family: "Poppins", sans-serif;
}

p,
.section-description,
.section-text,
.hero-description,
.internal-hero-description {
  text-align: justify;
}

.hero-title,
.internal-hero-title {
  font-size: clamp(2.7rem, 5vw, 5rem);
  font-weight: 800;
}

.section-title {
  font-size: clamp(2rem, 3.2vw, 3.25rem);
  font-weight: 800;
}

.section-description,
.section-text,
.hero-description,
.internal-hero-description {
  font-size: 1.04rem;
  color: var(--color-text-soft);
  max-width: 760px;
}

.section-heading {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
}

.text-center,
.text-center h1,
.text-center h2,
.text-center h3,
.text-center h4,
.text-center p,
.text-center .section-title,
.text-center .section-description,
.text-center .section-text {
  text-align: center;
}

.text-center .section-description,
.text-center .section-text {
  margin-inline: auto;
}

/* =========================
   FUNDOS
========================= */
.bg-white {
  background: var(--bg-white);
}

.bg-blue {
  background: var(--bg-blue);
}

.bg-yellow {
  background: var(--bg-yellow);
}

.bg-light-blue {
  background: var(--bg-light-blue);
}

/* Azul: textos da própria seção ficam brancos */
.bg-blue > .container > *,
.bg-blue > .container h1,
.bg-blue > .container h2,
.bg-blue > .container h3,
.bg-blue > .container h4,
.bg-blue > .container p,
.bg-blue > .container li,
.bg-blue > .container .section-title,
.bg-blue > .container .section-description,
.bg-blue > .container .section-text,
.bg-blue > .container .hero-description,
.bg-blue > .container .internal-hero-description {
  color: var(--color-white);
}

/* Amarelo: textos da própria seção ficam brancos */
.bg-yellow > .container > *,
.bg-yellow > .container h1,
.bg-yellow > .container h2,
.bg-yellow > .container h3,
.bg-yellow > .container h4,
.bg-yellow > .container p,
.bg-yellow > .container li,
.bg-yellow > .container .section-title,
.bg-yellow > .container .section-description,
.bg-yellow > .container .section-text,
.bg-yellow > .container .hero-description,
.bg-yellow > .container .internal-hero-description {
  color: var(--color-white);
}

/* =========================
   HEADER
========================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 51, 102, 0.08);
}

.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-pill);
  color: var(--color-primary);
  font-weight: 500;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.nav-link:hover {
  background: rgba(0, 51, 102, 0.05);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.45rem;
  height: 2px;
  background: var(--color-accent);
  border-radius: var(--radius-pill);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link-cta {
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.nav-link-cta:hover {
  background: var(--color-primary-dark);
}

.nav-link-cta::after {
  display: none;
}

.menu-toggle {
  display: none;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(0, 51, 102, 0.06);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--color-primary);
}

/* =========================
   BOTÕES
========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0.95rem 1.5rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  text-align: center;
  transition:
    transform var(--transition-fast),
    background var(--transition-fast),
    color var(--transition-fast),
    box-shadow var(--transition-fast),
    border-color var(--transition-fast);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 14px 34px rgba(0, 51, 102, 0.16);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid rgba(0, 51, 102, 0.18);
}

.btn-secondary:hover {
  background: rgba(0, 51, 102, 0.06);
}

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: var(--color-white);
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.22);
}

.btn-whatsapp:hover {
  background: var(--color-whatsapp-dark);
}

.btn-full {
  width: 100%;
}

/* =========================
   LAYOUTS
========================= */
.hero-grid,
.split-grid,
.footer-grid {
  display: grid;
  gap: 2.5rem;
}

.hero-grid {
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
}

.split-grid {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.footer-grid {
  grid-template-columns: 1.25fr 1fr 1fr 1fr;
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

/* =========================
   HERO
========================= */
.hero-section {
  background: linear-gradient(180deg, #ffffff 0%, #edf4fb 100%);
}

.hero-content {
  display: grid;
  gap: 1.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-actions {
  display: flex;
  justify-content: center;
  margin-top: 2.8rem;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.2rem;
}

.hero-notes span {
  padding: 0.7rem 0.95rem;
  border-radius: var(--radius-pill);
  background: rgba(0, 51, 102, 0.05);
  color: var(--color-primary);
  font-size: 0.92rem;
  font-weight: 500;
}

.hero-panel {
  padding: 2.3rem;
  border-radius: var(--radius-lg);
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.hero-panel h2,
.hero-panel h3,
.hero-panel p,
.hero-panel li {
  color: var(--color-white);
}

.hero-panel p,
.hero-panel li {
  text-align: left;
}

.hero-panel h2,
.hero-panel h3 {
  margin-bottom: 1rem;
  text-align: left;
}

.hero-panel-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}

.hero-panel-list li {
  padding: 0.9rem 0 0.9rem 1rem;
  border-left: 2px solid rgba(250, 155, 0, 0.9);
  text-align: left;
}

/* =========================
   CONTEÚDO
========================= */
.content-stack {
  display: grid;
  gap: 1rem;
  max-width: 760px;
}

.content-stack-narrow {
  display: grid;
  gap: 1rem;
  max-width: 640px;
}

.feature-card {
  padding: 1.6rem;
  border-radius: var(--radius-md);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.feature-card h3 {
  font-size: 1.18rem;
  margin-bottom: 0.7rem;
  color: var(--color-primary);
  text-align: left;
}

.feature-card p {
  color: var(--color-text-soft);
  text-align: justify;
}

.minimal-points {
  display: grid;
  gap: 0.85rem;
  justify-items: start;
}

.minimal-points li {
  width: 100%;
  max-width: 420px;
  padding-left: 1rem;
  text-align: left;
  color: inherit;
  position: relative;
}

.minimal-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.45;
}

.divider-list {
  display: grid;
  gap: 0;
}

.divider-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
  color: inherit;
  text-align: left;
}

.bg-blue .divider-list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.highlight-band {
  padding: 2.3rem;
  border-radius: var(--radius-lg);
  background: var(--color-primary);
  color: var(--color-white);
}

.highlight-band h2,
.highlight-band h3,
.highlight-band p,
.highlight-band li {
  color: var(--color-white);
}

.highlight-band h2,
.highlight-band h3 {
  margin-bottom: 1rem;
  text-align: left;
}

.highlight-band p,
.highlight-band li {
  text-align: left;
}

/* cards dentro da seção amarela: fundo branco + texto escuro */
.bg-yellow .feature-card {
  background: #ffffff;
  border: 1px solid rgba(0, 51, 102, 0.10);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.bg-yellow .feature-card h3 {
  color: #1e293b;
}

.bg-yellow .feature-card p,
.bg-yellow .feature-card li,
.bg-yellow .feature-card span {
  color: #334155;
}

.bg-yellow .feature-card .minimal-points li::before {
  background: #334155;
}

/* =========================
   PROCESSO
========================= */
.process-step {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.process-step strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: rgba(250, 155, 0, 0.14);
  color: var(--color-accent-dark);
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  font-weight: 800;
}

.process-step h3 {
  font-size: 1.12rem;
  margin-bottom: 0.6rem;
  text-align: center;
}

.process-step p {
  color: var(--color-text-soft);
  text-align: center;
}

/* =========================
   FORMULÁRIO
========================= */
.form-intro {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
  max-width: 720px;
}

.form-shell {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.lead-form {
  display: grid;
  gap: 1rem;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-row {
  display: grid;
  gap: 0.5rem;
}

.form-row label {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.96rem;
  text-align: left;
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  min-height: 56px;
  border: 1px solid var(--color-border-strong);
  border-radius: 16px;
  padding: 0.95rem 1rem;
  background: #ffffff;
  color: var(--color-text);
  outline: none;
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.form-row textarea {
  min-height: 150px;
  resize: vertical;
  padding-top: 1rem;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  border-color: rgba(0, 51, 102, 0.34);
  box-shadow: 0 0 0 4px rgba(0, 51, 102, 0.08);
}

.form-note,
.form-feedback {
  font-size: 0.94rem;
  color: var(--color-text-soft);
}

.form-feedback {
  min-height: 1.2rem;
}

.form-feedback.is-error {
  color: #b42318;
}

.form-feedback.is-success {
  color: #1d6f42;
}

.form-success-actions {
  display: grid;
  gap: 0.75rem;
}

.form-success-actions[hidden] {
  display: none;
}

.lead-form button[disabled] {
  cursor: wait;
  opacity: 0.7;
}

/* =========================
   FOOTER
========================= */
.site-footer {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 5rem 0 1.5rem;
}

.footer-brand-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.footer-brand-text {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 320px;
}

.footer-column h3 {
  color: var(--color-white);
  font-size: 1.04rem;
  margin-bottom: 1rem;
  text-align: left;
}

.footer-links {
  display: grid;
  gap: 0.7rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.94rem;
  text-align: center;
}

/* =========================
   ANIMAÇÃO PROVISÓRIA
========================= */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* =========================
   RESPONSIVO
========================= */
@media (max-width: 1100px) {
  .hero-grid,
  .split-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  main section {
    padding: 5rem 0;
  }

  .page-home main section:first-child,
  .page-about main section:first-child,
  .page-services main section:first-child,
  .page-quote main section:first-child {
    padding-top: 8.5rem;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 1rem;
    right: 1rem;
    display: none;
    padding: 1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0, 51, 102, 0.08);
    box-shadow: var(--shadow-md);
  }

  .site-nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
  }

  .nav-link,
  .nav-link-cta {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(100% - 1.25rem, var(--container-width));
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .header-inner {
    min-height: 78px;
  }

  .brand-logo {
    height: 38px;
  }

  .hero-actions,
  .section-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn,
  .section-actions .btn {
    width: 100%;
  }

  .hero-notes {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-panel,
  .form-shell,
  .feature-card,
  .process-step,
  .highlight-band {
    padding: 1.5rem;
  }

  .split-grid {
    align-items: start;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  main section {
    padding: 4.2rem 0;
  }

  .page-home main section:first-child,
  .page-about main section:first-child,
  .page-services main section:first-child,
  .page-quote main section:first-child {
    padding-top: 8rem;
  }

  .btn {
    min-height: 54px;
    padding: 0.9rem 1.2rem;
  }

  .form-row input,
  .form-row textarea,
  .form-row select {
    min-height: 54px;
  }

  .footer-brand-logo {
    height: 42px;
  }

  .page-quote .hero-section {
  padding-bottom: 1.5rem;
}

.page-quote .bg-light-blue {
  padding-top: 1.5rem;
}
}
