:root {
  --green: #4caf50;
  --secondary-color: #ff9800;
  --dark-color: #121212;
  --font-color: #333;
  --background-color: #f5f5f5;
  --border-radius: 12px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --font-title: DM Sans, sans-serif;
  --font-body: Lato, sans-serif;
}
/*imported fonts*/
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap");

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  box-sizing: border-box;
  font-family: var(--font-body);
}
body {
  background-color: #f5f5f5;
  color: #fff;
  line-height: 1.6;
}
main {
  max-width: 1500px;
  margin: 0 auto;
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}
/*============NavBar=====================*/
.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0;
  height: 80px;
  width: 100%;
  position: sticky;
  box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.1);
  padding: 0 2rem;
  background: transparent;
  backdrop-filter: blur(10px);
  z-index: 100;
}
.navbar .logo img{
 height: 40px;
}
.navbar-container {
  width: 100%;
  max-width: 1600px;
  display: flex;
  padding: 0 2rem;
  justify-content: space-between;
  align-items: center;
}
.navbar-container .navbar-menu {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  list-style: none;
}
.navbar-container .navbar-menu li a:not(.cta-link) {
  text-decoration: none;
  color: var(--font-color);
  font-weight: 600;
  transition: color 0.3s ease;
  font-size: clamp(0.95rem, 1.2vw + 0.4rem, 1.125rem);
  letter-spacing: 0.2px;
}
.navbar-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: var(--size-10);
}
.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background: var(--font-color);
  transition: all 0.3s ease-in-out;
}
.navbar-menu > li > .cta-link {
  text-decoration: none;
  color: var(--background-color);
  letter-spacing: 1px;
  font-weight: 700;
  letter-spacing: 1px;
  background-color: var(--primary-color);
  padding: 0.6rem 1.4rem;
  border-radius: 40px;
}
.navbar-menu > li > .cta-link img{
 height: 25px;
background-color: var();
}
.active-link::before{
content: "";
position: absolute;
bottom: 25px;
height: 3px;
width: 50px;
border-radius: 2px;
background:var(--color2-l);
}
@media (max-width: 800px) {
  .navbar {
    backdrop-filter: none;
  }
  .navbar-container .navbar-menu {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 0;
    right: 0;
    gap: 1.7rem !important;
    width: 250px;
    height: 100vh;
    padding: 5rem 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.1);
  }
  .navbar-toggle {
    display: block;
    z-index: 101;
  }
  .navbar-container .navbar-menu.active {
    display: flex;
  }
  .navbar-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  .navbar-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .navbar-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}
@media (width<480px) {
  .navbar-container {
    padding: 0 1rem;
  }
  .navbar .logo {
    height: 40px;
  }
  .navbar-container .navbar-menu li a {
    font-size: 1rem;
  }
  .advantages-image {
    display: none;
  }
}
/* Estilos específicos para a página Sobre (escopo .about-page) */
.about-hero {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0)
  );
  padding: 4rem 1rem;
  border-radius: var(--border-radius);
  margin: 1rem;
  box-shadow: var(--box-shadow);
}

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  gap: 2rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 2rem;
  align-items: center;
}

.about-text h1 {
  font-family: var(--font-title);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  line-height: 1;
  margin-bottom: 0.6rem;
  color: var(--font-color);
}

.about-text p.lead {
  color: var(--font-color);
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 1rem;
  max-width: 70ch;
}

/* mover estilo inline da imagem hero para classe */
.about-visual-img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  height: 320px;
}

.pill {
  display: inline-block;
  background: var(--primary-color);
  color: #fff;
  padding: 0.35rem 0.75rem;
  border-radius: 40px;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Missão / Visão / Valores */
.mv-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.mv-card {
  background: #fff;
  color: var(--dark-color);
  padding: 1.25rem;
  border-radius: 12px;
  box-shadow: var(--box-shadow);
}

.mv-card h3 {
  font-family: var(--font-title);
  margin-bottom: 0.5rem;
}

.mv-card p {
  font-weight: 300;
  line-height: 1.5;
}

/* Equipe */
.container-team {
  margin-top: 2rem;
  padding: 0 3rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 350px));
  gap: 3rem;
  align-items: center;
  justify-content: center;
}

/* remover estilos inline das tags de team e aplicar aqui */
.team-title {
  font-family: var(--font-title);
  color: var(--font-color);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  margin: 0 0 1rem;
  letter-spacing: -1px;

}
.team-lead {
  color: var(--font-color);
  font-weight: 300;
  margin-bottom: 1rem;
}

.member {
  background: #fff;
  color: var(--dark-color);
  padding: 1rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--box-shadow);
}

.member img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}

.member h4 {
  margin: 0 0 0.25rem;
  font-family: var(--font-title);
}

.member p {
  margin: 0;
  font-weight: 300;
  font-size: 0.95rem;
  color: #444;
}

/* PROCESSO — moderno, com linha real e badges SVG */
.process {
  margin-top: 2.5rem;
  background-color: var(--color3-l);
  padding: 2rem 4rem;
  min-height: 30rem;
}
.process h2 {
  font-family: var(--font-title);
  color: var(--font-color);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  margin: 0 0 1rem;
  letter-spacing: -1px;
  
}

/* container timeline */
.process-timeline {
  position: relative;
  display: grid;
  gap: 1rem;
}

/* timeline line (elemento real) */
.timeline-line {
  position: absolute;
  left: 50%;
  top: 48px;
  bottom: 48px;
  width: 6px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.03));
  border-radius: 8px;
  transform-origin: top center;
  z-index: 1;
}

/* step card */
.step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1rem;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--box-shadow);
  color: var(--dark-color);
  overflow: hidden;
  transform-origin: center;
}

/* head layout */
.step .step-head {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.badge {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--color1-d)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.08);
  flex-shrink: 0;
}
.badge .icon {
  display: block;
  width: 36px;
  height: 36px;
  stroke: #fff;
}
.badge .num {
  position: absolute;
  right: -8px;
  bottom: -8px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.308);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

/* text */
.step .text h3 {
  margin: 0;
  font-family: var(--font-title);
  font-size: 1.05rem;
}
.step .text p {
  margin: 0.2rem 0 0;
  color: #4b4b4b;
  font-weight: 300;
}
.step .detail {
  margin: 0;
  color: #666;
  font-size: 0.95rem;
}

/* hover */
.step:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 60px rgba(2, 6, 23, 0.08);
  transition: transform 0.28s, box-shadow 0.28s;
}

/* Desktop: horizontal with four columns */
@media (min-width: 900px) {
  .process-timeline {
    grid-template-columns: repeat(4, 1fr);
    padding: 2rem 0;
    align-items: start;
  }
  .step {
    min-height: 180px;
  }
  /* center badges over the central line */
  .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .step-head {
    flex-direction: column;
    gap: 0.6rem;
    align-items: center;
  }
  .step .text p {
    max-width: 22ch;
  }
  .badge {
    left: 50%;
    transform: translateX(-50%);
  }
}

/* Mobile: stack */
@media (max-width: 899px) {
  .process-timeline {
    grid-template-columns: 1fr;
    padding: 0;
  }
  .timeline-line {
    display: none;
  } /* line hidden on small screens for clarity */
  .step {
    text-align: left;
  }
  .badge .num {
    right: -6px;
    bottom: -6px;
  }
}

.container-impact {
  margin-top: 2rem;
  padding: 0 3rem;
}

#impacto-title {
  font-family: var(--font-title);
  color: var(--font-color);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  margin: 0 0 1rem;
}
.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 300px));
  gap: 2rem;
  align-items: center;
  justify-content: center;
}
.stat {
  background: #fff;
  color: var(--dark-color);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--box-shadow);
}
.stat-value h2 {
  font-family: var(--font-title);
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
.stat-label h3 {
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--font-color);
}

/* CTA interno */
.cta-inner {
  background-color: var(--white);
  padding: 2rem 3rem;
}
.cta-inner .cta-title {
  font-family: var(--font-title);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  margin: 0;
  color: var(--font-color);
}
.cta-inner .cta-lead {
  color: var(--font-color);
  font-weight: 300;
  margin: 0.5rem 0 1rem;
  max-width: 70ch;
}
.about-cta {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 1.5rem;
}

.btn-primary {
  background: var(--primary-color);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 40px;
  text-decoration: none;
  letter-spacing: 1px;
  font-weight: 700;
  box-shadow: var(--box-shadow);
}

.btn-ghost {
  background: transparent;
  color: var(--green);
  letter-spacing: 1px;
  padding: 0.6rem 1rem;
  border-radius: 40px;
  font-weight: 700;
  border: 2px solid var(--green);
  text-decoration: none;
  transition: background .3s cubic-bezier(0.215, 0.610, 0.355, 1);
}
.btn-ghost:hover{
background: var(--green);
color: var(--white);
}

/* rodapé pequeno ajuste para a página */
@media (max-width: 980px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

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

  .about-cta {
    flex-wrap: wrap;
    align-items: start;
  }
}

/* ====== FOOTER ====== */
.footer {
  background-color: var(--dark-color);
  color: #fff;
  padding: 4rem 2rem 2rem;
  margin-top: 4rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

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

.footer h2,
.footer h3 {
  font-family: var(--font-title);
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.footer p,
.footer ul,
.footer a {
  font-weight: 300;
  line-height: 1.7;
  color: #ddd;
}

.footer a {
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-color);
}

/* Marca e descrição */
.footer-brand p {
  max-width: 25rem;
}

/* Links rápidos */
.footer-links ul {
  list-style: none;
}

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

/* Contato */
.footer-contact ul {
  list-style: none;
}

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

/* Redes sociais */
.footer-social .social-icons {
  display: flex;
  gap: 0.8rem;
}

.footer-social a {
  background-color: #222;
  color: #fff;
  padding: 0.5rem 0.5rem;
  border-radius: 50%;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-social a img {
  height: 24px;
}

.footer-social a:hover {
  background-color: var(--primary-color);
  color: #fff;
  transform: translateY(-3px);
}

/* Linha inferior */
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  font-size: 0.9rem;
  color: #aaa;
}

/* Responsividade */
@media (max-width: 768px) {
  .footer {
    padding: 3rem 1.5rem;
  }
  .footer h2,
  .footer h3 {
    text-align: start;
  }
  .footer-brand p {
    text-align: start;
    margin: 0 auto;
  }
  .footer-social {
    text-align: center;
  }
  .footer-social .social-icons {
    justify-content: center;
  }
}

.btn-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}
@media (prefers-reduced-motion: reduce){
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
