/* Medvar home — tokens + layout espelhando Next/Tailwind (light only) */

:root {
  --background: oklch(0.99 0.002 240);
  --foreground: oklch(0.15 0.02 240);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.15 0.02 240);
  --primary: oklch(0.3 0.08 250);
  --primary-foreground: oklch(0.99 0 0);
  --secondary: oklch(0.96 0.01 240);
  --secondary-foreground: oklch(0.25 0.05 250);
  --muted: oklch(0.95 0.01 240);
  --muted-foreground: oklch(0.45 0.02 240);
  --accent: oklch(0.55 0.15 200);
  --accent-foreground: oklch(0.99 0 0);
  --destructive: oklch(0.577 0.245 27.325);
  --border: oklch(0.9 0.01 240);
  --ring: oklch(0.4 0.08 250);
  --radius: 0.5rem;
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  background: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-sans);
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

svg {
  display: block;
}

.btn svg,
.testimonial-card__star {
  max-width: none;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  color: inherit;
}

.min-h-screen {
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 1rem;
}

@media (min-width: 640px) {
  .container {
    padding-inline: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-inline: 2rem;
  }
}

.container--narrow {
  max-width: 56rem;
}

.container--faq {
  max-width: 48rem;
}

.section {
  padding-block: 4rem;
}

@media (min-width: 1024px) {
  .section {
    padding-block: 6rem;
  }
}

.section-header {
  text-align: center;
  max-width: 48rem;
  margin-inline: auto;
  margin-bottom: 3rem;
}

@media (min-width: 1024px) {
  .section-header {
    margin-bottom: 4rem;
  }
}

.section-title {
  font-family: var(--font-sans);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--foreground);
  margin-bottom: 1rem;
  text-wrap: balance;
}

@media (min-width: 640px) {
  .section-title {
    font-size: 36px;
    line-height: 2.5rem;
  }
}

.section-subtitle {
  font-size: 1.125rem;
  line-height: 1.625;
  color: var(--muted-foreground);
}

.text-balance {
  text-wrap: balance;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25;
  height: 2.25rem;
  padding: 0 1rem;
  border: 1px solid transparent;
  box-sizing: border-box;
  transition:
    background-color 150ms ease-out,
    color 150ms ease-out,
    border-color 150ms ease-out,
    box-shadow 150ms ease-out,
    transform 150ms ease-out,
    opacity 150ms ease-out;
  outline: none;
}

.btn:focus-visible {
  border-color: var(--ring);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--ring) 50%, transparent);
}

.btn--lg {
  height: 40px;
  min-height: 40px;
  max-height: 40px;
  padding: 0 24px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  border-radius: 6px;
  gap: 8px;
}

.btn--lg:has(> svg),
.btn--lg:has(.btn__icon) {
  padding: 0 16px;
}

.btn--lg .btn__icon,
.btn--lg > svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin: 0;
}

/* CTAs size=lg unificados (hero + solução) */
.btn-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: fit-content;
  max-width: 100%;
  height: 40px;
  min-height: 40px;
  max-height: 40px;
  padding: 0 16px;
  gap: 8px;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: normal;
  white-space: nowrap;
  border: none;
  border-width: 0;
  border-style: none;
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
  transition:
    background-color 150ms ease-out,
    color 150ms ease-out,
    border-color 150ms ease-out,
    box-shadow 150ms ease-out,
    transform 150ms ease-out,
    opacity 150ms ease-out;
  outline: none;
}

.btn-lg:focus-visible {
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--ring) 50%, transparent);
}

.btn-lg > svg,
.btn-lg .btn-arrow,
.btn-lg .icon-arrow {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px;
  min-height: 16px;
  max-width: 16px;
  max-height: 16px;
  flex-shrink: 0;
  display: block;
  margin: 0;
  margin-left: 8px;
  padding: 0;
  transform: none;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-lg--primary {
  background: var(--primary);
  color: var(--primary-foreground);
}

.btn-lg--primary:hover {
  background: color-mix(in oklch, var(--primary) 90%, transparent);
}

.btn-lg--secondary {
  background: var(--secondary);
  color: var(--secondary-foreground);
}

.btn-lg--secondary:hover {
  background: color-mix(in oklch, var(--secondary) 80%, transparent);
}

.btn-lg--outline {
  padding: 0 24px;
  background: var(--card);
  color: var(--foreground);
  border-width: 1px;
  border-style: solid;
  border-color: var(--border);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
}

.btn-lg--outline:hover {
  background: color-mix(in oklch, var(--accent) 10%, transparent);
}

.btn-lg--cta-outline {
  background: transparent;
  border-width: 1px;
  border-style: solid;
  border-color: color-mix(in oklch, var(--primary-foreground) 30%, transparent);
  color: var(--primary-foreground);
  box-shadow: none;
  padding: 0 24px;
}

.btn-lg--cta-outline:hover {
  background: color-mix(in oklch, var(--primary-foreground) 10%, transparent);
}

.btn-lg:active {
  transform: scale(0.96);
}

.btn--default {
  background: var(--primary);
  color: var(--primary-foreground);
}

.btn--default:hover {
  background: color-mix(in oklch, var(--primary) 90%, transparent);
}

.btn--outline {
  background: transparent;
  border-color: var(--border);
  color: var(--foreground);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.04);
}

.btn--outline:hover {
  background: color-mix(in oklch, var(--accent) 10%, transparent);
}

.btn--secondary {
  background: var(--secondary);
  color: var(--secondary-foreground);
}

.btn--secondary:hover {
  background: color-mix(in oklch, var(--secondary) 80%, transparent);
}

.btn--ghost {
  background: transparent;
  color: var(--foreground);
}

.btn--ghost:hover {
  background: color-mix(in oklch, var(--accent) 10%, transparent);
}

.btn--press:active:not(:disabled) {
  transform: scale(0.96);
}

.btn--full {
  width: 100%;
}

.btn__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn__icon--sm {
  width: 1rem;
  height: 1rem;
}

/* ——— Header ——— */
.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: color-mix(in oklch, var(--card) 95%, transparent);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

@media (min-width: 1024px) {
  .site-header__bar {
    height: 5rem;
  }
}

.site-header__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-header__logo img {
  width: 47px;
  height: 32px;
}

.site-header__brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
}

.site-header__nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

.site-header__actions {
  display: none;
  align-items: center;
  gap: 1rem;
}

.site-header__link {
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 150ms ease-out;
}

.site-header__link:hover {
  color: var(--foreground);
}

.site-header__toggle {
  padding: 0.5rem;
  display: inline-flex;
}

.site-header__toggle svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--foreground);
}

.site-header__toggle-icon--close {
  display: none;
}

.site-header.is-open .site-header__toggle-icon--open {
  display: none;
}

.site-header.is-open .site-header__toggle-icon--close {
  display: block;
}

.site-header__mobile {
  display: none;
  border-top: 1px solid var(--border);
  padding-block: 1rem;
}

.site-header.is-open .site-header__mobile {
  display: block;
}

.site-header__mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.site-header__mobile-link {
  padding-block: 0.5rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 150ms ease-out;
}

.site-header__mobile-link:hover {
  color: var(--foreground);
}

.site-header__mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

@media (min-width: 1024px) {
  .site-header__nav,
  .site-header__actions {
    display: flex;
  }

  .site-header__toggle,
  .site-header__mobile,
  .site-header.is-open .site-header__mobile {
    display: none;
  }
}

/* ——— Hero ——— */
.hero {
  padding-top: 96px;
  padding-bottom: 64px;
  background: var(--background);
}

@media (min-width: 1024px) {
  .hero {
    padding-top: 128px;
    padding-bottom: 96px;
  }
}

.hero__grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: color-mix(in oklch, var(--accent) 10%, transparent);
  border-radius: 9999px;
  width: fit-content;
}

.hero__badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: var(--accent);
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.hero__badge-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent);
}

.hero__title {
  font-family: var(--font-sans);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--foreground);
  text-wrap: balance;
}

@media (min-width: 640px) {
  .hero__title {
    font-size: 48px;
  }
}

@media (min-width: 1024px) {
  .hero__title {
    font-size: 60px;
  }
}

.hero__title-accent {
  color: var(--primary);
}

.hero__subtitle {
  font-size: 18px;
  line-height: 1.625;
  color: var(--muted-foreground);
  max-width: 36rem;
}

@media (min-width: 1024px) {
  .hero__subtitle {
    font-size: 20px;
  }
}

.hero__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero__list-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero__list-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--accent);
  flex-shrink: 0;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
  width: 100%;
}

.hero__actions .btn-lg {
  display: inline-flex;
  width: 100% !important;
  max-width: none;
  align-self: stretch;
  flex: 0 0 auto;
  justify-content: center;
  height: 40px;
  min-height: 40px;
  max-height: 40px;
  box-sizing: border-box;
}

.hero__actions .btn-lg--outline {
  /* mesma caixa do primary: borda dentro dos 40px */
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.05);
}

@media (min-width: 640px) {
  .hero__actions {
    flex-direction: row;
    align-items: center;
    width: auto;
  }

  .hero__actions .btn-lg {
    width: fit-content !important;
    max-width: 100%;
    align-self: auto;
  }
}

.hero__microcopy {
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: var(--muted-foreground);
}

.hero__list-item span {
  font-size: 1rem;
  line-height: 1.5;
}

.hero__media {
  position: relative;
  overflow: visible;
  z-index: 0;
}

.hero-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  z-index: 0;
}

.hero-video__el {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(0 0 0 / 0.2);
  transition: background-color 150ms ease-out;
}

.hero-video__overlay:hover {
  background: rgb(0 0 0 / 0.3);
}

.hero-video__overlay.is-hidden {
  display: none;
}

.hero-video__play {
  width: 5rem;
  height: 5rem;
  border-radius: 9999px;
  background: rgb(255 255 255 / 0.2);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 150ms ease-out;
}

.hero-video__overlay:hover .hero-video__play {
  transform: scale(1.1);
}

.hero-video__play-icon {
  width: 2rem;
  height: 2rem;
  color: #fff;
  fill: #fff;
  margin-left: 0.25rem;
}

.hero__stat {
  position: absolute;
  bottom: -24px;
  left: -24px;
  z-index: 2;
  width: max-content;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  box-shadow:
    0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.hero__stat-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero__stat-badge {
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  background: color-mix(in oklch, var(--accent) 20%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
  color: var(--accent);
}

.hero__stat-value {
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  color: var(--foreground);
}

.hero__stat-label {
  font-size: 14px;
  line-height: 20px;
  color: var(--muted-foreground);
}

/* ——— Problem ——— */
.problem {
  background: var(--secondary);
}

.problem__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .problem__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.problem-card {
  background: var(--card);
  border-radius: 0.75rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  transition: border-color 150ms ease-out;
}

@media (min-width: 1024px) {
  .problem-card {
    padding: 2rem;
  }
}

.problem-card:hover {
  border-color: color-mix(in oklch, var(--primary) 30%, transparent);
}

.problem-card__icon-wrap {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  background: color-mix(in oklch, var(--destructive) 10%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.problem-card__icon {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--destructive);
}

.problem-card__title {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

.problem-card__text {
  font-size: 1rem;
  color: var(--muted-foreground);
  line-height: 1.625;
}

/* ——— Solution ——— */
.solution {
  background: var(--primary);
  color: var(--primary-foreground);
}

.solution__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .solution__grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.solution__content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.solution__title {
  font-family: var(--font-sans);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.25;
  text-wrap: balance;
}

@media (min-width: 640px) {
  .solution__title {
    font-size: 36px;
    line-height: 2.5rem;
  }
}

.solution__lead {
  font-size: 1.125rem;
  opacity: 0.9;
  line-height: 1.625;
}

.solution__features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.solution__feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.solution__feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background: color-mix(in oklch, var(--primary-foreground) 20%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.solution__feature-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.solution__feature-title {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.25rem;
}

.solution__feature-text {
  font-size: 1rem;
  line-height: 1.625;
  opacity: 0.8;
}

.solution__content > .btn-lg {
  align-self: flex-start;
  width: fit-content;
  flex: 0 0 auto;
}

.solution__image {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

/* ——— Benefits ——— */
.benefits {
  background: var(--background);
}

.benefits__grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .benefits__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .benefits__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.benefit-card {
  background: var(--card);
  border-radius: 0.75rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  transition:
    border-color 150ms ease-out,
    box-shadow 150ms ease-out;
}

@media (min-width: 1024px) {
  .benefit-card {
    padding: 2rem;
  }
}

.benefit-card:hover {
  border-color: color-mix(in oklch, var(--primary) 30%, transparent);
  box-shadow:
    0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.benefit-card__icon-wrap {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  background: color-mix(in oklch, var(--primary) 10%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background-color 150ms ease-out;
}

.benefit-card:hover .benefit-card__icon-wrap {
  background: color-mix(in oklch, var(--primary) 20%, transparent);
}

.benefit-card__icon {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--primary);
}

.benefit-card__title {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

.benefit-card__text {
  font-size: 1rem;
  color: var(--muted-foreground);
  line-height: 1.625;
}

/* ——— How it works ——— */
.how {
  background: var(--secondary);
}

.how__grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .how__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .how__grid {
    gap: 3rem;
  }
}

.how-card {
  background: var(--card);
  border-radius: 0.75rem;
  padding: 2rem;
  border: 1px solid var(--border);
  transition:
    border-color 150ms ease-out,
    box-shadow 150ms ease-out;
}

.how-card:hover {
  border-color: color-mix(in oklch, var(--primary) 30%, transparent);
  box-shadow:
    0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.how-card__icon-wrap {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  background: color-mix(in oklch, var(--primary) 10%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.how-card__icon {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--primary);
}

.how-card__title {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.33;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.how-card__text {
  font-size: 1rem;
  color: var(--muted-foreground);
  line-height: 1.625;
  margin-bottom: 1.5rem;
}

.how-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0;
  height: auto;
}

.how-card__link:hover {
  background: transparent;
}

.how__cta {
  text-align: center;
  margin-top: 3rem;
}

.how__cta .btn-lg {
  width: fit-content;
  margin-inline: auto;
  flex: 0 0 auto;
}

/* ——— Testimonials ——— */
.testimonials {
  background: var(--background);
}

.testimonials__grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .testimonials__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonials__grid {
    gap: 2rem;
  }
}

.testimonial-card {
  position: relative;
  background: var(--card);
  border-radius: 0.75rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
}

@media (min-width: 1024px) {
  .testimonial-card {
    padding: 2rem;
  }
}

.testimonial-card__quote-icon {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  color: color-mix(in oklch, var(--primary) 20%, transparent);
}

.testimonial-card__stars {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 16px;
}

.testimonial-card__star {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent);
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.testimonial-card__text {
  font-size: 1rem;
  color: var(--foreground);
  line-height: 1.625;
  margin-bottom: 1.5rem;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-card__avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  object-fit: cover;
}

.testimonial-card__name {
  font-weight: 600;
  color: var(--foreground);
}

.testimonial-card__meta {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ——— Expert ——— */
.expert {
  background: var(--secondary);
}

.expert__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .expert__grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.expert__photo-col {
  order: 2;
  line-height: 0;
}

.expert__text-col {
  order: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .expert__photo-col {
    order: 1;
  }

  .expert__text-col {
    order: 2;
  }
}

.expert__photo {
  display: block;
  width: 100%;
  max-width: 28rem;
  height: auto;
  margin-inline: auto;
  border-radius: var(--radius);
  box-shadow:
    0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.expert__title {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--foreground);
  text-wrap: balance;
}

@media (min-width: 640px) {
  .expert__title {
    font-size: 2.25rem;
  }
}

.expert__bio {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.625;
}

.expert__credentials {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.expert__credential {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.expert__credential-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: color-mix(in oklch, var(--primary) 10%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.expert__credential-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

.expert__quote {
  border-left: 4px solid var(--primary);
  padding-left: 1.5rem;
  padding-block: 0.5rem;
  margin-top: 2rem;
  margin-inline: 0;
  margin-bottom: 0;
}

.expert__quote-text {
  font-size: 1.125rem;
  font-style: italic;
  line-height: 1.625;
  color: var(--foreground);
}

.expert__quote-footer {
  margin-top: 0.5rem;
  color: var(--muted-foreground);
}

/* ——— Guarantee ——— */
.guarantee {
  background: var(--background);
}

.guarantee__card {
  background: var(--card);
  border: 2px solid color-mix(in oklch, var(--primary) 20%, transparent);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

@media (min-width: 1024px) {
  .guarantee__card {
    padding: 3rem;
  }
}

.guarantee__icon-wrap {
  width: 5rem;
  height: 5rem;
  border-radius: 9999px;
  background: color-mix(in oklch, var(--primary) 10%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.guarantee__icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--primary);
}

.guarantee__title {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--foreground);
  margin-bottom: 1rem;
  text-wrap: balance;
}

@media (min-width: 640px) {
  .guarantee__title {
    font-size: 2.25rem;
  }
}

.guarantee__text {
  font-size: 18px;
  line-height: 1.625;
  font-weight: 400;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin-inline: auto;
  margin-bottom: 24px;
  text-align: center;
}

.guarantee__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.guarantee__chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.guarantee__chip-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: var(--accent);
}

/* ——— FAQ ——— */
.faq {
  background: var(--secondary);
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding-inline: 1.5rem;
  transition: border-color 150ms ease-out;
}

.faq-item.is-open {
  border-color: color-mix(in oklch, var(--primary) 30%, transparent);
}

.faq-item__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.25rem;
  text-align: left;
  font-weight: 600;
  color: var(--foreground);
}

.faq-item__chevron {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  transition: transform 200ms ease-out;
}

.faq-item.is-open .faq-item__chevron {
  transform: rotate(180deg);
}

.faq-item__panel {
  display: none;
  font-size: 1rem;
  color: var(--muted-foreground);
  line-height: 1.625;
  padding-bottom: 1.25rem;
}

.faq-item.is-open .faq-item__panel {
  display: block;
}

/* ——— CTA ——— */
.cta {
  background: var(--primary);
  text-align: center;
}

.cta__title {
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--primary-foreground);
  margin: 0 0 24px;
  text-wrap: balance;
  font-size: 30px;
  line-height: 1.2;
}

@media (min-width: 640px) {
  .cta__title {
    font-size: 36px;
    line-height: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .cta__title {
    font-size: 48px;
    line-height: 1;
  }
}

.cta__lead {
  font-size: 18px;
  line-height: 1.625;
  color: color-mix(in oklch, var(--primary-foreground) 90%, transparent);
  margin: 0 auto 2rem;
  max-width: 42rem;
}

@media (min-width: 1024px) {
  .cta__lead {
    font-size: 20px;
  }
}

.cta__checks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 1024px) {
  .cta__checks {
    gap: 1.5rem;
  }
}

.cta__check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: color-mix(in oklch, var(--primary-foreground) 90%, transparent);
}

.cta__check svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.cta__actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
  width: 100%;
  margin-inline: 0;
}

.cta__actions .btn-lg {
  display: inline-flex;
  width: 100% !important;
  max-width: none;
  align-self: stretch;
  flex: 0 0 auto;
  justify-content: center;
  height: 40px;
  min-height: 40px;
  max-height: 40px;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .cta__actions {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: auto;
    margin-inline: auto;
  }

  .cta__actions .btn-lg {
    width: fit-content !important;
    align-self: auto;
  }
}

.btn--cta-outline {
  background: transparent;
  border-color: color-mix(in oklch, var(--primary-foreground) 30%, transparent);
  color: var(--primary-foreground);
  box-shadow: none;
}

.btn--cta-outline:hover {
  background: color-mix(in oklch, var(--primary-foreground) 10%, transparent);
}

/* ——— Footer ——— */
.site-footer {
  background: var(--foreground);
  color: var(--background);
  padding-block: 3rem;
}

@media (min-width: 1024px) {
  .site-footer {
    padding-block: 4rem;
  }
}

.site-footer__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .site-footer__grid {
    gap: 3rem;
  }
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .site-footer__brand {
    grid-column: span 2;
  }
}

.site-footer__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.site-footer__logo img {
  width: 71px;
  height: 48px;
}

.site-footer__logo-text {
  font-size: 1.25rem;
  font-weight: 700;
}

.site-footer__desc {
  max-width: 24rem;
  line-height: 1.625;
  color: color-mix(in oklch, var(--background) 70%, transparent);
}

.site-footer__heading {
  font-weight: 600;
  margin-bottom: 1rem;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.site-footer__link {
  color: color-mix(in oklch, var(--background) 70%, transparent);
  transition: color 150ms ease-out;
}

.site-footer__link:hover {
  color: var(--background);
}

.site-footer__bottom {
  margin-top: 3rem;
  border-top: 1px solid color-mix(in oklch, var(--background) 10%, transparent);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: color-mix(in oklch, var(--background) 60%, transparent);
}

/* Espaço sob o vídeo para o card absoluto no mobile (sem alterar o offset do card) */
@media (max-width: 639px) {
  .hero__media {
    margin-bottom: 24px;
  }
}
