/* ============================================================
   Home 3.16 — Aromas e Bem-Estar
   style.css — Main Stylesheet
   ============================================================ */

/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --cream:        #f5efe6;
  --cream-light:  #faf6f0;
  --gold:         #b8892a;
  --gold-light:   #d4a84b;
  --gold-pale:    #e8d5a3;
  --brown-dark:   #2c1f0e;
  --brown-mid:    #5a3e1b;
  --text-body:    #6b5340;
  --white-card:   rgba(255, 255, 255, 0.72);
  --radius-card:  28px;
  --radius-pill:  50px;
}

html, body {
  min-height: 100vh;
  font-family: 'Lato', sans-serif;
  background-color: var(--cream);
  color: var(--brown-dark);
  overflow-x: hidden;
}

/* ── BACKGROUND ───────────────────────────────────────────── */
.bg-wrapper {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: radial-gradient(
    ellipse at 20% 40%,
    #e8d5b0 0%,
    #f0e4cc 35%,
    #f5efe6 70%
  );
  overflow: hidden;
}

.bg-wrapper::before {
  content: '';
  position: absolute;
  top: -10%; left: -8%;
  width: 55vw; height: 80vh;
  background: radial-gradient(ellipse, rgba(212,168,75,0.12) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
}

.bg-wrapper::after {
  content: '';
  position: absolute;
  bottom: -15%; right: -10%;
  width: 60vw; height: 75vh;
  background: radial-gradient(ellipse, rgba(184,137,42,0.10) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(50px);
}

/* Decorative leaf silhouettes */
.leaf-left,
.leaf-right {
  position: absolute;
  top: 0; bottom: 0;
  width: 28vw;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.18;
  pointer-events: none;
}

.leaf-left {
  left: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 600'%3E%3Cellipse cx='80' cy='300' rx='60' ry='220' fill='%23b8892a' transform='rotate(-15 80 300)'/%3E%3Cellipse cx='100' cy='280' rx='30' ry='150' fill='%23b8892a' transform='rotate(10 100 280)'/%3E%3Cellipse cx='50' cy='350' rx='25' ry='130' fill='%23b8892a' transform='rotate(-25 50 350)'/%3E%3C/svg%3E");
  background-position: left center;
}

.leaf-right {
  right: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 600'%3E%3Cellipse cx='120' cy='300' rx='60' ry='220' fill='%23b8892a' transform='rotate(15 120 300)'/%3E%3Cellipse cx='100' cy='280' rx='30' ry='150' fill='%23b8892a' transform='rotate(-10 100 280)'/%3E%3Cellipse cx='150' cy='350' rx='25' ry='130' fill='%23b8892a' transform='rotate(25 150 350)'/%3E%3C/svg%3E");
  background-position: right center;
}

/* ── PAGE LAYOUT ──────────────────────────────────────────── */
.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem 5rem;
}

/* ── CARD ─────────────────────────────────────────────────── */
.card {
  background: var(--white-card);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(184, 137, 42, 0.22);
  border-radius: var(--radius-card);
  max-width: 780px;
  width: 100%;
  padding: 3.5rem 3rem 3rem;
  text-align: center;
  box-shadow:
    0 4px 40px rgba(90, 62, 27, 0.08),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;
  animation: fadeUp 1s ease both;
}

/* ── ANIMATIONS ───────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── LOGO ─────────────────────────────────────────────────── */
.logo-mark {
  display: block;
  margin: 0 auto 0.6rem;
  width: 400px;
  height: auto;
  max-width: 100%;
  animation: fadeUp 1s 0.1s ease both;
}

.logo-name,
.logo-sub {
  display: none;
}

.logo-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(2rem, 5vw, 2.8rem);
  color: var(--brown-dark);
  letter-spacing: 0.01em;
  line-height: 1;
  animation: fadeUp 1s 0.18s ease both;
}
.logo-name span { font-style: normal; }

.logo-sub {
  font-family: 'Cinzel', serif;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  color: var(--gold);
  margin-top: 0.35rem;
  animation: fadeUp 1s 0.24s ease both;
}

/* ── ORNAMENT ─────────────────────────────────────────────── */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin: 1.1rem auto;
  animation: fadeUp 1s 0.3s ease both;
}
.ornament--delay { animation-delay: 0.38s; }

.ornament::before,
.ornament::after {
  content: '';
  flex: 1;
  max-width: 100px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-pale), transparent);
}

.ornament svg {
  width: 14px;
  fill: var(--gold);
  opacity: 0.7;
}

/* ── HEADLINE ─────────────────────────────────────────────── */
.headline {
  margin: 0.2rem 0 0;
  animation: fadeUp 1s 0.36s ease both;
}

.headline .line1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.05rem, 7vw, 3.2rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--brown-dark);
  line-height: 1;
}

.headline .line2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.05rem, 7vw, 3.2rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--gold);
  line-height: 1.05;
}

.tagline {
  font-size: 0.97rem;
  color: var(--text-body);
  font-weight: 300;
  letter-spacing: 0.02em;
  margin-top: 0.2rem;
  animation: fadeUp 1s 0.44s ease both;
}

/* ── COUNTDOWN ────────────────────────────────────────────── */
.countdown {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.8rem;
  animation: fadeUp 1s 0.6s ease both;
}

.tick { text-align: center; }

.tick-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}

.tick-label {
  font-family: 'Cinzel', serif;
  font-size: 0.5rem;
  letter-spacing: 0.2em;
  color: var(--text-body);
  margin-top: 0.2rem;
}

.tick-sep {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  color: var(--gold-pale);
  align-self: flex-start;
  padding-top: 0.1rem;
}

/* ── EMAIL SECTION ────────────────────────────────────────── */
.email-section {
  margin-top: 2rem;
  animation: fadeUp 1s 0.52s ease both;
}

.email-icon {
  display: block;
  margin: 0 auto 0.5rem;
  width: 28px;
  height: 28px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
}

.email-label {
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  color: var(--text-body);
  margin-bottom: 1rem;
}

.email-form {
  display: flex;
  gap: 0;
  max-width: 460px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(184, 137, 42, 0.25);
  border-radius: var(--radius-pill);
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(90, 62, 27, 0.07);
  transition: box-shadow 0.3s, border-color 0.3s;
}

.email-form:focus-within {
  box-shadow: 0 2px 24px rgba(184, 137, 42, 0.22);
  border-color: rgba(184, 137, 42, 0.5);
}

.email-form input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.85rem 1.4rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  color: var(--brown-dark);
  outline: none;
  min-width: 0;
}

.email-form input::placeholder {
  color: #b0976c;
  opacity: 0.7;
}

.email-form button {
  border: none;
  background: linear-gradient(135deg, #c9973a, #a87422);
  color: #fff;
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  padding: 0 1.8rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 0.3s, transform 0.15s;
  white-space: nowrap;
  margin: 4px;
}

.email-form button:hover {
  background: linear-gradient(135deg, #d4a84b, #b8892a);
}

.email-form button:active {
  transform: scale(0.97);
}

.privacy {
  margin-top: 0.75rem;
  font-size: 0.74rem;
  color: #a08060;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.privacy svg {
  width: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  flex-shrink: 0;
}

/* ── FOOTER BADGES ────────────────────────────────────────── */
.badges {
  display: flex;
  justify-content: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  margin-top: 4rem;
  flex-wrap: wrap;
  animation: fadeUp 1s 0.7s ease both;
}

.badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  opacity: 0.85;
}

.badge svg {
  width: 28px;
  height: 28px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.3;
}

.badge span {
  font-family: 'Cinzel', serif;
  font-size: 0.55rem;
  letter-spacing: 0.22em;
  color: var(--text-body);
  text-transform: uppercase;
}

/* ── TOAST ────────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--brown-dark);
  color: var(--gold-pale);
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  padding: 0.8rem 2rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
  z-index: 100;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 540px) {
  .card {
    padding: 2.2rem 1.4rem 2rem;
    border-radius: 20px;
  }

  .email-form button {
    font-size: 0.58rem;
    padding: 0 1.1rem;
    letter-spacing: 0.1em;
  }

  .badges {
    gap: 1.2rem;
  }

  .countdown {
    gap: 1rem;
  }

  .tick-num {
    font-size: 1.6rem;
  }
}

@media (max-width: 360px) {
  .headline .line1,
  .headline .line2 {
    font-size: 2rem;
  }
}
