@font-face {
  font-family: 'Isidora Sans';
  src: url('assets/fontes/IsidoraSans-Light.ttf') format('truetype');
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: 'Isidora Sans';
  src: url('assets/fontes/IsidoraSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Isidora Sans SemiBold';
  src: url('assets/fontes/IsidoraSans-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Isidora Sans Bolder';
  src: url('assets/fontes/IsidoraSans-Bolder.ttf') format('truetype');
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: 'Kooka Regular';
  src: url('assets/fontes/Kooka-Regular.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'Kooka Bold';
  src: url('assets/fontes/Kooka-Bold.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'Kooka Black';
  src: url('assets/fontes/Kooka-Black.ttf') format('truetype');
  font-display: swap;
}

:root {
  --verde: #114D66;
  --verde2: #009A93;
  --amarelo: #F9DA1B;
  --rosa: #EF7E88;
  --rosa2: #BD6671;
  --ciano: #98D1CB;
  --offwhite: #E9E8DE;
  --preto: #1D1D1B;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--offwhite);
  color: var(--preto);
  font-family: 'Isidora Sans', system-ui, sans-serif;
  line-height: 1.5;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.titulo-secao {
  font-family: 'Kooka Bold', system-ui, sans-serif;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--rosa);
  margin: 0 0 2rem;
}

.titulo-claro { color: var(--rosa); }

.titulo-pequeno { font-size: 2rem; text-align: center; color: var(--verde); }

.secao { padding: 5rem 6%; max-width: 1200px; margin: 0 auto; }

/* ---------- Header ---------- */
.menu-superior {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background-color: var(--verde);
  display: flex;
  justify-content: center;
}

.nav-container {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  width: 88%;
  height: 90px;
}

.nav-itens {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.nav-logo img { height: 34px; }

.links-container {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.links-container a {
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  color: white;
  padding: 5px 0;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}

.links-container a:hover { border-bottom-color: var(--rosa); color: var(--rosa); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: white;
}

/* ---------- Hero em vídeo ---------- */
.hero-video-secao {
  background-color: var(--verde);
  padding: 2.5rem 6% 4rem;
}

.vi-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.video-i {
  border-radius: 10px;
  display: block;
  aspect-ratio: 16/8;
  object-fit: cover;
  background: var(--verde);
}

.frase {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 10px;
  background-color: rgba(0,0,0,0.3);
  backdrop-filter: blur(2px);
  transition: opacity 0.2s ease;
  padding: 1rem;
}

.frase.visivel { opacity: 0; pointer-events: none; }

.frase h1 {
  font-family: 'Kooka Regular', system-ui, sans-serif;
  font-size: 3rem;
  line-height: 1.15;
  color: white;
  margin: 0;
}

.frase h1 .kooka { font-family: 'Kooka Black', system-ui, sans-serif; color: var(--rosa); }

.botao-video {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 1.5rem;
  background-color: rgba(239, 126, 136, 0.9);
  padding: 0.6rem 1.2rem;
  border-radius: 10px;
  transition: box-shadow 0.2s ease;
  color: white;
  font-weight: 600;
}

.botao-video:hover { box-shadow: 5px 5px 15px rgba(0,0,0,0.3); }

.botao-video p { margin: 0; }

.controls-container {
  position: absolute;
  bottom: 1.5rem;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 2px;
}

.control-btn {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  border: none;
  color: white;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.control-btn:hover { background-color: rgba(255,255,255,0.5); }

.controls-inactive { display: none; }

/* ---------- Projetos ---------- */
.filtros {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.filtro {
  background: white;
  border: 1px solid var(--ciano);
  color: var(--verde);
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filtro:hover { background: var(--ciano); }

.filtro.ativo { background: var(--amarelo); border-color: var(--amarelo); color: var(--preto); font-weight: 700; }

.grade-projetos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.projeto {
  position: relative;
  display: block;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 8px 22px -10px rgba(0,0,0,0.25);
}

.projeto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.projeto:hover img { transform: scale(1.08); }

.projeto-nome {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1rem;
  background: linear-gradient(0deg, rgba(0,0,0,0.75), transparent);
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
}

/* ---------- Quem Somos ---------- */
.secao-somos {
  background: var(--verde);
  color: white;
  max-width: none;
  padding-left: 6%;
  padding-right: 6%;
}

.somos-conteudo { max-width: 1200px; margin: 0 auto; }

.somos-texto {
  max-width: 680px;
  font-size: 1.05rem;
  opacity: 0.95;
}

.equipe-titulo {
  max-width: 1200px;
  margin: 3rem auto 1.5rem;
  font-size: 1.5rem;
  color: var(--rosa);
}

.equipe-grade {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1.2rem;
}

.pessoa {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.pessoa img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 10px 20px -10px rgba(0,0,0,0.4);
}

.pessoa span { font-family: 'Isidora Sans SemiBold', system-ui, sans-serif; font-size: 0.95rem; }

/* ---------- O Que Fazemos ---------- */
.servicos-grade {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.servico {
  position: relative;
  min-height: 260px;
  border-radius: 10px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: white;
  isolation: isolate;
}

.servico::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17,77,102,0.95), rgba(17,77,102,0.15));
  z-index: -1;
}

.servico h3 {
  font-family: 'Isidora Sans SemiBold', system-ui, sans-serif;
  text-transform: uppercase;
  font-size: 1.1rem;
  margin: 0 0 0.6rem;
}

.servico p {
  font-size: 0.85rem;
  line-height: 1.4;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  margin: 0;
}

.servico:hover p,
.servico:focus-within p {
  max-height: 220px;
  opacity: 1;
  margin-top: 0.4rem;
}

/* ---------- Clientes ---------- */
.secao-clientes { text-align: center; }

.clientes-grade {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 2rem;
  align-items: center;
  margin-top: 2.5rem;
}

.cliente img {
  max-height: 42px;
  margin: 0 auto;
  filter: grayscale(1);
  opacity: 0.7;
  transition: all 0.2s ease;
}

.cliente img:hover { filter: none; opacity: 1; }

/* ---------- Contato ---------- */
.contato-grade {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contato-item {
  display: block;
  font-family: 'Isidora Sans Bolder', system-ui, sans-serif;
  font-size: 1.4rem;
  color: var(--verde);
  margin-bottom: 0.5rem;
}

.endereco {
  font-family: 'Isidora Sans SemiBold', system-ui, sans-serif;
  color: var(--verde);
  margin: 1.5rem 0;
}

.redes-sociais { display: flex; gap: 1.2rem; }

.mapa { border-radius: 10px; }

/* ---------- Rodapé ---------- */
.rodape {
  text-align: center;
  padding: 2rem;
  font-size: 0.85rem;
  color: var(--verde);
}

/* ---------- Responsivo ---------- */
@media (max-width: 800px) {
  .nav-toggle { display: flex; }
  .links-container {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--verde);
    flex-direction: column;
    gap: 0;
    padding: 1rem 6%;
  }
  .links-container.aberto { display: flex; }
  .links-container li { padding: 0.7rem 0; }

  .frase h1 { font-size: 2rem; line-height: 1.2; }
  .video-i { aspect-ratio: 4/5; }
  .titulo-secao { font-size: 2.5rem; }

  .contato-grade { grid-template-columns: 1fr; }
}
