/* ===============================
   PÁGINA PROGRAMA TEIA
================================ */
/* =========================================================
   01. FONTES
========================================================= */

@font-face {
  font-family: "TanBuste";
  src: url("fonts/TANBUSTER-fonts.otf") format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "AristotelicaPro";
  src: url("fonts/Zetafonts - Aristotelica Pro Text Extralight.otf")
    format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "TanParadiso";
  src: url("fonts/TAN-PARADISO.ttf") format("truetype");
  font-display: swap;
}

.teia-page {
  --vinho: #642435;
  --vinho-escuro: #421827;
  --dourado: #edbf8d;
  --creme: #faf3eb;
  --texto: #392c31;

  font-family: "AristotelicaPro", Arial, sans-serif;
  color: var(--texto);
  overflow: hidden;
}

.teia-page *,
.teia-page *::before,
.teia-page *::after {
  box-sizing: border-box;
}

.teia-container {
  width: min(1150px, 92%);
  margin: auto;
}

.teia-page h1,
.teia-page h2,
.teia-page h3,
.teia-page p {
  margin-top: 0;
}

.teia-page h1,
.teia-page h2 {
  font-family: "TanBuste", Georgia, serif;
}

.teia-page p {
  line-height: 1.8;
}

.teia-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 2px;
  margin-bottom: 18px;
}

/* ===============================
   HERO
================================ */

.teia-hero {
  background: var(--vinho);
  padding: 100px 0;
  color: #fff;
}

.teia-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 55px;
}

.teia-hero .teia-tag {
  color: var(--dourado);
}

.teia-hero h1 {
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.6;
  overflow-wrap: break-word;
  margin-bottom: 20px;
}

.teia-hero h1 span {
  color: var(--dourado);
}

.teia-hero h2 {
  font-size: clamp(19px, 2.5vw, 26px);
  color: var(--dourado);
  line-height: 1.45;
  margin-bottom: 20px;
}

.teia-hero p {
  font-size: 17px;
  max-width: 480px;
  margin-bottom: 32px;
}

.teia-hero-imagem {
  width: 100%;
  height: 420px;
  overflow: hidden;
  border-radius: 170px 170px 24px 24px;
  border: 5px solid var(--dourado);
}

.teia-hero-imagem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===============================
   BOTÃO PRINCIPAL
================================ */

.teia-botao {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 15px 28px;
  background: var(--dourado);
  color: var(--vinho-escuro);
  border-radius: 30px;
  text-decoration: none;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  transition: 0.3s;
}

.teia-botao:hover {
  background: #fff;
  transform: translateY(-3px);
}

/* ===============================
   SOBRE O TEIA
================================ */

.teia-sobre {
  background: var(--creme);
  padding: 95px 0;
}

.teia-titulo {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 45px;
}

.teia-titulo .teia-tag {
  color: var(--vinho);
}

.teia-titulo h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  color: var(--vinho);
  line-height: 1.3;
  margin-bottom: 18px;
}

.teia-titulo p {
  font-size: 16px;
}

.teia-sobre-texto {
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
}

.teia-sobre-texto p {
  font-size: 16px;
  margin-bottom: 18px;
}

.teia-ods-geral {
  text-align: center;
  margin-top: 45px;
}

.teia-ods-geral h3 {
  font-family: "TanParadiso", Georgia, serif;
  font-size: 22px;
  color: var(--vinho);
  margin-bottom: 18px;
}

.teia-lista-ods,
.teia-card-ods {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}

.teia-lista-ods {
  justify-content: center;
}

.teia-lista-ods img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

/* ===============================
   PROJETOS
================================ */

.teia-projetos {
  padding: 100px 0;
  background: #fff;
  scroll-margin-top: 85px;
}

.teia-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 25px;
}

.teia-card {
  background: var(--creme);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.08);
  border: 1px solid #ecd8d0;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.teia-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.13);
}

.teia-card-foto {
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: #e8d9d0;
}

.teia-card-foto img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.4s;
}

.teia-card:hover .teia-card-foto img {
  transform: scale(1.05);
}

.teia-card-conteudo {
  padding: 27px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.teia-categoria {
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 1px;
  color: var(--vinho);
  margin-bottom: 12px;
}

.teia-card h3 {
  font-family: "TanParadiso", Georgia, serif;
  font-size: 23px;
  line-height: 1.3;
  color: var(--vinho);
  margin-bottom: 15px;
}

.teia-card p {
  font-size: 15px;
  margin-bottom: 24px;
}

.teia-card-ods {
  margin-top: auto;
  margin-bottom: 25px;
}

.teia-card-ods img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.teia-btn-projeto {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: var(--vinho);
  color: white;
  padding: 14px 20px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: 0.3s;
}

.teia-btn-projeto:hover {
  background: var(--vinho-escuro);
  transform: translateY(-2px);
}

/* ===============================
   CTA
================================ */

.teia-cta {
  padding: 95px 20px;
  background: var(--vinho);
  text-align: center;
  color: white;
}

.teia-cta .teia-container {
  max-width: 780px;
}

.teia-cta .teia-tag {
  color: var(--dourado);
}

.teia-cta h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.3;
  margin-bottom: 22px;
}

.teia-cta p {
  font-size: 17px;
  margin-bottom: 30px;
}

/* ===============================
   ANIMAÇÃO
================================ */

.teia-page.teia-js .teia-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.teia-page.teia-js .teia-reveal.visivel {
  opacity: 1;
  transform: translateY(0);
}

/* ===============================
   RESPONSIVO - TABLET
================================ */

@media (max-width: 900px) {
  .teia-hero {
    padding: 70px 0;
  }

  .teia-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .teia-hero-texto {
    text-align: center;
  }

  .teia-hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .teia-hero-imagem {
    max-width: 550px;
    height: 360px;
    margin: auto;
  }

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

  .teia-sobre,
  .teia-projetos {
    padding: 75px 0;
  }
}

/* ===============================
   RESPONSIVO - CELULAR
================================ */

@media (max-width: 600px) {
  .teia-container {
    width: 90%;
  }

  .teia-hero {
    padding: 65px 0;
  }

  .teia-hero h1 {
    font-size: 36px;
  }

  .teia-hero h2 {
    font-size: 20px;
  }

  .teia-hero p {
    font-size: 15px;
  }

  .teia-hero-imagem {
    height: 270px;
    border-radius: 95px 95px 20px 20px;
  }

  .teia-sobre,
  .teia-projetos,
  .teia-cta {
    padding: 65px 0;
  }

  .teia-titulo {
    margin-bottom: 35px;
  }

  .teia-titulo h2,
  .teia-cta h2 {
    font-size: 28px;
  }

  .teia-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .teia-card-foto {
    height: 230px;
  }

  .teia-card-conteudo {
    padding: 25px 22px;
  }

  .teia-card h3 {
    font-size: 23px;
  }

  .teia-lista-ods img {
    width: 50px;
    height: 50px;
  }

  .teia-cta p {
    font-size: 15px;
  }
}

/* ===============================
   CELULARES PEQUENOS
================================ */

@media (max-width: 400px) {
  .teia-hero h1 {
    font-size: 31px;
  }

  .teia-hero h2 {
    font-size: 18px;
  }

  .teia-hero-imagem {
    height: 220px;
  }

  .teia-titulo h2,
  .teia-cta h2 {
    font-size: 25px;
  }

  .teia-card-foto {
    height: 200px;
  }

  .teia-card h3 {
    font-size: 21px;
  }

  .teia-card-ods img {
    width: 34px;
    height: 34px;
  }

  .teia-botao,
  .teia-btn-projeto {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .teia-page.teia-js .teia-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =====================================
   TEIA - PÁGINA EM TELA INTEIRA
===================================== */

/* Remove margens externas */
html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
}

body {
  overflow-x: hidden;
}

/* Página completa */
.teia-page {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

/* Todas as seções ocupam a largura total */
.teia-hero,
.teia-sobre,
.teia-projetos,
.teia-cta {
  width: 100%;
  max-width: none;
  margin: 0;
}

/* Conteúdo aproveita toda a tela */
.teia-container {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding-left: 5%;
  padding-right: 5%;
}

/* =====================================
   HERO - ALTURA DA TELA
===================================== */

.teia-hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 70px 0;
}

.teia-hero-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.teia-hero-imagem {
  width: 100%;
  max-width: none;
  height: 500px;
}

/* =====================================
   SEÇÃO SOBRE
===================================== */

.teia-sobre {
  width: 100%;
  padding: 100px 0;
}

.teia-sobre-texto {
  max-width: 1000px;
}

/* =====================================
   PROJETOS
===================================== */

.teia-projetos {
  width: 100%;
  padding: 100px 0;
}

.teia-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.teia-card {
  width: 100%;
}

.teia-card-foto {
  height: 280px;
}

/* =====================================
   CTA FINAL
===================================== */

.teia-cta {
  width: 100%;
  padding: 100px 0;
}

/* =====================================
   RESPONSIVO TABLET
===================================== */

@media (max-width: 900px) {
  .teia-container {
    padding-left: 4%;
    padding-right: 4%;
  }

  .teia-hero-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .teia-hero {
    min-height: 100svh;
  }

  .teia-hero-imagem {
    width: 100%;
    max-width: 600px;
    height: 380px;
    margin: auto;
  }

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

/* =====================================
   RESPONSIVO CELULAR
===================================== */

@media (max-width: 600px) {
  .teia-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .teia-hero {
    min-height: 100svh;
    padding: 60px 0;
  }

  .teia-hero-grid {
    grid-template-columns: 1fr;
  }

  .teia-hero-imagem {
    height: 270px;
  }

  .teia-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .teia-card-foto {
    height: 230px;
  }

  .teia-sobre,
  .teia-projetos,
  .teia-cta {
    padding: 65px 0;
  }
}

@media (max-width: 400px) {
  .teia-container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .teia-hero-imagem {
    height: 220px;
  }
}
