/* ======== BASE ======== */

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

@font-face {
  font-family: 'Bicyclette';
  src: url('./Fontes/Bicyclette-Light.woff2') format('woff2'),
       url('./Fontes/Bicyclette-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
    font-family: 'Bicyclette';
    src: url('./Fontes/Bicyclette-Regular.woff2') format('woff2'),
        url('./Fontes/Bicyclette-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Bicyclette';
    src: url('./Fontes/Bicyclette-Black.woff2') format('woff2'),
        url('./Fontes/Bicyclette-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Bicyclette';
    src: url('./Fontes/Bicyclette-Bold.woff2') format('woff2'),
        url('./Fontes/Bicyclette-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Instrument Serif';
    src: url('./Fontes/InstrumentSerif-Italic.woff2') format('woff2'),
        url('./Fontes/InstrumentSerif-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Instrument Serif';
    src: url('./Fontes/InstrumentSerif-Regular.woff2') format('woff2'),
        url('./Fontes/InstrumentSerif-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


body {
    font-family: 'Bicyclette', 'Gill Sans', sans-serif;
    font-weight: 300;
    font-size: 1em;
    background: #FBF9E7;
    color: #1f3fc3;
    margin: 0; /* Adicionado: remove margem padrão do body */
    padding: 0;
    overflow-x: hidden; /* Evita rolagem horizontal */
}

/* ======== HEADER ======== */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px;
    background-color: transparent;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
}

#logo {
    height: 68px; 
    width: auto;  
    margin: 18px 28px;
}

    .floating-menu {
      position: fixed;
      top: 28px;
      right: 28px;
      display: flex;
      align-items: center;
      gap: 15px;
      z-index: 1000;
    }

/* Remove o texto interno do botão se houver */
.menu-button {
  width: 48px;
  height: 48px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #FFEDA8;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
}

/* Hamburger base */
.hamburger {
  width: 24px;
  height: 2px;
  background-color: #312F2C;
  position: relative;
  transition: 0.3s ease;
}

.hamburger::before,
.hamburger::after {
  content: "";
  width: 24px;
  height: 2px;
  background-color: #312F2C;
  position: absolute;
  left: 0;
  transition: 0.3s ease;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  top: 8px;
}

/* Animação opcional ao abrir */
#nav-links.show ~ #mobile-menu .hamburger {
  background-color: transparent;
}

#nav-links.show ~ #mobile-menu .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

#nav-links.show ~ #mobile-menu .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}



    #nav-links {
      display: flex;
      flex-direction: row;
      gap: 12px;
    }

    /* Links ocultos por padrão */
    #nav-links li {
      list-style: none;
      opacity: 0;
      transform: translateX(-20px);
      pointer-events: none;
    }

    #nav-links.show li {
      animation: fadeInLeft 0.4s forwards;
      pointer-events: auto;
    }

    /* Animação aplicada com delay em cada link */
    #nav-links.show li:nth-child(1) { animation-delay: 0.1s; }
    #nav-links.show li:nth-child(2) { animation-delay: 0.2s; }
    #nav-links.show li:nth-child(3) { animation-delay: 0.3s; }
    #nav-links.show li:nth-child(4) { animation-delay: 0.4s; }

    @keyframes fadeInLeft {
      from {
        opacity: 0;
        transform: translateX(-20px);
      }
      to {
        opacity: 1;
        transform: translateX(0);
      }
    }

    #nav-links a {
      background-color: #FFEDA8;
      color: #312F2C;
      margin: 24px 12px;
      padding: 14px 20px 10px;
      border: none;
      border-radius: 80px;
      cursor: pointer;
      transition: 0.3s;
      text-decoration: none;
      letter-spacing: 0.2px;
      font-weight: 500;
      z-index: 9999;
    }

    #nav-links a:hover {
      background-color: #1f3fc3;
      color: #FBF9E7;
    }


/* ======== LANDING ======== */

#landing {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 110vh;
  overflow: hidden;
  background: transparent; /* deixa o fundo do body aparecer */
}

.landing-blobs-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

#loader {
  position: absolute;
  width: 100%;
  height: 100%;
}


.landing-blobs-background svg {
  width: 100%;
  height: 100%;
}

.blobs {
  filter: url(#goo);
}

.blob {
  fill: white;
  will-change: transform;
  backface-visibility: hidden;
  transform-origin: center center;
}

.landing-container {
  position: relative;
  z-index: 0;
  width: 90%;
  max-width: 1400px;
  text-align: center;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -10%;
}

.landing-container h1 {
  font-size: 7.4em;
  text-align: center;
  font-weight: lighter;
  letter-spacing: 4px;
  max-width: 60%;
  margin: auto;
  line-height: 1em;
  z-index: 0;
}

.landing-container h3 {
  font-size: 1.5em;
  margin: 20px;
  opacity: 0.85;
  font-family: 'Bicyclette', 'Gill Sans', sans-serif;
  font-weight: 300;

}


/* ======== GALERIA ======== */

#carrossel {
  padding: 120px 0 30px;
  background-color: #FBF9E7;
  border-radius: 50px 50px 0px 0px;
  margin-top: -50px;
}

.portfolio {
  display: flex;
  flex-direction: column;
  height: 780px;
  width: 100%;
  margin: 80px auto;
}

.scroll-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  height: 680px; /* para encaixar altura da imagem + margens */
}

.carousel {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  animation: scroll-horizontal 30s linear infinite;
  width: max-content;
}

.carousel-track img {
  aspect-ratio: 3 / 4;
  height: auto;
  width: auto;
  max-height: 680px;
  flex-shrink: 0;
  margin-right: 20px;
  object-fit: cover;
  border-radius: 3%;
}

/* Scroll infinito verdadeiro */
@keyframes scroll-horizontal {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Pausa ao passar o mouse */
.carousel-track:hover {
  animation-play-state: paused;
}

/* ======== SERVIÇOS ======== */

h1 {
  font-family: 'Instrument Serif', 'Cambria', serif;
  font-weight: 300;
  font-size: 2.4em;
  letter-spacing: 4px;
  text-transform: uppercase;
  text-align: left;
  z-index: 1000;
  line-height: 1.4em;
}

h2 {
    font-family:'Bicyclette', 'Gill Sans', sans-serif;
    text-align: center;
    font-size: 1.4em;
    letter-spacing: 2px;
    margin:auto;
    padding: 20px auto;
    text-transform: uppercase;
}

h3 {
    font-family: 'Instrument Serif', 'Cambria', serif;
    font-weight: lighter;
    text-align: center;
    font-size: 1.4em;
  letter-spacing: 4px;
    margin:auto;
    padding-top: 120px;
    text-transform: uppercase;
}

#servicos p {
    line-height: 1.6;
    max-width: 800px;
    margin-bottom: 20px;
}

table {
    width:90%;
    margin: 10px auto;
}

td {
    width:40%;
    text-align: left;
    padding: 20px 60px;
    vertical-align: middle;
}

#servicos {
  background-color: #FFEDA8;
  color: #312F2C;
  border-radius: 50px 50px 0px 0px;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  margin: 110px auto 0px;
  padding: 160px 0 210px;
}

.buttonmais {
  padding: 12px 20px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #FBF9E7;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  position: relative;
  color:#312F2C;
  text-decoration: none;
  font-weight: 500;
  width:  40%;
  margin: 28px 4px;
  letter-spacing: 0.2px;
}

.buttonmais:hover {
  background-color: #1f3fc3;
  color:#FBF9E7;

}

.coluna-titulo {
  width: 33%;
  display: flex;
  align-items: center;         /* centraliza verticalmente */
  justify-content: center;     /* ✅ centraliza o bloco .conteudo-titulo horizontalmente */
  margin:auto;
}

.conteudo-titulo {
  max-width: 300px;
  width: 100%;
  text-align: justify;            /* ✅ garante que o texto fique alinhado à esquerda */
}

.conteudo-titulo p {
  font-size:1.4em;
}

.coluna-titulo h2 {
  text-align: start;
  margin: 0;
  font-size: 2.4em;
}

.coluna-servicos {
  width: 60%;
  padding: 8px;
  display: flex;
  justify-content: center; /* centraliza horizontalmente o conteúdo */
}

.lista-servicos {
  max-width: 530px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 58px;
}

.ordem {
  border: 0px solid #ccc;
  background-color: none;
}

.ordem h1 {
  margin: 0 0 8px;
}

.ordem h2 {
 padding: 0px;
 font-weight: 700;
 text-align: left;
}

.ordem p {
  font-size: 1.1em;
  margin: 0;
  letter-spacing: 0.3px;
  text-align: left;
  line-height: 1.2;

}

/* ======== SOBRE ======== */

#sobre {
  background-color: #1f3fc3;
  color:#FBF9E7;
  border-radius: 50px 50px 0px 0px;
  padding-top:180px;
  padding-bottom: 400px;
  box-sizing: border-box;
  display: flex;
  justify-content: center; /* centraliza conteúdo horizontalmente */
  /* Remova margin: auto daqui */
  overflow: visible; /* permite que elementos absolutos ou deslocados extrapolem */
}

.conteudo-sobre {
  display: flex;
  position: relative;
  gap: 40px;
  max-width: 1100px; /* controla largura máxima do conteúdo */
  width: 100%;
  align-items: center;
  left: 3%;
  /* Remova margin: auto daqui */
}

.texto-sobre {
  flex: 1;
  max-width: 680px;
  text-align: left;
  position: relative;
  z-index: 1; /* fica acima da imagem */
}

.texto-sobre h2 {
  font-size: 2.4em;
  margin-bottom: 42px;
}

.bio p {
  margin-bottom: 16px;
  line-height: 1.6;
  font-size: 1.1em;
  letter-spacing: 0.2px;

}


.imagem-sobre-wrapper {
  width: 40%;
  position: relative;
  top: 80%;
  left: -8%;
  transform: translateY(-50%);
  overflow: visible;
}

.imagem-sobre {
  width: 100%;
  opacity: 0; /* inicia invisível para animação */
}

.imagem-sobre img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  border-radius: 3%;
}

/* FOOTER */

#footer {
  background-color: #FFEDA8;
  color: #312F2C;
  padding: 180px 20px 40px;
  border-radius: 50px 50px 0px 0px;
  margin-top: -50px; /* <-- interseção de 80px */
  position: relative;
  z-index: auto;
}

#footerlogo {
    height: 88px; 
    width: auto;  
    margin: 0;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  justify-content: space-between;
  flex-wrap: wrap; /* para responsividade */
}

.footer-col {
  flex: 1 1 300px; /* cresce, encolhe, base 300px */
}

.footer-col h3 {
  margin: 0;
  padding: 0;
  text-align: left;
  font-size:3em;
}

.footer-col h2 {
  margin: 0;
  padding: 8px;
  text-align: right;
  color:#312F2C;
}

#footer a {
  color:#312F2C;
  font-weight: bold;
}

#footer a:hover {
  text-decoration: none;
  font-weight: 300;
}

.footer-col p,
.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col a {
  color: #1f3fc3;
  text-decoration: none;
}

.footer-col a:hover {
  text-decoration: underline;
}

#footer p {
  text-align: center;
  font-size: 0.8em;
  margin: 120px 0 0;
  font-weight: 500;
}

/* ===================== RESPONSIVIDADE ===================== */

/* Tablets */
@media (max-width: 1024px) {
  .landing-container h1 {
    font-size: 6em;
  }

  .portfolio {
    height: 600px;
  }

  .scroll-container {
    height: 520px;
  }

  .carousel-track img {
    max-height: 520px;
  }

  #servicos {
    flex-direction: column;
    padding: 100px 20px 120px;
  }

  .buttonmais {
   align-items: center;
   justify-content: center;
   margin: 40px auto;
  }

  .coluna-titulo,
  .coluna-servicos {
    width: 100%;
    max-width: 100%;
    padding: 0px;
  }

  .buttonmais {
    margin-bottom:40px;
  }

  .conteudo-titulo {
    text-align: center;
  }

  .conteudo-sobre {
    flex-direction: column;
    left: 0;
    padding: 0 34px;
  }

  .texto-sobre {
  z-index: 0; /* fica acima da imagem */
}

  .imagem-sobre-wrapper {
    width: 100%;
    position: static;
    transform: none;
    margin: 20px 14px 0px;
  }
}

/* Celulares */
@media (max-width: 768px) {
  #logo {
    height: 48px;
    margin: 12px 16px;
  }

  #landing {
    height: 100vh;
  }

  .blob {
    transform: scale(1.3);
    margin-top: 10%;
  }

  .landing-container h1 {
    font-size: 5em;
    max-width: 100%;
  }

  .landing-container h3 {
    font-size: 1em;
  }

  #carrossel {
    padding: 100px 0 0;
  }

  .portfolio {
    height: 400px;
    margin: 40px auto;
  }

  .scroll-container {
    height: 300px;
  }

  .carousel-track img {
    max-height: 300px;
    margin-right: 12px;
  }

  h1 {
    font-size: 1.6em;
  }

  h2 {
    font-size: 1.2em;
  }

  .coluna-titulo h2, #sobre h2 {
    font-size: 1.8em;
    text-align: center;
  }

  h3 {
    font-size: 1em;
    padding-top: 80px;
    
  }

  .lista-servicos {
    gap: 40px;
    padding: 0px 18px 0 18px;
  }

  #servicos p {
    text-align:left;
    font-size: 1em;
  }

  #sobre {
    flex-direction: column;
    padding: 100px 22px; /* <-- padding nas laterais */
    text-align: center; /* opcional: centraliza o texto */
    z-index: auto;
  }

  #sobre p {
    font-size: 1em;
    text-align: left;
    letter-spacing: 0.3px;
    z-index: auto;

  }

  .conteudo-sobre {
    flex-direction: column;
    align-items: center;
    gap: 32px;
    left: 0;
    padding: 0;
  }

  .texto-sobre {
    width: 100%;
  }

  .texto-sobre h2 {
    text-align: center;
    font-size: 2em;
  }

  .imagem-sobre-wrapper {
    width: 100%;
    position: static;
    transform: none;
    margin-top: 12px;
    padding-bottom: 60px;
  }

#footer {
    padding: 80px 24px; /* <-- padding nas laterais */
    text-align: center; /* opcional: centraliza o texto */
}

  .footer-container {
    flex-direction: column;
    gap: 0px;
  }

  .footer-col {
    flex: 1 1 100%;
  }

  #footer h3 {
    padding:40px;
    font-size:1.6em;
    text-align: center;
  }

  .footer-col h2 {
    font-size:1.2em;
    text-align: center;
  }

  .footer-container {
    flex-direction: column;
    gap: 0px;
  }

  .footer-col {
    flex: 1 1 100%;
  }
 
  #mobile-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FFEDA8;
    width: 42px;
    height: 42px;
    margin: 0px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1001;
  }

  .ordem h2 {
    padding: 0;
    font-weight: 700;
    text-align: left;
    font-size: 1.2em; /* ou o tamanho que usa no desktop */
    letter-spacing: 2px;
  }
}

  .hamburger {
    width: 24px;
    height: 2px;
    background-color: #312F2C;
    position: relative;
    transition: 0.3s ease;
  }

  .hamburger::before,
  .hamburger::after {
    content: "";
    width: 24px;
    height: 2px;
    background-color: #312F2C;
    position: absolute;
    left: 0;
    transition: 0.3s ease;
  }

  .hamburger::before {
    top: -8px;
  }

  .hamburger::after {
    top: 8px;
  }

  #nav-links.show + #mobile-menu .hamburger {
    background-color: transparent;
  }

  #nav-links.show + #mobile-menu .hamburger::before {
    transform: rotate(45deg);
    top: 0;
  }

  #nav-links.show + #mobile-menu .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
  }

  /* Oculta os links por padrão */
  #nav-links {
    display: none;
    flex-direction: column;
    gap: 32px;
    background-color: #FFEDA8;
    position: absolute;
    top: 70px;
    right: 20px;
    padding: 40px 40px;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 9999;

  }

  #nav-links.show {
    display: flex;
    z-index: 9999;
  }

  #nav-links li {
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto;
  }
