/* ============================================
   Amil Plano São Paulo — Design System
   Premium health landing + SEO portal
   ============================================ */

:root {
  --primary: #0033a0;
  --primary-dark: #00267a;
  --secondary: #0d8a7a;
  --accent: #1aa6a0;
  --background: #f5f9fb;
  --surface: #ffffff;
  --text: #0f2433;
  --text-light: #5a6f7d;
  --border: #d9e6ec;
  --shadow-sm: 0 2px 8px rgba(11, 58, 85, 0.06);
  --shadow-md: 0 10px 30px rgba(11, 58, 85, 0.08);
  --shadow-lg: 0 24px 50px rgba(11, 58, 85, 0.12);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --container: 1180px;

  --header-h: 76px;
  --whatsapp: #25d366;
  --focus: #0b5f8a;
  --success: #0d8a7a;
  --danger: #c0392b;
  --gradient-hero: linear-gradient(145deg, #eef7fa 0%, #e4f3f1 48%, #f7fbfd 100%);
  --gradient-brand: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --transition: 0.25s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--background);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover { color: var(--secondary); }

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--focus) 55%, white);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Utilities ---------- */
.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section {
  padding: 4.5rem 0;
}

.section--alt {
  background: var(--surface);
}

.section--soft {
  background:
    radial-gradient(ellipse 80% 60% at 10% 20%, rgba(13, 138, 122, 0.08), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 80%, rgba(11, 95, 138, 0.08), transparent 50%),
    var(--background);
}

.section--brand {
  background: var(--gradient-brand);
  color: #fff;
}

.section-header {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.section-header--left {
  margin-left: 0;
  text-align: left;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--secondary);
  margin: 0 0 0.75rem;
}

.section-title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
  font-weight: 800;
}

.section-subtitle {
  margin: 0;
  color: var(--text-light);
  font-size: 1.0625rem;
}

.section--brand .section-title,
.section--brand .section-subtitle {
  color: #fff;
}

.section--brand .section-subtitle {
  opacity: 0.92;
}

.note {
  margin: 1.25rem 0 0;
  font-size: 0.875rem;
  color: var(--text-light);
}

.grid {
  display: grid;
  gap: 1.25rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: 0 10px 24px rgba(11, 95, 138, 0.25);
}

.btn-primary:hover {
  color: #fff;
  box-shadow: 0 14px 28px rgba(11, 95, 138, 0.32);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: color-mix(in srgb, var(--primary) 35%, white);
}

.btn-outline:hover {
  background: color-mix(in srgb, var(--primary) 6%, white);
  color: var(--primary-dark);
}

.btn-light {
  background: #fff;
  color: var(--primary-dark);
}

.btn-light:hover { color: var(--primary-dark); }

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 18px rgba(37, 211, 102, 0.28);
}

.btn-whatsapp:hover {
  color: #fff;
  background: #1ebe57;
  filter: none;
  box-shadow: 0 10px 22px rgba(37, 211, 102, 0.34);
}

.btn-whatsapp svg,
.btn svg {
  flex-shrink: 0;
  display: block;
  width: 1.05em;
  height: 1.05em;
}

.btn-whatsapp.btn-sm svg {
  width: 15px;
  height: 15px;
}

.btn-whatsapp span {
  line-height: 1.2;
}

.btn-sm {
  min-height: 40px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-block { width: 100%; }

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--secondary) 30%, var(--border));
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--secondary) 12%, white);
  color: var(--secondary);
  margin-bottom: 1rem;
}

.card-icon svg { width: 22px; height: 22px; }

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}

.card p {
  margin: 0 0 1rem;
  color: var(--text-light);
  font-size: 0.95rem;
}

.card .meta {
  display: inline-flex;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 8%, white);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.card .coverage {
  margin: 0 0 1rem;
  color: var(--text-light);
  font-size: 0.875rem;
  font-weight: 600;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  width: 120px;
  height: 36px;
}

.logo-footer {
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.trust-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.15rem;
}

.nav-desktop > a,
.nav-item > button {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.55rem 0.7rem;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
}

.nav-desktop > a:hover,
.nav-item > button:hover,
.nav-desktop > a:focus-visible,
.nav-item > button:focus-visible {
  background: color-mix(in srgb, var(--primary) 7%, white);
  color: var(--primary-dark);
}

.nav-item {
  position: relative;
}

.nav-item > button svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition);
}

.nav-item.is-open > button svg {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 240px;
  padding: 0.6rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 20;
}

.nav-item.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
}

.dropdown a:hover {
  background: color-mix(in srgb, var(--secondary) 10%, white);
  color: var(--primary-dark);
}

.header-cta {
  display: none;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  position: relative;
  transition: background var(--transition);
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), top var(--transition);
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.nav-mobile {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 0.75rem 0 1.25rem;
}

.nav-mobile.is-open { display: block; }

.nav-mobile a,
.nav-mobile summary {
  display: block;
  padding: 0.85rem 0;
  color: var(--text);
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  list-style: none;
  cursor: pointer;
}

.nav-mobile summary::-webkit-details-marker { display: none; }

.nav-mobile details a {
  padding-left: 0.75rem;
  font-weight: 500;
  color: var(--text-light);
  border-bottom: 0;
}

.nav-mobile .btn { margin-top: 1rem; width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--gradient-hero);
  padding: 1.5rem 0 1.75rem;
}

.hero--photo {
  background: #0b2a5a;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg picture,
.hero-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(0, 30, 80, 0.82) 0%, rgba(0, 51, 160, 0.55) 42%, rgba(8, 60, 90, 0.45) 100%),
    linear-gradient(180deg, rgba(0, 20, 50, 0.25) 0%, rgba(0, 20, 50, 0.45) 100%);
}

.hero::before,
.hero::after {
  content: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
  align-items: stretch;
}

.hero-copy,
.hero-form {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(8px);
}

.hero-copy {
  padding: 1.15rem 1.2rem 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 8%, white);
  border: 1px solid var(--border);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  width: fit-content;
}

.hero h1 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.45rem, 3.2vw, 2.05rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text);
  font-weight: 800;
}

.hero-lead {
  margin: 0 0 0.9rem;
  max-width: 32rem;
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

.hero-actions .btn-sm {
  min-height: 40px;
  padding: 0.55rem 0.95rem;
  font-size: 0.875rem;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.85rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 600;
}

.trust-list svg {
  width: 14px;
  height: 14px;
  color: var(--secondary);
  flex-shrink: 0;
}

.hero-media {
  position: relative;
  max-width: 520px;
  margin-inline: auto;
}

.hero-form-wrap {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
  z-index: 1;
}

.hero-form {
  padding: 0.95rem 1rem 1.05rem;
}

.hero-form-eyebrow {
  margin: 0 0 0.2rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--secondary);
}

.hero-form-title {
  margin: 0 0 0.2rem;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.2;
  color: var(--primary);
}

.hero-form-lead {
  margin: 0 0 0.7rem;
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.35;
}

.form-grid--hero {
  gap: 0.55rem;
}

.form-grid--hero .field label {
  margin-bottom: 0.2rem;
  font-size: 0.75rem;
}

.form-grid--hero .field input,
.form-grid--hero .field select {
  min-height: 38px;
  padding: 0.4rem 0.65rem;
  font-size: 0.875rem;
}

.form-grid--hero .form-row {
  gap: 0.55rem;
}

.form-grid--hero .consent {
  font-size: 0.72rem;
  gap: 0.45rem;
  line-height: 1.35;
}

.form-grid--hero .btn-block {
  min-height: 42px;
  font-size: 0.9rem;
}

.hero-form-trust {
  margin: 0;
  text-align: center;
  font-size: 0.68rem;
  color: var(--text-light);
}

.hero-media picture,
.hero-media img {
  display: block;
  width: 100%;
}

.hero-media img {
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 18%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero-float {
  position: absolute;
  left: 1rem;
  bottom: 1.25rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  box-shadow: var(--shadow-md);
  max-width: 220px;
}

.hero-float strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
}

.hero-float span {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ---------- Trust strip ---------- */
.trust-strip {
  margin-top: -1.25rem;
  position: relative;
  z-index: 2;
}

.trust-strip-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow-md);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem;
}

.trust-item .card-icon {
  margin: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.trust-item span {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.3;
}

/* ---------- Plan cards ---------- */
.plan-card .card-actions {
  margin-top: auto;
}

.plan-grid .card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

/* ---------- Audience ---------- */
.audience-card {
  position: relative;
  overflow: hidden;
  min-height: 180px;
}

.audience-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--secondary) 10%, transparent);
  pointer-events: none;
}

/* ---------- Form ---------- */
.lead-panel {
  display: grid;
  gap: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}

.lead-copy ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.lead-copy li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  color: var(--text-light);
  font-size: 0.95rem;
}

.lead-copy li svg {
  width: 18px;
  height: 18px;
  color: var(--secondary);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 1rem;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fbfdfe;
  font: inherit;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 15%, transparent);
}

.consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--text-light);
}

.consent input {
  margin-top: 0.2rem;
  width: 16px;
  height: 16px;
  accent-color: var(--secondary);
  flex-shrink: 0;
}

.form-status {
  display: none;
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
}

.form-status.is-visible { display: block; }
.form-status.is-success {
  background: color-mix(in srgb, var(--success) 12%, white);
  color: var(--primary-dark);
}
.form-status.is-error {
  background: color-mix(in srgb, var(--danger) 10%, white);
  color: var(--danger);
}

/* ---------- Why / Rede / Empresas ---------- */
.feature-card h3 { font-size: 1.05rem; }

.rede-visual {
  margin: 0 0 1.75rem;
}

.media-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.media-duo picture,
.media-duo img {
  display: block;
  width: 100%;
}

.media-duo img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.rede-grid .card { text-align: left; }

.empresa-layout {
  display: grid;
  gap: 1.25rem;
  align-items: stretch;
}

.empresa-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.empresa-media picture,
.empresa-media img {
  display: block;
  width: 100%;
  height: 100%;
}

.empresa-media img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 20%;
}

.empresa-band {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0, 51, 160, 0.96), rgba(13, 138, 122, 0.92)),
    var(--primary);
  color: #fff;
  padding: 2rem 1.5rem;
}

.empresa-band .section-title,
.empresa-band .section-subtitle { color: #fff; }

.empresa-band .card {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
  backdrop-filter: blur(6px);
}

.empresa-band .card:hover {
  background: rgba(255, 255, 255, 0.18);
}

.empresa-band .card p { color: rgba(255, 255, 255, 0.88); }
.empresa-band .card-icon {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.lead-photo {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 0.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.lead-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

.photo-mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.photo-card {
  margin: 0;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  background: var(--surface);
}

.photo-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s ease;
}

.photo-card:hover img {
  transform: scale(1.03);
}

.photo-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.25rem 1rem 0.95rem;
  background: linear-gradient(transparent, rgba(10, 30, 55, 0.78));
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
}

/* ---------- Cities ---------- */
.cidades-visual {
  margin: 0 auto 1.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  max-width: 720px;
}

.cidades-visual picture,
.cidades-visual img {
  display: block;
  width: 100%;
}

.cidades-visual img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 42%;
}

.city-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.city-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.95rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.city-link:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--secondary) 40%, var(--border));
  box-shadow: var(--shadow-md);
  color: var(--primary-dark);
}

.city-link svg {
  width: 16px;
  height: 16px;
  color: var(--secondary);
  flex-shrink: 0;
}

/* ---------- Price factors ---------- */
.factor-list {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
}

.factor-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.factor-list svg {
  width: 18px;
  height: 18px;
  color: var(--secondary);
}

/* ---------- Compare table ---------- */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.compare-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.compare-table th,
.compare-table td {
  padding: 1rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.925rem;
}

.compare-table th {
  background: color-mix(in srgb, var(--primary) 6%, white);
  font-weight: 800;
  color: var(--text);
}

.compare-table tr:last-child td { border-bottom: 0; }

.compare-table td { color: var(--text-light); }
.compare-table td:first-child {
  color: var(--text);
  font-weight: 700;
}

.compare-cards {
  display: none;
  gap: 1rem;
}

.compare-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.compare-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}

.compare-card dl {
  margin: 0 0 1rem;
  display: grid;
  gap: 0.55rem;
}

.compare-card dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-light);
  font-weight: 700;
}

.compare-card dd {
  margin: 0.15rem 0 0;
  font-weight: 600;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gradient-brand);
  color: #fff;
  font-weight: 800;
}

.step h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.step p {
  margin: 0;
  color: var(--text-light);
  font-size: 0.925rem;
}

/* ---------- Content article ---------- */
.content-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

.content-block h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
}

.content-block h3 {
  margin: 1.75rem 0 0.65rem;
  font-size: 1.2rem;
}

.content-block p {
  margin: 0 0 1rem;
  color: var(--text-light);
}

.content-block ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  color: var(--text-light);
}

.content-block li { margin-bottom: 0.4rem; }

.content-block a { font-weight: 600; }

/* ---------- FAQ ---------- */
.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  padding: 1.1rem 1.2rem;
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
}

.faq-item button svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--secondary);
  transition: transform var(--transition);
}

.faq-item.is-open button svg { transform: rotate(180deg); }

.faq-panel {
  display: none;
  padding: 0 1.2rem 1.15rem;
  color: var(--text-light);
  font-size: 0.95rem;
}

.faq-item.is-open .faq-panel { display: block; }

/* ---------- Final CTA ---------- */
.final-cta {
  text-align: center;
  padding: 3.5rem 1.5rem;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.14), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1), transparent 35%),
    var(--gradient-brand);
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.final-cta h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: -0.02em;
}

.final-cta p {
  margin: 0 auto 1.5rem;
  max-width: 34rem;
  opacity: 0.94;
}

.final-cta .hero-actions {
  justify-content: center;
  margin-bottom: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #0a2f42;
  color: rgba(255, 255, 255, 0.86);
  padding: 3.5rem 0 1.5rem;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand p {
  margin: 1rem 0 0;
  font-size: 0.925rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  max-width: 280px;
}

.footer-col h3 {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: #fff;
  letter-spacing: 0.02em;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.5rem;
  display: grid;
  gap: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
}

.disclaimer {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.55);
}

.copyright {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 1100;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  text-decoration: none;
  line-height: 0;
  overflow: hidden;
}

.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.05);
  color: #fff;
  background: #1ebe57;
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.45);
}

.whatsapp-float:focus-visible {
  outline: 3px solid rgba(37, 211, 102, 0.45);
  outline-offset: 3px;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  display: block;
  fill: currentColor;
  flex-shrink: 0;
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* ---- Price pages (video tables) ---- */
.alert-disclaimer {
  margin: 0 0 1.75rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-md);
  border: 1px solid color-mix(in srgb, #c0392b 25%, var(--border));
  background: color-mix(in srgb, #c0392b 8%, white);
  color: var(--text);
  font-size: 0.925rem;
  line-height: 1.55;
}
.price-disclaimer {
  margin: 0 0 0.85rem;
  padding: 0.75rem 0.9rem;
  border-left: 4px solid var(--primary);
  background: color-mix(in srgb, var(--primary) 6%, white);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.85rem;
  color: var(--text-light);
}
.price-block { margin: 2.25rem 0; }
.price-block-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}
.price-table { min-width: 640px; }
.price-table th { white-space: nowrap; font-size: 0.8rem; }
.price-table td { font-size: 0.85rem; white-space: nowrap; }
.price-from {
  margin: 0.35rem 0 0.75rem;
  font-size: 1.05rem;
  color: var(--primary);
  font-weight: 650;
}
.price-from strong {
  font-size: 1.35rem;
  font-weight: 800;
}
.breadcrumb {
  font-size: 0.875rem;
  color: var(--text-light);
}
.breadcrumb a { font-weight: 650; }

/* ---- SEO guides ---- */
.seo-content { max-width: 48rem; }
.seo-content h2 {
  margin: 1.75rem 0 0.65rem;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: var(--text);
}
.seo-content p {
  margin: 0 0 0.85rem;
  color: var(--text-light);
  line-height: 1.65;
}
.seo-content a { font-weight: 650; }
.check-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.check-list li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  color: var(--text);
  font-size: 0.95rem;
}
.check-list svg {
  width: 18px;
  height: 18px;
  color: var(--secondary);
  flex-shrink: 0;
  margin-top: 0.15rem;
}
.related-guides { margin-top: 2.5rem; }
.related-guides h3 { margin: 0 0 0.85rem; }
.related-guides-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.jump-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 1.5rem;
}
.jump-pills a {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.85rem;
  font-weight: 650;
}
details.price-acc {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  margin: 0.85rem 0;
  box-shadow: var(--shadow-sm);
}
details.price-acc > summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.15rem;
  font-weight: 750;
  color: var(--text);
}
details.price-acc > summary::-webkit-details-marker { display: none; }
details.price-acc > summary::after {
  content: "";
  float: right;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(45deg);
  margin-top: 0.35rem;
}
details.price-acc[open] > summary::after { transform: rotate(-135deg); margin-top: 0.55rem; }
details.price-acc .price-block { padding: 0 1.15rem 1.15rem; margin: 0; }

.table-heading {
  margin: 1.75rem 0 0.75rem;
  font-size: 1.15rem;
}

.geo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}
.geo-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.2rem 1rem;
  box-shadow: var(--shadow-sm);
}
.geo-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
}
.geo-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}
.geo-card .geo-flag {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  font-weight: 800;
}
.geo-flag.geo-yes { color: var(--success); }
.geo-flag.geo-no { color: var(--text-light); }
.geo-meta {
  margin: 0 0 0.65rem;
  color: var(--text-light);
  font-size: 0.88rem;
}
.geo-more summary {
  cursor: pointer;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.88rem;
}
.geo-more p {
  margin: 0.55rem 0 0;
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.55;
}

.rede-toolbar {
  display: grid;
  gap: 0.85rem;
  margin: 0 0 1rem;
}
.rede-search {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.85rem 1.15rem;
  font: inherit;
  background: var(--surface);
  color: var(--text);
}
.rede-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.rede-chip {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}
.rede-chip.is-on {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.rede-count {
  margin: 0 0 1rem;
  color: var(--text-light);
  font-size: 0.88rem;
}

.rede-region {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  margin: 0 0 0.85rem;
  box-shadow: var(--shadow-sm);
}
.rede-region.is-empty { display: none; }
.rede-region > summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.15rem;
  font-weight: 800;
  color: var(--text);
}
.rede-region > summary::-webkit-details-marker { display: none; }
.rede-region > summary small {
  font-weight: 650;
  color: var(--text-light);
}
.rede-region .hosp-grid { padding: 0 1rem 1rem; }

.hosp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}
.hosp-card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.05rem 1.1rem 0.95rem;
}
.hosp-kicker {
  margin: 0 0 0.3rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--secondary);
}
.hosp-name {
  margin: 0 0 0.15rem;
  font-size: 1.08rem;
  line-height: 1.3;
}
.hosp-place {
  margin: 0 0 0.55rem;
  color: var(--text-light);
  font-size: 0.9rem;
}
.hosp-lead {
  margin: 0 0 0.7rem;
  font-size: 0.92rem;
}
.svc-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 0.75rem;
  padding: 0;
  list-style: none;
}
.svc-pills li {
  background: color-mix(in srgb, var(--secondary) 12%, white);
  color: var(--primary-dark);
  border-radius: 999px;
  padding: 0.22rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 750;
}
.svc-pills .svc-note {
  background: color-mix(in srgb, var(--primary) 10%, white);
}
.fam-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  margin: 0 0 0.65rem;
  padding: 0;
  list-style: none;
}
.fam-row li {
  border-radius: 10px;
  padding: 0.4rem 0.55rem;
  font-size: 0.75rem;
  line-height: 1.25;
}
.fam-row li span { display: block; font-weight: 800; }
.fam-row li small { color: inherit; opacity: 0.85; }
.fam-row .is-on {
  background: color-mix(in srgb, var(--success) 14%, white);
  color: #0b5c4c;
}
.fam-row .is-off {
  background: #f1f4f6;
  color: var(--text-light);
}
.hosp-from {
  margin: 0 0 0.4rem;
  font-size: 0.88rem;
  color: var(--text-light);
}
.hosp-plans summary {
  cursor: pointer;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.86rem;
}
.hosp-plans ul {
  margin: 0.45rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.84rem;
  color: var(--text-light);
}

.lab-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.35rem 1rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}
.lab-list li {
  font-size: 0.88rem;
  color: var(--text);
  padding: 0.2rem 0;
  border-bottom: 1px dashed var(--border);
}

/* ---- Interior cluster ---- */
.aeo-answer {
  background: color-mix(in srgb, var(--primary) 8%, #fff);
  border-left: 3px solid var(--primary);
  padding: 0.9rem 1rem;
  margin: 0 0 1rem;
  border-radius: 0 12px 12px 0;
}
.aeo-answer p { margin: 0; color: var(--text); }
.info-box {
  background: var(--surface, #f5f7fb);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 14px;
  padding: 1rem 1.15rem;
  margin: 1rem 0;
}
.cluster-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 1.5rem;
}
.cluster-jump a {
  font-size: 0.85rem;
  font-weight: 650;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(0,51,160,.08);
  color: var(--primary);
}
.cluster-cta { margin: 1.75rem 0; }
.mobile-cta-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1050;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96);
  border-top: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 -8px 24px rgba(0,0,0,.06);
}
.mobile-cta-bar .btn { flex: 1; justify-content: center; }
@media (max-width: 768px) {
  .mobile-cta-bar { display: flex; }
  body:has(.mobile-cta-bar) { padding-bottom: 4.5rem; }
  body:has(.mobile-cta-bar) .whatsapp-float { bottom: 5rem; }
}
