/* ============================================================
   style.css — Dra. Lie Hirata | Doenças do Aparelho Digestivo
   ============================================================ */

/* ── Variables ── */
:root {
  --clr-salmon: #e8857a;
  --clr-salmon-dk: #d54030;
  --clr-salmon-lt: #f5d5d0;
  --clr-teal: #3a7d8c;
  --clr-teal-lt: #5a9aaa;
  --clr-dark: #2c3e50;
  --clr-text: #666e7a;
  --clr-light: #f8f6f5;
  --clr-white: #ffffff;
  --clr-border: #e8e4e2;
  --ff-main: "Montserrat", sans-serif;
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, .07);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, .10);
  --shadow-lg: 0 16px 50px rgba(0, 0, 0, .14);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: .3s ease;
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--ff-main);
  color: var(--clr-text);
  background: var(--clr-white);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--ff-main);
  color: var(--clr-dark);
  line-height: 1.2;
}

p {
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
}

/* ── Utilities ── */
.section-eyebrow {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--clr-salmon);
  margin-bottom: .5rem;
}

.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--clr-teal);
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--clr-text);
  font-size: .95rem;
  max-width: 500px;
  margin: 0 auto;
}

.section-text {
  color: var(--clr-text);
  font-size: .95rem;
  margin-bottom: 1rem;
}

.highlight {
  color: var(--clr-teal);
}

/* ============================================================
   NAVBAR
   ============================================================ */
#mainNav {
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
  padding: .7rem 0;
}

#mainNav.scrolled {
  border-bottom-color: var(--clr-border);
  box-shadow: var(--shadow-sm);
  padding: .4rem 0;
}

.brand-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.nav-link {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--clr-dark) !important;
  padding: .4rem .65rem !important;
  border-radius: 6px;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--clr-teal) !important;
}

.btn-agendamentos {
  background: var(--clr-salmon);
  color: var(--clr-white) !important;
  border-radius: 3px;
  padding: .55rem 1.4rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  font-family: var(--ff-main);
  transition: var(--transition);
  border: none;
}

.btn-agendamentos:hover {
  background: var(--clr-salmon-dk);
  color: var(--clr-white) !important;
  transform: translateY(-1px);
}

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #fff8f7 0%, #fef4f2 100%);
}

.hero-bg-img {
  top: 60px !important;
  position: absolute;
  inset: 0;
  background: url("images/banners/banner home.png") right center / auto 100% no-repeat;
  z-index: 0;
}

.hero-bg-img::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 120px;
  padding-bottom: 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-text-col {
  width: 100%;
  max-width: 520px;
}

.hero-eyebrow {
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--clr-dark);
  opacity: .65;
  margin-bottom: .5rem;
  line-height: 1.5;
}

.hero-eyebrow span {
  font-weight: 700;
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--clr-dark);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.hero-title .highlight {
  text-transform: none;
  font-weight: 700;
  color: var(--clr-teal);
}

.hero-desc {
  font-size: .95rem;
  color: var(--clr-text);
  max-width: 380px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  max-width: 320px;
}

.hero-crm {
  font-size: .8rem;
  color: var(--clr-text);
  display: flex;
  align-items: center;
  opacity: .75;
  font-weight: 500;
}

.hero-crm img {
  width: 16px;
  margin-right: .4rem;
}

/* Botões */
.btn-agendar {
  background: var(--clr-salmon);
  color: var(--clr-white);
  border: none;
  border-radius: 3px;
  padding: .75rem 1.6rem;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  font-family: var(--ff-main);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.btn-agendar img {
  width: 18px;
}

.btn-agendar:hover {
  background: var(--clr-salmon-dk);
  color: var(--clr-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 133, 122, .35);
}

.btn-whatsapp-hero {
  background: transparent;
  color: #39AE41;
  border: 2px solid #39AE41;
  border-radius: 3px;
  padding: .75rem 1.6rem;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  font-family: var(--ff-main);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.btn-whatsapp-hero:hover {
  background: #39AE41;
  color: var(--clr-white);
  transform: translateY(-2px);
}

/* Imagem mobile — oculta no desktop */
.hero-mobile-img-wrapper {
  display: none;
}

/* ============================================================
   HERO RESPONSIVO
   ============================================================ */
@media (min-width: 992px) {

  /* Desktop: botões lado a lado */
  .hero-actions {
    flex-direction: row;
    max-width: none;
  }

  .btn-agendar,
  .btn-whatsapp-hero {
    width: auto;
  }
}

@media (max-width: 991.98px) {
  .hero-section {
    padding-bottom: 0;
  }

  /* Esconde o background no mobile */
  .hero-bg-img {
    display: none;
  }

  .hero-content {
    flex-direction: column;
    align-items: stretch;
    padding-top: 56px;
    padding-bottom: 0;
    min-height: unset;
  }

  .hero-crm,
  .hero-desc {
    display: flex;
    justify-content: center !important;
    margin: 0 auto;
  }

  .hero-text-col {
    max-width: 100%;
    padding-bottom: 2rem;
    text-align: center;
  }

  /* Botões empilhados e largura total no mobile */
  .hero-actions {
    flex-direction: column;
    max-width: 70%;
    margin: 0 auto;
  }

  .btn-agendar,
  .btn-whatsapp-hero {
    width: 100%;
  }

  .hero-mobile-img-wrapper {
    display: block;
    overflow: hidden;
    width: 100%;
    border-radius: var(--radius) var(--radius) 0 0;
  }

.hero-mobile-img {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: calc(92% - 30px) top;
}
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-eyebrow {
    font-size: 1.2rem;
  }
}

/* ============================================================
   SOBRE MIM
   ============================================================ */
.sobre-section {
  background: var(--clr-white);
}

.sobre-img-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.sobre-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.btn-saiba-mais {
  background: var(--clr-salmon);
  color: var(--clr-white);
  border: none;
  border-radius: 3px;
  padding: .6rem 1.8rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  font-family: var(--ff-main);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
}

.btn-saiba-mais:hover {
  background: var(--clr-salmon-dk);
  color: var(--clr-white);
  transform: translateY(-2px);
}

/* ============================================================
   ESPECIALIDADES
   ============================================================ */
.especialidades-section {
  background: var(--clr-light);
}

/* 5-column layout using CSS */
.col-lg-2-4 {
  flex: 0 0 auto;
  width: 20%;
}

@media (max-width: 575.98px) {
  .col-lg-2-4 {
    width: 100% !important;
  }

  .esp-card {
    width: 70% !important;
    margin: 0 auto;

  }
}

.esp-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-salmon-lt);
  border-radius: var(--radius);
  padding: 1.8rem 1.2rem;
  text-align: center;
  transition: var(--transition);
  height: 100%;
}

.body-imgs {
  width: 75%;
  top: -10px;
  position: relative;

}

.esp-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--clr-salmon);
}

.esp-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--clr-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  overflow: hidden;
  border: 2px solid var(--clr-border);
}

.esp-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.esp-icon-fallback {
  font-size: 2rem;
  color: var(--clr-salmon);
}

.esp-card h6 {
  font-weight: 700;
  font-size: .85rem;
  color: var(--clr-teal);
  margin-bottom: .5rem;
  line-height: 1.3;
}

.esp-card p {
  font-size: .78rem;
  color: var(--clr-text);
  margin: 0;
}

/* ============================================================
   ONDE ATENDO
   ============================================================ */
.onde-section {
  background: var(--clr-white);
}

.btn-wpp-onde.pg {
  color: var(--clr-teal);
  border: 2px solid var(--clr-teal);
  border-radius: 3px;
  padding: .7rem 1.4rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  font-family: var(--ff-main);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  line-height: 1.3;
  text-align: left;
}

.btn-wpp-onde.cs {
  color: var(--clr-salmon);
  border: 2px solid var(--clr-salmon);
  border-radius: 3px;
  padding: .7rem 1.4rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  font-family: var(--ff-main);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  line-height: 1.3;
  text-align: left;
}

.btn-wpp-onde i {
  color: #39AE41;
  background-color: transparent !important;
}


.btn-wpp-onde small {
  display: block;
  font-size: .7rem;
  font-weight: 400;
  opacity: .9;
}

.btn-wpp-onde.pg:hover,
.btn-wpp-onde.pg:hover i {
  background: var(--clr-teal);
  color: var(--clr-white);
  transform: translateY(-2px);
}

.btn-wpp-onde.cs:hover,
.btn-wpp-onde.cs:hover i {
  background: var(--clr-salmon);
  color: var(--clr-white);
  transform: translateY(-2px);
}

/* ============================================================
   TERMOS DE USO
   ============================================================ */
.termos-header {
  background: linear-gradient(135deg, #fff8f7 0%, #fef4f2 100%);
  padding-top: 140px;
  padding-bottom: 3rem;
  text-align: center;
}

.termos-header .section-sub {
  margin-top: .25rem;
}

.termos-content {
  background: var(--clr-white);
}

.termos-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.termos-block {
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--clr-border);
}

.termos-block:last-of-type {
  border-bottom: none;
}

.termos-block h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--clr-teal);
  margin-bottom: .75rem;
  display: flex;
  align-items: baseline;
  gap: .5rem;
}

.termos-block h2 .num {
  color: var(--clr-salmon);
  font-weight: 800;
}

.termos-block p {
  font-size: .92rem;
  color: var(--clr-text);
  margin-bottom: .85rem;
}

.termos-block p:last-child {
  margin-bottom: 0;
}

.termos-crm {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--clr-border);
  font-size: .85rem;
  font-weight: 600;
  color: var(--clr-dark);
  text-align: center;
}

@media (max-width: 575.98px) {
  .termos-header {
    padding-top: 110px;
    padding-bottom: 2rem;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--clr-light);
  color: var(--clr-teal);
}

.footer-top {
  padding: 4rem 0 3rem;
}

.footer-logo {
  height: 56px;
  width: auto;
  object-fit: contain;
}

.footer-desc {
  font-size: .85rem;
  color: var(--clr-text);
  line-height: 1.7;
  max-width: 260px;
}

.footer-crm {
  font-size: .75rem;
  color: var(--clr-text);
  font-weight: 600;
}

.footer-heading {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--clr-text);
  margin-bottom: 1.2rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: .65rem;
}

.footer-links a {
  font-size: .85rem;
  color: var(--clr-text);
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--clr-salmon);
}

.footer-links a img {
  width: 16px;
  margin-right: .5rem;
}

.btn-wpp-footer {
  background: var(--clr-teal);
  color: var(--clr-white);
  border: none;
  border-radius: 3px;
  padding: .6rem 1.6rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  font-family: var(--ff-main);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
}

.btn-wpp-footer:hover {
  background: #2d6575;
  color: var(--clr-white);
}

/* Footer Bottom */
.footer-bottom {
  padding: 1.2rem 0;
  background: var(--clr-teal);
}

.copyright {
  font-size: .78rem;
  color: var(--clr-light);
  margin: 0;
}

.dev-badge {
  transition: var(--transition);
}

.dev-badge:hover {
  opacity: .8;
}

.wenexo-logo {
  height: 22px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .5;
}

.wenexo-logo-footer {
  height: auto;
  width: 100px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .9;
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--clr-salmon);
  color: var(--clr-white);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--clr-salmon-dk);
  color: var(--clr-white);
  transform: translateY(-3px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991.98px) {
  .hero-section {
    min-height: auto;
    padding-top: 80px;
    padding-bottom: 0;
  }

  .hero-text {
    padding-right: 0;
    margin-bottom: 2rem;
  }

  .hero-blob {
    width: 320px;
    height: 320px;
  }

  .hero-doctor-img {
    max-height: 380px;
  }

  .col-lg-2-4 {
    width: 50%;
  }

  .navbar-collapse {
    background: var(--clr-white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    padding: 1rem;
    margin-top: .5rem;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .col-lg-2-4 {
    width: 50%;
  }

  .footer-desc {
    max-width: 100%;
  }

  .footer-top {
    padding: 2.5rem 0 2rem;
  }
}

.map-wrapper {
  border: 1px solid var(--clr-salmon-lt);
}

.footer-links li a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links li a i {
    font-size: 18px;
    color: var(--primary-color); /* ou a cor que desejar */
}