/* =========================================================
   Saúde Aberta – mockup (base: tema Clinifoot, Home 01)
   Define as variáveis/tipografia que no WordPress vinham do
   Redux + Elementor, e o layout das secções (substitui os
   containers do Elementor por Bootstrap + CSS simples).
   ========================================================= */

:root {
  --themeht-primary-color: #0B82C3;
  --themeht-text-color: #011018;
  --themeht-body-color: #444444;
  --themeht-white-color: #FFFFFF;
  --themeht-bg-dark-color: #011018;
  --themeht-light-color: #F6F6F6;
  --themeht-border-light-color: #DCDCDC;
  --themeht-rgba-color: rgba(255,255,255,0.9);
  --themeht-typography-body-font-family: "Google Sans", sans-serif;
  --themeht-typography-secondary-font-family: "Mona Sans", sans-serif;
  --logo-desktop-height: 56px;
}

/* ---------- Tipografia (Redux) ---------- */
body { font-family: "Google Sans", sans-serif; font-size: 16px; line-height: 26px; color: var(--themeht-body-color); overflow-x: hidden; }
h1,h2,h3,h4,h5,h6 { font-family: "Mona Sans", sans-serif; color: var(--themeht-text-color); }
h1 { font-size: 80px; line-height: 90px; font-weight: 600; }
h2 { font-size: 60px; line-height: 70px; font-weight: 500; }
h3 { font-size: 34px; line-height: 44px; font-weight: 500; }
h4 { font-size: 24px; line-height: 34px; font-weight: 500; }
h5 { font-size: 20px; line-height: 30px; font-weight: 500; }
h6 { font-size: 16px; line-height: 26px; font-weight: 500; }
.title-sub { font-family: "Playfair Display", serif; font-style: italic; font-weight: 400; }
@media (max-width: 1199px) { h1 { font-size: 60px; line-height: 70px; } h2 { font-size: 46px; line-height: 56px; } }
@media (max-width: 767px)  { h1 { font-size: 40px; line-height: 50px; } h2 { font-size: 36px; line-height: 46px; } h3 { font-size: 26px; line-height: 36px; } }

/* ---------- Estrutura geral ---------- */
.page-wrapper { position: relative; }
.section { padding: 110px 0; position: relative; }
.section-sm { padding: 70px 0; }
.bg-light-theme { background: var(--themeht-light-color); }
.bg-primary-theme { background: var(--themeht-primary-color); }
.bg-dark-theme { background: var(--themeht-bg-dark-color); }
.text-white h1, .text-white h2, .text-white h3, .text-white h4, .text-white h5, .text-white h6 { color: #fff; }
.theme-title { margin-bottom: 50px; }
.theme-title h2 { margin-bottom: 15px; }
@media (max-width: 767px) { .section { padding: 70px 0; } }

/* ---------- Logo (PNG do site atual, forçado a branco sobre fundos escuros) ---------- */
.logo img { height: var(--logo-desktop-height); width: auto; }
.header .navbar-brand.logo { margin-right: 50px; }

/* ---------- Header ---------- */
.header-right { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.header-number i { font-size: 30px; color: var(--themeht-primary-color); margin-right: 14px; line-height: 1; margin-top: 3px; }
.header-number span, .header-number a { color: #fff; }
.header .nav-menu-toggle { background: transparent; border: 0; color: #fff; font-size: 34px; display: none; }
@media (max-width: 1199px) {
  .header .nav-menu-toggle { display: block; }
  #header-wrap { padding: 15px 20px 0; }
  .header-right .header-number, .header-right .themeht-btn { display: none; }
  .header-right { margin-left: auto; }
  .logo img { height: 44px; }
}

/* ---------- Banner (Home 01: banner-slider style-one, texto branco sobre gradiente escuro) ---------- */
.banner-section { overflow: hidden; border-bottom-left-radius: 30px; border-bottom-right-radius: 30px; position: relative; }
.banner-slider .swiper-slide { position: relative; display: flex; height: auto; }
.banner-slider .slider-overlay { background: linear-gradient(274deg, #01060a00 38%, #01060a8a 70%, #01060a), linear-gradient(1deg, #01060a00 55%, #01060a33 83%, #01060ab5), linear-gradient(#01060a00 47%, #01060a33); }
.banner-slider.style-one .banner-content { padding: 250px 30px 200px 150px; min-height: 780px; display: flex; align-items: center; flex: 1 1 auto; width: 100%; }
.banner-slider.style-one .banner-text { width: 62%; }
.banner-slider.style-one .banner-content h1.hero-heading { color: #fff; font-size: 80px; line-height: 90px; font-weight: 400; }
.banner-slider.style-one .banner-content h1 .title-text { font-weight: 700; }
.banner-slider.style-one .banner-content h6 { color: #fff; border: 1px solid rgba(255,255,255,.06); }
.banner-slider.style-one .banner-content p { color: #fff; max-width: 80%; font-size: 18px; line-height: 30px; }
.banner-slider .banner-btn { margin-top: 35px; display: flex; gap: 15px; flex-wrap: wrap; }
@media (max-width: 1399px) { .banner-slider.style-one .banner-content { padding: 200px 30px 200px 80px; } .banner-slider.style-one .banner-content h1.hero-heading { font-size: 72px; line-height: 82px; } }
@media (max-width: 991px)  { .banner-slider.style-one .banner-content { padding: 160px 30px 160px 50px; } .banner-slider.style-one .banner-text { width: 80%; } }
@media (max-width: 767px)  { .banner-slider.style-one .banner-content { padding: 140px 30px; min-height: 600px; } .banner-slider.style-one .banner-text { width: 100%; } .banner-slider.style-one .banner-content h1.hero-heading { font-size: 42px; line-height: 52px; } .banner-slider.style-one .banner-content p { max-width: 100%; } }
/* ---------- Destaques (sobrepostos ao banner) ---------- */
.features-strip { padding-top: 120px; position: relative; z-index: 5; }
.features-strip .featured-item { height: 100%; }

/* ---------- Sobre (imagem + cartão de horário azul, como no tema) ---------- */
.about-section { padding: 100px 0 120px; }
.about-image { position: relative; min-height: 470px; border-radius: 30px; background-size: cover; background-position: bottom center; background-repeat: no-repeat; margin-top: 10px; }
.hours-wrap { position: absolute; top: 0; right: 0; background: var(--themeht-light-color); border-bottom-left-radius: 50px; padding: 0 0 20px 20px; }
.hours-wrap::before, .hours-wrap::after { content: ""; position: absolute; width: 30px; height: 30px; background: radial-gradient(circle at bottom left, transparent 70%, var(--themeht-light-color) 72%); }
.hours-wrap::before { left: -30px; top: 0; }
.hours-wrap::after { right: 0; bottom: -30px; }
.hours-card { background: var(--themeht-primary-color); border-radius: 30px; padding: 30px; width: 300px; color: #fff; }
.hours-card h5 { color: #fff; margin-bottom: 15px; }
.working-hours-item { color: #fff; font-size: 14px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.working-time { font-weight: 500; }
.about-big-text { font-size: 250px; line-height: 250px; font-weight: 700; margin: 0; background-size: cover; background-position: center; }
.about-one-sec { display: block; }
.about-text p { margin-bottom: 15px; }
.about-text .themeht-btn { margin-top: 10px; }
@media (max-width: 767px) { .about-big-text { font-size: 160px; line-height: 160px; } .hours-card { width: 240px; padding: 22px; } .about-image { min-height: 380px; } }
/* ---------- Faixa animada (tipografia gigante, como no tema) ---------- */
.marquee-section { padding: 0 0 20px; overflow: hidden; }
.marquee-text span { font-family: "Mona Sans", sans-serif; font-size: 200px; line-height: 200px; font-weight: 500; text-transform: uppercase; }
.marquee-text i { font-size: 100px; line-height: 100px; }
@media (max-width: 1199px) { .marquee-text span { font-size: 130px; line-height: 130px; } .marquee-text i { font-size: 60px; } }
@media (max-width: 767px)  { .marquee-text span { font-size: 70px; line-height: 80px; } .marquee-text i { font-size: 40px; margin: 0 25px; } }
/* ---------- Serviços ---------- */
.services-grid > [class*="col-"] { margin-bottom: 30px; }

/* ---------- Marcação (secção escura + cartão branco com formulário) ---------- */
.appointment-section { background: var(--themeht-bg-dark-color) url('../img/demo/2026/01/about-bg.png') top left / cover no-repeat; border-radius: 20px; padding: 120px 0; position: relative; }
.appointment-section h2.ht-heading { color: #fff; font-size: 42px; line-height: 52px; margin-bottom: 20px; }
.appointment-section p { color: rgba(255,255,255,.75); }
.benefit-item { display: flex; gap: 18px; margin-bottom: 26px; }
.benefit-item .b-icon { width: 50px; height: 50px; min-width: 50px; border-radius: 12px; background: rgba(255,255,255,.1); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 26px; }
.benefit-item h5 { color: #fff; margin-bottom: 4px; }
.benefit-item p { margin: 0; font-size: 15px; line-height: 24px; }
.appointment-contacts { margin-top: 35px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.12); }
.appointment-contacts .contact-icon { background: rgba(255,255,255,.12); }
.appointment-contacts .contact-title, .appointment-contacts .contact-details a, .appointment-contacts .contact-details span { color: #fff; }
.appointment-form { background: #fff; border-radius: 30px; padding: 50px; position: relative; }
.appointment-form .theme-title { margin-bottom: 30px; }
.appointment-form .theme-title h2 { font-size: 42px; line-height: 52px; margin-bottom: 0; }
@media (max-width: 767px) { .appointment-section { padding: 80px 0; } .appointment-form { padding: 30px; } }
/* ---------- Equipa ---------- */
.team-grid { justify-content: center; }
.team-grid > [class*="col-"] { margin-bottom: 30px; }

/* ---------- Páginas interiores ---------- */
.page-title { padding-top: 200px; }
.service-detail-img { border-radius: 20px; overflow: hidden; margin-bottom: 35px; }
.service-detail-img img { width: 100%; height: auto; display: block; }
.service-detail h2 { font-size: 40px; line-height: 50px; margin-bottom: 20px; }
.service-detail h4 { margin: 30px 0 10px; }
.check-list { list-style: none; padding: 0; margin: 20px 0; }
.check-list li { padding: 12px 0 12px 38px; position: relative; border-bottom: 1px solid var(--themeht-border-light-color); }
.check-list li::before { font-family: "flaticon_mycollection"; content: "\f1c4"; position: absolute; left: 0; top: 12px; color: var(--themeht-primary-color); font-size: 22px; }
.check-list li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: var(--themeht-primary-color); top: 14px; }
.check-list li::after { content: ""; position: absolute; left: 7px; top: 20px; width: 8px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.side-card { background: var(--themeht-light-color); border-radius: 20px; padding: 35px; margin-bottom: 30px; }
.side-card h5 { margin-bottom: 20px; }
.side-card.dark { background: var(--themeht-bg-dark-color); color: #fff; }
.side-card.dark h5, .side-card.dark a { color: #fff; }
.side-menu { list-style: none; padding: 0; margin: 0; }
.side-menu li a { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; background: #fff; border-radius: 10px; margin-bottom: 10px; font-weight: 500; color: var(--themeht-text-color); }
.side-menu li a:hover, .side-menu li.active a { background: var(--themeht-primary-color); color: #fff; }
.service-pager { display: flex; justify-content: space-between; margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--themeht-border-light-color); }
.map-wrap { border-radius: 20px; overflow: hidden; height: 460px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--themeht-bg-dark-color); padding-top: 100px; border-top-left-radius: 30px; border-top-right-radius: 30px; position: relative; overflow: hidden; color: rgba(255,255,255,.85); }
.footer h5 { color: #fff; margin-bottom: 25px; }
.footer .footer-about { background: rgba(255,255,255,.06); border-radius: 20px; padding: 30px; }
.footer .footer-about img { height: 56px; width: auto; margin-bottom: 18px; }
.footer-menu { list-style: none; padding: 0; margin: 0; }
.footer-menu li { margin-bottom: 12px; }
.footer-menu a { color: rgba(255,255,255,.85); }
.footer-menu a:hover { color: var(--themeht-primary-color); }
.footer .contact-info .contact-details a, .footer .contact-info .contact-details span { color: #fff; }
.footer .contact-info .contact-title { color: #C2BCBC; }
.footer-contacts { padding: 40px 0; border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; }
.footer-bottom { padding: 25px 0; border-top: 1px solid rgba(255,255,255,.1); text-align: center; font-size: 14px; }
.footer-bottom a { color: #fff; }
.footer .marquee-wrap { margin-top: 30px; }
.blobs-wrapper .ht-blob { position: absolute; border-radius: 50%; filter: blur(110px); opacity: .35; pointer-events: none; }
.blobs-wrapper .ht-blob-one { width: 340px; height: 340px; background: var(--themeht-primary-color); left: -120px; bottom: -120px; }
.blobs-wrapper .ht-blob-two { width: 280px; height: 280px; background: #6EC1E4; right: -100px; top: 20%; }

/* ---------- Equipa: nome a branco sobre o gradiente (tema) ---------- */
.team-member.style-1 .team-desc h4, .team-member.style-1 .team-desc h4 a { color: #fff; }

/* ---------- Footer: horário e faixa ---------- */
.footer .working-hours-item { color: #fff; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer .working-hours-item:last-child { border-bottom: 0; }
.footer .footer-about .hours { margin-top: 18px; }
.footer .marquee-wrap { margin-top: 20px; }
.footer .marquee-text span { font-size: 110px; line-height: 120px; color: #fff; background: none !important; -webkit-text-fill-color: #fff !important; }
.footer .marquee-text i { color: #fff; font-size: 60px; line-height: 60px; }
@media (max-width: 767px) { .footer .marquee-text span { font-size: 56px; line-height: 70px; } }
/* ---------- Contactos e formulários (reposto) ---------- */
.contact-info li { display: flex; align-items: flex-start; margin-bottom: 20px; }
.contact-info .contact-icon { width: 50px; height: 50px; min-width: 50px; border-radius: 100px; display: inline-flex; align-items: center; justify-content: center; background: var(--themeht-primary-color); color: #fff; font-size: 22px; margin-right: 20px; }
.contact-info .contact-title { font-size: 14px; opacity: .75; }
.contact-info .contact-details a { font-weight: 500; }
.form-control, .form-select { border: 1px solid var(--themeht-border-light-color); border-radius: 10px; padding: 14px 18px; background: var(--themeht-light-color); box-shadow: none !important; }
.form-control:focus, .form-select:focus { border-color: var(--themeht-primary-color); background: #fff; }
.form-label { font-weight: 500; color: var(--themeht-text-color); margin-bottom: 6px; }
.shape-icon-box { position: absolute; top: -32px; right: 40px; z-index: 9; }
.form-feedback { display: none; margin-top: 15px; color: var(--themeht-primary-color); font-weight: 500; }

/* ---------- Ícone SVG (Massagem Terapêutica, gerado no Magnific): herda a cor como os ícones da fonte ---------- */
.service-item.style-1 .service-icon .svc-ico { width: 56px; height: auto; display: block; }

/* ---------- Especialista (páginas de serviço) ---------- */
.expert-section { margin-top: 50px; padding-top: 40px; border-top: 1px solid var(--themeht-border-light-color); }
.expert-card { display: flex; align-items: center; gap: 24px; margin-top: 20px; padding: 24px 28px; background: #fff; border-radius: 20px; }
.expert-avatar { width: 88px; height: 88px; min-width: 88px; border-radius: 50%; object-fit: cover; object-position: top center; background: var(--themeht-light-color); }
.expert-info { flex: 1 1 auto; }
.expert-info h4 { margin: 0 0 4px; }
.expert-role { display: inline-block; font-size: 13px; line-height: 1; font-weight: 500; padding: 7px 14px; border-radius: 100px; background: var(--themeht-light-color); color: var(--themeht-text-color); }
@media (max-width: 767px) { .expert-card { flex-direction: column; align-items: flex-start; gap: 16px; padding: 22px; } }
/* ---------- Carrossel de serviços da home: 2 linhas, avança 1 card de cada vez ---------- */
.services-carousel { position: relative; }
.services-carousel .swiper-slide { height: auto; }
.services-carousel .service-col { display: flex; flex-direction: column; gap: 30px; }
.services-carousel .service-item { flex: 0 0 auto; }
.services-carousel .service-desc p { min-height: 78px; }
.services-arrow { width: 48px; height: 48px; border-radius: 50%; border: 0; padding: 0; background: #fff; color: var(--themeht-text-color); font-size: 20px; line-height: 1; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .3s ease, color .3s ease; }
.services-arrow:hover, .services-arrow:focus-visible { background: var(--themeht-primary-color); color: var(--themeht-white-color); outline: 0; }
@media (max-width: 767px) { .services-carousel .service-desc p { min-height: 0; } }
/* ---------- Imagens dos cards de serviço: todas com a mesma proporção (as fotos originais têm 16:9 e 3:2) ---------- */
.service-item.style-1 .service-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }

/* ---------- Botão "Todos os Serviços" ---------- */
.services-cta { text-align: center; }
/* Listagem de serviços: os cards da mesma linha ficam com a mesma altura */
.services-grid > [class*="col-"] > .service-item { height: 100%; }

/* ---------- Setas do carrossel: acima (à direita) e em baixo (à direita, na linha do botão centrado) ---------- */
.services-nav { display: flex; gap: 14px; }
.services-nav-top { justify-content: flex-end; margin-bottom: 25px; }
.services-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin-top: 40px; }
.services-footer .services-cta { grid-column: 2; }
.services-footer .services-nav { grid-column: 3; justify-self: end; }
@media (max-width: 575px) {
  .services-footer { grid-template-columns: 1fr; row-gap: 22px; justify-items: center; }
  .services-footer .services-cta, .services-footer .services-nav { grid-column: 1; justify-self: center; }
}
/* ---------- Mobile: ponto de foco do 1.º slide do banner = 220px à direita do centro da imagem (centra o pé) ----------
   (o tema força "center center !important" em ecrãs pequenos; afinar depois no Umbraco com o focal point) */
@media (max-width: 767px) {
  .banner-slider .slider-img.focus-mobile { background-position: calc(50% - 220px) center !important; }
}

/* ---------- Mobile: no rodapé do carrossel de serviços, as setas vêm antes do botão "Todos os Serviços" ---------- */
@media (max-width: 575px) {
  .services-footer-spacer { display: none; }
  .services-footer .services-nav { order: 1; }
  .services-footer .services-cta { order: 2; }
}