/* ==========================================================================
   Essence Odontologia — estilos do site (YOOtheme Pro / Joomla)
   --------------------------------------------------------------------------
   Instalar em: templates/yootheme/css/custom.css
   (Customizer → Advanced → Custom CSS também funciona.)

   As classes abaixo são as mesmas definidas no campo "CSS Class" de cada
   seção / linha / coluna / elemento dos layouts .json importados.
   ========================================================================== */

:root {
  --wine: #8b1539;
  --berry: #bd405f;
  --rose: #ef6a85;
  --blush: #f798a5;
  --petal: #ffc6c5;
  --peach: #ffded5;
  --ivory: #fff6e5;
  --paper: #fffaf2;
  --ink: #32151e;
  --muted: #7b6268;
  --line: rgba(139, 21, 57, 0.16);
  --serif: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
}

/* --------------------------------------------------------------------------
   1. Base
   -------------------------------------------------------------------------- */

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: Geist, -apple-system, "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
}

::selection { background: var(--petal); color: var(--wine); }

.tm-page a { color: inherit; text-decoration: none; }
.tm-page img { display: block; max-width: 100%; }

/* --------------------------------------------------------------------------
   2. Normalização do UIkit / YOOtheme
   Neutraliza paddings de seção, larguras de container, gaps de grid e as
   margens automáticas dos elementos, para que o desenho original prevaleça.
   -------------------------------------------------------------------------- */

.tm-page .uk-section { padding-top: 0; padding-bottom: 0; }

.tm-page .uk-section > .uk-container {
  width: min(1180px, calc(100% - 48px));
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
}

/* Linhas que viram CSS Grid: remove as margens negativas do uk-grid. */
.hero-grid, .intro-grid, .clinic-story-grid, .section-heading, .difference-grid,
.service-preview-grid, .team-grid, .location-grid, .footer-grid, .doctor-hero-grid,
.doctor-gallery-grid, .values-grid, .kids-grid, .doctor-cta-inner, .service-list-grid,
.help-banner-inner {
  display: grid;
  margin: 0;
  list-style: none;
}

.hero-grid > *, .intro-grid > *, .clinic-story-grid > *, .section-heading > *,
.difference-grid > *, .service-preview-grid > *, .team-grid > *, .location-grid > *,
.footer-grid > *, .doctor-hero-grid > *, .doctor-gallery-grid > *, .values-grid > *,
.kids-grid > *, .doctor-cta-inner > *, .service-list-grid > *, .help-banner-inner > * {
  padding-left: 0;
  margin-top: 0;
  width: auto;
  max-width: none;
}

/* Elementos do builder não devem herdar as margens padrão do UIkit.
   Envolto em :where() de propósito: especificidade 0, para que qualquer
   regra de desenho mais abaixo (ex.: `.value-card h3 { margin-top: 78px }`)
   continue vencendo este reset. */
:where(.tm-page .uk-section) :where(.uk-margin, .uk-margin-top) { margin-top: 0; }
:where(.tm-page .uk-section) :where(.uk-panel) > :last-child { margin-bottom: 0; }

/* Elementos Text/HTML: o wrapper é transparente, quem carrega o estilo é a
   div de classe que vai dentro do conteúdo. */
.tm-page .ess-raw { margin: 0; padding: 0; border: 0; background: none; }
.ess-icon-el, .ess-stretch { margin: 0; }
.ess-stretch { position: static; }

/* Link que cobre o card inteiro. */
.card-stretch-link { position: absolute; inset: 0; z-index: 3; }

/* --------------------------------------------------------------------------
   3. Tipografia comum
   -------------------------------------------------------------------------- */

.eyebrow, .section-index {
  display: block;
  margin: 0 0 22px;
  color: var(--berry);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.tm-page .display-title, .tm-page .page-title, .tm-page .doctor-name,
.intro-statement h2, .section-heading h2, .location-copy h2,
.kids-copy h2, .doctor-cta h2, .manifesto-inner p, .clinic-story-copy h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.045em;
}

.tm-page em { color: var(--berry); font-weight: 400; font-style: italic; }

.text-link {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--wine);
  font-size: 13px;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
  padding-bottom: 7px;
}
.text-link span { transition: transform .25s ease; }
.text-link:hover span { transform: rotate(45deg); }

/* Botões ------------------------------------------------------------------ */

/* O elemento Button do YOOtheme gera:
     div > div.uk-grid > div > a.uk-button.uk-button-{estilo}
   Por isso estilizamos direto os estilos nativos do UIkit — não dependemos de
   nenhuma classe própria, e os dois botões do hero já saem lado a lado
   (é o uk-grid interno do elemento que faz isso). */

.tm-page .uk-button {
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-transform: none;
  transition: transform .25s ease, color .25s ease, background .25s ease, border-color .25s ease;
}
.tm-page .uk-button::after {
  content: "↗";
  font-size: 18px;
  transition: transform .25s ease;
}
.tm-page .uk-button:hover { transform: translateY(-3px); }
.tm-page .uk-button:hover::after { transform: rotate(45deg); }

/* solid */  .tm-page .uk-button-primary { background: var(--wine); color: #fff; }
             .tm-page .uk-button-primary:hover { background: var(--berry); color: #fff; }
/* ghost */  .tm-page .uk-button-default { color: var(--wine); border-color: var(--line); background: transparent; }
             .tm-page .uk-button-default:hover { border-color: var(--berry); background: rgba(255,255,255,.45); color: var(--wine); }
/* light */  .tm-page .uk-button-secondary { background: #fff; color: var(--wine); }
             .tm-page .uk-button-secondary:hover { background: #fff; color: var(--wine); }

/* Margens por contexto — presas à classe da SEÇÃO, que é sempre aplicada. */
.home-hero .uk-button { margin-top: 32px; }
.clinic-story-section .uk-button { margin-top: 14px; }

/* --------------------------------------------------------------------------
   4. Cabeçalho / rodapé / WhatsApp flutuante
   -------------------------------------------------------------------------- */

.tm-header, .tm-headerbar {
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.tm-header .uk-navbar-container { background: transparent; }
.tm-header .uk-navbar-nav > li > a {
  min-height: 84px;
  color: var(--muted);
  font-size: 13px;
  text-transform: none;
  transition: color .25s ease;
}
.tm-header .uk-navbar-nav > li > a:hover,
.tm-header .uk-navbar-nav > li.uk-active > a { color: var(--wine); }
.tm-header .uk-logo img { width: 184px; }

.site-footer { background: #2d111a; color: #fff; }
.site-footer.uk-section { padding: 82px 0 30px; }
.footer-grid { grid-template-columns: 1.5fr .7fr 1fr; gap: 70px; }
.footer-brand img { width: 210px; filter: brightness(0) invert(1); opacity: .95; }
.footer-brand p { margin-top: 26px; color: rgba(255,255,255,.6); font-family: Georgia, serif; font-size: 20px; line-height: 1.5; }
.footer-label { display: block; margin-bottom: 20px; color: var(--petal); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }
.footer-links { display: flex; flex-direction: column; gap: 13px; color: rgba(255,255,255,.66); font-size: 13px; line-height: 1.55; }
.footer-links a:hover { color: #fff; }
.footer-bottom { margin-top: 72px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom > * { display: flex; justify-content: space-between; color: rgba(255,255,255,.42); font-size: 10px; letter-spacing: .06em; }

.floating-whatsapp {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  min-height: 50px; padding: 0 18px 0 8px; border-radius: 100px;
  display: flex; align-items: center; gap: 9px;
  background: var(--wine); color: #fff;
  box-shadow: 0 12px 35px rgba(56,16,29,.28);
  font-size: 12px; font-weight: 600;
  transition: transform .25s ease;
}
.floating-whatsapp:hover { transform: translateY(-4px); color: #fff; }
.whatsapp-glyph { width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--wine); display: grid; place-items: center; font-size: 21px; }

/* --------------------------------------------------------------------------
   5. Home — Hero
   -------------------------------------------------------------------------- */

.home-hero.uk-section {
  min-height: 860px;
  padding: 150px 0 76px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 18%, rgba(247,152,165,.24), transparent 28%),
    linear-gradient(135deg, var(--paper), var(--ivory));
}
.home-hero::before, .home-hero::after {
  content: ""; position: absolute; border: 1px solid rgba(189,64,95,.14); border-radius: 50%;
}
.home-hero::before { width: 440px; height: 440px; right: -230px; top: 180px; }
.home-hero::after { width: 240px; height: 240px; left: -180px; bottom: -50px; }

.hero-grid { min-height: 650px; grid-template-columns: .93fr 1.07fr; gap: 58px; align-items: center; }
.hero-copy { position: relative; z-index: 2; padding-top: 18px; }

.tm-page .display-title { margin: 0; font-size: clamp(64px, 7vw, 106px); line-height: .88; color: var(--wine); }
.tm-page .display-title em { margin-left: 36px; }

.hero-lead { max-width: 520px; margin: 34px 0 0; font-size: 17px; line-height: 1.75; color: var(--muted); }

.hero-trust { margin-top: 42px; display: flex; gap: 14px; align-items: center; color: var(--muted); font-size: 12px; line-height: 1.5; }
.hero-trust strong { display: block; color: var(--ink); font-weight: 600; }
.trust-icon { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; font-family: Georgia, serif; color: var(--berry); flex-shrink: 0; }

.hero-clinic-visual { min-height: 620px; position: relative; }
.hero-clinic-visual::before, .hero-clinic-visual::after {
  position: absolute; color: var(--rose); content: "✦"; animation: ess-float 4s ease-in-out infinite; z-index: 3;
}
.hero-clinic-visual::before { right: -8px; top: 38%; font-size: 27px; }
.hero-clinic-visual::after { left: 35%; top: 2%; font-size: 18px; animation-delay: -2s; }

.hero-scroll {
  position: absolute; left: 26px; bottom: 54px;
  writing-mode: vertical-rl; transform: rotate(180deg);
  display: flex; align-items: center; gap: 12px;
  color: var(--muted); font-size: 9px; letter-spacing: .18em; text-transform: uppercase;
}
.hero-scroll span { width: 1px; height: 42px; background: var(--berry); }

/* Placeholders / molduras de imagem ---------------------------------------- */

.image-slot-hero, .image-slot-detail { position: absolute; overflow: hidden; }

/* Vale tanto se a classe cair no wrapper quanto direto no <img>. */
.image-slot-hero, .image-slot-detail, .image-slot-story,
.doctor-gallery-slot, .team-image, .doctor-image-frame { object-fit: cover; }
.image-slot-hero img, .image-slot-detail img, .image-slot-story img,
.doctor-gallery-slot img, .team-image img, .doctor-image-frame img {
  width: 100%; height: 100%; object-fit: cover;
}
.image-slot-hero { width: 440px; height: 560px; right: 0; top: 4px; border-radius: 220px 220px 28px 28px; }
.image-slot-detail { width: 245px; height: 280px; left: -10px; bottom: 0; border: 8px solid var(--paper); border-radius: 150px 150px 24px 24px; z-index: 2; }
.image-slot-story { height: 510px; overflow: hidden; border-radius: 260px 40px 260px 40px; }

/* --------------------------------------------------------------------------
   6. Home — seções
   -------------------------------------------------------------------------- */

.tm-page .section.uk-section { padding: 130px 0; }

.intro-section { background: #fff; }
.intro-grid { grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; }
.intro-statement h2, .location-copy h2 { margin: 0; font-size: clamp(46px, 5vw, 74px); line-height: 1.02; color: var(--wine); }
.intro-copy { padding-top: 35px; max-width: 520px; }
.intro-copy p { margin: 0 0 18px; color: var(--muted); line-height: 1.8; font-size: 15px; }
.intro-copy .large-copy { color: var(--ink); font-family: Georgia, serif; font-size: 23px; line-height: 1.55; }

.clinic-story-section { background: var(--paper); border-top: 1px solid var(--line); }
.clinic-story-grid { grid-template-columns: .92fr 1.08fr; gap: 88px; align-items: center; }
.clinic-story-copy h2 { margin: 0; color: var(--wine); font-size: clamp(44px, 4.8vw, 70px); line-height: 1.02; letter-spacing: -.04em; }
.clinic-story-copy p { margin: 0 0 18px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.clinic-story-copy .clinic-story-lead { margin-top: 30px; color: var(--ink); font-family: Georgia, serif; font-size: 21px; line-height: 1.55; }
.clinic-story-copy .button { margin-top: 14px; }

/* Cabeçalho de seção ------------------------------------------------------- */

.section-heading { grid-template-columns: 190px 1fr auto; gap: 30px; align-items: start; margin-bottom: 64px; }
.section-heading h2 { margin: 0 0 14px; font-size: clamp(42px, 4.5vw, 68px); line-height: 1; color: var(--wine); }
.section-heading p { max-width: 540px; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.section-heading .section-index { margin: 0; }
.section-heading .text-link { margin: 12px 0 0; }

/* Diferenciais ------------------------------------------------------------- */

.section-rose { background: var(--peach); }
.difference-grid { grid-template-columns: repeat(2, 1fr); border-top: 1px solid rgba(139,21,57,.18); }
.difference-card {
  position: relative;
  min-height: 210px;
  padding: 36px 30px 36px 96px;
  border-bottom: 1px solid rgba(139,21,57,.18);
}
.difference-card:nth-child(odd) { border-right: 1px solid rgba(139,21,57,.18); }
.difference-card:nth-child(even) { padding-left: 132px; }
.difference-icon {
  position: absolute; left: 0; top: 36px;
  width: 58px; height: 58px;
  border: 1px solid rgba(139,21,57,.2); border-radius: 50%;
  display: grid; place-items: center;
  color: var(--berry); background: rgba(255,255,255,.34);
}
.difference-card:nth-child(even) .difference-icon { left: 36px; }
.difference-number { display: block; margin-bottom: 10px; color: var(--berry); font-size: 9px; font-weight: 700; letter-spacing: .16em; }
.difference-card h3 { margin: 0 0 12px; font-family: Georgia, serif; font-size: 25px; color: var(--wine); font-weight: 400; }
.difference-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

/* Prévia de especialidades ------------------------------------------------- */

.services-preview { background: var(--paper); }
.service-preview-grid { grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-preview-card {
  position: relative;
  min-height: 190px;
  padding: 30px 60px 30px 118px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .35s ease, color .35s ease;
}
.service-preview-card:hover { background: var(--wine); color: #fff; }
.service-preview-card:hover h3 { color: #fff; }
.service-preview-card:hover p { color: rgba(255,255,255,.7); }
.service-preview-card:hover .service-icon { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.08); color: #fff; }
.service-preview-card h3 { margin: 2px 0 9px; font-family: Georgia, serif; font-size: 24px; font-weight: 400; color: var(--wine); transition: color .35s ease; }
.service-preview-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; transition: color .35s ease; }
.service-preview-card .service-icon { position: absolute; left: 30px; top: 30px; }
.service-arrow { position: absolute; right: 30px; top: 32px; font-size: 19px; }

.service-icon {
  width: 56px; height: 56px;
  border: 1px solid var(--line); border-radius: 50%;
  display: grid; place-items: center;
  color: var(--berry); background: rgba(247,152,165,.12);
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}

/* Equipe ------------------------------------------------------------------- */

.team-section { background: #fff; }
.team-grid { grid-template-columns: repeat(2, 1fr); gap: 34px; align-items: start; }
.team-card { position: relative; }
.team-card-offset { margin-top: 78px; }
.team-image { height: 600px; overflow: hidden; border-radius: 260px 260px 24px 24px; background: var(--peach); }
.team-image img { transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.team-card:hover .team-image img { transform: scale(1.035); }
.team-meta { display: flex; justify-content: space-between; align-items: center; padding: 22px 8px 0; }
.team-meta span { color: var(--berry); font-size: 10px; text-transform: uppercase; letter-spacing: .14em; }
.team-meta h3 { margin: 6px 0 0; font-family: Georgia, serif; font-weight: 400; color: var(--wine); font-size: 28px; }
.round-arrow {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center; font-size: 20px;
  transition: transform .3s ease, background .3s ease;
  flex-shrink: 0;
}
.team-card:hover .round-arrow { transform: rotate(45deg); background: var(--wine); color: #fff; }

/* Manifesto ---------------------------------------------------------------- */

.manifesto-section.uk-section { padding: 130px 0; background: var(--wine); color: #fff; text-align: center; overflow: hidden; }
.manifesto-inner { position: relative; }
.manifesto-mark { display: block; color: var(--rose); font-family: Georgia, serif; font-size: 90px; line-height: .5; }
.manifesto-inner p { margin: 38px 0 28px; font-size: clamp(43px, 6vw, 82px); line-height: 1.03; color: #fff; }
.manifesto-inner em { color: var(--petal); }
.signature { color: rgba(255,255,255,.62); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }

/* Localização -------------------------------------------------------------- */

.location-section { background: var(--ivory); }
.location-grid { grid-template-columns: .78fr 1.22fr; gap: 82px; align-items: center; }
.location-details { margin: 36px 0; padding-top: 18px; border-top: 1px solid var(--line); }
.location-details span { color: var(--berry); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.location-details p { margin: 8px 0 0; color: var(--ink); line-height: 1.6; }
.map-wrap { height: 560px; position: relative; border-radius: 220px 220px 24px 24px; overflow: hidden; background: var(--petal); }
.map-wrap > * { height: 100%; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.3) sepia(.2); display: block; }
.map-tag { position: absolute; left: 18px; bottom: 18px; padding: 12px 16px; border-radius: 100px; background: var(--paper); color: var(--wine); font-size: 11px; font-weight: 600; }

/* --------------------------------------------------------------------------
   7. Página interna — hero
   -------------------------------------------------------------------------- */

.page-hero.uk-section {
  min-height: 650px; padding: 190px 0 110px;
  display: flex; align-items: center;
  position: relative; overflow: hidden; background: var(--ivory);
}
.page-hero::before {
  content: ""; position: absolute;
  width: 520px; height: 520px;
  border: 1px solid var(--line); border-radius: 50%;
  right: -160px; top: 70px;
}
.page-hero-inner { position: relative; z-index: 1; }
.tm-page .page-title { max-width: 900px; margin: 0; font-size: clamp(64px, 8vw, 112px); line-height: .91; color: var(--wine); }
.page-lead { max-width: 600px; margin: 38px 0 0 auto; color: var(--muted); font-size: 17px; line-height: 1.75; }

/* --------------------------------------------------------------------------
   8. Páginas das doutoras
   -------------------------------------------------------------------------- */

.doctor-hero.uk-section { padding: 145px 0 78px; min-height: 820px; background: var(--ivory); overflow: hidden; }
.doctor-hero-grid { grid-template-columns: .9fr 1.1fr; align-items: center; gap: 82px; }
.doctor-copy { padding-top: 28px; }
.tm-page .doctor-name { margin: 0; color: var(--wine); font-size: clamp(66px, 7vw, 106px); line-height: .84; }
.tm-page .doctor-name em { display: inline-block; margin-left: 52px; }
.doctor-intro { max-width: 510px; margin: 40px 0 30px; color: var(--muted); font-size: 17px; line-height: 1.8; }
.doctor-image-wrap { position: relative; }
.doctor-image-frame { height: 650px; overflow: hidden; border-radius: 260px 260px 24px 24px; box-shadow: 0 28px 90px rgba(111,33,57,.14); }
.doctor-image-note { position: absolute; right: -92px; bottom: 145px; writing-mode: vertical-rl; color: var(--berry); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; }

.quote-section.uk-section { background: var(--wine); color: #fff; padding: 116px 0; }
.quote-inner { max-width: 920px; margin-inline: auto; text-align: center; }
.quote-mark { display: block; color: var(--rose); font-family: Georgia, serif; font-size: 82px; line-height: .45; }
.quote-inner blockquote { margin: 38px 0 28px; padding: 0; border: 0; font-family: Georgia, serif; font-size: clamp(30px, 4vw, 51px); line-height: 1.28; font-weight: 400; color: #fff; }
.quote-inner cite { color: var(--petal); font-size: 10px; font-style: normal; letter-spacing: .18em; text-transform: uppercase; }

.specialties-section { background: #fff; }
.specialties-section .section-heading { grid-template-columns: 190px 1fr; }
.specialty-list { margin-left: 190px; border-top: 1px solid var(--line); }
.specialty-row {
  min-height: 82px;
  display: grid; grid-template-columns: 80px 1fr auto;
  align-items: center;
  border-bottom: 1px solid var(--line);
  transition: padding .25s ease, background .25s ease;
}
.specialty-row:hover { padding-inline: 16px; background: var(--ivory); }
.specialty-row > span:first-child { color: var(--berry); font-size: 10px; letter-spacing: .12em; }
.specialty-row strong { font-family: Georgia, serif; color: var(--wine); font-size: 25px; font-weight: 400; }
.specialty-row > span:last-child { color: var(--berry); font-size: 20px; }

.doctor-gallery-section { background: var(--paper); }
.doctor-gallery-heading > * { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 38px; }
.doctor-gallery-heading .section-index { margin: 0; }
.doctor-gallery-heading p { max-width: 430px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.doctor-gallery-grid { grid-template-columns: 1.15fr .85fr; gap: 26px; align-items: end; }
.doctor-gallery-slot { height: 410px; overflow: hidden; border-radius: 190px 28px 190px 28px; }
.doctor-gallery-slot-tall { height: 520px; border-radius: 220px 220px 24px 24px; }

.doctor-values { background: var(--peach); }
.values-grid { grid-template-columns: 1fr repeat(3, 1.35fr); }
.value-card { min-height: 250px; padding: 26px 30px; border-left: 1px solid rgba(139,21,57,.18); }
.value-card span { color: var(--berry); font-size: 10px; }
.value-card h3 { margin: 78px 0 12px; color: var(--wine); font-family: Georgia, serif; font-size: 28px; font-weight: 400; }
.value-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.kids-section.uk-section { padding: 140px 0; position: relative; overflow: hidden; background: var(--peach); }
.kids-section::before {
  content: ""; position: absolute;
  width: 680px; height: 680px; left: -250px; top: -100px;
  border: 1px solid rgba(139,21,57,.14); border-radius: 50%;
}
.kids-grid { grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; position: relative; z-index: 1; }
.kids-number {
  width: 440px; height: 440px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--berry); color: #fff;
  font-family: Georgia, serif; font-size: 180px; position: relative;
}
.kids-number span { position: absolute; bottom: 72px; font-family: inherit; font-size: 10px; text-transform: uppercase; letter-spacing: .2em; }
.kids-copy h2 { margin: 0; font-size: clamp(48px, 5vw, 75px); line-height: .98; color: var(--wine); }
.kids-copy p { margin: 30px 0; color: var(--muted); line-height: 1.8; }
.kids-pills { display: flex; flex-wrap: wrap; gap: 9px; }
.kids-pills span { padding: 9px 14px; border: 1px solid rgba(139,21,57,.22); border-radius: 100px; color: var(--wine); font-size: 11px; }

.doctor-cta.uk-section { padding: 120px 0; background: var(--berry); color: #fff; }
.doctor-cta-inner { grid-template-columns: 1.15fr .85fr; gap: 100px; align-items: end; }
.doctor-cta .section-index { color: var(--petal); }
.doctor-cta h2 { margin: 0; font-size: clamp(48px, 5.5vw, 78px); line-height: 1; color: #fff; }
.doctor-cta p { margin: 0 0 28px; color: rgba(255,255,255,.75); line-height: 1.75; }

/* --------------------------------------------------------------------------
   9. Página de serviços
   -------------------------------------------------------------------------- */

.service-list-section { background: #fff; }
.service-list-grid { grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-detail-card {
  min-height: 430px; padding: 42px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background .35s ease, transform .35s ease;
}
.service-detail-card:hover { background: var(--ivory); }
.service-card-top { display: flex; justify-content: space-between; align-items: center; }
.service-card-top > span:last-child { color: var(--berry); font-size: 10px; text-transform: uppercase; letter-spacing: .15em; }
.service-detail-card h2 { margin: 72px 0 20px; color: var(--wine); font-family: Georgia, serif; font-size: 40px; font-weight: 400; }
.service-detail-card p { min-height: 92px; margin: 0 0 24px; color: var(--muted); line-height: 1.8; font-size: 14px; }
.tm-page .service-list-section .uk-button { padding-left: 0; border: 0; }

.help-banner.uk-section { padding: 110px 0; background: var(--wine); color: #fff; }
.help-banner-inner { grid-template-columns: 90px 1.3fr 1fr auto; gap: 42px; align-items: center; }
.help-symbol { width: 74px; height: 74px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; display: grid; place-items: center; font-family: Georgia, serif; font-size: 34px; color: var(--petal); }
.help-banner .section-index { color: var(--petal); margin-bottom: 14px; }
.help-banner h2 { margin: 0; font-family: Georgia, serif; font-size: 39px; font-weight: 400; line-height: 1.12; color: #fff; }
.help-banner p { margin: 0; color: rgba(255,255,255,.66); font-size: 14px; line-height: 1.7; }

/* --------------------------------------------------------------------------
   10. Animações de entrada
   -------------------------------------------------------------------------- */

@keyframes ess-fade-up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ess-float { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-9px) rotate(8deg); } }

@supports (animation-timeline: view()) {
  .section > .uk-container > *,
  .manifesto-section > .uk-container > *,
  .quote-section > .uk-container > *,
  .kids-section > .uk-container > *,
  .doctor-cta > .uk-container > *,
  .help-banner > .uk-container > * {
    animation: ess-fade-up .75s both cubic-bezier(.2,.75,.25,1);
    animation-timeline: view();
    animation-range: entry 5% cover 28%;
  }
}

/* --------------------------------------------------------------------------
   11. Responsivo
   -------------------------------------------------------------------------- */

@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .section-heading { grid-template-columns: 140px 1fr; }
  .section-heading .text-link { grid-column: 2; }
  .specialty-list { margin-left: 140px; }
  .doctor-hero-grid { gap: 45px; }
  .doctor-image-note { display: none; }
  .help-banner-inner { grid-template-columns: 70px 1fr 1fr; }
  .help-banner .button { grid-column: 2; width: max-content; }
}

@media (max-width: 820px) {
  .tm-page .uk-section > .uk-container { width: min(100% - 32px, 680px); }
  .tm-header .uk-navbar-nav > li > a { min-height: 72px; }
  .tm-header .uk-logo img { width: 155px; }

  .home-hero.uk-section { padding-top: 124px; }
  .hero-grid, .intro-grid, .doctor-hero-grid, .kids-grid, .location-grid,
  .doctor-cta-inner, .clinic-story-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 55px; }
  .tm-page .display-title { font-size: clamp(62px, 18vw, 88px); }
  .tm-page .display-title em { margin-left: 24px; }
  .hero-clinic-visual { min-height: 550px; }
  .image-slot-hero { width: min(78vw, 390px); height: 510px; }
  .image-slot-detail { width: 200px; height: 235px; }
  .hero-scroll { display: none; }

  .tm-page .section.uk-section { padding: 90px 0; }
  .intro-grid { gap: 32px; }
  .clinic-story-grid { gap: 48px; }
  .image-slot-story { height: 460px; }
  .intro-copy { padding-top: 0; }
  .section-heading { grid-template-columns: 1fr; gap: 0; margin-bottom: 42px; }
  .section-heading .text-link { grid-column: 1; }
  .difference-grid, .team-grid, .service-list-grid { grid-template-columns: 1fr; }
  .difference-card:nth-child(odd) { border-right: 0; }
  .difference-card:nth-child(even) { padding-left: 96px; }
  .difference-card:nth-child(even) .difference-icon { left: 0; }
  .service-preview-grid { grid-template-columns: repeat(2, 1fr); }
  .service-preview-card { padding: 30px 30px 30px 100px; }
  .service-arrow { display: none; }
  .team-card-offset { margin-top: 0; }
  .team-image { height: 520px; }
  .location-grid { gap: 55px; }
  .map-wrap { height: 460px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .doctor-hero.uk-section { padding-top: 125px; }
  .doctor-copy { order: 1; }
  .doctor-image-wrap { order: 2; }
  .doctor-image-frame { height: 610px; }
  .specialties-section .section-heading { grid-template-columns: 1fr; }
  .specialty-list { margin-left: 0; }
  .values-grid { grid-template-columns: 1fr; }
  .doctor-gallery-heading > * { align-items: start; flex-direction: column; }
  .doctor-gallery-grid { grid-template-columns: 1fr; }
  .doctor-gallery-slot, .doctor-gallery-slot-tall { height: 420px; }
  .value-card { border-left: 0; border-top: 1px solid rgba(139,21,57,.18); min-height: 190px; }
  .value-card h3 { margin-top: 45px; }
  .kids-number { width: min(86vw, 440px); height: min(86vw, 440px); margin-inline: auto; }
  .doctor-cta-inner { gap: 40px; }
  .help-banner-inner { grid-template-columns: 1fr; }
  .help-banner .button { grid-column: 1; }
}

@media (max-width: 520px) {
  .tm-page .uk-section > .uk-container { width: calc(100% - 28px); }
  .tm-page .display-title { font-size: 59px; }
  .hero-lead { font-size: 15px; }
  .home-hero .uk-button { width: 100%; }
  .hero-clinic-visual { min-height: 480px; }
  .image-slot-hero { width: 82vw; height: 450px; }
  .image-slot-detail { width: 160px; height: 200px; }
  .tm-page .section.uk-section { padding: 76px 0; }
  .difference-card { min-height: 190px; padding-right: 0; }
  .service-preview-grid { grid-template-columns: 1fr; }
  .service-preview-card { min-height: 180px; }
  .image-slot-story { height: 380px; border-radius: 170px 28px 170px 28px; }
  .team-image { height: 445px; }
  .manifesto-section.uk-section { padding: 95px 0; }
  .map-wrap { height: 390px; border-radius: 150px 150px 20px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom > * { flex-direction: column; gap: 14px; }
  .page-hero.uk-section { min-height: 590px; padding-top: 150px; }
  .tm-page .page-title { font-size: 59px; }
  .page-lead { font-size: 15px; }
  .tm-page .doctor-name { font-size: 66px; }
  .tm-page .doctor-name em { margin-left: 28px; }
  .doctor-intro { font-size: 15px; }
  .doctor-image-frame { height: 500px; }
  .doctor-gallery-slot, .doctor-gallery-slot-tall { height: 340px; border-radius: 150px 24px 150px 24px; }
  .quote-section.uk-section { padding: 90px 0; }
  .specialty-row { grid-template-columns: 46px 1fr auto; }
  .specialty-row strong { font-size: 21px; }
  .kids-number { font-size: 130px; }
  .service-detail-card { padding: 30px 24px; min-height: 390px; }
  .service-detail-card h2 { font-size: 34px; }
  .floating-whatsapp { right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .tm-page *, .tm-page *::before, .tm-page *::after {
    scroll-behavior: auto !important; animation: none !important; transition: none !important;
  }
}
