/* ============================================
   MedCenter Landing v2 – Mobile-first, responsivo
   ============================================ */

:root {
  /* Cores – tom profissional/saúde */
  --color-primary: #0d7377;
  --color-primary-dark: #095456;
  --color-primary-light: #14a3a8;
  --color-accent: #32e0c4;
  --color-cta: #f58a1e;
  --color-cta-dark: #d97612;
  --color-text: #1a1a1a;
  --color-text-muted: #4a4a4a;
  --color-bg: #ffffff;
  --color-bg-alt: #f5f8f9;
  --color-border: #e2e8ec;

  /* Tipografia – headlines vs apoio */
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-headline: "Montserrat", sans-serif;
  --font-support: "Stem", sans-serif;
  --font-display: "Fraunces", Georgia, serif;

  /* Espaçamento */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 5rem;

  /* Container */
  --container-max: 720px;
  --container-wide: 960px;

  /* Header fixo, cor sólida (referência) */
  --header-height: 64px;
  --header-bg: #ffffff;
  --header-accent: #00889a;

  /* Transições */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --duration: 0.25s;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}
a:hover {
  color: var(--color-primary-dark);
}

/* ========== Container ========== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

/* ========== Header ========== */
/* Fixo, cor sólida – referência */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  background: var(--header-bg);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
  transition: box-shadow var(--duration) var(--ease);
}
.header--scrolled {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.logo {
  display: flex;
  align-items: center;
  color: var(--color-text);
}
.logo__img {
  display: block;
  height: 36px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}
@media (min-width: 768px) {
  .logo__img {
    height: 40px;
  }
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 6px;
  transition: background var(--duration) var(--ease);
}
.nav-toggle:hover {
  background: rgba(0, 136, 154, 0.08);
}
.nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--header-accent);
  border-radius: 1px;
  transition: transform var(--duration) var(--ease), opacity var(--duration) var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav {
  display: none;
  align-items: center;
  gap: var(--space-md);
  font-size: 0.9375rem;
  font-weight: 500;
}
.nav a {
  color: var(--header-accent);
}
.nav a:hover {
  color: #006d7a;
}
.nav__cta {
  padding: var(--space-xs) var(--space-sm);
  background: var(--color-cta);
  color: #fff !important;
  border-radius: 8px;
  transition: background var(--duration) var(--ease), transform 0.15s var(--ease);
}
.nav__cta:hover {
  background: var(--color-cta-dark);
  color: #fff !important;
  transform: translateY(-1px);
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }
  .nav {
    display: flex;
  }
}

/* Menu mobile aberto */
.nav.is-open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  padding: var(--space-xl);
  background: var(--color-bg);
  align-items: stretch;
  justify-content: center;
  gap: var(--space-lg);
  font-size: 1.125rem;
}
.nav.is-open .nav__cta {
  text-align: center;
  padding: var(--space-sm);
}

/* ========== Botões ========== */
.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  color: #fff;
  background: var(--color-cta);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background var(--duration) var(--ease), transform 0.15s var(--ease);
}
.btn:hover {
  background: var(--color-cta-dark);
  transform: translateY(-1px);
}
.btn:active {
  transform: scale(0.98);
}
.btn--primary {
  background: var(--color-cta);
}
.btn--primary:hover {
  background: var(--color-cta-dark);
  transform: translateY(-1px);
}
.btn--lg {
  padding: var(--space-md) var(--space-xl);
  font-size: 1.0625rem;
}

/* ========== Hero – background + overlay #00889a à esquerda ========== */
.hero {
  position: relative;
  margin-top: var(--header-height);
  padding: var(--space-2xl) 0;
  min-height: 520px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: url("/static/science-teamwork-laptop-with-laughing-laboratory-communication-pharmaceutical-review-planning-employees-collaboration-technology-research-discussion-digital-analysis.jpg") no-repeat center center;
  background-size: cover;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 136, 154, 0.9) 0%, rgba(0, 136, 154, 0.55) 45%, rgba(0, 136, 154, 0.2) 70%, transparent 85%);
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
  max-width: 100%;
}

.hero__title {
  margin: 0 0 var(--space-md);
  font-family: var(--font-headline);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.hero__lead {
  margin: 0 0 var(--space-lg);
  max-width: 680px;
  font-family: var(--font-support);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.btn--hero {
  padding: var(--space-sm) var(--space-lg);
  font-size: 1rem;
  font-weight: 600;
  background: var(--color-cta);
  color: #fff;
  border: none;
  border-radius: 8px;
  align-self: flex-start;
  transition: background var(--duration) var(--ease), transform 0.15s var(--ease);
}
.btn--hero:hover {
  background: var(--color-cta-dark);
  color: #fff;
  transform: translateY(-1px);
}

@media (min-width: 768px) {
  .hero {
    padding: var(--space-3xl) 0;
  }
  
  .hero__content {
    padding-left: var(--space-md);
    padding-right: var(--space-xl);
  }
  
  .hero__lead {
    max-width: 720px;
  }
}

@media (min-width: 1200px) {
  .hero__content {
    padding-left: calc((100vw - 1200px) / 2 + var(--space-md));
    padding-right: calc((100vw - 1200px) / 2 + var(--space-md));
  }
}

@media (max-width: 767px) {
  .hero__content {
    text-align: center;
  }
  .btn--hero {
    align-self: center;
  }
  .hero__lead {
    font-size: 1rem;
  }
}

/* ========== Seções genéricas ========== */
.section {
  padding: var(--space-2xl) 0;
}

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

.section--cta {
  padding: var(--space-3xl) 0;
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
}

.section__title {
  margin: 0 0 var(--space-sm);
  font-family: var(--font-headline);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.02em;
  background: linear-gradient(to right, #26819E, #428EA4, #5EA3AD, #62C2BB, #43D5BF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}

.section__subtitle {
  margin: 0 0 var(--space-xs);
  font-family: var(--font-support);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-primary);
}

.section__lead {
  margin: 0 0 var(--space-md);
  font-family: var(--font-support);
  font-size: 1rem;
  color: var(--color-text-muted);
}

.section__text {
  margin: 0 0 var(--space-lg);
  font-family: var(--font-support);
  color: var(--color-text-muted);
}

.section__tagline {
  margin: 0 0 var(--space-lg);
  font-family: var(--font-headline);
  font-weight: 600;
  color: var(--color-text);
}

.section .btn {
  margin-top: var(--space-sm);
}

/* Segunda seção – centralizado, lead e títulos dos cards em preto */
.section--teal .container {
  text-align: center;
  max-width: 1100px;
}

/* Seções 2, 3 e 7 – fundo branco */
#centro-medico,
#lugar-ideal,
#como-funciona {
  background: #fff;
}

/* Padronização de espaçamento – seção 2 (Centro médico) */
#centro-medico .section__title {
  margin-bottom: var(--space-md);
}
#centro-medico .section__lead {
  font-family: var(--font-headline);
  font-size: 15px;
  font-weight: 300;
  line-height: 20px;
  color: var(--color-text);
  margin-bottom: var(--space-lg);
}
#centro-medico .options-grid {
  margin-bottom: var(--space-lg);
}
#centro-medico .btn {
  margin-top: 0;
}

#lugar-ideal .section__subtitle,
#lugar-ideal .section__lead,
#lugar-ideal .section__tagline {
  font-family: var(--font-headline);
  font-size: 15px;
  font-weight: 300;
  line-height: 20px;
  color: var(--color-text);
}
/* Padronização de espaçamento – seção 3 (Lugar ideal) */
#lugar-ideal .section__title {
  margin-bottom: var(--space-md);
}
#lugar-ideal .section__subtitle {
  margin-bottom: var(--space-lg);
}
#lugar-ideal .section__lead {
  margin-bottom: var(--space-lg);
}
#lugar-ideal .section__tagline {
  margin-bottom: var(--space-lg);
}
#lugar-ideal .feature-list {
  margin-bottom: var(--space-lg);
}
#lugar-ideal .btn {
  margin-top: 0;
}

.section--teal .section__subtitle {
  color: #00889a;
  margin-left: auto;
  margin-right: auto;
}

.section--teal .section__lead {
  color: var(--color-text);
  margin-left: auto;
  margin-right: auto;
  max-width: 640px;
}

.section--teal .options-grid {
  margin-left: auto;
  margin-right: auto;
}

.section--teal .section__tagline {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

#lugar-ideal .section__subtitle,
#lugar-ideal .section__tagline {
  font-weight: 400;
  margin-left: auto;
  margin-right: auto;
  max-width: 640px;
}

/* Seção 7 – Como funciona: mesmo padrão de textos da seção 3 */
#como-funciona .section__subtitle,
#como-funciona .section__tagline {
  font-family: var(--font-headline);
  font-size: 15px;
  font-weight: 300;
  line-height: 20px;
  color: var(--color-text);
  margin-left: auto;
  margin-right: auto;
  max-width: 640px;
}

#como-funciona .section__tagline {
  text-align: center;
}
/* Padronização de espaçamento – seção 7 (Como funciona) */
#como-funciona .section__title {
  margin-bottom: var(--space-md);
}
#como-funciona .section__subtitle {
  margin-bottom: var(--space-lg);
}
#como-funciona .section__tagline {
  margin-bottom: var(--space-lg);
}
#como-funciona .btn {
  margin-top: 0;
}

#como-funciona .steps {
  margin-left: auto;
  margin-right: auto;
  max-width: 560px;
}

#como-funciona .steps li::before {
  background: #00889a;
}

/* Passo a passo em fluxo com setas – desktop horizontal, mobile vertical */
#como-funciona .steps--flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-width: 100%;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-lg);
}

#como-funciona .steps--flow li {
  position: relative;
  width: 100%;
  max-width: 300px;
  padding: calc(2.5rem + var(--space-md)) var(--space-lg) var(--space-lg);
  padding-top: calc(2.5rem + var(--space-md) + var(--space-sm));
  margin-bottom: 3rem;
  background: #fff;
  border: 2px solid transparent;
  border-radius: 14px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.12);
  font-family: var(--font-headline);
  font-size: 1.3125rem;
  font-weight: 400;
  line-height: 1.35;
  color: var(--color-text);
  text-align: center;
  counter-increment: step;
  transition: box-shadow var(--duration) var(--ease), transform var(--duration) var(--ease), background var(--duration) var(--ease), background-origin var(--duration) var(--ease);
}

#como-funciona .steps--flow li:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
  transform: translateY(-2px);
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(to right, #26819E, #428EA4, #5EA3AD, #62C2BB, #43D5BF) border-box;
  background-origin: border-box;
}

#como-funciona .steps--flow li strong {
  display: block;
  margin-bottom: 0.25em;
  font-weight: 600;
  color: var(--color-text);
}

#como-funciona .steps--flow li::before {
  left: 50%;
  top: var(--space-md);
  transform: translateX(-50%);
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  background: #00889a;
}

#como-funciona .steps--flow li::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1.5rem;
  transform: translateX(-50%);
  width: 1.5rem;
  height: 1.5rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300889a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M19 12l-7 7-7-7'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}

#como-funciona .steps--flow li:last-child::after {
  display: none;
}

#como-funciona .steps--flow li:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  #como-funciona .steps--flow {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
    gap: var(--space-lg);
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
  }

  #como-funciona .steps--flow li {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
    margin-bottom: 0;
    padding: calc(2.5rem + var(--space-md) + var(--space-sm)) var(--space-md) var(--space-lg);
  }

  #como-funciona .steps--flow li::after {
    left: auto;
    right: -1rem;
    bottom: 50%;
    top: auto;
    transform: translate(50%, 50%);
    width: 1.75rem;
    height: 1.75rem;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300889a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
  }
}

.section--teal .btn {
  margin-left: auto;
  margin-right: auto;
}

/* Seção 4 – background com imagem, overlay #00889a, parallax, parte de baixo priorizada */
.section--bg-parallax {
  position: relative;
  overflow: hidden;
  background: transparent;
}

/* Camada de fundo em elemento real (sem transform) para background-attachment: fixed funcionar */
.section--bg-parallax .section__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("/static/medcenter4.jpg") no-repeat center bottom;
  background-size: cover;
  background-attachment: fixed;
  background-color: #00889a;
}

@media (max-width: 1023px) {
  .section--bg-parallax .section__bg {
    background-attachment: scroll;
  }
}

.section--bg-parallax::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 136, 154, 0.82);
}

.section--bg-parallax .container {
  position: relative;
  z-index: 2;
}

.section--bg-parallax .section__title {
  background: linear-gradient(to right, #26819E, #428EA4, #5EA3AD, #62C2BB, #43D5BF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}

#por-que-medcenter .section__title {
  margin-bottom: var(--space-md);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}
/* Padronização de espaçamento – seção 4 (Por que atender) */
#por-que-medcenter .section__subtitle {
  margin-bottom: var(--space-lg);
  font-family: var(--font-headline);
}
#por-que-medcenter .section__lead {
  margin-bottom: var(--space-lg);
  font-family: var(--font-headline);
}
#por-que-medcenter .options-grid {
  margin-bottom: var(--space-lg);
}
#por-que-medcenter .btn {
  margin-top: 0;
}

#para-quem .section__title {
  margin-bottom: var(--space-md);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

#para-quem .section__subtitle {
  margin-bottom: var(--space-lg);
  font-family: var(--font-headline);
}

#para-quem .section__lead {
  margin-bottom: var(--space-sm);
  font-family: var(--font-headline);
}

#para-quem .section__lead:last-of-type {
  margin-bottom: var(--space-lg);
}

#para-quem .btn {
  margin-top: 0;
}

.section--bg-parallax .section__subtitle,
.section--bg-parallax .section__lead {
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.section--bg-parallax .section__subtitle {
  opacity: 0.95;
}

.options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin: 0 0 var(--space-xl);
}

.option-card {
  padding: calc(var(--space-xl) + 0.25rem) var(--space-xl);
  min-height: 190px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  text-align: center;
  transition: box-shadow var(--duration) var(--ease), transform var(--duration) var(--ease);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.option-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

/* Seção 2 – cards com sombreamento mais visível e borda em gradiente no hover */
#centro-medico .option-card {
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.12);
  border: 2px solid transparent;
  transition: box-shadow var(--duration) var(--ease), transform var(--duration) var(--ease), background var(--duration) var(--ease), background-origin var(--duration) var(--ease);
}

#centro-medico .option-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
  transform: translateY(-2px);
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(to right, #26819E, #428EA4, #5EA3AD, #62C2BB, #43D5BF) border-box;
  background-origin: border-box;
}

/* Seção 3 – mesmo efeito: sombreamento mais visível e borda em gradiente no hover */
#lugar-ideal .feature-list li {
  font-family: var(--font-headline);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.12);
  border: 2px solid transparent;
  transition: box-shadow var(--duration) var(--ease), transform var(--duration) var(--ease), background var(--duration) var(--ease), background-origin var(--duration) var(--ease);
}

#lugar-ideal .feature-list li:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
  transform: translateY(-2px);
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(to right, #26819E, #428EA4, #5EA3AD, #62C2BB, #43D5BF) border-box;
  background-origin: border-box;
}

.option-card__icon {
  width: 84px;
  height: 84px;
  margin: 0 auto var(--space-md);
  background: transparent;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.option-card__icon img {
  width: 84px;
  height: 84px;
  object-fit: contain;
  display: block;
}

/* Ícones com gradiente (mask) – mesma paleta em todos */
.option-card__icon--gradient .option-card__icon-gradient {
  display: block;
  width: 84px;
  height: 84px;
  background: linear-gradient(to right, #26819E, #428EA4, #5EA3AD, #62C2BB, #43D5BF);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.option-card__icon--medicine .option-card__icon-gradient {
  -webkit-mask-image: url("/static/medicine.png");
  mask-image: url("/static/medicine.png");
}

.option-card__icon--briefcase .option-card__icon-gradient {
  -webkit-mask-image: url("/static/briefcase.png");
  mask-image: url("/static/briefcase.png");
}

.option-card__icon--strategy-map .option-card__icon-gradient {
  -webkit-mask-image: url("/static/strategy-map.png");
  mask-image: url("/static/strategy-map.png");
}

.option-card__icon--skills .option-card__icon-gradient {
  -webkit-mask-image: url("/static/skills.png");
  mask-image: url("/static/skills.png");
}

.option-card__icon--diagnosis .option-card__icon-gradient {
  -webkit-mask-image: url("/static/diagnosis.png");
  mask-image: url("/static/diagnosis.png");
}

.option-card__title {
  margin: 0;
  font-family: var(--font-headline);
  font-size: 1.3125rem;
  font-weight: 400;
  line-height: 1.35;
  color: var(--color-text);
}

@media (min-width: 640px) {
  .options-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .options-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Grid com última linha centralizada (ex.: 5 cards = 3 + 2) */
.options-grid--center-last-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg);
}

.options-grid--center-last-row .option-card {
  flex: 0 0 100%;
}

@media (min-width: 640px) {
  .options-grid--center-last-row .option-card {
    flex: 0 0 calc((100% - var(--space-lg)) / 2);
  }
}

@media (min-width: 980px) {
  .options-grid--center-last-row .option-card {
    flex: 0 0 calc((100% - 2 * var(--space-lg)) / 3);
  }
}

/* ========== Listas com check ========== */
.check-list {
  list-style: none;
  margin: 0 0 var(--space-lg);
  padding: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: var(--space-sm);
  font-family: var(--font-support);
  font-size: 1rem;
  color: var(--color-text);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 1.25rem;
  height: 1.25rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230d7377'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}

.check-list--large li {
  font-size: 1.0625rem;
  margin-bottom: var(--space-md);
}

/* Seção 6 – Para quem é: bullets no padrão da seção 3, espaçamentos padronizados */
#para-quem .check-list {
  list-style: none;
  margin: 0 auto var(--space-lg);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 560px;
}

#para-quem .check-list li {
  position: relative;
  padding: var(--space-md) var(--space-lg) var(--space-md) 3rem;
  margin-bottom: 0;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.12);
  font-family: var(--font-headline);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-text);
  transition: box-shadow var(--duration) var(--ease), transform var(--duration) var(--ease);
}

#para-quem .check-list li:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
  transform: translateY(-2px);
}

#para-quem .check-list li::before {
  content: "";
  position: absolute;
  left: var(--space-lg);
  top: 50%;
  transform: translateY(-50%);
  width: 1.5rem;
  height: 1.5rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300889a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 10-10'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}

/* ========== Lista de features (seção 3) – coluna única, estilo alinhado à seção 2 ========== */
.feature-list {
  list-style: none;
  margin: 0 auto var(--space-xl);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 560px;
}

.feature-list li {
  position: relative;
  padding: var(--space-md) var(--space-lg) var(--space-md) 3rem;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  font-family: var(--font-support);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-text);
  transition: box-shadow var(--duration) var(--ease);
}

.feature-list li:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: var(--space-lg);
  top: 50%;
  transform: translateY(-50%);
  width: 1.5rem;
  height: 1.5rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300889a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 10-10'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}

/* ========== Seção 5 – Onde fica (galeria em cima, mapa embaixo, centralizado) ========== */
.onde-fica__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
  margin: 0 auto var(--space-xl);
  max-width: 640px;
}

.onde-fica__gallery {
  width: 100%;
  min-width: 0;
}

.onde-fica__map {
  width: 100%;
  min-width: 0;
}

.map-embed {
  position: relative;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  background: var(--color-bg-alt);
}

.map-embed::before {
  content: "";
  display: block;
  padding-bottom: 75%;
}

.map-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery__title {
  margin: 0 0 var(--space-md);
  font-family: var(--font-headline);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text);
}

.section--teal .gallery__title {
  color: #00889a;
}

.section--teal .section__text {
  color: var(--color-text);
}

/* Seção 5 – Onde fica: fundo branco e textos no mesmo padrão das seções 2 e 3 */
#onde-fica {
  background: #fff;
}
/* Padronização de espaçamento – só os textos acima da galeria (galeria e mapa não alterados) */
#onde-fica .section__title {
  margin-bottom: var(--space-md);
}
#onde-fica .section__subtitle {
  margin-bottom: var(--space-lg);
}
#onde-fica .section__lead {
  margin-bottom: var(--space-lg);
}

#onde-fica .gallery__title {
  font-family: var(--font-headline);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.02em;
  background: linear-gradient(to right, #26819E, #428EA4, #5EA3AD, #62C2BB, #43D5BF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}

#onde-fica .section__subtitle,
#onde-fica .section__lead,
#onde-fica .section__text {
  font-family: var(--font-headline);
  font-size: 15px;
  font-weight: 300;
  line-height: 20px;
  color: var(--color-text);
}

.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.gallery__item {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: box-shadow var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.gallery__item:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

@media (min-width: 640px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 640px) {
  .onde-fica__content {
    max-width: 720px;
  }
}

@media (min-width: 900px) {
  .onde-fica__content {
    max-width: 800px;
  }

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

/* ========== Passos (Como funciona) ========== */
.steps {
  list-style: none;
  margin: 0 0 var(--space-lg);
  padding: 0;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding-left: 3rem;
  margin-bottom: var(--space-lg);
  font-family: var(--font-support);
  font-size: 1rem;
  color: var(--color-text);
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -0.1em;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  background: var(--color-primary);
  border-radius: 50%;
}

/* Ocultar visualmente mantendo acessibilidade (leitores de tela) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ========== Formulário (padronizado com a LP) ========== */
.form {
  max-width: 100%;
  margin: 0 0 var(--space-xl);
}

.form__group {
  margin-bottom: var(--space-lg);
}

/* Formulário enxuto: só placeholders visíveis nos campos */
.form--minimal .form__group {
  margin-bottom: var(--space-md);
}

.form__group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-family: Stem, var(--font-support);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
  color: var(--color-text);
}

.form__group input {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  font-family: var(--font-support);
  font-size: 1rem;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: var(--color-bg);
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.form__group input:focus {
  outline: none;
  border-color: #00889a;
  box-shadow: 0 0 0 3px rgba(0, 136, 154, 0.2);
}
.form__group input::placeholder {
  color: #999;
}

.required {
  color: #00889a;
}

.form .btn {
  width: 100%;
  margin-top: var(--space-md);
  border-radius: 10px;
  font-weight: 600;
}

.form-feedback {
  font-family: Stem, var(--font-support) !important;
  font-size: 15px !important;
  color: #00889a !important;
}

.section__note {
  margin: 0;
  font-family: var(--font-support);
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.link-whatsapp {
  font-weight: 600;
  color: #25d366;
}
.link-whatsapp:hover {
  color: #128c7e;
  text-decoration: underline;
}

/* ========== Modal ========== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration) var(--ease), visibility var(--duration) var(--ease);
}
.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

.modal__panel {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  padding: var(--space-xl);
  background: var(--color-bg);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  transform: scale(0.95);
  transition: transform var(--duration) var(--ease);
}
.modal.is-open .modal__panel {
  transform: scale(1);
}

.modal__close {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--color-text-muted);
  cursor: pointer;
  border-radius: 8px;
  transition: color var(--duration) var(--ease), background var(--duration) var(--ease);
}
.modal__close:hover {
  color: #00889a;
  background: var(--color-bg-alt);
}

.modal__title {
  margin: 0 0 var(--space-xs);
  font-family: var(--font-headline);
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.02em;
  background: linear-gradient(to right, #26819E, #428EA4, #5EA3AD, #62C2BB, #43D5BF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: none;
}
.modal__lead {
  margin: 0 0 var(--space-lg);
  font-family: Stem, var(--font-support);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--color-text);
}
.modal__note {
  margin: var(--space-md) 0 0;
  font-family: var(--font-support);
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* ========== Lightbox da galeria ========== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--duration) var(--ease), visibility var(--duration) var(--ease);
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.lightbox__close {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  z-index: 3;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 8px;
  transition: background var(--duration) var(--ease);
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.35);
}

.lightbox__img {
  position: relative;
  z-index: 2;
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  cursor: pointer;
}

/* ========== Footer ========== */
.footer {
  padding: var(--space-xl) 0;
  background: #00889a;
  color: #fff;
  font-family: var(--font-headline);
  text-align: center;
}

.footer__inner {
  max-width: var(--container-wide);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.footer__logo {
  display: block;
  height: 48px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.footer__legal {
  margin: 0;
  font-family: var(--font-headline);
  font-size: 0.8125rem;
  color: #fff;
  opacity: 0.95;
  max-width: 360px;
}

.footer__dev {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}
.footer__dev-label {
  font-family: var(--font-headline);
  font-size: 0.8125rem;
  color: #fff;
  opacity: 0.95;
}
.footer__dev-logo {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
  transition: opacity var(--duration) var(--ease);
}
.footer__dev-logo:hover {
  opacity: 0.9;
}
.footer__kaizen-logo {
  display: block;
  height: 36px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

/* ========== Acessibilidade ========== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Foco visível para teclado */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
