/* styles.css */
/* === Variáveis de cor (Tema Claro) === */
/* Fonte: Paleta Oficial de Cores :contentReference[oaicite:1]{index=1} */
:root {
  /* Cores principais do projeto */
  --primary: #c6a25f !important; /* Vinho escuro */
  --secondary: rgb(229, 143, 72) !important; /* Verde musgo */
  --success: #6c5c35 !important; /* Dourado fosco */
  --info: #efe5dc !important; /* Creme claro */
  --warning: #f89a56 !important; /* Argila suave */
  --dark: #191919 !important; /* Grafite para textos */
  --light: #fafafa !important; /* Fundo neutro e suave */

  /* Paleta de apoio semântica (ex: hover, borders) */
  --border-color: #c9a86a;
  --body-color: var(--light);
  --body-bg: var(--light);
  --secction-bg: rgba(212, 203, 178, 0.115);

  /* Modificações específicas para contraste e foco */
  --link-color: #6b1e1e;
  --link-hover-color: #b89b5e;
  --btn-hover-border-color: #b89b5e;

  --accent-warm: #ffb347 !important; /* Coral suave para botões secundários */
  --btn-highlight-hover: #e3cea7 !important; /* Hover CTA discreto */
  --badge-warning: #ffd700 !important; /* Amarelo ouro para ícones de atenção */
}

/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Tipografia */
body {
  font-family: "Open Sans", sans-serif;
  color: var(--body-color);
  background-image: url("../../assets/img/bg-vinicola-2.webp");
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100vh;
  z-index: 1;
  background-color: rgba(11, 11, 11, 0.8);
  backdrop-filter: blur(5px);
}

body > * {
  position: relative;
  z-index: 1;
}

h1,
h2,
h3 {
  font-family: "Noto Serif", serif;
  color: var(--primary);
  text-align: left;
  margin-bottom: 2rem;
}

h2 {
  text-align: center;
  margin: 4rem 0 0;
  font-size: 2rem;
}

@media screen and (max-width: 768px) {
  h1,
  h2,
  h3 {
    text-align: center;
  }
}

p {
  margin-bottom: 1rem;
  color: var(--body-color);
  line-height: 1.6;
  text-align: justify;
}

/* Container geral */
.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

.container-intro {
  max-width: 1100px;
  margin: auto;
  padding: 4rem 0;
}

.hero {
  width: 100%;
  min-height: 100vh;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0rem 0rem 2rem;
}

.hero-content {
  text-align: center;
  padding: 2rem;
  padding-bottom: 4rem;
  width: 100%;
  max-width: 1000px;
}

.hero-content p {
  color: var(--info) !important;
  margin-bottom: 1rem;
  font-weight: bold;
  text-align: center;
  font-size: 1.125rem;
}

.divider {
  width: 100%;
  max-width: 140px;
  height: auto;
  margin: auto;
  margin-bottom: 2rem;
  display: block;
}

.logo-sdva {
  display: block;
  max-width: auto;
  max-height: 420px;
  margin: 0.5rem auto;
}

.img-fluid {
  max-width: 100%; /* nunca fique maior que o container */
  max-height: 100%; /* ajusta a altura proporcionalmente */
}

/* Botões */
.btn {
  font-size: 1.25rem;
  display: inline-block;
  text-decoration: none;
  font-weight: 800;
  padding: 1.5rem 2rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  min-width: 250px;
}

.btn-primary {
  background-color: var(--link-color);
  color: var(--light);
  border: 2px solid var(--border-color);
}

.btn-primary:hover {
  background-color: var(--btn-highlight-hover);
  color: var(--link-color);
  font-weight: bolder;
  border-color: var(--btn-hover-border-color);
}

/* Benefícios */
#beneficios .benefits-list {
  list-style: none;
  justify-self: center;
}
.benefits-list li::marker {
  content: "◉  ";
  color: var(--secondary);
  font-size: 1.25rem;
}
.benefits-list li {
  margin-bottom: 1rem;
  line-height: 1.5;
}

@media (max-width: 886px) {
  #beneficios .benefits-list {
    list-style: none;
    justify-self: start;
    margin-left: 2rem;
  }
}

/* Programação */
.step {
  margin-top: 1.5rem;
  margin-left: 2rem;
}

.step h3 {
  margin: 2.5rem 0 1rem;
  color: var(--secondary);
  font-weight: bolder;
}
.step ul {
  list-style: none;
  margin-left: 4rem;
}

.step ul li::marker {
  content: "◉  ";
  color: var(--secondary);
  font-size: 1.25rem;
}

@media (max-width: 886px) {
  /* Programação */
  .step {
    margin-top: 1.5rem;
    margin: 0;
  }

  .step h3 {
    text-align: left;
  }

  .step ul {
    margin-left: 2rem;
  }
}
/* ===== Seção Bônus ===== */
#bonus {
  padding: 4rem 0;
  width: 100%;
  background-color: var(--secction-bg);
  border-left: 5px solid var(--primary);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 2rem 4rem 4rem;
  margin-bottom: 8rem;
}

.bonus-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}
.bonus-image {
  flex: 1 1 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bonus-content {
  flex: 2 1 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bonus-content h2 {
  text-align: left;
}

.bonus-content h3 {
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.bonus-content p {
  font-size: 1rem;
  color: var(--body-color);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.btn-secondary {
  align-self: start;
  background-color: var(--link-color);
  color: var(--light);
  border: 2px solid var(--btn-hover-border-color);
}

.btn-secondary:hover {
  background-color: var(--btn-highlight-hover);
  color: var(--dark);
  border-color: var(--primary);
}

/* Seção “Por que fazer seu próprio vinho?” */
#por-que-fazer-vinho {
  background-color: var(--secction-bg);
  border-left: 5px solid var(--primary);
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  padding: 1rem 4rem 4rem;
  margin-bottom: 8rem;
}

.section-bigidea {
  display: flex;
  flex-direction: row;
  gap: 4rem;
}

.bigidea-list {
  list-style: none;
  margin: 2rem 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bigidea-list li {
  font-size: 1.125rem;
  margin: 0.75rem 0 2rem 2rem;
}

.bigidea-list li::marker {
  content: "✔  ";
  color: var(--secondary);
}

.bigidea-image {
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  margin-left: 1rem;
}

.price-highlight {
  font-family: "Noto Serif", serif;
  max-width: 600px;
  margin: auto;
  margin-top: 2rem;
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 2rem;
  padding: 1rem;
  text-align: center;
  border-radius: 12px;
  background: var(--light);
  border: 2px solid var(--border-color);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  &:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }
}

#vinhateiros-image-bigidea-top {
  display: none;
}

#vinhateiros-image-bigidea-bottom {
  display: block;
}

/* ===== WhatsApp Button ===== */
.whatsapp-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1000;
}

/* botão */
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s, filter 0.2s;
  animation: float 18s linear infinite;
}
.whatsapp-btn svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}
.whatsapp-btn:hover,
.whatsapp-btn:focus {
  transform: translateY(-3px) scale(1.05);
  filter: brightness(1.1);
}

/* animação de flutuação */
@keyframes float {
  0%,
  100% {
    transform: translate(0, 0);
  }
  12.5% {
    transform: translate(-4px, -4px);
  }
  25% {
    transform: translate(-8px, 6px);
  }
  37.5% {
    transform: translate(-11px, -3px);
  }
  50% {
    transform: translate(-15px, 4px);
  }
  62.5% {
    transform: translate(-10px, -2px);
  }
  75% {
    transform: translate(-7px, 6px);
  }
  87.5% {
    transform: translate(-4px, -4px);
  }
}

/* balão de fala */
/* balão aprimorado */
.chat-bubble {
  position: absolute;
  bottom: 70px; /* ajuste conforme necessário */
  right: 0;
  max-width: 160px;
  padding: 0.75rem;
  background: #fff;
  border: 2px solid #6b1e1e; /* contorno vinho */
  border-radius: 16px; /* cantos arredondados */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* sombra suave */
  color: #333;
  font-size: 0.875rem;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

/* ponteiro do balão: camada de contorno */
.chat-bubble::before {
  content: "";
  position: absolute;
  bottom: -14px; /* posicione o contorno abaixo */
  right: 14px; /* alinhe horizontalmente */
  border-width: 14px 10px 0 10px;
  border-style: solid;
  border-color: #6b1e1e transparent transparent transparent;
}

/* ponteiro do balão: camada interna */
.chat-bubble::after {
  content: "";
  position: absolute;
  bottom: -12px; /* leve ajuste para ficar dentro */
  right: 16px;
  border-width: 12px 8px 0 8px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
}

/* exibição controlada via JS */
.chat-bubble.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Testemunhos ===== */
.testimonials {
  min-height: 75vh;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonials__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}

/* ===== Card ===== */
.card {
  background-color: var(--secction-bg);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 2, 0.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-left: 5px solid var(--primary);
}

.card__header {
  display: flex;
  align-items: center;
  padding: 2rem;
  background-color: rgb(29, 19, 1);
}

.card__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1rem;
}

.card__info {
  flex: 1;
}

.card__name {
  margin: 0;
  font-size: 1.2rem;
  color: var(--secondary);
  text-align: left;
}

.card__city {
  margin: 0.25rem 0 0 0;
  font-size: 0.9rem;
  color: #cdc7b3; /* verde suave */
}

/* ===== Texto ===== */
.card__text {
  padding: 2rem;
  text-align: justify;
}
/* ===== Detalhes expandidos ===== */
.card__toggle {
  display: block;
  position: relative;
  padding: 1rem 0;
  font-size: 0.9rem;
  color: var(--secondary);
  cursor: pointer;
}

.card__toggle:hover {
  text-decoration: underline;
}

.card__details[open] .card__toggle::after {
  content: "(ler menos...)";
}

.card__details:not([open]) .card__toggle::after {
  content: " (ler mais...)";
}

/* ===== FAQ ===== */
#faq {
  padding: 2rem 4rem 6rem 4rem;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--secction-bg);
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  border-left: 5px solid var(--primary);
  margin: 8rem 0;
}

.faq__list {
  list-style: none;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 0;
}

.faq__item + .faq__item {
  margin-top: 2rem;
}

.faq__details {
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background: #fff;
  overflow: hidden;
}

.faq__question {
  display: block;
  position: relative;
  padding: 1rem 1rem 1rem 2.5rem;
  font-family: "Open Sans", sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
}

/* Remove marcador padrão */
.faq__question::-webkit-details-marker {
  display: none;
}
.faq__question::marker {
  font-size: 0;
}

/* Ícone de seta */
.faq__question::before {
  content: "▶";
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  transition: transform 0.3s ease;
  color: var(--secondary);
}

/* Gira seta quando aberto */
.faq__details[open] .faq__question::before {
  transform: translateY(-50%) rotate(90deg);
}

.faq__answer {
  padding: 0 1rem 1rem 2.5rem;
  font-family: "Open Sans", sans-serif;
  font-size: 1rem;
  color: var(--body-color);
  line-height: 1.6;
}

/* ===== Seção Sobre Nós ===== */
.about {
  background: var(--secction-bg);
  padding: 2rem 4rem 6rem 4rem;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  border-left: 5px solid var(--primary);
}

.about h2 {
  margin-bottom: 0;
}

.about__content {
  display: flex;
  flex: 0 0 1;
  flex-direction: row-reverse;
  justify-content: stretch;
  gap: 4rem;
}

.about__image {
  width: 100%;
  height: 100%;
  max-height: 700px;
  overflow: hidden;
  border-radius: 20px;
  border: 4px solid var(--border-color);
}

.about__image img {
  object-fit: cover;

  width: auto;
  height: 100%;
}

.about__description {
  flex: 1 1 1;
  width: 100%;
  max-width: 600px;
}

.about__title {
  margin-bottom: 0;
}

/* Ajuste para telas pequenas */
@media (max-width: 868px) {
  .card {
    margin-right: 1rem;
  }

  .card__header,
  .card__text {
    padding: 2rem 1rem;
  }

  #faq {
    padding: 2rem 1rem 4rem 1rem;
  }

  .about {
    padding: 2rem 1rem;
  }

  .about__content {
    flex-direction: column;
  }

  .about__image {
    flex: none;
    width: 100%;
    height: 500px;
    overflow: hidden;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    color: var(--secondary);
  }

  .logo-sdva {
    max-width: 300px;
  }

  #bonus {
    padding: 1rem;
  }

  .bonus-card {
    display: inline;
    padding: 0;
    margin: 0;
  }

  .bonus-image {
    display: flex;
    flex-direction: column-reverse;
  }

  .bonus-image img {
    max-width: 100%;
    max-height: auto;
    margin: 2rem 2rem 0;
  }

  .bonus-content {
    display: block;
    width: 100%;
    margin: 0;
  }

  .bonus-content h3 {
    font-size: 1.5rem;
    text-align: center;
    margin: 0 0 2rem;
  }

  #por-que-fazer-vinho {
    border-left: 5px solid var(--primary);
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    margin-bottom: 8rem;
  }

  .section-bigidea {
    display: inline;
  }
  .bigidea-image {
    margin-left: 0rem;
    margin-top: 1rem;
  }

  #vinhateiros-image-bigidea-top {
    display: block;
  }

  #vinhateiros-image-bigidea-bottom {
    display: none;
  }

  .btn-secondary {
    width: 100%;
    text-align: center;
    margin-top: 1rem;
  }

  .about__image img {
    width: 100%;
  }
}
/* ===== Footer ===== */
.footer {
  background-color: var(--dark);
  color: var(--light);
  padding: 3rem 1rem 1rem;
  margin-top: 4rem;
}
.footer__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  align-items: start;
  max-width: 1200px;
  margin: 0 auto 2rem;
}
.footer__brand {
  text-align: center;
}
.footer__logo {
  max-width: 120px;
  margin-bottom: 0.5rem;
}
.footer__slogan {
  font-family: "Open Sans", sans-serif;
  font-size: 0.9rem;
  color: var(--info);
}
.footer__title {
  font-family: "Noto Serif", serif;
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: var(--success);
}
.footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer__link {
  text-decoration: none;
  color: var(--light);
  font-size: 0.9rem;
  display: inline-block;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}
.footer__link:hover {
  color: var(--success);
}
.footer__icons {
  display: flex;
  gap: 1rem;
}
.footer__icon svg {
  width: 24px;
  height: 24px;
  fill: var(--light);
  transition: fill 0.2s;
}
.footer__icon:hover svg {
  fill: var(--success);
}
.footer__bottom {
  text-align: center;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  font-size: 0.8rem;
  color: var(--info);
}

/* Responsividade */
@media (max-width: 600px) {
  .footer__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer__nav,
  .footer__contact,
  .footer__social {
    margin-top: 1.5rem;
  }
}
