/* ==========================================================================
   Dra. Fernanda Campos da Silva — Ginecologia, Obstetrícia e Alto Risco (RJ)
   Design System UI/UX Pro Max — Paleta Original Modernizada + Acessibilidade WCAG AA
   ========================================================================== */

:root {
  /* Paleta Original Preservada e Refinada */
  --primary: #5F72AF;
  --primary-dark: #485A96;
  --primary-darker: #344375;
  --primary-light: #EEF1F9;
  --primary-subtle: #F6F8FC;

  /* Coral / Rose Institucional (Logotipo e Destaques Originais) */
  --accent: #EB3358;
  --accent-coral: #F48884;
  --accent-soft: #FFF4F5;
  --accent-border: #FAD4D8;

  /* Superfícies e Textos (Contraste WCAG AA > 4.5:1) */
  --bg-body: #FFFFFF;
  --bg-surface: #F8FAFC;
  --bg-warm: #FCF9F9;
  --text-heading: #1E293B;
  --text-body: #334155;
  --text-muted: #526077;
  --border-color: #E2E8F0;

  /* WhatsApp & Status */
  --whatsapp: #25D366;
  --whatsapp-dark: #1DA851;

  /* Rodapé e Barra Institucional Final (Aiclax) */
  --footer-bg: #f4b5c4;
  --footer-text: #2D1920;
  --aiclax-bar-bg: #ef5f81;
  --aiclax-bar-border: rgba(255, 255, 255, 0.22);
  --aiclax-link: #FFFFFF;
  --aiclax-link-hover: #FFF0F3;

  /* Tipografia */
  --font-sans: 'Figtree', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;

  /* Sombras e Raios (Soft UI / Neumorphic Subtle) */
  --shadow-xs: 0 2px 6px rgba(30, 41, 59, 0.04);
  --shadow-sm: 0 6px 18px rgba(30, 41, 59, 0.06);
  --shadow-md: 0 12px 32px rgba(30, 41, 59, 0.09);
  --shadow-lg: 0 20px 48px rgba(30, 41, 59, 0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  --transition: 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--text-body);
  background-color: var(--bg-body);
  line-height: 1.68;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition), background-color var(--transition), border-color var(--transition), box-shadow var(--transition), opacity var(--transition);
  cursor: pointer;
}

a:hover, a:active {
  color: var(--accent-coral);
}

a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

ul {
  list-style: none;
}

/* Skip Link Accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--primary-dark);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 600;
}
.skip-link:focus {
  top: 16px;
  color: #fff;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Top Utility Bar */
.topbar {
  position: relative;
  overflow: hidden;
  background: #ef5f81;
  color: #ffffff;
  font-size: 0.85rem;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

/* Brilho animado da esquerda para a direita (efeito sweep premium) */
.topbar::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.05) 20%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0.05) 80%,
    transparent 100%
  );
  transform: skewX(-25deg);
  pointer-events: none;
  animation: topbarSheen 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes topbarSheen {
  0% {
    left: -120%;
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  38% {
    left: 150%;
    opacity: 1;
  }
  39%, 100% {
    left: 150%;
    opacity: 0;
  }
}

.topbar-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.topbar-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #ffffff;
  font-weight: 500;
}

.topbar-item svg {
  width: 15px;
  height: 15px;
  color: #ffffff;
  opacity: 0.92;
  flex-shrink: 0;
}

.topbar-item a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.topbar-item a:hover {
  opacity: 0.85;
  text-decoration: underline;
}

.topbar-badge {
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: #ffffff;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  gap: 20px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo img {
  height: 60px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 15px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-heading);
  border-radius: var(--radius-sm);
  letter-spacing: 0.01em;
  position: relative;
}

.nav-link:hover {
  color: var(--primary);
  background: var(--primary-subtle);
}

.nav-link.active {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff !important;
  padding: 11px 20px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 14px rgba(95, 114, 175, 0.28);
  min-height: 44px;
}

.nav-cta:hover {
  background: var(--primary-dark);
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(95, 114, 175, 0.38);
}

.nav-cta svg {
  width: 18px;
  height: 18px;
}

/* Mobile Menu Button */
.menu-toggle {
  display: none;
  background: var(--primary-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--text-heading);
  cursor: pointer;
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 0.96rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  min-height: 48px;
  text-align: center;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--primary);
  color: #fff !important;
  box-shadow: 0 8px 22px rgba(95, 114, 175, 0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff !important;
  box-shadow: 0 10px 26px rgba(95, 114, 175, 0.42);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff !important;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.28);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
  color: #fff !important;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary) !important;
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff !important;
}

.btn-coral {
  background: var(--accent);
  color: #fff !important;
  box-shadow: 0 8px 22px rgba(235, 51, 88, 0.25);
}

.btn-coral:hover {
  background: #d42649;
  color: #fff !important;
}

/* Hero Section / Slider com Vídeo de Fundo em Loop */
.hero-section {
  position: relative;
  background: #1E293B;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
  z-index: 1; /* Garantido abaixo do site-header (z-index: 1000) */
}

.hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.50); /* Overlay com 50% de visibilidade */
  z-index: 1;
  pointer-events: none;
}

.hero-container-content {
  position: relative;
  z-index: 2; /* Garante que o carrossel de conteúdo fique acima do vídeo */
}

.hero-slider {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
}

.hero-content {
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 26px 30px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.08);
}

.hero-slide {
  display: none;
  width: 100%;
  padding-top: 36px; /* Distância exata da linha limite superior do card até o menu */
  padding-bottom: 36px; /* Mesma distância da linha limite inferior do card até a contagem dos carrosséis */
  animation: fadeSlide 500ms ease-out;
}

.hero-slide.active {
  display: block;
}

@keyframes fadeSlide {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--accent-border);
  color: var(--accent);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
  box-shadow: var(--shadow-xs);
}

.hero-title {
  font-size: clamp(1.75rem, 2.7vw, 2.25rem);
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.18;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.hero-title span {
  color: var(--primary);
}

.hero-subtitle {
  font-size: 0.96rem;
  line-height: 1.52;
  color: var(--text-body);
  margin-bottom: 18px;
  max-width: 54ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 0;
}

.hero-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(95, 114, 175, 0.16);
}

.credential-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-heading);
}

.credential-pill svg {
  width: 17px;
  height: 17px;
  color: var(--primary);
}

.hero-media {
  position: relative;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #fff;
  background: #fff;
  aspect-ratio: 16 / 10;
}

.hero-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-floating-badge {
  position: absolute;
  bottom: -18px;
  left: 24px;
  background: #fff;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-floating-badge .badge-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-floating-badge strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-heading);
}

.hero-floating-badge span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-bottom: 24px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  border: none;
  background: rgba(95, 114, 175, 0.28);
  cursor: pointer;
  transition: width var(--transition), background-color var(--transition);
}

.slider-dot.active {
  width: 34px;
  background: var(--primary);
}

/* Quick Highlights Bar (Atendimento, Consultório, Agendamento) */
.highlights-section {
  padding: 48px 0;
  background: #fff;
  border-bottom: 1px solid var(--border-color);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.highlight-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.highlight-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.highlight-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.highlight-icon svg {
  width: 24px;
  height: 24px;
}

.highlight-card h2, .highlight-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-heading);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}

.highlight-card p {
  font-size: 0.95rem;
  color: var(--text-body);
}

/* Section Headers */
.section {
  padding: 80px 0;
}

.section-alt {
  background-color: var(--bg-surface);
}

.section-warm {
  background-color: var(--bg-warm);
}

.section-header {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.22;
  margin-bottom: 14px;
}

.section-line {
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent-coral));
  border-radius: 2px;
  margin-bottom: 16px;
}

.section-header.center .section-line {
  margin-left: auto;
  margin-right: auto;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Direct Answer Box (AEO / GEO Optimization) */
.aeo-summary-box {
  background: linear-gradient(135deg, #FFFFFF 0%, #F4F7FC 100%);
  border: 1px solid rgba(95, 114, 175, 0.25);
  border-left: 5px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 36px;
  box-shadow: var(--shadow-xs);
}

.aeo-summary-box h2, .aeo-summary-box h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-darker);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.aeo-summary-box p {
  font-size: 0.98rem;
  color: var(--text-body);
  margin: 0;
}

/* Two Column Split Layout (Perfil, Especialidades) */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}

/* Página de Contato: bloco único centralizado (cards, botão, foto e aviso LGPD) */
.contact-stack {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.contact-stack .section-line {
  margin-left: auto;
  margin-right: auto;
}

.contact-stack .contact-card h3,
.contact-stack .contact-channel {
  justify-content: center;
}

.contact-stack .contact-channel {
  text-align: center;
}

.contact-stack .lgpd-accordion-summary {
  justify-content: center;
  gap: 12px;
}

.contact-stack .lgpd-accordion-label {
  justify-content: center;
}

.contact-photo {
  max-width: 560px;
  margin: 30px auto 0;
}

.photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 6px solid #fff;
  background: #fff;
}

.photo-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Credentials & E-E-A-T Grid */
.eeat-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 24px 0;
}

.eeat-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.eeat-card svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.eeat-card strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-heading);
}

.eeat-card span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Specialties / Accordion Cards */
.specialty-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.specialty-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.specialty-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.specialty-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.specialty-icon svg {
  width: 28px;
  height: 28px;
}

.specialty-card h3 {
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 12px;
}

.specialty-card p {
  font-size: 0.96rem;
  color: var(--text-body);
  margin-bottom: 20px;
}

.specialty-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--primary);
}

.specialty-link svg {
  width: 18px;
  height: 18px;
}

/* Treatment Checklists */
.treatment-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 24px 0 32px;
}

.treatment-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.97rem;
  color: var(--text-heading);
}

.treatment-item svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Gallery Grid (Nosso Espaço) */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-xs);
  aspect-ratio: 6 / 5;
  background: var(--bg-surface);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity var(--transition);
}

.gallery-item:hover img {
  opacity: 0.92;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(transparent, rgba(15, 23, 42, 0.82));
  color: #fff;
  font-size: 0.86rem;
  font-weight: 600;
}

/* FAQ Accordion (AEO Block) */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-item[open] {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 20px 24px;
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--text-heading);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition), background-color var(--transition), color var(--transition);
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
  background: var(--primary);
  color: #fff;
}

.faq-answer {
  padding: 0 24px 22px;
  color: var(--text-body);
  font-size: 0.97rem;
  border-top: 1px solid var(--primary-subtle);
  padding-top: 14px;
}

/* Inner Page Banner */
.page-banner {
  background: linear-gradient(135deg, #EEF2FA 0%, #FDF4F5 100%);
  padding: 52px 0;
  border-bottom: 1px solid var(--border-color);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.breadcrumb a {
  color: var(--primary);
  font-weight: 600;
}

.page-banner h1 {
  font-size: clamp(1.9rem, 3.4vw, 2.65rem);
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 10px;
}

.page-banner p {
  font-size: 1.06rem;
  color: var(--text-body);
  max-width: 68ch;
}

/* Variação centralizada do banner (página de Contato) */
.page-banner-center {
  text-align: center;
}

.page-banner-center .breadcrumb {
  justify-content: center;
}

.page-banner-center p {
  margin-left: auto;
  margin-right: auto;
}

/* Contact Cards & LGPD Notice */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.contact-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
}

.contact-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-darker);
  text-transform: uppercase;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-card h3 svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  color: var(--accent);
}

.contact-card a {
  overflow-wrap: break-word;
}

.lgpd-Channel-notice {
  background: #F8FAFC;
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 24px;
}

.lgpd-Channel-notice strong {
  color: var(--text-heading);
}

/* Contact Card — Endereço estruturado */
.contact-card:hover {
  border-color: var(--accent-border);
}

.contact-address {
  font-style: normal;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-body);
  text-wrap: pretty;
}

.contact-address-venue {
  display: block;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: 0.01em;
  margin-bottom: 4px;
}

.contact-address-zip {
  display: block;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--border-color);
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* Contact Card — Canais diretos (Telefone / WhatsApp) */
.contact-channels {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-channel {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.contact-channel > svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--accent);
}

.contact-channel-whatsapp > svg {
  color: var(--whatsapp-dark);
}

.contact-channel-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.contact-channel-value {
  display: inline-block;
  font-size: 1.04rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow-wrap: normal;
}

/* Aviso LGPD — Sanfona (abre e fecha ao clicar) */
.lgpd-accordion {
  interpolate-size: allow-keywords;
  background: #F8FAFC;
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  margin-top: 24px;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.lgpd-accordion[open] {
  border-color: var(--border-color);
  border-left-color: var(--primary);
  box-shadow: var(--shadow-xs);
}

.lgpd-accordion-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background-color var(--transition);
}

.lgpd-accordion-summary::-webkit-details-marker {
  display: none;
}

.lgpd-accordion-summary:hover {
  background: var(--primary-subtle);
}

.lgpd-accordion-summary:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
}

.lgpd-accordion-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.4;
}

.lgpd-accordion-label svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  color: var(--primary);
}

.lgpd-accordion-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition), background-color var(--transition), color var(--transition);
}

.lgpd-accordion[open] .lgpd-accordion-icon {
  transform: rotate(180deg);
  background: var(--primary);
  color: #fff;
}

.lgpd-accordion-body {
  padding: 0 18px 16px;
  font-size: 0.87rem;
  line-height: 1.72;
  color: var(--text-muted);
}

.lgpd-accordion-body::before {
  content: "";
  display: block;
  border-top: 1px solid var(--border-color);
  margin-bottom: 14px;
}

@media (prefers-reduced-motion: reduce) {
  .lgpd-accordion-icon {
    transition: none;
  }
}

/* Legal Content Formatting (Privacidade, Termos, LGPD) */
.legal-content {
  max-width: 880px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 44px;
  box-shadow: var(--shadow-xs);
}

.legal-content h2 {
  font-size: 1.35rem;
  color: var(--text-heading);
  margin: 28px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p, .legal-content li {
  font-size: 0.97rem;
  color: var(--text-body);
  margin-bottom: 12px;
}

.legal-content ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 16px;
}


/* ==========================================================================
   SECTION DE AVALIAÇÕES (DE PONTA A PONTA, CONTEÚDO CENTRALIZADO, LOOP ESFUMAÇADO)
   ========================================================================== */
.reviews-section {
  width: 100%;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF8FA 100%);
  padding: 64px 0 54px;
  border-top: 1px solid var(--border-color);
  overflow: hidden;
}

.reviews-section .container.text-center {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 36px;
  padding: 0 24px;
}

.reviews-section .section-tag {
  display: inline-block;
  background: #FFF0F3;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
  border: 1px solid rgba(235, 51, 88, 0.2);
}

.reviews-section .section-title {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.reviews-section .section-subtitle {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.6;
  margin: 0 auto;
}

/* Wrapper com máscara de gradiente esfumaçado nas laterais */
.reviews-marquee-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 12px 0 20px;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

/* Track de rolagem contínua da direita para a esquerda */
.reviews-marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: reviewsMarqueeLoop 36s linear infinite;
  will-change: transform;
}

/* Pausa suave ao passar o mouse */
.reviews-marquee-wrapper:hover .reviews-marquee-track {
  animation-play-state: paused;
}

@keyframes reviewsMarqueeLoop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Card de Avaliação */
.review-card {
  width: 370px;
  max-width: 82vw;
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid rgba(95, 114, 175, 0.16);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  flex-shrink: 0;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(95, 114, 175, 0.12);
  border-color: rgba(235, 51, 88, 0.35);
}

.review-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.review-stars {
  color: #F59E0B;
  font-size: 1.15rem;
  letter-spacing: 2px;
  user-select: none;
}

.review-source-badge {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.review-source-badge.source-google {
  background: #E8F0FE;
  color: #1A73E8;
  border: 1px solid rgba(26, 115, 232, 0.2);
}

.review-source-badge.source-doctoralia {
  background: #E6F7F5;
  color: #00A699;
  border: 1px solid rgba(0, 166, 153, 0.2);
}

.review-text {
  font-size: 0.93rem;
  line-height: 1.6;
  color: #334155;
  font-style: italic;
  margin-bottom: 18px;
  flex-grow: 1;
}

.review-author-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, #EF5F81 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.review-author-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-width: 0;
}

.review-author-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.76rem;
  color: #10B981;
  font-weight: 600;
}

.review-verified-badge svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
}

.review-source-link {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  background: #F8FAFC;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all var(--transition);
  flex-shrink: 0;
}

.review-source-link:hover {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  transform: scale(1.05);
}

.review-source-link svg {
  width: 15px;
  height: 15px;
}

@media (max-width: 768px) {
  .reviews-section {
    padding: 48px 0 38px;
  }
  .reviews-section .section-title {
    font-size: 1.7rem;
  }
  .review-card {
    width: 290px;
    padding: 18px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reviews-marquee-track {
    animation: none;
    overflow-x: auto;
  }
}

/* ==========================================================================
   SECTION DE PONTA A PONTA ACIMA DO FOOTER — MAPA E LOCALIZAÇÃO
   ========================================================================== */
.map-full-section {
  width: 100%;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
}

.map-full-header {
  padding: 44px 0 28px;
  background: linear-gradient(135deg, #F8FAFC 0%, #FFF5F7 100%);
  border-bottom: 1px solid var(--border-color);
}

.map-full-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.map-full-header h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 4px;
}

.map-full-header p {
  font-size: 0.96rem;
  color: var(--text-body);
}

.map-full-frame {
  width: 100%;
  height: 400px;
  line-height: 0;
}

.map-full-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ==========================================================================
   MAIN FOOTER (#f4b5c4)
   ========================================================================== */
.site-footer {
  background-color: #f4b5c4;
  color: #2D1920;
  padding-top: 56px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  padding-bottom: 48px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo img {
  height: 56px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.08));
}

.footer-about p {
  font-size: 0.95rem;
  color: #3D222B;
  margin-bottom: 18px;
  max-width: 58ch;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.94rem;
  color: #2D1920;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact-list svg {
  width: 18px;
  height: 18px;
  color: #B91C47;
  flex-shrink: 0;
  margin-top: 4px;
}

.footer-contact-list a {
  color: #2D1920;
  font-weight: 600;
}

.footer-contact-list a:hover {
  color: #B91C47;
  text-decoration: underline;
}

.footer-heading {
  font-size: 1.02rem;
  font-weight: 800;
  color: #1E1116;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #2D1920;
  font-size: 0.95rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: #B91C47;
  text-decoration: underline;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.social-btn.instagram-btn {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 4px 14px rgba(204, 35, 102, 0.32);
}

.social-btn.instagram-btn:hover {
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 6px 20px rgba(204, 35, 102, 0.52);
  color: #ffffff !important;
}

.social-btn svg {
  width: 22px;
  height: 22px;
}

/* ==========================================================================
   ÚLTIMA PARTE DO RODAPÉ (DE PONTA A PONTA) — COR #ef5f81 — PADRÃO AICLAX
   ========================================================================== */
.footer-bottom-bar {
  position: relative;
  overflow: hidden;
  width: 100%;
  background-color: #ef5f81;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  padding: 18px 0;
  color: #FFFFFF;
}

/* Brilho animado da esquerda para a direita (efeito sweep premium idêntico à topbar) */
.footer-bottom-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.05) 20%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0.05) 80%,
    transparent 100%
  );
  transform: skewX(-25deg);
  pointer-events: none;
  animation: footerSheen 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes footerSheen {
  0% {
    left: -120%;
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  38% {
    left: 150%;
    opacity: 1;
  }
  39%, 100% {
    left: 150%;
    opacity: 0;
  }
}

.footer-bottom-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}

.footer-copyright-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.4;
}

.footer-copy-line1 {
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.94rem;
  letter-spacing: 0.01em;
}

.footer-copy-line2 {
  color: rgba(255, 255, 255, 0.94);
  font-weight: 500;
  font-size: 0.86rem;
}

.footer-copy-line3 {
  color: rgba(255, 255, 255, 0.90);
  font-size: 0.84rem;
  margin-top: 2px;
}

.footer-copy-line3 a {
  color: #FFFFFF;
  font-weight: 700;
  text-decoration: underline;
  transition: opacity var(--transition);
}

.footer-copy-line3 a:hover {
  opacity: 0.85;
}

.footer-legal-nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
}

.footer-legal-nav a {
  color: #FFFFFF;
  font-size: 0.78rem; /* Diminuído em 1 ponto conforme solicitado para alinhamento perfeito */
  font-weight: 500;
  white-space: nowrap;
  transition: opacity var(--transition);
}

.footer-legal-nav a:hover {
  color: #FFF0F3;
  text-decoration: underline;
}

.footer-legal-sep {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.75rem;
  user-select: none;
}

/* ==========================================================================
   BOTÕES FLUTUANTES: WHATSAPP (CANTO INFERIOR) & VOLTAR AO TOPO (ACIMA DELE)
   ========================================================================== */
@keyframes whatsappPulse4s {
  0% {
    transform: scale(1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.65);
  }
  25% {
    transform: scale(1.06);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.55), 0 0 0 14px rgba(37, 211, 102, 0);
  }
  50% {
    transform: scale(1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.whatsapp-float {
  position: fixed;
  right: 28px;
  bottom: 105px; /* Elevado para não sobrepor em hipótese alguma o rodapé ou texto legal */
  z-index: 960;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #FFFFFF !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  animation: whatsappPulse4s 4s infinite ease-in-out;
  transition: background-color var(--transition), transform var(--transition);
  cursor: pointer;
}

.whatsapp-float:hover {
  background: var(--whatsapp-dark);
  color: #FFFFFF !important;
  transform: scale(1.08);
}

.whatsapp-float svg {
  width: 34px;
  height: 34px;
  fill: #FFFFFF;
  flex-shrink: 0;
}

/* Botão Voltar ao Topo (Circular com seta, posicionado com espaçamento acima do WhatsApp) */
.back-to-top {
  position: fixed;
  right: 30px;
  bottom: 178px; /* Posicionado acima do WhatsApp com 13px de espaçamento */
  z-index: 960;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #FFFFFF;
  color: #ef5f81;
  border: 2px solid #ef5f81;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

.back-to-top:hover {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(95, 114, 175, 0.35);
  transform: translateY(-2px);
}

.back-to-top:active {
  transform: translateY(0);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2.5;
  transition: transform 0.2s ease;
}

.back-to-top:hover svg {
  transform: translateY(-2px);
}

/* LGPD Cookie Consent Banner (Aceitar, Recusar, Gerenciar) */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  max-width: 520px;
  width: calc(100% - 40px);
  background: #1E293B;
  color: #F8FAFC;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  box-shadow: var(--shadow-lg);
  z-index: 980;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-banner h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cookie-banner p {
  font-size: 0.85rem;
  color: #CBD5E1;
  line-height: 1.55;
  margin-bottom: 16px;
}

.cookie-banner p a {
  color: var(--accent-coral);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cookie-btn {
  padding: 9px 15px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  min-height: 40px;
}

.cookie-btn-accept {
  background: var(--primary);
  color: #fff;
}

.cookie-btn-accept:hover {
  background: var(--primary-dark);
}

.cookie-btn-reject {
  background: rgba(255, 255, 255, 0.1);
  color: #E2E8F0;
  border-color: rgba(255, 255, 255, 0.2);
}

.cookie-btn-reject:hover {
  background: rgba(255, 255, 255, 0.18);
}

.cookie-btn-manage {
  background: transparent;
  color: #CBD5E1;
  text-decoration: underline;
}

.cookie-prefs-panel {
  display: none;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
}

.cookie-prefs-panel.open {
  display: block;
}

.cookie-pref-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

/* Responsive Breakpoints (1024px, 768px, 375px) */
@media (max-width: 1024px) {
  .hero-grid,
  .split-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-content {
    padding: 24px 20px;
    border-radius: 18px;
  }

  .specialty-cards,
  .highlights-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  /* Safe Area & Header Stacking */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .navbar {
    min-height: 72px;
    padding: 0 16px;
  }

  .brand-logo img {
    height: 46px;
    width: auto;
  }

  .topbar-inner {
    justify-content: center;
    text-align: center;
    gap: 8px;
  }

  /* Menu Toggle com Alvo de Toque >= 48px */
  .menu-toggle {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    transition: background-color var(--transition), color var(--transition), border-color var(--transition);
  }

  .menu-toggle.active {
    background: #ef5f81;
    color: #ffffff;
    border-color: #ef5f81;
  }

  /* Menu Dropdown Mobile com z-index 1001 e Rolagem Touch */
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 24px;
    border-top: 1px solid var(--border-color);
    border-bottom: 3px solid #ef5f81;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 1001;
    gap: 6px;
    animation: mobileMenuDrop 0.22s ease-out;
  }

  @keyframes mobileMenuDrop {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-link {
    padding: 13px 18px;
    font-size: 1rem;
    font-weight: 600;
    min-height: 48px;
    border-radius: var(--radius-sm);
    border-left: 3px solid transparent;
    display: flex;
    align-items: center;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  }

  .nav-link:hover,
  .nav-link:focus {
    background: var(--primary-subtle);
    color: var(--primary);
  }

  .nav-link.active {
    border-left-color: #ef5f81;
    background: #FFF0F3;
    color: #ef5f81;
  }

  .nav-cta {
    justify-content: center;
    margin-top: 10px;
    min-height: 48px;
    width: 100%;
    font-size: 0.98rem;
  }

  /* Hero Section & Card Compacto no Celular */
  .hero-slide {
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .hero-content {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .hero-title {
    font-size: clamp(1.5rem, 5.5vw, 1.95rem);
    line-height: 1.22;
    margin-bottom: 10px;
  }

  .hero-subtitle {
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 18px;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }

  /* Grades e Conteúdos em Coluna Única */
  .eeat-badges,
  .contact-cards,
  .gallery-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 52px 0;
  }

  .legal-content {
    padding: 24px 18px;
  }

  /* Rodapé e Barra Aiclax com Safe Area */
  .footer-bottom-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 20px;
    gap: 14px;
  }

  .footer-bottom-bar {
    padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  }

  .footer-legal-nav {
    flex-wrap: wrap;
    gap: 8px;
  }

  /* Botões Flutuantes com Safe Area para iPhone Home Bar */
  .whatsapp-float span {
    display: none;
  }

  .whatsapp-float {
    width: 54px;
    height: 54px;
    right: max(16px, env(safe-area-inset-right, 16px));
    bottom: calc(90px + env(safe-area-inset-bottom, 0px));
  }

  .whatsapp-float svg {
    width: 30px;
    height: 30px;
  }

  .back-to-top {
    width: 48px;
    height: 48px;
    right: max(19px, env(safe-area-inset-right, 19px));
    bottom: calc(154px + env(safe-area-inset-bottom, 0px));
  }

  .back-to-top svg {
    width: 20px;
    height: 20px;
  }

  /* Prevenção de Auto-Zoom no iOS Safari em Campos de Entrada */
  input, select, textarea {
    font-size: 16px !important;
    min-height: 48px;
  }
}

/* Telas Muito Pequenas (iPhone SE / Telas <= 480px) */
@media (max-width: 480px) {
  .hero-content {
    padding: 18px 16px;
  }

  .hero-title {
    font-size: 1.55rem;
  }

  .topbar-item {
    font-size: 0.76rem;
  }

  .footer-copy-line1 {
    font-size: 0.88rem;
  }

  .footer-copy-line2,
  .footer-copy-line3 {
    font-size: 0.80rem;
  }

  .footer-legal-nav a {
    font-size: 0.74rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

