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

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Inter", sans-serif;
  background-color: #f7f7f5;
  color: #2b2b2b;
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
  line-height: 1.5;
}

body.home {
  height: 100vh;
  overflow: hidden;
}

/* ===============================
   HEADER & NAV
=============================== */

header {
  height: 70px;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e6e6e6;
}

header h1 {
  margin: 0;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  font-weight: 500;
}

nav a {
  color: #4a4a4a;
  font-weight: 500;
  text-decoration: none;
}

nav a:hover {
  color: #000;
}

/* ===============================
   HOME 
=============================== */

.background-text {
  position: fixed;
  top: 45%;
  left: 0;
  width: 100vw;
  pointer-events: none;
  z-index: 0;
}

.background-text span {
  display: inline-block;
  white-space: nowrap;
  font-size: clamp(4rem, 12vw, 10rem);
  letter-spacing: 0.05em;
  color: rgba(0, 0, 0, 0.04);
}

.editorial-hero {
  height: calc(100vh - 70px);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.editorial-image {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.editorial-image img {
  height: 78vh;
  max-height: 750px;
  object-fit: contain;
  box-shadow:
    0 30px 50px -15px rgba(0, 0, 0, 0.25),
    0 5px 15px rgba(0, 0, 0, 0.05);
}

.photo-wrapper {
  position: relative;
  display: inline-block;
}

.photo-credit {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  background-color: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 0.6rem;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  letter-spacing: 0.02em;
}

.home-note {
  position: absolute;
  left: 2.5rem;
  bottom: 3rem;
  max-width: 280px;
  font-size: 0.85rem;
  line-height: 1.5;
}

.home-note .note-muted {
  color: #666;
  font-style: italic;
}
/* ===============================
   HERO HEADER (HOME)
=============================== */

.hero h1 {
  font-size: 1.2rem;
  font-weight: 700;
}

.hero .slogan {
  font-size: 0.9rem;
  display: block;
  margin-top: 0.4rem;
  color: #666;
}

/* ===============================
   GLOBAL CONTAINERS
=============================== */

.page-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* ===============================
   SHARE — INTRO
=============================== */

#intro-text {
  margin-bottom: 2.5rem;
}

#intro-text h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

#intro-text p {
  font-size: 1rem;
  color: #555;
}
.form-info {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  font-size: 0.8rem;
  color: #666;
  margin-top: 1rem;
  margin-bottom: 2.5rem;
}

.form-info span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* ===============================
   SHARE — FORM STRUCTURE
=============================== */

.form-section {
  border: none;
  padding: 0;
  margin-bottom: 3rem;
}

.form-section legend {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 1.2rem;
}

label {
  font-size: 0.9rem;
  font-weight: 500;
}

.helper-text {
  font-size: 0.8rem;
  color: #777;
}
.review-guidelines {
  margin: 2.5rem 0 1.5rem 0;
  padding: 1.2rem 1.2rem;
  background-color: #f1f1ee;
  border-left: 3px solid #7a1f1f;
  font-size: 0.85rem;
  color: #555;
  line-height: 1.6;
}

/* ===============================
   INPUTS
=============================== */

input,
select,
textarea {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.55rem 0.6rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #4a7c59;
}

/* ===============================
   CHECKBOX GROUP
=============================== */

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.checkbox-group label {
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ===============================
   SUBMIT BUTTON
=============================== */

.submit-button {
  margin-top: 1rem;
  padding: 0.75rem;
  font-size: 1rem;
  font-weight: 500;
  background-color: #7a1f1f;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.submit-button:hover {
  background-color: #611818;
}

.account-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.signed-in-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: #7a1f1f;
  color: #fff;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-weight: 500;
}

.signed-in-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #fff;
}

.signout-button {
  background: none;
  border: none;
  padding: 0;
  font-weight: 500;
  text-decoration: underline;
  color: #7a1f1f;
  cursor: pointer;
}

/* ===============================
   THANK YOU STATE
=============================== */

.thank-you {
  margin-top: 3rem;
  padding: 3rem 2rem;
  text-align: center;
  border-top: 1px solid #e5e5e5;
}

.thank-you h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.thank-you p {
  font-size: 1.05rem;
  color: #444;
}

.thank-you-visual {
  font-size: 2.5rem;
  margin-top: 1.5rem;
}

/* ===============================
   ABOUT & REVIEWS 
=============================== */

.about,
.reviews {
  max-width: 680px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.reviews-subtitle {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #444;
}

.reviews-context {
  font-size: 0.7rem;
  color: #666;
  line-height: 1.6;
  max-width: 600px;
}
.about h2 {
  margin-bottom: 2.5rem;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
}

.about-cta {
  margin-top: 3rem;
}

.about-link {
  display: inline-block;
  margin-top: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  color: #7a1f1f;
}

.about-link:hover {
  text-decoration: underline;
}
.about-block {
  margin-bottom: 2.5rem;
}

.statement {
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.support-text {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

.reviews-intro {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 3rem;
}

.review-card {
  margin: 3rem 0;
  padding-bottom: 0 0 2rem 0;
  border-bottom: 1px solid #e8e8e8;
}

.review-card:last-child {
  border-bottom: none;
}

.review-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.winery-country {
  font-size: 0.85rem;
  color: #666;
  margin-top: 0.2rem;
}

.review-meta {
  font-size: 0.8rem;
  color: #777;
  margin-bottom: 0.75rem;
}

.review-text {
  font-size: 0.95rem;
  line-height: 1.6;
}

.rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0.5rem 0;
}

.wine-glass {
  width: 20px;
  height: 20px;
  display: block;
}

.wine.filled {
  color: #7a1f1f;
}

.wine.empty {
  color: #ccc;
}

.reviews-cta {
  margin-top: 4rem;
}

.reviews-cta a {
  font-weight: 500;
}

.reviews-empty {
  color: #666;
  font-style: italic;
  padding: 2rem 0;
}

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

.site-signature {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  font-size: 0.7rem;
  color: #777;
  letter-spacing: 0.04em;
}
.hidden {
  display: none !important;
}
.project-signature::before {
  content: "—";
  display: block;
  margin-bottom: 1rem;
  color: #ccc;
}

.project-signature {
  margin-top: 3.5rem;
  font-size: 0.85rem;
  font-style: italic;
  color: #7a1f1f;
}

.harvest-seal {
  position: absolute;
  right: 20%;
  top: 20%;
  width: 150px;
}

.harvest-seal svg {
  width: 100%;
  height: auto;
  fill: none;
  color: #7a1f1f; /* mesma cor das taças */
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.harvest-seal {
  animation: spin 25s linear infinite;
}
