/* Variables and Theming */
:root {
  /* Brand Colors (Based on Logo) */
  --color-primary: #113a32; /* Escuro Verde */
  --color-primary-light: #1a5449;
  --color-accent: #cba258; /* Dourado / Champagne */
  --color-accent-hover: #b48e4b;

  /* Neutral Colors */
  --color-bg: #f4f6f5; /* Off-white com toque mínimo de verde */
  --color-bg-alt: #ffffff;
  --color-text: #2a3634;
  --color-text-light: #5a6a67;
  --color-white: #ffffff;
  --color-border: #e2e8e6;

  /* Typography */
  --font-heading: "Cormorant Garamond", serif;
  --font-body: "Inter", sans-serif;

  /* Other Tokens */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  --shadow-sm: 0 4px 6px rgba(17, 58, 50, 0.05);
  --shadow-md: 0 10px 20px rgba(17, 58, 50, 0.08);
  --shadow-hover: 0 15px 30px rgba(17, 58, 50, 0.12);
  --transition: all 0.3s ease;
}

/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6,
.brand-title {
  font-family: var(--font-heading);
  color: var(--color-primary);
  font-weight: 500;
}

h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
h2 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}
h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.lead {
  font-size: 1.2rem;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.text-center {
  text-align: center;
}

ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

/* Layout & Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 5rem 0;
}
.bg-light {
  background-color: var(--color-bg-alt);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: var(--border-radius-md);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-secondary:hover {
  background-color: var(--color-primary-light);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn-outline:hover {
  background-color: var(--color-accent);
  color: var(--color-white);
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition);
  padding: 0.5rem 0;
}

.navbar.scrolled {
  padding: 0.2rem 0;
  box-shadow: var(--shadow-sm);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.brand-title {
  font-size: 1.5rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.brand-subtitle {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--color-accent);
  font-size: 1.8rem;
  margin-top: -6px;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-item {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  position: relative;
}

.nav-item::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--color-accent);
  transition: width 0.3s ease;
}

.nav-item:hover::after,
.nav-item.active::after {
  width: 100%;
}

.mobile-toggle,
.close-menu {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--color-primary);
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  padding-top: 120px;
  padding-bottom: 6rem;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background-color: var(--color-bg);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(
    circle,
    rgba(203, 162, 88, 0.1) 0%,
    rgba(244, 246, 245, 0) 70%
  );
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

.hero-text {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.tagline {
  display: inline-block;
  padding: 0.4rem 1rem;
  background-color: var(--color-white);
  color: var(--color-accent);
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(203, 162, 88, 0.3);
}

.hero h1 .highlight {
  color: var(--color-accent);
  font-style: italic;
}

.hero p {
  font-size: 1.15rem;
  color: var(--color-text-light);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Attributes Banner */
.attributes-banner {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 3rem 0;
  margin-top: -3rem;
  position: relative;
  z-index: 2;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  max-width: 1100px;
  margin: -3rem auto 0 auto;
}

.attr-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.attr-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
}

.attr-item i {
  font-size: 2.5rem;
  color: var(--color-accent);
}

.attr-item h4 {
  color: var(--color-white);
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
  font-family: var(--font-body);
}

.attr-item p {
  font-size: 0.85rem;
  opacity: 0.8;
}

/* Sobre Mim */
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.image-frame {
  position: relative;
  padding-bottom: 120%;
  border-radius: var(--border-radius-lg);
  background-color: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.image-frame::before {
  content: "";
  position: absolute;
  top: -15px;
  left: -15px;
  right: 15px;
  bottom: 15px;
  border: 2px solid var(--color-accent);
  border-radius: var(--border-radius-lg);
  z-index: -1;
}

.photo-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #e9eceb;
  color: var(--color-text-light);
}

.photo-placeholder i {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.doctor-photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1; /* Garante que fique sobreposta corretamente dentro da div */
}

.subtitle {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.sobre-text p {
  margin-bottom: 1.5rem;
}

.sobre-list {
  margin-top: 2rem;
}
.sobre-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}
.sobre-list i {
  color: var(--color-accent);
  font-size: 1.2rem;
}

/* Especialidades */
.section-header {
  margin-bottom: 3.5rem;
}
.section-header p {
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.card {
  background-color: var(--color-white);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: sixty;
  height: 60px;
  background-color: rgba(203, 162, 88, 0.1);
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.card h3 {
  color: var(--color-primary);
}

.card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* Como Funciona */
.metodos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.metodo-box {
  text-align: center;
  padding: 3rem;
  background-color: var(--color-white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

.metodo-img {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem auto;
  background-color: var(--color-primary);
  color: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.metodo-img.online {
  background-color: rgba(17, 58, 50, 0.05);
  color: var(--color-primary);
}

/* CTA Section */
.cta-section {
  padding: 0 0 5rem 0;
}

.cta-box {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 4rem;
  border-radius: var(--border-radius-lg);
  text-align: center;
  background-image: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-primary-light) 100%
  );
}

.cta-box h2 {
  color: var(--color-white);
  margin-bottom: 1rem;
}
.cta-box p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

/* Footer */
.footer {
  background-color: #1a2422;
  color: #a4b3b0;
  padding: 5rem 0 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
}

.footer .brand-title,
.footer .brand-subtitle {
  color: var(--color-white);
}
.footer .brand-subtitle {
  color: var(--color-accent);
}

.footer-brand p {
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--color-white);
  font-size: 1.2rem;
}
.social-links a:hover {
  background-color: var(--color-accent);
}

.footer h3 {
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.footer-contact ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.footer-contact i {
  color: var(--color-accent);
  margin-top: 4px;
}

.footer-links ul li {
  margin-bottom: 0.8rem;
}
.footer-links a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  background-color: #131a19;
  padding: 1.5rem 0;
  font-size: 0.85rem;
}

/* Animations & Utility classes */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.visible {
  opacity: 1;
  transform: translate(0);
}

.delay-1 {
  transition-delay: 0.2s;
}
.delay-2 {
  transition-delay: 0.4s;
}
.delay-3 {
  transition-delay: 0.6s;
}
.delay-4 {
  transition-delay: 0.8s;
}
.delay-5 {
  transition-delay: 1.0s;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: -150px;
  left: 0;
  width: 100%;
  background-color: var(--color-white);
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);
  z-index: 2000;
  padding: 1.5rem 0;
  border-top: 1px solid var(--color-border);
  transition: bottom 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cookie-banner.show {
  bottom: 0;
}

.cookie-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cookie-banner p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 0;
  flex: 1;
}

.privacy-link {
  color: var(--color-primary);
  text-decoration: underline;
  font-weight: 500;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.cookie-reject {
  border-color: var(--color-text-light);
  color: var(--color-text-light);
}

.cookie-reject:hover {
  background-color: var(--color-text-light);
  border-color: var(--color-text-light);
  color: var(--color-white);
}

/* Privacy & Text-Heavy Pages */
.lgpd-page {
  padding-top: 120px;
  min-height: calc(100vh - 80px); /* 100vh minus footer approx */
}

.lgpd-container {
  max-width: 800px;
  background-color: var(--color-white);
  padding: 4rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.lgpd-header {
  border-bottom: 2px solid var(--color-border);
  padding-bottom: 2rem;
  margin-bottom: 2.5rem;
}

.lgpd-header p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

.lgpd-content h3 {
  color: var(--color-primary);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.35rem;
}

.lgpd-content p {
  margin-bottom: 1.25rem;
  color: var(--color-text);
  line-height: 1.7;
}

.lgpd-content ul {
  list-style-type: disc;
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.lgpd-content li {
  margin-bottom: 0.5rem;
  color: var(--color-text);
  line-height: 1.6;
}

.lgpd-content strong {
  color: var(--color-primary);
  font-weight: 600;
}

.pt-footer {
  padding-top: 2rem !important;
}

/* Responsive Design */
@media (max-width: 992px) {
  h1 {
    font-size: 2.8rem;
  }
  .attr-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
  }
  .attr-item {
    flex-direction: column;
    gap: 0.5rem;
  }
  .sobre-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .image-frame {
    padding-bottom: 70%;
    max-width: 500px;
    margin: 0 auto;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--color-white);
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.4s ease;
  }

  .nav-links.active {
    right: 0;
  }

  .mobile-toggle,
  .close-menu {
    display: block;
  }
  .close-menu {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .metodos-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .cta-box {
    padding: 3rem 1.5rem;
  }
}
