/*
Theme Name: FOCO - Clínica de Oftalmologia
Theme URI: https://focooftalmologia.com.br
Author: FOCO Clínica
Description: Tema personalizado para FOCO Clínica de Oftalmologia
Version: 1.0.0
Text Domain: foco-theme
*/

/* ============================
   CSS CUSTOM PROPERTIES
   ============================ */
:root {
  --color-header-bg: #d6e9f5;
  --color-primary: #1e6bb5;
  --color-primary-dark: #1557a0;
  --color-button: #2563eb;
  --color-button-hover: #1d4ed8;
  --color-heading-muted: #96a8b8;
  --color-text: #444444;
  --color-text-dark: #1a2332;
  --color-white: #ffffff;
  --color-light-bg: #f8fbfd;
  --color-border: #e2ecf4;
  --color-star: #2563eb;
  --color-footer-link: #2563eb;
  --color-navy: #0d2240;

  --font-sans: 'Manrope', 'Segoe UI', Arial, sans-serif;
  --radius-card: 16px;
  --radius-btn: 50px;
  --shadow-card: 0 4px 24px rgba(30, 107, 181, 0.08);
  --transition: all 0.2s ease;
}

/* ============================
   RESET & BASE
   ============================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; touch-action: manipulation; }
ul { list-style: none; }
button { touch-action: manipulation; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ============================
   TYPOGRAPHY
   ============================ */
.section-title {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 300;
  color: var(--color-heading-muted);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.section-title-center {
  text-align: center;
}

.section-body {
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.7;
}

/* ============================
   BUTTONS
   ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-btn);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: var(--font-sans);
  white-space: nowrap;
  touch-action: manipulation;
  min-height: 44px;
}

.btn-primary {
  background: var(--color-button);
  color: var(--color-white);
}
.btn-primary:hover {
  background: var(--color-button-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--color-button);
  border: 1.5px solid var(--color-button);
}
.btn-outline:hover {
  background: var(--color-button);
  color: var(--color-white);
}

/* ============================
   HEADER / NAVIGATION
   ============================ */
.site-header {
  background: var(--color-header-bg);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(30, 107, 181, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 32px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-mark {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
}
.logo-img {
  height: 48px;
  width: auto;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-text .logo-main {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.logo-text .logo-sub {
  font-size: 8px;
  font-weight: 400;
  color: var(--color-navy);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.4;
  opacity: 0.8;
}

/* Main nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: center;
}

.main-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-primary);
  padding: 6px 16px;
  border-radius: 6px;
  transition: var(--transition);
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.current-menu-item {
  background: rgba(37, 99, 235, 0.08);
  color: var(--color-button);
}

/* WhatsApp CTA */
.header-whatsapp {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
  text-align: right;
  line-height: 1.3;
}
.whatsapp-btn:hover { background: rgba(37, 99, 235, 0.08); }
.whatsapp-btn svg { width: 36px; height: 36px; flex-shrink: 0; }
.whatsapp-btn span {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-primary);
  line-height: 1.3;
  text-align: right;
}

/* Hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================
   HERO SECTION
   ============================ */
.hero-section {
  position: relative;
  height: 620px;
  overflow: hidden;
  background: #c8dde9;
  display: flex;
  flex-direction: column;
}

.hero-section .container {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hero-section picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 34, 64, 0.22);
}

.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-title {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 300;
  color: var(--color-white);
  line-height: 1.15;
  max-width: 680px;
  margin-bottom: 100px;
  text-align: center;
}
.hero-title strong {
  font-weight: 700;
  display: block;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-glass-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 130px;
  height: 50px;
  background: rgba(255, 255, 255, 0.88);
  color: #0166c2;
  font-size: clamp(13px, 1.3vw, 17px);
  font-weight: 400;
  line-height: 1.1;
  text-align: center;
  border-radius: 15.33px;
  border: 0.51px solid rgba(255, 255, 255, 0);
  box-shadow: inset 0px 1.79px 1.79px rgba(0, 0, 0, 0.25), 0px 1.79px 1.79px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--transition);
  white-space: nowrap;
}
.hero-glass-btn:hover {
  background: rgba(255, 255, 255, 0.85);
  color: #0166c2;
}

/* ============================
   CONVÊNIOS SECTION
   ============================ */
.convenios-section {
  padding: 56px 0;
  border-bottom: 1px solid var(--color-border);
}

.convenios-inner {
  display: grid;
  grid-template-columns: 1.5fr auto 1fr;
  align-items: center;
  gap: 48px;
}

.convenios-text .section-title {
  font-size: clamp(22px, 2.5vw, 34px);
  margin-bottom: 12px;
}

.convenios-text .section-body {
  color: var(--color-heading-muted);
  font-size: 16px;
}

.convenios-logos {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: center;
}

.convenios-logos img {
  height: 80px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

.convenios-logos-placeholder {
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo-badge {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 12px 20px;
  font-weight: 700;
  font-size: 14px;
  color: var(--color-primary);
  box-shadow: var(--shadow-card);
}

.convenios-cta {
  display: flex;
  justify-content: flex-end;
}

.concierge-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.concierge-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.3;
  color: var(--color-heading-muted);
  font-size: clamp(20px, 1.8vw, 26px);
}
.concierge-text strong { font-weight: 600; }
.concierge-text span { font-weight: 400; }
.whatsapp-circle { display: flex; flex-shrink: 0; }
.whatsapp-circle svg { width: 52px; height: 52px; }
.whatsapp-circle:hover { opacity: 0.85; }

/* ============================
   SOBRE + TECNOLOGIA (2 COLUMNS)
   ============================ */
.about-tech-section {
  padding: 64px 0 72px;
}

.about-image-wrap {
  border-radius: var(--radius-card);
  overflow: hidden;
  margin-bottom: 48px;
  height: 360px;
}

.about-image-wrap picture {
  display: block;
  width: 100%;
  height: 100%;
}

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

.about-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: stretch;
}

.about-col {
  display: flex;
  flex-direction: column;
}

.about-col .section-title {
  font-size: clamp(22px, 2.5vw, 34px);
  margin-bottom: 20px;
}

.about-col .section-body {
  margin-bottom: 0;
  flex: 1;
}

.about-col .btn {
  margin-top: 32px;
  align-self: flex-start;
}

/* ============================
   AGENDAMENTOS BANNER
   ============================ */
.agendamentos-section {
  padding: 0 0 64px;
}

.agend-outer {
  position: relative;
  height: 365px;
  border-radius: 15px;
  overflow: hidden;
}

/* Blue cascade cards — behind photo, peeking right */
/* Figma: each card 80.7% wide, offsets 5.1% / 9.6% / 14.1% / 18.6% from left */
.agend-layer-1,
.agend-layer-2,
.agend-layer-3,
.agend-layer-4 {
  position: absolute;
  top: 0;
  height: 100%;
  width: 80.7%;
  border-radius: 15px;
}
.agend-layer-4 { left: 18.6%; background: #8aadef; z-index: 1; }
.agend-layer-3 { left: 14.1%; background: #6e98ea; z-index: 2; }
.agend-layer-2 { left:  9.6%; background: #5b88e5; z-index: 3; }
.agend-layer-1 { left:  5.1%; background: #4878dc; z-index: 4; }

/* Photo — on top of cards, covers left ~81% */
.agend-photo-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 81%;
  height: 100%;
  border-radius: 15px;
  overflow: hidden;
  z-index: 5;
}
.agend-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.agend-title {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: clamp(28px, 4vw, 60px);
  font-weight: 300;
  white-space: nowrap;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  margin: 0;
  z-index: 10;
}

/* ============================
   EQUIPE MÉDICA
   ============================ */
.equipe-section {
  padding: 72px 0 80px;
  background: var(--color-light-bg);
}

.equipe-section .section-title {
  text-align: center;
  margin-bottom: 52px;
}

.medico-profile {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 60px;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 8px 40px rgba(43, 93, 167, 0.08);
}

.medico-profile-photo {
  width: 100%;
  background: var(--color-light-bg);
}

.medico-profile-photo picture {
  display: block;
  width: 100%;
}

.medico-profile-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.medico-profile-info {
  padding: 48px 48px 48px 0;
}

.medico-badge {
  display: inline-block;
  background: rgba(43, 93, 167, 0.08);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.medico-profile-name {
  font-size: 26px;
  font-weight: 600;
  color: var(--color-text-dark);
  line-height: 1.2;
  margin: 0 0 8px;
}

.medico-profile-crm {
  font-size: 13px;
  color: var(--color-heading-muted);
  letter-spacing: 0.02em;
  margin: 0;
}

.medico-divider {
  width: 40px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  margin: 24px 0;
  opacity: 0.4;
}

.medico-curriculum {
  list-style: none;
  padding: 0;
  margin: 0;
}

.medico-curriculum li {
  font-size: 13px;
  color: var(--color-heading-muted);
  padding: 7px 0 7px 20px;
  position: relative;
  line-height: 1.5;
  border-bottom: 1px solid rgba(43, 93, 167, 0.06);
}

.medico-curriculum li:last-child {
  border-bottom: none;
}

.medico-curriculum li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  opacity: 0.5;
}

/* ============================
   TECH BANNER
   ============================ */
.tech-banner-section {
  padding: 0 0 64px;
}

.tech-banner-inner {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
  max-height: 360px;
}

.tech-banner-inner picture,
.tech-banner-inner img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center center;
}

.tech-banner-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 180px;
  height: 43px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.88);
  color: #0166c2;
  font-size: 15px;
  font-weight: 400;
  border-radius: 15.33px;
  border: none;
  box-shadow: inset 0px 1.79px 1.79px rgba(0, 0, 0, 0.25), 0px 1.79px 1.79px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--transition);
  white-space: nowrap;
}

.tech-banner-btn:hover {
  background: rgba(255, 255, 255, 0.98);
  color: #0166c2;
}

/* ============================
   DEPOIMENTOS
   ============================ */
.depoimentos-section {
  padding: 64px 0 72px;
  background: var(--color-white);
}

.depoimentos-section .section-title {
  text-align: center;
  margin-bottom: 48px;
}

.depoimentos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.depoimento-card {
  padding: 0;
}

.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}
.stars .star {
  width: 20px;
  height: 20px;
  color: var(--color-star);
  fill: var(--color-star);
}

.depoimento-text {
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.75;
  margin-bottom: 20px;
}

.depoimento-author {
  font-size: 14px;
  color: var(--color-heading-muted);
  font-style: normal;
}

/* ============================
   BLOG SECTION
   ============================ */
.blog-section {
  padding: 72px 0;
}

.blog-section .section-title {
  text-align: center;
  margin-bottom: 48px;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.blog-card:hover .blog-card-image img { transform: scale(1.04); }

.blog-card-image {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
  background: var(--color-light-bg);
  border-radius: var(--radius-card);
}

.blog-card-image picture {
  display: block;
  width: 100%;
  height: 100%;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-card-image img { transform: scale(1.04); }

.blog-card-image .card-accent {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2.5px solid var(--color-button);
  border-top-color: transparent;
  transform: rotate(45deg);
}

.blog-card-body {
  padding: 0;
}

.blog-card-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--color-text-dark);
  margin-bottom: 6px;
  line-height: 1.35;
}

.blog-card-subtitle {
  font-size: 14px;
  color: var(--color-heading-muted);
  line-height: 1.5;
}

.blog-actions {
  display: flex;
  justify-content: center;
}

/* ============================
   BRAND STATEMENT
   ============================ */
.brand-statement-section {
  padding: 72px 0;
  background: var(--color-white);
}

.brand-statement-text {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--color-text);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.75;
  font-weight: 400;
}

/* ============================
   CTA BANNER (Agende agora)
   ============================ */
.cta-banner {
  position: relative;
  height: 380px;
  border-radius: var(--radius-card);
  overflow: hidden;
  margin: 0 40px 64px;
}

.cta-banner .banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-banner--home .banner-bg,
.cta-banner--sobre .banner-bg {
  object-fit: cover;
  object-position: center 38%;
}

.cta-banner--sobre .banner-bg {
  object-fit: cover;
  object-position: center center;
}


/* ============================
   FOOTER
   ============================ */
.site-footer {
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  padding: 56px 0 calc(48px + env(safe-area-inset-bottom, 0px));
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
}

/* --- Left column --- */
.footer-col-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-logo-img {
  height: 56px;
  width: auto;
  display: block;
}

.footer-logo-text {
  border-left: 1px solid #ddd;
  padding-left: 16px;
  line-height: 1.5;
}
.footer-logo-text span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-navy);
  text-transform: uppercase;
}

/* Social icons row */
.footer-social-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-social {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: block;
  flex-shrink: 0;
  transition: var(--transition);
}
.social-icon svg { width: 40px; height: 40px; display: block; }
.social-icon:hover { transform: translateY(-2px); opacity: 0.85; }

.footer-email-inline {
  font-size: 14px;
  color: #0166c2;
  transition: var(--transition);
}
.footer-email-inline:hover { opacity: 0.75; }

/* Contact list */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: #0166c2;
}

.footer-contact-item .icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
  color: #0166c2;
}

.footer-contact-item .icon-at {
  display: inline-flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 400;
  flex-shrink: 0;
  color: #0166c2;
}

.footer-contact-item a {
  color: #0166c2;
}
.footer-contact-item a:hover { opacity: 0.75; }

/* Privacy + copyright */
.footer-bottom-left {
  margin-top: 8px;
}

.footer-privacy-link {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #0166c2;
  margin-bottom: 6px;
  transition: var(--transition);
}
.footer-privacy-link:hover { opacity: 0.75; }

.footer-copyright {
  font-size: 12px;
  color: #0166c2;
}

/* --- Right column --- */
.footer-col-right {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 104px;
}

.footer-right-top {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-hours {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-info-label {
  font-size: 14px;
  font-weight: 700;
  color: #0166c2;
}

.footer-info-text {
  font-size: 14px;
  color: #0166c2;
  line-height: 1.6;
}

.footer-links-row {
  display: flex;
  flex-direction: row;
  gap: 160px;
  align-items: flex-start;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-links a {
  font-size: 14px;
  font-weight: 700;
  color: #0166c2;
  transition: var(--transition);
}
.footer-links a:hover { opacity: 0.75; }

.footer-extra-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-extra-links a {
  font-size: 14px;
  font-weight: 700;
  color: #0166c2;
  transition: var(--transition);
  white-space: nowrap;
}
.footer-extra-links a:hover { opacity: 0.75; }

/* Email subscribe */
.footer-email-form { }

.email-input-wrap {
  display: flex;
  align-items: center;
  border: 1.2px solid #8bb5bc;
  border-radius: 40px;
  overflow: hidden;
  background: var(--color-white);
  padding-left: 24px;
}

.email-input-wrap input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  font-family: var(--font-sans);
  color: #0166c2;
  padding: 14px 0;
  background: transparent;
}

.email-input-wrap input::placeholder { color: #0166c2; opacity: 0.6; }

.email-submit-btn {
  width: 56px;
  height: 56px;
  background: var(--color-button);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 5px;
  flex-shrink: 0;
  transition: var(--transition);
}
.email-submit-btn:hover { background: var(--color-button-hover); }
.email-submit-btn svg { width: 20px; height: 20px; color: white; }

/* ============================
   MOBILE NAV OVERLAY
   ============================ */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--color-white);
  z-index: 999;
  flex-direction: column;
  padding: 24px 32px;
  gap: 8px;
  overflow-y: auto;
}

.mobile-nav.open { display: flex; }

.mobile-nav-close {
  align-self: flex-end;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 28px;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.mobile-nav a {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-primary);
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
  display: block;
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .cta-banner { margin: 0 24px 48px; }
  .agendamentos-section { padding: 0 0 48px; }
  .about-columns { gap: 48px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  /* Header */
  .main-nav,
  .header-whatsapp { display: none; }
  .menu-toggle { display: flex; }

  /* Hero */
  .hero-section { height: 480px; }
  .hero-title { font-size: 28px; max-width: 100%; margin-bottom: 32px; }
  .hero-glass-btn { font-size: 14px; padding: 11px 22px; }

  /* Convênios */
  .convenios-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }
  .convenios-logos,
  .convenios-logos-placeholder { flex-direction: column; align-items: center; gap: 20px; }
  .convenios-cta { justify-content: center; }

  /* About */
  .about-tech-section { padding: 48px 0 56px; }
  .about-columns { grid-template-columns: 1fr; gap: 40px; }
  .about-image-wrap { height: 240px; }
  .about-col .btn { width: 100%; justify-content: center; }

  /* Equipe */
  .equipe-section { padding: 48px 0 56px; }
  .medico-profile { grid-template-columns: 280px 1fr; gap: 40px; }
  .medico-profile-info { padding: 36px 36px 36px 0; }
  .medico-profile-name { font-size: 22px; }

  /* Depoimentos */
  .depoimentos-section { padding: 48px 0 56px; }
  .depoimentos-grid { grid-template-columns: 1fr; gap: 36px; }

  /* Blog */
  .blog-section { padding: 48px 0 56px; }
  .blog-grid { grid-template-columns: 1fr; }

  /* Brand statement */
  .brand-statement-section { padding: 48px 0; }

  /* Banners */
  .agendamentos-section { padding: 0 0 40px; }
  .agend-outer { height: 220px; }
  .agend-title { white-space: normal; font-size: clamp(20px, 6vw, 40px); padding: 0 20px; }
  .agend-photo-wrap { width: 78%; }
  .cta-banner { margin: 0 16px 40px; height: 280px; }

  /* Tech banner */
  .tech-banner-inner,
  .tech-banner-inner picture,
  .tech-banner-inner img { height: 240px; }
  .tech-banner-btn { right: 16px; bottom: 16px; font-size: 14px; padding: 8px 24px; }

  /* Footer */
  .footer-col-right { padding-top: 0; }
  .footer-social-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-email-inline { word-break: break-all; font-size: 13px; }
  .footer-links-row { gap: 32px; flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-section { height: 380px; }
  .hero-title { font-size: 22px; margin-bottom: 24px; }
  .hero-glass-btn { font-size: 13px; padding: 10px 18px; }
  .medico-profile { grid-template-columns: 1fr; max-width: 420px; }
  .medico-profile-photo { aspect-ratio: 4/3; }
  .medico-profile-info { padding: 0 24px 32px; }
  .agend-outer { height: 180px; }
  .agend-title { font-size: clamp(16px, 5vw, 26px); }
  .tech-banner-inner,
  .tech-banner-inner picture,
  .tech-banner-inner img { height: 200px; }
  .cta-banner { height: 220px; }
  .about-image-wrap { height: 200px; }
  .footer-links-row { flex-direction: column; gap: 24px; }
}

/* ============================
   EXAMES E PROCEDIMENTOS PAGE
   ============================ */

/* Hero — primeira imagem */
.exames-hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  border-radius: 0 0 var(--radius-card) var(--radius-card);
}
.exames-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.exames-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(80, 91, 92, 0.25);
}
.exames-hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  text-align: center;
}
.exames-hero-title {
  font-size: clamp(32px, 5vw, 72px);
  font-weight: 300;
  color: var(--color-white);
  line-height: 1.1;
  text-shadow: 0px 4px 4px rgba(0,0,0,0.25);
}
.exames-hero-title strong {
  font-weight: 700;
  display: block;
}
.exames-hero-btn {
  background: rgba(255, 255, 255, 0.6);
  color: #0166c2;
  font-size: 15px;
  font-weight: 300;
  padding: 14px 36px;
  border-radius: 16px;
  border: 0.5px solid rgba(255, 255, 255, 0);
  box-shadow: inset 0px 1.8px 1.8px 0px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: var(--transition);
  text-align: center;
  line-height: 1.3;
}
.exames-hero-btn:hover {
  background: rgba(255, 255, 255, 0.85);
  color: #0166c2;
}

/* Content section */
.exames-section {
  padding: 64px 0 56px;
}
.exames-section-title {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 700;
  color: var(--color-heading-muted);
  margin-bottom: 12px;
}
.exames-subtitle {
  font-size: 18px;
  color: var(--color-heading-muted);
  margin-bottom: 40px;
}

/* Segunda imagem — banner com botão */
.exames-img-banner {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  margin-bottom: 56px;
  height: 380px;
}
.exames-img-banner picture,
.exames-img-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

/* Exam list */
.exames-list {
  columns: 2;
  column-gap: 64px;
  list-style: none;
}
.exames-list li {
  font-size: 15px;
  color: var(--color-heading-muted);
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  break-inside: avoid;
  line-height: 1.5;
}
.exames-list li:last-child { border-bottom: none; }

/* CTA banner — terceira imagem */
.exames-cta-banner {
  position: relative;
  height: 380px;
  border-radius: var(--radius-card);
  overflow: hidden;
  margin: 0 40px 64px;
}
.exames-cta-banner picture,
.exames-cta-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1024px) {
  .exames-cta-banner { margin: 0 24px 48px; }
}
@media (max-width: 768px) {
  .exames-hero { height: 420px; }
  .exames-hero-title { font-size: 32px; }
  .exames-list { columns: 1; }
  .exames-img-banner { height: 240px; }
  .exames-cta-banner { margin: 0 16px 40px; height: 260px; }
}

/* ============================
   BLOG PAGE
   ============================ */

/* Hero — primeira imagem */
.blog-hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  border-radius: 0 0 var(--radius-card) var(--radius-card);
}
.blog-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.blog-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(80, 91, 92, 0.25);
}
.blog-hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  text-align: center;
}
.blog-hero-title {
  font-size: clamp(32px, 5vw, 72px);
  font-weight: 300;
  color: var(--color-white);
  line-height: 1.1;
  text-shadow: 0px 4px 4px rgba(0,0,0,0.25);
}
.blog-hero-title strong { font-weight: 700; }

/* Blog content */
.blog-page-section { padding: 64px 0 0; }

.blog-page-title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--color-heading-muted);
  margin-bottom: 32px;
}

/* Featured article */
.blog-featured {
  margin-bottom: 48px;
}
.blog-featured-title {
  font-size: clamp(20px, 2.5vw, 32px);
  font-weight: 600;
  color: #0166c2;
  line-height: 1.2;
  margin-bottom: 24px;
}
.blog-featured-lead {
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 300;
  color: var(--color-heading-muted);
  line-height: 1.6;
  margin-bottom: 28px;
}
.blog-featured-body {
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--color-heading-muted);
  line-height: 1.75;
}

/* Wide banner — segunda imagem */
.blog-wide-banner {
  position: relative;
  margin: 48px 40px 56px;
  border-radius: var(--radius-card);
  overflow: hidden;
  height: 374px;
}
.blog-wide-banner picture,
.blog-wide-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Blog cards — terceira e quarta */
.blog-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding-bottom: 64px;
}

/* Card: flex column — image on top, text box below */
.blog-cards-grid .blog-card {
  border-radius: 48px;
  overflow: hidden;
  background: var(--color-white);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.blog-cards-grid .blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }

.blog-card-img {
  width: 100%;
  height: 265px;
  overflow: hidden;
  flex-shrink: 0;
  border-radius: var(--radius-card);
}
.blog-card-img picture {
  display: block;
  width: 100%;
  height: 100%;
}
.blog-card-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.blog-cards-grid .blog-card:hover .blog-card-img img { transform: scale(1.04); }

/* Text box — white area with cyan border */
.blog-card-label {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 24px;
  border: 3px solid #b4efff;
  border-radius: 40px;
  margin: 12px 16px 16px;
  min-height: 120px;
}
.blog-card-title {
  font-size: clamp(15px, 1.6vw, 24px);
  font-weight: 400;
  color: #0166c2;
  text-align: center;
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .blog-wide-banner { margin: 40px 24px 48px; }
}
@media (max-width: 768px) {
  .blog-hero { height: 420px; }
  .blog-hero-title { font-size: 32px; }
  .blog-cards-grid { grid-template-columns: 1fr; }
  .blog-wide-banner { margin: 32px 16px 40px; height: 260px; }
}

/* ============================
   CONVÊNIOS PAGE
   ============================ */

/* Hero */
.convenios-hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  border-radius: 0 0 var(--radius-card) var(--radius-card);
}
.convenios-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.convenios-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(214,233,245,0.88) 0%, rgba(214,233,245,0.55) 45%, transparent 72%);
}
.convenios-hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 0 64px 80px;
  gap: 28px;
}
.convenios-hero-title {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 300;
  color: #0166c2;
  line-height: 1.1;
}
.convenios-hero-title strong { font-weight: 700; }

/* Page content */
.convenios-page-section { padding: 64px 0 0; }

/* ─── TOP ROW: title+sub | logos ─── */
.convenios-top-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 48px;
  margin-bottom: 48px;
}
.convenios-top-title {}
.convenios-page-title {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 700;
  color: var(--color-heading-muted);
  line-height: 1.1;
  margin-bottom: 12px;
}
.convenios-page-sub {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(16px, 1.6vw, 21px);
  font-weight: 600;
  color: #9BABAD;
  line-height: 1.1;
  max-width: 579px;
}

.convenios-logos-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.convenio-logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 12px;
  background: transparent;
  border: none;
  outline: none;
  box-shadow: none;
}
.convenio-logo-box.dark-bg { background: none; padding: 0; overflow: hidden; border-radius: 12px; }
.convenio-logo-box img,
.convenio-logo-box picture img {
  max-height: 90px;
  max-width: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.convenio-logo-box.logo-lg img {
  max-height: 130px;
  max-width: 240px;
}

.convenios-right-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.convenios-concierge-col {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
}
.convenios-concierge-col .concierge-label {
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 600;
  color: var(--color-heading-muted);
  line-height: 1.3;
}
.convenios-concierge-col svg { width: 44px; height: 44px; flex-shrink: 0; }

/* ─── MAIN ROW: text (left) | portrait image (right) ─── */
.convenios-main-row {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: stretch;
  margin-bottom: 48px;
}

.convenios-main-text {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.convenios-highlight-text {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 300;
  color: #0166c2;
  line-height: 1.3;
}
.convenios-highlight-text strong { font-weight: 700; }

.convenios-personalizado-title {
  font-size: clamp(16px, 1.8vw, 24px);
  font-weight: 400;
  color: var(--color-heading-muted);
  line-height: 1.3;
}
.convenios-personalizado-body {
  font-size: 16px;
  color: var(--color-heading-muted);
  line-height: 1.75;
}
.convenios-personalizado-body p { margin-bottom: 12px; }
.convenios-personalizado-body strong { font-weight: 700; }

.convenios-saiba-btn {
  display: inline-block;
  align-self: flex-start;
  background: #0166c2;
  color: #fff;
  font-size: 16px;
  font-weight: 300;
  padding: 16px 40px;
  border-radius: 16px;
  transition: var(--transition);
}
.convenios-saiba-btn:hover { background: #0155a5; color: #fff; }

.convenios-image-right {
  border-radius: 30px;
  overflow: hidden;
  min-height: 400px;
}
.convenios-image-right picture,
.convenios-image-right img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1024px) {
  .convenios-top-row { gap: 32px; }
  .convenios-main-row { grid-template-columns: 1fr 320px; }
}
@media (max-width: 768px) {
  .convenios-hero { height: 420px; }
  .convenios-hero-title { font-size: 32px; }
  .convenios-hero-content { padding: 0 24px 48px; }
  .convenios-top-row { grid-template-columns: 1fr; }
  .convenios-logos-row { flex-direction: column; align-items: center; gap: 20px; }
  .convenios-main-row { grid-template-columns: 1fr; }
  .convenios-image-right { min-height: 280px; aspect-ratio: 4/3; }
}

/* ============================
   SOBRE
   ============================ */
.sobre-hero {
  position: relative;
  height: 520px;
  border-radius: var(--radius-card);
  overflow: hidden;
  margin: 0 40px 0;
}
.sobre-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.sobre-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 34, 64, 0.5);
}
.sobre-hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 0 64px 64px;
}
.sobre-hero-title {
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 300;
  color: var(--color-white);
  line-height: 1.1;
}
.sobre-hero-title strong { font-weight: 700; }

.sobre-intro-section {
  padding: 72px 0 0;
}
.sobre-lead {
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 300;
  color: var(--color-primary);
  line-height: 1.35;
  max-width: 780px;
}

.sobre-content-section {
  padding: 56px 0 80px;
}
.sobre-main-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: start;
}
.sobre-text-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.sobre-block p {
  font-size: 17px;
  color: var(--color-heading-muted);
  line-height: 1.8;
}
.sobre-closing {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.6;
  border-left: 3px solid var(--color-primary);
  padding-left: 20px;
  margin-top: 12px;
}
.sobre-image-col {
  position: sticky;
  top: 100px;
}
.sobre-side-img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: var(--radius-card);
  display: block;
}

@media (max-width: 1024px) {
  .sobre-hero { margin: 0 24px; }
  .sobre-main-row { gap: 48px; }
}
@media (max-width: 768px) {
  .sobre-hero { height: 360px; margin: 0 16px; }
  .sobre-hero-content { padding: 0 24px 40px; }
  .sobre-main-row { grid-template-columns: 1fr; }
  .sobre-image-col { position: static; }
  .sobre-side-img { height: 280px; }
}

/* ============================
   FALE CONOSCO
   ============================ */
.faleconosco-hero {
  position: relative;
  height: 380px;
  border-radius: var(--radius-card);
  overflow: hidden;
  margin: 0 40px 0;
}
.faleconosco-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.faleconosco-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 34, 64, 0.45);
}
.faleconosco-hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 0 64px 56px;
}
.faleconosco-hero-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  color: var(--color-white);
  line-height: 1.1;
}
.faleconosco-hero-title strong { font-weight: 700; }

.faleconosco-section {
  padding: 72px 0 96px;
}
.faleconosco-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

/* Info */
.faleconosco-info-title {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
  line-height: 1.2;
}
.faleconosco-info-text {
  font-size: 16px;
  color: var(--color-heading-muted);
  line-height: 1.65;
  margin-bottom: 36px;
}
.faleconosco-contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faleconosco-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--color-heading-muted);
  line-height: 1.5;
}
.faleconosco-contact-list svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  stroke: var(--color-primary);
}
.faleconosco-contact-list address { font-style: normal; }
.faleconosco-hours-label {
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 6px;
  font-size: 14px;
}
.faleconosco-hours p {
  font-size: 14px;
  color: var(--color-heading-muted);
  line-height: 1.7;
}

/* Form */
.faleconosco-form-wrap {
  background: var(--color-light-bg);
  border-radius: var(--radius-card);
  padding: 48px;
}
.faleconosco-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.faleconosco-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faleconosco-field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-dark);
}
.faleconosco-field input,
.faleconosco-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--color-text-dark);
  background: var(--color-white);
  transition: border-color 0.2s;
  outline: none;
  box-sizing: border-box;
}
.faleconosco-field input:focus,
.faleconosco-field textarea:focus {
  border-color: var(--color-primary);
}
.faleconosco-field textarea { resize: vertical; }
.faleconosco-submit {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 16px;
}

/* Feedback states */
.faleconosco-errors {
  background: #fff0f0;
  border: 1px solid #fcc;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 14px;
  color: #c00;
}
.faleconosco-success {
  text-align: center;
  padding: 48px 24px;
  color: var(--color-primary);
}
.faleconosco-success svg {
  width: 56px;
  height: 56px;
  stroke: #22a05a;
  margin-bottom: 20px;
}
.faleconosco-success h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text-dark);
}
.faleconosco-success p {
  font-size: 16px;
  color: var(--color-heading-muted);
}

@media (max-width: 768px) {
  .faleconosco-hero { margin: 0 16px; height: 280px; }
  .faleconosco-hero-content { padding: 0 24px 36px; }
  .faleconosco-inner { grid-template-columns: 1fr; gap: 40px; }
  .faleconosco-form-wrap { padding: 32px 24px; }
}

/* ============================
   WHATSAPP FLOATING BUTTON
   ============================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-float svg {
  width: 60px;
  height: 60px;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(0,0,0,0.28);
}
