/* =========================================================
   HOME HERO
========================================================= */

.home-hero-bg {
  min-height: calc(100vh - 74px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: clamp(56px, 8vw, 110px);
  padding-top: clamp(120px, 12vw, 180px);
  padding-bottom: clamp(48px, 5vw, 80px);
  background-image: url("../img/hero.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
}

.home-hero__content {
  width: min(100%, var(--oco-container));
}

.home-hero__content h1,
.home-hero__content .seo-text {
  max-width: 52rem;
}

.home-hero__content .seo-text {
  margin-top: 18px;
}

.home-hero__content .btn {
  margin-top: 28px;
}

.home-hero__content .btn + .btn {
  margin-left: 12px;
}

/* Cards da hero */
.home-hero__services {
  width: min(100%, var(--oco-container));
}

.home-hero__services-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(48px, 6vw, 120px);
}

/* Remove visual global de card apenas na hero */
.home-hero__service-card {
  flex: 0 1 31%;
  max-width: 360px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.home-hero__service-card::before {
  display: none;
}

.home-hero__service-card a {
  display: block;
  color: inherit;
}

.home-hero__service-card h2 {
  max-width: 320px;
  margin: 0;
  font-size: clamp(14px, 2.1vw, 25px);
  line-height: 1.05;
}

.home-hero__service-card p {
  max-width: 340px;
  margin-top: 6px;
  color: var(--oco-muted);
  font-size: clamp(12px, 1vw, 14px);
  line-height: 1.45;
  letter-spacing: 0.04em;
}

@media (max-width: 1024px) {
  .home-hero__content h1,
  .home-hero__content .seo-text {
    max-width: 70vw;
  }

  .home-hero__services-grid {
    gap: 32px;
  }
}

@media (max-width: 767px) {
  .home-hero-bg {
    min-height: auto;
    gap: 48px;
    padding-top: 96px;
    padding-bottom: 48px;
  }

  .home-hero__content h1,
  .home-hero__content .seo-text {
    max-width: 100%;
  }

  .home-hero__content .btn {
    width: 100%;
  }

  .home-hero__content .btn + .btn {
    margin-left: 0;
    margin-top: 12px;
  }

  .home-hero__services-grid {
    flex-direction: column;
    gap: 28px;
  }

  .home-hero__service-card {
    width: 100%;
  }

  .home-hero__service-card h2,
  .home-hero__service-card p {
    max-width: 100%;
  }
}

/* =========================================================
   HOME DIAGNÓSTICO
========================================================= */

#diagnostico {
  position: relative;
  min-height: 22rem;
  display: flex;
  align-items: center;
  padding-top: clamp(4rem, 6vw, 6rem);
  padding-bottom: clamp(4rem, 6vw, 6rem);
  overflow: hidden;
}

#diagnostico .container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 4rem;
}

#diagnostico .section-header {
  margin-bottom: 0;
}

#diagnostico h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.2vw, 2.25rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

#diagnostico .section-header p {
  max-width: 31rem;
  margin-top: 0.9rem;
  font-size: clamp(0.75rem, 0.72vw, 0.875rem);
  line-height: 1.45;
  letter-spacing: 0.035em;
  color: var(--oco-text);
}

#diagnostico .section-header p + p {
  margin-top: 0.75rem;
}

#diagnostico .btn {
  margin-top: 1.1rem;
}

.diagnostico-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 1.1rem;
  color: var(--oco-accent);
  font-family: var(--oco-font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.diagnostico-link:hover {
  color: var(--oco-accent-dark);
}

/* =========================================================
   OLHO (eye cursor — exclusivo da Home)
========================================================= */

#diagnostico .oco-eye-wrap {
  width: clamp(22rem, 38vw, 38rem);
  max-width: 100%;
  justify-self: end;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
}

#diagnostico .oco-eye {
  width: 100%;
  height: auto;
  overflow: visible;
}

#diagnostico .oco-eye-grid line {
  stroke: rgba(255, 186, 10, 0.08);
  stroke-width: 0.5;
}

#diagnostico .oco-eye-outline {
  fill: none;
  stroke: var(--oco-accent);
  stroke-width: 0.9;
  vector-effect: non-scaling-stroke;
}

#diagnostico .oco-iris {
  fill: none;
  stroke: var(--oco-accent);
  stroke-width: 1.6;
  vector-effect: non-scaling-stroke;
}

#diagnostico .oco-pupil {
  fill: var(--oco-accent);
}

@media (max-width: 900px) {
  #diagnostico .container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  #diagnostico .section-header {
    max-width: 100%;
  }

  #diagnostico h2,
  #diagnostico .section-header p {
    max-width: 100%;
  }

  #diagnostico .oco-eye-wrap {
    justify-self: start;
    width: min(100%, 24rem);
  }
}

/* =========================================================
   HOME CASES
========================================================= */

#cases {
  position: relative;
  overflow: hidden;
}

#cases .section-header {
  max-width: 46rem;
}

#cases .section-header p {
  max-width: 36rem;
  margin-top: 0.75rem;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 2.8vw, 2.5rem);
}

.case-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(1rem, 1.5vw, 1.35rem);
  border: 1px solid rgba(255, 186, 10, 0.04);
  border-radius: 0;
  background: rgba(21, 16, 13, 0.82);
}

.case-card::before {
  display: none;
}

.case-card__eyebrow {
  margin-bottom: 0.75rem;
  color: var(--oco-accent);
  font-family: var(--oco-font-heading);
  font-size: 0.6875rem;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.05em;
}

.case-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8.2;
  margin-bottom: 1rem;
  overflow: hidden;
  background: rgba(246, 241, 234, 0.08);
  border-radius: 5px;
}

.case-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-card h3 {
  max-width: 18rem;
  margin: 0;
  font-size: clamp(1.25rem, 1.45vw, 1.75rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.case-card h3 + p {
  max-width: 20rem;
  margin-top: 0.75rem;
  color: var(--oco-text);
  font-size: clamp(0.8125rem, 0.8vw, 0.9375rem);
  line-height: 1.35;
  letter-spacing: 0.035em;
}

.case-card .tag-list {
  gap: 0.45rem;
  margin-top: 1rem;
}

.case-card .tag-list li {
  padding: 0.35rem 0.5rem;
  border-radius: 0;
  border-color: rgba(255, 186, 10, 0.08);
  font-size: 0.625rem;
  letter-spacing: 0.03em;
}

@media (max-width: 1024px) {
  .cases-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .cases-grid {
    grid-template-columns: 1fr;
  }

  .case-card {
    padding: 1rem;
  }

  .case-card h3,
  .case-card h3 + p {
    max-width: 100%;
  }
}

/* =========================================================
   HOME BENEFÍCIOS
========================================================= */

#beneficios {
  position: relative;
  overflow: hidden;
}

#beneficios .section-header {
  max-width: 62rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

#beneficios .section-header h2 {
  max-width: 58rem;
}

#beneficios .section-header p {
  max-width: 42rem;
  margin-top: 0.85rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(4rem, 10vw, 10rem);
  row-gap: clamp(2.25rem, 5vw, 4rem);
}

.benefit-item {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
  min-width: 0;
}

.benefit-item__icon {
  width: 3.75rem;
  height: 3.75rem;
  display: grid;
  place-items: center;
  border-radius: 0.75rem;
  background: rgba(255, 186, 10, 0.03);
  box-shadow:
    0 0 1.5rem rgba(255, 186, 10, 0.18),
    inset 0 0 0 1px rgba(255, 186, 10, 0.08);
  color: var(--oco-accent);
}

.benefit-item__icon svg {
  width: 2rem;
  height: 2rem;
  display: block;
}

.benefit-item__icon svg path,
.benefit-item__icon svg circle,
.benefit-item__icon svg rect,
.benefit-item__icon svg line,
.benefit-item__icon svg polyline,
.benefit-item__icon svg polygon {
  stroke: currentColor;
}

.benefit-item__content h3 {
  margin: 0;
  font-size: var(--font-size-h4);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.benefit-item__content p {
  max-width: 34rem;
  margin-top: 0.7rem;
  color: var(--oco-text);
  font-size: var(--font-size-p);
  line-height: 1.45;
  letter-spacing: 0.045em;
}

@media (max-width: 900px) {
  .benefits-grid {
    grid-template-columns: 1fr;
    row-gap: 2rem;
  }

  .benefit-item {
    grid-template-columns: 3.75rem minmax(0, 1fr);
    gap: 1rem;
  }

  .benefit-item__icon {
    width: 3.25rem;
    height: 3.25rem;
  }

  .benefit-item__icon svg {
    width: 1.75rem;
    height: 1.75rem;
  }
}

/* =========================================================
   HOME PLANOS
========================================================= */

#planos {
  position: relative;
  overflow: hidden;
}

#planos .section-header {
  max-width: 52rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

#planos .section-header p {
  max-width: 42rem;
  margin-top: 0.85rem;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.2vw, 2rem);
  align-items: stretch;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(1.5rem, 2vw, 2rem);
  border: 1px solid rgba(255, 186, 10, 0.06);
  border-radius: 0.375rem;
  background: rgba(21, 16, 13, 0.86);
  overflow: hidden;
}

.plan-card--featured {
  border-color: rgba(255, 186, 10, 0.72);
  box-shadow:
    0 0 0 1px rgba(255, 186, 10, 0.18),
    0 0 1.75rem rgba(255, 186, 10, 0.12),
    inset 0 0 1.5rem rgba(255, 186, 10, 0.035);
}

.plan-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 1.5rem;
  margin-bottom: 1.25rem;
}

.plan-card__step {
  margin: 0;
  color: var(--oco-text);
  font-family: var(--oco-font-heading);
  font-size: 0.625rem;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: lowercase;
}

.plan-card__step strong {
  color: var(--oco-accent);
  font-weight: 700;
}

.plan-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.35rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(255, 186, 10, 0.18);
  border-radius: 999px;
  color: var(--oco-accent);
  background: rgba(255, 186, 10, 0.035);
  box-shadow: 0 0 1rem rgba(255, 186, 10, 0.12);
  font-family: var(--oco-font-heading);
  font-size: 0.5625rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.plan-card h3 {
  margin: 0;
  font-size: var(--font-size-h4);
  line-height: 1.05;
}

.plan-card__description {
  max-width: 21rem;
  margin-top: 0.85rem;
  color: var(--oco-text);
  font-size: 0.875rem;
  line-height: 1.45;
  letter-spacing: 0.04em;
}

.plan-card__list {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0 2rem;
  padding: 0;
  list-style: none;
}

.plan-card__list li {
  position: relative;
  padding-left: 1rem;
  color: var(--oco-text);
  font-size: 0.8125rem;
  line-height: 1.35;
  letter-spacing: 0.035em;
}

.plan-card__list li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--oco-accent);
  font-size: 0.75rem;
  line-height: 1.35;
}

.plan-card__price {
  margin-top: auto;
  margin-bottom: 1.25rem;
}

.plan-card__price strong {
  display: block;
  color: var(--oco-text-strong);
  font-family: var(--oco-font-heading);
  font-size: clamp(1.25rem, 1.7vw, 2rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.plan-card--featured .plan-card__price strong {
  color: var(--oco-accent);
}

.plan-card__price span {
  display: block;
  max-width: 18rem;
  margin-top: 0.45rem;
  color: var(--oco-text);
  font-size: 0.6875rem;
  line-height: 1.25;
  letter-spacing: 0.04em;
}

.plan-card .btn {
  width: 100%;
  min-height: 2.25rem;
  padding: 0.7rem 1rem;
  font-size: 0.625rem;
}

@media (max-width: 1024px) {
  .plans-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plan-card--featured {
    order: -1;
  }
}

@media (max-width: 767px) {
  .plans-grid {
    grid-template-columns: 1fr;
  }

  .plan-card {
    padding: 1.25rem;
  }

  .plan-card__top {
    align-items: flex-start;
  }

  .plan-card__description {
    max-width: 100%;
  }
}

/* =========================================================
   HOME SOBRE
========================================================= */

.home-about {
  position: relative;
  min-height: 28rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #f7f4f0;
  color: #2a1b13;
}

.home-about__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../img/sobre-nos.webp");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.home-about::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(247, 244, 240, 0.96) 0%,
      rgba(247, 244, 240, 0.84) 38%,
      rgba(247, 244, 240, 0.22) 72%,
      rgba(247, 244, 240, 0.04) 100%
    );
}

.home-about .container {
  position: relative;
  z-index: 2;
}

.home-about__content {
  max-width: 58rem;
}

.home-about .section-header {
  max-width: 43rem;
  margin-bottom: clamp(3rem, 5vw, 5rem);
}

.home-about h2 {
  max-width: 41rem;
  color: #8a7f77;
  font-size: var(--font-size-h2);
  line-height: 1.08;
}

.home-about .section-header p {
  max-width: 39rem;
  margin-top: 0.85rem;
  color: rgba(42, 27, 19, 0.66);
  font-size: var(--font-size-p);
  line-height: 1.45;
  letter-spacing: 0.035em;
}

.home-about__cta {
  display: inline-flex;
  width: fit-content;
  margin-top: 1.25rem;
  color: #d89e04;
  font-family: var(--oco-font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.home-about__cta:hover {
  color: #2a1b13;
}

.home-about__items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  max-width: 46rem;
}

.home-about__item {
  display: grid;
  grid-template-columns: 1.5rem minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
}

.home-about__icon {
  width: 2rem;
  flex: 0 0 2rem;
}

.home-about__icon svg {
  width: 100%;
  height: auto;
  display: block;
}

.home-about__item h3 {
  margin: 0;
  color: #8a7f77;
  font-size: 0.8125rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.home-about__item p {
  margin-top: 0.35rem;
  color: rgba(42, 27, 19, 0.62);
  font-size: 0.6875rem;
  line-height: 1.35;
  letter-spacing: 0.035em;
}

@media (max-width: 900px) {
  .home-about {
    min-height: auto;
  }

  .home-about::before {
    background:
      linear-gradient(
        90deg,
        rgba(247, 244, 240, 0.98) 0%,
        rgba(247, 244, 240, 0.9) 58%,
        rgba(247, 244, 240, 0.48) 100%
      );
  }

  .home-about__content,
  .home-about .section-header {
    max-width: 100%;
  }

  .home-about__items {
    grid-template-columns: 1fr;
    max-width: 30rem;
    gap: 1.25rem;
  }
}

@media (max-width: 767px) {
  .home-about__bg {
    opacity: 0.35;
    background-position: center right;
  }

  .home-about__items {
    margin-top: 2rem;
  }

  .home-about__item {
    grid-template-columns: 1.75rem minmax(0, 1fr);
  }

  .home-about__icon {
    width: 1.5rem;
    height: 1.5rem;
  }
}

/* =========================================================
   HOME FAQ — contexto específico da Home
   (componente base .faq-* está em 04-components.css)
========================================================= */

#faq {
  position: relative;
  overflow: hidden;
}

#faq .section-header {
  max-width: 52rem;
  margin-bottom: 1.25rem;
}

#faq .section-header h2 {
  max-width: 46rem;
}

#faq .section-header p {
  max-width: 40rem;
  margin-top: 0.75rem;
}

.faq-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  margin-top: 2rem;
  margin-bottom: 2rem;
  color: var(--oco-accent);
  font-family: var(--oco-font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.faq-cta::before {
  display: grid;
  place-items: center;
  width: 1rem;
  height: 1rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.625rem;
  line-height: 1;
}

.faq-cta:hover {
  color: var(--oco-accent-dark);
}

/* =========================================================
   HOME CTA FINAL — contexto específico da Home
   (componente base .final-cta-card está em 04-components.css)
========================================================= */

#cta-final {
  position: relative;
  padding-bottom: clamp(4rem, 7vw, 7rem);
  overflow: hidden;
}
