

/* Tokens visuais principais da landing page */
:root {
  --bg: #e9ecef;
  --surface: #ffffff;
  --primary: #28a745;
  --primary-dark: #1f8d39;
  --text: #2c3e50;
  --text-secondary: #555555;
  --shadow-sm: 0 12px 30px rgba(30, 45, 62, 0.08);
  --shadow-md: 0 22px 52px rgba(30, 45, 62, 0.15);
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
}

html {
  max-width: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

img {
  /* display: block; */
  max-width: 100%;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 70px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 6px 24px rgba(26, 39, 58, 0.08);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.menu-toggle,
.menu-close {
  display: none;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.menu-toggle {
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.28rem;
  /* background: rgba(40, 167, 69, 0.08); */
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-close {
  width: 42px;
  height: 42px;
  margin-left: auto;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(40, 167, 69, 0.08);
  font-size: 1.7rem;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(44, 62, 80, 0.36);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 24;
}

.header-link {
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: color 0.25s ease;
}

.header-link:hover {
  color: var(--primary);
}

.header-cta,
.primary-button {
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.header-cta {
  padding: 0.8rem 1.15rem;
  font-size: 0.92rem;
  box-shadow: 0 10px 24px rgba(40, 167, 69, 0.24);
}

.header-cta:hover,
.primary-button:hover {
  transform: translateY(-2px);
  background: var(--primary-dark);
  box-shadow: 0 16px 28px rgba(40, 167, 69, 0.28);
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  padding: 2rem 0 3rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.68)),
    url("assets/hero-medical.webp");
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at bottom right, rgba(40, 167, 69, 0.08), transparent 25%),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(233, 236, 239, 0.25));
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 420px);
  /* align-items: center; */
  gap: 2rem;
  min-height: calc(100vh - 140px);
}

.hero-content {
  max-width: 640px;
}

.hero-brand {
  width: min(210px, 60%);
  margin-bottom: 0.2rem;
}

.hero-content h1 {
  margin: 0 0 1rem;
  max-width: 17ch;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.06;
}

.hero-subtitle {
  max-width: 29rem;
  margin: 0;
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.lead-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.lead-card-header h2 {
  margin: 0.75rem 0 0.55rem;
  font-size: 1.75rem;
  line-height: 1.15;
}

.lead-badge {
  display: inline-flex;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: rgba(40, 167, 69, 0.12);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 600;
}

.lead-checks {
  display: grid;
  gap: 0.45rem;
  padding: 0;
  margin: 0;
  list-style: none;
  color: #4c6f57;
  font-size: 0.92rem;
}

.lead-checks li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.lead-checks li::before {
  content: "✔";
  color: var(--primary);
  font-weight: 700;
}

/* Formulario */
.lead-form {
  display: grid;
  gap: 0.2rem;
  margin-top: 1.4rem;
}

.lead-form label {
  font-size: 0.92rem;
  font-weight: 600;
}

.lead-form input,
.custom-select-trigger {
  width: 100%;
  min-height: 54px;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(44, 62, 80, 0.12);
  border-radius: 14px;
  background: #ffffff;
  color: var(--text);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.lead-form input:focus,
.custom-select.open .custom-select-trigger {
  border-color: rgba(40, 167, 69, 0.6);
  box-shadow: 0 0 0 4px rgba(40, 167, 69, 0.12);
}

.custom-select {
  position: relative;
}

.custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.selected-option,
.custom-option {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.selected-option i,
.custom-option i {
  color: var(--primary);
  font-size: 1.25rem;
}

.custom-select-menu {
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 0;
  right: 0;
  display: grid;
  gap: 0.35rem;
  padding: 0.5rem;
  background: var(--surface);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  z-index: 3;
}

.custom-select.open .custom-select-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-option {
  width: 100%;
  border: 0;
  padding: 0.95rem;
  border-radius: 14px;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.custom-option:hover,
.custom-option:focus-visible {
  background: rgba(40, 167, 69, 0.08);
  transform: translateX(2px);
  outline: none;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 56px;
  padding: 1rem 1.2rem;
  margin-top: 0.35rem;
  font-size: 1rem;
  font-weight: 600;
}

.primary-button img {
  font-size: 1.35rem;
}

.form-note {
  margin: 0.1rem 0 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.form-note.is-error {
  color: #d93025;
}

.form-note.is-success {
  color: var(--primary-dark);
}

/* Secoes padrao */
.section {
  padding: 4.5rem 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 2rem;
}

.section-heading.center {
  text-align: center;
}

.section-heading.narrow {
  max-width: 700px;
}

.section-heading h2,
.cta-box h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.15;
}

.section-heading p {
  margin: 0;
  color: var(--text-secondary);
}

.benefits-grid,
.testimonials-grid,
.footer-grid {
  display: grid;
  gap: 1.5rem;
}

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

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

.info-card,
.testimonial-card {
  padding: 1.7rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.info-card {
  text-align: center;
}

.info-card:hover,
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(25, 40, 56, 0.14);
}

.card-icon {
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  color: var(--primary);
  font-size: 1.55rem;
}

.info-card h3 {
  margin: 1rem 0 0.5rem;
}

.info-card p,
.testimonial-card p {
  margin: 0;
  color: var(--text-secondary);
}

/* Carrossel automatico */
.operators-section {
  padding-top: 0.6rem;
}

.logo-marquee {
  overflow: hidden;
}

.logo-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 1rem;
  animation: marquee 24s linear infinite;
  will-change: transform;
}

.logo-card {
  min-width: 210px;
  min-height: 96px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
}

.logo-card img {
  width: auto;
  max-width: 150px;
  max-height: 42px;
  object-fit: contain;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.cta-section {
  padding-top: 2rem;
}

.cta-box {
  padding: 3rem 2rem;
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 22%),
    linear-gradient(135deg, #1d7d35, #28a745 58%, #33bc57);
  color: #ffffff;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.cta-box p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}

.secondary-cta {
  min-width: 260px;
  margin-top: 1.2rem;
  background: #ffffff;
  color: var(--primary-dark);
}

.secondary-cta:hover {
  background: #f6fffa;
}

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

.testimonial-card {
  text-align: center;
}

.testimonial-card strong {
  display: block;
  margin-top: 1rem;
}

.stars {
  margin-bottom: 1rem;
  color: #ffb200;
  letter-spacing: 0.12em;
}

/* Footer */
.site-footer {
  padding: 1rem 0 2rem;
  background: #dfe3e6;
}

.footer-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 2rem 0;
  border-bottom: 1px solid rgba(44, 62, 80, 0.12);
}

.site-footer h3 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.site-footer p {
  margin: 0 0 0.5rem;
  color: var(--text-secondary);
}

.social-links {
  display: flex;
  gap: 0.85rem;
}

.social-links a {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  color: var(--primary);
  font-size: 1.25rem;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.social-links a:hover {
  transform: translateY(-3px);
  background: var(--primary);
  color: #ffffff;
}

.footer-bottom {
  padding-top: 1rem;
  text-align: center;
}

.floating-whatsapp {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 30;
  width: 68px;
  height: 68px;
  border: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #28a745, #2fd15a);
  color: #ffffff;
  font-size: 2rem;
  box-shadow: 0 18px 36px rgba(40, 167, 69, 0.28);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.floating-whatsapp:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 24px 40px rgba(40, 167, 69, 0.34);
}

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

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

/* Ajustes responsivos */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-content {
    max-width: none;
    text-align: center;
  }

  .hero-content h1,
  .hero-subtitle {
    max-width: none;
  }

  .benefits-grid.compact,
  .testimonials-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 999px) {
  body {
    overflow-x: hidden;
  }
}

@media (max-width: 820px) {
  .site-header {
    height: 70px;
  }

  .header-inner {
    position: relative;
  }

  .brand img {
    height: 38px;
  }

  .menu-toggle,
  .menu-close {
    display: inline-flex;
  }

  .header-actions {
   position: absolute;
    top: 0;
    right: 0;
    width: min(82vw, 320px);
    height: 503vh;
    padding: 1rem 1.1rem 1.5rem;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.4rem;
    background: #ffffff;
    box-shadow: -18px 0 42px rgba(30, 45, 62, 0.14);
    transform: translateX(110%);
    transition: transform 0.28s ease;
    z-index: 25;
  }

  .header-link,
  .header-cta {
    display: block;
    width: 100%;
  }

  .header-link {
    padding: 0.9rem 0.35rem;
    font-size: 1.05rem;
  }

  .header-cta {
    margin-top: 0.7rem;
    text-align: center;
  }

  body.menu-open .menu-overlay {
    opacity: 1;
    visibility: visible;
  }

  body.menu-open .header-actions {
    transform: translateX(0);
  }

  body.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  body.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero {
    padding-top: 3rem;
  }

  .benefits-grid.compact,
  .testimonials-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-box,
  .lead-card {
    padding: 1.8rem 1.4rem;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 1.25rem), var(--container));
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .section {
    padding: 3.8rem 0;
  }

  .logo-card {
    min-width: 165px;
    min-height: 84px;
  }

  .logo-card img {
    max-width: 130px;
    max-height: 34px;
  }

  .primary-button,
  .secondary-cta {
    width: 100%;
  }

  .floating-whatsapp {
    width: 76px;
    height: 76px;
    right: 1rem;
    bottom: 1rem;
    font-size: 2.1rem;
  }
}

a:hover {
  color: var(--primary);
}
