/* =====================================================
   ESTILO GERAL UNIFICADO — ONG CONEXÃO SOLIDÁRIA
===================================================== */

/* ======== DESIGN SYSTEM ======== */
:root {
  /* Cores Principais */
  --color-primary: #04a52c;
  --color-primary-dark: #038024;
  --color-primary-light: #2beb65;
  --color-secondary: #4a2810;
  --color-secondary-dark: #2b1810;

  /* Cores de Estado */
  --color-success: #03923a;
  --color-success-dark: #027920;
  --color-info: #0077b6;
  --color-info-dark: #005f8a;
  --color-warning: #f59e0b;
  --color-error: #dc2626;

  /* Cores Neutras */
  --color-white: #fff;
  --color-black: #000;
  --color-gray-100: #f1f5f9;
  --color-gray-200: #e0e0e0;
  --color-gray-300: #ccc;
  --color-gray-400: #999;
  --color-gray-500: #666;
  --color-gray-600: #333;

  /* Tipografia */
  --font-family-base: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-size-xs: 0.75rem; /* 12px */
  --font-size-sm: 0.875rem; /* 14px */
  --font-size-base: 1rem; /* 16px */
  --font-size-lg: 1.125rem; /* 18px */
  --font-size-xl: 1.25rem; /* 20px */
  --font-size-2xl: 1.5rem; /* 24px */
  --font-size-3xl: 1.875rem; /* 30px */
  --font-size-4xl: 2.25rem; /* 36px */

  /* Espaçamentos */
  --spacing-xs: 0.25rem; /* 4px */
  --spacing-sm: 0.5rem; /* 8px */
  --spacing-md: 1rem; /* 16px */
  --spacing-lg: 1.5rem; /* 24px */
  --spacing-xl: 2rem; /* 32px */
  --spacing-2xl: 3rem; /* 48px */

  /* Bordas e Sombras */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  --border-width: 1px;
  --border-width-thick: 2px;

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.3);

  /* Breakpoints */
  --breakpoint-sm: 480px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1280px;

  /* Layout */
  --container-padding: 1rem;
  --container-max-width: 1200px;
  --header-height: 60px;
  --footer-height: 80px;

  /* Transições */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ======== ESTILO GERAL ======== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-family-base);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background: url("https://img.freepik.com/free-photo/wooden-textured-background_53876-14865.jpg")
    repeat;
  color: #2b1810;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  line-height: 1.6;
}

main {
  flex: 1;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ======== CABEÇALHO ======== */
header,
.site-header {
  background: url("https://img.freepik.com/free-photo/brown-wooden-textured-flooring-background_53876-128862.jpg")
    center;
  color: #fff;
  padding: 10px 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  border-bottom: 3px solid #4a2810;
  position: relative;
}

header .container,
.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 0 15px;
  max-width: 1000px;
  margin: 0 auto;
  gap: 15px;
}

header h1,
.brand {
  font-size: 1.8em;
  font-weight: bold;
  letter-spacing: 0.5px;
  margin: 0;
  text-align: center;
}

/* ======== MENU ======== */
.menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  gap: 12px;
  margin-top: 15px;
}

/* Menu Hamburguer */
.hamburger-menu {
  display: none;
  background: #00796b;
  color: var(--color-white);
  font-size: var(--font-size-xl);
  cursor: pointer;
  padding: var(--spacing-sm) var(--spacing-md);
  z-index: 500;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
  margin: 0;
  position: absolute;
  right: var(--spacing-sm);
  top: 50%;
  transform: translateY(-50%);
}

.hamburger-menu:hover {
  background: #00796b;
  transform: translateY(-50%) scale(1.05);
  box-shadow: var(--shadow-lg);
}

.hamburger-menu.active {
  background: #00796b;
  /* transform: rotate(90deg); */
  box-shadow: var(--shadow-sm);
}

@media (max-width: 768px) {
  header .container,
  .site-header .container {
    justify-content: center;
    padding: 0 20px 0 15px;
    flex-wrap: nowrap;
    position: relative;
  }

  .hamburger-menu {
    display: block;
  }

  header h1,
  .brand {
    font-size: 1.6em;
  }

  nav {
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1001;
  }

  .menu {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: center;
    padding: 15px 0;
    background: #038024;
    border-radius: 12px;
    margin-top: 10px;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    position: absolute;
    top: 100%;
    left: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  }

  .menu.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
  }

  .menu li {
    width: 90%;
    margin: 4px 0;
  }

  .menu li a {
    width: 100%;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    display: block;
    background: #04a52c;
    color: #fff;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .menu li a:hover {
    background: #038024;
    transform: translateX(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
  }

  .menu li a:active {
    background: rgba(74, 40, 16, 1);
    transform: scale(0.98);
  }
}

.menu li a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  background: rgba(74, 40, 16, 0.7);
  width: 100%;
  position: relative;
  z-index: 1002;
}

.menu li a i {
  margin-right: 6px;
}

.menu li a:hover {
  background: rgba(74, 40, 16, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* ======== SEÇÃO PRINCIPAL / BANNER ======== */
.principal {
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("https://images.unsplash.com/photo-1497493292307-31c376b6e479?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
  color: #ffffff;
  text-align: center;
  padding: 100px 20px;
  border-radius: 0 0 10px 10px;
}

.principal h2 {
  font-size: 2.5em;
  margin-bottom: 15px;
}

.principal p {
  font-size: 1.2em;
  margin-bottom: 25px;
}

.banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.5);
  color: #1f1d18;
  padding: 1rem 2rem;
  border-radius: 8px;
}

/* ======== BOTÕES ======== */
.btn-primary,
.btn-secondary,
.btn-link {
  display: inline-block;
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: var(--border-radius-md);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-base);
  font-size: var(--font-size-base);
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  border: var(--border-width-thick) solid var(--color-primary-dark);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--color-secondary);
  color: var(--color-white);
  margin-left: var(--spacing-sm);
  border: var(--border-width-thick) solid var(--color-secondary-dark);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.btn-secondary:hover {
  background: var(--color-secondary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-link {
  color: var(--color-info);
  text-decoration: underline;
}

.btn-link:hover {
  color: var(--color-info-dark);
}

/* ======== FORMULÁRIOS ======== */
form,
#contato form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

fieldset {
  border: 1px solid #161515;
  padding: 1rem;
  border-radius: 8px;
  background-color: #f1f5f9;
}

legend {
  font-weight: bold;
  color: #0077b6;
}

input,
textarea,
button,
form.form-cadastro input {
  padding: 0.6rem;
  border: 1px solid #0c0b0b;
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
}

input:focus,
textarea:focus,
form.form-cadastro input:focus {
  border-color: #0077b6;
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.3);
  outline: 2px solid #0077b6;
  outline-offset: 2px;
}

button,
form.form-cadastro button {
  background-color: #0077b6;
  color: white;
  font-weight: bold;
  cursor: pointer;
  border: none;
  border-radius: 8px;
  padding: 12px;
  transition: background-color 0.3s;
}

button:hover,
form.form-cadastro button:hover {
  background-color: #005f8a;
}

/* Estilos de foco para botões e links */
button:focus,
form.form-cadastro button:focus,
a:focus,
.btn-primary:focus,
.btn-secondary:focus {
  outline: 2px solid #0077b6;
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.3);
}

.menu li a:focus {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.hamburger-menu:focus {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5);
}

/* Classe para leitores de tela (Screen Reader Only) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Estilos para mensagens de erro */
.mensagem-erro {
  color: #dc2626;
  background-color: #fee;
  border: 2px solid #dc2626;
  padding: 12px;
  border-radius: 6px;
  margin: 10px 0;
  font-weight: 600;
  display: none;
}

.mensagem-sucesso {
  display: none;
  color: #027920;
  background-color: #d1f7c4;
  border: 2px solid #027920;
  padding: 12px;
  border-radius: 6px;
  margin: 10px 0;
  font-weight: 600;
}

/* Classe de erro para inputs */
.erro {
  border-color: red !important;
}

/* Container de gráficos e visualizações */
.charts-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.charts-grid-single {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

/* =====================================================
   CONEXÃO SOLIDÁRIA — Página de Doações (versão otimizada)
===================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
  background: #f4f6f8;
  color: #333;
  line-height: 1.6;
}

/* ======= CABEÇALHO ======= */
.site-header {
  background: #00796b;
  color: #fff;
  padding: 1rem 0;
}

.site-header .container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-size: 1.5rem;
  font-weight: 700;
}

.menu {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
}

.menu a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
  font-weight: 500;
}

.menu a:hover,
.menu a.ativo {
  opacity: 0.8;
  text-decoration: underline;
}

/* ======= CONTEÚDO ======= */
.hero {
  width: 90%;
  max-width: 1200px;
  margin: 2rem auto;
}

.wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

/* ======= CARDS ======= */
.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  flex: 1;
  min-width: 300px;
}

.card h1,
.card h2 {
  color: #00796b;
  margin-bottom: 1rem;
}

/* ======= FORMULÁRIO ======= */
#form-doacao {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.col {
  flex: 1;
  min-width: 200px;
}

label {
  font-weight: 600;
  margin-bottom: 0.3rem;
  display: block;
}

input[type="text"],
input[type="email"],
input[type="number"] {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  transition: 0.3s;
}

input:focus {
  border-color: #00796b;
  outline: 2px solid #00796b;
  outline-offset: 2px;
}

/* ======= VALORES E MÉTODOS ======= */
.amounts,
.methods {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.btn-valor,
.method {
  flex: 1;
  padding: 0.6rem 1rem;
  text-align: center;
  border-radius: 6px;
  border: 1px solid #00796b;
  background: #e0f2f1;
  color: #00796b;
  cursor: pointer;
  transition: 0.3s;
  font-family: inherit;
  font-size: 1rem;
}

.btn-valor:hover,
.method:hover,
.method.selected {
  background: #00796b;
  color: #fff;
}

/* Botões desabilitados */
.method:disabled {
  background: #e0e0e0;
  color: #999;
  cursor: not-allowed;
  opacity: 0.6;
  border-color: #ccc;
}

.method:disabled:hover {
  background: #e0e0e0;
  color: #999;
  transform: none;
}

/* Estilos de foco para botões de valor e métodos */
.btn-valor:focus,
.method:focus {
  outline: 2px solid #00796b;
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(0, 121, 107, 0.3);
}

/* Estado selecionado com indicação ARIA */
.btn-valor[aria-pressed="true"],
.method[aria-checked="true"] {
  background: #00796b;
  color: #fff;
  border-color: #004d40;
  font-weight: bold;
}

/* ======= BOTÕES ======= */
.actions {
  display: flex;
  gap: 10px;
}

.btn {
  border: none;
  padding: 0.7rem 1.2rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.btn-primary {
  background: #00796b;
  color: #fff;
}

.btn-primary:hover {
  background: #005f56;
}

.btn-secondary {
  background: #e0e0e0;
}

.btn-secondary:hover {
  background: #ccc;
}

/* ======= CARD RESUMO ======= */
.card-resumo {
  max-width: 350px;
}

.summary {
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ======= RODAPÉ ======= */
.site-footer {
  background: #004d40;
  color: #fff;
  text-align: center;
  padding: 1rem 0;
}

.social-media a {
  color: #fff;
  margin: 0 0.5rem;
  transition: 0.3s;
}

.social-media a:hover {
  opacity: 0.7;
}

/* ======= RESPONSIVO ======= */
@media (max-width: 768px) {
  .wrap {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .btn-valor,
  .method {
    flex: 1 1 100%;
  }
}

/* ======== CADASTRO DE VOLUNTÁRIO ======== */
form.form-cadastro {
  background-color: #f1f5f9;
  padding: 2rem;
  border-radius: 12px;
  max-width: 600px;
  margin: 2rem auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

form.form-cadastro fieldset {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 1rem 1.5rem;
  background-color: #fff;
}

form.form-cadastro legend {
  font-weight: bold;
  color: #0077b6;
  padding: 0 0.5rem;
}

form.form-cadastro label {
  font-weight: 500;
  margin-bottom: 0.3rem;
  display: block;
  color: #333;
}

form.form-cadastro input,
form.form-cadastro textarea,
form.form-cadastro select {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

form.form-cadastro input:focus,
form.form-cadastro textarea:focus,
form.form-cadastro select:focus {
  border-color: #0077b6;
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.3);
  outline: 2px solid #0077b6;
  outline-offset: 2px;
}

form.form-cadastro button {
  background-color: #03923a;
  color: #000;
  font-weight: bold;
  cursor: pointer;
  border: none;
  border-radius: 8px;
  padding: 12px;
  transition: background-color 0.3s;
  margin-top: 1rem;
}

form.form-cadastro button:hover {
  background-color: #027920;
}

/* Responsividade do formulário */
@media (max-width: 768px) {
  form.form-cadastro {
    padding: 1.5rem;
  }
}

/* ======== DESTAQUES / GRID ======== */
.highlights {
  padding: 60px 0;
  background-color: #fff;
}

.highlights h3 {
  text-align: center;
  font-size: 2em;
  color: #004aad;
  margin-bottom: 30px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.grid article {
  background: url("../Imagens/bg-grid-article.webp") center;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
  border: 2px solid #4a2810;
  color: #2b1810;
  list-style: none;
}

.grid article:hover {
  transform: translateY(-5px);
}

.grid h4 {
  color: #027920;
  margin-bottom: 10px;
}

/* ======== SLIDER DE IMAGENS ======== */
.slider {
  position: relative;
  width: 100%;
  max-width: 800px;
  height: 50vh;
  margin: 2rem auto;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.slides {
  display: flex;
  width: calc(100% * 1.75);
  animation: slide 16s infinite;
}

.slides img {
  width: 100%;
  flex-shrink: 0;
  object-fit: cover;
  height: 100%;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.slides img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

@keyframes slide {
  0%,
  20% {
    transform: translateX(0%);
  }
  25%,
  45% {
    transform: translateX(-100%);
  }
  50%,
  70% {
    transform: translateX(-200%);
  }
  75%,
  95% {
    transform: translateX(-300%);
  }
  100% {
    transform: translateX(0%);
  }
}

/* ======== MÍDIA (VÍDEO E ÁUDIO) ======== */
.media-players {
  text-align: center;
  margin-top: 2rem;
}

.media-players h4 {
  margin: 1rem 0;
  color: #05e905;
}

video,
audio {
  width: 90%;
  max-width: 640px;
  margin: 0.5rem auto;
  display: block;
  border-radius: 10px;
  outline: none;
}

/* ======== GALERIA ======== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  padding: 1rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery img {
  width: 100%;
  height: 250px;
  border-radius: 10px;
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* ======== GRÁFICOS ======== */
.charts {
  padding: 60px 0;
  background-color: #f7f4f4;
}

.charts h3 {
  text-align: center;
  color: #027920;
  margin-bottom: 2rem;
  font-size: 1.8em;
}

.chart-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.chart-container {
  width: 300px;
  background-color: #f1f5f9;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

canvas {
  background-color: #fff;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ======== RODAPÉ ======== */
footer,
.site-footer {
  background-color: #2beb65;
  color: #fff;
  text-align: center;
  padding: 20px;
  font-size: 0.9em;
  margin-top: auto;
  border-top: 3px solid #4a2810;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

footer p {
  margin-bottom: 10px;
}

footer .social-icons a {
  color: #fff;
  margin: 0 8px;
  font-size: 1.3em;
  transition: 0.3s;
}

footer .social-icons a:hover {
  color: #01c722;
}

/* ======== REGRAS GERAIS PARA IMAGENS ======== */
img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

textarea {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  resize: vertical;
  font-size: 1rem;
  resize: horizontal;
  resize: vertical;
  min-height: 140px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

textarea:focus {
  border-color: #0077b6;
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.3);
  outline: 2px solid #0077b6;
  outline-offset: 2px;
}

/* Ajustes para imagens em cards e artigos */
.card img,
article img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

/* ======== RESPONSIVIDADE ======== */
@media (max-width: 768px) {
  /* Ajustes de cabeçalho */
  header .container {
    flex-direction: column;
  }

  .brand {
    margin-bottom: 15px;
  }

  /* Ajustes do banner principal */
  .principal {
    padding: 50px 15px;
  }

  .principal h2 {
    font-size: 1.8em;
  }

  .principal p {
    font-size: 1em;
  }

  /* Ajustes do grid */
  .grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }

  /* Ajustes dos formulários */
  form fieldset {
    padding: 10px;
  }

  .form-row {
    flex-direction: column;
  }

  .form-col {
    width: 100%;
  }

  /* Ajustes das seções */
  section {
    padding: 30px 15px;
  }
  .chart-row {
    flex-direction: column;
    align-items: center;
  }
  .slider {
    height: 250px;
    margin: 1rem 15px;
  }
  .menu {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .menu li {
    width: 100%;
    max-width: 300px;
  }
  .menu li a {
    justify-content: center;
  }
  .gallery img {
    width: 90%;
    height: auto;
  }
  .banner-buttons {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
  .btn-secondary {
    margin-left: 0;
  }
  iframe,
  .media-players {
    width: 100%;
    max-width: 100%;
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  /* Ajustes de imagens */
  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery img {
    height: 180px;
  }

  .slider {
    height: 250px;
  }

  /* Ajustes gerais */
  .container {
    width: 95%;
    padding: 0 10px;
  }

  /* Ajustes de texto */
  h1,
  h2 {
    font-size: 1.5em;
  }

  h3 {
    font-size: 1.3em;
  }

  /* Ajustes do banner principal */
  .principal {
    padding: 30px 15px;
  }

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

  /* Ajustes dos destaques */
  .highlights h3 {
    font-size: 1.5em;
  }

  .grid article {
    padding: 15px;
  }

  /* Ajustes da galeria */
  .gallery img {
    width: 100%;
    height: 200px;
  }

  /* Ajustes dos formulários */
  form.form-cadastro {
    padding: 15px;
  }

  fieldset {
    padding: 10px;
  }

  /* Ajustes dos botões */
  .btn-primary,
  .btn-secondary {
    width: 100%;
    margin: 5px 0;
    text-align: center;
  }

  /* Ajustes do slider */
  .slider {
    height: 200px;
  }

  /* Ajustes do rodapé */
  footer {
    padding: 15px;
  }

  .social-icons {
    margin-top: 10px;
  }
}

/* =====================================================
   FIM DO ESTILO GERAL UNIFICADO
===================================================== */
