/*
Theme Name:  Cemcor Cardiologia
Theme URI:   https://cemcorcardiologia.com.br/
Author:      Tannure Kauan
Author URI:  https://tannurekauan.com.br/
Description: Tema profissional para a Cemcor Cardiologia — estrutura inspirada na Sigmavita com branding clínico. Suporte a Elementor, mobile-first, SEO otimizado.
Version:     2.0.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License:     GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cemcor-cardiologia
Tags:        medical, health, elementor, responsive, blog
*/

/* ── Google Fonts (matches Sigmavita's display font) ── */
@import url('https://fonts.googleapis.com/css2?family=Google+Sans:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Hanken+Grotesk:wght@300;400;500;600;700;800&display=swap');

/* ── Design Tokens ───────────────────────────────────── */
:root {
  /* Sigmavita structure colors adapted for Cemcor */
  --teal: #006b84;
  /* Cemcor's clinical blue adapted to Sigmavita teal */
  --teal-dark: #004f63;
  --teal-light: #e6f4f8;
  --teal-mid: #0082a0;
  --navy: #001e2e;
  --white: #ffffff;
  --off-white: #f8f9fa;
  --light-blue: #f0f5f8;
  --text: #1a1a2e;
  --text-muted: #5a6a74;
  --text-light: #8a9ba5;
  --border: #e2eaed;
  --card-shadow: 0 2px 12px rgba(0, 107, 132, .08), 0 1px 3px rgba(0, 0, 0, .05);
  --card-shadow-hover: 0 12px 40px rgba(0, 107, 132, .16), 0 4px 8px rgba(0, 0, 0, .06);

  /* Typography — Sigmavita style */
  --font-heading: 'Hanken Grotesk', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'DM Sans', 'Segoe UI', system-ui, sans-serif;

  /* Layout */
  --max-w: 1200px;
  --nav-h: 72px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --section-py: 96px;
  --trans: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ── Utility ─────────────────────────────────────────── */
.wrap {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.sec {
  padding-block: var(--section-py);
}

.sec--sm {
  padding-block: 64px;
}

.tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-light);
  border-radius: 999px;
  padding: .3rem .9rem;
  margin-bottom: 1.25rem;
}

.tag--light {
  background: rgba(255, 255, 255, .15);
  color: rgba(255, 255, 255, .9);
}

.section-label-line {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: .75rem;
}

.h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
}

.h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
}

.h2 span {
  color: var(--teal);
}

.h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
}

.lead {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
}

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--trans);
  white-space: nowrap;
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(0, 107, 132, .3);
}

.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 107, 132, .4);
}

.btn-outline-white {
  background: transparent;
  border-color: rgba(255, 255, 255, .55);
  color: var(--white);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, .12);
  border-color: var(--white);
}

.btn-outline-teal {
  background: transparent;
  border-color: var(--teal);
  color: var(--teal);
}

.btn-outline-teal:hover {
  background: var(--teal);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--teal);
  font-weight: 700;
}

.btn-white:hover {
  background: var(--teal-light);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1rem;
}

/* ── NAVIGATION ─────────────────────────────────────────
   Preserved exactly from Cemcor (sticky + glassmorphism)
─────────────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  overflow: hidden;
  transition: top .35s ease, background .35s ease, box-shadow .35s ease;
}

/* WP Admin Bar adjustments */
body.admin-bar .site-nav {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .site-nav {
    top: 46px;
  }
}

.site-nav--scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 20px rgba(0, 30, 46, .1);
}

.site-nav .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: 100%;
  max-height: var(--nav-h);
  overflow: hidden;
}

/* Custom logo do WordPress — !important para sobrescrever atributos hardcoded */
.nav-logo img,
.nav-logo .custom-logo,
.nav-logo .custom-logo-link img,
.site-nav img.custom-logo,
.site-nav .custom-logo-link img {
  height: 46px !important;
  width: auto !important;
  max-height: 46px !important;
  max-width: 180px !important;
  display: block;
  object-fit: contain;
  transition: filter var(--trans);
}

/* SVG inline — mesma contenção */
.nav-logo svg {
  height: 46px;
  width: auto;
  max-height: 46px;
  display: block;
  flex-shrink: 0;
}

/* Wrapper gerado pelo WordPress */
.nav-logo .custom-logo-link {
  display: flex;
  align-items: center;
  line-height: 0;
  height: 46px;
  overflow: hidden;
}

/* Default Logo state: Do not force filter. If the user uploaded a white logo, it will show white. */
.nav-logo img,
.nav-logo .custom-logo,
.nav-logo .custom-logo-link img {
  filter: none;
}

/* Dark logo on scrolled white nav */
.site-nav--scrolled .nav-logo img,
.site-nav--scrolled .nav-logo .custom-logo,
.site-nav--scrolled .nav-logo .custom-logo-link img {
  /* The user uploaded a white text logo. On scroll, the nav BG is white. So we make the logo black. */
  filter: none;
}

/* If no logo image — SVG inline will adapt via CSS */

.nav-menu {
  display: flex;
  align-items: center;
  gap: .2rem;
}

.nav-link {
  padding: .5rem .9rem;
  font-size: .875rem;
  font-weight: 500;
  border-radius: 6px;
  transition: color var(--trans), background var(--trans);
  color: rgba(255, 255, 255, .85);
}

.site-nav--scrolled .nav-link {
  color: var(--text-muted);
}

.nav-link:hover {
  color: var(--teal) !important;
  background: var(--teal-light);
}

.btn-nav {
  margin-left: .75rem;
  padding: .6rem 1.5rem;
  border-radius: 999px;
  background: var(--teal);
  color: var(--white);
  font-weight: 600;
  font-size: .875rem;
  box-shadow: 0 4px 16px rgba(0, 107, 132, .35);
  transition: all var(--trans);
  border: 2px solid transparent;
}

.btn-nav:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0, 107, 132, .45);
}

/* hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 12px;
  min-width: 48px;
  min-height: 48px;
  position: relative;
  z-index: 1001;
  -webkit-tap-highlight-color: transparent;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--trans);
  pointer-events: none;
}

.site-nav--scrolled .nav-hamburger span {
  background: var(--text);
}

.nav-hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-drawer {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 999;
  padding: 2rem 1.5rem;
  transform: translateX(100%);
  visibility: hidden;
  opacity: 0;
  transition: transform .4s ease, opacity .4s ease, visibility .4s ease, top .35s ease;
  overflow-y: auto;
  box-shadow: -8px 0 40px rgba(0, 0, 0, .15);
}

body.admin-bar .nav-drawer {
  top: calc(var(--nav-h) + 32px);
}

@media screen and (max-width: 782px) {
  body.admin-bar .nav-drawer {
    top: calc(var(--nav-h) + 46px);
  }
}

.nav-drawer.open {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
}

.nav-drawer .nav-link {
  display: block;
  font-size: 1.1rem;
  padding: .9rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.nav-drawer .btn-nav {
  display: block;
  text-align: center;
  margin-top: 1.5rem;
}

/* ── 1. HERO ──────────────────────────────────────────
   Sigmavita: full-height, image bg with dark overlay,
   left-aligned text, 2 pill buttons
─────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(0, 30, 46, .92) 0%, rgba(0, 107, 132, .7) 55%, rgba(0, 82, 100, .5) 100%);
  z-index: 1;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  opacity: .55;
}

/* Decorative abstract line */
.hero-line {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 42%;
  background: linear-gradient(135deg, rgba(0, 130, 160, .18) 0%, rgba(0, 188, 210, .08) 100%);
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 6rem 0 8rem;
}

.hero-inner {
  max-width: 640px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  padding: .35rem 1rem;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .9);
  margin-bottom: 1.5rem;
}

.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4dd9ec;
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: .6;
    transform: scale(1.3)
  }
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  line-height: 1.1;
  color: var(--white);
  letter-spacing: -.025em;
  margin-bottom: 1.25rem;
}

.hero-title em {
  font-style: normal;
  color: #4dd9ec;
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, .72);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 2.25rem;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.hs-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.hs-label {
  font-size: .74rem;
  color: rgba(255, 255, 255, .55);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: .3rem;
}

/* ── 2. SOBRE A CLÍNICA ──────────────────────────────
   Sigmavita: off-white bg, 60/40 text-left image-right
─────────────────────────────────────────────────────── */
.about-sec {
  background: var(--off-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-text .tag {
  margin-bottom: 1rem;
}

.about-desc {
  margin: 1.25rem 0 2rem;
}

.about-desc p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.about-desc strong {
  color: var(--text);
  font-weight: 600;
}

.about-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 16px 60px rgba(0, 107, 132, .18);
}

.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-img-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  box-shadow: 0 8px 32px rgba(0, 30, 46, .15);
  display: flex;
  align-items: center;
  gap: .75rem;
}

.aib-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.aib-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
}

.aib-label {
  font-size: .78rem;
  color: var(--text-muted);
}

/* ── 3. ESPECIALIDADES ───────────────────────────────
   Sigmavita: white bg, 3-column icon cards with hover lift
─────────────────────────────────────────────────────── */
.specs-sec {
  background: var(--white);
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.spec-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem 2rem;
  transition: all var(--trans);
  position: relative;
  overflow: hidden;
}

.spec-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--trans);
}

.spec-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
  border-color: transparent;
}

.spec-card:hover::before {
  transform: scaleX(1);
}

.spec-icon {
  font-size: 2.25rem;
  margin-bottom: 1.25rem;
  display: block;
}

.spec-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .75rem;
}

.spec-desc {
  font-size: .9rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ── 4. ÁREAS DE ATUAÇÃO ─────────────────────────────
   Sigmavita: off-white bg, 3/2 col image-overlay cards
─────────────────────────────────────────────────────── */
.areas-sec {
  background: var(--off-white);
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3.5rem;
}

.area-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--card-shadow);
  transition: all var(--trans);
}

.area-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow-hover);
}

.area-top {
  position: relative;
  height: 180px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal-mid) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}

.area-top-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .45;
  transition: transform .5s ease;
}

.area-card:hover .area-top-img {
  transform: scale(1.05);
}

.area-top-title {
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.area-bottom {
  padding: 1.25rem 1.5rem 1.5rem;
}

.area-desc {
  font-size: .875rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.area-link {
  font-size: .82rem;
  font-weight: 700;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  transition: gap var(--trans);
}

.area-link:hover {
  gap: .6rem;
}

/* ── 5. EXAMES E PROCEDIMENTOS ───────────────────────
   Sigmavita: light-blue bg, 3-col list cards with teal border-left
─────────────────────────────────────────────────────── */
.exams-sec {
  background: var(--light-blue);
}

.exams-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3.5rem;
}

.exam-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border);
}

.exam-card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--teal-light);
}

.exam-list {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.exam-item {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.5;
  padding: .5rem .75rem;
  border-left: 3px solid var(--teal-light);
  border-radius: 0 6px 6px 0;
  background: var(--off-white);
  transition: border-color var(--trans);
}

.exam-item:hover {
  border-color: var(--teal);
  color: var(--text);
}

/* ── 6. CORPO CLÍNICO (Doctor Carousel) ──────────────
   Sigmavita: 50/50 split — left: bio+creds, right: photo
─────────────────────────────────────────────────────── */
.team-sec {
  background: var(--white);
}

.team-carousel {
  position: relative;
}

.team-slides {
  overflow: hidden;
}

.team-slide {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding: 2.5rem 0;
}

.team-slide.active {
  display: grid;
}

.doc-tag {
  margin-bottom: 1.25rem;
}

.doc-name {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: .35rem;
}

.doc-cred {
  font-size: .875rem;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.doc-bio {
  font-size: .95rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.doc-quals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
  margin-bottom: 2rem;
}

.doc-qual {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.doc-qual::before {
  content: '✓';
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.doc-photo-wrap {
  position: relative;
}

.doc-photo-bg {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(145deg, var(--teal-light) 0%, #c8eaf2 100%);
  box-shadow: 0 16px 60px rgba(0, 107, 132, .2);
}

.doc-photo-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.doc-photo-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  z-index: -1;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--teal-light);
  opacity: .5;
}

/* Carousel controls */
.team-dots {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-bottom: 2.5rem;
  margin-top: 1rem;
}

.team-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all var(--trans);
  border: none;
  padding: 0;
}

.team-dot.active {
  background: var(--teal);
  width: 24px;
  border-radius: 999px;
}

.team-arrows {
  display: flex;
  gap: .75rem;
  justify-content: center;
  margin-top: 2rem;
}

.team-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--white);
  cursor: pointer;
  font-size: 1.1rem;
  transition: all var(--trans);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
}

.team-arrow:hover {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

/* ── 7. PROMO BANNER ─────────────────────────────────
   Sigmavita: full-width dark teal overlay, centered text
─────────────────────────────────────────────────────── */
.promo-sec {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 60%, #007fa0 100%);
  padding-block: 80px;
  text-align: center;
}

.promo-sec::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.promo-inner {
  position: relative;
  z-index: 1;
}

.promo-icon {
  font-size: 3rem;
  margin-bottom: 1.25rem;
  display: block;
}

.promo-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: .75rem;
  line-height: 1.2;
}

.promo-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, .75);
  margin-bottom: 2rem;
  max-width: 560px;
  margin-inline: auto;
}

/* ── 8. CONTATO ──────────────────────────────────────
   Sigmavita: 2-col — left info + CTA, right map
─────────────────────────────────────────────────────── */
.contact-sec {
  background: var(--off-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ci {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.ci-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.ci-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--teal);
  margin-bottom: .2rem;
}

.ci-val {
  font-size: .95rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.6;
}

.ci-sub {
  font-size: .82rem;
  color: var(--text-muted);
  margin-top: .15rem;
}

.contact-hours {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin-top: .5rem;
}

.hour-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: .9rem 1rem;
  border: 1px solid var(--border);
}

.hour-label {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--teal);
  margin-bottom: .2rem;
}

.hour-val {
  font-size: .92rem;
  font-weight: 600;
  color: var(--text);
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 50px rgba(0, 107, 132, .15);
  border: 1px solid var(--border);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 460px;
  border: none;
}

/* WPP Appointment button */
.btn-appt {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .9rem 2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: var(--white);
  font-weight: 700;
  font-size: .925rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, .3);
  transition: all var(--trans);
  margin-top: 1.25rem;
}

.btn-appt:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, .4);
}

/* ── FOOTER ──────────────────────────────────────────
   Sigmavita: deep navy/teal 4-col, circular social icons
─────────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  padding-block: 5rem 2rem;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--teal-dark), var(--teal), #4dd9ec, var(--teal), var(--teal-dark));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  margin-bottom: 2.5rem;
}

.foot-brand p {
  font-size: .875rem;
  color: rgba(255, 255, 255, .5);
  line-height: 1.75;
  margin-top: 1rem;
  max-width: 260px;
}

.foot-social {
  display: flex;
  gap: .65rem;
  margin-top: 1.5rem;
}

.foot-soc {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .875rem;
  color: rgba(255, 255, 255, .65);
  transition: all var(--trans);
}

.foot-soc:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

.foot-h {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.foot-links {
  display: flex;
  flex-direction: column;
  gap: .7rem;
}

.foot-link {
  font-size: .875rem;
  color: rgba(255, 255, 255, .5);
  transition: color var(--trans);
}

.foot-link:hover {
  color: var(--white);
}

.foot-contact-item {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  margin-bottom: .75rem;
}

.fci-icon {
  font-size: .95rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.fci-text {
  font-size: .85rem;
  color: rgba(255, 255, 255, .55);
  line-height: 1.5;
}

.fci-text a {
  color: rgba(255, 255, 255, .75);
  transition: color var(--trans);
}

.fci-text a:hover {
  color: var(--white);
}

.foot-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .78rem;
  color: rgba(255, 255, 255, .3);
}

.foot-bottom a {
  color: rgba(255, 255, 255, .55);
}

.foot-bottom a:hover {
  color: var(--white);
}

/* ── WhatsApp Float ──────────────────────────────────── */
.wpp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: .65rem;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: var(--white);
  border-radius: 999px;
  padding: .75rem 1.25rem;
  box-shadow: 0 8px 30px rgba(37, 211, 102, .4);
  font-weight: 600;
  font-size: .875rem;
  transition: all var(--trans);
  animation: floatUp 3s ease-in-out infinite;
}

.wpp-float:hover {
  transform: scale(1.05);
  animation: none;
  box-shadow: 0 12px 40px rgba(37, 211, 102, .5);
}

.wpp-float svg {
  width: 22px;
  height: 22px;
  fill: var(--white);
  flex-shrink: 0;
}

@keyframes floatUp {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

/* ── Scroll-Reveal ───────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transition: opacity .65s ease, transform .65s ease;
}

[data-reveal="up"] {
  transform: translateY(36px);
}

[data-reveal="left"] {
  transform: translateX(-36px);
}

[data-reveal="right"] {
  transform: translateX(36px);
}

[data-reveal="scale"] {
  transform: scale(0.93);
}

[data-reveal].in {
  opacity: 1;
  transform: none;
}

[data-d="100"] {
  transition-delay: 100ms;
}

[data-d="200"] {
  transition-delay: 200ms;
}

[data-d="300"] {
  transition-delay: 300ms;
}

[data-d="400"] {
  transition-delay: 400ms;
}

[data-d="500"] {
  transition-delay: 500ms;
}

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 1024px) {
  :root {
    --section-py: 72px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-img-wrap {
    order: -1;
  }

  .specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .areas-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .exams-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-slide {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .doc-photo-wrap {
    max-width: 420px;
    margin-inline: auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 1024px) {
  :root {
    --nav-h: 64px;
    --section-py: 56px;
  }

  .nav-menu,
  .btn-nav {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .specs-grid {
    grid-template-columns: 1fr;
  }

  .areas-grid {
    grid-template-columns: 1fr;
  }

  .exams-grid {
    grid-template-columns: 1fr;
  }

  .hero-btns {
    flex-direction: column;
  }

  .hero-stats {
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .doc-quals {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .foot-bottom {
    flex-direction: column;
    gap: .75rem;
    text-align: center;
  }

  .contact-hours {
    grid-template-columns: 1fr;
  }

  .wpp-float .wpp-lbl {
    display: none;
  }

  .wpp-float {
    padding: .75rem;
  }
}

@media (max-width: 480px) {
  .wrap {
    padding-inline: 1rem;
  }
}

/* ── Scroll-Reveal Animations ──────────────────────────────
   SAFE APPROACH: content is ALWAYS visible by default.
   JS adds .will-animate before observing to enable animation.
   If JS never runs, everything shows normally at full opacity.
───────────────────────────────────────────────────────────── */

/* Default: fully visible, smooth transition ready */
[data-reveal] {
  opacity: 1;
  transform: none;
  transition: opacity 0.65s ease, transform 0.65s ease;
}

/* Only hide when JS has specifically marked element for animation */
[data-reveal].will-animate {
  opacity: 0;
}

[data-reveal="up"].will-animate {
  transform: translateY(36px);
}

[data-reveal="left"].will-animate {
  transform: translateX(-36px);
}

[data-reveal="right"].will-animate {
  transform: translateX(36px);
}

[data-reveal="fade"].will-animate {
  opacity: 0;
  transform: none;
}

/* Delay classes (only apply when animating) */
[data-d="100"].will-animate {
  transition-delay: 0.10s;
}

[data-d="200"].will-animate {
  transition-delay: 0.20s;
}

[data-d="300"].will-animate {
  transition-delay: 0.30s;
}

[data-d="400"].will-animate {
  transition-delay: 0.40s;
}

/* Revealed: animate to final visible state */
[data-reveal].revealed {
  opacity: 1 !important;
  transform: none !important;
}

/* ══════════════════════════════════════════════════
   CORPO CLÍNICO — Team Slider
══════════════════════════════════════════════════ */
.team-sec {
  background: var(--clr-bg-alt, #f0f5f8);
  padding: var(--sec-py, 6rem) 0;
}

/* Slider container */
.team-slides {
  position: relative;
  min-height: 420px;
}

/* Individual slides — hidden by default */
.team-slide {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  animation: slideIn 0.45s ease both;
}

.team-slide.active {
  display: grid;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(24px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Doctor tag */
.doc-tag {
  margin-bottom: 0.75rem;
}

/* Doctor name */
.doc-name {
  font-family: var(--ff-head, 'Hanken Grotesk', sans-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--clr-navy, #001e2e);
  line-height: 1.2;
  margin: 0 0 0.4rem;
}

/* Credentials line */
.doc-cred {
  font-size: 0.9rem;
  color: var(--clr-teal, #006b84);
  font-weight: 600;
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
}

/* Bio text */
.doc-bio {
  font-size: 0.97rem;
  line-height: 1.7;
  color: var(--clr-text-muted, #4a6075);
  margin: 0 0 1.5rem;
}

/* Qualification pills */
.doc-quals {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.doc-qual {
  background: white;
  border: 1px solid #d0dde8;
  color: var(--clr-navy, #001e2e);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  white-space: nowrap;
}

/* Photo column */
.doc-photo-wrap {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}

.doc-photo-bg {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, #004f63 0%, #006b84 50%, #00b8d4 100%);
  box-shadow: 0 20px 60px rgba(0, 107, 132, 0.25);
}

.doc-photo-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s ease;
}

.doc-photo-bg img:hover {
  transform: scale(1.04);
}

/* Decorative accent blob */
.doc-photo-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--clr-teal, #006b84), #00b8d4);
  border-radius: 50%;
  opacity: 0.18;
  z-index: -1;
}

/* Navigation dots */
.team-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.team-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #b8cdd8;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s, width 0.3s;
}

.team-dot.active {
  background: var(--clr-teal, #006b84);
  transform: scale(1.25);
  width: 28px;
  border-radius: 999px;
}

.team-dot:focus-visible {
  outline: 2px solid var(--clr-teal, #006b84);
  outline-offset: 3px;
}

/* Prev / Next arrows */
.team-arrows {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.team-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #d0dde8;
  background: white;
  color: var(--clr-navy, #001e2e);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
}

.team-arrow:hover {
  background: var(--clr-teal, #006b84);
  border-color: var(--clr-teal, #006b84);
  color: white;
  transform: scale(1.1);
}

.team-arrow:focus-visible {
  outline: 2px solid var(--clr-teal, #006b84);
  outline-offset: 3px;
}

/* Responsive: stack on mobile */
@media (max-width: 768px) {
  .team-slide.active {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .doc-photo-wrap {
    max-width: 260px;
    order: -1;
  }

  .doc-name {
    font-size: 1.5rem;
  }
}