/* ============================================
   CSS — Justiça para Santa Cruz
   Landing page estática · GitHub Pages
   ============================================ */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Paleta principal */
  --color-primary: #1B3A4B;       /* azul escuro institucional */
  --color-primary-dark: #122936;
  --color-accent: #25D366;        /* verde WhatsApp */
  --color-accent-hover: #1EBE57;
  --color-instagram: #E1306C;
  --color-instagram-hover: #C1255A;
  --color-text: #2D2D2D;
  --color-text-light: #555555;
  --color-bg: #FFFFFF;
  --color-bg-alt: #F5F7FA;
  --color-bg-dark: #1B3A4B;
  --color-border: #E0E4E8;
  --color-white: #FFFFFF;

  /* Tipografia */
  --font-heading: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;

  /* Espaçamento */
  --section-padding: 5rem 1.5rem;
  --container-max: 1100px;
  --header-height: 72px;
  --radius: 6px;
  --transition: 0.25s ease;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover,
a:focus-visible {
  color: var(--color-primary-dark);
}

ul, ol {
  list-style: none;
}

/* ---------- Utilitários ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  text-align: center;
  transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
  line-height: 1.4;
}

.btn:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
}

.btn--whatsapp {
  background-color: var(--color-accent);
  color: var(--color-white);
}

.btn--whatsapp:hover {
  background-color: var(--color-accent-hover);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

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

.btn--instagram:hover {
  background-color: var(--color-instagram-hover);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(225, 48, 108, 0.3);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

.btn--outline:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
}

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

.btn--primary:hover {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(27, 58, 75, 0.35);
}

/* ---------- SVG inline icons ---------- */
.icon {
  width: 1.25em;
  height: 1.25em;
  vertical-align: middle;
  fill: currentColor;
  flex-shrink: 0;
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: var(--color-white);
  z-index: 1000;
  transition: box-shadow var(--transition);
}

.header--scrolled {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.header .container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 100%;
  gap: 1rem;
  padding-top: 0;
  padding-bottom: 0;

  position: relative;
}

.header__logo {
  display: flex;
  align-items: center;
  align-self: center;
  line-height: 0;
  height: 100%;
}

.header__logo img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.header__logo:hover {
  opacity: 0.85;
}

/* Navegação — dropdown menu (always hamburger) */
.nav__list {
  position: absolute;
  top: 100%;
  right: 0;
  width: 280px;
  max-height: 0;
  overflow: hidden;
  background-color: var(--color-white);
  flex-direction: column;
  gap: 0;
  padding: 0;
  transition: max-height 0.35s ease, box-shadow 0.35s ease;
  box-shadow: none;
  border-radius: 0 0 0 var(--radius);
  z-index: 1000;
}

.nav__list--open {
  max-height: 400px;
  padding: 0.75rem 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.nav__link {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  padding: 0.7rem 1.5rem;
  position: relative;
  transition: background-color var(--transition), color var(--transition);
}

.nav__link:hover {
  background-color: var(--color-bg-alt);
  color: var(--color-primary);
}

/* Header CTA — centered */
.header__cta {
  display: inline-flex;
  align-items: center;
  align-self: center;
  justify-content: center;
  justify-self: center;
  padding: 0.6rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-white);
  background: var(--color-primary);
  border-radius: 999px;
  white-space: nowrap;
  transition: background-color var(--transition), transform var(--transition), box-shadow var(--transition);
  letter-spacing: 0.01em;
  line-height: 1;
  height: auto;
}

.header__cta:hover {
  background: var(--color-primary-dark);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(27, 58, 75, 0.3);
}

/* Hamburger — always visible, right-aligned */
.nav__toggle {
  display: flex;
  justify-self: end;
  align-self: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
  height: auto;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav__toggle--active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle--active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle--active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-height) + 2rem) 1.5rem 2.5rem;
  background: url('../img/ternium_image.png') center/cover no-repeat;
  color: var(--color-white);
  overflow: visible;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(27, 58, 75, 0.78);
}

.hero__content {
  position: relative;
  max-width: 960px;
  z-index: 1;
}

.hero__badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.6rem 1.8rem;
  border-radius: 999px;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 1.25rem;
}

.hero__subtitle {
  font-size: clamp(1.15rem, 2.8vw, 1.5rem);
  line-height: 1.55;
  opacity: 0.95;
  margin-bottom: 1.5rem;
  max-width: 700px;
  margin-inline: auto;
}

.hero__benefit-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  margin-bottom: 1.75rem;
}

.hero__benefit-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: clamp(0.88rem, 2vw, 1rem);
  font-weight: 600;
  color: var(--color-white);
  white-space: nowrap;
}

.hero__benefit-item svg {
  flex-shrink: 0;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ============================================
   SEÇÕES GENÉRICAS
   ============================================ */
.section {
  padding: var(--section-padding);
}

.section--alt {
  background-color: var(--color-bg-alt);
}

.section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.section__lead {
  font-size: 1.1rem;
  color: var(--color-text-light);
  max-width: 700px;
  margin-inline: auto;
}

/* ============================================
   SOBRE O CASO
   ============================================ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.about__text p {
  margin-bottom: 1rem;
  color: var(--color-text);
  text-align: center;
}

.about__text p:last-child {
  margin-bottom: 0;
}

.about__highlight {
  background-color: var(--color-bg-alt);
  border-top: 4px solid var(--color-primary);
  padding: 1.5rem 2rem;
  border-radius: var(--radius);
  font-size: 1.05rem;
  color: var(--color-primary-dark);
  font-weight: 500;
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
}

/* ============================================
   CONTEXTO JURÍDICO — CARDS
   ============================================ */
.context__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(-3px);
}

.card__icon {
  margin-bottom: 1rem;
  color: var(--color-primary);
  display: flex;
  justify-content: center;
}

.card__icon svg {
  width: 48px;
  height: 48px;
}

.card__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.card__text {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.65;
}

/* ---------- Lista de elegibilidade ---------- */
.eligibility__list {
  max-width: 750px;
  margin: 2rem auto 0;
  text-align: center;
}

.eligibility__list li {
  position: relative;
  padding-left: 0;
  margin-bottom: 0.85rem;
  line-height: 1.6;
}

.eligibility__list li::before {
  content: '✓ ';
  color: var(--color-accent);
  font-weight: 700;
  position: static;
}

/* ============================================
   CTA INTERMEDIÁRIO
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, #264E63 100%);
  color: var(--color-white);
  padding: 3.5rem 1.5rem;
  text-align: center;
}

.cta-banner__title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  margin-bottom: 0.75rem;
}

.cta-banner__text {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-inline: auto;
}

.cta-banner .btn {
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
}

/* ============================================
   FAQ — ACCORDION
   ============================================ */
.faq__list {
  max-width: 800px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--color-border);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 1.25rem 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  list-style: none;
  user-select: none;
  gap: 1rem;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-primary);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq__item[open] summary::after {
  content: '−';
}

.faq__answer {
  padding: 0 0 1.5rem;
  color: var(--color-text-light);
  line-height: 1.7;
  font-size: 0.98rem;
  text-align: center;
}

/* ============================================
   CONTATO
   ============================================ */
.contact__wrapper {
  max-width: 650px;
  margin: 0 auto;
  text-align: center;
}

.contact__text {
  font-size: 1.05rem;
  margin-bottom: 2rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

.contact__channels {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.contact__email {
  font-size: 0.95rem;
  color: var(--color-text-light);
}

.contact__email a {
  font-weight: 600;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background-color: var(--color-bg-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 1.5rem 1.5rem;
  font-size: 0.85rem;
}

.footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  text-align: center;
}

.footer__brand {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-white);
}

.footer__sep {
  color: rgba(255, 255, 255, 0.3);
}

.footer__link {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  transition: color var(--transition);
}

.footer__link:hover {
  color: var(--color-white);
}

.footer__social {
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
}

.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  transition: background-color var(--transition);
}

.footer__social a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 0.75rem;
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.5;
}

.footer__disclaimer {
  display: block;
  margin-bottom: 0.35rem;
  opacity: 0.55;
  font-size: 0.68rem;
  line-height: 1.4;
}

/* ============================================
   BOTÃO FLUTUANTE WHATSAPP
   ============================================ */
.fab-whatsapp {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--color-accent);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition), background-color var(--transition);
  z-index: 999;
}

.fab-whatsapp::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.35);
  animation: fabGlow 2s ease-in-out infinite;
  z-index: -1;
}

@keyframes fabGlow {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.25); opacity: 0; }
}

.fab-whatsapp:hover {
  background-color: var(--color-accent-hover);
  color: var(--color-white);
  transform: scale(1.08);
}

.fab--visible {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.fab-whatsapp .icon {
  width: 30px;
  height: 30px;
}

/* ============================================
   PÁGINAS INTERNAS (privacy / thank-you)
   ============================================ */
.page-content {
  padding: calc(var(--header-height) + 3rem) 1.5rem 4rem;
  min-height: 80vh;
}

.page-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.page-content h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-primary);
  margin: 2rem 0 0.75rem;
}

.page-content p,
.page-content li {
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.page-content ul {
  list-style: disc;
  padding-left: 1.5rem;
}

.page-content a {
  text-decoration: underline;
}

/* ============================================
   THANK-YOU
   ============================================ */
.thankyou {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100dvh - var(--header-height));
  padding: 1.5rem 1.5rem;
  padding-top: calc(var(--header-height) + 1.5rem);
  background: var(--color-bg-alt);
}

.thankyou .container {
  max-width: 720px;
  width: 100%;
  text-align: center;
}

.thankyou__icon {
  display: none;
}

.thankyou__icon svg {
  width: 64px;
  height: 64px;
}

.thankyou h1 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--color-primary);
  margin: 0 0 0.35rem;
  white-space: nowrap;
}

.thankyou__lead {
  font-size: 1rem;
  color: var(--color-text-light);
  margin: 0 0 0.75rem;
  line-height: 1.4;
}

.thankyou__steps {
  text-align: left;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  padding: 0.75rem 1.25rem;
  margin-bottom: 0.75rem;
}

.thankyou__steps h2 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--color-primary);
  margin: 0 0 0.35rem;
}

.thankyou__steps ol {
  list-style: none;
  counter-reset: steps;
  padding: 0;
  margin: 0;
}

.thankyou__steps li {
  counter-increment: steps;
  padding: 0.2rem 0;
  padding-left: 2rem;
  position: relative;
  font-size: 0.88rem;
  line-height: 1.35;
  color: var(--color-text);
}

.thankyou__steps li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thankyou__ctas {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: nowrap;
  margin-bottom: 1rem;
}

.thankyou__ctas .btn {
  font-size: 0.82rem;
  padding: 0.7rem 1rem;
  white-space: nowrap;
  flex: 0 1 auto;
}

.thankyou__note {
  font-size: 0.8rem;
  color: var(--color-text-light);
  font-style: italic;
  margin: 0;
  line-height: 1.5;
}

/* ============================================
   BOTÃO GRANDE (btn--lg)
   ============================================ */
.btn--lg {
  padding: 1.1rem 2.5rem;
  font-size: 1.15rem;
  white-space: nowrap;
}

/* ============================================
   HERO MICRO-TRUST
   ============================================ */
.hero__micro-trust {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  opacity: 0.8;
  margin-top: 1.5rem;
  color: var(--color-white);
}

.hero__micro-trust svg {
  flex-shrink: 0;
  stroke: var(--color-accent);
}

/* ============================================
   SOCIAL PROOF COUNTER
   ============================================ */
.social-proof {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 1.75rem 1.5rem;
}

.social-proof__inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.social-proof__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.social-proof__number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 7vw, 3.5rem);
  font-weight: 800;
  color: #4ADE80;
  line-height: 1;
  text-shadow: 0 0 20px rgba(74, 222, 128, 0.3);
}

.social-proof__label {
  font-size: 1.1rem;
  opacity: 0.92;
  font-weight: 500;
}

.social-proof__bar {
  background: rgba(255,255,255,0.15);
  border-radius: 999px;
  height: 12px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.social-proof__progress {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-accent) 0%, #4ADE80 100%);
  width: 0%;
  transition: width 1.5s ease-out;
}

.social-proof__meta {
  font-size: 0.875rem;
  opacity: 0.75;
}

/* ============================================
   TRUST SIGNALS STRIP
   ============================================ */
.trust-strip {
  background: var(--color-bg-alt);
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.trust-strip__items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
}

.trust-strip__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
}

.trust-strip__item svg {
  stroke: var(--color-accent);
  flex-shrink: 0;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.testimonial {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin: 0;
  position: relative;
  transition: box-shadow var(--transition);
}

.testimonial:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
}

.testimonial::before {
  content: '\201C';
  position: absolute;
  top: 0.75rem;
  left: 1.25rem;
  font-size: 3rem;
  color: var(--color-accent);
  opacity: 0.3;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial__text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-text);
  margin-bottom: 1.25rem;
  font-style: italic;
  padding-top: 1rem;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  border: 2px solid var(--color-border);
}

.testimonial__name {
  display: block;
  font-style: normal;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-primary);
}

.testimonial__detail {
  font-size: 0.8rem;
  color: var(--color-accent);
  font-weight: 600;
}

.testimonials__disclaimer {
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-top: 1.5rem;
  font-style: italic;
  opacity: 0.7;
}

/* ============================================
   3-STEP "COMO FUNCIONA"
   ============================================ */
.steps__grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  text-align: center;
  flex: 1;
  max-width: 300px;
  padding: 0 1rem;
}

.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-white);
  font-weight: 800;
  font-size: 1rem;
  line-height: 1;
  text-align: center;
  margin-bottom: 0.75rem;
}

.step__icon {
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.step__icon svg {
  display: inline-block;
}

.step__title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  white-space: nowrap;
}

.step__text {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.55;
}

.step__connector {
  display: flex;
  align-items: center;
  padding-top: 2.5rem;
  color: var(--color-border);
}

/* ============================================
   FLOATING CTA BAR (MOBILE)
   ============================================ */
.floating-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 16px rgba(0,0,0,0.1);
  padding: 0.75rem 1rem;
  gap: 0.75rem;
  align-items: center;
  transform: translateY(100%);
  transition: transform 0.35s ease;
}

.floating-cta--visible {
  transform: translateY(0);
}

.floating-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius);
  text-align: center;
  cursor: pointer;
  border: none;
  transition: background-color var(--transition);
  text-decoration: none;
}

.floating-cta__btn--primary {
  flex: 1;
  background: var(--color-primary);
  color: var(--color-white);
}

.floating-cta__btn--primary:hover {
  background: var(--color-primary-dark);
  color: var(--color-white);
}

.floating-cta__btn--whatsapp {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-white);
  padding: 0;
  flex-shrink: 0;
}

.floating-cta__btn--whatsapp:hover {
  background: var(--color-accent-hover);
  color: var(--color-white);
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */

/* Tablet */
@media (min-width: 768px) {
  .about__grid {
    grid-template-columns: 1fr;
  }

  .footer .container {
    grid-template-columns: 2fr 1fr 1fr;
    align-items: start;
  }
}
/* Mobile */
@media (max-width: 767px) {
  :root {
    --section-padding: 3.5rem 1rem;
    --header-height: 64px;
  }

  /* Header mobile */
  .header__cta {
    font-size: 0.8rem;
    padding: 0.5rem 1.1rem;
  }

  .nav__list {
    width: 100%;
    border-radius: 0;
  }

  /* Hero mobile */
  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: calc(var(--header-height) + 1rem);
    padding-bottom: 1.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero__badge {
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
    margin-bottom: 0.75rem;
  }

  .hero__title {
    font-size: clamp(1.75rem, 7.5vw, 3rem);
    margin-bottom: 0.75rem;
    white-space: nowrap;
  }

  .hero__subtitle {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
  }

  .hero__benefit-list {
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 1rem;
  }

  .hero__benefit-item {
    font-size: 0.85rem;
  }

  .hero__micro-trust {
    white-space: normal;
    font-size: 0.75rem;
    margin-top: 1rem;
  }

  .hero__ctas {
    flex-direction: column;
    align-items: center;
  }

  .hero__ctas .btn {
    width: 100%;
    max-width: 320px;
  }

  /* Cards */
  .context__grid {
    grid-template-columns: 1fr;
  }

  /* Steps on mobile — vertical */
  .steps__grid {
    flex-direction: column;
    align-items: center;
  }

  .step__connector {
    transform: rotate(90deg);
    padding-top: 0;
    margin: 0.5rem 0;
  }

  /* WhatsApp FAB — only icon on mobile, no floating bar */
  .floating-cta {
    display: none !important;
  }

  /* Footer — compact horizontal strip */
  .footer {
    padding: 1rem 1rem;
  }

  .footer .container {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 0.75rem;
    font-size: 0.78rem;
  }

  .footer__brand {
    font-size: 0.8rem;
    width: 100%;
    text-align: center;
    margin-bottom: 0.15rem;
  }

  .footer__sep {
    display: none;
  }

  .footer__link {
    font-size: 0.75rem;
  }

  .footer__social a {
    width: 28px;
    height: 28px;
  }

  .footer__bottom {
    font-size: 0.68rem;
    padding-top: 0.5rem;
    margin-top: 0.5rem;
  }

  .footer__disclaimer {
    font-size: 0.6rem;
  }

  .gform__row--2,
  .gform__row--3 {
    grid-template-columns: 1fr !important;
  }

  /* Testimonials single column */
  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  /* Header CTA mobile — smaller */
  .header__cta {
    font-size: 0.8rem;
    padding: 0.5rem 1.1rem;
  }
}

/* ============================================
   GOOGLE FORMS — FORMULÁRIO CUSTOMIZADO
   ============================================ */

.gform {
  max-width: 720px;
  margin: 2rem auto 0;
}

.gform__honeypot {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
  opacity: 0;
}

.gform__row {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

.gform__row--2 {
  grid-template-columns: 1fr 1fr;
}

.gform__row--3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.gform__group {
  display: flex;
  flex-direction: column;
}

.gform__group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.35rem;
}

.gform__required {
  color: #D32F2F;
}

.gform__group input {
  padding: 0.7rem 0.85rem;
  font-size: 1rem;
  font-family: var(--font-body);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-white);
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.gform__group input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(27, 58, 75, 0.12);
}

.gform__group input.gform__input--error {
  border-color: #D32F2F;
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

/* Fieldset / Checkboxes */
.gform__fieldset {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1rem;
  margin: 1.25rem 0;
  background: var(--color-white);
}

.gform__fieldset legend {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text);
  padding: 0 0.4rem;
  line-height: 1.4;
  margin: 0 auto;
  text-align: center;
}

.gform__fieldset--error {
  border-color: #D32F2F;
}

.gform__hint {
  font-weight: 400;
  color: var(--color-text-light);
  font-size: 0.8125rem;
}

.gform__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.55rem 0;
  cursor: pointer;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--color-text);
}

.gform__checkbox input[type="checkbox"] {
  margin-top: 0.2rem;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--color-primary);
  cursor: pointer;
}

/* Actions */
.gform__actions {
  text-align: center;
  margin-top: 1.5rem;
}

.gform__actions .btn {
  min-width: 260px;
  font-size: 1.05rem;
}

.gform__disclaimer {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  margin-top: 0.75rem;
}

.gform__disclaimer a {
  color: var(--color-primary);
}

/* Spinner on submit */
.gform__actions .btn--loading {
  pointer-events: none;
  opacity: 0.7;
}

.gform__actions .btn--loading::after {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-left: 0.5rem;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: gformSpin 0.6s linear infinite;
  vertical-align: middle;
}

@keyframes gformSpin {
  to { transform: rotate(360deg); }
}

/* Contact channels below form */
.contact__channels {
  margin-top: 2rem;
  text-align: center;
}

.contact__channels a {
  color: var(--color-primary);
  font-weight: 600;
}


/* ============================================
   FIX: NAV DROPDOWN ANCHORED TO HAMBURGER (DESKTOP)
   ============================================ */
.header .container > .nav {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  align-self: center;
  position: relative; /* anchor for dropdown */
}

.header .container > .nav > nav {
  position: static;
}

/* ensure dropdown aligns with the hamburger */
.header .container > .nav .nav__list {
  top: calc(100% + 8px);
  right: 0;
  left: auto;
}
