/* ======================================
   Patch de encaixe para cards e sections
   Carregar DEPOIS do hudson_nova_landing.css
====================================== */

:root {
  --container: 1220px;
}

html {
  scroll-padding-top: 92px;
}

body {
  background:
    radial-gradient(circle at top left, rgba(126, 224, 255, 0.08), transparent 24%),
    linear-gradient(180deg, #f8fbfe 0%, #f3f7fb 100%);
}

.container-custom {
  width: min(var(--container), calc(100% - 40px));
}

.section-space {
  padding: clamp(68px, 8vw, 110px) 0;
}

.section-space.pt-0 {
  padding-top: 0;
}

.section-head {
  max-width: 820px;
  margin: 0 auto 46px;
  text-align: center;
}

.section-head .eyebrow {
  justify-content: center;
}

.hero-grid,
.about-wrap,
.contact-wrap,
.grid-2,
.grid-3,
.timeline-grid,
.testimonial-grid,
.faq-grid,
.service-strip,
.kpi-grid,
.form-grid,
.hero-points {
  align-items: stretch;
}

.grid-2,
.grid-3,
.timeline-grid,
.testimonial-grid,
.faq-grid,
.service-strip,
.kpi-grid {
  gap: clamp(18px, 2vw, 28px);
}

.card-clean,
.card-soft,
.card-contact,
.card-formation,
.card-faq,
.card-testimonial,
.service-chip,
.kpi,
.hero-point,
.contact-cta,
.form-shell,
.timeline-card {
  height: 100%;
}

.card-clean,
.card-soft,
.card-contact,
.card-formation,
.card-faq,
.card-testimonial,
.service-chip,
.timeline-card,
.contact-cta,
.form-shell {
  display: flex;
  flex-direction: column;
}

.card-clean,
.card-soft,
.card-contact,
.card-formation,
.card-faq,
.card-testimonial {
  padding: 30px;
  border-radius: 24px;
}

.card-clean h3,
.card-soft h3,
.card-contact h3,
.card-formation h3,
.card-faq h3,
.card-testimonial h3,
.timeline-card h3,
.service-chip h3 {
  margin-bottom: 12px;
}

.card-clean p:last-child,
.card-soft p:last-child,
.card-contact p:last-child,
.card-formation p:last-child,
.card-faq p:last-child,
.card-testimonial p:last-child,
.timeline-card p:last-child,
.service-chip p:last-child {
  margin-bottom: 0;
}

.list-clean {
  margin-top: auto;
  padding-top: 16px;
}

.hero {
  padding: clamp(72px, 9vw, 108px) 0 clamp(60px, 7vw, 84px);
}

.hero-grid {
  gap: clamp(28px, 4vw, 54px);
}

.hero-copy {
  max-width: 720px;
}

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

.hero-points {
  gap: 16px;
  margin-top: 6px;
}

.hero-point {
  padding: 20px;
  border-radius: 22px;
}

.hero-card {
  padding: 26px;
  border-radius: 34px;
  min-height: 100%;
}

.hero-doctor {
  min-height: 440px;
}

.hero-card-footer {
  margin-top: 20px;
}

.hero-card-footer h3,
.hero-card-footer p {
  margin-bottom: 0;
}

.floating-card {
  right: -10px;
  bottom: 24px;
}

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

.service-chip {
  justify-content: flex-start;
  text-align: left;
  padding: 24px 20px;
}

.service-chip i {
  margin-bottom: 16px;
}

.about-wrap {
  gap: clamp(24px, 4vw, 46px);
  align-items: stretch;
}

.about-visual,
.about-content {
  height: 100%;
}

.about-photo {
  min-height: 100%;
  height: 100%;
}

.about-content {
  gap: 24px;
}

.timeline-card {
  padding: 22px;
}

.timeline-image {
  margin-bottom: 20px;
}

.timeline-card .pill {
  margin-bottom: 14px;
}

.timeline-card p {
  margin-top: auto;
}

.testimonial-grid .card-testimonial {
  justify-content: space-between;
}

.testimonial-author {
  margin-top: auto;
  padding-top: 14px;
}

.faq-grid .card-faq {
  justify-content: flex-start;
}

.contact-wrap {
  gap: clamp(20px, 3vw, 30px);
}

.contact-cta,
.form-shell {
  border-radius: 26px;
  padding: 32px;
}

.contact-quick {
  margin-top: auto;
}

.contact-quick a,
.contact-quick div {
  min-height: 64px;
  border-radius: 20px;
}

.form-grid {
  gap: 18px;
}

.form-control-modern,
.form-select-modern {
  min-height: 56px;
  border-radius: 18px;
}

textarea.form-control-modern {
  min-height: 160px;
}

.footer {
  margin-top: 12px;
}

.footer-inner {
  gap: 20px 28px;
}

@media (max-width: 1199.98px) {
  .container-custom {
    width: min(var(--container), calc(100% - 34px));
  }

  .hero-grid,
  .about-wrap,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .about-visual,
  .about-content,
  .contact-cta,
  .form-shell {
    max-width: 860px;
    margin-inline: auto;
  }

  .hero-doctor {
    min-height: 520px;
  }

  .about-photo {
    min-height: 520px;
  }

  .service-strip,
  .timeline-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  html {
    scroll-padding-top: 82px;
  }

  .section-space {
    padding: 74px 0;
  }

  .hero-points,
  .grid-3,
  .timeline-grid,
  .testimonial-grid,
  .service-strip,
  .grid-2,
  .kpi-grid,
  .faq-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section-head {
    margin-bottom: 38px;
  }

  .card-clean,
  .card-soft,
  .card-contact,
  .card-formation,
  .card-faq,
  .card-testimonial,
  .service-chip,
  .contact-cta,
  .form-shell {
    padding: 26px;
  }

  .hero-doctor,
  .about-photo {
    min-height: 420px;
  }

  .floating-card {
    position: static;
    margin-top: 18px;
    max-width: none;
  }
}

@media (max-width: 767.98px) {
  .container-custom {
    width: min(var(--container), calc(100% - 22px));
  }

  .section-space {
    padding: 56px 0;
  }

  .section-head {
    margin-bottom: 28px;
    text-align: left;
  }

  .section-head .eyebrow {
    justify-content: flex-start;
  }

  .hero {
    padding: 48px 0 42px;
  }

  .hero-grid,
  .hero-points,
  .grid-3,
  .timeline-grid,
  .testimonial-grid,
  .service-strip,
  .grid-2,
  .kpi-grid,
  .faq-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .card-clean,
  .card-soft,
  .card-contact,
  .card-formation,
  .card-faq,
  .card-testimonial,
  .service-chip,
  .timeline-card,
  .contact-cta,
  .form-shell {
    padding: 22px;
    border-radius: 22px;
  }

  .hero-doctor,
  .about-photo {
    min-height: 320px;
  }

  .hero-actions,
  .hero-badge-list,
  .footer-links {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-card-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .service-chip {
    text-align: left;
  }

  .contact-cta,
  .form-shell {
    padding: 22px;
  }

  .contact-quick a,
  .contact-quick div {
    min-height: 58px;
  }

  textarea.form-control-modern {
    min-height: 140px;
  }
}

@media (max-width: 575.98px) {
  .container-custom {
    width: min(var(--container), calc(100% - 18px));
  }

  .section-space {
    padding: 48px 0;
  }

  .hero {
    padding: 42px 0 38px;
  }

  .hero-card,
  .card-clean,
  .card-soft,
  .card-contact,
  .card-formation,
  .card-faq,
  .card-testimonial,
  .service-chip,
  .timeline-card,
  .contact-cta,
  .form-shell {
    padding: 18px;
  }

  .hero-doctor,
  .about-photo {
    min-height: 280px;
    border-radius: 20px;
  }

  .btn-main,
  .btn-outline-main,
  .btn-soft {
    min-height: 50px;
    padding-inline: 18px;
  }

  .form-control-modern,
  .form-select-modern,
  textarea.form-control-modern {
    font-size: 16px;
  }
}