/*
Theme Name: Print Smile
Theme URI: https://printsmile.com.br
Author: Print Smile
Author URI: https://printsmile.com.br
Description: Tema institucional premium para a Print Smile — alinhadores estéticos com planejamento digital, produção ágil e suporte clínico ao dentista. Fundo branco, tipografia elegante e destaque em dourado (#C98312).
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
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: print-smile
Tags: institucional, saude, one-page, custom-header, custom-logo, custom-menu, featured-images, translation-ready
*/

/* =========================================================================
   1. Design tokens
   ========================================================================= */
:root {
  --bg: #ffffff;
  --text: #3d3d3d;
  --heading: #2b2b2b;
  --muted: #6f6f6f;
  --accent: #c98312;
  --accent-dark: #a86a0e;
  --accent-soft: #f6ecdd;
  --accent-tint: #fbf5ea;
  --cream: #faf7f2;
  --line: #ece8e1;
  --line-strong: #e0d9cd;
  --dark: #2a2724;
  --dark-2: #363330;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;

  --shadow-sm: 0 2px 8px rgba(43, 39, 34, .05);
  --shadow: 0 18px 45px -22px rgba(43, 39, 34, .28);
  --shadow-lg: 0 40px 80px -35px rgba(43, 39, 34, .35);

  --font-display: "Urbanist", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Helvetica Neue", Helvetica, Arial, "Segoe UI", Roboto, sans-serif;

  --container: 1180px;
  --gutter: clamp(20px, 5vw, 40px);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* =========================================================================
   2. Reset & base
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: .002em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: var(--accent-dark); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--accent); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--heading);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
}

p { margin: 0 0 1.1rem; }

ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =========================================================================
   3. Layout helpers
   ========================================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.container--wide { max-width: 1320px; }
.container--narrow { max-width: 820px; }

.section { padding-block: clamp(64px, 9vw, 128px); }
.section--cream { background: var(--cream); }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1.5px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow--center { justify-content: center; }

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 18ch;
}
.section-head { margin-bottom: clamp(38px, 5vw, 64px); }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center .section-title { margin-inline: auto; }
.section-head p { color: var(--muted); font-size: 1.06rem; max-width: 62ch; }
.section-head--center p { margin-inline: auto; }

.lead { font-size: 1.15rem; color: var(--muted); }

/* =========================================================================
   4. Buttons
   ========================================================================= */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: var(--font-body);
  font-size: .96rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1.5px solid var(--btn-bg);
  border-radius: 100px;
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  box-shadow: 0 14px 30px -14px rgba(201, 131, 18, .7);
}
.btn:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 20px 38px -14px rgba(201, 131, 18, .8); }
.btn .btn-arrow { transition: transform .3s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--heading);
  border-color: var(--line-strong);
  box-shadow: none;
}
.btn--ghost:hover { color: var(--heading); border-color: var(--accent); background: var(--accent-tint); box-shadow: none; }

.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--heading);
  box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .6);
}
.btn--light:hover { color: var(--accent-dark); }

/* Fundo branco, texto na cor primária (dourado) */
.btn--white {
  --btn-bg: #fff;
  --btn-fg: var(--accent);
  border-color: #fff;
  box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .45);
}
.btn--white:hover { color: var(--accent-dark); background: #fff; border-color: #fff; }

.btn--on-dark-ghost {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, .7);
  box-shadow: none;
}
.btn--on-dark-ghost:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .12); box-shadow: none; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--accent-dark);
}
.text-link svg { transition: transform .3s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }

/* =========================================================================
   5. Header / navigation
   ========================================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: box-shadow .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
/* Estado sólido (ao rolar a página ou com o menu mobile aberto) */
.site-header.is-stuck,
.site-header.nav-open {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 8px 30px -20px rgba(43, 39, 34, .4);
  border-bottom-color: var(--line);
}
/* Compensa a barra de administração do WordPress (usuário logado) */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
  body.admin-bar .primary-nav { top: calc(46px + 82px); }
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
}
.site-brand { display: inline-flex; align-items: center; position: relative; }
.site-brand img, .site-brand svg { height: 42px; width: auto; }

/* Rede de segurança: qualquer logo dentro do cabeçalho nunca passa da altura definida */
.site-header .site-branding img,
.site-header .custom-logo,
.site-header .custom-logo-link img {
  height: 42px !important;
  width: auto !important;
  max-width: 220px;
}

/* Troca de logo: branca no topo, colorida ao rolar */
.site-brand__logo { height: 42px; width: auto; transition: opacity .35s var(--ease); }
.site-brand__logo--dark { position: absolute; top: 0; left: 0; opacity: 0; }
.site-header.is-stuck .site-brand__logo--light,
.site-header.nav-open .site-brand__logo--light { opacity: 0; }
.site-header.is-stuck .site-brand__logo--dark,
.site-header.nav-open .site-brand__logo--dark { opacity: 1; position: static; }
.site-header.is-stuck .site-brand__logo--light { position: absolute; top: 0; left: 0; }

.primary-nav ul { display: flex; align-items: center; gap: 6px; }
.primary-nav a {
  display: inline-block;
  padding: 10px 15px;
  font-size: .96rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .92);
  border-radius: 8px;
  position: relative;
  transition: color .3s var(--ease);
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 15px; right: 15px; bottom: 6px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.primary-nav a:hover { color: #fff; }
.primary-nav a:hover::after,
.primary-nav .current-menu-item > a::after { transform: scaleX(1); }
/* Cabeçalho sólido → texto escuro */
.site-header.is-stuck .primary-nav a,
.site-header.nav-open .primary-nav a { color: var(--text); }
.site-header.is-stuck .primary-nav a:hover,
.site-header.is-stuck .primary-nav .current-menu-item > a,
.site-header.nav-open .primary-nav a:hover { color: var(--heading); }

.header-actions { display: flex; align-items: center; gap: 14px; }

/* CTA do cabeçalho: contorno branco no topo, sólido dourado ao rolar */
.header-cta {
  background: transparent;
  border-color: rgba(255, 255, 255, .5);
  color: #fff;
  box-shadow: none;
}
.header-cta:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; box-shadow: none; }
.site-header.is-stuck .header-cta,
.site-header.nav-open .header-cta {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 14px 30px -14px rgba(201, 131, 18, .7);
}
.site-header.is-stuck .header-cta:hover { background: var(--accent-dark); border-color: var(--accent-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color .3s var(--ease);
}
.site-header.is-stuck .nav-toggle,
.site-header.nav-open .nav-toggle { border-color: var(--line-strong); }
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  margin: 0 auto;
  background: #fff;
  transition: transform .3s var(--ease), opacity .3s var(--ease), background .3s var(--ease);
}
.site-header.is-stuck .nav-toggle span,
.site-header.nav-open .nav-toggle span { background: var(--heading); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================================
   6. Hero
   ========================================================================= */
.hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  padding-block: clamp(96px, 15vw, 172px);
  overflow: hidden;
}
.hero__slideshow {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-color: #2a2724;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: right center;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}
.hero__bg.is-active { opacity: 1; }
.hero__inner { max-width: 720px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px 9px 14px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 100px;
  backdrop-filter: blur(6px);
}
.hero__badge svg { color: var(--accent); flex-shrink: 0; }
.hero h1 {
  color: #fff;
  font-size: clamp(2.5rem, 6vw, 4.35rem);
  line-height: 1.04;
  margin-bottom: 22px;
  text-shadow: 0 2px 24px rgba(90, 55, 5, .35);
}
.hero h1 em { font-style: italic; color: #fff8ec; }
.hero__text { font-size: 1.16rem; color: #fff; max-width: 56ch; margin-bottom: 34px; text-shadow: 0 1px 16px rgba(90, 55, 5, .35); }
.hero__badge { text-shadow: none; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
}
.hero__scroll .mouse {
  width: 22px; height: 34px;
  border: 1.5px solid rgba(255, 255, 255, .5);
  border-radius: 12px;
  position: relative;
}
.hero__scroll .mouse::after {
  content: "";
  position: absolute;
  top: 6px; left: 50%;
  width: 3px; height: 6px;
  background: #fff;
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollDot 1.8s var(--ease) infinite;
}
@keyframes scrollDot { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 80%, 100% { opacity: 0; transform: translate(-50%, 10px); } }

/* Marquee strip */
.marquee {
  background: var(--dark);
  color: #fff;
  overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, .08);
}
.marquee__track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee__track span {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  color: rgba(255, 255, 255, .92);
  white-space: nowrap;
}
.marquee__track span::after {
  content: "";
  width: 7px; height: 7px;
  margin-inline: 34px;
  border-radius: 50%;
  background: var(--accent);
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================================
   7. About intro
   ========================================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.about-grid__media { position: relative; }
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 22px;
  margin: 28px 0 34px;
}
.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 700;
  color: var(--heading);
}
.about-feature .tick {
  flex-shrink: 0;
  width: 26px; height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  margin-top: 1px;
}

/* Media / image placeholders */
.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--cream);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--wide { aspect-ratio: 16 / 11; }
.media-frame--square { aspect-ratio: 1 / 1; }

.img-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  text-align: center;
  color: var(--accent-dark);
  background:
    linear-gradient(135deg, var(--accent-tint), #f3ece0);
}
.img-placeholder svg { opacity: .55; }
.img-placeholder span {
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #b39a72;
  font-weight: 600;
}

/* Colagem editorial de imagens */
.media-collage { position: relative; z-index: 1; }
.media-collage::before {
  content: "";
  position: absolute;
  inset: 26px -26px -26px 26px;
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, var(--accent), #e6b055);
  opacity: .18;
  z-index: -1;
}
.media-collage::after {
  content: "";
  position: absolute;
  width: 130px; height: 130px;
  right: -14px; top: -30px;
  background-image: radial-gradient(circle, var(--accent-dark) 1.4px, transparent 1.6px);
  background-size: 15px 15px;
  opacity: .35;
  z-index: -1;
}
.media-collage .media-frame { position: relative; z-index: 1; }

/* Par de imagens sobrepostas */
.media-duo { position: relative; z-index: 1; }
.media-duo__sub {
  position: absolute;
  right: -26px;
  bottom: -34px;
  width: 45%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
  z-index: 3;
  aspect-ratio: 3 / 4;
}
.media-duo__sub img { width: 100%; height: 100%; object-fit: cover; }

/* Legenda de imagem */
.media-caption {
  margin-top: 16px;
  text-align: center;
  font-size: .9rem;
  letter-spacing: .01em;
  color: var(--muted);
}

/* Díptico (duas imagens escalonadas) */
.diptych { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.diptych .media-frame { aspect-ratio: 3 / 4; }
.diptych .media-frame:nth-child(2) { margin-top: 46px; }
.diptych .media-frame img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 720px) {
  .diptych { grid-template-columns: 1fr 1fr; gap: 14px; }
  .diptych .media-frame:nth-child(2) { margin-top: 28px; }
}

.about-badge {
  position: absolute;
  bottom: -22px;
  left: -22px;
  background: #fff;
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 250px;
}
.about-badge .num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--accent);
  font-weight: 600;
}
.about-badge .lbl { font-size: .86rem; color: var(--muted); line-height: 1.35; }

/* =========================================================================
   8. Services
   ========================================================================= */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px 30px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--accent), #e0a94c);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card__icon {
  width: 60px; height: 60px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  margin-bottom: 22px;
  transition: background .35s var(--ease), color .35s var(--ease);
}
.card:hover .card__icon { background: var(--accent); color: #fff; }
.card h3 { font-size: 1.28rem; margin-bottom: 10px; }
.card p { font-size: .96rem; color: var(--muted); margin-bottom: 18px; }
.card .text-link { margin-top: auto; }

/* =========================================================================
   9. Why choose (split)
   ========================================================================= */
.why-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.why-list { display: grid; gap: 8px; margin-top: 30px; }
.why-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.why-item:hover { background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); transform: translateX(4px); }
.why-item .why-num {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent);
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1.5px solid var(--accent-soft);
  background: var(--accent-tint);
}
.why-item h3 { font-size: 1.15rem; margin-bottom: 4px; }
.why-item p { font-size: .95rem; color: var(--muted); margin: 0; }

/* Stats row */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}
.stat { text-align: center; padding: 8px; }
.stat .stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}
.stat .stat-lbl { font-size: .92rem; color: var(--muted); margin-top: 8px; }
.stats--dark .stat .stat-num { color: #f0c988; }
.stats--dark .stat .stat-lbl { color: rgba(255,255,255,.7); }

/* =========================================================================
   10. Testimonials
   ========================================================================= */
/* Carrossel de depoimentos */
.tcarousel { position: relative; }
.tcarousel__track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 2px 8px;
  margin: -4px -2px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.tcarousel__track::-webkit-scrollbar { display: none; }
.tcarousel__track .testimonial {
  flex: 0 0 calc((100% - 44px) / 3);
  scroll-snap-align: start;
}
.tcarousel__controls { display: flex; justify-content: center; gap: 12px; margin-top: 30px; }
.tcarousel__btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  background: #fff;
  color: var(--heading);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.tcarousel__btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-2px); }
.tcarousel__btn[data-dir="-1"] svg { transform: rotate(180deg); }
@media (max-width: 980px) {
  .tcarousel__track .testimonial { flex-basis: calc((100% - 22px) / 2); }
}
@media (max-width: 640px) {
  .tcarousel__track .testimonial { flex-basis: 88%; }
}

.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.testimonial:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.testimonial .quote-mark {
  font-family: var(--font-display);
  font-size: 3.4rem;
  line-height: .6;
  color: var(--accent);
  opacity: .35;
  margin-bottom: 14px;
}
.testimonial .stars { display: flex; gap: 3px; color: var(--accent); margin-bottom: 16px; }
.testimonial p { color: var(--text); font-size: 1rem; flex: 1; }
.testimonial .who { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.testimonial .avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  flex-shrink: 0;
  overflow: hidden;
}
.testimonial .avatar img { width: 100%; height: 100%; object-fit: cover; }

/* Estrelas preenchidas / vazias */
.stars { display: inline-flex; }
.stars .star-on { color: var(--accent); display: inline-flex; }
.stars .star-off { color: #ddd5c8; display: inline-flex; }

/* Bloco de resumo — Avaliações no Google */
.greviews {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 28px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
}
.greviews__brand { display: flex; align-items: center; gap: 16px; }
.greviews__glogo {
  display: grid; place-items: center;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.greviews__label { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; color: var(--heading); }
.greviews__rate { display: flex; align-items: center; gap: 10px; margin-top: 4px; flex-wrap: wrap; }
.greviews__num { font-family: var(--font-display); font-size: 1.3rem; line-height: 1; color: var(--accent-dark); font-weight: 700; }
.greviews__stars { gap: 2px; }
.greviews__count { font-size: .9rem; color: var(--muted); }
.greviews__actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 680px) {
  .greviews { flex-direction: column; align-items: flex-start; }
  .greviews__actions { width: 100%; }
  .greviews__actions .btn { flex: 1; justify-content: center; }
}

/* Selo do Google no card de avaliação */
.testimonial { position: relative; }
.testimonial__gbadge {
  position: absolute;
  top: 24px; right: 26px;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}
.testimonial--google p { padding-right: 8px; }
.testimonial .who .name { font-weight: 600; color: var(--heading); font-size: .98rem; }
.testimonial .who .role { font-size: .84rem; color: var(--muted); }

/* =========================================================================
   11. FAQ
   ========================================================================= */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.faq-item.is-open { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--heading);
}
.faq-q .faq-icon {
  flex-shrink: 0;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent-dark);
  position: relative;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.faq-item.is-open .faq-icon { background: var(--accent); color: #fff; transform: rotate(135deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a__inner { padding: 0 26px 24px; color: var(--muted); }

/* =========================================================================
   12. CTA band
   ========================================================================= */
.cta-band {
  position: relative;
  isolation: isolate;
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(48px, 7vw, 84px) clamp(30px, 6vw, 72px);
  overflow: hidden;
  text-align: center;
}
.cta-band__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(90% 120% at 15% 10%, rgba(201,131,18,.5), transparent 55%),
    linear-gradient(120deg, #2a2724, #423a31);
}
.cta-band h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,.82); font-size: 1.1rem; max-width: 56ch; margin: 0 auto 32px; }
.cta-band .hero__actions { justify-content: center; }

/* =========================================================================
   13. Footer
   ========================================================================= */
.site-footer { background: var(--dark); color: rgba(255,255,255,.72); }
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-block: clamp(56px, 7vw, 84px);
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand img { height: 46px; margin-bottom: 22px; }
.footer-brand .footer-logo { height: 72px; width: auto; margin-bottom: 26px; }
.footer-brand p { max-width: 34ch; font-size: .95rem; }
.footer-col h4 { color: #fff; font-family: var(--font-body); font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 20px; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { color: rgba(255,255,255,.72); font-size: .95rem; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 12px; font-size: .95rem; margin-bottom: 14px; align-items: flex-start; }
.footer-contact svg { color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.8);
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-3px); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 26px;
  font-size: .86rem;
  color: rgba(255,255,255,.55);
}
.footer-bottom a { color: rgba(255,255,255,.7); }

/* =========================================================================
   13b. Botão flutuante do WhatsApp
   ========================================================================= */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: 0;
  height: 60px;
  padding: 0;
  color: #fff;
  background: #25d366;
  border-radius: 100px;
  box-shadow: 0 16px 34px -12px rgba(37, 211, 102, .7), 0 4px 12px rgba(0, 0, 0, .18);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), padding .35s var(--ease);
}
.wa-float svg { flex-shrink: 0; width: 60px; height: 30px; }
.wa-float__label {
  max-width: 0;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  opacity: 0;
  transition: max-width .35s var(--ease), opacity .3s var(--ease), padding .35s var(--ease);
}
.wa-float:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 22px 42px -12px rgba(37, 211, 102, .85), 0 6px 16px rgba(0, 0, 0, .2); }
.wa-float:hover .wa-float__label { max-width: 160px; opacity: 1; padding-right: 24px; }
/* Pulso sutil para chamar atenção */
.wa-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 100px;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, .55);
  animation: waPulse 2.6s var(--ease) infinite;
}
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); } 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
@media (max-width: 720px) {
  .wa-float { right: 16px; bottom: 16px; height: 56px; }
  .wa-float svg { width: 56px; }
  .wa-float:hover .wa-float__label { max-width: 0; opacity: 0; padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) { .wa-float::after { animation: none; } }

/* =========================================================================
   13c. Mapa de dentistas
   ========================================================================= */
.ps-map { --ps-map-height: 560px; }
.ps-map__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.ps-map__search {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 240px;
}
.ps-map__search svg { position: absolute; left: 16px; color: var(--accent-dark); pointer-events: none; }
.ps-map__search input {
  width: 100%;
  padding: 14px 18px 14px 44px;
  font: inherit;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.ps-map__search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.ps-map__bar select {
  padding: 14px 18px;
  font: inherit;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  cursor: pointer;
}
.ps-map__count { font-size: .9rem; color: var(--muted); font-weight: 600; margin-left: auto; }

.ps-map__grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 18px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
  border: 1px solid var(--line);
}
.ps-map__canvas { height: var(--ps-map-height); width: 100%; z-index: 1; }
.ps-map__list {
  height: var(--ps-map-height);
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-left: 1px solid var(--line);
}
.ps-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
  width: 100%;
  padding: 15px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .2s var(--ease);
}
.ps-card:hover { border-color: var(--accent); background: var(--accent-tint); }
.ps-card.is-active { border-color: var(--accent); background: var(--accent-tint); box-shadow: inset 3px 0 0 var(--accent); }
.ps-card__name { font-family: var(--font-display); font-weight: 700; color: var(--heading); }
.ps-card__tag { font-size: .82rem; color: var(--accent-dark); font-weight: 600; }
.ps-card__addr { font-size: .85rem; color: var(--muted); }
.ps-map__none { padding: 20px; color: var(--muted); text-align: center; }

.ps-map__empty {
  display: grid;
  place-items: center;
  gap: 12px;
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
  background: var(--cream);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
}
.ps-map__empty svg { color: var(--accent); opacity: .6; }

/* Tooltip (hover) e popup (clique) do Leaflet */
.leaflet-tooltip.ps-tt {
  border: none;
  box-shadow: var(--shadow);
  border-radius: 10px;
  padding: 10px 14px;
  font-family: var(--font-body);
}
.leaflet-tooltip.ps-tt strong { display: block; font-family: var(--font-display); color: var(--heading); font-size: .98rem; }
.leaflet-tooltip.ps-tt span { display: block; font-size: .82rem; color: var(--accent-dark); }
.ps-popup .leaflet-popup-content-wrapper { border-radius: 14px; box-shadow: var(--shadow-lg); }
.ps-pop h4 { font-family: var(--font-display); font-size: 1.1rem; margin: 0 0 4px; color: var(--heading); }
.ps-pop__who { font-size: .86rem; color: var(--muted); margin-bottom: 6px; }
.ps-pop__tag {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  color: var(--accent-dark);
  background: var(--accent-soft);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 8px;
}
.ps-pop__row { font-size: .88rem; color: var(--text); margin: 3px 0; }
.ps-pop__actions { display: flex; gap: 8px; margin-top: 12px; }
.ps-pop__actions a {
  flex: 1;
  text-align: center;
  padding: 8px 12px;
  border-radius: 100px;
  font-size: .85rem;
  font-weight: 600;
  background: var(--accent);
  color: #fff !important;
}
.ps-pop__actions a:last-child { background: var(--accent-tint); color: var(--accent-dark) !important; }
.ps-pin { background: none; border: none; filter: drop-shadow(0 4px 6px rgba(0,0,0,.25)); }

@media (max-width: 860px) {
  .ps-map__grid { grid-template-columns: 1fr; }
  .ps-map__list { height: auto; max-height: 320px; border-left: none; border-top: 1px solid var(--line); }
  .ps-map__count { margin-left: 0; width: 100%; }
}

/* =========================================================================
   14. Page hero (interior pages) + content
   ========================================================================= */
.page-hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  padding-top: clamp(140px, 14vw, 190px);
  padding-bottom: clamp(70px, 9vw, 110px);
  text-align: center;
  overflow: hidden;
}
.page-hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(90% 120% at 80% 0%, rgba(201,131,18,.4), transparent 55%),
    linear-gradient(120deg, #221f1c, #423a31);
}
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 3.6rem); }
.page-hero p { color: rgba(255,255,255,.85); font-size: 1.15rem; max-width: 60ch; margin: 12px auto 0; }
.breadcrumbs { font-size: .84rem; letter-spacing: .04em; color: rgba(255,255,255,.7); margin-bottom: 18px; }
.breadcrumbs a { color: rgba(255,255,255,.9); }

.entry-content { font-size: 1.08rem; }
.entry-content h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-top: 1.6em; }
.entry-content h3 { font-size: 1.35rem; margin-top: 1.4em; }
.entry-content img { border-radius: var(--radius); margin-block: 1.6em; }
.entry-content blockquote {
  margin: 1.8em 0;
  padding: 8px 0 8px 28px;
  border-left: 3px solid var(--accent);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--heading);
}

/* Story section (Nossa História) */
.story-lead {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.35;
  color: var(--heading);
  font-weight: 500;
}
.story-lead em { color: var(--accent); font-style: italic; }
.story-body { columns: 1; max-width: 760px; }
.story-body p { margin-bottom: 1.4rem; color: var(--text); }
.story-pullout {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  line-height: 1.3;
  color: var(--heading);
  text-align: center;
  max-width: 20ch;
  margin: 0 auto;
}
.story-pullout em { color: var(--accent); font-style: italic; }

.timeline { display: grid; gap: 6px; position: relative; margin-top: 20px; }
.timeline__item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 30px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.timeline__item:last-child { border-bottom: 1px solid var(--line); }
.timeline__year { font-family: var(--font-display); font-weight: 600; color: var(--accent); font-size: 1.1rem; }
.timeline__item h3 { font-size: 1.25rem; margin-bottom: 6px; }
.timeline__item p { color: var(--muted); margin: 0; }

/* =========================================================================
   15. Reveal animation
   ========================================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* =========================================================================
   16. WordPress core classes
   ========================================================================= */
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px; width: 1px;
  margin: -1px; overflow: hidden; padding: 0; position: absolute;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 9999;
  background: #fff; color: var(--heading);
  padding: 12px 20px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }
.aligncenter { margin-inline: auto; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption-text, .gallery-caption { font-size: .86rem; color: var(--muted); }

/* =========================================================================
   17. Responsive
   ========================================================================= */
@media (max-width: 980px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .about-grid, .why-grid, .faq-grid { grid-template-columns: 1fr; }
  .why-grid__media, .about-grid__media { order: -1; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-toggle { display: flex; }
  .primary-nav {
    position: fixed;
    inset: 82px 0 auto 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 16px var(--gutter) 26px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform .3s var(--ease), opacity .3s var(--ease);
  }
  .primary-nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .primary-nav a { padding: 14px 12px; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .primary-nav a::after { display: none; }
  .header-cta { display: none; }
  .cards { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 30px; }
  .about-features { grid-template-columns: 1fr; }
  .about-badge { left: 50%; transform: translateX(-50%); bottom: -26px; }
  .timeline__item { grid-template-columns: 1fr; gap: 6px; }
  .hero { text-align: left; }
  .hero__bg { background-position: 72% center; }
  /* Overlay escuro apenas no mobile, para melhorar a leitura do texto.
     Usa z-index positivo (mais robusto que z-index negativo em alguns temas/plugins). */
  .hero { position: relative !important; }
  .hero > .container { position: relative !important; z-index: 3 !important; }
  .hero > .hero__scroll { z-index: 3 !important; }
  .hero .hero__slideshow { z-index: 1 !important; }
  .hero::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    pointer-events: none !important;
    background: linear-gradient(0deg, rgba(18, 13, 6, .78) 0%, rgba(18, 13, 6, .52) 55%, rgba(18, 13, 6, .42) 100%) !important;
  }
}
