/* ==========================================================================
   PERFECCIONISMO.COM.BR - Design System & Stylesheet
   ========================================================================== */

:root {
  --bg-dark: #090D16;
  --bg-card: #111827;
  --bg-card-hover: #1F293D;
  --bg-light-surface: #1E293B;
  --primary: #3B82F6;
  --primary-light: #60A5FA;
  --primary-glow: rgba(59, 130, 246, 0.3);
  --accent-gold: #F59E0B;
  --accent-gold-glow: rgba(245, 158, 11, 0.25);
  --amazon-orange: #FF9900;
  --amazon-hover: #E68A00;
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(59, 130, 246, 0.4);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 5rem 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 3.5rem 0;
  }
}

/* Typography */
h1, h2, h3, h4 {
  color: var(--text-primary);
  line-height: 1.25;
  font-weight: 700;
}

.serif-font {
  font-family: var(--font-serif);
}

.text-gradient {
  background: linear-gradient(135deg, #60A5FA 0%, #A78BFA 50%, #F472B6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gold {
  color: var(--accent-gold);
}

.lead-text {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.8rem;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-amazon {
  background: linear-gradient(135deg, #FF9900 0%, #FF8000 100%);
  color: #0F172A;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(255, 153, 0, 0.25);
}

.btn-amazon:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(255, 153, 0, 0.4);
  background: linear-gradient(135deg, #FFAD33 0%, #FF9900 100%);
}

.btn-primary {
  background: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 10px 25px var(--primary-glow);
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(96, 165, 250, 0.4);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--text-secondary);
}

/* Header & Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(9, 13, 22, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.logo-dot {
  width: 10px;
  height: 10px;
  background-color: var(--primary);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-toggle,
.nav-buy-mobile {
  display: none;
}

.nav-buy-desktop {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .header {
    padding: 0.75rem 0;
  }

  .nav-wrapper {
    position: relative;
  }

  .nav-toggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
    margin-left: auto;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 0;
    right: 0;
    display: none;
    padding: 0.75rem;
    align-items: stretch;
    flex-direction: column;
    gap: 0.25rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: rgba(9, 13, 22, 0.98);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 0.8rem 0.9rem;
    border-radius: var(--radius-sm);
  }

  .nav-links a:hover,
  .nav-links a:focus-visible {
    background: rgba(255, 255, 255, 0.06);
  }

  .nav-buy-mobile {
    display: list-item;
  }

  .nav-buy-mobile a {
    margin-top: 0.35rem;
    background: linear-gradient(135deg, #FF9900 0%, #FF8000 100%);
    color: #0F172A;
    font-weight: 700;
    text-align: center;
  }

  .nav-buy-desktop {
    display: none;
  }
}

/* Hero Section */
.hero {
  padding-top: 9rem;
  padding-bottom: 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--primary-light);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.2rem;
  letter-spacing: -1px;
  margin-bottom: 1.2rem;
}

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

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

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

@media (max-width: 992px) {
  .hero-actions {
    justify-content: center;
  }
}

.book-preview-container {
  position: relative;
  display: flex;
  justify-content: center;
}

.book-preview-container picture {
  display: block;
  width: min(100%, 310px);
}

.book-cover-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.55);
  transition: var(--transition);
}

.book-cover-img:hover {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .book-preview-container picture {
    width: min(78vw, 270px);
  }

  .book-cover-img {
    transform: none;
  }
}

/* Mini Test Section (Interactive Quiz) */
.quiz-section {
  background: linear-gradient(180deg, var(--bg-dark) 0%, #0F172A 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.quiz-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  max-width: 800px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .quiz-card {
    padding: 1.8rem;
  }
}

.quiz-header {
  text-align: center;
  margin-bottom: 2rem;
}

.quiz-progress {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-bottom: 2rem;
  overflow: hidden;
}

.quiz-progress-bar {
  height: 100%;
  width: 20%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent-gold) 100%);
  transition: width 0.4s ease;
}

.quiz-question-title {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.quiz-option-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.5rem;
  color: var(--text-primary);
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.quiz-option-btn:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: var(--primary-light);
  transform: translateX(4px);
}

.quiz-option-btn.selected {
  background: var(--primary);
  border-color: var(--primary-light);
  color: #FFF;
}

.quiz-result-container {
  display: none;
  text-align: center;
  animation: fadeIn 0.5s ease forwards;
}

.score-badge {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-gold);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.result-recommendation {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  margin: 1.5rem 0 2rem;
  text-align: left;
}

/* Content hub */
.content-hub {
  background: linear-gradient(180deg, #0F172A 0%, var(--bg-dark) 100%);
  border-bottom: 1px solid var(--border-color);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 5vw, 2.8rem);
}

.article-cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
}

.article-card {
  grid-column: span 2;
  min-height: 260px;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  transition: var(--transition);
}

.article-card:nth-last-child(-n + 2) {
  grid-column: span 3;
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: rgba(96, 165, 250, 0.45);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.3);
}

.article-card__number {
  margin-bottom: 1rem;
  color: var(--accent-gold);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.article-card h3 {
  margin-bottom: 0.75rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
}

.article-card p {
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
}

.article-card a {
  margin-top: auto;
  color: var(--primary-light);
  font-weight: 700;
  text-decoration: none;
}

.article-card a:hover {
  color: #93C5FD;
}

.content-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 1.25rem;
  padding: 1.6rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  transition: var(--transition);
}

.content-cta:hover {
  border-color: rgba(96, 165, 250, 0.45);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.3);
}

.content-cta__copy {
  max-width: 680px;
}

.content-cta .article-card__number {
  display: block;
  margin-bottom: 0.65rem;
}

.content-cta__copy h3 {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.content-cta__copy p {
  color: var(--text-secondary);
}

.content-cta__button {
  flex: 0 0 auto;
  text-align: center;
}

@media (max-width: 800px) {
  .article-card,
  .article-card:nth-last-child(-n + 2) {
    grid-column: span 3;
  }

  .content-cta {
    align-items: stretch;
    flex-direction: column;
    gap: 1.25rem;
  }

  .content-cta__button {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .article-card,
  .article-card:nth-last-child(-n + 2) {
    grid-column: 1 / -1;
    min-height: auto;
  }
}

/* Pillar Content SEO Section */
.article-section {
  background: #0B0F19;
}

.article-container {
  max-width: 820px;
  margin: 0 auto;
}

.article-header {
  margin-bottom: 3rem;
  text-align: center;
}

.article-byline {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.article-body h2 {
  font-size: 2rem;
  margin: 2.5rem 0 1.2rem;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.article-body h3 {
  font-size: 1.4rem;
  margin: 1.8rem 0 1rem;
  color: var(--primary-light);
}

.article-body p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.article-body ul, .article-body ol {
  margin: 1rem 0 1.5rem 2rem;
  color: var(--text-secondary);
}

.article-body li {
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
}

.quote-box {
  background: rgba(59, 130, 246, 0.08);
  border-left: 4px solid var(--primary);
  padding: 1.5rem 2rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 2rem 0;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--text-primary);
}

.article-sources {
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: rgba(59, 130, 246, 0.06);
}

.article-sources p {
  margin: 0;
  font-size: 0.95rem;
}

.article-sources a {
  color: var(--primary-light);
}

/* Standalone article pages */
.article-page {
  padding-top: 7.5rem;
}

.article-page__header {
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--border-color);
  background:
    radial-gradient(circle at 80% 10%, rgba(59, 130, 246, 0.18), transparent 35%),
    linear-gradient(180deg, #0F172A 0%, var(--bg-dark) 100%);
}

.article-page__header-content,
.article-page__content {
  max-width: 820px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

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

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

.article-page__header h1 {
  max-width: 760px;
  margin-bottom: 1.25rem;
  font-family: var(--font-serif);
  font-size: clamp(2.35rem, 7vw, 4rem);
  letter-spacing: -0.035em;
}

.article-page__intro {
  max-width: 720px;
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  line-height: 1.75;
}

.article-page__meta {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.article-page__content {
  padding-top: 3.5rem;
  padding-bottom: 4rem;
}

.article-page__content h2 {
  margin: 2.8rem 0 1rem;
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 4vw, 2.2rem);
}

.article-page__content h3 {
  margin: 2rem 0 0.75rem;
  font-size: 1.3rem;
}

.article-page__content p,
.article-page__content li {
  color: var(--text-secondary);
  font-size: 1.04rem;
  line-height: 1.85;
}

.article-page__content p {
  margin-bottom: 1.2rem;
}

.article-page__content ul,
.article-page__content ol {
  margin: 0 0 1.5rem 1.4rem;
}

.article-page__content li {
  margin-bottom: 0.65rem;
  padding-left: 0.3rem;
}

.article-page__content strong {
  color: var(--text-primary);
}

.article-page__content a {
  color: var(--primary-light);
}

.article-callout {
  margin: 2rem 0;
  padding: 1.4rem 1.5rem;
  border-left: 4px solid var(--accent-gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(245, 158, 11, 0.08);
}

.article-callout p {
  margin: 0;
  color: var(--text-primary);
}

.article-steps {
  counter-reset: article-step;
  margin-left: 0 !important;
  list-style: none;
}

.article-steps li {
  position: relative;
  margin-bottom: 1rem;
  padding: 1rem 1rem 1rem 3.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.025);
}

.article-steps li::before {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 1.7rem;
  height: 1.7rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  content: counter(article-step);
  counter-increment: article-step;
  font-size: 0.8rem;
  font-weight: 800;
}

.article-cta {
  margin: 3rem 0;
  padding: 2rem;
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(59, 130, 246, 0.08));
  text-align: center;
}

.article-cta h2 {
  margin-top: 0;
}

.article-cta p {
  max-width: 600px;
  margin-right: auto;
  margin-left: auto;
}

.article-cta .btn {
  color: #0F172A;
}

.related-articles {
  padding: 3.5rem 0;
  border-top: 1px solid var(--border-color);
  background: #0F172A;
}

.related-articles h2 {
  margin-bottom: 1.5rem;
  font-family: var(--font-serif);
  font-size: 2rem;
  text-align: center;
}

.related-articles__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.related-article {
  padding: 1.25rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-primary);
  text-decoration: none;
}

.related-article span {
  display: block;
  margin-top: 0.35rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.related-article:hover {
  border-color: var(--primary-light);
}

@media (max-width: 640px) {
  .article-page {
    padding-top: 4.5rem;
  }

  .article-page__header {
    padding-top: 2.5rem;
  }

  .related-articles__grid {
    grid-template-columns: 1fr;
  }
}

/* FAQ Accordion */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 800px;
  margin: 3rem auto 0;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-question {
  padding: 1.3rem 1.8rem;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.8rem;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.8rem 1.5rem 1.8rem;
}

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

.faq-icon {
  transition: transform 0.3s ease;
}

/* Contato com endereço protegido */
.contact-section {
  border-top: 1px solid var(--border-color);
  background:
    radial-gradient(circle at 15% 20%, rgba(59, 130, 246, 0.16), transparent 35%),
    #0B0F19;
}

.contact-page {
  min-height: calc(100vh - 160px);
  padding-top: 10rem;
  padding-bottom: 6rem;
}

.contact-card {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(1.6rem, 5vw, 3rem);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
  text-align: center;
}

.contact-card__content h1,
.contact-card__content h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(2rem, 5vw, 2.7rem);
}

.contact-card__content p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.contact-card__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.contact-card__note {
  margin-top: 1.25rem;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.protected-email-result {
  word-break: break-all;
}

.inline-email-reveal {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--primary-light);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.inline-email-reveal:hover,
.inline-email-reveal:focus-visible,
.protected-email-result.inline-email-reveal:hover {
  color: #93C5FD;
}

@media (max-width: 560px) {
  .contact-page {
    padding-top: 7rem;
    padding-bottom: 4rem;
  }

  .contact-card__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-card__actions .btn {
    width: 100%;
  }
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 3rem 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1rem;
}

.footer-links a,
.footer-link-button {
  color: var(--text-secondary);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-link-button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.footer-links a:hover,
.footer-link-button:hover {
  color: var(--text-primary);
}

/* Consentimento de cookies */
.cookie-banner[hidden] {
  display: none;
}

.cookie-banner {
  position: fixed;
  z-index: 1000;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem;
  border: 1px solid rgba(96, 165, 250, 0.35);
  border-radius: var(--radius-md);
  background: rgba(17, 24, 39, 0.98);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.25s ease, transform 0.25s ease;
  backdrop-filter: blur(14px);
}

.cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cookie-banner__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cookie-banner__text {
  max-width: 650px;
}

.cookie-banner__text h2 {
  margin-bottom: 0.35rem;
  font-size: 1.1rem;
}

.cookie-banner__text p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.cookie-banner__text a {
  color: var(--primary-light);
}

.cookie-banner__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 0.75rem;
}

.cookie-button {
  min-height: 44px;
  padding: 0.7rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.cookie-button--primary {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.cookie-button--primary:hover {
  background: var(--primary-light);
}

.cookie-button--secondary {
  border-color: rgba(148, 163, 184, 0.4);
  background: transparent;
  color: var(--text-primary);
}

.cookie-button--secondary:hover {
  border-color: var(--text-secondary);
  background: rgba(148, 163, 184, 0.1);
}

/* Página de privacidade */
.privacy-header {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border-color);
}

.privacy-header__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.privacy-home-link {
  color: var(--primary-light);
  text-decoration: none;
}

.privacy-page {
  padding: 4rem 0 5rem;
}

.privacy-content {
  max-width: 820px;
  margin: 0 auto;
}

.privacy-content h1 {
  margin-bottom: 0.75rem;
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 6vw, 3.5rem);
}

.privacy-updated {
  margin-bottom: 3rem;
  color: var(--text-muted);
}

.privacy-content h2 {
  margin: 2.5rem 0 0.85rem;
  font-size: 1.4rem;
}

.privacy-content p,
.privacy-content li {
  color: var(--text-secondary);
  line-height: 1.8;
}

.privacy-content p {
  margin-bottom: 1rem;
}

.privacy-content ul {
  margin: 0 0 1rem 1.5rem;
}

.privacy-content a {
  color: var(--primary-light);
}

@media (max-width: 760px) {
  .cookie-banner__content,
  .cookie-banner__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-button {
    width: 100%;
  }

  .privacy-header__content {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
