/* ═══════════════════════════════════════════
   BUPA CLÍNICAS DENTÁRIAS — main.css
════════════════════════════════════════════ */

/* ── @font-face Metropolis ── */
@font-face { font-family: 'Metropolis'; src: url('../fonts/Metropolis-Thin.woff2') format('woff2'), url('../fonts/Metropolis-Thin.woff') format('woff'); font-weight: 100; font-style: normal; font-display: swap; }
@font-face { font-family: 'Metropolis'; src: url('../fonts/Metropolis-ExtraLight.woff2') format('woff2'), url('../fonts/Metropolis-ExtraLight.woff') format('woff'); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: 'Metropolis'; src: url('../fonts/Metropolis-Light.woff2') format('woff2'), url('../fonts/Metropolis-Light.woff') format('woff'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Metropolis'; src: url('../fonts/Metropolis-Regular.woff2') format('woff2'), url('../fonts/Metropolis-Regular.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Metropolis'; src: url('../fonts/Metropolis-Medium.woff2') format('woff2'), url('../fonts/Metropolis-Medium.woff') format('woff'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Metropolis'; src: url('../fonts/Metropolis-SemiBold.woff2') format('woff2'), url('../fonts/Metropolis-SemiBold.woff') format('woff'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Metropolis'; src: url('../fonts/Metropolis-Bold.woff2') format('woff2'), url('../fonts/Metropolis-Bold.woff') format('woff'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Metropolis'; src: url('../fonts/Metropolis-ExtraBold.woff2') format('woff2'), url('../fonts/Metropolis-ExtraBold.woff') format('woff'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Metropolis'; src: url('../fonts/Metropolis-Black.woff2') format('woff2'), url('../fonts/Metropolis-Black.woff') format('woff'); font-weight: 900; font-style: normal; font-display: swap; }

/* ── Variables ── */
:root {
  --bupa-blue:         #0079C8;
  --bupa-dark:         #21272A;
  --bupa-orange:       #DB3907;
  --bupa-orange-hover: #0652AE;
  --bupa-gray-bg:      #F7F5F2;
  --bupa-text:         #21272A;
}

/* ── Reset / Base ── */
*, *::before, *::after { box-sizing: border-box; }
.container { max-width: 1164px; }
body {
  font-family: 'Metropolis', 'Segoe UI', Arial, sans-serif;
  color: var(--bupa-text);
  background: #fff;
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  letter-spacing: 0.16px;
}
a { text-decoration: none; color: inherit; }

/* ── Buttons ── */
.btn-bupa-orange {
  background: var(--bupa-orange);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-family: 'Metropolis', sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 22px;
  cursor: pointer;
  white-space: nowrap;
  display: inline-block;
  line-height: 1.4;
  transition: 0.5s ease all;
}
.btn-bupa-orange:hover { background: var(--bupa-orange-hover); color: #fff; }

.btn-bupa-blue {
  background: var(--bupa-blue);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-family: 'Metropolis', sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 22px;
  cursor: pointer;
  transition: background .2s;
  white-space: nowrap;
  display: inline-block;
  line-height: 1.4;
}
.btn-bupa-blue:hover { background: #005fa0; color: #fff; }

.btn-bupa-outline {
  background: transparent;
  color: var(--bupa-orange);
  border: 2px solid var(--bupa-orange);
  border-radius: 4px;
  font-family: 'Metropolis', sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 20px;
  cursor: pointer;
  transition: all .2s;
  display: inline-block;
}
.btn-bupa-outline:hover { background: var(--bupa-orange); color: #fff; }

/* ══════════════════════════
   HEADER
══════════════════════════ */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e8ecf0;
  padding: 16px 0;
  position: relative;
  z-index: 100;
}
.site-header .logo img { height: 46px; }
.site-header .tel-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  color: var(--bupa-dark);
}
.site-header .tel-link img { width: 34px; height: 34px; }
.site-header .tel-link:hover { color: var(--bupa-blue); }

/* ══════════════════════════
   HERO — mobile first
══════════════════════════ */

/* MOBILE: imagen arriba fija 275px, card debajo con fondo azul */
.hero-section {
  position: relative;
  background: #e8f4fb;
  overflow: hidden;
}
.hero-section picture {
  display: block;
  width: 100%;
}
.hero-section .hero-img {
  display: block;
  width: 100%;
  height: 275px;
  object-fit: cover;
  object-position: center top;
}
.hero-section .hero-overlay {
  position: relative;
  z-index: 2;
  padding: 0;
}
.hero-card {
  background: #fff;
  padding: 28px 20px 36px;
  border-radius: 0;
  max-width: 100%;
}
.hero-card h1 {
  font-size: 22px;
  font-weight: 700;
  color: var(--bupa-dark);
  line-height: 1.3;
  margin-bottom: 10px;
}
.hero-card p {
  font-size: 14px;
  color: #444;
  margin-bottom: 22px;
  line-height: 1.6;
}

/* DESKTOP: imagen de fondo absolute, card blanca superpuesta */
@media (min-width: 992px) {
  .hero-section {
    min-height: 715px;
    display: flex;
    align-items: center;
  }
  .hero-section picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .hero-section .hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }
  .hero-section .hero-overlay {
    padding: 56px 0;
  }
  .hero-card {
    background: rgba(255,255,255,0.88);
    padding: 36px 32px;
    border-radius: 8px;
    max-width: 480px;
    box-shadow: 0 4px 28px rgba(0,0,0,.12);
  }
  .hero-card h1 {
    font-size: 38px;
    color: var(--bupa-dark);
    line-height: 1.2;
    margin-bottom: 14px;
  }
  .hero-card p {
    font-size: 16px;
    color: #444;
    margin-bottom: 24px;
    line-height: 1.65;
  }
}

/* ══════════════════════════
   CONFIANÇA
══════════════════════════ */
.confianca-section {
  padding: 60px 0 50px;
  background: #fff;
}
.confianca-section h2 {
  color: var(--bupa-dark);
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  line-height: 42px;
  margin: 0 0 20px;
}
.confianca-section .subtitle {
  color: #21272A;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  letter-spacing: 0.16px;
  max-width: 780px;
  margin: 0 auto 44px;
}
.intro-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.feature-icon { height: 65px; }
.feature-text {
  color: #4E5357;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  letter-spacing: 0.16px;
}

/* ══════════════════════════
   PRIMEIRA VISITA
══════════════════════════ */
.visita-section { padding: 60px 0; }
.visita-section .bg-box {
  border-radius: 8px;
  background: #F7F5F2;
  padding: 40px 20px;
}
.visita-section .bg-box p {
  color: #21272A;
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  letter-spacing: 0.16px;
}
.visita-section h2 {
  color: #0D1846;
  font-size: 36px;
  font-weight: 700;
  line-height: 42px;
}
.visita-section .visita-img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  height: 100%;
}
.step-card {
  background: #F2F8FC;
  border-radius: 8px;
  padding: 25px 20px;
  height: 100%;
  display: flex;
  align-items: flex-start;
}
.step-card > div { flex-grow: 1; }
.step-card .step-icon { width: 36px; margin: 0 10px 0 0; }
.step-card .title {
  color: #0F2460;
  font-size: 22px;
  font-weight: 700;
  line-height: 26px;
  letter-spacing: 0.22px;
}
.step-card p {
  color: #21272A;
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  letter-spacing: 0.16px;
}

/* ══════════════════════════
   CLÍNICA / MAPA
══════════════════════════ */
.clinica-section {
  padding: 60px 0;
  background: #fff;
}
@media(max-width: 1024px){
  .clinica-section{padding: 20px}
}
.clinica-section h2 {
  color: #0D1846;
  font-size: 36px;
  text-align: center;
  font-weight: 700;
  line-height: 42px;
  margin-bottom: 14px;
}
.mapa-img { width: 100%; object-fit: cover; display: block; }
.clinica-info {
  background: #F7F5F2;
  padding: 32px 32px 50px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.clinica-info h3 {
  color: #0D1846;
  font-size: 40px;
  font-weight: 700;
  line-height: 49px;
}
.clinica-info p {
  color: #0D1846;
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 0.18px;
}

/* Info bar */
.info-bar .container {
  background: var(--bupa-blue);
  color: #fff;
  padding: 24px 0;
}
@media(max-width: 1024px){
  .info-bar .container {

  padding: 25px 20px;
}
}
.info-bar-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 0 20px;
  border-right: 1px solid rgba(255,255,255,.2);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0.16px;
}
.info-bar-item:last-child { border-right: none; }
.info-bar-item .info-icon { width: 33px; height: 33px; margin-bottom: 6px; }
.info-bar-item strong { font-weight: 700; margin-bottom: 5px; }

/* ══════════════════════════
   TRATAMENTOS
   — icono + título en fila centrados verticalmente
   — descripción debajo
══════════════════════════ */
.tratamentos-section {
  background: var(--bupa-gray-bg);
  padding: 60px 0 40px;
}
.tratamento-card {
  padding: 25px 28px;
  height: 100%;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0 16px 0 rgba(0,0,0,0.10);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tratamento-card:hover { box-shadow: 0 4px 18px rgba(0,121,200,.18); }

/* Fila icono + título alineados verticalmente al centro */
.t-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
}
.t-card-header .t-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  object-fit: contain;
}
.t-card-header h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--bupa-dark);
  margin: 0;
  line-height: 1.3;
}
.tratamento-card > p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

.tratamentos-btns {
  padding-top: 36px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ══════════════════════════
   FALAMOS?
══════════════════════════ */
.falamos-section {
  padding: 60px 0 50px;
  background: #fff;
}
.falamos-section h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--bupa-dark);
  text-align: center;
  margin-bottom: 8px;
}
.falamos-section .sub {
  font-size: 16px;
  color: #555;
  text-align: center;
  margin-bottom: 44px;
}
.fala-card { text-align: center; }
.fala-card .fala-icon {
  width: 54px;
  height: 54px;
  object-fit: contain;
  margin: 0 auto 14px;
  display: block;
}
.fala-card h5 {
  font-size: 16px;
  font-weight: 600;
  color: var(--bupa-dark);
  margin-bottom: 14px;
}

/* ══════════════════════════
   FOOTER
══════════════════════════ */
.site-footer {
 background: #0D1846;
  color: rgba(255,255,255,.65);
  padding: 28px 0 24px;
}
.footer-top {
  padding-bottom: 20px;
}
.footer-logo {
  height: 32px;
  width: auto;
  display: block;
}
.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,.15);
  margin: 0 0 18px;
}
.footer-bottom {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,.55);
  margin: 0;
}
.site-footer .footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.site-footer .footer-links a {
  color: rgba(255,255,255,.55);
  font-size: 12px;
  transition: color .2s;
}
.site-footer .footer-links a:hover { color: #fff; }

/* ══════════════════════════
   MODAL
══════════════════════════ */
.modal-bupa .modal-dialog {
  max-width: 595px;
}
.modal-bupa .modal-content {
  border: none;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,.25);
}
.modal-bupa .modal-header {
  background: var(--bupa-blue);
  color: #fff;
  padding: 18px 20px 10px;
  border: none;
  position: relative;
  align-items: flex-start;
}
.modal-bupa .modal-title {
  color: #FFF;
font-size: 35px;
font-style: normal;
font-weight: 700;
line-height: 35px; /* 100% */
margin: 0 0 15px;
}
.modal-bupa .modal-header .sub {
 color: #FFF;
font-size: 18px;
font-style: normal;
font-weight: 500;
line-height: 24px; /* 133.333% */
letter-spacing: 0.18px;
margin: 0;
}
.modal-bupa .btn-close {
  filter: brightness(0) invert(1);
  opacity: .85;
  flex-shrink: 0;
  margin-top: 2px;
}
.modal-bupa .btn-close:hover { opacity: 1; }

/* Body del modal — fondo azul */
.modal-bupa .modal-body {
  background: var(--bupa-blue);
  padding: 6px 20px 10px;color: #fff;
}
.modal-body a{color: #fff}
.modal-bupa .form-label {
  color: #FFF;
font-family: Metropolis;
font-size: 20px;
font-style: normal;
font-weight: 500;
line-height: 24px; /* 120% */
letter-spacing: 0.2px;  display: block;margin-bottom: 5px;
}
.modal-bupa .form-control {
  width: 100%;
  border: none;
  border-radius: 5px;
  font-family: 'Metropolis', sans-serif;
  font-size: 16px;
  padding: 0 15px ;
  color: #333;
  background: #fff;
  outline: none;
  transition: box-shadow .2s;
  height: 40px;
}
.modal-bupa .form-control:focus {
  box-shadow: 0 0 0 3px rgba(255,255,255,.5);
  color: #333;
}
.modal-bupa .form-control::placeholder {
  color: #8D847F;
  font-size: 16px;
}

/* Footer del modal — fondo azul */
.modal-bupa .modal-footer {
  background: var(--bupa-blue);
  padding: 1px 20px 22px;
  border-top: none;
  display: block;
}
.modal-bupa .modal-footer .btn-submit {
  display: block;
  width: 100%;
  background: var(--bupa-orange);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-family: 'Metropolis', sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 20px;
  cursor: pointer;
  transition: background .2s;
  text-align: center;
}
.modal-bupa .modal-footer .btn-submit:hover { background: var(--bupa-orange-hover); }

/* ══════════════════════════
   MOBILE STICKY FOOTER
   — dos botones que ocupan todo el ancho
   — azul (tel) | naranja (consulta)
══════════════════════════ */
.mobile-sticky-footer {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1050;
  background: #fff;
  padding: 8px 12px;
  gap: 8px;
  box-shadow: 0 -2px 12px rgba(0,0,0,.12);
}
.msf-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  height: 48px;
  font-family: 'Metropolis', sans-serif;
  font-weight: 700;
  font-size: 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: opacity .18s;
  white-space: nowrap;
}
.msf-btn:hover { opacity: .9; color: #fff; }
.msf-tel {
  background: var(--bupa-blue);
  color: #fff;
}
.msf-consulta {
  background: var(--bupa-orange);
  color: #fff;
}
.msf-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}

/* ══════════════════════════
   RESPONSIVE
══════════════════════════ */
@media (max-width: 991.98px) {
  .mobile-sticky-footer { display: flex; }
  body { padding-bottom: 52px; }

  .info-bar-item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.2);
    padding: 12px 0;
  }
  .info-bar-item:last-child { border-bottom: none; }
  .clinica-info { margin-top: 0; }

  .confianca-section h2,
  .clinica-section h2,
  .falamos-section h2 { font-size: 24px; line-height: 30px; }
  .visita-section h2 { font-size: 24px; line-height: 30px; }
}

@media (min-width: 992px) {
  .mobile-sticky-footer { display: none !important; }
}

@media (max-width: 575.98px) {
  .tratamentos-btns { flex-direction: column; align-items: stretch; }
  .tratamentos-btns .btn-bupa-orange,
  .tratamentos-btns .btn-bupa-outline { text-align: center; }
  .hero-card h1 { font-size: 28px; }
  .clinica-info h3 { font-size: 28px; }
}
