/* ==========================================================================
  1. RESET, VARIÁVEIS GLOBAIS E ESTILOS BASE
   ========================================================================== */

:root {
  /* Tipografia */
  --font-primary: "Montserrat", sans-serif;
  --font-secondary: "Playfair Display", serif;

  /* Cores */
  --color-white: #ffffff;
  --color-off-white: #f8f8f8;
  --color-light-gray: #eaeaea;
  --color-medium-gray: #cccccc;
  --color-dark-gray: #333333;
  --color-black: #111111;
  --color-primary: #4a6fa5;
  --color-primary-dark: #3a5a8a;
  --color-secondary: #e67e22;
  --color-accent: #e74c3c;
  --color-facebook: #4267b2;
  --color-facebook-dark: #365899;

  /* Espaçamentos */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 0.7rem;
  --space-lg: 3rem;
  --space-xl: 4rem;

  /* Outros */
  --border-radius: 4px;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
  --transition: 0.3s ease;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%; /* 1rem = 10px */
  scroll-behavior: smooth;
  overflow-x: hidden; /* Previne scroll horizontal */
}

body {
  font-family: var(--font-primary);
  font-size: 1.6rem; /* Padrão 16px */
  line-height: 1.6;
  color: var(--color-dark-gray);
  background-color: var(--color-off-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
picture {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

a {
  text-decoration: none;
  color: var(--color-primary);
  transition: color var(--transition);
}

a:hover {
  color: var(--color-primary-dark);
}

ul {
  list-style: none;
}

/* ==========================================================================
   2. TIPOGRAFIA
   ========================================================================== */
h1,
h2,
h3,
h4 {
  font-family: sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-black);
  margin-bottom: var(--space-sm);
}

h1 {
  font-size: 3.5rem;
}
h2 {
  font-size: 2.8rem;
}
h3 {
  font-size: 2.2rem;
}
h4 {
  font-size: 1.8rem;
}
p {
  margin-bottom: var(--space-md);
}

/* ==========================================================================
   3. CLASSES UTILITÁRIAS
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-lg) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-title::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background-color: var(--color-primary);
  margin: var(--space-sm) auto 0;
}

.text-center {
  text-align: center;
}
.hidden {
  display: none !important;
}

/* ==========================================================================
   4. COMPONENTES REUTILIZÁVEIS (Buttons, Cards)
   ========================================================================== */

/* --- Botões --- */
.btn {
  display: inline-block;
  padding: 1.2rem 2.4rem;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.btn:hover {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-secondary {
  background-color: var(--color-secondary);
  color: var(--color-white);
}
.btn-secondary:hover {
  background-color: #d35400; /* Variação escura do secondary */
}

/* --- Cards --- */
.card {
  background-color: var(--color-white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: var(--space-md);
}

.card-title {
  font-size: 1.8rem;
  margin-bottom: var(--space-sm);
}

.card-meta {
  font-size: 1.3rem;
  color: var(--color-medium-gray);
  margin-bottom: var(--space-sm);
}

.card-link {
  font-weight: 600;
  color: var(--color-primary);
}
.card-link::after {
  content: " →";
}

/* ==========================================================================
   5. LAYOUT (Header, Footer, Grid)
   ========================================================================== */

/* --- Header --- */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0rem 1rem;
  flex-wrap: initial;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 60px;
}

.logo {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-black);
  letter-spacing: 1px;
  font-family: var(--font-primary);
}

.logo-text-dehcor {
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  color: var(--color-dark-gray);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 1.6rem;
  padding: 0 0.5rem 0.3rem 0.5rem;
  transition: color var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
}

.search-bar {
  display: flex;
  align-items: center;
  margin-left: 2rem;
}

.search-bar input {
  padding: 0.7rem 1.2rem;
  border: 1px solid var(--color-medium-gray);
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-size: 1.5rem;
  min-width: 220px;
}

.search-bar button {
  padding: 0.7rem 1.5rem;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  font-size: 1.5rem;
  border: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.search-bar button:hover {
  background-color: var(--color-primary-dark);
}

/* Espaçamento entre itens do menu e barra de busca alinhada à direita */
.header .container {
  gap: 2rem;
}

.nav-list {
  margin-right: 2rem;
  gap: 2.5rem;
}

.search-bar {
  margin-left: 0;
}

@media (min-width: 769px) {
  .header .container {
    justify-content: flex-start;
  }
  .nav-list {
    flex: 1 1 auto;
    justify-content: flex-start;
  }
  .search-bar {
    margin-left: auto;
  }
}

/* --- Navegação Principal --- */
.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-link {
  color: var(--color-dark-gray);
  font-weight: 500;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 0.5rem;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.dropdown {
  position: relative;
}
.dropdown-content {
  display: none;
  position: absolute;
  top: 120%;
  left: 0;
  background-color: var(--color-white);
  min-width: 180px;
  box-shadow: var(--shadow-md);
  border-radius: var(--border-radius);
  z-index: 1;
}
.dropdown:hover .dropdown-content {
  display: block;
}
.dropdown-content a {
  display: block;
  padding: 1rem 1.5rem;
  color: var(--color-dark-gray);
}
.dropdown-content a:hover {
  background-color: var(--color-light-gray);
  color: var(--color-primary);
}
.dropdown > a::after {
  content: " ▼";
  font-size: 1rem;
}

/* --- Menu Mobile (Hamburguer) --- */
.menu-toggle {
  display: none; /* Escondido em desktop */
  width: 30px;
  height: 22px;
  position: relative;
  z-index: 1002;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--color-dark-gray);
  transition: all var(--transition);
}

.hamburger {
  top: 50%;
  transform: translateY(-50%);
}
.hamburger::before {
  top: -8px;
}
.hamburger::after {
  top: 8px;
}

.menu-toggle.active .hamburger {
  background-color: transparent;
}
.menu-toggle.active .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}
.menu-toggle.active .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

/* --- Barra de Busca --- */
.search-bar {
  display: flex;
  align-items: center;
}
.search-bar input {
  padding: 0.8rem 1.2rem;
  border: 1px solid var(--color-medium-gray);
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  border-right: none;
  outline: none;
}
.search-bar button {
  padding: 0.8rem 1.5rem;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}
.search-bar button:hover {
  background-color: var(--color-primary-dark);
}

/* --- Grid Geral --- */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
}
/* --- Spotlight Section --- */
.spotlight-section {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px;
}

/* Colunas */
.spotlight-column-left {
  flex: 1;
  min-width: 200px;
  min-height: 100px;
  display: flex;
  flex-direction: column;
}

.spotlight-column-middle {
  flex: 0.9;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.spotlight-column-right {
  flex: 0.7;
  min-width: 100px;
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 1 20px;
}

/* Estilos gerais para artigos */
.spotlight-article {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.spotlight-article:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* Imagens */
.spotlight-image {
  position: relative;
  overflow: hidden;
}

.spotlight-image img {
  width: 100%;
  height: auto;
  object-fit: fill;
  transition: transform 0.5s ease;
}

.spotlight-article:hover .spotlight-image img {
  transform: scale(1.05);
}

/* Conteúdo dos artigos */
.spotlight-content {
  padding: 15px;
}

.spotlight-category {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  background-color: #288be7;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: bold;
  color: #e1e7eb;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.spotlight-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px 0;
  color: #333;
  line-height: 1.3;
}

.spotlight-subtitle {
  font-size: 15px;
  color: #666;
  margin: 0 0 15px 0;
  line-height: 1.5;
}

.spotlight-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  font-size: 13px;
  color: #888;
}

.spotlight-date {
  font-weight: 500;
}

.spotlight-category-meta {
  font-style: italic;
}

/* Estilos específicos para cada tipo de destaque */
.spotlight-featured {
  width: 100%;
}

.spotlight-featured .spotlight-image {
  height: 300px;
}

.spotlight-featured .spotlight-image img {
  height: 100%;
}

.spotlight-featured .spotlight-title {
  font-size: 24px;
}

.spotlight-medium .spotlight-image {
  height: 240px;
}

.spotlight-medium .spotlight-image img {
  height: 100%;
}

.spotlight-small {
  width: 100%;
}

.spotlight-small .spotlight-image {
  height: 160px;
}

.spotlight-small .spotlight-image img {
  height: 80%;
}

.spotlight-small .spotlight-title {
  font-size: 16px;
}

/* Links */
.spotlight-article a {
  text-decoration: none;
  color: inherit;
}

/* Botão primário */
.spotlight-btn {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.spotlight-btn-primary {
  background-color: transparent;
  color: #fff;
}

.spotlight-btn-primary:hover {
  background-color: #d4d2c6;
}

/* --- Footer --- */
.footer {
  background-color: var(--color-dark-gray);
  color: var(--color-light-gray);
  padding: var(--space-xl) 0 var(--space-md);
  margin-top: var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-brand .logo {
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}
.footer h3 {
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}
.footer a {
  color: var(--color-light-gray);
}
.footer a:hover {
  color: var(--color-white);
}
.footer-links li {
  margin-bottom: var(--space-xs);
}

.social-icons {
  display: flex;
  gap: var(--space-sm);
}
.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}
.social-icons a:hover {
  background-color: var(--color-primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-md);
  text-align: center;
  font-size: 1.4rem;
}

/* ==========================================================================
   6. COMPONENTES DE PÁGINA (Hero, Artigos, Comentários, etc.)
   ========================================================================== */

/* --- Seção Hero --- */
.hero {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 500px;
  overflow: hidden;
  margin-top: 70px; /* Altura do header */
}
.hero-slide {
  position: absolute;
  width: 100%;
  height: 80%;
  opacity: 0;
  transition: opacity 0.8s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
}
.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-image {
  width: 90%;
  height: 90%;
  background-size: cover;
  background-position: center;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(74, 111, 165, 0.18), 0 2px 8px rgba(0, 0, 0, 0.1),
    0 1.5rem 3rem rgba(0, 0, 0, 0.12);
  transition: box-shadow 0.4s cubic-bezier(0.4, 2, 0.6, 1),
    transform 0.4s cubic-bezier(0.4, 2, 0.6, 1);
  background-color: #fff;
  position: relative;
  overflow: hidden;
  /* Flutuando */
  transform: translateY(-18px) scale(1.02);
}

.hero-slide.active .hero-image,
.hero-slide:hover .hero-image {
  box-shadow: 0 16px 48px rgba(74, 111, 165, 0.22),
    0 4px 16px rgba(0, 0, 0, 0.13), 0 2rem 4rem rgba(0, 0, 0, 0.15);
  transform: translateY(-28px) scale(1.04);
}
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(255, 255, 255, 0.9);
  padding: var(--space-lg);
  border-radius: var(--border-radius);
  text-align: center;
  max-width: 600px;
  box-shadow: var(--shadow-lg);
}
.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  z-index: 10;
  font-size: 2rem;
}
.hero-nav:hover {
  background-color: var(--color-white);
}
.hero-nav.prev {
  left: 20px;
}
.hero-nav.next {
  right: 20px;
}

/* Reduz altura dos cards da hero em mobile */
@media (max-width: 768px) {
  .hero {
    height: 45vh;
    min-height: 220px;
  }
  .hero-content {
    padding: var(--space-md);
    max-width: 95vw;
  }
}

/* --- Seção de Artigo/Blog --- */
.main-content {
  margin-top: 70px;
} /* Altura do header */

.artigo-blog {
  max-width: 800px;
  margin: var(--space-lg) auto;
  background-color: var(--color-white);
  padding: var(--space-lg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
}
.artigo-imagem-destaque {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border-radius: var(--border-radius);
  margin-bottom: var(--space-md);
}
.artigo-blog figcaption {
  font-size: 1.4rem;
  color: #575757;
  text-align: center;
  margin-top: var(--space-xs);
}

/* --- Seção de Comentários --- */
.comments-section {
  max-width: 800px;
  margin: var(--space-lg) auto;
}
.comment-box {
  background-color: var(--color-white);
  padding: var(--space-md);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
}
.comment-input {
  width: 100%;
  min-height: 100px;
  padding: 1rem;
  border: 1px solid var(--color-light-gray);
  border-radius: var(--border-radius);
  resize: vertical;
}
.comment-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: var(--space-sm);
}
.btn-facebook {
  background-color: var(--color-facebook);
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}
.btn-facebook:hover {
  background-color: var(--color-facebook-dark);
}

/* --- Modal --- */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}
.modal-overlay.active {
  display: flex;
}
.modal-content {
  background-color: var(--color-white);
  padding: var(--space-lg);
  border-radius: var(--border-radius);
  max-width: 500px;
  width: 90%;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 3rem;
  color: var(--color-medium-gray);
}
.modal-close:hover {
  color: var(--color-dark-gray);
}

/* ==========================================================================
   7. RESPONSIVIDADE (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 768px) {
  /* --- Ajustes Gerais --- */
  h1 {
    font-size: 2.8rem;
  }
  h2 {
    font-size: 2.4rem;
  }

  /* --- Header e Navegação Mobile --- */
  .header {
    padding: 1rem 0;
  }
  .nav-list {
    display: none; /* Esconde o menu de desktop */
    flex-direction: column;
    position: absolute;
    top: 65px; /* Altura do header */
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    box-shadow: var(--shadow-md);
    padding: var(--space-md);
    gap: var(--space-sm);
  }
  .nav-list.active {
    display: flex; /* Mostra o menu quando ativo */
  }
  .nav-item {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid var(--color-light-gray);
    padding-bottom: var(--space-sm);
  }
  .nav-item:last-child {
    border-bottom: none;
  }
  .search-bar {
    display: none;
  } /* Opcional: esconder busca ou mover para dentro do menu */

  .menu-toggle {
    display: block; /* Mostra o botão hamburguer */
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    background-color: var(--color-off-white);
    border-top: 1px solid var(--color-light-gray);
  }

  /* --- Outros Componentes --- */
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .social-icons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  /* --- Ajustes Finos para Telas Pequenas --- */
  .container {
    padding: 0 var(--space-sm);
  }
  .section {
    padding: var(--space-md) 0;
  }
  .artigo-blog {
    padding: var(--space-md);
  }
  h1 {
    font-size: 3rem;
  }

  .hero-content {
    width: 90%;
    padding: var(--space-md);
  }
}

/* Reset e Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.navbar-brand {
  text-decoration: none;
}

.logo-text-dehcor {
  font-weight: bold;
  font-size: 28px;
  fill: #2c3e50;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 34px;
  cursor: pointer;
  color: #333;
}

.nav-search {
  display: flex;
  align-items: center;
  gap: 30px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: #007bff;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  padding: 10px 0;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  display: block;
  padding: 10px 20px;
  color: #333;
}

.dropdown-content a:hover {
  background-color: #f8f9fa;
}

.search-container {
  display: flex;
  align-items: center;
}

.search-bar {
  display: flex;
  align-items: center;
  background: #f8f9fa;
  border-radius: 25px;
  padding: 8px 15px;
  border: 1px solid #ddd;
}

.search-bar input {
  border: none;
  background: none;
  outline: none;
  padding: 5px 10px;
  width: 200px;
}

.search-bar button {
  background: #007bff;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 20px;
  cursor: pointer;
  margin-left: 10px;
}

/* Main Content */
main {
  margin: 20px 0;
}

.artigo-blog {
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.conteudo-artigo {
  padding: 40px;
}

.titulo-artigo {
  font-size: 2.5em;
  color: #2c3e50;
  margin-bottom: 20px;
  line-height: 1.2;
}

.subtitulo {
  font-size: 1.2em;
  color: #666;
  margin-bottom: 30px;
  line-height: 1.5;
}

.meta-info {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.autor-publicacao {
  color: #666;
  font-size: 0.9em;
}

.imagem-artigo {
  margin: 30px 0;
  text-align: center;
}

.imagem-artigo img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.imagem-artigo figcaption {
  font-size: 0.9em;
  color: #666;
  margin-top: 10px;
  font-style: italic;
}

/* Content Typography */
h2 {
  font-size: 1.8em;
  color: #2c3e50;
  margin: 30px 0 20px 0;
  border-left: 4px solid #007bff;
  padding-left: 15px;
}

h3 {
  font-size: 1.4em;
  color: #2c3e50;
  margin: 25px 0 15px 0;
}

p {
  margin-bottom: 20px;
  font-size: 1.1em;
  line-height: 1.7;
}

ul {
  margin: 20px 0;
  padding-left: 20px;
}

li {
  margin-bottom: 15px;
  line-height: 1.6;
}

/* FAQ Section */
.faq {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 10px;
  margin: 40px 0;
}

.faq p {
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid #ddd;
}

.faq strong {
  color: #2c3e50;
  display: block;
  margin-bottom: 10px;
}

/* Conclusion */
.conclusao {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 40px;
  border-radius: 15px;
  margin: 40px 0;
}

.conclusao h3 {
  color: white;
  margin-bottom: 20px;
}

/* Related Articles */
.separador {
  height: 2px;
  background: linear-gradient(90deg, #007bff, #00c851);
  margin: 50px 0;
  border-radius: 1px;
}

.artigos-relacionados {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 30px 0;
}

.artigo-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.artigo-card:hover {
  transform: translateY(-5px);
}

.artigo-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.artigo-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.artigo-card h4 {
  padding: 20px 20px 10px;
  color: #2c3e50;
}

.artigo-card p {
  padding: 0 20px;
  color: #666;
  font-size: 0.9em;
}

.leia-mais {
  display: block;
  padding: 10px 20px 20px;
  color: #007bff;
  font-weight: bold;
}

/* Comments Section */
.comment-box {
  background: white;
  padding: 30px;
  border-radius: 10px;
  margin: 40px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.comment-input {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
}

.comment-actions {
  margin-top: 15px;
  text-align: right;
}

.comment-login-btn {
  background: #4267b2;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.fb-icon {
  width: 20px;
  height: 20px;
}

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: white;
  padding: 30px;
  border-radius: 10px;
  max-width: 400px;
  width: 90%;
  position: relative;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

.facebook-login-btn {
  background: #4267b2;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* Footer */
.footer {
  background: #2c3e50;
  color: white;
  padding: 50px 0 20px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.footer-brand .logo-text-dehcor {
  fill: white;
}

.footer-brand p {
  margin: 10px 0;
  opacity: 0.8;
}

.footer-brand address {
  font-style: normal;
  opacity: 0.8;
  line-height: 1.6;
}

.footer-brand a {
  color: #3498db;
  text-decoration: none;
}

.footer-links h3 {
  margin-bottom: 20px;
  color: #3498db;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-social h3 {
  margin-bottom: 20px;
  color: #3498db;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: #3498db;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  color: white;
  text-decoration: none;
  transition: background 0.3s;
}

.social-icons a:hover {
  background: #2980b9;
}

.footer-bottom {
  border-top: 1px solid #34495e;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.legal-links {
  display: flex;
  gap: 20px;
}

.legal-links a {
  color: #3498db;
  text-decoration: none;
  font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  /* Header Mobile */
  .header .container {
    padding: 1px 1px;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .nav-search {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    flex-direction: column;
    gap: 20px;
  }

  .nav-search.active {
    display: flex;
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .dropdown-content {
    position: static;
    display: block;
    box-shadow: none;
    background: #f8f9fa;
    margin-top: 10px;
    border-radius: 5px;
  }

  .search-bar {
    width: 100%;
  }

  .search-bar input {
    width: 100%;
  }

  /* Content Mobile */
  .conteudo-artigo {
    padding: 20px;
  }

  .titulo-artigo {
    font-size: 1.8em;
    line-height: 1.3;
  }

  .subtitulo {
    font-size: 1.1em;
  }

  .meta-info {
    flex-direction: column;
    gap: 5px;
  }

  h2 {
    font-size: 1.4em;
    margin: 25px 0 15px 0;
  }

  p {
    font-size: 1em;
  }

  /* Product Card Mobile */
  .amazon-product-card {
    padding: 20px;
    margin: 30px 0;
  }

  .product-container {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

  .product-image {
    order: -1;
  }

  .product-badge {
    position: static;
    display: inline-block;
    margin-bottom: 15px;
  }

  .product-footer {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .cta-button {
    width: 100%;
    text-align: center;
  }

  /* FAQ Mobile */
  .faq {
    padding: 20px;
  }

  /* Conclusion Mobile */
  .conclusao {
    padding: 25px;
  }

  /* Articles Mobile */
  .artigos-relacionados {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Footer Mobile */
  .footer {
    padding: 30px 0 15px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .legal-links {
    flex-direction: column;
    gap: 10px;
  }

  /* Modal Mobile */
  .modal-content {
    margin: 20px;
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .titulo-artigo {
    font-size: 1.5em;
  }

  .conteudo-artigo {
    padding: 15px;
  }

  .amazon-product-card {
    padding: 15px;
  }

  .product-title {
    font-size: 1.1em;
  }

  .faq {
    padding: 15px;
  }

  .conclusao {
    padding: 20px;
  }
}

/* Utility Classes */
.d-none {
  display: none;
}

.mt-3 {
  margin-top: 1rem;
}

.text-center {
  text-align: center;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.artigo-blog {
  animation: fadeIn 0.6s ease-out;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles for accessibility */
button:focus,
input:focus,
a:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

/* ==========================================================================
   # AUTHOR SIGNATURE CARD
   ========================================================================== */

.author-signature-card {
  background-color: #c7bbb1; /* Um bege claro e acolhedor */
  border-radius: 12px; /* Cantos arredondados */
  padding: 2.5rem; /* Espaçamento interno generoso */
  margin: 3rem auto; /* Centraliza e adiciona espaço antes e depois */
  max-width: 850px; /* Limita a largura para melhor leitura */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* Sombra suave para dar efeito flutuante */
  border: 1px solid rgba(0, 0, 0, 0.05); /* Borda sutil */
  font-family: "Poppins", sans-serif; /* Fonte moderna */
  text-align: left;
  line-height: 1.6;
}

.author-signature-card .author-info {
  display: flex;
  flex-direction: column; /* Padrão para mobile */
  align-items: center; /* Centraliza no mobile */
  gap: 1.5rem; /* Espaçamento entre a foto e o texto */
}

@media (min-width: 768px) {
  .author-signature-card .author-info {
    flex-direction: row; /* Alinha em linha para desktop */
    align-items: flex-start; /* Alinha no topo */
    text-align: left;
  }
}

.author-signature-card .author-photo {
  width: 120px;
  height: 120px;
  border-radius: 40%; /* Torna a imagem circular */
  object-fit: cover; /* Garante que a imagem preencha o espaço sem distorcer */
  border: 4px solid #c95454; /* Borda branca na foto */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Sombra para destacar a foto */
  flex-shrink: 0; /* Impede que a imagem encolha */
}

.author-signature-card .author-details {
  flex-grow: 1;
}

.author-signature-card h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #2c3e50; /* Cor escura para o nome */
  margin-top: 0;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.author-signature-card p {
  font-size: 1.4rem;
  color: #34495e; /* Tom de cinza para o texto */
  margin: 0;
}

.author-signature-card .social-share-buttons {
  display: flex;
  gap: 12px; /* Espaçamento entre os ícones */
  margin-top: 1.5rem;
  justify-content: center; /* Centraliza os ícones no mobile */
}

@media (min-width: 768px) {
  .author-signature-card .social-share-buttons {
    justify-content: flex-start; /* Alinha à esquerda no desktop */
  }
}

/* Base para os botões sociais */
.author-signature-card .share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.author-signature-card .share-btn:hover {
  transform: translateY(-3px); /* Efeito flutuante ao passar o mouse */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Cores e ícones (você precisa de um ícone/fonte para isso, como Font Awesome) */
.author-signature-card .share-btn.whatsapp {
  background-color: #25d366;
}

.author-signature-card .share-btn.facebook {
  background-color: #3b5998;
}

.author-signature-card .share-btn.instagram {
  background-color: #c53270;
}

.author-signature-card .share-btn.linkedin {
  background-color: #0e76a8;
}

/* Placeholder para ícones (você pode substituir por SVGs ou uma fonte de ícones) */
.author-signature-card .share-btn.whatsapp::before {
  content: "W";
  font-weight: bold;
}
.author-signature-card .share-btn.facebook::before {
  content: "f";
  font-weight: bold;
}
.author-signature-card .share-btn.twitter::before {
  content: "T";
  font-weight: bold;
}
.author-signature-card .share-btn.linkedin::before {
  content: "in";
  font-weight: bold;
  font-size: 1rem;
}
/* ==========================================================================
  # TOC ARTIGO (Sumário do artigo flutuante)
  ========================================================================== */

.toc-artigo {
  position: sticky;
  top: 110px; /* abaixo do header */
  max-width: 520px;
  margin: 2rem 0 2rem 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(44, 62, 80, 0.1);
  border: 1px solid #e6e6e6;
  padding: 2rem 2.2rem;
  font-family: "Montserrat", Arial, sans-serif;
  z-index: 10;
  transition: box-shadow 0.3s;
  animation: fadeIn 0.7s;
}

.toc-artigo:hover {
  box-shadow: 0 12px 32px rgba(44, 62, 80, 0.18);
}

.toc-artigo h2,
.toc-artigo h3 {
  font-size: 1.4rem;
  color: #4a6fa5;
  margin-bottom: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.toc-artigo nav,
.toc-artigo ul {
  padding: 0;
  margin: 0;
}

.toc-artigo ul {
  list-style: none;
}

.toc-artigo li {
  margin-bottom: 0.7rem;
  line-height: 1.5;
}

.toc-artigo li ul {
  margin-left: 1.2rem;
  margin-top: 0.5rem;
  border-left: 2px solid #e6e6e6;
  padding-left: 1rem;
}

.toc-artigo a {
  color: #34495e;
  text-decoration: none;
  font-size: 1.3rem;
  transition: color 0.2s;
  border-radius: 4px;
  padding: 2px 4px;
  display: inline-block;
}

.toc-artigo a:hover,
.toc-artigo a:focus {
  color: #4a6fa5;
  background: #335577;
  outline: none;
}

.toc-artigo .toc-active > a,
.toc-artigo a.active {
  color: #e67e22;
  font-weight: 700;
  background: #fdf6ed;
}

@media (max-width: 1024px) {
  .toc-artigo {
    max-width: 100%;
    margin: 2rem 0;
    position: static;
  }
}

@media (max-width: 768px) {
  .toc-artigo {
    padding: 1.2rem 1rem;
    font-size: 1.2rem;
    margin: 1.5rem 0;
    border-radius: 8px;
  }
  .toc-artigo h2,
  .toc-artigo h3 {
    font-size: 1.2rem;
  }
}
