/* RESET */
* {

  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: 'Fredoka', sans-serif;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* Destaque visual para seções quando navegadas pelo footer */
@keyframes highlightPulse {
  0% { box-shadow: inset 0 0 0 0 rgba(117, 187, 214, 0); }
  50% { box-shadow: inset 0 0 30px 5px rgba(117, 187, 214, 0.3); }
  100% { box-shadow: inset 0 0 0 0 rgba(117, 187, 214, 0); }
}

.highlight-section {
  animation: highlightPulse 1.5s ease-in-out;
}

/* LAYOUT BASE */
body {
  padding-top: 60px;
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
}

main {
  width: 100%;
  max-width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}



/* HEADER */
header {
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.158);
}

.header-logo img {
  width: 65px;
  margin-left: 20px;
  margin-top: 7px;
  padding: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.header-logo img:hover {
  transform: scale(1.1);
}

.header-btn {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 25px;
  margin: 0 20px;
  flex-wrap: wrap;
}

.header-btn a {
  text-decoration: none;
  color: #75BBD6;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 8px 12px;
  border-radius: 5px;
}

.header-btn a:hover {
  color: #fff;
  background-color: #75BBD6;
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(117, 187, 214, 0.3);
}

.header-btn button {
  background-color: #75BBD6;
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.header-btn button:hover {
  background-color: #45B7D1;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(75, 183, 209, 0.4);
}

/* Menu Hambúrguer */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-right: 20px;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 1001;
  padding: 10px;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: #75BBD6;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

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

@media (max-width: 768px) {
  body {
    padding-top: 60px;
  }

  .header-btn {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    background-color: #fff;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 999;
  }

  .header-btn.active {
    max-height: 300px;
  }

  .header-btn a {
    padding: 15px 20px;
    display: block;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
    width: 100%;
  }

  .header-btn a:hover {
    background-color: #f5f5f5;
    color: #75BBD6;
    transform: none;
  }

  .header-btn div {
    padding: 15px 20px;
    display: block;
    width: 100%;
  }

  .header-btn button {
    width: calc(100% - 40px);
    padding: 12px 20px;
    margin: 5px 20px;
  }

  .menu-toggle {
    display: flex;
  }

  .header-logo img {
    width: 50px;
    margin-left: 10px;
    padding: 3px;
  }
}



.sobre-nos {
  margin: 0;
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 100px;
  padding: 60px 20px;
}

.container-sobre {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.sobre-title {
  font-size: 32px;
  margin: 0 0 20px 0;
  font-weight: 700;
  color: #333333e5;
  text-align: center;
}

.sobre-img {
  width: 100%;
  display: flex;
  justify-content: center;
}

.sobre-img img {
  width: 420px;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.sobre-texto {
  width: 100%;
  max-width: 1000px;
  margin: 0;
  line-height: 2;
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  text-align: center;
  font-weight: 400;
  color: #333333d8;
  font-size: 20px;
}

.sobre-texto p {
  margin: 0;
}

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

.body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: auto;
  font-family: sans-serif;
}

.carousel-container {
  perspective: 1200px;
  width: 100%;
  max-width: 100%;
  height: 50vh;
  min-height: 450px;
  max-height: 650px;
  overflow: visible;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.carousel {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform-origin: center center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-item {
  position: absolute;
  width: 160px;
  /* 9:16 proporção */
  height: 285px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  backface-visibility: hidden;
  transition: transform 0.1s linear;
  margin-top: 40px;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========================= */
/*   CARROSSEL RESPONSIVO    */
/* ========================= */

@media (max-width: 1024px) {
  .carousel-item {
    width: 145px;
    height: 260px;
  }

  .carousel-container {
    height: 48vh;
  }
}

@media (max-width: 768px) {
  .carousel-item {
    width: 130px;
    height: 232px;
  }

  .carousel-container {
    height: 45vh;
    min-height: 350px;
  }

  .sobre-nos {
    padding: 40px 15px;
  }

  .sobre-img img {
    width: 280px;
  }

  .sobre-texto {
    font-size: 16px;
    line-height: 1.6;
  }

  .title {
    font-size: 28px;
    margin: 40px 0 30px 0;
  }

  .carousel-footer {
    padding: 15px 15px 0 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    gap: 12px;
  }

  .carousel-footer p {
    font-size: 16px;
  }

  .btn-galeria {
    padding: 10px 24px;
    font-size: 14px;
  }

  .fale-conosco {
    padding: 40px 15px;
  }

  .form-group input,
  .form-group textarea {
    font-size: 16px;
    padding: 10px;
  }

  .btn-enviar {
    padding: 10px 20px;
    font-size: 14px;
  }
}


@media (max-width: 480px) {
  .carousel-item {
    width: 110px;
    height: 196px;
  }

  .carousel-container {
    height: 40vh;
    min-height: 300px;
  }

  .sobre-nos {
    padding: 30px 15px;
  }

  .sobre-img img {
    width: 200px;
  }

  .sobre-texto {
    font-size: 14px;
    line-height: 1.5;
  }

  .title {
    font-size: 22px;
    margin: 30px 0 20px 0;
  }

  .carousel-footer {
    padding: 15px 15px 0 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    gap: 10px;
  }

  .carousel-footer p {
    font-size: 14px;
  }

  .btn-galeria {
    padding: 8px 20px;
    font-size: 12px;
  }

  .fale-conosco {
    padding: 30px 15px;
  }

  .fale-formulario {
    padding: 0;
  }

  .form-group input,
  .form-group textarea {
    font-size: 16px;
    padding: 12px;
  }

  .btn-enviar {
    padding: 10px 20px;
    font-size: 14px;
    margin-top: 5px;
  }

  body {
    padding-top: 60px;
  }

  main {
    padding: 0;
  }
}

/* ========================= */
/*    CAROUSEL FOOTER        */
/* ========================= */

.carousel-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 50px 20px 0 20px;
  text-align: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  margin-top: 40px;
  margin-bottom: 20px;
  padding-bottom: 20px;
}

.carousel-footer p {
  font-size: 18px;
  color: #333;
  font-weight: 500;
  margin: 0;
}

.btn-galeria {
  display: inline-block;
  padding: 12px 32px;
  background-color: #75BBD6;
  color: #fff;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(117, 187, 214, 0.3);
}

.btn-galeria:hover {
  background-color: #45B7D1;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(75, 183, 209, 0.4);
}

.btn-galeria:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(75, 183, 209, 0.3);
}

@media (max-width: 768px) {
  .carousel-footer {
    padding: 30px 15px;
    gap: 12px;
  }

  .carousel-footer p {
    font-size: 16px;
  }

  .btn-galeria {
    padding: 10px 24px;
    font-size: 14px;
  }
}


/* ========================= */
/*      FALE CONOSCO        */
/* ========================= */

.fale-conosco {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 60px 20px;
  scroll-margin-top: 100px;
}

.title {
  font-size: 36px;
  margin: 20px 0 40px 0;
  font-weight: 700;
  color: #333333e5;
  text-align: center;
  line-height: 1.2;
}

.container-fale {
  width: 100%;
  display: flex;
  justify-content: center;
}

.fale-formulario {
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 0;
  padding: 0 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group input,
.form-group textarea {
  padding: 12px;
  border: 2px solid #75BBD6;
  border-radius: 8px;
  font-family: 'Fredoka', sans-serif;
  font-size: 14px;
  color: #333333;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #45B7D1;
  box-shadow: 0 0 8px rgba(75, 183, 209, 0.3);
}

.form-group textarea {
  resize: vertical;
}

.btn-enviar {
  padding: 12px 30px;
  background-color: #75BBD6;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: 'Fredoka', sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.btn-enviar:hover {
  background-color: #45B7D1;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(75, 183, 209, 0.3);
}

/* CSS CONFETES */
.confete {
  position: absolute;
  bottom: -20px;
  border-radius: 50%;
  pointer-events: none;
  animation: subirConfete linear forwards;
  box-shadow: inset -2px -2px 5px rgba(0, 0, 0, 0.2), inset 2px 2px 5px rgba(255, 255, 255, 0.3);
}

@keyframes subirConfete {
  0% {
    transform: translateY(0) rotateZ(0deg);
    opacity: 1;
  }

  100% {
    transform: translateY(-100vh) rotateZ(360deg);
    opacity: 0;
  }
}




/* CSS BALOES */

.balloon {
  position: fixed;
  /* muda de absolute para fixed */
  font-size: 15px;
  /* tamanho do balão */
  pointer-events: none;
  opacity: 0.2;
  z-index: 9999;
  /* acima de todos os elementos */
  animation: floatUp 4s ease-out forwards;
  border: none;
}

@keyframes floatUp {
  0% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0.9;
  }

  100% {
    transform: translate(var(--x), -80px) rotate(45deg);
    opacity: 0;
  }
}


/* CSS BALOES */

/* ========================= */
/*          FOOTER           */
/* ========================= */

footer {
  background: #75BBD6;
  color: #fff;
  padding: 40px 20px 20px;
  margin-top: 60px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-section h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.footer-section p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 14px;
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(5px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 2px solid rgba(255, 255, 255, 0.2);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

/* Responsivo Footer */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .footer-section h3 {
    font-size: 16px;
  }

  .footer-section p {
    font-size: 13px;
  }

  footer {
    padding: 30px 15px 15px;
    margin-top: 40px;
  }
}

@media (max-width: 600px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-section h3 {
    font-size: 16px;
  }

  .footer-section p {
    font-size: 13px;
  }

  footer {
    padding: 25px 15px 15px;
    margin-top: 30px;
  }

  .footer-bottom {
    padding-top: 15px;
    font-size: 12px;
  }
}

/* ========================= */
/*    BOTÃO VOLTA AO TOPO    */
/* ========================= */

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: #3ab7d3;
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(117, 187, 214, 0.4);
}

.back-to-top:hover {
  background-color: #31bfdf;
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(75, 183, 209, 0.5);
}

.back-to-top.show {
  display: flex;
}

/* Responsivo - Botão Back to Top */
@media (max-width: 600px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
}


/* ===== FOOTER GRID ===== */
.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: start;
}

/* garante padrão igual às outras colunas */
.footer-section {
    display: flex;
    flex-direction: column;
}

/* ===== REDES SOCIAIS ===== */
.footer-social {
    gap: 12px;
}

.footer-social .social-wrapper {
    display: flex;
    gap: 12px;
}

.footer-social .social-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social .social-btn img {
    width: 20px;
    height: 20px;
    fill: #000;
  }
  
  .footer-social .social-btn:hover {
    transform: scale(1.1);
    opacity: 0.85;
  }
  
  .footer-social .social-btn img {
    width: 32px;
    height: 32px;
    fill: #000;
    border-radius: 50%;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}
