/* =====================================================
   LP — Dr. Rivelino Bertollo Jr. | Cardiologista Ijuí/RS
   ===================================================== */
:root {
  --red: #d81928;
  --red-dark: #960e19;
  --navy: #002638;
  --navy-deep: #002031;
  --light: #f6f8f9;
  --white: #ffffff;
  --star: #f5c518;
  --radius-card: 28px;
  --radius-big: 44px;
  --font: 'Figtree', 'Helvetica Neue', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

.container {
  width: min(1640px, 92%);
  margin-inline: auto;
}

.fw-reg { font-weight: 400; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font);
  font-size: clamp(16px, 1.15vw, 22px);
  font-weight: 500;
  text-decoration: none;
  border-radius: 12px;
  padding: 16px 34px;
  line-height: 1.2;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer;
  text-align: center;
}
.btn--red {
  background: var(--red);
  color: var(--white);
}
.btn--red:hover {
  background: #b91422;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(216, 25, 40, .35);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--white);
}
.btn--outline:hover {
  background: rgba(255, 255, 255, .12);
  transform: translateY(-2px);
}
.btn--block { width: 100%; }
.btn__arrow { font-size: 1.2em; line-height: 1; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  background: url('../assets/hero-bg.png') center right / cover no-repeat;
  background-color: #1c1712;
  aspect-ratio: 1920 / 800;
  min-height: 560px;
  display: flex;
  align-items: center;
}
.hero__inner {
  position: relative;
  z-index: 2;
}
.hero__content {
  max-width: 620px;
  margin-left: clamp(0px, 8vw, 290px);
  color: var(--white);
}
.hero__title {
  font-size: clamp(34px, 3.55vw, 68px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.5px;
}
.hero__sub {
  margin-top: 22px;
  font-size: clamp(17px, 1.35vw, 26px);
  font-weight: 700;
  line-height: 1.35;
}
.hero__sub .fw-reg { color: rgba(255, 255, 255, .82); }
.hero .btn { margin-top: 34px; }

/* =====================================================
   SITUAÇÕES
   ===================================================== */
.situacoes {
  position: relative;
  background: url('../assets/bg-situacoes-new.png') 0 0 / 100% 100% no-repeat;
  background-color: var(--light);
  padding: clamp(64px, 8vw, 130px) 0;
  overflow: hidden;
}
.situacoes__swoosh {
  /* elemento vermelho lateral removido temporariamente */
  display: none;
  position: absolute;
  inset: 0 auto 0 0;
  width: clamp(120px, 17vw, 330px);
  background: url('../assets/swoosh-left.jpg') left center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, #000 78%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 78%, transparent 100%);
}
.situacoes__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(40px, 5vw, 90px);
  align-items: center;
}
.situacoes__title {
  font-size: clamp(30px, 2.85vw, 55px);
  font-weight: 700;
  line-height: 1.22;
  color: var(--navy);
  margin-left: clamp(0px, 10vw, 190px);
}
.situacoes__list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.situacao-card {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 56px);
  background: var(--navy);
  color: var(--white);
  border-radius: 20px;
  padding: clamp(22px, 2.2vw, 34px) clamp(24px, 3vw, 48px);
}
.situacao-card__num {
  font-size: clamp(34px, 2.9vw, 56px);
  font-weight: 700;
  line-height: 1;
}
.situacao-card p {
  font-size: clamp(15px, 1.05vw, 20px);
  font-weight: 700;
  line-height: 1.4;
}
.situacoes__list .btn { margin-top: 12px; }

/* =====================================================
   DIFERENCIAIS (consultório)
   ===================================================== */
.diferenciais {
  position: relative;
  background: var(--navy-deep);
  font-size: 0;
}
.diferenciais__link {
  display: block;
}
.diferenciais__img {
  width: 100%;
  height: auto;
  display: block;
}
.diferenciais__img--mobile { display: none; }

/* =====================================================
   RISCOS
   ===================================================== */
.riscos {
  background: var(--red);
  padding: clamp(64px, 7vw, 120px) 0;
}
.riscos__inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(40px, 5vw, 100px);
  align-items: center;
}
.riscos__left { margin-left: clamp(0px, 9vw, 175px); }
.riscos__title {
  color: var(--white);
  font-size: clamp(32px, 3vw, 58px);
  font-weight: 700;
  line-height: 1.2;
}
.riscos__left .btn { margin-top: 34px; }
.riscos__list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 740px;
}
.risco-card {
  background: var(--red-dark);
  border-radius: 22px;
  padding: clamp(22px, 2.2vw, 36px) clamp(24px, 3vw, 50px);
  color: var(--white);
}
.risco-card p {
  font-size: clamp(15px, 1.15vw, 22px);
  font-weight: 700;
  line-height: 1.45;
}

/* =====================================================
   DEPOIMENTOS
   ===================================================== */
.depoimentos {
  background: url('../assets/bg-depoimentos-new.png') 0 0 / 100% 100% no-repeat;
  background-color: #e8e9ea;
}
.depoimentos__frame {
  width: min(1640px, 92%);
  margin-inline: auto;
  padding: clamp(56px, 5.5vw, 105px) 0;
  display: flex;
  justify-content: center;
}
.depoimentos__card {
  background: var(--white);
  border-radius: var(--radius-big);
  padding: clamp(34px, 4vw, 80px) clamp(26px, 5vw, 100px);
  width: min(1290px, 100%);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .18);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
}
.depoimentos__title {
  font-size: clamp(28px, 2.6vw, 50px);
  font-weight: 400;
  color: var(--navy);
  text-align: center;
}
.depoimentos__title + .depoimentos__grid { margin-top: clamp(30px, 3.4vw, 64px); }
.depoimentos__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 4vw, 80px);
  width: 100%;
}
.depoimento blockquote {
  font-style: italic;
  font-size: clamp(15px, 1.1vw, 21px);
  line-height: 1.5;
  color: var(--navy);
  font-weight: 400;
}
.depoimento blockquote strong { font-weight: 700; }
.depoimento figcaption {
  margin-top: 22px;
  font-weight: 700;
  font-size: clamp(15px, 1.05vw, 20px);
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 10px;
}
.stars {
  color: var(--star);
  font-size: 1.15em;
  letter-spacing: 2px;
}
.depoimentos__card .btn { margin-top: clamp(30px, 3.4vw, 60px); }

/* =====================================================
   DOUTOR
   ===================================================== */
.doutor {
  position: relative;
  background: url('../assets/bg-doutor-new.png') 0 0 / 100% 100% no-repeat;
  background-color: #33404a;
  aspect-ratio: 1920 / 961;
}
.doutor__foto-mobile { display: none; }
.doutor__card {
  position: absolute;
  left: 30.2%;
  top: 18%;
  width: 51.5%;
  height: 64.5%;
  background: var(--navy);
  border-radius: var(--radius-big);
  display: flex;
  align-items: center;
  z-index: 1;
}
.doutor__content {
  min-width: 0;
  width: 100%;
  padding-left: 24%;
  padding-right: 7%;
}
.doutor__kicker {
  color: var(--white);
  font-size: clamp(18px, 1.5vw, 29px);
  font-weight: 400;
}
.doutor__nome {
  color: var(--white);
  font-size: clamp(26px, 2.5vw, 48px);
  font-weight: 400;
  margin-top: 6px;
  letter-spacing: -0.5px;
}
.doutor__bio {
  margin-top: 18px;
  color: rgba(255, 255, 255, .92);
  font-size: clamp(15px, 1.15vw, 22px);
  line-height: 1.45;
  max-width: 520px;
}
.doutor__bio strong { color: var(--white); }
.doutor__content .btn { margin-top: 26px; }
.doutor__creds {
  margin-top: 26px;
  color: rgba(255, 255, 255, .75);
  font-size: clamp(11px, .78vw, 15px);
  line-height: 1.6;
}
.doutor__cutout {
  display: none;
}
.doutor__dr {
  position: absolute;
  left: 7%;
  bottom: 0;
  height: 96%;
  width: auto;
  z-index: 2;
  pointer-events: none;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .35));
}

/* =====================================================
   CTA FINAL
   ===================================================== */
.cta {
  position: relative;
  background: url('../assets/bg-cta2.jpg') center / cover no-repeat;
  background-color: var(--navy-deep);
  padding: clamp(72px, 8vw, 150px) 0;
  text-align: center;
}
.cta__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 32, 46, .25);
}
.cta__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta__title {
  color: var(--white);
  font-size: clamp(30px, 2.9vw, 56px);
  font-weight: 700;
  line-height: 1.25;
}
.cta__sub {
  margin-top: 22px;
  color: rgba(255, 255, 255, .92);
  font-size: clamp(16px, 1.35vw, 26px);
  font-weight: 400;
  line-height: 1.5;
}
.cta__inner .btn { margin-top: 36px; }
.cta__pill {
  margin-top: 26px;
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 999px;
  padding: 9px 26px;
  color: var(--white);
  font-size: clamp(13px, .9vw, 17px);
  font-weight: 400;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: var(--white);
  padding: clamp(36px, 4vw, 64px) 0;
  display: flex;
  justify-content: center;
}
.footer__logo { width: clamp(180px, 14vw, 270px); }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1100px) {
  .hero__content { margin-left: 0; }
  .situacoes__title { margin-left: 0; }
  .riscos__left { margin-left: 0; }

  /* DOUTOR — vira layout empilhado antes das outras seções */
  .doutor {
    aspect-ratio: auto;
    background: var(--navy);
    padding: 56px 0 60px;
  }
  .doutor__patch, .doutor__cutout, .doutor__dr, .doutor__foto-mobile { display: none; }
  .doutor__card {
    position: static;
    width: auto;
    height: auto;
    margin: 0 5%;
    padding: 40px 0;
  }
  .doutor__content { padding: 0 32px; }
}

@media (max-width: 880px) {
  /* HERO */
  .hero {
    aspect-ratio: auto;
    min-height: 0;
    padding: 170px 0 80px;
    background: url('../assets/hero-bg-mobile.png') center top / cover no-repeat;
    background-color: #1c1712;
  }

  /* SITUAÇÕES */
  .situacoes__swoosh { display: none; }
  .situacoes__inner { grid-template-columns: 1fr; gap: 34px; }
  .situacoes__title br { display: none; }

  /* DIFERENCIAIS */
  .diferenciais__img--desktop { display: none; }
  .diferenciais__img--mobile { display: block; }

  /* RISCOS */
  .riscos__inner { grid-template-columns: 1fr; gap: 38px; }
  .riscos__title br { display: none; }
  .risco-card p br { display: none; }

  /* DEPOIMENTOS */
  .depoimentos__grid { grid-template-columns: 1fr; }
  .depoimentos__card .btn { width: 100%; }

  /* DOUTOR */
  .doutor__card { margin: -60px 4% 0; }
  .doutor__content { padding: 0 24px; }
  .doutor__content .btn { width: 100%; }

  /* CTA */
  .cta__title br { display: none; }
  .cta__sub br { display: none; }
  .cta__inner .btn { width: 100%; }

  .hero__title br:first-of-type { display: inline; }
}

@media (max-width: 480px) {
  .btn { padding: 15px 22px; }
  .situacao-card { flex-direction: row; gap: 18px; }
  .hero { padding-top: 150px; }
}
