/* Complete redesign to match premium layout with modern styling */
html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: #f8fbee;
}

header {
  background: #c2e93a;
  padding: 10px;
  text-align: center;
}

header img {
  height: 50px;
}

#banner {
  padding: 30px 15px;
}

.container {
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
  padding: 0 15px;
}

.banner-soda {
  background-image: url(https://mistysodasfit.com.br/wp-content/uploads/2025/12/BG-SODA-2.webp);
  background-size: cover;
  background-position: center center;
  height: 680px;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: center;
  align-items: center;
  padding-left: 100px;
  border-radius: 40px;
}

.banner-soda img {
  height: 200px;
}

.card-serrrano-holder {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
}

.cards-esq {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
}

.card-saude {
  flex: 1 1 36%;
  padding: 30px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 10px;
  transition: 200ms ease-in-out;
  cursor: default;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -1px;
  color: #41423a;
}

.card-saude svg {
  height: 50px;
  background: #f9fbee;
  padding: 11px;
  border-radius: 100px;
  fill: #41423a;
  margin-bottom: 10px;
  overflow: visible;
}

.card-saude h3 {
  font-size: 40px;
  text-transform: none;
  letter-spacing: -2px;
  font-weight: 500;
  line-height: 1.1;
  color: #41423a;
}

.card-saude p {
  max-width: 268px;
}

.cards-esq .card-saude:nth-child(1) {
  background: #ff8065;
}

.cards-esq .card-saude:nth-child(2) {
  background: #c2e93a;
}

.card-saude-grande {
  padding: 30px;
  display: flex;
  flex-direction: column;
  background: #ffea01;
  color: #41423a;
  border-radius: 15px;
  gap: 20px;
}

.card-saude-grande h3 {
  font-size: 50px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -2px;
}

.serrano-foto {
  flex: 1;
  background-image: url(https://mistysodasfit.com.br/wp-content/uploads/2025/12/serrano-soda-2.webp);
  background-size: cover;
  border-radius: 30px;
}

.sodas-holder {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
}

.soda-card {
  flex: 1;
  border-radius: 20px;
  background: #eef0e3;
  overflow: hidden;
}

.soda-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 20px;
}

.content-soda {
  padding: 30px;
  text-align: center;
}

.content-soda span {
  text-transform: uppercase;
  font-size: 20px;
  letter-spacing: -1px;
  color: #232711;
  opacity: 70%;
  line-height: 1;
}

.content-soda h3 {
  font-family: "mazurquica-vf", sans-serif;
  font-variation-settings: "wght" 600;
  text-transform: uppercase;
  font-size: 80px;
  line-height: 0.8;
  color: #232711;
}

.holder-kcal {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
  gap: 10px;
}

.card-kcal h4 {
  background: #c2e93a;
  text-transform: uppercase;
  font-size: 25px;
  color: #232711;
  line-height: 1;
  padding: 10px 10px 5px 10px;
  letter-spacing: -1px;
  font-weight: 600;
  border-radius: 7px;
}

.card-kcal p {
  background: #f8fbee;
  font-size: 16px;
  color: #232711;
  line-height: 1;
  display: inline-block;
  width: fit-content;
  padding: 7px 15px;
  font-weight: 600;
  border-radius: 0 0 7px 7px;
}

.card-kcal {
  flex: 1;
}

#sodas-cardapio {
  margin: 60px 0;
}

footer {
  background: #232711;
  text-align: center;
  color: #fff;
  padding: 15px;
}

/* Ajustes para o Card e Vídeo */
.soda-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  /* Garante que o card mantenha o estilo existente */
}

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16; /* Ajuste conforme a proporção real do seu vídeo, ou deixe auto */
  overflow: hidden;
  border-radius: 20px; /* Arredondamento igual ao design Misty */
  background-color: #f0f0f0;
}

.soda-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 20px;
}

/* Botão Ver Receita */
.btn-ver-receita {
  display: block;
  width: 100%;
  padding: 12px 0;
  margin-top: 15px;
  background-color: transparent;
  border: 1px solid #232711;
  border-radius: 10px;
  color: #232711;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.btn-ver-receita:hover {
  background-color: #232711;
  color: #fff;
  transform: translateY(-2px);
}

/* --- MODAL STYLES --- */
.misty-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}

.misty-modal.active {
  opacity: 1;
  visibility: visible;
}

.misty-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.misty-modal-container {
  position: relative;
  background: #c2e93a;
  width: 100%;
  max-width: 600px;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-align: center;
}

.misty-modal.active .misty-modal-container {
  transform: scale(1);
}

.misty-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #333;
  line-height: 1;
}

.misty-modal-header h2 {
  font-size: 45px;
  letter-spacing: -2px;
  margin-bottom: 0;
  line-height: 1;
  color: #1c1e15;
  font-weight: 500;
}

.misty-modal-header p {
  color: #f8fbee;
  font-size: 16px;
  width: fit-content;
  background: #1c1e15;
  margin: 10px auto;
  padding: 5px 20px;
  border-radius: 5px;
}

.recipe-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
}

.recipe-option {
  flex: 1;
  background: #f8fbee;
  box-shadow: 3px 2px 17px #00000021;
  padding: 20px;
  border-radius: 10px;
  text-align: left;
  border: 1px solid #ffffff4f;
}

.recipe-option h3 {
  font-size: 1.1rem;
  margin: 10px 0 15px;
  color: #000;
  font-weight: 700;
}

.icon-recipe {
  font-size: 2rem;
}

.recipe-option ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
  color: #444;
}

.recipe-option li {
  margin-bottom: 8px;
  line-height: 1.4;
}

.recipe-option li.instruction {
  margin-top: 15px;
  font-style: italic;
  color: #666;
  border-top: 1px solid #ddd;
  padding-top: 10px;
}

.recipe-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #999;
  font-size: 0.8rem;
  align-self: center;
}

.ingredientes {
  color: #232711;
  margin-top: 10px;
}

/* Responsividade do Modal */
@media (max-width: 600px) {
  .misty-modal-container {
    padding: 25px;
  }
  .recipe-grid {
    flex-direction: column;
  }
  .recipe-divider {
    width: 100%;
    margin: 10px 0;
  }
}

@media screen and (max-width: 768px) {
  .misty-modal {
    align-items: flex-start;
    overflow-y: scroll;
  }

  .banner-soda img {
    width: 100%;
    height: auto;
  }

  .banner-soda {
    background-image: url(https://mistysodasfit.com.br/wp-content/uploads/2025/12/BG-MOB-SODA-2.webp);
    padding: 30px;
    justify-content: flex-start;
    padding-top: 100px;
  }

  .card-serrrano-holder {
    flex-direction: column-reverse;
  }

  .cards-esq {
    flex-direction: column-reverse;
  }

  .serrano-foto {
    flex: inherit;
    height: 400px;
    width: 100%;
    border-radius: 20px;
  }

  .sodas-holder {
    flex-direction: column;
  }
}