/* ============================================================
   Dr. Edson Bernaldino — Custom Theme CSS
   Bootstrap 5 base | Clean Medical Modern
   ============================================================ */

/* ── 0. Overrides do CSS legado (legacy-style.css) ───────────
   Carregamos APÓS o template original para vencer na cascata.
   Regras abaixo neutralizam conflitos globais.
────────────────────────────────────────────────────────────── */

/* Re-mapeia a cor de acento do template (#ff214f) para o teal */
:root { --base-color: #33B9CB !important; }

/* Garante fontes do novo design em todo body e headings */
body {
  font-family: 'Rubik', sans-serif !important;
  font-size: 16px !important;
  color: #565872 !important;
  line-height: 1.75 !important;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Jost', sans-serif !important;
  letter-spacing: 0 !important;
  margin-bottom: 0 !important; /* controlado por utilitários Bootstrap 5 */
}

/* Restaura tamanhos razoáveis (legado usava 70px p/ h1) */
h1 { font-size: clamp(36px, 6vw, 72px); line-height: 1.1; }
h2 { font-size: clamp(26px, 4vw, 44px); line-height: 1.2; }
h3 { font-size: clamp(20px, 3vw, 32px); line-height: 1.25; }
h4 { font-size: clamp(18px, 2.5vw, 26px); line-height: 1.3; }
h5 { font-size: 20px; line-height: 1.35; }
h6 { font-size: 17px; line-height: 1.4; }

/* Seções nossas (exclui seções Elementor e o hero da home que têm padding próprio) */
section:not([class*="elementor"]):not(.edb-hero) { padding: 100px 0; overflow: hidden; }
section.big-section { padding: 130px 0; }
section.half-section { padding: 60px 0; }

/* Container Bootstrap 5 — remove o patch do legado (BS3-era) */
.container, .container-fluid,
.container-lg, .container-md,
.container-sm, .container-xl,
.container-xxl { padding-right: var(--bs-gutter-x, .75rem); padding-left: var(--bs-gutter-x, .75rem); }
.row { margin-right: calc(-.5 * var(--bs-gutter-x, 1.5rem)); margin-left: calc(-.5 * var(--bs-gutter-x, 1.5rem)); }
.row > * { padding-right: calc(.5 * var(--bs-gutter-x, 1.5rem)); padding-left: calc(.5 * var(--bs-gutter-x, 1.5rem)); }

/* Remove o "buy theme" flutuante do template de demonstração */
.buy-theme, .all-demo { display: none !important; }

/* ── 1. Design Tokens ─────────────────────────────────────── */
:root {
  --edb-navy:        #091D3E;
  --edb-navy-dark:   #060f24;
  --edb-navy-light:  #0d2a5c;
  --edb-teal:        #33B9CB;
  --edb-teal-dark:   #27a0b0;
  --edb-teal-light:  #e8f8fa;
  --edb-gray-text:   #565872;
  --edb-gray-light:  #F4F6F9;
  --edb-gray-border: #E2E8F0;
  --edb-white:       #FFFFFF;
  --edb-off-white:   #F8FAFB;

  --edb-font-head:   'Jost', sans-serif;
  --edb-font-body:   'Rubik', sans-serif;

  --edb-radius-sm:   8px;
  --edb-radius:      14px;
  --edb-radius-lg:   22px;
  --edb-shadow-sm:   0 2px 12px rgba(9,29,62,.06);
  --edb-shadow:      0 8px 32px rgba(9,29,62,.10);
  --edb-shadow-lg:   0 20px 60px rgba(9,29,62,.14);
  --edb-transition:  0.25s ease;
}

/* ── 2. Base ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--edb-font-body);
  color: var(--edb-gray-text);
  background: var(--edb-white);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--edb-font-head);
  color: var(--edb-navy);
  line-height: 1.2;
  font-weight: 700;
}

a { color: var(--edb-teal); text-decoration: none; transition: color var(--edb-transition); }
a:hover { color: var(--edb-teal-dark); }

img { max-width: 100%; height: auto; }

/* ── 3. Utilitários globais ───────────────────────────────── */
.edb-label {
  display: inline-block;
  font-family: var(--edb-font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--edb-teal);
  margin-bottom: 12px;
}

.edb-section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--edb-navy);
  margin-bottom: 16px;
}

.edb-section-desc {
  font-size: 17px;
  color: var(--edb-gray-text);
  line-height: 1.8;
  max-width: 580px;
}

section:not(.edb-hero) { padding: 100px 0; }
section.edb-sm { padding: 60px 0; }

/* ── 4. Botões ────────────────────────────────────────────── */
.btn { font-family: var(--edb-font-body); font-weight: 500; border-radius: var(--edb-radius-sm); padding: 12px 26px; font-size: 15px; transition: all var(--edb-transition); letter-spacing: 0.2px; }

.edb-btn-primary {
  background: var(--edb-teal);
  color: var(--edb-white);
  border: 2px solid var(--edb-teal);
}
.edb-btn-primary:hover {
  background: var(--edb-teal-dark);
  border-color: var(--edb-teal-dark);
  color: var(--edb-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(51,185,203,.35);
}

.edb-btn-navy {
  background: var(--edb-navy);
  color: var(--edb-white);
  border: 2px solid var(--edb-navy);
}
.edb-btn-navy:hover {
  background: var(--edb-navy-light);
  border-color: var(--edb-navy-light);
  color: var(--edb-white);
  transform: translateY(-2px);
}

.edb-btn-outline {
  background: transparent;
  color: var(--edb-navy);
  border: 2px solid var(--edb-navy);
}
.edb-btn-outline:hover {
  background: var(--edb-navy);
  color: var(--edb-white);
}

.edb-btn-outline-white {
  background: transparent;
  color: var(--edb-white);
  border: 2px solid rgba(255,255,255,.45);
}
.edb-btn-outline-white:hover {
  background: rgba(255,255,255,.12);
  color: var(--edb-white);
  border-color: var(--edb-white);
}

.edb-btn-whatsapp {
  background: #25D366;
  color: var(--edb-white);
  border: none;
}
.edb-btn-whatsapp:hover {
  background: #1ebe5d;
  color: var(--edb-white);
  transform: translateY(-2px);
}

/* ── 5. HEADER — Dr. Edson Bernaldino ───────────────────────
   Estrutura: .edb-header > .edb-header__inner
              > logo | nav.edb-header__nav > ul.edb-navlist
              > .edb-header__cta | .edb-hamburger
   Sticky e mobile gerenciados pelo main.js (sem bootsnav).
────────────────────────────────────────────────────────────── */

/* ── Offset de conteúdo ── */
body      { padding-top: 120px; }          /* páginas internas */
body.home { padding-top: 0 !important; }  /* home: hero cobre o header */
body.page-template-template-sobre-mim-v2 { padding-top: 0 !important; } /* sobre mim v2: hero full-bleed */

/* ── Header raiz ── */
.edb-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  height: 120px;
  display: flex;
  align-items: stretch;
  background: #fff;
  box-shadow: 0 1px 0 var(--edb-gray-border);
  transition: background .3s ease, box-shadow .3s ease, height .3s ease;
}

/* Variante transparente (front-page antes do scroll) */
.edb-header.is-transparent {
  background: transparent;
  box-shadow: none;
}

/* Após scroll — branco fosco */
.edb-header.is-sticky {
  background: rgba(255,255,255,.97) !important;
  box-shadow: 0 4px 24px rgba(9,29,62,.09) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  height: 88px;
}

/* ── Inner: três zonas em flex ── */
.edb-header__inner {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
  gap: 24px;
}

/* ── Logo ── */
.edb-header__logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
  height: 100%;
  padding: 10px 0;
}
.edb-logo-img,
.edb-header__logo img,
.edb-header__logo .custom-logo {
  height: auto !important;
  max-height: 200px !important;
  width: auto !important;
  display: block;
  transition: filter .25s ease;
}
/* Logo branca sobre hero escuro, antes do scroll */
.edb-header.is-transparent:not(.is-sticky) .edb-logo-img,
.edb-header.is-transparent:not(.is-sticky) .edb-header__logo img,
.edb-header.is-transparent:not(.is-sticky) .edb-header__logo .custom-logo {
  filter: brightness(0) invert(1);
}
/* Logo textual fallback */
.edb-logo__text  { display: flex; flex-direction: column; line-height: 1.25; }
.edb-logo__name  { font-family: var(--edb-font-head); font-weight: 700; font-size: 16px; color: var(--edb-navy); }
.edb-logo__sub   { font-size: 10.5px; color: var(--edb-teal); letter-spacing: .4px; }
.edb-header.is-transparent:not(.is-sticky) .edb-logo__name { color: #fff; }

/* ── Nav desktop ── */
.edb-header__nav {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.edb-navlist {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2px;
}
.edb-navlist > li { position: relative; }
.edb-navlist > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 13px;
  font-family: var(--edb-font-body);
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  white-space: nowrap;
  border-radius: 7px;
  color: var(--edb-navy);
  text-decoration: none;
  transition: color .2s, background .2s;
}
.edb-navlist > li > a:hover,
.edb-navlist > li.is-active > a {
  color: var(--edb-teal);
  background: rgba(51,185,203,.08);
}
/* Branco sobre hero */
.edb-header.is-transparent:not(.is-sticky) .edb-navlist > li > a {
  color: rgba(255,255,255,.88);
}
.edb-header.is-transparent:not(.is-sticky) .edb-navlist > li > a:hover,
.edb-header.is-transparent:not(.is-sticky) .edb-navlist > li.is-active > a {
  color: #fff;
  background: rgba(255,255,255,.12);
}

/* Ícone chevron */
.edb-navlist .bi-chevron-down {
  font-size: 11px;
  opacity: .6;
  transition: transform .2s;
  pointer-events: none;
  line-height: 1;
}
.edb-navlist li.has-dropdown:hover .bi-chevron-down,
.edb-navlist li.has-dropdown.is-open .bi-chevron-down { transform: rotate(180deg); opacity: 1; }

/* ── Dropdown ── */
.edb-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: #fff;
  border: 1px solid var(--edb-gray-border);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(9,29,62,.13);
  padding: 8px;
  min-width: 248px;
  z-index: 10000;
  list-style: none;
  margin: 0;
}
/* Mostrar ao hover desktop */
.edb-navlist li.has-dropdown:hover > .edb-dropdown,
.edb-navlist li.has-dropdown.is-open > .edb-dropdown { display: block; }

.edb-dropdown li a {
  display: block;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--edb-navy) !important;
  background: transparent;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.edb-dropdown li a:hover { background: var(--edb-teal-light); color: var(--edb-teal) !important; }
.edb-dropdown__all { font-weight: 600; color: var(--edb-teal) !important; }
.edb-dropdown__divider { height: 1px; background: var(--edb-gray-border); margin: 6px 8px; }

/* ── CTA desktop ── */
.edb-header__cta {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.edb-header__socials { display: flex; gap: 2px; align-items: center; }
.edb-soc-link {
  width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: 13px;
  color: var(--edb-navy);
  text-decoration: none;
  transition: color .2s, background .2s;
}
.edb-soc-link:hover { color: var(--edb-teal); background: rgba(51,185,203,.1); }
.edb-header.is-transparent:not(.is-sticky) .edb-soc-link { color: rgba(255,255,255,.8); }
.edb-header.is-transparent:not(.is-sticky) .edb-soc-link:hover { color: #fff; background: rgba(255,255,255,.15); }

/* Botão CTA */
.edb-header__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  font-family: var(--edb-font-body);
  font-size: 13.5px;
  font-weight: 600;
  color: #fff !important;
  background: var(--edb-teal);
  border-radius: 50px;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s, transform .2s, box-shadow .2s;
  border: 1.5px solid transparent;
}
.edb-header__btn:hover {
  background: var(--edb-teal-dark);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(51,185,203,.4);
}
/* Variante vidro sobre hero escuro */
.edb-header.is-transparent:not(.is-sticky) .edb-header__btn {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.45);
  backdrop-filter: blur(4px);
}
.edb-header.is-transparent:not(.is-sticky) .edb-header__btn:hover {
  background: rgba(255,255,255,.24);
  box-shadow: none;
}
.edb-header.is-transparent:not(.is-sticky) .edb-header__pac-btn {
  color: #fff;
  border-color: rgba(255,255,255,.35);
  background: rgba(255,255,255,.08);
}
.edb-header.is-transparent:not(.is-sticky) .edb-header__pac-btn i { color: var(--edb-teal); }
.edb-header.is-transparent:not(.is-sticky) .edb-header__pac-btn:hover {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.6);
  color: #fff;
}

/* ── Hamburger (oculto em desktop) ── */
.edb-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 1.5px solid rgba(0,0,0,.2);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  margin-left: auto;
  flex-shrink: 0;
}
.edb-hamburger:focus { outline: none; box-shadow: none; }
.edb-hamburger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--edb-navy);
  border-radius: 2px;
  transition: background .2s, transform .25s, opacity .2s;
}
.edb-header.is-transparent:not(.is-sticky) .edb-hamburger { border-color: rgba(255,255,255,.35); }
.edb-header.is-transparent:not(.is-sticky) .edb-hamburger span { background: #fff; }

/* Hamburger animado quando aberto */
.edb-hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.edb-hamburger.is-active span:nth-child(2) { opacity: 0; }
.edb-hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Menu mobile ── */
.edb-mobile-menu {
  display: none;
  position: fixed;
  top: 76px; left: 0; right: 0;
  background: #fff;
  border-top: 1px solid var(--edb-gray-border);
  box-shadow: 0 12px 32px rgba(9,29,62,.12);
  max-height: calc(100vh - 76px);
  overflow-y: auto;
  z-index: 9998;
  padding: 12px 20px 24px;
}
.edb-mobile-menu.is-open { display: block; }
.edb-header.is-sticky ~ .edb-mobile-menu,
.edb-mobile-menu { top: 76px; }

.edb-mobile-navlist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.edb-mobile-navlist li a {
  display: block;
  padding: 11px 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--edb-navy);
  border-radius: 8px;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.edb-mobile-navlist li a:hover { background: var(--edb-teal-light); color: var(--edb-teal); }
.edb-mobile-navlist__cta a {
  background: var(--edb-teal) !important;
  color: #fff !important;
  font-weight: 600;
  text-align: center;
  border-radius: 50px !important;
  margin-top: 8px;
  padding: 12px 20px !important;
}
.edb-mobile-navlist__cta a:hover { background: var(--edb-teal-dark) !important; }

/* ── Responsivo mobile (<992px) ── */
@media (max-width: 991.98px) {
  body      { padding-top: 72px !important; }
  body.home { padding-top: 0 !important; }

  .edb-header         { height: 72px; }
  .edb-header.is-sticky { height: 64px !important; }
  .edb-header__inner  { padding: 0 20px; gap: 12px; }

  .edb-logo-img       { height: 150px; }

  .edb-header__nav    { display: none; } /* nav desktop oculta */
  .edb-header__cta    { display: none; } /* CTA desktop oculto */
  .edb-hamburger      { display: flex; }

  .edb-mobile-menu { top: 72px; }
  .edb-header.is-sticky + .edb-mobile-menu,
  .edb-header.is-sticky ~ .edb-mobile-menu { top: 64px; }
}

/* ── 6. HERO (front-page) ─────────────────────────────────── */
.edb-hero {
  /* padding-top = altura do navbar (210px) + espaço do conteúdo (40px)         */
  /* Assim o hero preenche desde o topo do viewport, o navbar flutua sobre ele  */
  padding: calc(210px + 40px) 0 100px;
  background: linear-gradient(135deg, var(--edb-navy) 0%, var(--edb-navy-light) 60%, #0d3a72 100%);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}
.edb-hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -80px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(51,185,203,.18) 0%, transparent 65%);
  pointer-events: none;
}
.edb-hero::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(51,185,203,.10) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Hero com imagem de fundo ─────────────────────────────
   Adiciona .has-bg-image via Customizer → Hero (página inicial)
   O overlay usa --edb-hero-overlay (padrão 0.65) para controle de opacidade
──────────────────────────────────────────────────────────── */
.edb-hero.has-bg-image {
  background-color: var(--edb-navy-dark);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
/* Substitui o glow decorativo pelo overlay escuro */
.edb-hero.has-bg-image::before {
  top: 0; right: 0;
  width: 100%; height: 100%;
  border-radius: 0;
  background: rgba(9, 29, 62, var(--edb-hero-overlay, 0.65));
  z-index: 0;
}
/* Remove o glow de canto inferior-esquerdo */
.edb-hero.has-bg-image::after { display: none; }
/* Garante que o conteúdo fique acima do overlay */
.edb-hero.has-bg-image > .container { position: relative; z-index: 1; }
.edb-hero.has-bg-image > .edb-hero__scroll-btn { position: relative; z-index: 1; }

.edb-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(51,185,203,.15);
  border: 1px solid rgba(51,185,203,.35);
  color: var(--edb-teal);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  padding: 7px 16px;
  border-radius: 50px;
  margin-bottom: 28px;
}
.edb-hero__badge i { font-size: 14px; }

.edb-hero__title {
  font-family: var(--edb-font-head);
  font-size: clamp(30px, 3.6vw, 52px);
  font-weight: 800;
  color: var(--edb-white);
  line-height: 1.15;
  letter-spacing: -0.3px;
  margin-bottom: 24px;
}
.edb-hero__title span { color: var(--edb-teal); }

.edb-hero__text {
  font-size: 17px;
  color: rgba(255,255,255,.78);
  line-height: 1.85;
  max-width: 480px;
  margin-bottom: 40px;
}

.edb-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.edb-hero__img {
  position: relative;
  z-index: 1;
  margin-bottom: -100px; /* cancela o padding-bottom do hero para encostar na borda */
}
.edb-hero__img img {
  width: 100%;
  height: auto;
  max-height: 680px;
  object-fit: contain;
  object-position: center bottom;
  display: block;
}

/* ── Seta scroll-down ── */
.edb-hero__scroll-btn {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px; height: 44px;
  border: 2px solid rgba(255,255,255,.35);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: 18px;
  text-decoration: none;
  transition: border-color .25s, color .25s, transform .25s;
  animation: edb-bounce 2s infinite;
}
.edb-hero__scroll-btn:hover {
  border-color: var(--edb-teal);
  color: var(--edb-teal);
  animation: none;
  transform: translateX(-50%) translateY(4px);
}
@keyframes edb-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

.edb-hero__stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.edb-hero__stat-num {
  font-family: var(--edb-font-head);
  font-size: 36px;
  font-weight: 800;
  color: var(--edb-teal);
  line-height: 1;
}
.edb-hero__stat-label {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  margin-top: 4px;
}

/* ── 7. SEÇÃO: Tratamentos ────────────────────────────────── */
.edb-services { background: var(--edb-off-white); }

.edb-service-card {
  background: var(--edb-white);
  border: 1px solid var(--edb-gray-border);
  border-radius: var(--edb-radius);
  padding: 32px 28px;
  height: 100%;
  transition: transform var(--edb-transition), box-shadow var(--edb-transition), border-color var(--edb-transition);
  position: relative;
  overflow: hidden;
}
.edb-service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--edb-teal);
  transform: scaleX(0);
  transition: transform var(--edb-transition);
  transform-origin: left;
}
.edb-service-card:hover { transform: translateY(-6px); box-shadow: var(--edb-shadow-lg); border-color: transparent; }
.edb-service-card:hover::before { transform: scaleX(1); }

.edb-service-card__icon {
  width: 52px; height: 52px;
  background: var(--edb-teal-light);
  color: var(--edb-teal);
  border-radius: var(--edb-radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
  transition: background var(--edb-transition), color var(--edb-transition);
}
.edb-service-card:hover .edb-service-card__icon { background: var(--edb-teal); color: var(--edb-white); }

.edb-service-card__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--edb-navy);
  margin-bottom: 10px;
}
.edb-service-card__text { font-size: 14.5px; color: var(--edb-gray-text); line-height: 1.7; margin-bottom: 20px; }
.edb-service-card__link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--edb-teal);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.edb-service-card__link:hover { gap: 10px; }

/* ── 8. SEÇÃO: Sobre ──────────────────────────────────────── */
.edb-about { background: var(--edb-white); }
.edb-about__img { border-radius: var(--edb-radius-lg); overflow: hidden; box-shadow: var(--edb-shadow-lg); }
.edb-about__img img { width: 100%; object-fit: cover; display: block; }

.edb-about__credentials { display: flex; flex-direction: column; gap: 14px; margin-top: 36px; }
.edb-credential {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: var(--edb-off-white);
  border-radius: var(--edb-radius-sm);
  border: 1px solid var(--edb-gray-border);
}
.edb-credential i { font-size: 20px; color: var(--edb-teal); flex: none; }
.edb-credential span { font-size: 14px; font-weight: 500; color: var(--edb-navy); }

/* ── 9. SEÇÃO: Depoimentos ───────────────────────────────── */
/* ── Seção de Vídeo ─────────────────────────────────────── */
.edb-video-section {
  position: relative;
  padding: 160px 0;
  background: var(--edb-navy-dark) center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.edb-video-section__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(9,29,62,.60) 0%,
    rgba(9,29,62,.80) 50%,
    rgba(9,29,62,.95) 100%
  );
}
.edb-video-section__sub {
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--edb-teal);
  font-weight: 600;
}
.edb-video-section__title {
  font-family: var(--edb-font-head);
  font-size: clamp(24px, 4vw, 48px);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  max-width: 640px;
  margin-inline: auto;
}
.edb-video-section__play {
  position: relative;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,.55);
  background: rgba(51,185,203,.20);
  color: #fff;
  font-size: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .3s, border-color .3s, transform .3s;
  backdrop-filter: blur(6px);
  padding-left: 4px; /* corrige alinhamento óptico do ícone play */
}
.edb-video-section__play:hover {
  background: var(--edb-teal);
  border-color: var(--edb-teal);
  transform: scale(1.1);
  box-shadow: 0 0 0 18px rgba(51,185,203,.15);
}
.edb-video-section__play::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid rgba(51,185,203,.45);
  animation: edb-ripple 2.2s ease-out infinite;
}
@keyframes edb-ripple {
  0%   { transform: scale(1);   opacity: .8; }
  100% { transform: scale(2.2); opacity: 0;  }
}

.edb-testimonials { background: var(--edb-navy); }
.edb-testimonials .edb-section-title { color: var(--edb-white); }
.edb-testimonials .edb-label { color: var(--edb-teal); }

.edb-testimonial-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.09);
  border-top: 3px solid var(--edb-teal);
  border-radius: var(--edb-radius);
  padding: 36px 32px 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: background var(--edb-transition), border-color var(--edb-transition), transform var(--edb-transition);
}
.edb-testimonial-card:hover {
  background: rgba(255,255,255,.09);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.3);
}
.edb-testimonial-card__quote {
  font-family: Georgia, serif;
  font-size: 72px;
  line-height: .8;
  color: var(--edb-teal);
  opacity: .45;
  display: block;
  margin-bottom: 12px;
}
.edb-testimonial-card__text {
  font-size: 15px;
  color: rgba(255,255,255,.82);
  line-height: 1.85;
  flex: 1;
  margin-bottom: 0;
}
.edb-testimonial-card__footer {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.edb-testimonial-card__stars {
  color: #F5C518;
  font-size: 13px;
  letter-spacing: 3px;
  margin-bottom: 14px;
}
.edb-testimonial-card__author { display: flex; align-items: center; gap: 14px; }
.edb-testimonial-card__avatar {
  width: 50px; height: 50px; border-radius: 50%;
  background: linear-gradient(135deg, var(--edb-teal) 0%, var(--edb-teal-dark) 100%);
  color: var(--edb-white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--edb-font-head);
  font-weight: 700; font-size: 17px;
  flex: none;
  box-shadow: 0 0 0 3px rgba(51,185,203,.25);
}
.edb-testimonial-card__avatar--photo {
  width: 50px; height: 50px; border-radius: 50%;
  object-fit: cover; flex: none;
  box-shadow: 0 0 0 3px rgba(51,185,203,.25);
}
.edb-testimonial-card__name { font-size: 14px; font-weight: 700; color: var(--edb-white); line-height: 1.3; }
.edb-testimonial-card__proc { font-size: 12px; color: var(--edb-teal); margin-top: 2px; }
.edb-testimonials__google-link {
  font-size: 13px; font-weight: 500; color: rgba(255,255,255,.5);
  text-decoration: none; transition: color .2s;
}
.edb-testimonials__google-link:hover { color: rgba(255,255,255,.8); }

/* ── 10. SEÇÃO: Blog (home + seção front-page) ───────────── */
.edb-blog { background: var(--edb-off-white); }

/* ── Blog Archive (home.php) ─────────────────────────────── */
.edb-blog-archive { padding: 72px 0 96px; }

/* Hero do blog com subtítulo */
.edb-page-hero--blog .edb-page-hero__subtitle {
  font-size: 16px;
  color: rgba(255,255,255,.75);
  margin-top: 8px;
  font-weight: 400;
}

/* Post Card base */
.edb-post-card {
  background: var(--edb-white);
  border-radius: var(--edb-radius);
  overflow: hidden;
  height: 100%;
  border: 1px solid var(--edb-gray-border);
  transition: transform var(--edb-transition), box-shadow var(--edb-transition);
  display: flex;
  flex-direction: column;
}
.edb-post-card:hover { transform: translateY(-6px); box-shadow: var(--edb-shadow-lg); }

/* Thumb */
.edb-post-card__thumb {
  height: 210px;
  overflow: hidden;
  background: var(--edb-gray-light);
  position: relative;
}
.edb-post-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.edb-post-card:hover .edb-post-card__thumb img { transform: scale(1.06); }

.edb-post-card__thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--edb-navy) 0%, var(--edb-navy-light) 100%);
  color: rgba(255,255,255,.25);
  font-size: 48px;
}

/* Body */
.edb-post-card__body { padding: 26px; flex: 1; display: flex; flex-direction: column; }

.edb-post-card__cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--edb-teal);
  margin-bottom: 10px;
}
.edb-post-card__cat:hover { color: var(--edb-teal-dark); }

.edb-post-card__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--edb-navy);
  line-height: 1.35;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.edb-post-card__title a { color: inherit; }
.edb-post-card__title a:hover { color: var(--edb-teal); }

.edb-post-card__excerpt { font-size: 14px; color: var(--edb-gray-text); line-height: 1.75; flex: 1; margin-bottom: 20px; }

.edb-post-card__meta {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--edb-gray-border);
  gap: 8px;
}
.edb-post-card__date { font-size: 12px; color: #a0aec0; display: flex; align-items: center; gap: 5px; }
.edb-post-card__read-more {
  font-size: 13px; font-weight: 600;
  color: var(--edb-teal);
  display: inline-flex; align-items: center; gap: 5px;
  white-space: nowrap;
}
.edb-post-card__read-more:hover { gap: 9px; color: var(--edb-teal-dark); }

/* Card destaque (primeiro post — ocupa mais espaço) */
.edb-post-card--featured .edb-post-card__thumb { height: 320px; }
.edb-post-card--featured .edb-post-card__title { font-size: 22px; -webkit-line-clamp: 3; }
.edb-post-card--featured .edb-post-card__excerpt { font-size: 15px; }

/* Paginação */
.edb-pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; margin-top: 56px; flex-wrap: wrap;
}
.edb-pagination a, .edb-pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 14px;
  border-radius: 8px;
  font-size: 14px; font-weight: 500;
  border: 1px solid var(--edb-gray-border);
  color: var(--edb-navy);
  background: var(--edb-white);
  transition: all var(--edb-transition);
}
.edb-pagination a:hover { background: var(--edb-teal); color: #fff; border-color: var(--edb-teal); }
.edb-pagination .current { background: var(--edb-teal); color: #fff; border-color: var(--edb-teal); }

/* Estado vazio */
.edb-blog-empty {
  text-align: center; padding: 80px 20px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.edb-blog-empty h3 { color: var(--edb-navy); font-size: 22px; }
.edb-blog-empty p { color: var(--edb-gray-text); max-width: 420px; }

/* Links legados (archive.php, single.php) */
.edb-post-card__footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.edb-post-card__link { font-size: 13px; font-weight: 600; color: var(--edb-teal); display: inline-flex; align-items: center; gap: 5px; }
.edb-post-card__link:hover { gap: 9px; }

/* ── 11. SEÇÃO: CTA central ───────────────────────────────── */
.edb-cta-section {
  background: linear-gradient(135deg, var(--edb-teal) 0%, #27a0b0 100%);
  padding: 80px 0;
}
.edb-cta-section h2 { color: var(--edb-white); font-size: clamp(26px, 3.5vw, 40px); }
.edb-cta-section p { color: rgba(255,255,255,.85); font-size: 17px; }

/* ── 12. FOOTER ──────────────────────────────────────────── */
.edb-footer {
  background: linear-gradient(180deg, #060f24 0%, #04091a 100%);
  color: rgba(255,255,255,.75);
}

/* Linha de acento teal no topo do corpo */
.edb-footer-accent-line {
  height: 3px;
  background: linear-gradient(90deg, var(--edb-teal) 0%, rgba(51,185,203,.15) 60%, transparent 100%);
  margin-bottom: 72px;
}

/* CTA faixa */
.edb-footer-cta {
  background: var(--edb-navy);
  padding: 56px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.edb-footer-cta__label {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--edb-teal);
  margin-bottom: 8px;
}
.edb-footer-cta__title {
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 700;
  color: var(--edb-white);
  margin-bottom: 0;
}

/* Corpo */
.edb-footer-body { padding: 0 0 56px; }

.edb-footer-logo { display: flex; flex-direction: column; text-decoration: none; margin-bottom: 18px; }
.edb-footer-logo__name { font-family: var(--edb-font-head); font-weight: 700; font-size: 18px; color: var(--edb-white); }
.edb-footer-logo__title { font-size: 12px; color: var(--edb-teal); letter-spacing: 0.5px; margin-top: 2px; }

.edb-footer-desc { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,.55); margin-bottom: 24px; }

.edb-footer-socials { display: flex; gap: 10px; }
.edb-footer-socials a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--edb-radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.65);
  font-size: 16px;
  transition: background var(--edb-transition), color var(--edb-transition), border-color var(--edb-transition);
}
.edb-footer-socials a:hover { background: var(--edb-teal); color: var(--edb-white); border-color: var(--edb-teal); }

.edb-footer-heading {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--edb-white);
  margin-bottom: 18px;
}

.edb-footer-links { list-style: none; padding: 16px 0 0 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.edb-footer-links a { font-size: 14px; color: rgba(255,255,255,.55); text-decoration: none; transition: color var(--edb-transition); }
.edb-footer-links a:hover { color: var(--edb-teal); padding-left: 4px; }

.edb-footer-contact { list-style: none; padding: 16px 0 0 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.edb-footer-contact li { display: flex; align-items: flex-start; gap: 12px; }
.edb-footer-contact i { color: var(--edb-teal); font-size: 16px; flex: none; margin-top: 2px; }
.edb-footer-contact span,
.edb-footer-contact a { font-size: 14px; color: rgba(255,255,255,.6); text-decoration: none; transition: color var(--edb-transition); }
.edb-footer-contact a:hover { color: var(--edb-teal); }

/* Badge CRM na col da marca */
.edb-footer-crm-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--edb-teal);
  background: rgba(51,185,203,.1);
  border: 1px solid rgba(51,185,203,.25);
  border-radius: 100px;
  padding: 4px 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Cards de post no rodapé */
.edb-footer-posts { display: flex; flex-direction: column; gap: 16px; margin-bottom: 18px; }

.edb-footer-post {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  text-decoration: none;
  padding: 14px;
  border-radius: var(--edb-radius-sm);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  transition: background var(--edb-transition), border-color var(--edb-transition);
}
.edb-footer-post:hover {
  background: rgba(51,185,203,.08);
  border-color: rgba(51,185,203,.25);
}

.edb-footer-post__thumb {
  width: 56px; height: 56px;
  border-radius: var(--edb-radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(51,185,203,.12);
}
.edb-footer-post__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.edb-footer-post__placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  color: var(--edb-teal);
}

.edb-footer-post__body { flex: 1; min-width: 0; }
.edb-footer-post__date {
  display: block;
  font-size: 11px;
  color: var(--edb-teal);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.edb-footer-post__title {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.edb-footer-post:hover .edb-footer-post__title { color: #fff; }

.edb-footer-blog-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--edb-teal);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--edb-transition), opacity var(--edb-transition);
}
.edb-footer-blog-link:hover { opacity: .8; gap: 8px; color: var(--edb-teal); }

/* Barra inferior */
.edb-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 20px 0;
  font-size: 13px;
  color: rgba(255,255,255,.35);
}
.edb-footer-bottom p { margin: 0; }
.edb-footer-bottom__link {
  color: rgba(255,255,255,.35);
  text-decoration: none;
  transition: color var(--edb-transition);
}
.edb-footer-bottom__link:hover { color: var(--edb-teal); }
.edb-footer-bottom__sep { margin: 0 8px; }

/* ── 13. WhatsApp flutuante ──────────────────────────────── */
.edb-whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 999;
  width: 56px; height: 56px;
  background: #25D366;
  color: var(--edb-white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  box-shadow: 0 6px 20px rgba(37,211,102,.4);
  transition: transform var(--edb-transition), box-shadow var(--edb-transition);
}
.edb-whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 10px 28px rgba(37,211,102,.55); color: var(--edb-white); }

/* ── Voltar ao topo ──────────────────────────────────────── */
.edb-back-top {
  position: fixed;
  bottom: 96px; /* acima do botão WhatsApp */
  right: 28px;
  z-index: 998;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(51,185,203,.35);
  background: rgba(9,29,62,.72);
  color: var(--edb-teal);
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .35s ease, transform .35s ease, background .25s, border-color .25s;
}
.edb-back-top--visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.edb-back-top:hover {
  background: var(--edb-teal);
  border-color: var(--edb-teal);
  color: #fff;
}

/* ── 14. Page Hero (páginas internas) ───────────────────── */
.edb-page-hero {
  background: linear-gradient(135deg, var(--edb-navy-dark) 0%, var(--edb-navy-light) 100%);
  padding: 28px 0 24px;
  position: relative;
  overflow: hidden;
}

/* Quando tem imagem de fundo */
.edb-page-hero--img {
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
.edb-page-hero--img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6,15,36,.88) 0%, rgba(9,29,62,.80) 100%);
}

/* Malha decorativa (igual à home) */
.edb-page-hero__mesh {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(51,185,203,.10) 0%, transparent 55%),
    radial-gradient(circle at 80% 20%, rgba(51,185,203,.08) 0%, transparent 50%);
  pointer-events: none;
}

/* Linha teal no fundo */
.edb-page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--edb-teal), transparent);
}

.edb-page-hero__inner { position: relative; z-index: 1; }

.edb-page-hero__title {
  color: var(--edb-white) !important;
  font-size: clamp(22px, 2.8vw, 38px) !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  margin-bottom: 8px !important;
}

.edb-page-hero__sub {
  color: rgba(255,255,255,.72);
  font-size: 17px;
  max-width: 620px;
  margin-bottom: 0;
}

/* Breadcrumb */
.edb-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255,255,255,.45);
  margin-bottom: 10px;
}
.edb-breadcrumb a { color: rgba(255,255,255,.45); }
.edb-breadcrumb a:hover { color: var(--edb-teal); }
.edb-breadcrumb span { color: var(--edb-teal); font-weight: 500; }
.edb-breadcrumb i { font-size: 10px; }

/* ── 14b. Page Body — conteúdo + sidebar ────────────────── */
.edb-page-body { padding: 72px 0 80px; }

/* Conteúdo principal */
.edb-page-article .entry-content h2 { font-size: clamp(22px, 3vw, 32px); color: var(--edb-navy); margin: 40px 0 14px !important; font-weight: 700; }
.edb-page-article .entry-content h3 { font-size: clamp(18px, 2.5vw, 24px); color: var(--edb-navy); margin: 32px 0 12px !important; font-weight: 600; }
.edb-page-article .entry-content p { font-size: 16.5px; line-height: 1.85; color: var(--edb-gray-text); margin-bottom: 20px; }
.edb-page-article .entry-content img { border-radius: var(--edb-radius); margin: 24px 0; max-width: 100%; }
.edb-page-article .entry-content ul,
.edb-page-article .entry-content ol { padding-left: 28px; margin-bottom: 20px; font-size: 16px; line-height: 1.85; color: var(--edb-gray-text); }
.edb-page-article .entry-content li { margin-bottom: 8px; }
.edb-page-article .entry-content a { color: var(--edb-teal); text-decoration: underline; }
.edb-page-article .entry-content strong { color: var(--edb-navy); }

/* Sidebar */
.edb-page-sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 108px; }

.edb-sidebar-card {
  background: var(--edb-white);
  border: 1px solid var(--edb-gray-border);
  border-radius: var(--edb-radius);
  padding: 28px 24px;
  box-shadow: var(--edb-shadow-sm);
}

/* Card CTA (destaque) */
.edb-sidebar-card--cta {
  background: linear-gradient(135deg, var(--edb-navy-dark) 0%, var(--edb-navy) 100%);
  border-color: transparent;
  text-align: center;
}
.edb-sidebar-card--cta .edb-sidebar-card__icon {
  width: 52px; height: 52px;
  background: rgba(51,185,203,.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 22px; color: var(--edb-teal);
}
.edb-sidebar-card--cta .edb-sidebar-card__title {
  color: var(--edb-white);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px !important;
}
.edb-sidebar-card--cta .edb-sidebar-card__text { color: rgba(255,255,255,.65); font-size: 14px; margin-bottom: 20px; }

/* Heading dos cards simples */
.edb-sidebar-card__heading {
  font-size: 15px;
  font-weight: 700;
  color: var(--edb-navy);
  margin-bottom: 16px !important;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--edb-teal);
  display: flex; align-items: center;
}
.edb-sidebar-card__heading i { color: var(--edb-teal); }

/* Lista de links da sidebar */
.edb-sidebar-links { list-style: none; padding: 0; margin: 0; }
.edb-sidebar-links li { border-bottom: 1px solid var(--edb-gray-border); }
.edb-sidebar-links li:last-child { border: none; }
.edb-sidebar-links a {
  display: flex; align-items: center;
  padding: 9px 0;
  color: var(--edb-gray-text);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--edb-transition), padding-left var(--edb-transition);
}
.edb-sidebar-links a i { font-size: 18px; color: var(--edb-teal); margin-right: 4px; flex-shrink: 0; }
.edb-sidebar-links a:hover { color: var(--edb-teal); padding-left: 4px; }
.edb-sidebar-links__all a {
  color: var(--edb-teal);
  font-weight: 600;
  font-size: 13px;
  padding-top: 12px;
}

/* Card contato */
.edb-sidebar-card--contact .edb-sidebar-card__text { font-size: 14px; color: var(--edb-gray-text); }
.edb-sidebar-contact-link {
  display: flex; align-items: center; gap: 8px;
  color: var(--edb-navy);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}
.edb-sidebar-contact-link i { color: var(--edb-teal); }
.edb-sidebar-contact-link:hover { color: var(--edb-teal); }

/* ── 14c. CTA Section (final da página interna) ─────────── */
.edb-page-cta-section {
  background: linear-gradient(135deg, var(--edb-navy-dark) 0%, var(--edb-navy) 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.edb-page-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 50%, rgba(51,185,203,.12) 0%, transparent 60%);
  pointer-events: none;
}
.edb-page-cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.edb-page-cta__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--edb-teal);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 8px;
}
.edb-page-cta__title {
  color: var(--edb-white);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  margin-bottom: 0 !important;
}
.edb-page-cta__actions { display: flex; gap: 16px; flex-wrap: wrap; flex-shrink: 0; }

/* ── 14d. Elementor content — normalização nas páginas internas ── */

/* Esconde a 1ª seção Elementor (hero/banner duplicado) nas páginas com nosso hero */
body.edb-has-page-hero .elementor > .elementor-section:first-child,
body.edb-has-page-hero .elementor > .e-con:first-child {
  display: none !important;
}

/* Desabilita animações de entrada do Elementor em páginas internas
   (cobre tanto .elementor-invisible quanto widgets com animated/fadeIn* sem a classe) */
body.edb-has-page-hero .elementor-invisible,
body.edb-has-page-hero .elementor-widget {
  opacity: 1 !important;
  visibility: visible !important;
  animation-duration: 0.001s !important;
  animation-delay: 0s !important;
}

/* Typography padronizada nos widgets Elementor para combinar com o tema */
body.edb-has-page-hero .elementor-widget-heading .elementor-heading-title { color: var(--edb-navy) !important; }
body.edb-has-page-hero .elementor-widget-text-editor p { font-size: 16px !important; line-height: 1.85 !important; color: var(--edb-gray-text) !important; }

/* Sidebar "Outros serviços" — alinha com identidade do tema */
body.edb-has-page-hero .elementor-widget-button .elementor-button { border-radius: 8px !important; font-family: var(--edb-font-body) !important; font-size: 14px !important; font-weight: 500 !important; }
body.edb-has-page-hero .elementor-widget-button .elementor-button:hover { background: var(--edb-teal) !important; color: #fff !important; border-color: var(--edb-teal) !important; }

/* ── 15. Blog: Single Post ───────────────────────────────── */


.edb-single-content { padding: 80px 0; }
.edb-single-content .entry-content h2 { font-size: 26px; margin: 40px 0 16px !important; }
.edb-single-content .entry-content h3 { font-size: 21px; margin: 32px 0 14px !important; }
.edb-single-content .entry-content p { font-size: 16.5px; line-height: 1.85; margin-bottom: 20px; }
.edb-single-content .entry-content img { border-radius: var(--edb-radius); margin: 24px 0; }
.edb-single-content .entry-content ul,
.edb-single-content .entry-content ol { padding-left: 28px; margin-bottom: 20px; font-size: 16px; line-height: 1.8; }

.edb-post-meta { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--edb-gray-border); }
.edb-post-meta span { font-size: 13.5px; color: var(--edb-gray-text); display: flex; align-items: center; gap: 6px; }
.edb-post-meta i { color: var(--edb-teal); }

/* Sidebar */
.edb-sidebar { padding-left: 40px; }
.edb-sidebar .widget-title { font-size: 16px; font-weight: 700; color: var(--edb-navy); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--edb-teal); }

/* ── 16. Responsivo ──────────────────────────────────────── */
@media (max-width: 991.98px) {
  section { padding: 72px 0; }
  .edb-hero { padding: 60px 0; }
  .edb-sidebar { padding-left: 0; margin-top: 48px; }
  .edb-cta-nav { width: 100%; margin-top: 12px; text-align: center; justify-content: center; }
  .edb-header .navbar-collapse { padding: 16px 0; border-top: 1px solid var(--edb-gray-border); margin-top: 8px; }

  /* Páginas internas mobile */
  .edb-page-hero { padding: 20px 0 18px; }
  .edb-page-body { padding: 48px 0 60px; }
  .edb-page-sidebar { position: static; margin-top: 0; }
  .edb-page-cta-inner { flex-direction: column; text-align: center; }
  .edb-page-cta__actions { justify-content: center; }
}

@media (max-width: 575.98px) {
  .edb-hero__title { font-size: 36px; }
  .edb-footer-cta__title { font-size: 22px; }
  .edb-whatsapp-float { bottom: 18px; right: 18px; width: 50px; height: 50px; font-size: 22px; }
  .edb-page-hero__title { font-size: 28px; }
}

/* ── Page: Sobre mim (page-id-109) ───────────────────────────── */

/* Foto do Dr. — moldura + sombra */
body.page-id-109 [data-id="77146300"] .elementor-widget-image img {
  border-radius: 20px !important;
  box-shadow: 0 32px 80px rgba(9,29,62,.22) !important;
  width: 100% !important;
  display: block;
}

/* CRM / RQE — pill/badge */
body.page-id-109 [data-id="77146300"] .elementor-widget-text-editor p:first-of-type {
  display: inline-block !important;
  background: rgba(51,185,203,.1) !important;
  color: var(--edb-teal) !important;
  border: 1px solid rgba(51,185,203,.35) !important;
  border-radius: 100px !important;
  padding: 5px 18px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: .4px !important;
  margin-bottom: 18px !important;
}

/* Seção "ATUA NOS MELHORES HOSPITAIS" — callout com fundo leve */
body.page-id-109 [data-id="dfb91c2"] {
  background: #f4f7fc !important;
}
body.page-id-109 [data-id="dfb91c2"] > .e-con-inner {
  border-left: 4px solid var(--edb-teal);
  padding-left: 32px !important;
}

/* Logos hospitalares — grayscale com hover colorido */
body.page-id-109 [data-id="10b7f01"],
body.page-id-109 [data-id="8efbb92"] {
  background: #fff !important;
  padding-top: 32px !important;
  padding-bottom: 32px !important;
  border-bottom: 1px solid #eef0f6;
}
body.page-id-109 [data-id="10b7f01"] img,
body.page-id-109 [data-id="8efbb92"] img {
  filter: grayscale(100%) !important;
  opacity: .5 !important;
  transition: filter .3s, opacity .3s !important;
  max-height: 52px !important;
  width: auto !important;
  object-fit: contain !important;
}
body.page-id-109 [data-id="10b7f01"] img:hover,
body.page-id-109 [data-id="8efbb92"] img:hover {
  filter: grayscale(0%) !important;
  opacity: 1 !important;
}

/* Seções de vídeo — fundo navy para destaque */
body.page-id-109 [data-id="d2454e8"],
body.page-id-109 [data-id="d80d1ba"] {
  background: var(--edb-navy-dark) !important;
  padding-top: 56px !important;
  padding-bottom: 56px !important;
}
body.page-id-109 [data-id="d2454e8"] .elementor-heading-title,
body.page-id-109 [data-id="d80d1ba"] .elementor-heading-title {
  color: #fff !important;
}
body.page-id-109 [data-id="d2454e8"] .elementor-widget-video,
body.page-id-109 [data-id="d80d1ba"] .elementor-widget-video {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 72px rgba(0,0,0,.45);
  max-height: 420px !important;
}

/* Vídeo portrait enorme — limitar altura e centralizar */
body.page-id-109 [data-id="d80d1ba"] video.elementor-video {
  max-height: 420px !important;
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}
body.page-id-109 [data-id="d80d1ba"] iframe.elementor-video {
  max-height: 420px !important;
  aspect-ratio: 16/9;
  width: 100% !important;
  height: auto !important;
}
/* Constrain the oversized inner container */
body.page-id-109 [data-id="e237278"] {
  max-height: 460px !important;
  overflow: hidden !important;
}

/* ── Tratamentos (page-id-115): lista horizontal estilo editorial ──
   Imagem à esquerda, texto à direita, itens separados por divisa.
   Inspirado em layouts de blog-list com leitura escaneável.
──────────────────────────────────────────────────────────────────── */

/* Fundo e padding da seção do heading ("Encontre o tratamento ideal") */
body.page-id-115 [data-id="628b8b3e"] {
  background: #fff !important;
}

/* Seção principal dos tratamentos — fundo branco */
body.page-id-115 [data-id="7493609"] {
  background: #fff !important;
  padding-bottom: 80px !important;
}

/* Empilha as 3 colunas col-33 verticalmente → lista única */
body.page-id-115 [data-id="7493609"] > .elementor-container {
  flex-direction: column !important;
  max-width: 960px !important;
  padding: 0 24px !important;
}

body.page-id-115 [data-id="7493609"] .elementor-col-33 {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
}

body.page-id-115 [data-id="7493609"] .elementor-widget-wrap {
  padding: 0 !important;
}

/* Widgets sem margem extra */
body.page-id-115 .elementor-widget-tfimagebox {
  margin-bottom: 0 !important;
}

/* ── Item de lista: horizontal ── */
body.page-id-115 .tf-imagebox.style-1 {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 48px !important;
  padding: 52px 0 !important;
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid #e8ecf0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
  height: auto !important;
  transition: none !important;
}

/* Último item: sem linha divisória */
body.page-id-115 .elementor-widget-tfimagebox:last-child .tf-imagebox.style-1,
body.page-id-115 .elementor-inner-column:last-child .elementor-widget-tfimagebox:last-child .tf-imagebox.style-1 {
  border-bottom: none !important;
}

/* Hover: sutil sombra só na imagem */
body.page-id-115 .tf-imagebox.style-1:hover {
  transform: none !important;
  box-shadow: none !important;
}

/* ── Imagem ── */
body.page-id-115 .tf-imagebox.style-1 .image {
  width: 380px !important;
  height: 253px !important;
  flex-shrink: 0 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: var(--edb-navy) !important;
  position: relative !important;
  box-shadow: 0 8px 24px rgba(9,29,62,.12) !important;
  transition: box-shadow var(--edb-transition) !important;
}

body.page-id-115 .tf-imagebox.style-1:hover .image {
  box-shadow: 0 16px 40px rgba(9,29,62,.2) !important;
}

body.page-id-115 .tf-imagebox.style-1 .image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform .5s ease !important;
}

body.page-id-115 .tf-imagebox.style-1:hover .image img {
  transform: scale(1.05) !important;
}

body.page-id-115 .tf-imagebox.style-1 .image-overlay {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(9,29,62,.06) !important;
  border-radius: 12px !important;
  transition: background var(--edb-transition) !important;
  pointer-events: none !important;
}

body.page-id-115 .tf-imagebox.style-1:hover .image-overlay {
  background: rgba(9,29,62,.14) !important;
}

/* ── Título overlay: oculto ── */
body.page-id-115 .tf-imagebox.style-1 .content-only {
  display: none !important;
}

/* ── Conteúdo texto ── */
body.page-id-115 .tf-imagebox.style-1 .content {
  flex: 1 !important;
  position: static !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  background: transparent !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

/* Título */
body.page-id-115 .tf-imagebox.style-1 .title {
  font-size: clamp(18px, 1.8vw, 22px) !important;
  font-weight: 700 !important;
  color: var(--edb-navy) !important;
  line-height: 1.3 !important;
  margin-bottom: 14px !important;
  font-family: var(--edb-font-head) !important;
}

body.page-id-115 .tf-imagebox.style-1 .title a {
  color: inherit !important;
  text-decoration: none !important;
  transition: color var(--edb-transition) !important;
}

body.page-id-115 .tf-imagebox.style-1 .title a:hover {
  color: var(--edb-teal) !important;
}

/* Descrição */
body.page-id-115 .tf-imagebox.style-1 .description {
  font-size: 15px !important;
  color: var(--edb-gray-text) !important;
  line-height: 1.75 !important;
  margin-bottom: 28px !important;
}

/* ── Botão ── */
body.page-id-115 .tf-imagebox.style-1 .tf-button-container {
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: none !important;
  display: block !important;
}

/* Botão sólido teal — mesma cor dos CTAs principais do site */
.elementor-page-115 .tf-imagebox.style-1 .tf-button,
body.page-id-115 .tf-imagebox.style-1 .tf-button {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  width: auto !important;
  background: var(--edb-teal) !important;
  background-color: var(--edb-teal) !important;
  border-style: none !important;
  border-width: 0 !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 11px 22px !important;
  margin: 0 !important;
  letter-spacing: 0.2px !important;
  text-decoration: none !important;
  text-transform: none !important;
  line-height: 1.4 !important;
  white-space: nowrap !important;
  transition: background var(--edb-transition), transform var(--edb-transition) !important;
}

.elementor-page-115 .tf-imagebox.style-1 .tf-button:hover,
body.page-id-115 .tf-imagebox.style-1 .tf-button:hover {
  background: var(--edb-navy) !important;
  background-color: var(--edb-navy) !important;
  color: #fff !important;
  border-style: none !important;
  border-width: 0 !important;
  transform: translateX(3px) !important;
}

/* Ícone "fasfa" oculto → seta via ::after */
.elementor-page-115 .tf-imagebox.style-1 .tf-button i,
.elementor-page-115 .tf-imagebox.style-1 .tf-button svg,
body.page-id-115 .tf-imagebox.style-1 .tf-button i,
body.page-id-115 .tf-imagebox.style-1 .tf-button svg {
  display: none !important;
}

.elementor-page-115 .tf-imagebox.style-1 .tf-button::after,
body.page-id-115 .tf-imagebox.style-1 .tf-button::after {
  content: '→' !important;
  font-size: 14px !important;
  display: inline !important;
}

/* ── Responsivo ── */
@media (max-width: 768px) {
  body.page-id-115 .tf-imagebox.style-1 {
    flex-direction: column !important;
    gap: 24px !important;
    padding: 36px 0 !important;
  }

  body.page-id-115 .tf-imagebox.style-1 .image {
    width: 100% !important;
    height: 220px !important;
  }
}

/* Título da seção "Encontre o tratamento ideal" */
body.page-id-115 [data-id="7cadf3b"] .elementor-heading-title {
  font-size: clamp(22px, 2.5vw, 32px) !important;
  color: var(--edb-navy) !important;
  font-weight: 700 !important;
  position: relative !important;
  padding-bottom: 16px !important;
}

body.page-id-115 [data-id="7cadf3b"] .elementor-heading-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 48px; height: 3px;
  background: var(--edb-teal);
  border-radius: 2px;
}

/* ── page-tratamentos.php — layout POFO blog-list ───────────────── */

/* ── Page title section — estilo POFO parallax ── */
.edb-pt-section {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  background-color: #0d1b2e;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  text-align: center;
}

.edb-pt-section__overlay {
  position: absolute; inset: 0; pointer-events: none;
  background: rgba(10, 18, 35, 0.72);
}

.edb-pt-section .container { position: relative; z-index: 2; padding: 80px 16px; }

.edb-pt-section__title {
  font-size: clamp(28px, 4vw, 48px) !important;
  font-weight: 700 !important;
  color: #fff !important;
  font-family: var(--edb-font-head);
  letter-spacing: -.5px;
  line-height: 1.15;
  margin: 0 0 14px !important;
}

.edb-pt-section__sub {
  color: rgba(255,255,255,.65) !important;
  font-size: 15px;
  display: block;
  font-family: var(--edb-font-head);
}

/* Section wrapper */
.edb-trat-section { padding: 70px 0 80px; background: #fff; }
.edb-trat-article { margin-bottom: 40px; }

/* ── Blog item (POFO blog-list card) ─── */
.edb-bi {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid #ebebeb;
}

.edb-bi--last {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Image column — ~40% width like POFO col-lg-5 */
.edb-bi__img-col {
  flex: 0 0 42%;
  max-width: 42%;
  padding-right: 45px;
}

.edb-bi__img-wrap {
  display: block;
  overflow: hidden;
  line-height: 0;
}

.edb-bi__img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .5s ease;
}

.edb-bi__img-wrap:hover img { transform: scale(1.04); }

.edb-bi__img-placeholder {
  width: 100%;
  aspect-ratio: 10/7;
  background: var(--edb-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: rgba(255,255,255,.3);
}

/* Text column */
.edb-bi__body {
  flex: 1;
  min-width: 0;
  padding: 0;
}

.edb-bi__content { margin-bottom: 20px; }

.edb-bi__title {
  display: block;
  color: var(--edb-navy);
  font-size: clamp(17px, 1.8vw, 22px);
  font-weight: 700;
  font-family: var(--edb-font-head);
  line-height: 1.3;
  text-decoration: none;
  margin-bottom: 14px;
  transition: color .2s;
}

.edb-bi__title:hover { color: var(--edb-teal); }

.edb-bi__desc {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
  margin: 0;
}

/* Button — POFO style: small, dark, uppercase */
.edb-btn-sm {
  display: inline-block;
  padding: 8px 22px;
  background: var(--edb-navy);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background .2s;
}

.edb-btn-sm:hover {
  background: var(--edb-teal);
  color: #fff;
}

/* ── Sidebar ─────────────────────────────────────────── */
.edb-sidebar-col { margin-top: 0; }

.edb-sw {
  margin-bottom: 45px;
}

.edb-sw__text {
  font-size: 13px;
  color: #666;
  line-height: 1.75;
  margin-bottom: 20px;
}

/* Aside title — POFO style */
.edb-aside-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--edb-navy);
  font-family: var(--edb-font-head);
  margin-bottom: 20px;
  padding-bottom: 12px;
  position: relative;
}

.edb-aside-title span {
  display: inline-block;
  position: relative;
}

.edb-aside-title span::after {
  content: '';
  position: absolute;
  left: 0; bottom: -12px;
  width: 100%;
  height: 2px;
  background: var(--edb-navy);
}

.edb-aside-title::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: #ebebeb;
}

/* About photo */
.edb-sw--about .edb-sw-about__photo {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 20px;
}

/* Social icons — row of circles */
.edb-social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.edb-social-icons__item {
  width: 38px;
  height: 38px;
  border: 1px solid #ddd;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--edb-navy);
  font-size: 15px;
  text-decoration: none;
  transition: background .2s, border-color .2s, color .2s;
}

.edb-social-icons__item:hover { background: var(--edb-navy); border-color: var(--edb-navy); color: #fff; }
.edb-social-icons__item--instagram:hover { background: #e1306c; border-color: #e1306c; }
.edb-social-icons__item--facebook:hover  { background: #1877f2; border-color: #1877f2; }
.edb-social-icons__item--youtube:hover   { background: #ff0000; border-color: #ff0000; }
.edb-social-icons__item--linkedin:hover  { background: #0077b5; border-color: #0077b5; }

/* Categories list — POFO list-style-6 */
.edb-cats-list {
  list-style: none;
  padding: 0; margin: 0;
}

.edb-cats-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 13px;
  color: #444;
  text-decoration: none;
  border-bottom: 1px solid #ebebeb;
  transition: color .2s, padding-left .2s;
}

.edb-cats-list li:last-child a { border-bottom: none; }
.edb-cats-list li a:hover { color: var(--edb-navy); padding-left: 4px; }

.edb-cats-list li a em {
  font-style: normal;
  font-size: 12px;
  color: #999;
  flex-shrink: 0;
  margin-left: 8px;
}

/* Popular posts list */
.edb-posts-list {
  list-style: none;
  padding: 0; margin: 0;
}

.edb-posts-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid #ebebeb;
}

.edb-posts-list li:last-child {
  padding-bottom: 0; margin-bottom: 0; border-bottom: none;
}

.edb-posts-list__thumb {
  flex-shrink: 0;
  width: 68px;
  height: 68px;
  overflow: hidden;
  display: block;
}

.edb-posts-list__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.edb-posts-list__info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.edb-posts-list__ttl {
  font-size: 13px;
  font-weight: 600;
  color: var(--edb-navy);
  text-decoration: none;
  line-height: 1.4;
  transition: color .2s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.edb-posts-list__ttl:hover { color: var(--edb-teal); }

.edb-posts-list__date {
  font-size: 11px;
  color: #999;
}

/* Tag cloud */
.edb-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.edb-tag-cloud a {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid #ddd;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: #444;
  text-decoration: none;
  transition: background .2s, border-color .2s, color .2s;
}

.edb-tag-cloud a:hover {
  background: var(--edb-navy);
  border-color: var(--edb-navy);
  color: #fff;
}

/* Newsletter form */
.edb-newsletter-form__row {
  display: flex;
  border-bottom: 1px solid #ebebeb;
  position: relative;
}

.edb-newsletter-form__input {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 44px 12px 0;
  font-size: 13px;
  color: #444;
  background: transparent;
}

.edb-newsletter-form__input::placeholder { color: #aaa; }

.edb-newsletter-form__btn {
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: var(--edb-navy);
  padding: 4px;
  transition: color .2s;
}

.edb-newsletter-form__btn:hover { color: var(--edb-teal); }

/* ── Responsive ── */
@media (max-width: 991px) {
  .edb-bi__img-col { flex: 0 0 45%; max-width: 45%; padding-right: 30px; }
  .edb-sidebar-col { margin-top: 48px; }
}

@media (max-width: 767px) {
  .edb-bi { flex-direction: column; margin-bottom: 40px; padding-bottom: 40px; }
  .edb-bi__img-col { flex: 0 0 100%; max-width: 100%; padding-right: 0; margin-bottom: 20px; }
  .edb-bi__img-wrap img { width: 100%; }
  .edb-trat-section { padding: 48px 0 60px; }
  .edb-pt-section { padding: 72px 0 56px; }
}

/* ── Depoimentos (page-id-430): vídeos lado a lado ──────────────
   Os containers [4fce2e6] e [e6e02aa] ficam em 50% cada,
   fundos distintos em azul-navy escuro e tom teal-navy.
   Os vídeos ficam centralizados, com bordas arredondadas e sombra.
──────────────────────────────────────────────────────────────────── */
body.page-id-430 [data-id="4fce2e6"],
body.page-id-430 [data-id="e6e02aa"] {
  float: left !important;
  width: 50% !important;
  min-height: 560px !important;
  padding: 56px 48px !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 20px !important;
  position: relative !important;
}

body.page-id-430 [data-id="4fce2e6"] {
  background: var(--edb-navy-dark) !important;
}

body.page-id-430 [data-id="e6e02aa"] {
  background: linear-gradient(160deg, #0b2d5a 0%, #0d4060 100%) !important;
}

/* Aspas decorativas */
body.page-id-430 [data-id="4fce2e6"]::before,
body.page-id-430 [data-id="e6e02aa"]::before {
  content: '\201C';
  position: absolute;
  top: 20px; left: 40px;
  font-size: 100px;
  line-height: 1;
  color: var(--edb-teal);
  opacity: 0.25;
  font-family: Georgia, serif;
  pointer-events: none;
}

/* Linha teal no topo de cada seção */
body.page-id-430 [data-id="4fce2e6"]::after,
body.page-id-430 [data-id="e6e02aa"]::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--edb-teal);
  display: block !important;
  width: 100% !important;
}

/* Vídeo centralizado com bordas e sombra */
body.page-id-430 [data-id="5d6174e"] video,
body.page-id-430 [data-id="ec7953d"] video {
  max-height: 460px !important;
  width: auto !important;
  max-width: 100% !important;
  object-fit: contain !important;
  border-radius: 16px !important;
  box-shadow: 0 24px 64px rgba(0,0,0,.5) !important;
  display: block !important;
  margin: 0 auto !important;
}

/* Centraliza o wrapper do player */
body.page-id-430 [data-id="5d6174e"] .elementor-wrapper,
body.page-id-430 [data-id="ec7953d"] .elementor-wrapper {
  display: flex !important;
  justify-content: center !important;
}

/* Clearfix para os elementos que vêm depois */
body.page-id-430 .elementor-430 > [data-id="e6e02aa"] + * {
  clear: both;
}

/* Mobile: volta para coluna única */
@media (max-width: 767px) {
  body.page-id-430 [data-id="4fce2e6"],
  body.page-id-430 [data-id="e6e02aa"] {
    float: none !important;
    width: 100% !important;
    min-height: auto !important;
    padding: 40px 24px !important;
  }
}

/* ── Páginas internas — conteúdo de artigo ───────────────────────
   Aplica a TODAS páginas internas (.edb-has-page-hero)
──────────────────────────────────────────────────────────────────── */

/* H2 dentro do rich-text (artigo de tratamento) */
body.edb-has-page-hero .elementor-widget-text-editor h2 {
  font-size: clamp(18px, 1.8vw, 26px) !important;
  color: var(--edb-navy) !important;
  font-weight: 700 !important;
  border-left: 3px solid var(--edb-teal);
  padding-left: 12px;
  margin-top: 36px !important;
  margin-bottom: 10px !important;
  line-height: 1.3 !important;
}
body.edb-has-page-hero .elementor-widget-text-editor h3 {
  font-size: clamp(16px, 1.4vw, 20px) !important;
  color: var(--edb-navy) !important;
  font-weight: 600 !important;
  margin-top: 24px !important;
  margin-bottom: 8px !important;
}

/* Listas no artigo */
body.edb-has-page-hero .elementor-widget-text-editor ul,
body.edb-has-page-hero .elementor-widget-text-editor ol {
  padding-left: 20px;
  margin-bottom: 16px !important;
}
body.edb-has-page-hero .elementor-widget-text-editor li {
  font-size: 16px !important;
  color: var(--edb-gray-text) !important;
  line-height: 1.8 !important;
  margin-bottom: 6px !important;
}

/* Sidebar — "Outros serviços" área */
body.edb-has-page-hero .elementor-widget-button .elementor-button {
  border-radius: 8px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-align: left !important;
  padding: 14px 16px !important;
  transition: background .2s, color .2s, border-color .2s !important;
}
body.edb-has-page-hero .elementor-widget-button .elementor-button:hover {
  background: var(--edb-teal) !important;
  color: #fff !important;
  border-color: var(--edb-teal) !important;
}

/* Sidebar — mapa com bordas arredondadas */
body.edb-has-page-hero .elementor-widget-google_maps iframe {
  border-radius: 12px !important;
  overflow: hidden;
}

/* Heading widget do artigo (H1 do Elementor) — tamanho compacto */
body.edb-has-page-hero .elementor-column:first-child .elementor-widget-heading .elementor-heading-title {
  font-size: clamp(20px, 2vw, 30px) !important;
  color: var(--edb-navy) !important;
  font-weight: 700 !important;
  margin-bottom: 16px !important;
}

/* ── page-tratamento-interna.php — POFO blog post style ──── */

.edb-ti-section { padding: 70px 0 80px; background: #fff; }
.edb-ti-article { margin-bottom: 40px; }

/* Imagem de destaque */
.edb-ti-feature-img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 40px;
}

/* Wrapper de conteúdo — tipografia amigável */
.edb-ti-content {
  font-size: 15px;
  line-height: 1.85;
  color: #555;
}
.edb-ti-content p { margin-bottom: 18px; }
.edb-ti-content h2 { font-size: clamp(18px, 2vw, 26px); color: var(--edb-navy); margin: 32px 0 14px; font-weight: 700; }
.edb-ti-content h2:first-of-type {
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 20px;
  letter-spacing: -.5px;
}
.edb-ti-content h3 { font-size: clamp(16px, 1.8vw, 22px); color: var(--edb-navy); margin: 26px 0 12px; font-weight: 700; }
.edb-ti-content blockquote {
  border-left: 3px solid var(--edb-teal);
  padding: 10px 0 10px 24px;
  margin: 24px 0;
  font-size: 16px;
  font-style: italic;
  color: #444;
}
.edb-ti-content ul, .edb-ti-content ol { padding-left: 22px; margin-bottom: 18px; }
.edb-ti-content li { margin-bottom: 6px; }
.edb-ti-content strong { color: var(--edb-navy); font-weight: 700; }

/* Divisor */
.edb-ti-divider { height: 1px; background: #ebebeb; margin: 40px 0; }

/* Tags + Share row */
.edb-ti-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.edb-ti-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.edb-ti-tag {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid #ddd;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: #444;
  text-decoration: none;
  transition: background .2s, border-color .2s, color .2s;
}
.edb-ti-tag:hover { background: var(--edb-navy); border-color: var(--edb-navy); color: #fff; }

/* Botões de share */
.edb-ti-share { display: flex; gap: 6px; }
.edb-ti-share__link {
  width: 36px; height: 36px;
  border: 1px solid #ddd;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px;
  color: var(--edb-navy);
  text-decoration: none;
  transition: background .2s, border-color .2s, color .2s;
}
.edb-ti-share__link:hover      { background: var(--edb-navy); border-color: var(--edb-navy); color: #fff; }
.edb-ti-share__link--fb:hover  { background: #1877f2; border-color: #1877f2; }
.edb-ti-share__link--wa:hover  { background: #25D366; border-color: #25D366; }
.edb-ti-share__link--li:hover  { background: #0077b5; border-color: #0077b5; }

/* Card de autor — Dr. Edson */
.edb-ti-author {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 36px;
  border: 1px solid #ebebeb;
  margin-top: 40px;
}
.edb-ti-author__photo {
  flex-shrink: 0;
  width: 90px; height: 90px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.edb-ti-author__name {
  display: block;
  font-family: var(--edb-font-head);
  font-weight: 700;
  font-size: 13px;
  color: var(--edb-navy);
  text-transform: uppercase;
  letter-spacing: .8px;
  text-decoration: none;
  margin-bottom: 8px;
  transition: color .2s;
}
.edb-ti-author__name:hover { color: var(--edb-teal); }
.edb-ti-author__text { font-size: 13px; color: #666; line-height: 1.75; margin-bottom: 14px; }

/* Tratamentos relacionados */
.edb-ti-related-head {
  position: relative;
  text-align: center;
  margin-bottom: 32px;
}
.edb-ti-related-label {
  display: inline-block;
  position: relative;
  top: -11px;
  font-family: var(--edb-font-head);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--edb-navy);
  background: #fff;
  padding: 0 18px;
}

/* Cards relacionados */
.edb-ti-rel-card {
  display: block;
  text-decoration: none;
  overflow: hidden;
  border: 1px solid #ebebeb;
  height: 100%;
  transition: box-shadow .25s, transform .25s;
}
.edb-ti-rel-card:hover { box-shadow: 0 8px 28px rgba(9,29,62,.1); transform: translateY(-3px); }
.edb-ti-rel-card__img-wrap { overflow: hidden; }
.edb-ti-rel-card__img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.edb-ti-rel-card:hover .edb-ti-rel-card__img { transform: scale(1.05); }
.edb-ti-rel-card__body { padding: 16px; }
.edb-ti-rel-card__title {
  font-family: var(--edb-font-head);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--edb-navy);
  line-height: 1.4;
  margin-bottom: 10px;
  transition: color .2s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.edb-ti-rel-card:hover .edb-ti-rel-card__title { color: var(--edb-teal); }
.edb-ti-rel-card__btn { font-size: 10px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--edb-navy); }
.edb-ti-rel-card:hover .edb-ti-rel-card__btn { color: var(--edb-teal); }

/* Sidebar — Outros Serviços (card list com borda + seta) */
.edb-os-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.edb-os-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border: 1px solid var(--edb-gray-border);
  font-size: 13px;
  font-weight: 600;
  color: var(--edb-navy);
  text-decoration: none;
  transition: background .2s, border-color .2s, color .2s;
}

.edb-os-list li a:hover {
  background: var(--edb-teal-light);
  border-color: var(--edb-teal);
  color: var(--edb-teal);
}

.edb-os-list li a .bi-chevron-right {
  font-size: 12px;
  flex-shrink: 0;
  color: var(--edb-gray-border);
  transition: color .2s;
}

.edb-os-list li a:hover .bi-chevron-right { color: var(--edb-teal); }

.edb-os-list__item--active a {
  background: var(--edb-navy);
  border-color: var(--edb-navy);
  color: #fff !important;
}

.edb-os-list__item--active a .bi-chevron-right { color: var(--edb-teal) !important; }
.edb-os-list__item--active a:hover {
  background: var(--edb-navy-light);
  border-color: var(--edb-navy-light);
}

/* Oculta breadcrumbs do Yoast/RankMath que ficaram no conteúdo do Elementor */
.edb-ti-content nav[class*="breadcrumb"],
.edb-ti-content [class*="breadcrumb"],
.edb-ti-content .wpseo-breadcrumb { display: none !important; }

/* Elementor dentro do template interno — reset do padding de seções */
.edb-ti-content .elementor-section,
.edb-ti-content .e-container,
.edb-ti-content .elementor-container {
  max-width: 100% !important;
  padding: 0 !important;
}

/* Elementor column — full width within our article column */
.edb-ti-content .elementor-container > .elementor-column {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
}

/* First Elementor section (original hero): remove background image and fix white title */
.edb-ti-content .elementor-top-section:first-of-type,
.edb-ti-content .elementor-top-section:first-of-type > .elementor-background-overlay {
  background-image: none !important;
  background-color: transparent !important;
}
.edb-ti-content .elementor-widget-heading .elementor-heading-title {
  color: var(--edb-navy) !important;
}
.edb-ti-content .elementor-icon-list-text,
.edb-ti-content .elementor-icon-list-item > a {
  color: var(--edb-gray-text) !important;
}

/* Responsive */
@media (max-width: 991px) {
  .edb-ti-section { padding: 56px 0 64px; }
}
@media (max-width: 767px) {
  .edb-ti-section { padding: 48px 0 56px; }
  .edb-ti-author { flex-direction: column; align-items: center; text-align: center; gap: 16px; padding: 24px; }
  .edb-ti-meta { flex-direction: column; }
  .edb-ti-related-row .col-sm-4 { margin-bottom: 16px; }
}

/* ══════════════════════════════════════════════════════════
   ── Página de Contato ────────────────────────────────────
   ══════════════════════════════════════════════════════════ */

/* ── Info strip ─────────────────────────────────────────── */
.edb-ct-strip {
  background: var(--edb-white);
  padding: 0;
  position: relative;
  z-index: 2;
  margin-top: -1px;
  box-shadow: 0 4px 24px rgba(9,29,62,.08);
}
.edb-ct-strip .row { margin: 0; }
.edb-ct-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px 24px;
  border-right: 1px solid var(--edb-gray-border);
  height: 100%;
  transition: background .2s;
}
.edb-ct-card:hover { background: var(--edb-off-white); }
.col-xl-3:last-child .edb-ct-card { border-right: none; }
.edb-ct-card__icon {
  width: 48px; height: 48px; flex: none;
  background: linear-gradient(135deg, rgba(51,185,203,.12), rgba(51,185,203,.06));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--edb-teal);
}
.edb-ct-card__label {
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--edb-teal);
  margin: 0 0 4px;
}
.edb-ct-card__value {
  font-size: 14.5px; font-weight: 600; color: var(--edb-navy);
  margin: 0; text-decoration: none; display: block;
  transition: color .2s;
}
a.edb-ct-card__value:hover { color: var(--edb-teal); }

/* ── Seção principal ────────────────────────────────────── */
.edb-ct-main {
  padding: 80px 0 100px;
  background: var(--edb-off-white);
}

/* ── Formulário ─────────────────────────────────────────── */
.edb-ct-form { background: var(--edb-white); padding: 40px; border-radius: var(--edb-radius); box-shadow: 0 2px 20px rgba(9,29,62,.06); }
.edb-ct-form__label { font-size: 13px; font-weight: 600; color: var(--edb-navy); margin-bottom: 6px; display: block; }
.edb-ct-form__label span { color: var(--edb-teal); }
.edb-ct-form__input {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--edb-gray-border);
  border-radius: var(--edb-radius-sm);
  font-size: 14.5px; color: var(--edb-navy);
  background: var(--edb-white);
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
}
.edb-ct-form__input:focus {
  outline: none;
  border-color: var(--edb-teal);
  box-shadow: 0 0 0 3px rgba(51,185,203,.15);
}
.edb-ct-form__select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23091D3E' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.edb-ct-form__textarea { resize: vertical; min-height: 130px; }
.edb-ct-form__btn { padding: 14px; font-size: 15px; font-weight: 700; letter-spacing: .3px; }
.edb-ct-form__alert {
  padding: 12px 16px; border-radius: var(--edb-radius-sm);
  font-size: 14px; font-weight: 500; margin-bottom: 12px;
}
.edb-ct-form__alert--success { background: #e8f8f5; color: #157a6e; border: 1px solid #b2dfdb; }
.edb-ct-form__alert--error   { background: #fdecea; color: #c0392b; border: 1px solid #f5c6cb; }

/* ── Links de contato direto ─────────────────────────────── */
.edb-ct-direct {
  margin-top: 28px;
  padding: 24px;
  background: var(--edb-white);
  border-radius: var(--edb-radius);
  border: 1px solid var(--edb-gray-border);
  text-align: center;
}
.edb-ct-direct__label { font-size: 13px; color: var(--edb-gray-text); margin-bottom: 14px; font-weight: 500; }
.edb-ct-direct__links { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.edb-ct-direct__btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 18px; border-radius: var(--edb-radius-sm);
  font-size: 13.5px; font-weight: 600;
  text-decoration: none; transition: all .2s;
}
.edb-ct-direct__btn--wa    { background: #25d366; color: #fff; }
.edb-ct-direct__btn--wa:hover { background: #1db855; color: #fff; }
.edb-ct-direct__btn--phone { background: var(--edb-navy); color: #fff; }
.edb-ct-direct__btn--phone:hover { background: var(--edb-navy-dark); color: #fff; }
.edb-ct-direct__btn--email { background: var(--edb-off-white); color: var(--edb-navy); border: 1px solid var(--edb-gray-border); }
.edb-ct-direct__btn--email:hover { background: var(--edb-gray-border); }

/* ── Mapa ────────────────────────────────────────────────── */
.edb-ct-map-wrap {
  border-radius: var(--edb-radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(9,29,62,.10);
  margin-bottom: 24px;
}
.edb-ct-map-wrap iframe { display: block; }

/* ── Address box ─────────────────────────────────────────── */
.edb-ct-address-box {
  background: var(--edb-white);
  border-radius: var(--edb-radius);
  padding: 28px 32px;
  box-shadow: 0 2px 16px rgba(9,29,62,.06);
}
.edb-ct-address-box__title {
  font-size: 16px; font-weight: 700; color: var(--edb-navy);
  margin-bottom: 20px; padding-bottom: 14px;
  border-bottom: 2px solid var(--edb-teal);
}
.edb-ct-address-box__list { list-style: none; padding: 16px 0 0 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 16px; }
.edb-ct-address-box__list li { display: flex; align-items: flex-start; gap: 14px; }
.edb-ct-address-box__list i { color: var(--edb-teal); font-size: 18px; flex: none; margin-top: 2px; }
.edb-ct-address-box__list strong { display: block; font-size: 12px; font-weight: 700; color: var(--edb-navy); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 2px; }
.edb-ct-address-box__list span { font-size: 14px; color: var(--edb-gray-text); }
.edb-ct-directions-btn {
  display: inline-flex; align-items: center;
  padding: 11px 22px; border-radius: var(--edb-radius-sm);
  background: var(--edb-navy); color: #fff;
  font-size: 14px; font-weight: 600;
  text-decoration: none; transition: background .2s;
  width: 100%; justify-content: center;
}
.edb-ct-directions-btn:hover { background: var(--edb-teal); color: #fff; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 991px) {
  .edb-ct-main { padding: 56px 0 72px; }
  .edb-ct-form  { padding: 28px 20px; }
  .edb-ct-card  { border-right: none; border-bottom: 1px solid var(--edb-gray-border); }
  .col-sm-6:nth-child(odd) .edb-ct-card  { border-right: 1px solid var(--edb-gray-border); }
  .col-sm-6:nth-child(odd):last-child .edb-ct-card { border-right: none; }
}
@media (max-width: 575px) {
  .edb-ct-card { border-right: none; }
  .edb-ct-direct__links { flex-direction: column; }
  .edb-ct-direct__btn { justify-content: center; }
}

/* ── Área do Paciente — Portal ──────────────────────────────── */

/* Login */
.edb-portal-login {
  background: var(--edb-white);
  border-radius: 16px;
  padding: 40px 36px;
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
  text-align: center;
}
.edb-portal-login__icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(0,178,169,.12);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px; color: var(--edb-teal);
}
.edb-portal-login__title { font-size: 22px; font-weight: 700; color: var(--edb-navy); margin-bottom: 4px; }
.edb-portal-login__sub   { font-size: 14px; color: var(--edb-gray-text); margin-bottom: 24px; }
.edb-portal-login__help  { font-size: 13px; color: var(--edb-gray-text); margin-top: 20px; }
.edb-portal-login__help a { color: var(--edb-teal); }

/* Estilizar o form WP dentro do portal */
.edb-portal-login #loginform { margin: 0 !important; padding: 0 !important; background: none !important; border: none !important; box-shadow: none !important; }
.edb-portal-login #loginform p { margin-bottom: 14px; text-align: left; }
.edb-portal-login #loginform label { font-size: 13px; font-weight: 600; color: var(--edb-navy); display: block; margin-bottom: 4px; }
.edb-portal-login #loginform input[type="text"],
.edb-portal-login #loginform input[type="password"] {
  width: 100%; padding: 10px 14px;
  border: 1.5px solid var(--edb-gray-border); border-radius: 8px;
  font-size: 14px; color: var(--edb-navy); outline: none; transition: border-color .2s;
}
.edb-portal-login #loginform input[type="text"]:focus,
.edb-portal-login #loginform input[type="password"]:focus { border-color: var(--edb-teal); }
.edb-portal-login #loginform input[type="submit"] {
  width: 100%; padding: 12px; border: none; border-radius: 8px;
  background: var(--edb-teal); color: #fff;
  font-size: 15px; font-weight: 600; cursor: pointer; transition: background .2s;
}
.edb-portal-login #loginform input[type="submit"]:hover { background: var(--edb-navy); }
.edb-portal-login #loginform .forgetmenot { display: none; }

/* Alert */
.edb-portal-alert {
  padding: 10px 14px; border-radius: 8px;
  font-size: 13px; margin-bottom: 16px; text-align: left;
}
.edb-portal-alert--error { background: #fef2f2; color: #b91c1c; border: 1px solid #fca5a5; }

/* Logout btn */
.edb-portal-logout-btn {
  border: 1.5px solid var(--edb-gray-border); color: var(--edb-gray-text);
  background: transparent; border-radius: 8px;
  font-size: 13px; padding: 7px 16px;
  transition: all .2s;
}
.edb-portal-logout-btn:hover { border-color: var(--edb-navy); color: var(--edb-navy); }

/* Cards de status */
.edb-portal-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--edb-white); border-radius: 14px;
  padding: 20px 22px; box-shadow: 0 2px 12px rgba(0,0,0,.06);
  height: 100%;
}
.edb-portal-card__icon {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  background: rgba(0,178,169,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--edb-teal);
}
.edb-portal-card--info    .edb-portal-card__icon { background: rgba(0,178,169,.12); color: var(--edb-teal); }
.edb-portal-card--warning .edb-portal-card__icon { background: rgba(234,179,8,.12); color: #b45309; }
.edb-portal-card--success .edb-portal-card__icon { background: rgba(22,163,74,.12); color: #15803d; }
.edb-portal-card--primary .edb-portal-card__icon { background: rgba(7,40,84,.12);   color: var(--edb-navy); }
.edb-portal-card__label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--edb-gray-text); margin-bottom: 2px; }
.edb-portal-card__value { font-size: 15px; font-weight: 600; color: var(--edb-navy); margin: 0; }

/* Notas do médico */
.edb-portal-notes {
  background: var(--edb-white); border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06); overflow: hidden;
}
.edb-portal-notes__header {
  background: var(--edb-navy); color: #fff;
  padding: 14px 22px; font-size: 14px; font-weight: 600;
  display: flex; align-items: center;
}
.edb-portal-notes__body {
  padding: 22px; font-size: 14px; color: var(--edb-gray-text);
  line-height: 1.7; white-space: pre-line;
}

/* Dados pessoais */
.edb-portal-info {
  background: var(--edb-white); border-radius: 14px;
  padding: 28px 24px; box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.edb-portal-info__title { font-size: 16px; font-weight: 700; color: var(--edb-navy); margin-bottom: 20px; }
.edb-portal-info__item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--edb-gray-border);
}
.edb-portal-info__icon { font-size: 18px; color: var(--edb-teal); margin-top: 2px; }
.edb-portal-info__label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--edb-gray-text); margin-bottom: 2px; }
.edb-portal-info__value { font-size: 14px; font-weight: 500; color: var(--edb-navy); margin: 0; }
.edb-portal-info__note  { font-size: 12px; color: var(--edb-gray-text); margin-top: 16px; margin-bottom: 0; }
.edb-portal-info__note a { color: var(--edb-teal); }

@media (max-width: 575px) {
  .edb-portal-login { padding: 28px 20px; }
}

/* ── Botão Área do Paciente no header ───────────────────────── */
.edb-header__pac-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,.25);
  color: var(--edb-navy); font-size: 13px; font-weight: 600;
  text-decoration: none; white-space: nowrap;
  transition: all .2s;
  background: rgba(0,178,169,.08);
}
.edb-header__pac-btn i { font-size: 15px; color: var(--edb-teal); }
.edb-header__pac-btn:hover {
  background: var(--edb-teal);
  color: #fff; border-color: var(--edb-teal);
}
.edb-header__pac-btn:hover i { color: #fff; }
.edb-header__pac-btn--logado { background: rgba(0,178,169,.15); border-color: var(--edb-teal); }
.edb-header__pac-btn--logado i { color: var(--edb-teal); }

/* Mobile: item Área do paciente */
.edb-mobile-navlist__pac a {
  display: flex; align-items: center;
  padding: 10px 0;
  color: var(--edb-teal) !important;
  font-weight: 600; font-size: 15px;
  border-top: 1px solid var(--edb-gray-border);
}

@media (max-width: 991px) {
  .edb-header__pac-btn span { display: none; }
  .edb-header__pac-btn { padding: 8px; border-radius: 50%; width: 36px; height: 36px; justify-content: center; }
  .edb-header__pac-btn i { font-size: 17px; }
}

/* ── Portal: Protocolo de Tratamento ──────────────────────────────────────── */
.edb-portal-protocol {
  background: #fff;
  border: 1px solid var(--edb-gray-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.edb-portal-protocol__header {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 22px 24px;
  background: linear-gradient(135deg, var(--edb-navy) 0%, #1a3a5c 100%);
  color: #fff;
}
.edb-portal-protocol__header > i {
  font-size: 28px; color: var(--edb-teal); flex-shrink: 0; margin-top: 2px;
}
.edb-portal-protocol__label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: rgba(255,255,255,.65); margin: 0 0 4px;
}
.edb-portal-protocol__title {
  font-size: 18px; font-weight: 700; color: #fff; margin: 0;
}

.edb-portal-protocol__steps {
  padding: 20px 24px;
  display: flex; flex-direction: column; gap: 0;
}

.edb-proto-portal-step {
  display: flex; gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--edb-gray-border);
}
.edb-proto-portal-step:last-child { border-bottom: none; padding-bottom: 0; }
.edb-proto-portal-step:first-child { padding-top: 0; }

.edb-proto-portal-step__num {
  width: 36px; height: 36px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--edb-teal); color: #fff;
  font-size: 14px; font-weight: 800;
  border-radius: 50%;
}

.edb-proto-portal-step__content { flex: 1; min-width: 0; }
.edb-proto-portal-step__title {
  font-size: 15px; font-weight: 700;
  color: var(--edb-navy); margin: 0 0 6px;
}
.edb-proto-portal-step__desc {
  font-size: 14px; color: var(--edb-gray-text);
  line-height: 1.65; margin: 0 0 12px;
}
.edb-proto-portal-step__desc:last-child { margin-bottom: 0; }

.edb-proto-portal-step__video {
  position: relative; width: 100%; padding-top: 56.25%;
  border-radius: 10px; overflow: hidden;
  background: #000; margin-top: 8px;
}
.edb-proto-portal-step__video iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}

@media (max-width: 575px) {
  .edb-portal-protocol__header { padding: 18px 16px; }
  .edb-portal-protocol__steps { padding: 16px; }
  .edb-proto-portal-step { gap: 12px; }
  .edb-proto-portal-step__num { width: 30px; height: 30px; font-size: 12px; }
}

/* ── Sobre Mim v2 — overrides para garantir exibição correta ──── */
/* Corrige "Dr. Edson" que ficava em teal igual ao sobrenome */
.sm2-split__name .name-prefix {
  display: block;
  font-size: .58em;
  font-weight: 600;
  color: rgba(255,255,255,.75) !important;
  letter-spacing: .5px;
  margin-bottom: 2px;
}
.sm2-split__name span:not(.name-prefix) { color: var(--edb-teal) !important; }

/* Força cor branca no h1 do hero split (Elementor global kit sobrescreve) */
.sm2-split__name { color: #fff !important; }

/* Value cards — título menor para evitar overflow em 4 colunas */
.sm2-value-card__title {
  font-size: 14px !important;
  font-weight: 700;
  color: var(--edb-navy);
  margin-bottom: 8px;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  line-height: 1.2 !important;
}

/* Desktop: ícone fixo no canto superior direito do card */
@media (min-width: 992px) {
  .sm2-value-card {
    position: relative;
  }
  .sm2-value-card__icon {
    position: absolute;
    top: 24px;
    right: 20px;
    margin: 0 !important;
  }
}

/* Esconde texto ao lado da assinatura (OPcache fallback) */
.sm2-split__sig-info { display: none !important; }

/* Sobre Mim v2 — neutraliza edb-has-page-hero (OPcache fallback) */
body.page-template-template-sobre-mim-v2.edb-has-page-hero {
  padding-top: 0 !important;
}
/* Garante que o primeiro bloco Elementor NÃO seja escondido nesta template */
body.page-template-template-sobre-mim-v2.edb-has-page-hero .elementor > .elementor-section:first-child,
body.page-template-template-sobre-mim-v2.edb-has-page-hero .elementor > .e-con:first-child {
  display: revert !important;
}

/* Header transparente sobre hero escuro — nav visível em branco */
.page-template-template-sobre-mim-v2 .edb-header.is-transparent .edb-navlist a,
.page-template-template-sobre-mim-v2 .edb-header.is-transparent .edb-header__logo {
  color: #fff;
}

/* ── Sobre Mim v2: header sticky — forçar cores legíveis ──────────────────
   WP Rocket cacheia o HTML, então CSS inline no template não chega a usuários
   deslogados. Estas regras ficam aqui (arquivo externo) para sempre serem
   aplicadas corretamente, independente do cache de página.
   Causa: is-transparent permanece na classe mesmo após is-sticky, e a
   transição CSS de 0.2s cria texto branco invisível sobre fundo branco. */
body.page-template-template-sobre-mim-v2 .edb-header.is-sticky .edb-navlist > li > a {
  color: var(--edb-navy) !important;
  transition: color .15s, background .15s;
}
body.page-template-template-sobre-mim-v2 .edb-header.is-sticky .edb-navlist > li > a:hover,
body.page-template-template-sobre-mim-v2 .edb-header.is-sticky .edb-navlist > li.is-active > a {
  color: var(--edb-teal) !important;
  background: rgba(51,185,203,.08) !important;
}
body.page-template-template-sobre-mim-v2 .edb-header.is-sticky .edb-logo__name {
  color: var(--edb-navy) !important;
}
body.page-template-template-sobre-mim-v2 .edb-header.is-sticky .edb-logo-img,
body.page-template-template-sobre-mim-v2 .edb-header.is-sticky .edb-header__logo img,
body.page-template-template-sobre-mim-v2 .edb-header.is-sticky .edb-header__logo .custom-logo {
  filter: none !important;
}
body.page-template-template-sobre-mim-v2 .edb-header.is-sticky .edb-soc-link {
  color: var(--edb-navy) !important;
}
body.page-template-template-sobre-mim-v2 .edb-header.is-sticky .edb-header__btn {
  background: var(--edb-teal) !important;
  border-color: transparent !important;
  backdrop-filter: none !important;
}
body.page-template-template-sobre-mim-v2 .edb-header.is-sticky .edb-header__pac-btn {
  color: var(--edb-navy) !important;
  border-color: rgba(0,0,0,.15) !important;
  background: transparent !important;
}

/* ── Admin bar (logado) — compensação do header fixo ── */
.admin-bar #edbHeader {
  top: 32px;
}
@media screen and (max-width: 782px) {
  .admin-bar #edbHeader {
    top: 46px;
  }
}
/* Hero full-bleed com admin bar */
.admin-bar body.page-template-template-sobre-mim-v2 .sm2-split__left {
  padding-top: calc(140px + 32px);
}
@media screen and (max-width: 782px) {
  .admin-bar body.page-template-template-sobre-mim-v2 .sm2-split__left {
    padding-top: calc(130px + 46px);
  }
}
.list-unstyled {
    padding-left: 0;
    list-style: none;
    padding-top: 20px;
}

/* ── Portal: Documentos do Paciente ──────────────────────────────────────── */
.edb-portal-docs {
  background: #fff;
  border: 1px solid var(--edb-gray-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.edb-portal-docs__header {
  display: flex; align-items: center;
  padding: 16px 24px;
  background: linear-gradient(135deg, #0d4f3c 0%, #0d7377 100%);
  color: #fff;
  font-size: 15px; font-weight: 700;
}
.edb-portal-docs__header i { font-size: 20px; }
.edb-portal-docs__list {
  display: flex; flex-direction: column;
}
.edb-portal-doc-item {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--edb-gray-border);
  transition: background .15s;
}
.edb-portal-doc-item:last-child { border-bottom: none; }
.edb-portal-doc-item:hover { background: #f8fafd; }
.edb-portal-doc-item__icon {
  width: 42px; height: 42px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: #f0fdf9; border-radius: 10px;
  color: var(--edb-teal); font-size: 20px;
}
.edb-portal-doc-item__info { flex: 1; min-width: 0; }
.edb-portal-doc-item__name {
  font-size: 14px; font-weight: 600; color: var(--edb-navy);
  margin: 0 0 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.edb-portal-doc-item__meta {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; color: var(--edb-gray-text); margin: 0;
}
.edb-portal-doc-badge {
  background: #e0f7f4; color: var(--edb-teal);
  padding: 2px 8px; border-radius: 20px;
  font-size: 11px; font-weight: 600;
}
.edb-portal-doc-item__btn {
  flex-shrink: 0;
  background: var(--edb-teal); color: #fff !important;
  border: none; border-radius: 8px;
  padding: 8px 16px; font-size: 13px; font-weight: 600;
  display: flex; align-items: center; gap: 4px;
  transition: background .2s, transform .15s;
}
.edb-portal-doc-item__btn:hover {
  background: #0a5f64; transform: translateY(-1px);
}
@media (max-width: 575px) {
  .edb-portal-docs__header { padding: 14px 16px; }
  .edb-portal-doc-item { padding: 14px 16px; flex-wrap: wrap; }
  .edb-portal-doc-item__btn { width: 100%; justify-content: center; }
}

/* ── Dashboard: topbar ───────────────────────────────────────────────────── */
.edb-dash-topbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--edb-gray-border);
  border-radius: 14px; padding: 16px 22px;
  margin-bottom: 20px;
  box-shadow: 0 1px 6px rgba(0,0,0,.05);
}
.edb-dash-topbar__left { display: flex; align-items: center; gap: 14px; }
.edb-dash-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--edb-teal); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; flex-shrink: 0;
}
.edb-dash-topbar__name { font-size: 15px; font-weight: 700; color: var(--edb-navy); margin: 0 0 2px; }
.edb-dash-topbar__meta { font-size: 12px; color: var(--edb-gray-text); margin: 0; }

/* ── Dashboard: KPI cards ─────────────────────────────────────────────────── */
.edb-kpi {
  background: #fff; border: 1px solid var(--edb-gray-border);
  border-radius: 12px; padding: 18px 16px;
  box-shadow: 0 1px 6px rgba(0,0,0,.05);
  display: flex; flex-direction: column; gap: 6px;
  height: 100%;
}
.edb-kpi__icon { font-size: 22px; color: var(--edb-teal); }
.edb-kpi__label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--edb-gray-text); margin: 0; }
.edb-kpi__value { font-size: 15px; font-weight: 700; color: var(--edb-navy); margin: 0; }
.edb-kpi--warning  { border-left: 4px solid #f59e0b; }
.edb-kpi--info     { border-left: 4px solid #3b82f6; }
.edb-kpi--primary  { border-left: 4px solid #8b5cf6; }
.edb-kpi--success  { border-left: 4px solid #10b981; }
.edb-kpi--secondary{ border-left: 4px solid #9ca3af; }

/* ── Dashboard: tabs ──────────────────────────────────────────────────────── */
.edb-dash-tabs {}
.edb-dash-tabs__nav {
  display: flex; gap: 4px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--edb-gray-border);
  border-radius: 12px; padding: 6px;
  margin-bottom: 16px;
  box-shadow: 0 1px 6px rgba(0,0,0,.05);
}
.edb-dash-tab {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 14px; border: none; background: transparent;
  border-radius: 8px; font-size: 13px; font-weight: 600; color: #6b7280;
  cursor: pointer; transition: background .15s, color .15s; white-space: nowrap;
}
.edb-dash-tab i { font-size: 15px; }
.edb-dash-tab:hover { background: #f3f4f6; color: var(--edb-navy); }
.edb-dash-tab.active { background: var(--edb-teal); color: #fff; }
.edb-dash-panel { display: none; }
.edb-dash-panel.active { display: block; }

/* ── Dashboard: card genérico ────────────────────────────────────────────── */
.edb-dash-card {
  background: #fff; border: 1px solid var(--edb-gray-border);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
}
.edb-dash-card__header {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 20px; font-size: 14px; font-weight: 700; color: var(--edb-navy);
  border-bottom: 1px solid var(--edb-gray-border); background: #f9fafb;
}
.edb-dash-card__header i { color: var(--edb-teal); font-size: 17px; }
.edb-dash-card__body { padding: 20px; }

/* ── Próximos passos ─────────────────────────────────────────────────────── */
.edb-steps-list { display: flex; flex-direction: column; gap: 12px; }
.edb-step-item  { display: flex; align-items: flex-start; gap: 14px; }
.edb-step-item__num {
  width: 32px; height: 32px; flex-shrink: 0;
  background: var(--edb-teal); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800;
}
.edb-step-item__text { flex: 1; font-size: 14px; color: #374151; line-height: 1.5; padding-top: 5px; }
.edb-step-item__date {
  display: inline-flex; align-items: center;
  font-size: 12px; color: var(--edb-teal); font-weight: 600;
  background: #f0fdf9; border-radius: 20px;
  padding: 2px 10px; margin-left: 8px;
}

/* ── Restrições ──────────────────────────────────────────────────────────── */
.edb-rest-card {
  background: #fffbeb; border: 1px solid #fde68a;
  border-radius: 10px; padding: 16px;
  height: 100%;
}
.edb-rest-card__icon { font-size: 22px; color: #d97706; display: block; margin-bottom: 8px; }
.edb-rest-card__label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #92400e; margin: 0 0 6px; }
.edb-rest-card__text { font-size: 13.5px; color: #374151; margin: 0; line-height: 1.6; }

/* ── Tabela de medicações (portal) ───────────────────────────────────────── */
.edb-meds-portal-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.edb-meds-portal-table thead th {
  background: #f9fafb; padding: 10px 14px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  color: var(--edb-gray-text); text-align: left; border-bottom: 1px solid var(--edb-gray-border);
}
.edb-meds-portal-table tbody tr { border-bottom: 1px solid #f3f4f6; }
.edb-meds-portal-table tbody tr:last-child { border-bottom: none; }
.edb-meds-portal-table tbody td { padding: 10px 14px; color: #374151; vertical-align: middle; }
.edb-meds-portal-table__nome { font-weight: 700; color: var(--edb-navy) !important; }
.edb-meds-portal-table__obs-row td {
  background: #f0fdf9; font-size: 12px; color: var(--edb-teal) !important;
  padding: 6px 14px !important; font-style: italic;
}

/* ── Portal: Histórico de Tratamentos ────────────────────────────────────── */
.edb-portal-history {
  background: #fff;
  border: 1px solid var(--edb-gray-border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.edb-portal-history__header {
  display: flex; align-items: center;
  padding: 16px 24px;
  background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
  color: #fff;
  font-size: 15px; font-weight: 700;
}
.edb-portal-history__header i { font-size: 20px; }
.edb-portal-history__list { display: flex; flex-direction: column; }
.edb-portal-history__entry {
  border-bottom: 1px solid var(--edb-gray-border);
}
.edb-portal-history__entry:last-child { border-bottom: none; }
.edb-portal-history__summary {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 24px;
  cursor: pointer; list-style: none;
  transition: background .15s;
}
.edb-portal-history__summary::-webkit-details-marker { display: none; }
.edb-portal-history__summary:hover { background: #f9fafb; }
.edb-portal-history__summary-left {
  display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0;
}
.edb-portal-history__icon {
  font-size: 20px; color: #6b7280; flex-shrink: 0;
}
.edb-portal-history__name {
  font-size: 14px; font-weight: 700; color: var(--edb-navy);
  margin: 0 0 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.edb-portal-history__period {
  font-size: 12px; color: var(--edb-gray-text); margin: 0;
}
.edb-portal-history__badge {
  flex-shrink: 0;
  background: #f3f4f6; color: #374151;
  padding: 4px 10px; border-radius: 20px;
  font-size: 11px; font-weight: 600;
}
.edb-portal-history__chevron {
  flex-shrink: 0; font-size: 14px; color: #9ca3af;
  transition: transform .2s;
}
details[open] .edb-portal-history__chevron { transform: rotate(180deg); }
.edb-portal-history__body {
  padding: 0 24px 20px;
  border-top: 1px solid #f3f4f6;
}
.edb-portal-history__detail {
  font-size: 13.5px; color: #374151; margin: 14px 0 0; line-height: 1.6;
}
.edb-portal-history__docs { margin-top: 12px; }
@media (max-width: 575px) {
  .edb-portal-history__summary { padding: 14px 16px; flex-wrap: wrap; }
  .edb-portal-history__body { padding: 0 16px 16px; }
}