﻿/* ============================================================
   Julia & Sérgio — Wedding Site
   Paleta: Verde oliva #4a5e38, branco #ffffff, creme #f7f5f0
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:      #4a5e38;
  --green-mid:  #6b7f54;
  --green-light:#e8f0e2;
  --cream:      #f7f5f0;
  --cream-dark: #ede9e1;
  --white:      #ffffff;
  --text:       #2c2c2c;
  --text-muted: #888;
  --border:     #d8d2c8;
  --shadow:     0 4px 24px rgba(74,94,56,.12);
  --radius:     12px;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Lato', Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--font-serif); font-weight: 600; line-height: 1.25; }

.section-eyebrow {
  font-family: var(--font-sans);
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: .5rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--green);
  margin-bottom: .5rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto;
}

.section-header { text-align: center; margin-bottom: 3rem; }

/* ---------- Layout ---------- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .05em;
  padding: .75rem 1.75rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all .2s ease;
  text-align: center;
  border: 2px solid transparent;
  text-decoration: none;
}

.btn--primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn--primary:hover { background: #3d4f2f; border-color: #3d4f2f; text-decoration: none; }

.btn--outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn--outline:hover { background: var(--green); color: var(--white); text-decoration: none; }

.btn--disabled {
  display: inline-block;
  background: var(--cream-dark);
  color: var(--text-muted);
  border-radius: 50px;
  padding: .75rem 1.75rem;
  font-size: .95rem;
  font-weight: 700;
  text-align: center;
  cursor: default;
  width: 100%;
}

.btn--full  { width: 100%; display: block; }
.btn--lg    { padding: 1rem 2rem; font-size: 1.05rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  overflow: hidden;
  text-align: center;
  padding: 4rem 1.5rem;
}

.hero__botanical {
  position: absolute;
  width: 340px;
  height: 340px;
  opacity: .9;
  pointer-events: none;
  object-fit: contain;
}

.hero__botanical--tl { top: -20px; left: -20px; }

.hero__botanical--br { bottom: -20px; right: -20px; }

.hero__content { position: relative; z-index: 1; }

.hero__eyebrow {
  font-size: .8rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 1.5rem;
}

.hero__monogram img {
  max-width: 260px;
  margin: 0 auto 1rem;
}

.monogram-text {
  font-family: var(--font-serif);
  font-size: 5rem;
  color: var(--green);
  letter-spacing: .2em;
  display: block;
  margin-bottom: 1rem;
}

.monogram-sep { color: var(--green-mid); font-size: 2rem; vertical-align: middle; }

.hero__names {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  color: var(--green);
  font-weight: 400;
  margin-bottom: .5rem;
}

.hero__names .amp {
  font-style: italic;
  color: var(--green-mid);
  margin: 0 .25em;
}

.hero__date {
  font-size: 1.05rem;
  color: var(--text-muted);
  letter-spacing: .08em;
  margin-bottom: 2rem;
}

/* Countdown */
.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.countdown__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 60px;
}

.countdown__num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--green);
  line-height: 1;
}

.countdown__label {
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: .15rem;
}

.countdown__sep { color: var(--green-mid); font-size: 1.2rem; margin-top: -8px; }

/* ============================================================
   FOTOS
   ============================================================ */
.photos {
  background: var(--cream);
  padding: 4rem 0;
}

.photos__grid {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.photos__item img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.photos__item--left  { transform: rotate(-1deg); }
.photos__item--right { transform: rotate(1deg); margin-top: 2rem; }

/* ============================================================
   HISTÓRIA
   ============================================================ */
.story {
  background: var(--white);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.story__botanical--left,
.story__botanical--right {
  position: absolute;
  width: 200px;
  height: 400px;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: .15;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 300'%3E%3Cg fill='%234a5e38'%3E%3Cellipse cx='50' cy='40' rx='20' ry='35' transform='rotate(-20 50 40)'/%3E%3Cellipse cx='30' cy='100' rx='18' ry='30' transform='rotate(15 30 100)'/%3E%3Cellipse cx='65' cy='140' rx='16' ry='28' transform='rotate(-25 65 140)'/%3E%3Cellipse cx='35' cy='200' rx='18' ry='32' transform='rotate(10 35 200)'/%3E%3Cellipse cx='60' cy='260' rx='14' ry='26' transform='rotate(-15 60 260)'/%3E%3Cpath d='M50 0 Q45 80 50 300' stroke='%234a5e38' stroke-width='2' fill='none'/%3E%3C/g%3E%3C/svg%3E");
}

.story__botanical--left  { left: -30px; top: 10%; }
.story__botanical--right { right: -30px; top: 20%; transform: scaleX(-1); }

.story__chapters { max-width: 700px; margin: 0 auto; }

.story__chapter {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  align-items: flex-start;
}

.story__chapter-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.story__chapter-body h3 {
  font-family: var(--font-serif);
  color: var(--green);
  font-size: 1.2rem;
  margin-bottom: .4rem;
}

.story__chapter-body p {
  color: #555;
  font-size: .98rem;
  line-height: 1.7;
}

.story__chapter-photo {
  margin-top: 1rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(74,94,56,.12);
}

.story__chapter-photo img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.story__chapter-photo img:hover { transform: scale(1.03); }

.story__chapter-photo--tall img { height: 440px; }

.story__chapter--highlight {
  background: var(--cream);
  padding: 1.5rem;
  border-radius: var(--radius);
  border-left: 3px solid var(--green);
}

/* ============================================================
   PRESENTES
   ============================================================ */
.gifts-section {
  background: var(--cream);
  padding: 5rem 0;
}

.gifts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}

.gift-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
}

.gift-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(74,94,56,.18); }
.gift-card--full  { opacity: .8; }

.gift-card__img-wrap {
  position: relative;
  height: 200px;
  background: var(--cream);
  overflow: hidden;
}

.gift-card__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.gift-card:hover .gift-card__img-wrap img { transform: scale(1.04); }

.gift-card__img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%; height: 100%;
  font-size: 4rem;
  background: linear-gradient(135deg, var(--cream), var(--cream-dark));
}

.gift-card__img-placeholder--lg { font-size: 5rem; height: 220px; }

.gift-card__badge {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--green);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  padding: .3rem .75rem;
  border-radius: 50px;
  letter-spacing: .05em;
}

.gift-card__body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gift-card__name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--green);
  margin-bottom: .5rem;
}

.gift-card__desc {
  font-size: .9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  flex: 1;
  line-height: 1.6;
}

.gift-card__values {
  margin-bottom: .75rem;
}

.gift-card__total {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--green);
  font-weight: 600;
}

.gift-card__quota {
  font-size: .85rem;
  color: var(--text-muted);
  margin-left: .3rem;
}

/* Progress Bar */
.progress-bar {
  height: 8px;
  background: var(--cream-dark);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: .5rem;
}

.progress-bar--lg { height: 10px; }

.progress-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green-mid), var(--green));
  border-radius: 4px;
  transition: width .6s ease;
  min-width: 2px;
}

.gift-card__progress-text {
  font-size: .8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* ============================================================
   MENSAGEM GENTIL
   ============================================================ */
.message-section {
  background: var(--white);
  padding: 5rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.message-box {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.message-box__deco {
  font-size: 1.5rem;
  color: var(--green-mid);
  letter-spacing: .3em;
  margin-bottom: 1.5rem;
}

.message-box__text {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  color: var(--green);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.message-box__sign {
  font-size: .95rem;
  color: var(--text-muted);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--green);
  color: rgba(255,255,255,.7);
  text-align: center;
  padding: 1.5rem;
  font-size: .85rem;
  letter-spacing: .05em;
}

/* ============================================================
   INNER PAGES (topbar)
   ============================================================ */
.inner-page { min-height: 100vh; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
}

.topbar__back { font-size: .9rem; color: var(--green); }
.topbar__logo {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--green);
  font-style: italic;
}

/* ============================================================
   GIFT DETAIL
   ============================================================ */
.gift-detail {
  padding: 3rem 1.5rem;
}

.gift-detail__header {
  margin-bottom: 2.5rem;
}

.gift-detail__name {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  color: var(--green);
}

.gift-detail__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.gift-detail__img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.gift-detail__img-wrap img {
  width: 100%; height: 260px;
  object-fit: cover;
}

.gift-detail__desc {
  color: #555;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.gift-detail__meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.gift-detail__meta-item {
  display: flex;
  flex-direction: column;
  background: var(--cream);
  padding: .75rem 1rem;
  border-radius: 8px;
  flex: 1;
  min-width: 100px;
}

.gift-detail__meta-label { font-size: .75rem; color: var(--text-muted); margin-bottom: .25rem; }
.gift-detail__meta-value { font-family: var(--font-serif); color: var(--green); font-size: 1.15rem; }

/* Form */
.contrib-form .form-group { margin-bottom: 1.25rem; }

.contrib-form label {
  display: block;
  font-size: .88rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .4rem;
}

.required { color: #c0392b; }
.optional  { color: var(--text-muted); font-weight: 400; }

.contrib-form input[type="text"],
.contrib-form input[type="email"],
.contrib-form textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  transition: border-color .2s;
  outline: none;
}

.contrib-form input:focus,
.contrib-form textarea:focus {
  border-color: var(--green);
}

.contrib-form textarea { resize: vertical; min-height: 80px; }

/* Quota selector */
.quota-selector {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .5rem;
}

.quota-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid var(--green);
  background: var(--white);
  color: var(--green);
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .15s;
  flex-shrink: 0;
}
.quota-btn:hover { background: var(--green); color: var(--white); }

.quota-selector input[type="number"] {
  width: 70px;
  text-align: center;
  padding: .6rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--green);
  outline: none;
}

.quota-info {
  font-size: .88rem;
  color: var(--text-muted);
}

.quota-info strong {
  color: var(--green);
  font-size: 1rem;
}

.quota-info-max { margin-left: .5rem; }

/* Payment options */
.payment-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.payment-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem .75rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .2s;
  text-align: center;
  gap: .25rem;
}

.payment-option input[type="radio"] { display: none; }

.payment-option:hover { border-color: var(--green-mid); background: var(--cream); }
.payment-option.selected { border-color: var(--green); background: var(--green-light); }

.payment-option__icon  { font-size: 1.6rem; }
.payment-option__label { font-weight: 700; font-size: .95rem; color: var(--text); }
.payment-option__sub   { font-size: .75rem; color: var(--text-muted); }

/* ============================================================
   PIX PAGE
   ============================================================ */
.pix-page { padding: 2.5rem 1.5rem; }

.pix-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.pix-card--mp { max-width: 500px; }

.pix-card__header {
  background: var(--green);
  color: var(--white);
  padding: 2rem 2rem 1.5rem;
  text-align: center;
}

.pix-card__header h1 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: .5rem;
}

.pix-card__header p { font-size: .95rem; opacity: .9; margin-bottom: .75rem; }

.pix-card__icon { font-size: 2.5rem; margin-bottom: .75rem; }

.pix-card__gift-badge {
  display: inline-block;
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50px;
  padding: .3rem 1rem;
  font-size: .85rem;
  font-weight: 700;
  margin-top: .25rem;
}

.pix-card__amount {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  background: var(--cream);
}

.pix-card__amount-label {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-muted);
  margin-bottom: .25rem;
}

.pix-card__amount-value {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--green);
  font-weight: 600;
}

.pix-card__divider {
  height: 1px;
  background: var(--border);
  margin: 0 1.5rem;
}

.pix-card__qr {
  padding: 1.75rem;
  text-align: center;
}

.pix-card__qr img {
  margin: 0 auto .75rem;
  border: 4px solid var(--cream);
  border-radius: 8px;
}

.pix-card__qr-hint {
  font-size: .82rem;
  color: var(--text-muted);
}

.pix-card__data {
  padding: 1.5rem 1.75rem;
}

.pix-card__data h3 {
  font-family: var(--font-sans);
  font-size: .88rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-weight: 700;
}

.pix-field {
  margin-bottom: 1rem;
}

.pix-field label {
  display: block;
  font-size: .78rem;
  color: var(--text-muted);
  margin-bottom: .25rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.pix-field__row {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: var(--cream);
  border-radius: 8px;
  padding: .6rem .9rem;
}

.pix-field__row--wrap { align-items: flex-start; flex-wrap: wrap; }

.pix-field--highlight .pix-field__row { background: var(--green-light); }

.pix-field__value {
  flex: 1;
  font-size: .98rem;
  color: var(--text);
  word-break: break-all;
}

.pix-field__value--small { font-size: .72rem; line-height: 1.5; color: var(--text-muted); }

.copy-btn {
  flex-shrink: 0;
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: 6px;
  padding: .3rem .7rem;
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s;
}
.copy-btn:hover  { background: #3d4f2f; }
.copy-btn.copied { background: #27ae60; }

.pix-card__message {
  padding: 1rem 1.75rem;
  background: var(--cream);
}

.pix-card__message-label {
  font-size: .8rem;
  color: var(--text-muted);
  margin-bottom: .35rem;
  font-weight: 700;
}

.pix-card__message blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--green);
  font-size: 1rem;
  line-height: 1.6;
  border-left: 3px solid var(--green-mid);
  padding-left: 1rem;
}

.pix-card__footer {
  padding: 1.5rem 1.75rem 2rem;
}

.pix-card__instructions {
  font-size: .9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.6;
  text-align: center;
}

.pix-card__back {
  text-align: center;
  margin-top: 1rem;
  font-size: .88rem;
}

/* MercadoPago coming soon */
.mp-coming-soon {
  padding: 2.5rem 2rem;
  text-align: center;
}

.mp-coming-soon__icon { font-size: 3rem; margin-bottom: 1rem; }

.mp-coming-soon h2 {
  font-family: var(--font-serif);
  color: var(--green);
  font-size: 1.6rem;
  margin-bottom: .75rem;
}

.mp-coming-soon p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.mp-coming-soon__amount {
  background: var(--cream);
  border-radius: 8px;
  padding: .75rem 1.5rem;
  display: inline-block;
  margin-bottom: 1.75rem;
  font-size: 1.1rem;
}

.mp-coming-soon__amount strong { color: var(--green); font-family: var(--font-serif); font-size: 1.3rem; }

.mp-coming-soon__actions { display: flex; flex-direction: column; gap: .75rem; max-width: 280px; margin: 0 auto; }

/* ============================================================
   CONFIRM PAGE
   ============================================================ */
.confirm-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  background: var(--cream);
}

.confirm-card {
  max-width: 560px;
  width: 100%;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 3rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.confirm-card__botanical {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--green-mid), var(--green), var(--green-mid));
}

.confirm-card__icon { font-size: 3rem; margin-bottom: 1rem; }

.confirm-card__title {
  font-family: var(--font-serif);
  color: var(--green);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.confirm-card__text {
  color: #555;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.confirm-card__message {
  background: var(--cream);
  border-radius: 8px;
  padding: 1.25rem;
  margin: 1.5rem 0;
  text-align: left;
}

.confirm-card__message-label {
  font-size: .8rem;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: .5rem;
}

.confirm-card__message blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--green);
  font-size: 1.05rem;
  line-height: 1.6;
  border-left: 3px solid var(--green-mid);
  padding-left: 1rem;
  margin-bottom: .5rem;
}

.confirm-card__message-reply { font-size: .85rem; color: var(--text-muted); }

.confirm-card__deco {
  color: var(--green-mid);
  letter-spacing: .5em;
  margin: 1.5rem 0;
  font-size: .9rem;
}

.confirm-card__quote {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--green-mid);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: .5rem;
}

.confirm-card__sign {
  font-size: .9rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.confirm-card__btn { display: inline-block; width: auto; }

/* ============================================================
   ALERTS
   ============================================================ */
.alert {
  padding: .9rem 1.2rem;
  border-radius: 8px;
  margin-bottom: 1.25rem;
  font-size: .93rem;
  line-height: 1.5;
}

.alert--error   { background: #fde8e8; color: #a00; border: 1px solid #f5c6c6; }
.alert--success { background: var(--green-light); color: var(--green); border: 1px solid #b8d4a0; }

/* ============================================================
   ADMIN
   ============================================================ */
.admin-body {
  background: #f0f0ec;
  min-height: 100vh;
}

/* Admin Login */
.admin-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.admin-login__box {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.5rem;
  max-width: 400px;
  width: 100%;
  text-align: center;
}

.admin-login__logo {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--green);
  font-style: italic;
  margin-bottom: 1rem;
}

.admin-login__box h1 { font-size: 1.3rem; color: var(--text); margin-bottom: .25rem; }
.admin-login__box p  { font-size: .88rem; color: var(--text-muted); margin-bottom: 1.5rem; }

.admin-login__form { text-align: left; }

.admin-login__form .form-group { margin-bottom: 1rem; }
.admin-login__form label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: .35rem; }

.admin-login__form input[type="password"] {
  width: 100%; padding: .75rem 1rem;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 1rem; outline: none;
}
.admin-login__form input:focus { border-color: var(--green); }

.admin-login__back { margin-top: 1.25rem; font-size: .85rem; }

/* Admin Dashboard */
.admin-body--dash { background: #f0f0ec; }

.admin-topbar {
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  position: sticky; top: 0; z-index: 100;
}

.admin-topbar__brand {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--white);
  font-style: italic;
}

.admin-link { color: rgba(255,255,255,.8); font-size: .88rem; margin-left: 1rem; }
.admin-link:hover { color: var(--white); text-decoration: none; }
.admin-link--danger { color: #ffaaaa; }
.admin-link--danger:hover { color: #fff; }

.admin-content { max-width: 1200px; margin: 0 auto; padding: 2rem 1.5rem; }

.admin-summary {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.admin-summary__card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.admin-summary__card--green  { border-top: 3px solid #27ae60; }
.admin-summary__card--yellow { border-top: 3px solid #f39c12; }
.admin-summary__card--teal   { border-top: 3px solid var(--green); }

.admin-summary__num {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--green);
}

.admin-summary__label { font-size: .78rem; color: var(--text-muted); }

.admin-section-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--green);
  margin-bottom: 1rem;
}

.admin-gifts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.admin-gift-card {
  background: var(--white);
  border-radius: 10px;
  padding: 1.1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

.admin-gift-card__name { font-weight: 700; color: var(--green); margin-bottom: .5rem; font-size: .95rem; }
.admin-gift-card__info { font-size: .78rem; color: var(--text-muted); margin-top: .35rem; }

/* Filters */
.admin-filters { margin-bottom: 1.25rem; }
.admin-filters__row { display: flex; flex-direction: column; gap: .75rem; }
.admin-filter-group { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; }
.admin-filter-group label { font-size: .8rem; font-weight: 700; color: var(--text-muted); margin-right: .25rem; min-width: 55px; }

.admin-filter-btn {
  font-size: .78rem;
  padding: .3rem .7rem;
  border-radius: 50px;
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--border);
  transition: all .15s;
  cursor: pointer;
  text-decoration: none;
}

.admin-filter-btn:hover { border-color: var(--green); color: var(--green); text-decoration: none; }
.admin-filter-btn.active { background: var(--green); color: var(--white); border-color: var(--green); }

/* Table */
.admin-table-wrap { overflow-x: auto; margin-top: 1rem; }

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  font-size: .88rem;
}

.admin-table th {
  background: var(--green);
  color: var(--white);
  padding: .75rem 1rem;
  text-align: left;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
}

.admin-table td {
  padding: .8rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.admin-table__row--paid    td { background: #f8fff5; }
.admin-table__row--pending td { background: #fffdf5; }
.admin-table__row--cancelled td { background: #fdf8f8; opacity: .7; }

.text-center { text-align: center; }
.text-green  { color: #27ae60; }
.text-muted  { color: var(--text-muted); }

.method-badge {
  display: inline-block;
  font-size: .75rem;
  padding: .2rem .6rem;
  border-radius: 50px;
  font-weight: 700;
}
.method-badge--pix          { background: #e8f5e9; color: #2e7d32; }
.method-badge--mercadopago  { background: #e3f2fd; color: #1565c0; }

.status-badge {
  display: inline-block;
  font-size: .75rem;
  padding: .2rem .6rem;
  border-radius: 50px;
  font-weight: 700;
}
.status-badge--pending   { background: #fff8e1; color: #f57f17; }
.status-badge--paid      { background: #e8f5e9; color: #2e7d32; }
.status-badge--cancelled { background: #fde8e8; color: #c62828; }

.message-preview { font-size: .8rem; color: var(--text-muted); font-style: italic; }

.admin-table__actions { white-space: nowrap; }
.admin-table__actions form { display: inline; }

.admin-btn {
  font-size: .75rem;
  padding: .3rem .6rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  transition: opacity .15s;
  margin-right: .25rem;
}
.admin-btn:hover { opacity: .85; }
.admin-btn--confirm { background: #27ae60; color: var(--white); }
.admin-btn--cancel  { background: #e74c3c; color: var(--white); }

.admin-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .hero__botanical { width: 200px; height: 200px; }
  .story__chapter-photo--tall img { height: 270px; }

  .photos__grid { grid-template-columns: 1fr; }
  .photos__item--left, .photos__item--right { transform: none; margin-top: 0; }
  .photos__item img { height: 280px; }

  .gift-detail__layout { grid-template-columns: 1fr; gap: 1.5rem; }

  .payment-options { grid-template-columns: 1fr 1fr; }

  .admin-summary { grid-template-columns: 1fr 1fr; }

  .pix-card { border-radius: 0; box-shadow: none; }

  .confirm-card { padding: 2rem 1.25rem; }
}

@media (max-width: 480px) {
  .countdown { gap: .4rem; }
  .countdown__num { font-size: 1.7rem; }
  .admin-summary { grid-template-columns: 1fr 1fr; }
  .payment-options { grid-template-columns: 1fr; }
}
