/* Dra. Andréa Fetter - Estilos Globais e Design System */

/* Importação de Fontes do Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

/* Variáveis de Design (Design Tokens) */
:root {
  /* Cores Principais baseadas no Logotipo */
  --primary: #8A5762;         /* Ameixa/Burgundy - Cor principal de marca */
  --primary-light: #A7747E;   /* Ameixa claro para estados de hover */
  --primary-dark: #6E3D48;    /* Ameixa escuro para contrastes fortes */
  --accent: #C5A880;          /* Dourado Fosco - Detalhes e acentos */
  --accent-light: #E0C5A3;    /* Dourado claro para hovers secundários */
  --accent-dark: #A68962;     /* Dourado escuro */
  
  /* Cores de Fundo (Acolhedoras) */
  --bg-primary: #FAF5F5;      /* Branco Quente / Rosy Alabaster */
  --bg-secondary: #F0E5E5;    /* Areia Rosada / Soft Taupe */
  --bg-white: #FFFFFF;        /* Branco Puro para cartões e áreas de destaque */
  
  /* Cores de Texto */
  --text-primary: #3A2E30;    /* Grafite Quente de alto contraste */
  --text-secondary: #5C4B4E;  /* Ameixa acinzentado médio */
  --text-light: #8E7A7D;      /* Texto de apoio / Muted text */
  --text-white: #FAF5F5;      /* Texto claro para fundos escuros */
  
  /* Tipografia */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  
  /* Medidas e Espaçamentos */
  --container-width: 1200px;
  --header-height: 80px;
  --border-radius-sm: 6px;
  --border-radius-md: 12px;
  --border-radius-lg: 24px;
  --border-radius-xl: 40px;
  
  /* Transições e Efeitos */
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 4px 12px rgba(138, 87, 98, 0.04);
  --shadow-md: 0 10px 30px rgba(138, 87, 98, 0.08);
  --shadow-lg: 0 20px 40px rgba(138, 87, 98, 0.12);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Tipografia Base */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.3;
  color: var(--primary-dark);
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  color: var(--text-secondary);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

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

/* Layout e Containers */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding: 80px 0;
  position: relative;
}

@media (min-width: 768px) {
  .section {
    padding: 120px 0;
  }
}

.section-alt {
  background-color: var(--bg-secondary);
}

.section-white {
  background-color: var(--bg-white);
}

/* Cabeçalho de Seção */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-tag {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-dark);
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.75rem;
  }
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.02em;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--bg-primary);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(138, 87, 98, 0.2);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--accent);
  color: var(--primary-dark);
}

.btn-secondary:hover {
  background-color: var(--accent);
  color: var(--bg-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(197, 168, 128, 0.25);
}

.btn-white {
  background-color: var(--bg-white);
  color: var(--primary);
}

.btn-white:hover {
  background-color: var(--bg-secondary);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

/* Cabeçalho & Menu (Header) */
.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(250, 245, 245, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  box-shadow: 0 1px 10px rgba(138, 87, 98, 0.03);
  transition: var(--transition);
}

.header-nav.scrolled {
  background-color: rgba(250, 245, 245, 0.95);
  box-shadow: 0 4px 20px rgba(138, 87, 98, 0.06);
  height: 70px;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

/* Logo */
.logo-area {
  display: flex;
  align-items: center;
}

.logo-link {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.logo-sub {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-top: 2px;
}

/* Menu de Navegação */
.nav-menu {
  display: none;
}

@media (min-width: 1024px) {
  .nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 30px;
  }
  
  .nav-item {
    position: relative;
  }
  
  .nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    padding: 8px 0;
    position: relative;
  }
  
  .nav-link:hover, .nav-link.active {
    color: var(--primary);
  }
  
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
  }
  
  .nav-link:hover::after, .nav-link.active::after {
    width: 100%;
  }
  
  /* Dropdown */
  .nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 260px;
    background-color: var(--bg-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    list-style: none;
    padding: 10px 0;
    transition: var(--transition);
    border: 1px solid rgba(138, 87, 98, 0.05);
  }
  
  .nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
  
  .dropdown-link {
    display: block;
    padding: 10px 20px;
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 500;
  }
  
  .dropdown-link:hover {
    background-color: var(--bg-secondary);
    color: var(--primary-dark);
    padding-left: 25px;
  }
}

.header-cta {
  display: none;
}

@media (min-width: 1024px) {
  .header-cta {
    display: block;
  }
}

/* Mobile Toggle */
.mobile-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

@media (min-width: 1024px) {
  .mobile-toggle {
    display: none;
  }
}

.mobile-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Gaveta Menu Mobile */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 360px;
  height: 100vh;
  background-color: var(--bg-primary);
  box-shadow: var(--shadow-lg);
  z-index: 1050;
  padding: 100px 40px 40px 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  transition: var(--transition);
}

.mobile-drawer.active {
  right: 0;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav-link {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  display: block;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--primary);
}

.mobile-nav-sub {
  list-style: none;
  padding-left: 20px;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-left: 2px solid var(--accent);
}

.mobile-nav-sub-link {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.mobile-nav-sub-link:hover {
  color: var(--primary);
}

/* Seção Hero Home */
.hero-section {
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 60px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

@media (min-width: 1024px) {
  .hero-section {
    padding-top: calc(var(--header-height) + 80px);
    padding-bottom: 120px;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.hero-tag {
  display: inline-block;
  background-color: var(--bg-white);
  border: 1px solid rgba(138, 87, 98, 0.15);
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.hero-title {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.25rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

@media (min-width: 480px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.hero-image-container {
  position: relative;
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
}

.hero-image-wrapper {
  position: relative;
  z-index: 2;
  border-radius: var(--border-radius-xl) 15px var(--border-radius-xl) 15px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  background-color: var(--bg-secondary);
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-deco {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  border: 3px solid var(--accent);
  border-radius: 50%;
  z-index: 1;
}

.hero-image-deco-2 {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 140px;
  height: 140px;
  background-color: rgba(197, 168, 128, 0.15);
  border-radius: 30px;
  z-index: 1;
  transform: rotate(15deg);
}

/* Seção Filosofia / Abordagem */
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .philosophy-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .philosophy-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.philosophy-card {
  background-color: var(--bg-white);
  padding: 40px 30px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(138, 87, 98, 0.02);
}

.philosophy-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(138, 87, 98, 0.1);
}

.philosophy-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(138, 87, 98, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--primary);
}

.philosophy-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.philosophy-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Grade de Serviços / Tratamentos */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(138, 87, 98, 0.03);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(138, 87, 98, 0.1);
}

.service-card-body {
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-icon {
  width: 54px;
  height: 54px;
  background-color: rgba(197, 168, 128, 0.12);
  color: var(--primary-dark);
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-card-title {
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: var(--primary-dark);
}

.service-card-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  flex-grow: 1;
  line-height: 1.6;
}

.service-card-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.service-card-link svg {
  transition: var(--transition);
}

.service-card:hover .service-card-link svg {
  transform: translateX(5px);
}

/* Seção Sobre a Médica */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--border-radius-xl) 15px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-text-container {
  display: flex;
  flex-direction: column;
}

.about-credentials {
  margin: 24px 0;
  padding: 18px 0;
  border-top: 1px solid rgba(138, 87, 98, 0.15);
  border-bottom: 1px solid rgba(138, 87, 98, 0.15);
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
}

.about-cred-item {
  display: flex;
  flex-direction: column;
}

.about-cred-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  font-weight: 700;
}

.about-cred-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
  font-family: var(--font-serif);
}

.about-list {
  list-style: none;
  margin-bottom: 30px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 480px) {
  .about-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.about-list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.about-list-item svg {
  color: var(--accent-dark);
  flex-shrink: 0;
  margin-top: 5px;
}

/* Seção Consultório / Fotos */
.clinic-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 1024px) {
  .clinic-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.clinic-images {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.clinic-img-wrapper {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4/3;
  transition: var(--transition);
}

.clinic-img-wrapper:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}

.clinic-img-wrapper.large {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

.clinic-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Seção Contato & Localização */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.contact-info-card {
  background-color: var(--bg-white);
  padding: 40px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(138, 87, 98, 0.03);
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-method {
  display: flex;
  gap: 20px;
}

.contact-method-icon {
  width: 44px;
  height: 44px;
  background-color: rgba(138, 87, 98, 0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-method-title {
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: var(--primary-dark);
}

.contact-method-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.contact-method-text a:hover {
  text-decoration: underline;
}

.map-wrapper {
  width: 100%;
  height: 100%;
  min-height: 350px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(138, 87, 98, 0.05);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Seção CTA Agendamento */
.cta-block-section {
  padding: 60px 0;
}

@media (min-width: 768px) {
  .cta-block-section {
    padding: 80px 0;
  }
}

.cta-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--border-radius-xl);
  padding: 60px 30px;
  color: var(--text-white);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
  .cta-box {
    padding: 80px 60px;
  }
}

.cta-box-decor {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  border: 4px dashed rgba(250, 245, 245, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.cta-box-decor-2 {
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 200px;
  height: 200px;
  background-color: rgba(250, 245, 245, 0.03);
  border-radius: 50px;
  pointer-events: none;
  transform: rotate(30deg);
}

.cta-box h2 {
  color: var(--bg-primary);
  font-size: 2.2rem;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .cta-box h2 {
    font-size: 2.75rem;
  }
}

.cta-box p {
  color: rgba(250, 245, 245, 0.85);
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto 40px auto;
}

/* Layout das Páginas Internas */
.page-hero {
  padding: calc(var(--header-height) + 40px) 0 60px 0;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  border-bottom: 1px solid rgba(138, 87, 98, 0.08);
}

@media (min-width: 768px) {
  .page-hero {
    padding: calc(var(--header-height) + 60px) 0 80px 0;
  }
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
  font-size: 0.88rem;
  color: var(--text-light);
}

.breadcrumbs a {
  color: var(--text-secondary);
}

.breadcrumbs a:hover {
  color: var(--primary);
}

.breadcrumbs span {
  color: var(--text-light);
}

.page-title {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--primary-dark);
}

@media (min-width: 768px) {
  .page-title {
    font-size: 3rem;
  }
}

.page-intro {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 800px;
  line-height: 1.6;
}

/* Duas Colunas da Página Interna */
.page-internal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
}

@media (min-width: 1024px) {
  .page-internal-grid {
    grid-template-columns: 1.4fr 0.6fr;
  }
}

.content-main h2 {
  font-size: 1.75rem;
  margin: 40px 0 20px 0;
}

.content-main h2:first-of-type {
  margin-top: 0;
}

.content-main h3 {
  font-size: 1.35rem;
  margin: 30px 0 15px 0;
  color: var(--primary);
}

.content-main p {
  margin-bottom: 24px;
  text-align: left;
}

.content-main ul {
  list-style: none;
  margin-bottom: 30px;
}

.content-main li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 1.02rem;
  color: var(--text-secondary);
}

.content-main li::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 10px;
  width: 6px;
  height: 6px;
  background-color: var(--accent-dark);
  border-radius: 50%;
}

/* Sidebar de Apoio */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.sidebar-box {
  background-color: var(--bg-white);
  padding: 30px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(138, 87, 98, 0.03);
}

.sidebar-title {
  font-size: 1.25rem;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(138, 87, 98, 0.1);
  padding-bottom: 12px;
  color: var(--primary-dark);
}

.services-list-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-nav-item a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  background-color: var(--bg-primary);
  border-radius: var(--border-radius-sm);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 500;
}

.service-nav-item a:hover, .service-nav-item.active a {
  background-color: var(--primary);
  color: var(--text-white);
}

.service-nav-item a svg {
  color: var(--accent-dark);
}

.service-nav-item a:hover svg, .service-nav-item.active a svg {
  color: var(--bg-primary);
}

/* Componente de FAQ (Sanfona) */
.faq-container {
  margin-top: 50px;
}

.faq-item {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  margin-bottom: 15px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid rgba(138, 87, 98, 0.02);
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(138, 87, 98, 0.1);
  box-shadow: var(--shadow-md);
}

.faq-header {
  padding: 22px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-question {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.faq-toggle-icon {
  width: 20px;
  height: 20px;
  color: var(--primary);
  transition: var(--transition);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-body-content {
  padding: 0 30px 24px 30px;
  font-size: 0.98rem;
  color: var(--text-secondary);
  border-top: 1px solid rgba(138, 87, 98, 0.05);
  padding-top: 20px;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
}

.faq-item.active .faq-body {
  max-height: 500px; /* Suficiente para textos longos de FAQ */
}

/* Rodapé (Footer) */
.footer {
  background-color: var(--primary-dark);
  color: var(--text-white);
  padding: 80px 0 30px 0;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 1fr;
  }
}

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

.footer-logo {
  display: flex;
  flex-direction: column;
}

.footer-logo-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bg-primary);
}

.footer-logo-sub {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.footer-desc {
  font-size: 0.95rem;
  color: rgba(250, 245, 245, 0.75);
}

.footer-col h3 {
  color: var(--bg-primary);
  font-size: 1.15rem;
  margin-bottom: 5px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link a {
  color: rgba(250, 245, 245, 0.75);
  font-size: 0.95rem;
}

.footer-link a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  font-size: 0.95rem;
  color: rgba(250, 245, 245, 0.75);
}

.footer-contact-item svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-socials {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.footer-social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(250, 245, 245, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-primary);
}

.footer-social-link:hover {
  background-color: var(--accent);
  color: var(--primary-dark);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(250, 245, 245, 0.1);
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-copy {
  font-size: 0.88rem;
  color: rgba(250, 245, 245, 0.55);
}

.footer-copy a {
  color: rgba(250, 245, 245, 0.7);
}

.footer-copy a:hover {
  color: var(--accent);
}

.footer-regulations {
  font-size: 0.8rem;
  color: rgba(250, 245, 245, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* WhatsApp Botão Flutuante Customizado */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
}

.whatsapp-tooltip {
  background-color: var(--bg-white);
  color: var(--text-primary);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(138, 87, 98, 0.05);
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
  white-space: nowrap;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

.whatsapp-button {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(138, 87, 98, 0.25);
  transition: var(--transition);
  position: relative;
}

.whatsapp-button::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--accent);
  top: 0;
  left: 0;
  z-index: -1;
  animation: pulse-ring 2.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.whatsapp-button:hover {
  background-color: var(--primary-light);
  transform: scale(1.08) rotate(5deg);
  color: var(--white);
  box-shadow: 0 8px 25px rgba(138, 87, 98, 0.35);
}

.whatsapp-button svg {
  width: 28px;
  height: 28px;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    opacity: 0.85;
  }
  50% {
    opacity: 0.4;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

/* Efeitos de Scroll Reveal (JS baseada em IntersectionObserver) */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* Ajustes Finais para Impressão ou Acessibilidade */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .whatsapp-button::after {
    animation: none;
  }
}


/* ============================================================
   V1.1 - Privacidade, cookies, créditos e ajustes de layout
   ============================================================ */
.page-internal-single {
  grid-template-columns: minmax(0, 850px);
  justify-content: center;
}

.footer-project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  padding: 18px 0;
  border-top: 1px solid rgba(250, 245, 245, 0.1);
}

.footer-project-links a,
.cookie-settings-link,
.footer-credit,
.footer-credit a {
  color: rgba(250, 245, 245, 0.72);
  font-size: 0.85rem;
}

.cookie-settings-link {
  background: none;
  border: 0;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
}

.footer-project-links a:hover,
.cookie-settings-link:hover,
.footer-credit a:hover {
  color: var(--accent);
}

.footer-credit {
  margin-top: 18px;
  text-align: center;
}

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 3000;
  display: none;
  max-width: 960px;
  margin: 0 auto;
  background: var(--bg-white);
  border: 1px solid rgba(138, 87, 98, 0.14);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
}

.cookie-banner.active { display: block; }
.cookie-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 24px;
}
.cookie-banner-text strong { color: var(--primary-dark); }
.cookie-banner-text p { margin: 6px 0; font-size: 0.9rem; line-height: 1.5; }
.cookie-banner-text a { font-size: 0.88rem; font-weight: 600; }
.cookie-banner-actions { display: flex; flex-shrink: 0; gap: 10px; }
.btn-cookie {
  border-radius: 50px;
  padding: 10px 18px;
  border: 1px solid var(--primary);
  font-family: var(--font-sans);
  font-weight: 600;
  cursor: pointer;
}
.btn-cookie-primary { background: var(--primary); color: var(--text-white); }
.btn-cookie-secondary { background: transparent; color: var(--primary); }

.map-wrapper { position: relative; }
.map-consent-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 30px;
  text-align: center;
  background: var(--bg-secondary);
}
.map-consent-placeholder p { max-width: 420px; margin: 0; }
.map-wrapper.cookies-accepted .map-consent-placeholder { display: none; }

@media (max-width: 767px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; }
  .cookie-banner-content { flex-direction: column; align-items: stretch; }
  .cookie-banner-actions { flex-direction: column-reverse; }
  .btn-cookie { width: 100%; }
}
