/* ESTILO INCRÍVEL - COMUNICAR COM SUCESSO */
/* Design moderno e impactante com branco, preto e vermelho */

/* VARIÁVEIS DE CORES */
:root {
  --bg: #ffffff;
  --fg: #000000;
  --accent: #ff0000;
  --accent-light: #ff3333;
  --accent-dark: #cc0000;
  --muted: #333333;
  --light-gray: #f5f5f5;
  --medium-gray: #e0e0e0;
  --dark-gray: #1a1a1a;
  --shadow: rgba(0, 0, 0, 0.1);
  --shadow-hover: rgba(0, 0, 0, 0.2);
}

/* MODO ESCURO */
@media(prefers-color-scheme:dark) {
  :root {
    --bg: #000000;
    --fg: #ffffff;
    --muted: #cccccc;
    --light-gray: #1a1a1a;
    --medium-gray: #333333;
    --dark-gray: #f5f5f5;
    --shadow: rgba(255, 255, 255, 0.1);
    --shadow-hover: rgba(255, 255, 255, 0.2);
   }
}

/* RESET E BASE */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* TIPOGRAFIA */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.02em;
  font-weight: 900;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

a:hover {
  color: var(--accent-dark);
}

a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

a:hover::after {
  width: 100%;
}

/* CONTAINER */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* SKIP LINK */
.skip {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: -999;
}

.skip:focus {
  left: 0;
  top: 0;
  width: auto;
  height: auto;
  background: var(--accent);
  color: white;
  padding: 1rem;
  z-index: 999;
  border-radius: 0 0 8px 0;
}

/* HEADER */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 3px solid var(--accent);
  z-index: 1000;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand img {
  /*height: 50px;*/
  transition: transform 0.3s ease;
}

.brand:hover img {
  transform: scale(1.05);
}

/* MODO ESCURO - INVERTER LOGO */
@media(prefers-color-scheme:dark) {
  .brand img {
    filter: invert(1);
  }
}

nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

nav a {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  color: var(--fg);
  position: relative;
}

nav a::after {
  height: 3px;
}

.actions button {
  background: var(--accent);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.actions button:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px var(--shadow-hover);
}

/* HERO SECTION */
.hero {
  padding: 10rem 0 5rem;
  background: linear-gradient(135deg, var(--bg) 0%, var(--light-gray) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 50%, var(--accent) 100%);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.hero h1 {
  margin-bottom: 1.5rem;
  background: linear-gradient(45deg, var(--fg) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s ease;
}

.dek {
  font-size: 1.3rem;
  color: var(--muted);
  max-width: 600px;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: white;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* BOTÕES */
.btn {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--accent-dark);
  transition: left 0.3s ease;
  z-index: -1;
}

.btn:hover::before {
  left: 0;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px var(--shadow-hover);
}

.link {
  display: inline-block;
  margin-left: 1rem;
  font-weight: 600;
  position: relative;
}

/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.card {
  background: var(--bg);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px var(--shadow);
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.card:hover::before {
  transform: scaleX(1);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px var(--shadow-hover);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover img {
  transform: scale(1.05);
}

.card-body {
  padding: 1.5rem;
}

.card h3 {
  margin-bottom: 0.5rem;
  color: var(--fg);
}

.card .meta {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0;
}

.card .tags {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* SECTIONS */
section {
  margin: 5rem 0;
}

section h2 {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
}

/* GRID 3 */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.grid-3 > div {
  background: var(--light-gray);
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.grid-3 > div:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px var(--shadow-hover);
}

.grid-3 h3 {
  color: var(--accent);
  margin-bottom: 1rem;
}

/* EPISODE CARD */
.episode-card {
  background: var(--light-gray);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
  border-left: 5px solid var(--accent);
}

.episode-card img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.episode-card audio {
  width: 100%;
  margin: 1.5rem 0;
}

/* VIDEO CONTAINER */
.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  margin: 1.5rem 0;
  background: var(--dark-gray);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
}

/* AUDIO ALTERNATIVE */
.audio-alternative {
  background: var(--bg);
  padding: 1.5rem;
  border-radius: 8px;
  margin: 1.5rem 0;
  border-left: 3px solid var(--accent);
}

.audio-alternative p {
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--muted);
}

/* YOUTUBE LINKS */
.youtube-links {
  margin: 1.5rem 0;
  padding: 1rem;
  background: var(--light-gray);
  border-radius: 8px;
}

.youtube-links p {
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--muted);
}

.btn-youtube {
  background: #ff0000;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-youtube:hover {
  background: #cc0000;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 0, 0, 0.3);
}

/* RESPONSIVE VIDEO */
@media(max-width:768px) {
  .video-container {
    margin: 1rem 0;
  }
  
  .audio-alternative {
    padding: 1rem;
  }
  
  .youtube-links {
    padding: 1rem;
  }
}

.episode-card details {
  margin: 1.5rem 0;
  padding: 1rem;
  background: var(--bg);
  border-radius: 8px;
}

.episode-card summary {
  font-weight: 600;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--accent);
}

/* NEWSLETTER */
.newsletter {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: white;
  padding: 4rem 2rem;
  border-radius: 16px;
  text-align: center;
  margin: 4rem 0;
  position: relative;
  overflow: hidden;
}

.newsletter::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.newsletter h2 {
  color: white;
  margin-bottom: 1rem;
}

.newsletter p {
  max-width: 500px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

.newsletter form {
  display: flex;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.newsletter input[type=email] {
  flex: 1;
  padding: 1rem;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
}

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

.newsletter .btn:hover {
  background: var(--muted);
}

/* FOOTER */
footer {
  background: var(--dark-gray);
  color: var(--bg);
  padding: 3rem 0 2rem;
  margin-top: 5rem;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 50%, var(--accent) 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-grid h3 {
  color: var(--accent);
  margin-bottom: 1rem;
}

.footer-grid ul {
  list-style: none;
}

.footer-grid ul li {
  margin-bottom: 0.5rem;
}

.footer-grid a {
  color: var(--bg);
  opacity: 0.8;
}

.footer-grid a:hover {
  opacity: 1;
}

.mini, .copyright {
  text-align: center;
  opacity: 0.7;
  font-size: 0.9rem;
  margin-top: 1rem;
}

/* BADGES */
.badge-new {
  background: var(--accent);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
  margin-bottom: 0.5rem;
}

/* UTILITIES */
.notice {
  background: var(--light-gray);
  padding: 1.5rem;
  border-left: 5px solid var(--accent);
  border-radius: 8px;
  margin: 2rem 0;
}

.toc {
  background: var(--light-gray);
  padding: 1.5rem;
  border-radius: 8px;
  margin: 2rem 0;
}

.muted {
  color: var(--muted);
  opacity: 0.8;
}

/* REVEAL ANIMATION */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* FOCUS STYLES */
:focus {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* RESPONSIVE */
@media(max-width:768px) {
  .container {
    padding: 0 1rem;
  }
  
  nav ul {
    display: none;
  }
  
  .hero {
    padding: 8rem 0 3rem;
  }
  
  .cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .newsletter form {
    flex-direction: column;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media(max-width:480px) {
  body {
    font-size: 16px;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .header-inner {
    padding: 0.8rem 0;
  }
  
  .brand img {
    height: 40px;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
}

/* PODCAST CARD */
.pod-card {
  display: flex;
  gap: 1.5rem;
  background: var(--light-gray);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.pod-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px var(--shadow-hover);
}

.pod-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
}

@media(max-width:768px) {
  .pod-card {
    flex-direction: column;
  }
  
  .pod-card img {
    width: 100%;
    height: 200px;
  }
}

/* CUSTOM SCROLLBAR */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-dark);
}

/* SELECTION */
::selection {
  background: var(--accent);
  color: white;
}

/* --------- HOST SECTION --------- */
.host {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  margin: 3rem 0;
  padding: 2rem;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--bg), var(--light-gray));
  box-shadow: 0 4px 12px var(--shadow);
}

.host-photo {
  flex: 0 0 180px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--accent);
  box-shadow: 0 0 0 4px var(--bg);
}

.host-bio {
  flex: 1;
  min-width: 260px;
}

.host-bio h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--fg);
}

.host-bio p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: var(--muted);
}

/* --------- HOST RESPONSIVIDADE --------- */
@media (max-width: 768px) {
  .host {
    flex-direction: column;
    text-align: center;
  }

  .host-photo {
    margin-bottom: 1rem;
  }

  .host-bio h3 {
    font-size: 1.5rem;
  }
}

/* PÁGINA DE CONTATO */
.contact-hero {
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, var(--bg) 0%, var(--light-gray) 100%);
  position: relative;
  overflow: hidden;
}

.contact-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 50%, var(--accent) 100%);
  animation: shimmer 3s infinite;
}

.contact-hero h1 {
  margin-bottom: 1.5rem;
  background: linear-gradient(45deg, var(--fg) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  animation: fadeInUp 0.8s ease;
}

.contact-hero p {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2rem;
  color: var(--muted);
  font-size: 1.2rem;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

/* FORMULÁRIO DE CONTATO */
.contact-form {
  background: var(--bg);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 15px 35px var(--shadow);
  border: 1px solid var(--medium-gray);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 50%, var(--accent) 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.contact-form:hover::before {
  transform: scaleX(1);
}

.contact-form:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px var(--shadow-hover);
}

.contact-form label {
  display: block;
  margin-bottom: 1.5rem;
  position: relative;
}

.contact-form label span {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--fg);
  position: relative;
}

.contact-form label span::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.contact-form label:focus-within span::after {
  width: 30px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--medium-gray);
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  background: var(--light-gray);
  position: relative;
}

.contact-form input:hover,
.contact-form textarea:hover {
  border-color: var(--muted);
  transform: translateY(-1px);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg);
  box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.1);
  transform: translateY(-2px);
}

/* Estados de validação visual */
.contact-form input:invalid:not(:placeholder-shown),
.contact-form textarea:invalid:not(:placeholder-shown) {
  border-color: #f44336;
  background: rgba(244, 67, 54, 0.05);
}

.contact-form input:valid:not(:placeholder-shown),
.contact-form textarea:valid:not(:placeholder-shown) {
  border-color: #4CAF50;
  background: rgba(76, 175, 80, 0.05);
}

/* Indicadores de validação */
.contact-form .field-wrapper {
  position: relative;
}

.contact-form .validation-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact-form .validation-icon.show {
  opacity: 1;
}

.contact-form .validation-icon.valid {
  color: #4CAF50;
}

.contact-form .validation-icon.invalid {
  color: #f44336;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

/* Efeito de preenchimento */
.contact-form input:not(:placeholder-shown) + .field-highlight,
.contact-form textarea:not(:placeholder-shown) + .field-highlight {
  width: 100%;
}

.contact-form .field-highlight {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--accent);
  transition: width 0.3s ease;
}

.contact-form .checkbox-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  background: var(--light-gray);
  padding: 1rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-form .checkbox-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 0, 0, 0.1), transparent);
  transition: left 0.5s ease;
}

.contact-form .checkbox-wrapper:hover::before {
  left: 100%;
}

.contact-form .checkbox-wrapper:hover {
  background: var(--medium-gray);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px var(--shadow);
}

.contact-form .checkbox-wrapper input[type="checkbox"] {
  width: auto;
  margin-right: 0.8rem;
  cursor: pointer;
  transform: scale(1.2);
  position: relative;
  z-index: 1;
}

/* Custom checkbox */
.contact-form .checkbox-wrapper input[type="checkbox"] {
  appearance: none;
  width: 22px;
  height: 22px;
  border: 2px solid var(--medium-gray);
  border-radius: 6px;
  background: var(--bg);
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-form .checkbox-wrapper input[type="checkbox"]:checked {
  background: var(--accent);
  border-color: var(--accent);
}

.contact-form .checkbox-wrapper input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: bold;
  font-size: 14px;
}

.contact-form .checkbox-wrapper label {
  margin-bottom: 0;
  cursor: pointer;
  font-weight: 500;
  flex: 1;
}

.contact-form .btn {
  width: 100%;
  padding: 1.2rem;
  font-size: 1.1rem;
  margin-top: 1rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.contact-form .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.contact-form .btn:hover::before {
  left: 100%;
}

.contact-form .btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%);
  transform-origin: 50% 50%;
}

.contact-form .btn:focus:not(:active)::after {
  animation: ripple 1s ease-out;
}

/* Estado de loading do botão */
.contact-form .btn.loading {
  pointer-events: none;
  opacity: 0.7;
}

.contact-form .btn.loading::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  margin: auto;
  border: 2px solid transparent;
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: button-loading 1s ease infinite;
}

@keyframes button-loading {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes ripple {
  0% {
    transform: scale(0, 0);
    opacity: 1;
  }
  20% {
    transform: scale(25, 25);
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(40, 40);
  }
}

/* MENSAGENS DE STATUS */
.contact-success {
  background: linear-gradient(135deg, #4CAF50, #45a049);
  color: white;
  padding: 2rem;
  border-radius: 16px;
  margin-bottom: 2rem;
  text-align: center;
  box-shadow: 0 10px 25px rgba(76, 175, 80, 0.3);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease;
}

.contact-success::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

.contact-success::after {
  content: '✓';
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
}

.contact-success h2 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
  position: relative;
  z-index: 1;
}

.contact-success p {
  font-size: 1.1rem;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

.contact-errors {
  background: linear-gradient(135deg, #f44336, #d32f2f);
  color: white;
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  box-shadow: 0 10px 25px rgba(244, 67, 54, 0.3);
  animation: shake 0.5s ease;
  position: relative;
  overflow: hidden;
}

.contact-errors::after {
  content: '⚠';
  position: absolute;
  top: 15px;
  right: 15px;
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.contact-errors ul {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 1;
}

.contact-errors li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
  animation: fadeInUp 0.3s ease backwards;
}

.contact-errors li:nth-child(1) { animation-delay: 0.1s; }
.contact-errors li:nth-child(2) { animation-delay: 0.2s; }
.contact-errors li:nth-child(3) { animation-delay: 0.3s; }
.contact-errors li:nth-child(4) { animation-delay: 0.4s; }

.contact-errors li::before {
  content: '⚠';
  position: absolute;
  left: 0;
}

/* Mensagens de validação em tempo real */
.field-error {
  color: #f44336;
  font-size: 0.85rem;
  margin-top: 0.3rem;
  display: none;
  animation: fadeInUp 0.3s ease;
}

.field-error.show {
  display: block;
}

.field-success {
  color: #4CAF50;
  font-size: 0.85rem;
  margin-top: 0.3rem;
  display: none;
  animation: fadeInUp 0.3s ease;
}

.field-success.show {
  display: block;
}

/* Tooltip de ajuda */
.field-tooltip {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background: var(--muted);
  color: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: help;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.field-tooltip:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}

/* ESTILOS ADICIONAIS PARA MELHORAR A RESPONSIVIDADE */
@media(max-width:768px) {
  .contact-form .field-wrapper {
    margin-bottom: 1.2rem;
  }
  
  .contact-form label span {
    font-size: 0.9rem;
  }
  
  .contact-form .field-tooltip {
    display: none;
  }
  
  .contact-form .validation-icon {
    right: 10px;
    font-size: 1rem;
  }
  
  .contact-form .checkbox-wrapper {
    padding: 0.8rem;
  }
  
  .contact-form .checkbox-wrapper label {
    font-size: 0.9rem;
  }
}

@media(max-width:480px) {
  .contact-form {
    padding: 1.5rem 1rem;
  }
  
  .contact-form input,
  .contact-form textarea {
    padding: 0.8rem;
    font-size: 0.9rem;
  }
  
  .contact-form .btn {
    padding: 1rem;
    font-size: 1rem;
  }
  
  .contact-form .field-error,
  .contact-form .field-success {
    font-size: 0.8rem;
  }
  
  .contact-form .validation-icon {
    right: 8px;
    font-size: 0.9rem;
  }
}

/* ANIMAÇÕES ADICIONAIS */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.contact-form .btn:hover {
  animation: pulse 1s infinite;
}

/* ESTADO FOCUSED PARA CAMPOS */
.contact-form .field-wrapper.focused label span {
  color: var(--accent);
}

/* ESTILO PARA BOTÃO ICONE */
.contact-form .btn-icon {
  transition: transform 0.3s ease;
}

.contact-form .btn:hover .btn-icon {
  transform: translateX(5px);
}

/* MELHORIA DE ACESSIBILIDADE */
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* ESTILO PARA CONTADOR DE CARACTERES */
.message-counter {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: right;
  margin-top: 0.3rem;
  opacity: 0.7;
  transition: color 0.3s ease;
}

/* EFEITO DE BRILHO NO HOVER DOS CAMPOS */
.contact-form input:hover,
.contact-form textarea:hover {
  box-shadow: 0 0 0 1px var(--accent);
}

/* TRANSIÇÃO SUAVE PARA MUDANÇAS DE COR */
.contact-form input,
.contact-form textarea,
.contact-form .checkbox-wrapper {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* MELHORIA NO ESTILO DO PLACEHOLDER */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--muted);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.contact-form input:focus::placeholder,
.contact-form textarea:focus::placeholder {
  opacity: 0.4;
}

.field-tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  right: 0;
  background: var(--dark-gray);
  color: var(--bg);
  padding: 0.5rem;
  border-radius: 6px;
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateY(5px);
  transition: all 0.3s ease;
  z-index: 10;
}

.field-tooltip:hover::after {
  opacity: 1;
  transform: translateY(-5px);
}

/* INFORMAÇÕES DE CONTATO */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.contact-info-card {
  background: var(--light-gray);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.contact-info-card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px var(--shadow-hover);
}

.contact-info-card h3 {
  color: var(--accent);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.contact-info-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.contact-info-card .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.contact-info-card:hover .icon {
  transform: scale(1.1);
}

/* RESPONSIVO PARA CONTATO */
@media(max-width:768px) {
  .contact-hero {
    padding: 6rem 0 3rem;
  }
  
  .contact-container {
    padding: 1rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .contact-info {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .contact-success h2 {
    font-size: 1.5rem;
  }
  
  .contact-success p {
    font-size: 1rem;
  }
}

@media(max-width:480px) {
  .contact-hero h1 {
    font-size: 2rem;
  }
  
  .contact-hero p {
    font-size: 1.1rem;
  }
  
  .contact-form {
    padding: 1rem;
  }
  
  .contact-form input,
  .contact-form textarea {
    padding: 0.8rem;
  }
  
  .contact-form .btn {
    padding: 1rem;
    font-size: 1rem;
  }
}

/* PÁGINA DE ARTIGOS */
.articles-hero {
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, var(--bg) 0%, var(--light-gray) 100%);
  position: relative;
  overflow: hidden;
}

.articles-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 50%, var(--accent) 100%);
  animation: shimmer 3s infinite;
}

.articles-hero h1 {
  margin-bottom: 1.5rem;
  background: linear-gradient(45deg, var(--fg) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  animation: fadeInUp 0.8s ease;
}

.articles-hero .dek {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2rem;
  color: var(--muted);
  font-size: 1.2rem;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.articles-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
  animation: fadeInUp 0.8s ease 0.4s both;
}

/* FILTROS DE ARTIGOS */
.articles-filters {
  background: var(--light-gray);
  padding: 2rem 0;
  border-bottom: 1px solid var(--medium-gray);
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.filter-header h2 {
  margin-bottom: 0;
  font-size: 1.5rem;
  color: var(--fg);
}

.search-container {
  display: flex;
  align-items: center;
  background: var(--bg);
  border-radius: 50px;
  padding: 0.5rem 1rem;
  border: 2px solid var(--medium-gray);
  transition: all 0.3s ease;
  max-width: 300px;
  width: 100%;
}

.search-container:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.1);
}

.search-container input {
  border: none;
  background: transparent;
  padding: 0.5rem;
  flex: 1;
  font-size: 1rem;
  outline: none;
}

.search-container button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--muted);
  transition: color 0.3s ease;
  padding: 0.2rem;
}

.search-container button:hover {
  color: var(--accent);
}

.tags-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.tag-filter {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: var(--bg);
  color: var(--muted);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid var(--medium-gray);
  position: relative;
  overflow: hidden;
}

.tag-filter::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transition: left 0.3s ease;
  z-index: -1;
}

.tag-filter:hover::before,
.tag-filter.active::before {
  left: 0;
}

.tag-filter:hover,
.tag-filter.active {
  color: white;
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* CONTAINER DE ARTIGOS */
.articles-container {
  padding: 3rem 0;
}

.current-filter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding: 1rem;
  background: var(--light-gray);
  border-radius: 12px;
  border-left: 5px solid var(--accent);
}

.current-filter h2 {
  margin-bottom: 0;
  font-size: 1.3rem;
  color: var(--fg);
}

.current-filter span {
  color: var(--accent);
  font-weight: 600;
}

.clear-filter {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.clear-filter:hover {
  border-bottom-color: var(--accent);
}

.no-results {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--light-gray);
  border-radius: 16px;
  margin: 2rem 0;
}

.no-results h2 {
  color: var(--muted);
  margin-bottom: 1rem;
}

.no-results p {
  color: var(--muted);
  margin-bottom: 2rem;
}

.no-search-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2rem;
  background: var(--light-gray);
  border-radius: 12px;
  margin-top: 2rem;
}

.no-search-results h3 {
  color: var(--muted);
  margin-bottom: 0;
}

/* GRID DE ARTIGOS MELHORADO */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.articles-grid .card {
  transition: all 0.4s ease;
}

.articles-grid .card:hover {
  transform: translateY(-8px);
}

/* PAGINAÇÃO MELHORADA */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 3rem 0;
  gap: 0.5rem;
}

.pagination .page {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--bg);
  color: var(--muted);
  border: 2px solid var(--medium-gray);
  border-radius: 50%;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.pagination .page::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transition: left 0.3s ease;
  z-index: -1;
}

.pagination .page:hover::before,
.pagination .page.current::before {
  left: 0;
}

.pagination .page:hover,
.pagination .page.current {
  color: white;
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px var(--shadow-hover);
}

.pagination .page.prev,
.pagination .page.next {
  width: auto;
  padding: 0 1.5rem;
  border-radius: 50px;
}

.pagination .page-ellipsis {
  color: var(--muted);
  padding: 0 0.5rem;
}

/* SEÇÃO DE NEWSLETTER */
.newsletter-section {
  background: var(--light-gray);
  padding: 4rem 0;
  margin-top: 4rem;
  border-top: 1px solid var(--medium-gray);
}

.newsletter-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-content h2 {
  margin-bottom: 1rem;
  color: var(--fg);
}

.newsletter-content p {
  color: var(--muted);
  margin-bottom: 2rem;
}

/* RESPONSIVIDADE PARA ARTIGOS */
@media(max-width:768px) {
  .articles-hero {
    padding: 6rem 0 3rem;
  }
  
  .articles-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .filter-header {
    flex-direction: column;
    text-align: center;
  }
  
  .search-container {
    max-width: 100%;
  }
  
  .tags-filter {
    justify-content: center;
  }
  
  .current-filter {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .articles-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .pagination {
    gap: 0.3rem;
  }
  
  .pagination .page {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }
  
  .pagination .page.prev,
  .pagination .page.next {
    padding: 0 1rem;
    font-size: 0.9rem;
  }
}

@media(max-width:480px) {
  .articles-hero h1 {
    font-size: 2rem;
  }
  
  .filter-header h2 {
    font-size: 1.3rem;
  }
  
  .tag-filter {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
  
  .pagination .page {
    width: 35px;
    height: 35px;
    font-size: 0.8rem;
  }
  
  .pagination .page.prev,
  .pagination .page.next {
    padding: 0 0.8rem;
    font-size: 0.8rem;
  }
}

/* ESTILOS PARA NEWSLETTER FORM */
.newsletter-form {
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form form {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.newsletter-form input {
  flex: 1;
  padding: 1rem;
  border: 2px solid var(--medium-gray);
  border-radius: 50px;
  font-size: 1rem;
  background: var(--bg);
  transition: all 0.3s ease;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.1);
}

.newsletter-form .btn {
  background: var(--accent);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-form .btn:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px var(--shadow-hover);
}

.newsletter-form .muted {
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.8;
}

@media(max-width:768px) {
  .newsletter-form form {
    flex-direction: column;
  }
  
  .newsletter-form input {
    margin-bottom: 0.5rem;
  }
}
