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

body {
  font-family: 'Alice', serif;
  background: #f8f9fb;
  color: #333;
}

/* =========================
   HEADER
========================= */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #f8f9fb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 80px;
}

.logo {
  font-family: 'Bree Serif', serif;
  font-size: 24px;
}

.logo span {
  color: #8b7cf6;
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #555;
}

/* =========================
   HERO (DESKTOP BASE)
========================= */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 80px;
  gap: 40px;
}

.hero-text {
  max-width: 520px;
  animation: fadeUp 1.6s ease;
}

.tag {
  background: #e6e2ff;
  padding: 6px 14px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 20px;
}

.hero-text h1 {
  font-family: 'Bree Serif', serif;
  font-size: 48px;
  line-height: 1.2;
}

.hero-text h1 span {
  color: #8b7cf6;
}

.hero-text p {
  margin-top: 20px;
  line-height: 1.6;
}

.buttons {
  margin-top: 30px;
}

.btn {
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  margin-right: 10px;
  display: inline-block;
}

.primary {
  background: #6fa3ff;
  color: #fff;
}

.secondary {
  border: 1px solid #8b7cf6;
  color: #8b7cf6;
}

/* HERO IMAGE — CORRIGIDO */
.hero-image {
  flex-shrink: 0;
  animation: fadeUp 2s ease;
}

.hero-image img {
  width: auto;
  height: auto;
  max-width: 600px;
}

/* =========================
   SEÇÕES GERAIS
========================= */
.sobre,
.projects,
.contact {
  max-width: 1200px;
  margin: auto;
  padding: 80px 20px;
}

.sobre h2 span,
.projects h2 span,
.contact h2 span {
  color: #8b7cf6;
}

/* =========================
   SOBRE
========================= */
.sobre-conteudo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.sobre-imagem img {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  border-radius: 20px;
  background:#b7d1ef ;
}

.sobre-texto h3 {
  color: #6fa3b8;
  margin-bottom: 20px;
}

.sobre-texto p {
  line-height: 1.7;
  margin-bottom: 16px;
}

/* CARDS */
.sobre-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 80px;
}

.card {
  background: #b7d1ef;
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  animation: fadeUp 1.8s ease;
}

.card h3 {
  margin: 16px 0 12px;
}

.card p {
  color: #070606;
  line-height: 1.6;
}

.icon {
  font-size: 22px;
}

.heart { color: #e56b6f; }
.target { color: #b7d1ef ; }
.people { color: #2a9d8f; }
.lightning { color: #f4a261; }
.process { color: #6a9fb5; }
.values { color: #9b8bc1; }

/* =========================
   PROJECTS
========================= */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.project-card {
  background: #b7d1ef;
  border-radius: 24px;
  padding: 20px;
  text-align: center;
  animation: fadeUp 1.8s ease;
}

.project-card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  border-radius: 18px;
}

.project-card h3 {
  margin-top: 16px;
}

/* =========================
   CONTACTOS
========================= */
.contact-container {
  display: flex;
  gap: 40px;
}

form input,
form textarea {
  width: 100%;
  margin-bottom: 15px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ddd;
}

/* =========================
   FOOTER
========================= */
footer {
  text-align: center;
  padding: 30px;
  font-size: 14px;
  color: #0c0b0b;
}

/* =========================
   ANIMAÇÃO
========================= */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =====================================================
   📱 TABLET (768px — 1024px)
===================================================== */
@media (max-width: 1024px) {

  header {
    padding: 20px 40px;
  }

  .hero {
    padding: 60px 40px;
  }

  .hero-text h1 {
    font-size: 40px;
  }

  .hero-image img {
    max-width: 50%;
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =====================================================
   📱 TELEMÓVEL (até 767px)
===================================================== */
@media (max-width: 767px) {

  header {
    padding: 16px 24px;
  }

  /* ✅ ÚNICA CORREÇÃO: MENU VISÍVEL */
  nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 50px 24px;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .hero-image img {
    max-width: 500px;
    margin-top: auto;
  }

  .sobre-conteudo {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .contact-container {
    flex-direction: column;
    gap: 24px;
  }
}

/* =========================
   FOOTER
========================= */
.footer {
  background: #f8f9fb;
  padding: 40px 20px;
  text-align: center;
  border-top: 1px solid #eee;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 16px;
}

.footer-social a {
  font-size: 20px;
  color: #555;
  transition: transform 0.3s ease, color 0.3s ease;
}

.footer-social a:hover {
  color: #8b7cf6;
  transform: translateY(-4px);
}
/* =========================
   SOCIAL MEDIA - FOOTER
========================= */
.footer {
  padding: 40px 20px;
  text-align: center;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-social a {
  font-size: 20px;
  color: #555;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
  color: #8b7cf6;
  transform: translateY(-4px);
}


