* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

:root {
  --bg: #ffffff;
  --white: #ffffff;
  --primary: #018958;
  --secondary: #fff;
  --text: #1e0e36;
  --muted: #6b7280;
  --container: 90%;
  --radius: 12px;
  --transition: 0.4s ease;
}

body {
  font-family: 'Inter', system-ui;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1rem;
}

.site-header {
  background-color: #ffffff;
  padding: 5px 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 999;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;  
}

.header-logo {
  height: 115px;
  width: auto;
}

.nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 500;
  transition: color 0.3s;
}

.nav a:hover {
  color: #000000;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--primary);
  display: block;
}

@media (max-width: 768px) {
  .nav ul {
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 65px;
    right: 0;
    width: 200px;
    display: none;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }

  .nav.active ul { display: flex; }

  .menu-toggle { 
    display: flex; 
  }
}

.btn-cta {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 0.4em 0.8em;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
  width: auto;
  max-width: fit-content;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition);
}

.btn-cta:hover {
  color: var(--secondary);
  transform: scale(1.05);
}

.agenda-btn {
  margin-top: 2rem;
  text-align: center;
}

.agenda-btn .btn-cta {
  font-size: 1rem;
  padding: 0.6em 1.2em;
}

/* HERO */
.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 4rem 0;
  background: var(--primary);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  text-align: center;
  padding: 2rem 0;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s forwards 0.3s;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-content h1 {
  font-size: 2.4rem;
  line-height: 1.3;
}

.hero-content p {
  font-size: 1.1rem;
  line-height: 1.8;
}

.hero-content .marca {
  color: var(--primary);
}

.hero-svg img {
  max-width: 450px;
  margin: 0 auto;
  transition: transform var(--transition);
}

.hero-svg img:hover {
  transform: scale(1.05);
}

@media(min-width: 768px){
  .hero-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
  .hero-content {
    max-width: 50%;
  }
}

@media(max-width: 767px){
  .hero-inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
  .hero-svg img {
    margin: 1rem auto 0;
  }
  .btn-cta {
    margin: 0 auto;
  }
}

section {
  padding: 3rem 0;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s forwards;
}

section:nth-of-type(odd) { background: var(--white); }
section:nth-of-type(even) { background: var(--secondary); }

h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}


.sobre {
  padding: 90px 20px;
   background: #018958 !important; /* força ocupar toda largura */
}

.sobre .container {
  display: flex;
  justify-content: center;

}

.sobre-content {
  max-width: 850px;
  text-align: center;
  padding: 30px;
  background: #f7f9fc;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #287e44;
  animation: fadeIn 0.8s ease;
}

.sobre-content h1 {
  font-size: 2.2rem;
  color: #1a1a1a;
  margin-bottom: 20px;
  position: relative;
}

.sobre-content h1::after {
  content: "";
  width: 70px;
  height: 4px;
  background: var(--primary);
  display: block;
  margin: 10px auto 0;
  border-radius: 10px;
}

.sobre-content p {
  color: #444;
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 18px;
}

.sobre-content:hover {
  transform: translateY(-4px);
  transition: 0.25s;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.12);
}

.sobre .sobre-content {
  max-width: 1200px; /* aumenta largura para a grid */
  margin: 0 auto;
  text-align: center;
}

.sobre .cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* garante cards de largura igual */
  gap: 20px;
  margin-top: 30px;
  align-items: stretch; /* cards com altura igual */
}

.sobre .card {
  background: #fff;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  border: 1px solid #018958;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%; /* faz todos os cards da mesma altura */
  transition: transform 0.3s, box-shadow 0.3s;
}

.sobre .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.sobre .card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #018958;
}

.sobre .card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
}


@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .sobre-content {
    padding: 25px;
  }
  .sobre-content h1 {
    font-size: 1.9rem;
  }
  .sobre-content p {
    font-size: 1.05rem;
  }
}


/* ----- PROJETOS ----- */

.projetos {
  padding: 80px 20px;
  background: #f7f9fc;
}

.titulo-centro {
  text-align: center;
  font-size: 2.4rem;
  margin-bottom: 10px;
  color: #1a1a1a;
}

.subtitulo-centro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
  color: #555;
  font-size: 1.1rem;
}

/* GRID DE CARDS */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

/* CARD */
.card {
  background: #ffffff;
  padding: 25px;
  border-radius: 18px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: .3s ease;
  border: 1px solid #e5e7eb;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

/* ÍCONE DO CARD */
.card-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #1a1a1a;
}

.card p {
  color: #444;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .titulo-centro { font-size: 2rem; }
  .subtitulo-centro { font-size: 1rem; }
}

.footer {
  background: var(--primary);
  padding: 60px 40px 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-col h3.footer-logo {
  font-size: 1.5rem;
  color: var(--secondary);
  margin-bottom: 15px;
}

.footer-col h4 {
  font-size: 1.1rem;
  color: var(--secondary);
  margin-bottom: 15px;
  border-left: 4px solid var(--secondary);
  padding-left: 8px;
}

.footer-col p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--secondary);
}

.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin: 8px 0; }
.footer-col ul li a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-col ul li a:hover { color: #4da6ff; }

.footer-bottom {
  text-align: center;
  border-top: 1px solid #cfe8ff;
  padding-top: 15px;
  font-size: 0.9rem;
  color: var(--secondary);
}

@media (max-width: 767px) {
  .hero-svg img {
    display: none;
  }
}

@media(min-width:601px){
  .hero-content h1 { font-size: 2.4rem; }
}

@media(min-width:901px){
  .hero-content h1 { font-size: 2.8rem; }
  .container { max-width: 1100px; }
}

@keyframes fadeInUp { 
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {

  .header-inner {
    padding: 0 8px;
  }

  .header-logo {
    height: 80px;
  }

  .nav ul {
    width: 100%;
    right: 0;
    padding: 20px;
  }

  .hero {
    padding: 2rem 0;
    min-height: 55vh;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .btn-cta {
    width: 90%;
    font-size: 1rem;
    padding: 0.8em;
    text-align: center;
  }

  .sobre-inner {
    flex-direction: column;
  }

  .sobre-text {
    text-align: center;
    padding: 0 1rem;
  }

  .sobre-img img {
    max-width: 90%;
    padding-left: 0;
    margin: 0 auto;
  }

  h2 {
    font-size: 1.5rem;
  }

  .footer {
    padding: 40px 20px;
  }

  .footer-col h3.footer-logo {
    font-size: 1.3rem;
    text-align: center;
  }
}

@media (max-width: 360px) {

  .header-logo {
    height: 70px;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  .btn-cta {
    font-size: 0.9rem;
    padding: 0.7em;
  }
}
