/* ===== RESET E BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f8f9fa;
  color: #333;
  line-height: 1.6;
}

/* ===== HEADER (REUTILIZÁVEL) ===== */
.header-sobre {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 3rem;
  background: url('imagens/header2.png') no-repeat center center;
  background-size: cover;
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
  height: 120px;
  transition: all 0.3s ease;
  z-index: 1000;
}

.header-sobre .logo-container .logo {
  max-height: 180px;
  width: auto;
  transition: all 0.3s ease;
}

/* MARGEM SÓ NO DESKTOP */
@media (min-width: 769px) {
  .header-sobre .logo-container {
    margin-left: 160px;
  }
  
  .header-sobre .menu-desktop {
    margin-right: 160px;
  }
}

/* MENU DESKTOP */
.header-sobre .menu-desktop ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.header-sobre .menu-desktop a {
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  color: #ffffff;
  transition: color 0.3s ease;
  padding: 8px 0;
  position: relative;
}

.header-sobre .menu-desktop a:hover {
  color: #C0995D;
}

.header-sobre .menu-desktop a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #C0995D;
  transition: width 0.3s ease;
}

.header-sobre .menu-desktop a:hover::after {
  width: 100%;
}

/* MENU MOBILE TOGGLE */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1300;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: #ffffff;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* ===== MENU LATERAL MOBILE (REUTILIZÁVEL) ===== */
#side-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 102%;
  background: url('imagens/backgroundmenu.png');
  box-shadow: -2px 0 12px rgba(0,0,0,0.25);
  transition: right 0.3s ease-in-out;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  padding: 1rem 1.5rem;
  border-radius: 20px;
}

#side-menu.active {
  right: 0;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1100;
  display: none;
}

.overlay.active {
  display: block;
}

.close-menu {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  color: #ffffff;
  cursor: pointer;
  z-index: 1300;
}

.side-logo {
  text-align: center;
  margin-bottom: 2rem;
}

.side-logo img {
  max-height: 200px;
  margin-bottom: 0.5rem;
}

.side-menu a {
  padding: 15px 20px;
  text-decoration: none;
  font-size: 18px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: background 0.3s, color 0.3s;
}

.side-menu a:hover {
  background: rgba(90, 45, 12, 0.1);
  color: #C0995D;
}

/* ===== SEÇÃO CONTATO (ESPECÍFICA) ===== */
#contato {
  padding: 180px 0 60px 0;
  background-color: #f8f9fa;
  min-height: 300px;
  display: flex;
  align-items: center;
  margin-top: 0;
}

.contato-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.contato-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.contato-content h1 {
  font-size: 3.5rem;
  color: #6a7263;
  margin-bottom: 0.5rem;
  font-weight: 800;
}

.contato-arabe {
  font-size: 2.5rem;
  color: #C0995D;
  margin-bottom: 30px;
  font-weight: 700;
}

.contato-texto {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
  margin: 0 auto;
  font-weight: 700;
  max-width: 600px;
}

/* ===== FORMULÁRIO CONTATO (ESPECÍFICO) ===== */
.contact-main {
  margin-top: 12px;
  padding: 40px 20px;
  min-height: calc(100vh - 200px);
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.contact-row:last-child {
  grid-template-columns: 1fr;
}

.contact-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: fit-content;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
}

.card-header {
  background: linear-gradient(135deg, #C0995D, #5a2d0c);
  color: white;
  padding: 20px 25px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.card-header i {
  font-size: 1.3rem;
}

.card-header h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
}

/* Formulário */
.form-card .contact-form {
  padding: 25px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: #333;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: border-color 0.3s ease;
  font-family: inherit;
  background: #f8f9fa;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #C0995D;
  background: white;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.submit-button {
  background: linear-gradient(135deg, #C0995D, #5a2d0c);
  border: none;
  padding: 12px 25px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  width: 100%;
  justify-content: center;
  color: #ffffff;
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(189, 122, 35, 0.705);
}

/* Informações */
.info-card .info-content {
  padding: 25px;
}

.info-item {
  margin-bottom: 15px;
  font-size: 1rem;
  color: #333;
  padding: 12px 15px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #5a2d0c
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-item strong {
  color: #C0995D;
  display: inline-block;
  min-width: 120px;
}

/* Contribua */
.contribute-card .contribute-content {
  padding: 30px;
}

.contribute-description {
  text-align: center;
  color: #666;
  margin-bottom: 30px;
  font-size: 1.1rem;
  line-height: 1.6;
  padding: 0 10px;
}

.contribute-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.contribute-option {
  text-align: center;
  padding: 25px 20px;
  background: #f8f9fa;
  border-radius: 10px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.contribute-option:hover {
  border-color: #C0995D;
  transform: translateY(-3px);
}

.contribute-option i {
  font-size: 2.2rem;
  color: #C0995D;
  margin-bottom: 15px;
}

.contribute-option h3 {
  color: #333;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.contribute-option p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ===== RODAPÉ (REUTILIZÁVEL) ===== */
#footer {
  background: #222222;
  padding: 50px 20px 20px;
}

.footer-container {
  max-width: 1000px;
  margin: 0 auto;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 30px;
}

.footer-col h3 {
  font-size: 1.4em;
  margin: 0 0 15px 0;
  color: #F5E1C0;
  font-weight: 600;
}

.arabic-text {
  font-size: 1.1em;
  color: #F5E1C0;
  text-align: right;
  direction: rtl;
}

.footer-desc {
  line-height: 1.5;
  color: #F2D4B6;
  margin: 0;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: #F2D4B6;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: #EEAA6B;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 37px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fffbf8;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.4em;
}

.social-icons a:hover {
  background: #F2D4B6;
}

.footer-bottom {
  border-top: 1px solid #83887A;
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  color: #F2D4B6;
  line-height: 1.4;
  margin: 0 0 5px 0;
}

.heart {
  color: #EEAA6B;
  font-size: 1.2em;
}

.copyright {
  font-size: 0.9em;
  color: #F2D4B6 !important;
}

/* ===== RESPONSIVIDADE ===== */

/* === RESPONSIVIDADE HEADER E MENU === */
@media (max-width: 768px) {
  .header-sobre {
    padding: 10px 1rem;
    height: 100px;
  }
  
  .header-sobre .logo-container .logo {
    max-height: 140px;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .header-sobre .menu-desktop {
    display: none;
  }
  
  /* Remove margens no mobile */
  .header-sobre .logo-container {
    margin-left: 0 !important;
  }
}

/* === RESPONSIVIDADE CONTATO E FORMULÁRIO === */
@media (max-width: 968px) {
  .contact-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .contact-row:last-child {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .contact-main {
    margin-top: 120px;
    padding: 20px 15px;
  }
  
  .card-header {
    padding: 18px 20px;
  }
  
  .card-header h2 {
    font-size: 1.1rem;
  }
  
  .form-card .contact-form {
    padding: 20px;
  }
  
  .info-card .info-content {
    padding: 20px;
  }
  
  .contribute-card .contribute-content {
    padding: 25px;
  }
  
  .contribute-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .contact-container {
    gap: 20px;
  }
  
  .card-header {
    padding: 15px 18px;
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  
  .form-card .contact-form {
    padding: 18px;
  }
  
  .form-group input,
  .form-group textarea {
    padding: 10px;
  }
  
  .submit-button {
    padding: 10px 20px;
    font-size: 0.95rem;
  }
  
  .contribute-option {
    padding: 20px 15px;
  }
  
  .info-item {
    padding: 10px 12px;
    font-size: 0.95rem;
  }
  
  .info-item strong {
    min-width: 100px;
    display: block;
    margin-bottom: 5px;
  }
}

/* === RESPONSIVIDADE RODAPÉ === */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .footer-col {
    text-align: center;
  }
  
  .social-icons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer-container {
    padding: 0 15px;
  }
  
  .footer-content {
    gap: 1rem;
  }
  
  .footer-col h3 {
    font-size: 1.2rem;
  }
}