:root {
  --gingham-base: #fbe9ec;
  --gingham-line: rgba(226, 116, 137, .30);
  --cream: #fffaf4;
  --cream-soft: #fffdfb;
  --blush: #fdeef1;
  --pink-line: #f0b9c2;
  --pink-dash: #eba7b4;
  --pink-soft: #e98da0;
  --rose-label: #d08a99;
  --rose-muted: #b06c7c;
  --cherry: #c31432;
  --cherry-deep: #8d2233;
  --cherry-mid: #a3283f;
  --leaf: #6d8b4c;
  --stem: #5f7a43;
  --error: #c0788a;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--gingham-base);
  background-image:
    repeating-linear-gradient(90deg, var(--gingham-line) 0 26px, rgba(226, 116, 137, 0) 26px 52px),
    repeating-linear-gradient(0deg, var(--gingham-line) 0 26px, rgba(226, 116, 137, 0) 26px 52px);
  font-family: "EB Garamond", Georgia, serif;
  color: var(--cherry-deep);
}

a { color: var(--cherry); }
a:hover { color: var(--cherry-deep); }

input, button {
  font-family: inherit;
}

.page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 22px 14px 60px;
}

.container {
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Cards */

.card {
  background: var(--cream);
  border: 1.5px solid var(--pink-line);
  border-radius: 26px;
  padding: 24px 20px;
  text-align: center;
}

.card.blush {
  background: var(--blush);
}

.label {
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--rose-label);
}

.label.center { text-align: center; }

/* Double-frame (hero + RSVP) */

.frame {
  background: var(--cream);
  border: 2px solid var(--pink-line);
  border-radius: 46px;
  padding: 10px;
}

.frame-inner {
  border: 1.5px dashed var(--pink-dash);
  border-radius: 38px;
  padding: 30px 22px 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.divider {
  color: var(--pink-soft);
  font-size: 15px;
  letter-spacing: 6px;
}

/* Hero */

.cherry-pair {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  animation: sway 5s ease-in-out infinite;
  transform-origin: 50% 0%;
}

.name {
  font-family: "Great Vibes", cursive;
  font-size: 76px;
  line-height: .95;
  color: var(--cherry);
  font-weight: 400;
  margin: 0;
}

.hero-text {
  margin: 0;
  max-width: 340px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--cherry-mid);
}

.date-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: center;
  width: 100%;
  max-width: 380px;
  margin-top: 6px;
}

.date-side {
  font-size: 17px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cherry-mid);
}

.date-time { text-align: left; font-size: 22px; letter-spacing: 0; text-transform: none; }

.date-center {
  padding: 0 12px;
  border-left: 1px solid var(--pink-dash);
  border-right: 1px solid var(--pink-dash);
}

.date-day {
  font-size: 52px;
  line-height: 1;
  font-weight: 600;
  color: var(--cherry);
}

.date-month {
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cherry-mid);
}

@keyframes sway {
  0%, 100% { transform: rotate(-4deg); }
  50% { transform: rotate(4deg); }
}

@media (prefers-reduced-motion: reduce) {
  .cherry-pair { animation: none; }
}

/* Local */

.place-name {
  font-family: "Great Vibes", cursive;
  font-size: 38px;
  color: var(--cherry);
  line-height: 1.1;
  margin: 8px 0 4px;
}

.place-complement {
  font-size: 22px;
  color: var(--cherry-mid);
  margin-bottom: 12px;
}

.address {
  margin: 0 auto 16px;
  max-width: 320px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--cherry-deep);
}

.map-wrap {
  border-radius: 18px;
  overflow: hidden;
  border: 1.5px solid var(--pink-dash);
  height: 230px;
  margin-bottom: 14px;
}

.btn-primary {
  display: inline-block;
  background: var(--cherry);
  color: var(--cream);
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 17px;
  letter-spacing: 1px;
  min-height: 44px;
  line-height: 1.35;
}

/* Sobre a Aurora */

.info-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.info-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--blush);
  border-radius: 18px;
  padding: 14px 16px;
  text-align: left;
}

.info-label {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--rose-muted);
}

.info-value {
  font-size: 20px;
  color: var(--cherry-deep);
}

.note {
  margin: 14px 0 0;
  text-align: center;
  font-size: 16px;
  font-style: italic;
  color: var(--rose-muted);
}

/* Mensagem dos pais */

.message {
  margin: 0;
  font-size: 20px;
  line-height: 1.6;
  color: var(--cherry-mid);
}

.signature {
  margin-top: 14px;
  font-family: "Great Vibes", cursive;
  font-size: 30px;
  color: var(--cherry);
}

/* RSVP */

.rsvp {
  padding: 26px 20px;
  align-items: stretch;
  border-radius: 24px;
}

.rsvp-header { text-align: center; margin-bottom: 4px; }

.rsvp-title {
  font-family: "Great Vibes", cursive;
  font-size: 42px;
  color: var(--cherry);
  line-height: 1.1;
}

.rsvp-subtitle {
  font-size: 16px;
  color: var(--rose-muted);
}

.rsvp-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 14px;
}

.invisivel {
  display: none !important;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--rose-muted);
  text-align: left;
}

.field input {
  border: 1.5px solid var(--pink-line);
  background: var(--cream-soft);
  border-radius: 14px;
  padding: 13px 14px;
  font-size: 18px;
  color: var(--cherry-deep);
  outline: none;
  width: 100%;
  min-height: 44px;
}

.field input:focus {
  border-color: var(--cherry);
}

.field-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}

.rsvp-choice {
  display: flex;
  gap: 10px;
}

.choice-btn {
  flex: 1;
  padding: 14px 8px;
  border-radius: 999px;
  font-size: 17px;
  cursor: pointer;
  min-height: 44px;
  border: 1.5px solid var(--pink-line);
  background: var(--cream-soft);
  color: var(--cherry-mid);
}

.choice-btn.is-active-sim {
  border-color: var(--cherry);
  background: var(--cherry);
  color: var(--cream);
}

.choice-btn.is-active-nao {
  border-color: var(--rose-muted);
  background: var(--rose-muted);
  color: var(--cream);
}

.btn-submit {
  background: var(--cherry);
  color: var(--cream);
  border: none;
  padding: 16px;
  border-radius: 999px;
  font-size: 19px;
  letter-spacing: 1px;
  cursor: pointer;
  margin-top: 4px;
  min-height: 44px;
}

.btn-submit:disabled {
  opacity: .7;
  cursor: default;
}

.btn-submit.is-sent {
  background: var(--stem);
  opacity: 1;
}

.rsvp-erro {
  text-align: center;
  font-size: 15px;
  color: var(--error);
  min-height: 20px;
}

.rsvp-success {
  text-align: center;
  padding: 18px 10px;
}

.success-message {
  margin: 0;
  font-size: 19px;
  line-height: 1.5;
  color: var(--cherry-mid);
}

.btn-secondary {
  margin-top: 16px;
  background: none;
  border: 1.5px solid var(--pink-dash);
  color: var(--cherry-mid);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 16px;
  cursor: pointer;
  min-height: 44px;
}

/* Footer */

.footer {
  text-align: center;
  padding: 6px 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: var(--cherry);
}

.footer-title {
  font-family: "Great Vibes", cursive;
  font-size: 26px;
}

/* Cherry motif (CSS only) */

.cherry { position: relative; flex: none; }

.cherry--lg { width: 44px; height: 52px; }
.cherry--lg .stem { left: 20px; top: 0; width: 2px; height: 20px; transform: rotate(-22deg); transform-origin: top center; }
.cherry--lg .leaf { left: 23px; top: 2px; width: 16px; height: 8px; border-radius: 0 100% 0 100%; transform: rotate(-16deg); }
.cherry--lg .fruit { left: 4px; top: 16px; width: 36px; height: 36px; }
.cherry--right { transform: scaleX(-1); }

.cherry--md { width: 34px; height: 40px; }
.cherry--md .stem { left: 16px; top: 0; width: 2px; height: 16px; transform: rotate(16deg); transform-origin: top center; }
.cherry--md .leaf { left: 19px; top: 1px; width: 13px; height: 7px; border-radius: 0 100% 0 100%; transform: rotate(-18deg); }
.cherry--md .fruit { left: 3px; top: 12px; width: 28px; height: 28px; }

.cherry--sm { width: 16px; height: 22px; }
.cherry--sm .stem { left: 8px; top: 0; width: 2px; height: 9px; transform: rotate(16deg); transform-origin: top center; }
.cherry--sm .leaf { left: 10px; top: 0; width: 8px; height: 5px; border-radius: 0 100% 0 100%; transform: rotate(-18deg); }
.cherry--sm .fruit { left: 1px; top: 7px; width: 15px; height: 15px; }

.cherry .stem {
  position: absolute;
  background: var(--stem);
  border-radius: 2px;
}

.cherry .leaf {
  position: absolute;
  background: var(--leaf);
}

.cherry .fruit {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #ef5f6d, #c00f23 70%);
}

/* Responsive */

@media (max-width: 380px) {
  .name { font-size: 64px; }
  .date-day { font-size: 44px; }
  .rsvp-title { font-size: 36px; }
}
