/* ==========================================================================
   Variáveis globais e base tipográfica
   ========================================================================== */
:root {
  --color-primary: #188C9E;
  --color-navy: #188C9E;
  --color-light-blue: #8ab9c5;
  --color-white: #ffffff;
  --color-surface: #f4f7f7;
  --color-danger: #d64545;
  --text-body: rgba(16, 36, 44, 0.9);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-soft: 0 4px 20px rgba(16, 36, 44, 0.08);
  --shadow-strong: 0 12px 48px rgba(16, 36, 44, 0.16);
  --max-width: 1120px;
  --transition: 250ms ease;
  --transition-slow: 0.6s cubic-bezier(.22, 1, .36, 1);
  --font-heading: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-navy);
  background: var(--color-white);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 16px;
  color: var(--text-body);
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(1.8rem, 2.2vw, 2.6rem);
  color: #1CBE8D;
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.8rem, 2.2vw, 2.6rem);
  color: #1CBE8D;
}

h3 {
  font-size: 1.25rem;
  color: var(--color-navy);
}

/* ==========================================================================
   Animações
   ========================================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 800ms cubic-bezier(0.16, 1, 0.3, 1), transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 {
  transition-delay: 300ms;
}

.delay-200 {
  transition-delay: 600ms;
}

.delay-300 {
  transition-delay: 900ms;
}

.delay-400 {
  transition-delay: 1200ms;
}

.delay-500 {
  transition-delay: 1500ms;
}

.delay-600 {
  transition-delay: 1800ms;
}

.delay-700 {
  transition-delay: 2100ms;
}

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    transform: none;
    transition: opacity var(--transition-slow);
  }

  .btn--whatsapp,
  .btn--sms {
    animation: none;
  }
}

.no-js .fade-in {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   Utilitários e layout base
   ========================================================================== */
.container {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
}

.narrow {
  width: min(100% - 32px, 820px);
}

.center {
  text-align: center;
}

.icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mt-32 {
  margin-top: 32px;
}

.mt-40 {
  margin-top: 40px;
}

.section {
  padding: 96px 0;
}

.section--alt {
  background: var(--color-surface);
}

.section--cta {
  background: var(--color-navy);
  color: var(--color-white);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(24, 140, 158, 0.15);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.section--cta .badge {
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
}

/* ==========================================================================
   Header e navegação
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(16, 36, 44, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 16px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  min-width: 0;
}

.nav__logo {
  height: 90px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  flex-shrink: 0;
}

/* .nav__brand-name removido a pedido */

.logo-mark {
  width: 34px;
  height: 34px;
}

.logo-mark rect {
  fill: var(--color-primary);
}

.logo-mark path {
  fill: none;
  stroke: var(--color-white);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.logo-mark text {
  fill: var(--color-white);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav__brand-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(16, 36, 44, 0.8);
  transition: color var(--transition), transform var(--transition);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition);
}

.nav__link:hover,
.nav__link:focus-visible {
  color: var(--color-primary);
  transform: translateY(-2px);
}

.nav__link:hover::after,
.nav__link:focus-visible::after {
  width: 100%;
}

/* Telefone Navbar Desktop - Hover Animado */
.nav__item--mobile-only {
  display: none;
}

@media (max-width: 980px) {
  .nav__item--mobile-only {
    display: block;
    width: 100%;
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid rgba(16, 36, 44, 0.08);
  }
}

.nav__link--phone {
  display: inline-flex !important;
  align-items: center;
  color: var(--color-primary) !important;
  font-weight: 700 !important;
}

.nav__toggle {
  display: none;
  background: none;
  border: 1px solid rgba(16, 36, 44, 0.15);
  border-radius: 10px;
  padding: 8px;
  cursor: pointer;
}

.nav__toggle-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-navy);
  margin: 4px 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* ==========================================================================
   Botões
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  border: 1px solid transparent;
  cursor: pointer;
  font-size: inherit;
  font-family: inherit;
  text-decoration: none;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-soft);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.btn--ghost {
  border-color: rgba(16, 36, 44, 0.2);
  color: var(--color-navy);
  background: transparent;
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  transform: translateY(-2px);
  background: rgba(16, 36, 44, 0.04);
}

.btn--light {
  background: var(--color-white);
  color: var(--color-navy);
  border-color: transparent;
}

.btn--resume {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  font-weight: 700;
}

.btn--resume:hover,
.btn--resume:focus-visible {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn--full {
  width: 100%;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding-top: 120px;
  padding-bottom: 80px;
}

.hero__grid {
  display: grid;
  gap: 40px;
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.hero__subtitle {
  font-size: 1.05rem;
}

.hero__support {
  font-weight: 600;
  color: var(--color-navy);
  line-height: 1.4;
}

.hero__support .icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--color-primary);
}

.hero__actions {
  display: inline-grid;
  grid-template-columns: auto auto;
  gap: 16px;
  margin-top: 24px;
}

.hero__actions .btn--resume {
  grid-column: span 2;
  width: 100%;
}

.hero__media {
  position: relative;
  background: linear-gradient(150deg, rgba(55, 137, 142, 0.15), rgba(16, 36, 44, 0.08));
  border-radius: 24px;
  padding: 18px;
}

.hero__image {
  border-radius: 18px;
  width: 100%;
  height: auto;
}

/* ==========================================================================
   Trust strip
   ========================================================================== */
.trust-strip {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 18px 0;
}

.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  text-align: center;
  font-weight: 600;
}

.heartbeat-divider {
  width: 100%;
  height: 120px;
  opacity: 0.15;
  overflow: hidden;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -90px;
  margin-bottom: -30px;
  position: relative;
  z-index: 2;
}

.heartbeat-divider::before,
.heartbeat-divider::after {
  content: "";
  flex-grow: 1;
  height: 3px;
  background-color: var(--color-primary);
}

.heartbeat-divider::after {
  flex-grow: 1.5;
}

.heartbeat-divider__line {
  width: auto;
  height: 100%;
  max-width: 300px;
  stroke: var(--color-primary);
  fill: none;
  stroke-width: 3px;
  opacity: 1;
  flex-shrink: 0;
}

/* ==========================================================================
   About Us
   ========================================================================== */
.about__grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.about__card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-soft);
  border-top: 4px solid var(--color-primary);
  transition: transform var(--transition), box-shadow var(--transition);
}

.about__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(16, 36, 44, 0.12);
}

.about__icon {
  margin-bottom: 16px;
}

.about__icon .icon {
  width: 32px;
  height: 32px;
  color: var(--color-primary);
}

.about__card h3 {
  color: var(--color-primary);
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.about__card p {
  color: #1CBE8D;
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

/* ==========================================================================
   Problema / solução
   ========================================================================== */
.lead {
  font-size: 1.1rem;
  font-weight: 600;
}

.question-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: grid;
  gap: 8px;
}

.question-list li::before {
  content: "•";
  color: var(--color-primary);
  margin-right: 8px;
}

.emphasis {
  font-weight: 700;
  font-size: 1.1rem;
}

.proof {
  font-weight: 600;
  color: var(--color-primary);
}

/* ==========================================================================
   Serviços
   ========================================================================== */
.services__grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover,
.card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(16, 36, 44, 0.12);
}

.card__icon {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.card h3,
.about__card h3,
.step h3 {
  color: var(--color-navy);
}

.card__icon .icon {
  width: 28px;
  height: 28px;
}

.card--highlight {
  border: 1px solid rgba(55, 137, 142, 0.4);
}

.card--transport {
  overflow: hidden;
  padding-top: 0;
}

.card__transport-img {
  margin: 0 -24px 16px;
  overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  max-height: 160px;
}

.card__transport-img img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

/* ==========================================================================
   Destaque de Transporte Solo
   ========================================================================== */
.section--transport {
  background: var(--color-surface);
  position: relative;
}

.section--transport::before,
.section--transport::after {
  content: '';
  position: absolute;
  left: 5%;
  right: 5%;
  height: 1.5px;
  background: linear-gradient(to right, transparent, rgba(55, 137, 142, 0.4), transparent);
}

.section--transport::before {
  top: 0;
}

.section--transport::after {
  bottom: 0;
}

.transport-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.transport-showcase__content h2 {
  margin-bottom: 20px;
}

.transport-showcase__image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  border: 4px solid var(--color-white);
}

.transport-showcase__image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.transport-showcase__image:hover img {
  transform: scale(1.05);
}

@media (max-width: 980px) {
  .transport-showcase {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .transport-showcase__image {
    order: -1;
  }
}

/* ==========================================================================
   Processo
   ========================================================================== */
.steps {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.step {
  background: var(--color-white);
  padding: 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.step__number {
  display: inline-flex;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: rgba(55, 137, 142, 0.15);
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 12px;
}

/* ==========================================================================
   Diferenciais
   ========================================================================== */
.split {
  display: grid;
  gap: 40px;
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px 18px;
}

.checklist li::before {
  content: "✓";
  color: var(--color-primary);
  font-weight: 700;
  margin-right: 10px;
}

.media__image {
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  background: var(--color-white);
}

/* ==========================================================================
   CTA / Contato
   ========================================================================== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.contact-content h2 {
  color: var(--color-white);
  margin-bottom: 24px;
}

.contact-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.contact-methods {
  display: grid;
  gap: 24px;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-method__icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  flex-shrink: 0;
}

.contact-method__text h3 {
  color: var(--color-white);
  font-size: 1.1rem;
  margin: 0 0 4px;
}

.contact-method__text p,
.contact-method__text a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin: 0;
  display: block;
}

.contact-method__text a:hover {
  color: var(--color-white);
  text-decoration: underline;
}

.contact-form-card {
  background: var(--color-white);
  padding: 32px;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  color: var(--color-navy);
  scroll-margin-top: 25vh;
}

.contact-form-card h3 {
  margin-bottom: 8px;
  font-size: 1.5rem;
}

.contact-card-divider {
  height: 1.5px;
  background: linear-gradient(to right, transparent, rgba(16, 36, 44, 0.1), transparent);
  margin: 32px 0;
}

#carreira-card {
  scroll-margin-top: 35vh;
}

.career-promo {
  text-align: center;
}

.career-promo h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: var(--color-navy);
}

.career-promo p {
  font-size: 0.9rem;
  color: var(--text-body);
  margin-bottom: 20px !important;
}

/* Animações de Pulso */
@keyframes pulse-brand {
  0% {
    box-shadow: 0 0 0 0 rgba(24, 140, 158, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(24, 140, 158, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(24, 140, 158, 0);
  }
}

@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.contact-actions {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.btn--whatsapp {
  background-color: #25D366;
  border-color: #25D366;
  width: 100%;
  font-size: 1.1rem;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}

.fade-in.visible .btn--whatsapp {
  animation: pulse-whatsapp 2s infinite;
}

.btn--whatsapp:hover,
.btn--whatsapp:focus-visible {
  background-color: #20BD5A;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  animation: none;
}

.btn--sms {
  background-color: var(--color-navy);
  border-color: var(--color-navy);
  width: 100%;
  font-size: 1.1rem;
}

.fade-in.visible .btn--sms {
  animation: pulse-brand 2s infinite;
}

.btn--sms:hover,
.btn--sms:focus-visible {
  background-color: #147685;
  filter: brightness(1.1);
  animation: none;
}

.fade-in.visible .contact-actions .btn--primary,
.fade-in.visible .career-promo .btn--resume {
  animation: pulse-brand 2s infinite;
}

.btn--mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .btn--mobile-only {
    display: inline-flex;
  }

  .btn--desktop-only {
    display: none !important;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .fade-in.visible .btn--whatsapp,
  .fade-in.visible .btn--sms {
    animation-iteration-count: 3;
  }
}

@media (max-width: 900px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .contact-methods {
    justify-items: center;
  }

  .contact-method {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact-form-card {
    padding: 24px;
    text-align: left;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.8);
  padding: 20px 0;
}

.footer__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer__brand img {
  height: 60px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.footer__brand span {
  color: var(--color-white);
  font-size: 0.875rem;
}

.footer__links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer__link {
  color: var(--color-white);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.2s;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
}

.footer__link:hover {
  opacity: 0.8;
  background: rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   File input styling
   ========================================================================== */
input[type="file"] {
  width: 100%;
  padding: 12px;
  border: 2px dashed rgba(16, 36, 44, 0.2);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-body);
  transition: border-color var(--transition), background var(--transition);
}

input[type="file"]:hover,
input[type="file"]:focus {
  border-color: var(--color-primary);
  background: rgba(24, 140, 158, 0.04);
}

input[type="file"]::file-selector-button {
  padding: 8px 16px;
  border-radius: 6px;
  border: none;
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  margin-right: 12px;
  transition: filter var(--transition);
}

input[type="file"]::file-selector-button:hover {
  filter: brightness(1.1);
}

/* ==========================================================================
   Modal
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms ease, visibility 300ms ease;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(16, 36, 44, 0.6);
  backdrop-filter: blur(4px);
}

.modal__content {
  position: relative;
  background: var(--color-white);
  border-radius: 20px;
  padding: 40px 36px;
  max-width: 520px;
  width: calc(100% - 32px);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
  transform: translateY(20px) scale(0.97);
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.is-open .modal__content {
  transform: translateY(0) scale(1);
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--color-surface);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-navy);
  transition: background var(--transition);
}

.modal__close:hover {
  background: rgba(16, 36, 44, 0.12);
}

.modal__content h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--color-navy);
}

.modal__content>p {
  color: var(--text-body);
  margin-bottom: 24px;
}

/* ==========================================================================
   Form Styles
   ========================================================================== */
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label,
.form-group legend {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-navy);
  padding: 0;
}

.form-group input,
.form-group textarea {
  padding: 12px 14px;
  border: 1.5px solid rgba(16, 36, 44, 0.15);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-navy);
  background: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(55, 137, 142, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(16, 36, 44, 0.4);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-group--radio {
  border: none;
  margin: 0;
  padding: 0;
}

.form-group--radio legend {
  margin-bottom: 6px;
}

.radio-options {
  display: flex;
  gap: 20px;
}

.radio-options label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
}

.radio-options input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-primary);
  cursor: pointer;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* Form success state */
.modal-form.is-sent {
  display: none;
}

.form-success {
  text-align: center;
  padding: 32px 0;
}

.form-success .icon {
  width: 48px;
  height: 48px;
  color: var(--color-primary);
  margin: 0 auto 16px;
}

.form-success h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: var(--color-navy);
}

.form-success p {
  color: var(--text-body);
  margin: 0;
}

/* ==========================================================================
   Acessibilidade e micro-interações
   ========================================================================== */
.skip-link {
  position: absolute;
  top: -40px;
  left: 16px;
  background: var(--color-navy);
  color: var(--color-white);
  padding: 8px 12px;
  border-radius: 6px;
  transition: top var(--transition);
  z-index: 2000;
}

.skip-link:focus {
  top: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 800ms cubic-bezier(0.16, 1, 0.3, 1), transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsividade
   ========================================================================== */
@media (max-width: 980px) {
  .nav__menu {
    position: absolute;
    right: 16px;
    top: 72px;
    background: var(--color-white);
    flex-direction: column;
    padding: 20px;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    gap: 14px;
    width: min(100% - 32px, 320px);
    display: none;
  }

  .nav__menu.is-open {
    display: flex;
  }

  .nav__list {
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .nav__toggle {
    display: inline-flex;
  }


  .nav__logo {
    height: 70px;
    max-width: 260px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 72px 0;
  }

  .hero {
    padding-top: 96px;
    text-align: center;
  }

  .hero__actions {
    justify-content: center;
  }

  .trust-strip__grid {
    text-align: center;
    justify-items: center;
  }

  .split {
    text-align: center;
    justify-items: center;
  }

  .checklist {
    text-align: center;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .checklist li {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .checklist li::before {
    margin-right: 8px;
  }

  .footer__content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .desktop-only {
    display: none !important;
  }

  .footer__brand {
    align-items: center;
  }

  .narrow {
    text-align: center;
  }

  .question-list {
    text-align: left;
    display: inline-grid;
    max-width: 100%;
  }

  .card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about__card {
    text-align: center;
  }

  .about__icon {
    display: flex;
    justify-content: center;
  }

  .modal__content {
    padding: 28px 20px;
  }
}

/* Logo Desktop - aumentado */
@media (min-width: 981px) {
  .nav__logo {
    height: 130px;
    max-width: 420px;
  }
}

/* Mantém o tamanho original no mobile */
@media (max-width: 980px) {
  .nav__logo {
    height: 90px;
    max-width: 300px;
  }
}

@media (max-width: 640px) {
  .nav__logo {
    height: 80px;
    max-width: 260px;
  }
}

/* Botão flutuante de voltar ao topo */
.back-to-top-floating {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-primary);
  border: 1px solid rgba(24, 140, 158, 0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.back-to-top-floating:hover {
  background: #f8f9f9;
  transform: translateY(-2px) scale(1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.back-to-top-floating.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top-floating .icon {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

@media (max-width: 768px) {
  .back-to-top-floating {
    width: 44px;
    height: 44px;
    bottom: 16px;
    right: 16px;
  }

  .back-to-top-floating .icon {
    width: 20px;
    height: 20px;
  }
}