/*variaveis das cores*/
:root {
    --cor-header: #1a1a1a; 
    --cor-destaque: #8b0000;
    --cor-texto: #333; 
    --cor-background: #f4f6f8;
    --cor-destaque-vivo: red;
}

/*deixar tudo mais clean*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/*configs gerais*/
body {
  font-family: system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  background-color: var(--cor-background);
  color: var(--cor-texto);
}

/*topo*/
header {
    text-align: center;
}

.logo {
    width: 240px;
    height: auto;
    margin-bottom: 1rem;
    animation: pulsar 3s infinite alternate ease-in-out; /*animação logo pulsar*/
    filter: drop-shadow(5px 15px 18px rgba(252, 116, 25, 0.4)) /*sombras em volta da logo*/
}

@keyframes pulsar { /*animação pra fzr a logo pulsar*/
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

.topo {
  text-align: center;
  background: #1a1a1a;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  color: white;
}

.topo h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
}

.topo p {
  font-size: medium;
}

/*menu*/
.menu {
  position: sticky;
  top: 0;
  background-color: var(--cor-destaque);
  z-index: 1000;
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1rem;
  flex-wrap: wrap;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.menu a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: color 0.3s ease, transform 0.3s ease; /*animação mudança de cor */
}

.menu a:hover {
  color: #ffcccc;
  transform: translateY(-3px); /*animação subir levemente no hover */
}

/* apresentação do site */
.apresentacao {
  max-width: 800px;
  margin: 4rem auto;
  text-align: center;
  padding: 0 20px;
}

@keyframes surgirDeBaixo {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.titulo-apresentacao {
  font-family: "Sancreek", serif;
  color: var(--cor-destaque);
  font-size: clamp(3rem, 6vw, 4.5rem); 
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1); 
  opacity: 0; 
  animation: surgirDeBaixo 1s ease-out forwards; 
}

.texto-apresentacao {
  font-size: 1.3rem; 
  margin-bottom: 1rem;
  line-height: 1.8;
  color: var(--cor-texto);
  font-family: system-ui, -apple-system, sans-serif;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  animation: surgirDeBaixo 1s ease-out forwards;
  animation-delay: 0.5s; 
}

/* cards index */
.secao-cards {
    max-width: 1200px;
    margin: 2rem auto 6rem auto;
    padding: 0 20px;
}

.cards-container {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.card-tema {
    background-color: white;
    width: calc(33.333% - 2.5rem);
    min-width: 280px; 
    border-radius: 15px;
    overflow: hidden; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 2rem;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    opacity: 0;
    animation: surgirDeBaixo 0.8s ease-out forwards;
}

.card-tema:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 30px rgba(221, 17, 10, 0.25); 
}

.card-tema img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid var(--cor-destaque);
}

.card-tema h3 {
    font-family: "Sancreek", serif; 
    color: var(--cor-destaque);
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    padding: 0 1rem;
}

.card-tema p {
    color: var(--cor-texto);
    padding: 0 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    flex-grow: 1;
    font-family: 'Merriweather', serif;
    line-height: 1.6;
}

.btn-card {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background-color: var(--cor-header);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    font-family: 'Merriweather', serif;
    font-weight: 700;
}

.card-tema:hover .btn-card {
    opacity: 1;
    transform: translateY(0);
}

.btn-card:hover {
    background-color: red;
    color: white;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.4);
}

@media (max-width: 900px) {
    .card-tema {
        width: calc(50% - 2.5rem);
    }
}

@media (max-width: 650px) {
    .card-tema {
        width: 100%;
    }
}

/*marcas parceiras*/
/*sem javascript, foi feito em que um momento q a ultima marca passa a lista é duplicada na caixa
ai tem uma ilusão de ótica q faz a linha deslizar e no final da animação ela anda -50%
como foi pensado nisso? nem te conto*/
.secao-parceiros {
    padding: 4rem 20px;
    background-color: var(--cor-background);
    text-align: center;
    overflow: hidden; 
    margin-bottom: 4rem;
}

.titulo-parceiros {
    font-family: "Sancreek", serif;
    color: var(--cor-destaque);
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 2.5rem;
}

.carrossel-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.carrossel-trilha {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: deslizar 20s linear infinite;
}

.carrossel-trilha:hover {
    animation-play-state: paused;
}

.marca-item {
    background-color: #2a2a2a;
    color: var(--cor-background);
    padding: 1rem 3rem;
    border-radius: 8px;
    font-family: 'Merriweather', serif;
    font-size: 1.2rem;
    font-weight: bold;
    border: 1px solid #444;
    white-space: nowrap; 
    transition: transform 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.marca-item:hover {
    transform: scale(1.1);
    border-color: var(--cor-destaque);
    color: var(--cor-destaque-vivo);
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.4);
}

@keyframes deslizar {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 15px)); } 
}

/*FAQ*/
/* =========================================
   SECÇÃO FAQ (Perguntas Frequentes - HTML Puro)
   ========================================= */
.secao-faq {
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 20px;
}

.titulo-faq {
    font-family: "Sancreek", serif;
    color: var(--cor-destaque);
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
    margin-bottom: 2.5rem;
}

.faq-item {
    background-color: white;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    overflow: hidden;
    border-left: 4px solid transparent;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Quando o details está aberto, a barra lateral fica vermelha */
.faq-item[open] {
    border-left-color: var(--cor-destaque);
}

.faq-item summary {
    padding: 1.5rem;
    font-family: 'Merriweather', serif;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    list-style: none; /* Remove a seta padrão do HTML */
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--cor-texto);
    transition: color 0.3s ease;
}

.faq-item summary:hover {
    color: var(--cor-destaque);
}

/* Remove a seta padrão em navegadores WebKit (Safari/Chrome antigos) */
.faq-item summary::-webkit-details-marker {
    display: none;
}

/* Adiciona um ícone + personalizado à direita */
.faq-item summary::after {
    content: "+";
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--cor-destaque);
    transition: transform 0.3s ease;
}

/* Roda o ícone + para formar um x quando está aberto */
.faq-item[open] summary::after {
    transform: rotate(45deg); 
}

.faq-item p {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: #555;
    font-size: 1.05rem;
    line-height: 1.6;
    animation: deslizarBaixoFAQ 0.4s ease-out forwards; /* Mais uma animação para os requisitos! */
}

/* Animação que faz o texto deslizar e aparecer suavemente ao abrir */
@keyframes deslizarBaixoFAQ {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Rodapé */
.rodape {
    background-color: var(--cor-header);
    color: white;
    padding: 4rem 20px 1rem 20px;
    margin-top: 4rem; 
}

.rodape-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.rodape-info p {
    color: #aaa;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.logo-rodape {
    width: 180px;
    margin-bottom: 1rem;
    filter: grayscale(100%) brightness(200%); 
    transition: filter 0.3s ease;
}

.logo-rodape:hover {
    filter: grayscale(0%) brightness(100%); 
}

.redes-sociais {
    display: flex;
    gap: 1rem;
}

.redes-sociais a {
    color: white;
    text-decoration: none;
    background-color: #333;
    padding: 0.5rem 1.2rem;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
}

.redes-sociais a:hover {
    background-color: var(--cor-destaque);
    transform: translateY(-3px);
}

.rodape-form-container h3 {
    font-family: "Sancreek", serif;
    color: var(--cor-destaque);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.rodape-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-group {
    position: relative;
}

.rodape-form input, .rodape-form select {
    width: 100%;
    padding: 1rem;
    background-color: #2a2a2a;
    border: 1px solid #444;
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    font-family: inherit;
}

.rodape-form input:focus, .rodape-form select:focus {
    border-color: var(--cor-destaque);
    box-shadow: 0 0 8px rgba(221, 17, 10, 0.4); 
}

.input-group label {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    transition: all 0.3s ease;
    pointer-events: none;
}

.rodape-form input:focus + label, .rodape-form input:not(:placeholder-shown) + label {
    top: 0;
    font-size: 0.85rem;
    background-color: var(--cor-header);
    padding: 0 0.5rem;
    color: var(--cor-destaque);
    font-weight: bold;
}

/* Botão Enviar */
.btn-enviar {
    background-color: var(--cor-destaque);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.btn-enviar:hover {
    background-color: #ff1a1a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(221, 17, 10, 0.4);
}

/* Direitos Autorais */
.rodape-direitos {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 1.5rem;
    color: #666;
    font-size: 0.9rem;
}

@media (max-width: 850px) {
    .rodape-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .redes-sociais {
        justify-content: center;
    }
}

/* gross css */
.secao-bebida {
      max-width: 1100px;
      margin: 3rem auto;
      display: flex;
      gap: 2rem;
      align-items: center;
      background: white;
      padding: 2rem;
      border-radius: 12px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      flex-wrap: wrap;
    }

.secao-bebida img {
      width: 350px;
      max-width: 100%;
      border-radius: 10px;
      object-fit: cover;
    }

    .texto-bebida {
      flex: 1;
    }

    .texto-bebida h2 {
      color: var(--cor-destaque);
      margin-bottom: 1rem;
      font-family: "Sancreek", serif;
    }

     @media (max-width: 768px) {
      .secao-bebida {
        flex-direction: column;
        text-align: center;
      }
    }
    
/*Animação que faz a trilha deslizar*/
@keyframes deslizar {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 15px)); } /* Movimenta metade da fila para o loop perfeito */
}

/* responsividade p celular não quebrar as 3 grid */
@media (max-width: 768px) {
    .bebida-card {
        width: 280px;
    }
}

/*fabricio css*/
.pagina-fabricio {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 20px;
}

.destaque-pascoa {
    text-align: center;
    margin-bottom: 4rem;
    padding: 3rem;
    background-color: var(--cor-header);
    border-radius: 15px;
    color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.titulo-pascoa {
    font-family: "Sancreek", serif;
    color: var(--cor-destaque);
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1rem;
}

.subtitulo-pascoa {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 700px;
    margin: 0 auto;
}

.card-bebida-pascoa {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card-bebida-pascoa:nth-child(even) {
    flex-direction: row-reverse;
}

.card-bebida-pascoa:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(139, 0, 0, 0.2);
}

.info-bebida {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.info-bebida h2 {
    font-family: "Sancreek", serif;
    color: var(--cor-destaque);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.info-bebida p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.img-bebida {
    width: 350px;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
    border: 4px solid var(--cor-background);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-comprar {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--cor-destaque);
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    font-family: 'Merriweather', serif;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.card-bebida-pascoa:hover .btn-comprar {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.btn-comprar:hover {
    background-color: red;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .card-bebida-pascoa, 
    .card-bebida-pascoa:nth-child(even) {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .info-bebida {
        align-items: center;
    }

    .img-bebida {
        width: 100%;
        height: auto;
    }

    .btn-comprar {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* banner leve kit*/
.banner-kit-completo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #1a1a1a 0%, #3a0a0a 100%);
    padding: 3rem 4rem;
    border-radius: 20px;
    margin-bottom: 4rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    gap: 2rem;
    flex-wrap: wrap;
}

.info-kit {
    flex: 1;
    min-width: 300px;
    color: white;
}

.info-kit h2 {
    font-family: "Sancreek", serif;
    color: #ffcccc;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.info-kit p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #ddd;
}

.preco-box {
    margin-bottom: 2rem;
}

.preco-de {
    display: block;
    font-size: 1.1rem;
    color: #999;
    text-decoration: line-through;
}

.preco-por {
    display: block;
    font-size: 2.2rem;
    font-weight: bold;
    color: #4bb71b;
    font-family: 'Merriweather', serif;
}

.btn-comprar-combo {
    display: inline-block;
    background-color: var(--cor-destaque-vivo, red);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.4);
}

.btn-comprar-combo:hover {
    transform: translateY(-5px) scale(1.05);
    background-color: #cc0000;
}

/* O agrupamento das 5 garrafas */
.garrafas-agrupadas {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 300px;
}

.garrafas-agrupadas img {
    width: 75px;
    height: 240px;
    object-fit: cover;
    border-radius: 8px;
    border: none;
    margin: 0 -12px; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    transition: transform 0.4s ease, z-index 0.4s ease;
}

.garrafas-agrupadas .garrafa-centro {
    width: 100px;
    height: 280px;
    z-index: 5; 
    border-color: var(--cor-destaque);
}

.garrafas-agrupadas img:hover {
    transform: translateY(-20px);
    z-index: 10; 
}

@media (max-width: 850px) {
    .banner-kit-completo {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    
    .garrafas-agrupadas {
        margin-top: 2rem;
    }
    
    .garrafas-agrupadas img {
        width: 50px;
        height: 160px;
        margin: 0 -8px;
    }
    
    .garrafas-agrupadas .garrafa-centro {
        width: 70px;
        height: 190px;
    }
}


/*Sucesso html*/
.fundo-sucesso {
    background-color: var(--cor-header);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.container-sucesso {
    background-color: var(--cor-background);
    padding: 4rem 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    max-width: 500px;
    width: 90%;
    animation: surgirDeBaixo 0.6s ease-out forwards;
}

.titulo-sucesso {
    font-family: "Sancreek", serif;
    color: #4bb71b;
    font-size: 2.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.texto-sucesso {
    font-size: 1.1rem;
    color: var(--cor-texto);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.texto-redirecionamento {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 1.5rem;
}

.btn-voltar-home {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: transparent;
    color: var(--cor-texto);
    text-decoration: none;
    font-weight: bold;
    border: 2px solid #ccc;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-voltar-home:hover {
    border-color: var(--cor-destaque);
    color: var(--cor-destaque);
    background-color: #fff0f0;
}

.checkmark {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: block;
    stroke-width: 4;
    stroke: #4bb71b;
    stroke-miterlimit: 10;
    margin: 0 auto;
    box-shadow: inset 0px 0px 0px #4bb71b;
    animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 4;
    stroke-miterlimit: 10;
    stroke: #4bb71b;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% { stroke-dashoffset: 0; }
}

@keyframes scale {
    0%, 100% { transform: none; }
    50% { transform: scale3d(1.1, 1.1, 1); }
}

@keyframes fill {
    100% { box-shadow: inset 0px 0px 0px 60px transparent; }
}

.loader-linha {
    height: 4px;
    width: 100%;
    background-color: #eee;
    border-radius: 2px;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.loader-linha::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: var(--cor-destaque);
    animation: carregar 5s linear forwards; /* 5s é o mesmo tempo do meta refresh */
}

@keyframes carregar {
    100% { width: 100%; }
}