/*
Theme Name: Fábio Dantas Dental Studio
Theme URI: https://fabiodantas.com.br/
Author: Fábio Dantas Dental Studio
Author URI: https://fabiodantas.com.br/
Description: Tema WordPress da clínica Fábio Dantas — Odontologia Estética e Implantes. Identidade navy + cinza frio + prata, tipografia Open Sans, home institucional, página de tratamentos, blog e contato por WhatsApp. Responsivo.
Version: 2.1.2
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fabio-dantas
*/

/* ============================================================
   FONTS — Open Sans (arquivos no tema)
   ============================================================ */
@font-face { font-family: "Open Sans"; src: url("assets/fonts/OpenSans-Light.ttf") format("truetype"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("assets/fonts/OpenSans-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("assets/fonts/OpenSans-Semibold.ttf") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("assets/fonts/OpenSans-Bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("assets/fonts/OpenSans-ExtraBold.ttf") format("truetype"); font-weight: 800; font-style: normal; font-display: swap; }

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --fd-navy: #00283D;
  --fd-navy-700: #023a55;
  --fd-navy-900: #001b2b;
  --fd-gray-10: #565E61;
  --fd-gray-5: #959C9D;
  --fd-silver: #7D817E;
  --fd-cloud: #f4f5f5;
  --fd-pearl: #fafbfb;
  --fd-mist: #e4e6e6;
  --fd-gray-3: #c3c7c7;
  --fd-white: #ffffff;
  --fd-ink: #20272b;

  --font-body: "Open Sans", -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;

  --shadow-sm: 0 2px 8px rgba(0,40,61,0.07);
  --shadow-md: 0 8px 24px rgba(0,40,61,0.09);
  --shadow-lg: 0 18px 48px rgba(0,40,61,0.12);

  --container: 1200px;
  --ease-out: cubic-bezier(0.16,1,0.3,1);
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--fd-white);
  color: var(--fd-ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, dl, figure { margin: 0; }
button { font-family: inherit; }

.fd-container { max-width: var(--container); margin: 0 auto; padding-left: 40px; padding-right: 40px; }
.fd-section { padding: 76px 0; }

/* ============================================================
   PRIMITIVES — eyebrow, button, badge, stat, photo, card
   ============================================================ */
.fd-eyebrow {
  display: inline-block;
  font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--fd-gray-10);
}
.fd-eyebrow--light { color: var(--fd-silver); }
.fd-eyebrow--lg { font-size: 14.5px; letter-spacing: 0.2em; }
.fd-eyebrow--rules::before {
  content: ""; display: inline-block; width: 26px; height: 1px;
  background: var(--fd-silver); vertical-align: middle;
  margin-right: 12px; opacity: 0.85;
}

.fd-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 24px; min-height: 46px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1;
  border-radius: var(--radius-sm); border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background .14s var(--ease-out), color .14s var(--ease-out), border-color .14s var(--ease-out), transform .14s var(--ease-out);
}
.fd-btn:active { transform: translateY(1px); }
.fd-btn--sm { padding: 8px 16px; min-height: 36px; font-size: 13px; gap: 8px; }
.fd-btn--lg { padding: 15px 32px; min-height: 54px; font-size: 15px; gap: 11px; }
.fd-btn--block { width: 100%; }

.fd-btn--primary { background: var(--fd-navy); color: #fff; }
.fd-btn--primary:hover { background: var(--fd-navy-700); }
.fd-btn--secondary { background: transparent; color: var(--fd-navy); border-color: var(--fd-navy); }
.fd-btn--secondary:hover { background: var(--fd-navy); color: #fff; }
.fd-btn--ghost { background: transparent; color: var(--fd-navy); letter-spacing: 0.04em; }
.fd-btn--ghost:hover { background: rgba(0,40,61,0.06); }
.fd-btn--metal { background: transparent; color: var(--fd-navy); border-color: var(--fd-silver); }
.fd-btn--metal:hover { background: rgba(125,129,126,0.12); }
/* on dark grounds */
.fd-on-dark .fd-btn--metal, .fd-btn--metal.fd-btn--ondark { color: #fff; border-color: var(--fd-silver); }
.fd-on-dark .fd-btn--metal:hover, .fd-btn--metal.fd-btn--ondark:hover { background: rgba(255,255,255,0.12); }
.fd-btn--secondary.fd-btn--ondark { color: #fff; border-color: rgba(255,255,255,0.55); }
.fd-btn--secondary.fd-btn--ondark:hover { background: #fff; color: var(--fd-navy); }

.fd-badge {
  display: inline-block; font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 11px; border-radius: 999px;
}
.fd-badge--navy { background: var(--fd-navy); color: #fff; }
.fd-badge--silver { background: var(--fd-cloud); color: var(--fd-gray-10); border: 1px solid var(--fd-mist); }

.fd-stat__value { font-weight: 300; font-size: 30px; letter-spacing: 0.02em; color: var(--fd-navy); line-height: 1; }
.fd-stat__label { margin-top: 7px; font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fd-gray-5); }

/* photographic placeholder (replace with real image any time) */
.fd-photo {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #eef0f0 0%, #dfe2e2 100%);
  background-size: cover; background-position: center;
}
.fd-photo--slate { background: linear-gradient(135deg, #5b6366 0%, #3f4649 100%); }
.fd-photo--navy { background: linear-gradient(135deg, #023a55 0%, #00283d 100%); }
.fd-photo::after { /* lens-iris mark */
  content: ""; position: absolute; width: 34px; height: 34px;
  border-radius: 50%;
  border: 1.1px solid rgba(86,94,97,0.32);
  box-shadow: 0 0 0 0 transparent;
}
.fd-photo--slate::after, .fd-photo--navy::after { border-color: rgba(255,255,255,0.5); }
.fd-photo.has-image::after, .fd-photo.has-image::before { display: none; }
.fd-photo__label {
  position: absolute; bottom: 12px; left: 14px;
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--fd-gray-10); z-index: 1;
}
.fd-photo--slate .fd-photo__label, .fd-photo--navy .fd-photo__label { color: rgba(255,255,255,0.78); }

/* ============================================================
   HEADER
   ============================================================ */
.fd-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--fd-navy); color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.fd-header__bar {
  max-width: var(--container); margin: 0 auto; padding: 0 40px; height: 76px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.fd-header__logo img { height: 30px; width: auto; }
.fd-nav { display: flex; align-items: center; gap: 34px; }
.fd-nav li { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.fd-nav .menu-item-has-children > .fd-nav__link { cursor: pointer; }
.fd-nav a.fd-nav__link {
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.66); padding-bottom: 4px;
  border-bottom: 1px solid transparent; transition: color .16s, border-color .16s;
}
.fd-nav a.fd-nav__link:hover, .fd-nav a.fd-nav__link.is-active {
  color: #fff; border-bottom-color: var(--fd-silver);
}
.fd-nav__toggle { display: none; background: transparent; border: 0; cursor: pointer; padding: 8px; color: #fff; }
.fd-nav__toggle svg { width: 26px; height: 26px; }

/* Submenu (dropdown) no menu principal */
.fd-nav { position: relative; }
.fd-nav .menu-item-has-children { position: relative; }
.fd-nav .sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 240px;
  background: var(--fd-navy); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  padding: 8px; margin: 0; list-style: none;
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .16s, transform .16s, visibility .16s; z-index: 50;
}
.fd-nav .menu-item-has-children:hover > .sub-menu,
.fd-nav .menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.fd-nav .sub-menu a { display: block; padding: 10px 14px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: none; color: rgba(255,255,255,0.78); border: 0; }
.fd-nav .sub-menu a:hover { background: rgba(255,255,255,0.08); color: #fff; }
.fd-nav .menu-item-has-children > .fd-nav__link::after { content: "\25BE"; font-size: 9px; margin-left: 6px; opacity: 0.7; }

/* ============================================================
   HERO
   ============================================================ */
.fd-hero { background: var(--fd-white); }
.fd-hero__grid {
  max-width: var(--container); margin: 0 auto; padding: 84px 40px 72px;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
.fd-hero h1 {
  font-weight: 300; font-size: 52px; line-height: 1.08; letter-spacing: 0.02em;
  color: var(--fd-navy); margin: 22px 0 0;
}
.fd-hero p { font-size: 17px; line-height: 1.7; color: var(--fd-gray-10); max-width: 460px; margin: 20px 0 32px; }
.fd-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.fd-hero__photo { aspect-ratio: 1 / 1; height: auto; border-radius: 16px; }

/* generic section heads */
.fd-head { text-align: center; margin-bottom: 44px; }
.fd-head h2 { font-weight: 300; font-size: 34px; letter-spacing: 0.03em; color: var(--fd-navy); margin: 12px 0 0; text-wrap: balance; }
.fd-h2-light { font-weight: 300; letter-spacing: 0.03em; color: var(--fd-navy); }

/* ============================================================
   VÍDEO
   ============================================================ */
.fd-video { background: var(--fd-navy); }
.fd-video__inner { max-width: 1000px; margin: 0 auto; padding: 76px 40px; text-align: center; }
.fd-video h2 { font-weight: 300; font-size: 32px; letter-spacing: 0.03em; color: #fff; margin: 14px 0 8px; }
.fd-video p { font-size: 15.5px; line-height: 1.7; color: rgba(255,255,255,0.66); max-width: 540px; margin: 0 auto 36px; }
.fd-videoframe { position: relative; width: 100%; aspect-ratio: 16/9; border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(149,156,157,0.55);
  background: linear-gradient(135deg, #0a3f5e 0%, #00283d 100%);
  box-shadow: 0 30px 70px -20px rgba(0,0,0,0.55), 0 10px 30px -12px rgba(0,0,0,0.45);
  display: flex; align-items: center; justify-content: center;
}
.fd-videoframe iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.fd-videoframe__play {
  width: 88px; height: 88px; border-radius: 50%;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.35);
  display: flex; align-items: center; justify-content: center; transition: background .2s, transform .2s;
}
.fd-videoframe:hover .fd-videoframe__play { background: rgba(255,255,255,0.2); transform: scale(1.06); }
.fd-videoframe__cap {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.62);
}

/* ============================================================
   TRATAMENTOS (home grid)
   ============================================================ */
.fd-treatments { background: var(--fd-cloud); border-top: 1px solid var(--fd-mist); }
.fd-treatments__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.fd-tcard {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--fd-navy); color: #fff; border: 1px solid var(--fd-navy);
  box-shadow: var(--shadow-sm); transition: box-shadow .24s var(--ease-out), transform .24s var(--ease-out);
  display: block;
}
.fd-tcard:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.fd-tcard .fd-photo { aspect-ratio: 16 / 9; height: auto; background-size: contain; background-repeat: no-repeat; background-position: center; background-color: var(--fd-navy-900); }
.fd-tcard__body { padding: 20px 20px 24px; }
.fd-tcard__body h3 { font-weight: 600; font-size: 16px; color: #fff; margin: 0 0 8px; line-height: 1.35; }
.fd-tcard__body p { font-size: 13px; line-height: 1.6; color: rgba(255,255,255,0.7); margin: 0; }

/* ============================================================
   FÁBIO
   ============================================================ */
.fd-fabio { background: var(--fd-white); }
.fd-fabio__grid {
  max-width: var(--container); margin: 0 auto; padding: 82px 40px;
  display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 56px; align-items: center;
}
.fd-fabio__photo { position: relative; }
.fd-fabio__photo .frame { position: absolute; left: -16px; top: -16px; right: 16px; bottom: 16px; border: 1px solid var(--fd-silver); border-radius: 16px; opacity: 0.5; }
.fd-fabio__photo img { position: relative; width: 100%; height: 560px; object-fit: cover; object-position: center 28%; border-radius: 16px; box-shadow: var(--shadow-md); }
.fd-fabio h2 { font-weight: 300; font-size: 32px; letter-spacing: 0.02em; color: var(--fd-navy); margin: 20px 0 18px; line-height: 1.2; }
.fd-fabio p { font-size: 16px; line-height: 1.75; color: var(--fd-gray-10); margin: 0 0 16px; }
.fd-fabio p strong { color: var(--fd-navy); font-weight: 600; }
.fd-rule { height: 1px; border: 0; background: var(--fd-silver); opacity: 0.7; margin: 24px 0; max-width: 320px; margin-left: 0; }
.fd-stats-row { display: flex; gap: 40px; flex-wrap: wrap; }

/* CTA strip */
.fd-ctastrip { background: var(--fd-navy); color: #fff; }
.fd-ctastrip__inner { max-width: var(--container); margin: 0 auto; padding: 56px 40px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.fd-ctastrip h2 { font-weight: 300; font-size: 30px; letter-spacing: 0.02em; color: #fff; margin: 12px 0 0; }

/* ============================================================
   DEPOIMENTOS + GALERIA
   ============================================================ */
.fd-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fd-testi {
  background: var(--fd-white); border: 1px solid var(--fd-mist); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.fd-testi .media { position: relative; }
.fd-testi .media .fd-photo { height: 188px; }
.fd-testi .media .play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.fd-testi .media .play span { width: 52px; height: 52px; border-radius: 50%; background: rgba(0,40,61,0.78); display: flex; align-items: center; justify-content: center; }
.fd-testi__body { padding: 22px 22px 24px; }
.fd-testi__body p { margin: 0 0 16px; font-size: 14.5px; line-height: 1.7; color: var(--fd-ink); }
.fd-testi__who { display: flex; align-items: center; gap: 11px; }
.fd-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--fd-navy); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; flex: none; }
.fd-testi__who .n { font-size: 13px; font-weight: 600; color: var(--fd-navy); }
.fd-testi__who .t { font-size: 11.5px; color: var(--fd-gray-5); letter-spacing: 0.06em; }
.fd-gallery .fd-photo { height: 240px; border-radius: 14px; }

/* embed de vídeo responsivo (16:9) */
.fd-embed { position: relative; width: 100%; aspect-ratio: 16/9; border-radius: 16px; overflow: hidden; background: #000; }
.fd-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.fd-videoframe .fd-embed { border-radius: 16px; }
.fd-testi .media .fd-embed { border-radius: 0; }

/* Depoimento em destaque — card largo e horizontal no PC */
.fd-testi-feat-wrap { margin-bottom: 22px; }
.fd-testi--feat { display: grid; grid-template-columns: 1.15fr 1fr; align-items: stretch; }
.fd-testi--feat .media { min-height: 320px; }
.fd-testi--feat .media .fd-photo, .fd-testi--feat .media .fd-embed { height: 100%; }
.fd-testi--feat .media .fd-embed { padding-bottom: 0; }
.fd-testi--feat .fd-testi__body { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.fd-testi--feat .fd-testi__body p { font-size: 19px; line-height: 1.65; margin-bottom: 22px; }
.fd-testi--feat .fd-avatar { width: 44px; height: 44px; font-size: 15px; }
@media (max-width: 720px) {
  .fd-testi--feat { grid-template-columns: 1fr; }
  .fd-testi--feat .media { min-height: 0; }
  .fd-testi--feat .media .fd-photo { height: 220px; }
  .fd-testi--feat .fd-testi__body { padding: 24px; }
  .fd-testi--feat .fd-testi__body p { font-size: 16px; }
}

/* Antes & Depois — crossfade automático + hover */
.fd-ba { position: relative; aspect-ratio: 1/1; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--fd-mist); cursor: pointer; }
.fd-ba__pane { position: absolute; inset: 0; background-size: contain; background-repeat: no-repeat; background-position: center; background-color: var(--fd-navy-900); display: flex; align-items: center; justify-content: center; }
.fd-ba__before { background-image: linear-gradient(135deg, #eef0f0 0%, #dfe2e2 100%); }
.fd-ba__after { background-image: linear-gradient(135deg, #5b6366 0%, #3f4649 100%); opacity: 0; transition: opacity .8s var(--ease-out); }
.fd-ba.is-after .fd-ba__after { opacity: 1; }
.fd-ba__tag { position: absolute; top: 14px; left: 14px; z-index: 2; font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; background: rgba(0,40,61,0.82); padding: 6px 12px; border-radius: 999px; transition: opacity .8s var(--ease-out); }
.fd-ba.is-after .fd-ba__before .fd-ba__tag { opacity: 0; }
.fd-ba__tag--after { background: var(--fd-navy); }
.fd-ba__pane .fd-photo__label { color: var(--fd-gray-10); }
.fd-ba__after .fd-photo__label { color: rgba(255,255,255,0.8); }

/* Facade de vídeo — miniatura instantânea; player só ao clicar */
.fd-facade { position: relative; width: 100%; height: 100%; min-height: 100%; cursor: pointer;
  background-color: var(--fd-navy-900); background-size: cover; background-position: center; }
.fd-embed.fd-facade { padding-bottom: 0; }
.fd-facade::after { content: ""; position: absolute; inset: 0; background: rgba(0,40,61,0.04); transition: background .2s; }
.fd-facade:hover::after { background: rgba(0,40,61,0.12); }
.fd-facade__play { position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 72px; height: 72px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.5);
  background: rgba(0,40,61,0.6); display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: transform .2s, background .2s; }
.fd-facade:hover .fd-facade__play { transform: translate(-50%,-50%) scale(1.07); background: rgba(0,40,61,0.78); }

/* ============================================================
   BLOG (home highlights + index + single)
   ============================================================ */
.fd-blogfeat { background: var(--fd-cloud); border-top: 1px solid var(--fd-mist); }
.fd-blogfeat__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 38px; flex-wrap: wrap; }
.fd-postcard { display: block; cursor: pointer; }
.fd-postcard .fd-photo, .fd-feature .fd-photo { position: relative; }
.fd-postcard .fd-photo::after, .fd-feature .fd-photo::after {
  content: "Leia mais →"; display: block; width: auto; height: auto;
  position: absolute; left: 12px; bottom: 12px; top: auto; z-index: 3;
  border: 0; box-shadow: none;
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: #fff; background: rgba(0,40,61,0.82); padding: 7px 13px; border-radius: 999px;
  opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s;
}
.fd-postcard:hover .fd-photo::after, .fd-feature:hover .fd-photo::after { opacity: 1; transform: translateY(0); }
@media (hover: none) {
  .fd-postcard .fd-photo::after, .fd-feature .fd-photo::after { opacity: 1; transform: none; }
}
.fd-postcard .fd-photo { aspect-ratio: 16 / 9; height: auto; border-radius: 12px; margin-bottom: 16px; background-size: contain; background-repeat: no-repeat; background-position: center; background-color: var(--fd-cloud); }
.fd-postcard h3 { font-weight: 600; font-size: 18px; color: var(--fd-navy); margin: 10px 0 8px; line-height: 1.3; transition: color .16s; }
.fd-postcard:hover h3 { color: var(--fd-gray-10); }
.fd-postcard p { font-size: 13.5px; line-height: 1.6; color: var(--fd-gray-10); margin: 0 0 12px; }
.fd-postcard .meta { font-size: 12.5px; color: var(--fd-gray-5); }

.fd-blog-hero { background: var(--fd-navy); color: #fff; }
.fd-blog-hero__inner { max-width: var(--container); margin: 0 auto; padding: 70px 40px 60px; }
.fd-blog-hero h1 { font-weight: 300; font-size: 46px; letter-spacing: 0.02em; color: #fff; margin: 18px 0 12px; line-height: 1.12; max-width: 720px; min-height: 60px; }
.fd-blog-hero p { font-size: 16.5px; line-height: 1.7; color: rgba(255,255,255,0.7); max-width: 560px; margin: 0; }
.fd-typing-caret { border-right: 2px solid var(--fd-silver); animation: fdCaret 1s step-end infinite; }
@keyframes fdCaret { 50% { border-color: transparent; } }

.fd-blog-layout { max-width: var(--container); margin: 0 auto; padding: 56px 40px 80px; display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.fd-cats { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 34px; }
.fd-cat {
  font: 600 11.5px/1 var(--font-body); letter-spacing: 0.1em; text-transform: uppercase;
  padding: 9px 15px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--fd-gray-3); background: transparent; color: var(--fd-gray-10); transition: all .16s;
}
.fd-cat:hover { border-color: var(--fd-navy); }
.fd-cat.is-active { border-color: var(--fd-navy); background: var(--fd-navy); color: #fff; }

.fd-feature { display: block; cursor: pointer; margin-bottom: 40px; }
.fd-feature .fd-photo { aspect-ratio: 16 / 9; height: auto; border-radius: 14px; margin-bottom: 20px; background-size: contain; background-repeat: no-repeat; background-position: center; background-color: var(--fd-cloud); }
.fd-feature h2 { font-weight: 300; font-size: 30px; letter-spacing: 0.01em; color: var(--fd-navy); margin: 12px 0 10px; line-height: 1.18; }
.fd-feature p { font-size: 15.5px; line-height: 1.7; color: var(--fd-gray-10); margin: 0 0 12px; }
.fd-postgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.fd-postgrid .fd-postcard .fd-photo { aspect-ratio: 16 / 9; height: auto; }
.fd-postgrid .fd-postcard h3 { font-size: 19px; }

.fd-postmeta { display: flex; align-items: center; gap: 14px; font-size: 12.5px; color: var(--fd-gray-5); flex-wrap: wrap; }
.fd-postmeta strong { color: var(--fd-gray-10); font-weight: 600; }
.fd-postmeta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--fd-gray-3); }

.fd-aside { display: flex; flex-direction: column; gap: 26px; position: sticky; top: 96px; }
.fd-sidecard { background: var(--fd-white); border: 1px solid var(--fd-mist); border-radius: var(--radius-lg); padding: 24px; }
.fd-sidecard__t { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fd-silver); margin-bottom: 16px; }
.fd-author { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.fd-author img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; object-position: center 20%; }
.fd-author .n { font-size: 14.5px; font-weight: 600; color: var(--fd-navy); }
.fd-author .cro { font-size: 12px; color: var(--fd-gray-5); }
.fd-sidecard p { font-size: 13px; line-height: 1.6; color: var(--fd-gray-10); margin: 0; }
.fd-catlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.fd-catlist a { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--fd-mist); font-size: 14px; color: var(--fd-ink); }
.fd-catlist a span { color: var(--fd-silver); }
.fd-side-cta { background: var(--fd-navy); border-radius: var(--radius-lg); padding: 26px; color: #fff; }
.fd-side-cta__icon { width: 52px; height: 52px; min-width: 52px; min-height: 52px; border-radius: 50%; background-color: rgba(255,255,255,0.10); display: inline-block; vertical-align: top; margin-bottom: 18px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.9'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.2' cy='6.8' r='1.15' fill='%23ffffff' stroke='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; background-size: 24px 24px; }
.fd-side-cta .t { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fd-silver); margin-bottom: 10px; }
.fd-side-cta p { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.78); margin: 0 0 18px; }
.fd-side-cta a { display: inline-flex; align-items: center; gap: 8px; font: 600 11.5px/1 var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--fd-navy); background: #fff; padding: 12px 18px; border-radius: var(--radius-sm); }

/* single post */
.fd-single { max-width: 760px; margin: 0 auto; padding: 56px 40px 80px; }
.fd-single .fd-badge { margin-bottom: 16px; }
.fd-single h1 { font-weight: 300; font-size: 40px; letter-spacing: 0.01em; color: var(--fd-navy); line-height: 1.16; margin: 0 0 16px; }
.fd-single__meta { margin-bottom: 28px; }
.fd-single__cover { aspect-ratio: 16 / 9; height: auto; border-radius: 16px; margin-bottom: 32px; background-size: contain; background-repeat: no-repeat; background-position: center; background-color: var(--fd-cloud); }
.fd-article { font-size: 17px; line-height: 1.8; color: var(--fd-ink); }
.fd-article p { margin: 0 0 22px; }
.fd-article h2 { font-weight: 600; font-size: 25px; color: var(--fd-navy); margin: 36px 0 14px; }
.fd-article h3 { font-weight: 600; font-size: 20px; color: var(--fd-navy); margin: 28px 0 12px; }
.fd-article ul, .fd-article ol { margin: 0 0 22px; padding-left: 22px; }
.fd-article li { margin-bottom: 8px; }
.fd-article a { color: var(--fd-navy); text-decoration: underline; text-underline-offset: 3px; }
.fd-article img { border-radius: 12px; margin: 22px 0; box-shadow: var(--shadow-md); }
.fd-article .wp-block-image img { border-radius: 12px; box-shadow: var(--shadow-md); }
.fd-article figure { margin: 22px 0; }
.fd-article figcaption { font-size: 13px; color: var(--fd-gray-5); text-align: center; margin-top: 8px; }
.fd-article blockquote { margin: 26px 0; padding: 6px 22px; border-left: 3px solid var(--fd-silver); color: var(--fd-gray-10); font-style: italic; }

/* ============================================================
   TRATAMENTOS (page template)
   ============================================================ */
.fd-tx-rows { max-width: 1100px; margin: 0 auto; padding: 72px 40px; display: flex; flex-direction: column; gap: 64px; }
.fd-tx-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.fd-tx-row .fd-photo { height: 320px; border-radius: 16px; }
.fd-tx-row.alt .media { order: 2; }
.fd-tx-row.alt .text { order: 1; }
.fd-tx-row h2 { font-weight: 300; font-size: 30px; letter-spacing: 0.02em; color: var(--fd-navy); margin: 12px 0 14px; line-height: 1.18; }
.fd-tx-row p { font-size: 15.5px; line-height: 1.75; color: var(--fd-gray-10); margin: 0 0 18px; }
.fd-tx-points { margin: 0 0 24px; padding: 0; list-style: none; display: grid; gap: 10px; }
.fd-tx-points li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--fd-ink); }
.fd-tx-points li::before { content: "—"; color: var(--fd-silver); }
.fd-tx-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* FAQ */
.fd-faq { max-width: 860px; margin: 0 auto; padding: 72px 40px; }
.fd-faq__list { display: grid; gap: 14px; }
.fd-faq__item { background: var(--fd-white); border: 1px solid var(--fd-mist); border-radius: var(--radius-md); overflow: hidden; }
.fd-faq__q { width: 100%; text-align: left; padding: 18px 22px; background: transparent; border: 0; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 15.5px; font-weight: 600; color: var(--fd-navy); }
.fd-faq__icon { flex: none; width: 22px; height: 22px; position: relative; color: var(--fd-silver); }
.fd-faq__icon::before, .fd-faq__icon::after { content: ""; position: absolute; background: currentColor; }
.fd-faq__icon::before { top: 50%; left: 2px; right: 2px; height: 1.5px; transform: translateY(-50%); }
.fd-faq__icon::after { left: 50%; top: 2px; bottom: 2px; width: 1.5px; transform: translateX(-50%); transition: transform .18s; }
.fd-faq__item.is-open .fd-faq__icon::after { transform: translateX(-50%) scaleY(0); }
.fd-faq__a { max-height: 0; overflow: hidden; transition: max-height .22s ease; }
.fd-faq__a p { margin: 0; padding: 0 22px 20px; font-size: 14.5px; line-height: 1.7; color: var(--fd-gray-10); }

/* ============================================================
   CONTATO
   ============================================================ */
.fd-contact { background: var(--fd-cloud); border-top: 1px solid var(--fd-mist); }
.fd-contact__grid { max-width: var(--container); margin: 0 auto; padding: 78px 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.fd-contact h2 { font-weight: 300; font-size: 34px; letter-spacing: 0.02em; color: var(--fd-navy); margin: 20px 0 18px; line-height: 1.18; }
.fd-contact .lead { font-size: 16px; line-height: 1.75; color: var(--fd-gray-10); margin: 0 0 28px; max-width: 380px; }
.fd-contact dl { margin: 0; display: grid; gap: 18px; }
.fd-contact dt { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fd-gray-5); margin-bottom: 5px; }
.fd-contact dd { margin: 0; font-size: 15px; line-height: 1.6; color: var(--fd-ink); white-space: pre-line; }
.fd-map { margin-top: 26px; height: 180px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--fd-mist); position: relative;
  background: repeating-linear-gradient(0deg, #eef0f0 0 39px, #e4e6e6 39px 40px), repeating-linear-gradient(90deg, #eef0f0 0 39px, #e4e6e6 39px 40px); }
.fd-map .pin { position: absolute; left: 38%; top: 44%; transform: translate(-50%,-100%); }
.fd-map .cap { position: absolute; bottom: 10px; left: 14px; font-size: 10.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fd-gray-10); }
.fd-wacard { background: var(--fd-navy); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 40px; color: #fff; display: flex; flex-direction: column; align-items: flex-start; }
.fd-wacard__icon { width: 60px; height: 60px; border-radius: 50%; background: rgba(255,255,255,0.10); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.fd-wacard h3 { font-weight: 300; font-size: 27px; color: #fff; margin: 0 0 12px; letter-spacing: 0.02em; line-height: 1.2; }
.fd-wacard p { font-size: 15.5px; line-height: 1.7; color: rgba(255,255,255,0.74); margin: 0 0 24px; max-width: 360px; }
.fd-wacard__msg { width: 100%; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius-md); padding: 14px 16px; margin: 0 0 24px; }
.fd-wacard__msg .k { font-size: 10.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fd-silver); display: block; margin-bottom: 7px; }
.fd-wacard__msg .v { font-size: 14.5px; line-height: 1.6; color: #fff; }

/* ============================================================
   FOOTER
   ============================================================ */
.fd-footer { position: relative; background: var(--fd-navy); color: #fff; overflow: hidden; }
.fd-footer__mark { position: absolute; right: -40px; bottom: -80px; height: 360px; opacity: 0.06; pointer-events: none; }
.fd-footer__inner { position: relative; max-width: var(--container); margin: 0 auto; padding: 64px 40px 40px; }
.fd-footer__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.fd-footer__brand img { height: 30px; margin-bottom: 18px; }
.fd-footer__brand p { font-size: 13.5px; line-height: 1.7; color: rgba(255,255,255,0.6); max-width: 260px; }
.fd-footer__col .h { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fd-silver); margin-bottom: 16px; }
.fd-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.fd-footer__col a { font-size: 13.5px; color: rgba(255,255,255,0.72); }
.fd-footer__col a:hover { color: #fff; }
.fd-footer__bar { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.fd-footer__bar span { font-size: 12px; color: rgba(255,255,255,0.5); letter-spacing: 0.04em; }
.fd-footer__bar .social { letter-spacing: 0.16em; text-transform: uppercase; }

/* floating whatsapp */
.fd-wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #25D366; box-shadow: 0 8px 24px rgba(0,0,0,0.25); display: flex; align-items: center; justify-content: center; transition: transform .2s; }
.fd-wa-float:hover { transform: scale(1.08); }
.fd-wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* pagination */
.fd-pagination { display: flex; gap: 8px; justify-content: center; margin-top: 48px; flex-wrap: wrap; }
.fd-pagination .page-numbers { padding: 9px 15px; border-radius: var(--radius-sm); border: 1px solid var(--fd-gray-3); font-size: 13px; font-weight: 600; color: var(--fd-gray-10); }
.fd-pagination .page-numbers.current { background: var(--fd-navy); color: #fff; border-color: var(--fd-navy); }

/* WordPress core helpers */
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }
.aligncenter { margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: 6px 22px 12px 0; }
.alignright { float: right; margin: 6px 0 12px 22px; }
.wp-caption-text { font-size: 13px; color: var(--fd-gray-5); text-align: center; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1023px) {
  .fd-hero__grid { grid-template-columns: 1fr; gap: 32px; padding: 56px 32px; }
  .fd-hero h1 { font-size: 42px; }
  .fd-hero__photo { height: 320px; }
  .fd-treatments__grid { grid-template-columns: repeat(2, 1fr); }
  .fd-fabio__grid { grid-template-columns: 1fr; gap: 56px; padding: 64px 32px; }
  .fd-fabio__photo img { height: 480px; }
  .fd-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .fd-blog-layout { grid-template-columns: 1fr; }
  .fd-aside { position: static; flex-direction: column; }
  .fd-contact__grid { grid-template-columns: 1fr; gap: 36px; }
  .fd-footer__cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .fd-tx-row { grid-template-columns: 1fr; gap: 28px; }
  .fd-tx-row.alt .media, .fd-tx-row.alt .text { order: 0; }
}

@media (max-width: 720px) {
  .fd-container, .fd-hero__grid, .fd-fabio__grid, .fd-contact__grid,
  .fd-video__inner, .fd-blog-hero__inner, .fd-blog-layout, .fd-tx-rows, .fd-faq, .fd-single, .fd-footer__inner, .fd-header__bar, .fd-ctastrip__inner {
    padding-left: 20px; padding-right: 20px;
  }
  .fd-section { padding: 52px 0; }
  .fd-nav { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--fd-navy); border-bottom: 1px solid rgba(255,255,255,0.1); padding: 6px 22px 22px;
    transform: translateY(-130%); transition: transform .3s var(--ease-out); max-height: calc(100vh - 76px); overflow-y: auto; }
  .fd-nav.is-open { transform: translateY(0); }
  .fd-nav li { display: block; }
  .fd-nav a.fd-nav__link { display: block; padding: 17px 2px; font-size: 14px; letter-spacing: 0.16em;
    color: rgba(255,255,255,0.82); border-bottom: 1px solid rgba(255,255,255,0.08); }
  .fd-nav a.fd-nav__link:hover, .fd-nav a.fd-nav__link.is-active { border-bottom-color: rgba(255,255,255,0.08); color: #fff; }
  .fd-nav .fd-btn { margin-top: 18px; width: 100%; }
  .fd-nav__toggle { display: inline-flex; }
  /* Submenu no mobile: estático, abre ao tocar no item-pai */
  .fd-nav .menu-item-has-children { display: block; }
  .fd-nav .menu-item-has-children > .fd-nav__link::after { float: right; content: "\25BE"; font-size: 14px; color: var(--fd-silver); opacity: 1; margin-top: 1px; transition: transform .2s; }
  .fd-nav .menu-item-has-children.is-open-sub > .fd-nav__link::after { transform: rotate(180deg); }
  .fd-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0;
    background: rgba(0,0,0,0.18); margin: 0; padding: 4px 0; display: none; }
  .fd-nav .menu-item-has-children.is-open-sub > .sub-menu { display: block; }
  .fd-nav .sub-menu a { display: block; padding: 14px 2px 14px 18px; font-size: 13px; letter-spacing: 0.04em;
    text-transform: none; color: rgba(255,255,255,0.72); border-bottom: 1px solid rgba(255,255,255,0.06); border-radius: 0; }
  .fd-nav .sub-menu li:last-child a { border-bottom: 0; }
  .fd-hero h1 { font-size: 34px; }
  .fd-hero__photo { width: 100%; margin: 0 auto; background-position: center; }
  .fd-treatments__grid { grid-template-columns: 1fr; }
  .fd-grid-3 { grid-template-columns: 1fr; }
  .fd-postgrid { grid-template-columns: 1fr; }
  .fd-fabio__photo img { height: 420px; }
  .fd-fabio__photo .frame { left: -8px; top: -8px; right: 8px; bottom: 8px; }
  .fd-hero__grid { padding-top: 36px; padding-bottom: 8px; }
  .fd-blog-hero__inner { padding-top: 40px; padding-bottom: 40px; }
  .fd-video__inner { padding-top: 44px; padding-bottom: 44px; }
  .fd-contact__grid { padding-top: 44px; padding-bottom: 44px; }
  .fd-footer__mark { display: none; }
  .fd-footer__cols { grid-template-columns: 1fr; }
  .fd-head h2, .fd-fabio h2, .fd-contact h2, .fd-video h2, .fd-blog-hero h1, .fd-single h1 { font-size: 28px; }
  .fd-wacard { padding: 28px; }
  .fd-ctastrip__inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
