/* ==================== Reset ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ==================== body ==================== */

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  scroll-behavior: smooth;
  background: #f2f2f2;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Links */
a {
  text-decoration: none;
  color: #10a37f;
  transition: all 0.3s ease;
}
a:hover {
  color: #10a37f;
}

.highlight {
  position: relative;
  display: inline-block;
  color: inherit;
}

.highlight::before {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  top: 0.2em;
  bottom: 0.1em;
  background: #10a37f;
  transform: rotate(-2deg) skew(-4deg);
  z-index: 99;
  border-radius: 3px;
  opacity: 0.07;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #f2f2f2;
  border-bottom: 1px solid #eee;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  z-index: 98;
}

.hamburger {
  display: none;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  margin: 0;
  padding: 0;
  display: block;
}

.logo img {
  width: 120px;
  height: auto;
  display: block;
  margin: 0;
  padding: 0;
}

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

.nav-center a {
  font-weight: 500;
  color: #333;
}

.nav-center a:hover {
  color: #10a37f;
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 80vh;
  padding: 2rem;
  background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
    url("../images/woman_hero_section_blured.jpg");
  background-size: cover;
  background-repeat: no-repeat;
}

.hero h2 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  font-weight: 700;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.2);
  color: #fff;
}

.hero p {
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.2rem;
  line-height: 1.5;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.3);
  color: #fff;
}

.btn-primary {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.8rem 1.6rem;
  border-radius: 30px;
  background: #fff;
  color: #10a37f;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-primary:hover {
  background: #f4f4f4;
  transform: translateY(-2px);
}

/* Sections */
.section {
  padding: 4rem 0;
  background: #f2f2f2;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  color: #10a37f;
}

.section p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0.5rem;
  font-size: 1.1rem;
  color: #333;
}

/** Section Servicos */
#servicos {
  background: #fffefe;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  cursor: pointer;
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #10a37f;
}

.card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  color: #333;
}

.card p {
  font-size: 1rem;
  color: #666;
}

/* Section Quem Ajudamos + Vantagens */
.vantagens-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.vantagem-item {
  display: flex;
  align-items: flex-start; 
  gap: 1rem;
  background: rgba(255, 255, 255, 0.877);
  backdrop-filter: blur(4px);  
  border-radius: 8px;
  padding: 0.8rem;
  margin-top: 0.6rem;
  max-width: 500px;
  flex: 1 1 250px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.vantagem-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.vantagem-item img {
  width: 40px;   
  height: 40px;
  object-fit: contain;
}

.vantagem-item p {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  color: #333;
  text-align: justify;
}

.double-column-container {
  display: flex;
  justify-content: space-around;
  flex: 1;
}

.container-quem-ajudamos {
  display: grid;
  grid-template-columns:repeat(2, 1fr); 
  gap: 1rem;   
  margin-top: 1rem;/
}

.quem-ajudamos-card {
  background-color: #fff;    
  border-radius: 8px;              
  padding: 0.7rem;                   
  box-shadow: 0 2px 6px rgba(0,0,0,0.1); 
  text-align: center;             
  font-weight: 600;
  font-size: 1rem;
  color: #333;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: default;
}

.quem-ajudamos-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Section Contatos */
#contato {
  padding: 1rem;
  background: #fffefe;
}

#contato h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

#contato p {
  padding: 0.1rem;
  margin-bottom: 1rem;
}

/* Footer */
footer {
  background: #e9e8e8;
  color: #333;
  text-align: center;
  padding: 1rem 0;
  font-size: 0.9rem;
}

/* ==================== Modal ==================== */

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  z-index: 100;
  transition: opacity 0.3s ease;
}


.modal-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  width: 600px;
  max-width: 50%;
  padding: 2rem;
  overflow-y: auto;
  box-shadow: -4px 0 12px rgba(0, 0, 0, 0.15);
  border-radius: 8px 0 0 8px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.modal-body img {
  width: 500px;
  height: auto;
}

.modal-body h3 {
  margin: 2rem;
  font-size: 1.5rem;
}

.modal-body p {
  padding-bottom: 1rem;
}

/* Estado inicial (hidden) */
.modal-hidden {
  pointer-events: none;
  opacity: 0;
}

.modal-hidden .modal-body {
  transform: translateX(100%);
}

.modal.show {
  pointer-events: auto;
  opacity: 1;
}

.modal.show .modal-body {
  transform: translateX(0);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #555;
}

/* ===================== Responsividade ==================== */
@media (max-width: 768px) {

  body {
    padding-top: 40px;
  }

  /* Header */
  header .container {
    flex-direction: row;
    align-items: flex-start;
  }
  
  .logo img {
    width: 100px;
  }

  .hamburger {
    display: block;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #333;
    z-index: 99;
  }

  .nav-center {
    position: fixed;
    top: 60px;           
    right: 0;
    width: 60%;            
    max-width: 300px;
    height: calc(100% - 60px);
    background: rgba(242, 242, 242, 0.95);
    box-shadow: -2px 0 6px rgba(0,0,0,0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .nav-center ul {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 2rem;
    padding-left: 2rem;
    margin-top: 2rem;
  }

  /* Menu visível */
  .nav-center.open {
    transform: translateX(20%);
  }

  .nav-center a {
    font-size: 0.95rem;
  }
  
  /* Hero */
  .hero h2 {
    font-size: 2rem;
  }

  .modal {
    justify-content: center;
    align-items: flex-end; 
  }

  .modal-body {
    width: 100%; 
    max-width: none;
    height: 80vh;
    border-radius: 16px 16px 0 0;  
    transform: translateY(100%); 
    transition: transform 0.3s ease;
  }

  .modal-body img {
    width: 400px;
    height: auto;
  }

  /* Quando ativa (show) */
  .modal.show .modal-body {
    transform: translateY(0);     
  }

  .container-quem-ajudamos {
    grid-template-columns: 1fr; 
  }

   .double-column-container {
    flex-direction: column;      
    align-items: center;         
    gap: 2rem;                   
  }

 
  .double-column-container > div {
    width: 100%;                 
    max-width: 500px;             
  }
}
