:root {
  --navy: #071a2f;
  --text: #14243a;
  --muted: #5d6978;
  --green: #259d45;
  --green-dark: #168237;
  --mint: #eaf8ef;
  --gold: #f3c66b;
  --line: #dfe7ee;
  --soft: #f7faf8;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(7, 26, 47, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: "Poppins", Arial, sans-serif;
  line-height: 1.6;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

/* Header */
.top-menu {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(223, 231, 238, 0.92);
  backdrop-filter: blur(12px);
}

.top-menu-inner {
  position: relative;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.form-menu-brand {
  position: absolute;
  left: 0;
  display: inline-flex;
  align-items: center;
}

.form-menu-brand img {
  width: 148px;
  height: auto;
}

.menu-cta {
  position: absolute;
  right: 0;
  min-height: 46px;
  padding-inline: 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(223, 231, 238, 0.9);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  width: 150px;
  height: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #3e4c5f;
}

.nav-menu a {
  transition: color 0.2s ease;
}

.nav-menu a:hover {
  color: var(--green);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--navy);
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 14px 24px rgba(37, 157, 69, 0.2);
}

.btn-primary:hover {
  background: var(--green-dark);
}

.btn-dark {
  color: var(--white);
  background: var(--navy);
}

.btn-dark:hover {
  background: #0d2846;
}

/* Hero */
.hero {
  padding: 8px 0 0;
  background: var(--white);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.92fr);
  align-items: start;
  gap: 52px;
  min-height: 540px;
}

.hero-copy {
  padding-top: 18px;
}

.hero-brand {
  width: 224px;
  height: auto;
  margin-bottom: 10px;
}

.hero-subtitle {
  margin: 0 0 14px;
  color: #111827;
  font-size: 1.02rem;
}

.hero h1 {
  max-width: 640px;
  margin: 0;
  font-size: clamp(2.35rem, 4.2vw, 4rem);
  line-height: 1.05;
  font-weight: 800;
}

.title-green,
.title-mixed {
  display: block;
  color: var(--green);
}

.title-mixed strong {
  color: #07335f;
}

.hero-text {
  max-width: 620px;
  margin: 22px 0 0;
  color: #131b2e;
  font-size: 1.05rem;
}

.hero-cta {
  width: min(100%, 480px);
  min-height: 72px;
  margin-top: 18px;
  font-size: 1.1rem;
}

.hero-note {
  width: min(100%, 480px);
  margin: 12px 0 0;
  color: #111827;
  text-align: center;
  font-size: 0.98rem;
}

.hero-visual {
  align-self: end;
}

.hero-visual picture {
  display: block;
}

.hero-visual img {
  width: 100%;
  max-height: 555px;
  object-fit: contain;
  object-position: center bottom;
}

/* Formulário */
.assessment-section {
  padding: 0 0 78px;
  background: linear-gradient(180deg, #ffffff 0%, #f4fbf6 100%);
  scroll-margin-top: 32px;
}

.assessment-frame {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  overflow: hidden;
  border: 1px solid #d7e9de;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 22px 55px rgba(7, 26, 47, 0.1);
}

.assessment-intro {
  padding: 38px;
  color: var(--white);
  background: linear-gradient(135deg, #071a2f 0%, #0c3356 100%);
}

.assessment-intro .eyebrow {
  color: #7ee59a;
}

.assessment-intro .eyebrow::before {
  background: #7ee59a;
}

.assessment-intro h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.8rem, 2.8vw, 2.55rem);
  line-height: 1.16;
  font-weight: 800;
}

.assessment-intro p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.assessment-intro ul {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.assessment-intro li {
  position: relative;
  padding-left: 26px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}

.assessment-intro li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.assessment-card {
  margin: 0;
  padding: 34px;
  background: var(--white);
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.form-heading {
  margin-bottom: 18px;
}

.form-heading span,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.form-heading span::before,
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.form-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: 1.45rem;
  line-height: 1.2;
}

.form-heading p,
.form-note,
.form-error {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.assessment-card label,
.textarea-label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 600;
}

.assessment-card input,
.assessment-card textarea {
  width: 100%;
  border: 1px solid #cfdbe5;
  border-radius: 8px;
  background: #fbfdff;
  color: var(--text);
  font-weight: 600;
  outline: 0;
  transition: border 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.assessment-card input {
  min-height: 48px;
  padding: 0 13px;
}

.assessment-card textarea {
  min-height: 88px;
  padding: 13px;
  resize: vertical;
}

.assessment-card input:focus,
.assessment-card textarea:focus {
  border-color: var(--green);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(37, 157, 69, 0.12);
}

.assessment-card fieldset {
  margin: 16px 0 0;
  padding: 0;
  border: 0;
}

.assessment-card legend {
  margin-bottom: 9px;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 700;
}

.choice-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice span {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid #cfdbe5;
  border-radius: 8px;
  background: #fbfdff;
  color: var(--navy);
  font-weight: 700;
  cursor: pointer;
  transition: border 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.choice input:checked + span {
  border-color: var(--green);
  background: var(--green);
  color: var(--white);
}

.textarea-label {
  margin-top: 16px;
}

.form-submit {
  width: 100%;
  margin-top: 16px;
}

.form-error {
  min-height: 18px;
  color: #b21f24;
  font-weight: 700;
}

/* Página interna do formulário */
.formulario-page {
  min-height: 100vh;
  background: #f5faf7;
}

.capture-main {
  background: linear-gradient(180deg, #ffffff 0%, #f8fcf9 46%, #eef8f1 100%);
}

.capture-section {
  min-height: calc(100vh - 72px);
  padding: 28px 0 58px;
  display: flex;
  align-items: flex-start;
}

.capture-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.76fr) minmax(420px, 1.24fr);
  gap: 28px;
  align-items: start;
}

.capture-copy {
  align-self: start;
  padding: 30px;
  border: 1px solid #d7e9de;
  border-top: 5px solid var(--green);
  border-radius: 8px;
  color: var(--text);
  background: var(--white);
  box-shadow: 0 18px 42px rgba(7, 26, 47, 0.08);
}

.capture-copy img {
  width: 190px;
  height: auto;
  margin-bottom: 30px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--white);
}

.capture-copy .eyebrow {
  color: var(--green);
}

.capture-copy .eyebrow::before {
  background: var(--green);
}

.capture-copy h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.8rem, 2.6vw, 2.65rem);
  line-height: 1.12;
  font-weight: 800;
}

.capture-copy p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.capture-benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 22px;
}

.capture-benefits div {
  min-height: auto;
  padding: 14px 16px;
  border-radius: 8px;
  background: #f5faf7;
  border: 1px solid #d7e9de;
}

.capture-benefits strong,
.capture-benefits span {
  display: block;
}

.capture-benefits strong {
  color: var(--green);
  font-size: 1rem;
}

.capture-benefits span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.capture-form {
  align-self: start;
  border: 1px solid #d7e9de;
  border-radius: 8px;
  box-shadow: 0 24px 58px rgba(7, 26, 47, 0.11);
}

/* Confiança */
.trust-bar {
  padding: 20px 0;
  background: var(--mint);
  border-top: 1px solid #d7eddd;
  border-bottom: 1px solid #d7eddd;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.trust-grid div {
  min-height: 88px;
  padding: 18px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid #d7eddd;
}

.trust-grid strong {
  display: block;
  color: var(--green);
  font-size: 1.08rem;
  line-height: 1.25;
}

.trust-grid span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Seções */
.section {
  padding: 86px 0;
}

.section:nth-of-type(even) {
  background: var(--soft);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 48px;
  align-items: start;
}

.section-copy h2,
.section-heading h2,
.contact h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.15;
  font-weight: 800;
}

.section-copy p,
.contact p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.section-copy .btn {
  margin-top: 28px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.info-list,
.process-list {
  display: grid;
  gap: 14px;
}

.info-list article,
.service-card,
.process-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.info-list article {
  padding: 24px;
}

.info-list h3,
.service-card h3,
.process-list h3,
.video-card h3,
.post-card h3,
.team-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.05rem;
  line-height: 1.3;
}

.info-list p,
.service-card p,
.process-list p,
.video-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  padding: 26px;
  min-height: 190px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.process-list article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 22px;
}

.process-list span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  background: var(--mint);
  color: var(--green);
  font-weight: 800;
}

/* Conteúdos */
.media-section {
  background: var(--white);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.video-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
}

.video-card video {
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #111;
  object-fit: contain;
}

.video-card h3,
.video-card p {
  padding: 0 18px;
}

.video-card h3 {
  margin-top: 16px;
}

.video-card p {
  margin-bottom: 18px;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.post-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
}

.post-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  background: #f6faf8;
}

.post-card h3 {
  padding: 16px;
  font-size: 0.95rem;
}

/* Equipe */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.team-card {
  display: grid;
  grid-template-columns: 190px 1fr;
  align-items: center;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
}

.team-card img {
  width: 190px;
  height: 230px;
  object-fit: cover;
  object-position: center top;
}

.team-card div {
  padding-right: 24px;
}

.team-card span {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

/* Contato */
.contact {
  padding: 72px 0;
  background: var(--navy);
  color: var(--white);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
}

.contact h2,
.contact p {
  color: var(--white);
}

.contact p {
  max-width: 700px;
  opacity: 0.86;
}

/* Rodapé */
.site-footer {
  padding: 18px 0;
  background: var(--green);
  color: var(--white);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.footer-inner img {
  display: none;
}

.footer-inner p {
  margin: 0;
  font-size: 0.82rem;
}

.footer-inner a {
  color: var(--white);
  font-weight: 600;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 8px;
  background: #16a75f;
  color: var(--white);
  font-weight: 800;
  box-shadow: 0 16px 30px rgba(22, 167, 95, 0.25);
  animation: floatButton 2.8s ease-in-out infinite;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatButton {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@media (max-width: 1080px) {
  .header-cta {
    display: none;
  }

  .hero-grid,
  .assessment-frame,
  .capture-shell,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
  }

  .hero-visual {
    max-width: 520px;
    margin: 0 auto;
  }

  .service-grid,
  .trust-grid,
  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .capture-copy {
    padding: 30px;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(100% - 28px, 680px);
  }

  .top-menu-inner,
  .header-inner {
    min-height: 68px;
    justify-content: space-between;
  }

  .brand img {
    width: 136px;
  }

  .form-menu-brand {
    position: static;
  }

  .form-menu-brand img {
    width: 126px;
  }

  .menu-cta {
    position: static;
    min-height: 42px;
    padding-inline: 15px;
    font-size: 0.82rem;
  }

  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 10px 20px 18px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu a {
    padding: 13px 0;
    border-bottom: 1px solid #eef3f6;
  }

  .hero {
    padding-top: 10px;
  }

  .hero-grid {
    gap: 18px;
  }

  .hero-visual {
    order: 2;
    position: relative;
    z-index: 2;
    margin-bottom: 0;
  }

  .hero-copy {
    order: 1;
  }

  .hero-brand {
    width: 190px;
  }

  .assessment-section {
    position: relative;
    z-index: 1;
    margin-top: 0;
    padding: 0 0 64px;
  }

  .assessment-frame {
    margin-top: -10px;
  }

  .capture-section {
    min-height: auto;
    padding: 30px 0 64px;
  }

  .assessment-intro {
    padding: 28px;
  }

  .assessment-card {
    padding: 28px;
  }

  .form-grid,
  .contact-inner,
  .team-card {
    grid-template-columns: 1fr;
  }

  .team-card img {
    width: 100%;
    height: auto;
    max-height: 420px;
  }

  .team-card div {
    padding: 0 20px 22px;
  }

  .section {
    padding: 62px 0;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .video-card video {
    max-height: 620px;
  }

  .capture-benefits {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 22px, 480px);
  }

  .hero {
    padding-top: 0;
  }

  .hero-grid {
    gap: 0;
  }

  .hero-visual {
    width: 108vw;
    max-width: 108vw;
    margin-left: -4vw;
    margin-bottom: 0;
  }

  .hero-visual img {
    width: 100%;
    max-height: none;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .hero-text {
    font-size: 0.98rem;
  }

  .assessment-card {
    padding: 18px;
  }

  .assessment-section {
    margin-top: 0;
    padding-top: 0;
  }

  .assessment-frame {
    margin-top: -12px;
  }

  .assessment-intro {
    padding: 22px;
  }

  .choice-row {
    gap: 6px;
  }

  .choice span {
    min-height: 42px;
    font-size: 0.84rem;
  }

  .service-grid,
  .trust-grid,
  .post-grid {
    grid-template-columns: 1fr;
  }

  .process-list article {
    grid-template-columns: 1fr;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    min-height: 50px;
    padding: 0 16px;
  }
}
