:root {
  --bg: #fbf5ec;
  --bg-soft: #f5eadf;
  --paper: #fffaf3;
  --text: #4f483c;
  --muted: #7d7365;
  --green: #5f6f4d;
  --pink: #bd7d82;
  --gold: #c89b3c;
  --gold-soft: #e7d3a7;
  --border: rgba(196, 151, 71, 0.35);
  --shadow: 0 24px 70px rgba(88, 70, 45, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(226, 174, 177, 0.22), transparent 34%),
    radial-gradient(circle at bottom right, rgba(198, 162, 87, 0.18), transparent 32%),
    rgba(251, 245, 236, 0.72);
  color: var(--text);
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: -20px;
  z-index: -1;
  background: url("assets/casal/foto-fundo.jpg") center / cover no-repeat;
  filter: blur(10px);
  pointer-events: none;
}

/* Legibilidade das seções com texto sobre a foto de fundo */
#historia,
#presentes,
#agradecimento {
  background: rgba(255, 250, 243, 0.92);
}

a {
  color: inherit;
}

.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  place-items: center;
  padding: 56px 18px;
  overflow: hidden;
  border: 12px solid rgba(201, 160, 76, 0.12);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(201, 160, 76, 0.55);
  pointer-events: none;
}

.hero-card {
  width: min(920px, 100%);
  position: relative;
  z-index: 2;
  text-align: center;
  background: rgba(255, 250, 243, 0.88);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 58px 42px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(5px);
}

.hero-card::before,
.hero-card::after,
.decorated-section::before,
.decorated-section::after {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  pointer-events: none;
  opacity: 0.32;
  background:
    radial-gradient(circle at 36% 32%, rgba(189, 125, 130, 0.38) 0 13px, transparent 14px),
    radial-gradient(circle at 49% 31%, rgba(226, 174, 177, 0.42) 0 18px, transparent 19px),
    radial-gradient(circle at 62% 39%, rgba(189, 125, 130, 0.30) 0 15px, transparent 16px),
    radial-gradient(circle at 50% 52%, rgba(200, 155, 60, 0.42) 0 8px, transparent 9px),
    radial-gradient(ellipse at 24% 58%, rgba(95, 111, 77, 0.28) 0 16px, transparent 17px),
    radial-gradient(ellipse at 72% 62%, rgba(95, 111, 77, 0.25) 0 17px, transparent 18px),
    radial-gradient(circle at 77% 38%, rgba(157, 132, 188, 0.24) 0 12px, transparent 13px);
  border-radius: 50%;
}

.hero-card::before {
  top: -42px;
  left: -42px;
  opacity: 0.55;
}

.hero-card::after {
  top: -42px;
  right: -42px;
  transform: scaleX(-1);
  opacity: 0.55;
}

.pretitle,
.section-kicker {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-family: "Playfair Display", serif;
  font-size: 14px;
  color: var(--green);
  font-weight: 600;
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--gold);
  margin: 12px 0 18px;
}

.divider span {
  width: 90px;
  height: 1px;
  background: var(--gold-soft);
}

.divider strong {
  width: 9px;
  height: 9px;
  display: inline-block;
  border-radius: 50%;
  background: var(--gold);
  font-size: 0;
}

.hero h1 {
  margin: 0;
  font-family: "Great Vibes", cursive;
  font-weight: 400;
  font-size: clamp(78px, 13vw, 158px);
  line-height: 0.95;
}

.hero h1 span:first-child {
  color: var(--pink);
}

.hero h1 span:last-child {
  color: var(--green);
}

.hero h1 em {
  color: var(--gold);
  font-style: normal;
  font-size: 0.52em;
  vertical-align: middle;
}

.hero-text {
  width: min(640px, 100%);
  margin: 28px auto 24px;
  font-size: 24px;
  color: var(--muted);
}

.event-date {
  margin: 20px auto 28px;
  display: grid;
  gap: 2px;
}

.event-date strong {
  font-size: 30px;
  font-weight: 600;
  color: var(--text);
}

.event-date small {
  color: var(--muted);
  font-size: 20px;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(90px, 1fr));
  gap: 12px;
  width: min(560px, 100%);
  margin: 28px auto;
}

.countdown div {
  background: linear-gradient(180deg, #fffdf8, #f7ebdf);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 15px 10px;
}

.countdown strong {
  display: block;
  font-size: 34px;
  line-height: 1;
  color: var(--green);
  font-family: "Playfair Display", serif;
}

.countdown span {
  font-size: 15px;
  color: var(--muted);
}

/* Modo demonstracao: mensagem de exemplo no lugar do Pix */
.pix-exemplo {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px dashed var(--border);
  border-radius: 14px;
  background: #fffdf8;
  text-align: center;
}

.pix-exemplo strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 20px;
  color: var(--green);
}

.pix-exemplo span {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  color: var(--muted);
}

/* Estado final da contagem: uma caixa unica, centralizada, com os nomes */
.countdown .countdown-final {
  grid-column: 1 / -1;
  padding: 22px 16px;
  text-align: center;
}

.countdown .countdown-final span {
  display: block;
}

.countdown .countdown-final strong {
  margin: 8px 0;
}

.countdown .countdown-final-kicker {
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

@media (max-width: 520px) {
  .countdown .countdown-final strong {
    font-size: 28px;
  }
}

.hero-actions,
.card-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn,
.btn-pix,
.btn-proof,
.map-link {
  border: 0;
  border-radius: 999px;
  padding: 13px 24px;
  font-family: "Playfair Display", serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn:hover,
.btn-pix:hover,
.btn-proof:hover,
.map-link:hover {
  transform: translateY(-1px);
  opacity: 0.94;
}

.primary,
.btn-pix {
  background: var(--green);
  color: white;
  box-shadow: 0 12px 30px rgba(95, 111, 77, 0.22);
}

.secondary,
.btn-proof,
.map-link {
  background: #fff8ed;
  color: var(--green);
  border: 1px solid var(--border);
}

.section {
  padding: 88px 18px;
  text-align: center;
}

.section.narrow {
  width: min(840px, 100%);
  margin: 0 auto;
}

.section h2 {
  margin: 0 0 18px;
  font-family: "Playfair Display", serif;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.15;
  color: var(--green);
}

.section p {
  max-width: 760px;
  margin: 0 auto 18px;
}

.subtitle {
  color: var(--muted);
}

.soft-bg {
  background:
    linear-gradient(180deg, rgba(255, 250, 243, 0.76), rgba(244, 232, 218, 0.9)),
    var(--bg-soft);
  border-top: 1px solid rgba(196, 151, 71, 0.16);
  border-bottom: 1px solid rgba(196, 151, 71, 0.16);
}

.decorated-section {
  position: relative;
  overflow: hidden;
}

.decorated-section > * {
  position: relative;
  z-index: 1;
}

.decorated-section::before {
  top: 12px;
  left: -35px;
}

.decorated-section::after {
  right: -35px;
  bottom: 12px;
  transform: scaleX(-1) rotate(180deg);
}

blockquote {
  width: min(620px, 100%);
  margin: 42px auto 0;
  padding: 30px 26px;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: rgba(255, 250, 243, 0.78);
  color: var(--green);
  font-size: 28px;
  font-style: italic;
}

blockquote span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 18px;
  font-style: normal;
}

.event-grid,
.grid-presentes {
  width: min(1100px, 100%);
  margin: 36px auto 0;
  display: grid;
  gap: 22px;
}

.event-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-card,
.card,
.pix-box {
  background: rgba(255, 250, 243, 0.9);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.info-card {
  padding: 34px 26px;
}

.icon,
.card-icon {
  font-family: "Playfair Display", serif;
  color: var(--gold);
  font-size: 42px;
  margin-bottom: 8px;
  font-weight: 700;
}

.info-card h3,
.card h3 {
  font-family: "Playfair Display", serif;
  color: var(--pink);
  margin: 6px 0 10px;
  font-size: 28px;
}

.info-card p {
  margin-bottom: 6px;
}

.map-link {
  display: inline-flex;
  margin-top: 16px;
}

.pix-box {
  width: min(620px, 100%);
  margin: 28px auto 32px;
  padding: 18px 22px;
  font-size: 19px;
}

.pix-box p {
  margin: 4px auto;
}

.grid-presentes {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  min-height: 330px;
}

.card p {
  margin-bottom: 12px;
}

.valor {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  color: var(--green);
  font-weight: 700;
}

.card-actions {
  margin-top: auto;
}

.btn-pix,
.btn-proof {
  width: 100%;
}

label {
  font-family: "Playfair Display", serif;
  color: var(--green);
  font-weight: 700;
  font-size: 17px;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(196, 151, 71, 0.35);
  background: #fffdf8;
  border-radius: 18px;
  padding: 14px 16px;
  font-size: 17px;
  color: var(--text);
  font-family: Arial, sans-serif;
}

textarea {
  resize: vertical;
}

.promo-section {
  background:
    linear-gradient(180deg, rgba(255, 250, 243, 0.82), rgba(244, 232, 218, 0.92)),
    var(--bg-soft);
  border-top: 1px solid rgba(196, 151, 71, 0.16);
}

.footer {
  text-align: center;
  padding: 46px 18px;
  background: #f4e8da;
  border-top: 1px solid rgba(196, 151, 71, 0.24);
}

.footer p {
  font-family: "Great Vibes", cursive;
  color: var(--pink);
  font-size: 44px;
  margin: 0;
}

.footer small {
  color: var(--muted);
  display: block;
  margin-top: 4px;
}

.developer-credit {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  opacity: 0.92;
}

.developer-credit a {
  color: var(--green);
  text-decoration: none;
  font-weight: 600;
}

.developer-credit a:hover {
  text-decoration: underline;
}

@media (max-width: 860px) {
  body {
    font-size: 18px;
  }

  .hero-card {
    padding: 42px 22px;
  }

  .hero-card::before,
  .hero-card::after {
    width: 140px;
    height: 140px;
  }

  .hero-text {
    font-size: 21px;
  }

  .countdown {
    grid-template-columns: repeat(2, 1fr);
  }

  .event-grid,
  .grid-presentes {
    grid-template-columns: 1fr;
  }

  .decorated-section::before,
  .decorated-section::after {
    width: 130px;
    height: 130px;
    opacity: 0.18;
  }
}

@media (max-width: 520px) {
  .hero {
    padding: 28px 12px;
    border-width: 6px;
  }

  .hero::before,
  .hero::after {
    inset: 10px;
  }

  .hero h1 {
    font-size: 74px;
  }

  .pretitle,
  .section-kicker {
    letter-spacing: 0.2em;
  }

  .event-date strong {
    font-size: 24px;
  }

  .section {
    padding: 62px 14px;
  }

  .developer-credit {
    font-size: 13px;
    gap: 6px;
  }
}


/* ===== Ajuste do & central e flores visiveis ===== */

.hero-card::before,
.hero-card::after,
.decorated-section::before,
.decorated-section::after {
  display: none !important;
}

.hero-title {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  line-height: 0.92 !important;
  margin: 0 !important;
}

.hero-title .name-top {
  display: block;
  color: var(--pink);
  font-family: "Great Vibes", cursive;
  font-size: clamp(86px, 12vw, 152px);
  line-height: 0.92;
}

.hero-title .amp {
  display: block;
  color: var(--gold);
  font-family: "Playfair Display", serif;
  font-style: normal;
  font-weight: 600;
  font-size: clamp(34px, 4vw, 60px);
  line-height: 1;
  margin: -2px 0 2px 0;
}

.hero-title .name-bottom {
  display: block;
  color: var(--green);
  font-family: "Great Vibes", cursive;
  font-size: clamp(86px, 12vw, 152px);
  line-height: 0.92;
}

.corner-flower {
  position: absolute;
  width: 210px;
  height: 210px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.95;
  background:
    radial-gradient(circle at 20% 20%, rgba(240, 208, 212, 0.96) 0 16px, transparent 17px),
    radial-gradient(circle at 31% 15%, rgba(233, 190, 196, 0.96) 0 18px, transparent 19px),
    radial-gradient(circle at 41% 24%, rgba(243, 219, 223, 0.96) 0 15px, transparent 16px),
    radial-gradient(circle at 28% 31%, rgba(230, 184, 190, 0.96) 0 14px, transparent 15px),
    radial-gradient(circle at 29% 23%, rgba(212, 180, 121, 0.92) 0 7px, transparent 8px),

    radial-gradient(11px 30px at 12% 47%, rgba(183, 198, 168, 0.95) 0 99%, transparent 100%),
    radial-gradient(11px 30px at 25% 52%, rgba(196, 207, 183, 0.95) 0 99%, transparent 100%),
    radial-gradient(11px 30px at 41% 48%, rgba(183, 198, 168, 0.95) 0 99%, transparent 100%),
    radial-gradient(11px 30px at 54% 34%, rgba(183, 198, 168, 0.92) 0 99%, transparent 100%),

    radial-gradient(circle at 63% 33%, rgba(213, 203, 233, 0.90) 0 12px, transparent 13px),
    radial-gradient(circle at 71% 39%, rgba(196, 184, 227, 0.92) 0 13px, transparent 14px),
    radial-gradient(circle at 58% 42%, rgba(229, 222, 243, 0.92) 0 11px, transparent 12px),

    radial-gradient(9px 24px at 70% 18%, rgba(183, 198, 168, 0.90) 0 99%, transparent 100%),
    radial-gradient(9px 24px at 80% 27%, rgba(196, 207, 183, 0.90) 0 99%, transparent 100%),
    radial-gradient(9px 24px at 50% 58%, rgba(183, 198, 168, 0.92) 0 99%, transparent 100%),

    linear-gradient(135deg, transparent 0 43%, rgba(181, 194, 163, 0.85) 44% 45%, transparent 46% 100%);
  background-repeat: no-repeat;
}

.corner-flower.top-left {
  top: -24px;
  left: -22px;
}

.corner-flower.top-right {
  top: -24px;
  right: -22px;
  transform: scaleX(-1);
}

.corner-flower.bottom-left {
  bottom: -26px;
  left: -18px;
  transform: scale(0.92) rotate(8deg);
  opacity: 0.82;
}

.corner-flower.bottom-right {
  bottom: -26px;
  right: -18px;
  transform: scaleX(-1) scale(0.92) rotate(8deg);
  opacity: 0.82;
}

.hero-card > *:not(.corner-flower) {
  position: relative;
  z-index: 1;
}

.decorated-section {
  position: relative;
  overflow: hidden;
}

.decorated-section::before,
.decorated-section::after {
  display: block !important;
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.18;
  background:
    radial-gradient(circle at 20% 20%, rgba(240, 208, 212, 0.96) 0 13px, transparent 14px),
    radial-gradient(circle at 31% 15%, rgba(233, 190, 196, 0.96) 0 14px, transparent 15px),
    radial-gradient(circle at 41% 24%, rgba(243, 219, 223, 0.96) 0 12px, transparent 13px),
    radial-gradient(circle at 29% 23%, rgba(212, 180, 121, 0.92) 0 6px, transparent 7px),
    radial-gradient(9px 22px at 12% 47%, rgba(183, 198, 168, 0.95) 0 99%, transparent 100%),
    radial-gradient(9px 22px at 25% 52%, rgba(196, 207, 183, 0.95) 0 99%, transparent 100%),
    radial-gradient(circle at 63% 33%, rgba(213, 203, 233, 0.90) 0 10px, transparent 11px),
    radial-gradient(circle at 71% 39%, rgba(196, 184, 227, 0.92) 0 11px, transparent 12px);
  background-repeat: no-repeat;
}

.decorated-section::before {
  top: 10px;
  left: -20px;
}

.decorated-section::after {
  right: -20px;
  bottom: 10px;
  transform: scaleX(-1) rotate(180deg);
}

.decorated-section > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 860px) {
  .corner-flower {
    width: 150px;
    height: 150px;
  }

  .hero-title .name-top,
  .hero-title .name-bottom {
    font-size: clamp(74px, 16vw, 118px);
  }

  .hero-title .amp {
    font-size: clamp(28px, 6vw, 44px);
  }

  .decorated-section::before,
  .decorated-section::after {
    width: 110px;
    height: 110px;
    opacity: 0.14;
  }
}

@media (max-width: 520px) {
  .corner-flower {
    width: 110px;
    height: 110px;
    opacity: 0.78;
  }

  .hero-title .name-top,
  .hero-title .name-bottom {
    font-size: clamp(64px, 18vw, 88px);
  }

  .hero-title .amp {
    font-size: clamp(24px, 7vw, 34px);
  }
}

/* ===== AJUSTE FINAL: FLORES REAIS + TITULO EM LINHA ===== */

.hero-card::before,
.hero-card::after,
.floral,
.floral::before,
.floral::after {
  display: none !important;
  content: none !important;
  background: none !important;
}

.hero-card {
  overflow: hidden !important;
}

.hero-card > *:not(.corner-flower) {
  position: relative !important;
  z-index: 2 !important;
}

.corner-flower {
  position: absolute !important;
  display: block !important;
  pointer-events: none !important;
  z-index: 1 !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  background-position: center !important;
  opacity: 0.95 !important;
  filter: none !important;
}

.corner-flower.top-left {
  width: 185px !important;
  height: 340px !important;
  top: -2px !important;
  left: 0 !important;
  background-image: url("assets/floral-top-left.png") !important;
}

.corner-flower.top-right {
  width: 230px !important;
  height: 340px !important;
  top: -2px !important;
  right: 0 !important;
  background-image: url("assets/floral-top-right.png") !important;
}

.corner-flower.bottom-left {
  width: 255px !important;
  height: 360px !important;
  bottom: -8px !important;
  left: 0 !important;
  background-image: url("assets/floral-bottom-left.png") !important;
  opacity: 0.9 !important;
}

.corner-flower.bottom-right {
  width: 260px !important;
  height: 370px !important;
  bottom: -10px !important;
  right: 0 !important;
  background-image: url("assets/floral-bottom-right.png") !important;
  opacity: 0.92 !important;
}

.hero-title.real-title {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: clamp(12px, 1.7vw, 24px) !important;
  flex-wrap: nowrap !important;
  margin: 0 auto !important;
  line-height: 0.95 !important;
  white-space: nowrap !important;
}

.hero-title.real-title .name-isabella,
.hero-title.real-title .name-tiago {
  display: inline-block !important;
  font-family: "Great Vibes", cursive !important;
  font-weight: 400 !important;
  line-height: 0.92 !important;
  font-size: clamp(78px, 8.4vw, 136px) !important;
}

.hero-title.real-title .name-isabella {
  color: var(--pink) !important;
}

.hero-title.real-title .name-tiago {
  color: var(--green) !important;
}

.hero-title.real-title .amp {
  display: inline-block !important;
  color: var(--gold) !important;
  font-family: "Great Vibes", cursive !important;
  font-style: normal !important;
  font-weight: 400 !important;
  font-size: clamp(56px, 5.4vw, 92px) !important;
  line-height: 0.92 !important;
  margin: 0 -2px !important;
  transform: translateY(-2px) !important;
}

.decorated-section::before,
.decorated-section::after {
  display: block !important;
  content: "" !important;
  position: absolute !important;
  pointer-events: none !important;
  z-index: 0 !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  background-position: center !important;
  opacity: 0.18 !important;
}

.decorated-section::before {
  width: 150px !important;
  height: 260px !important;
  top: 12px !important;
  left: 0 !important;
  background-image: url("assets/floral-top-left.png") !important;
}

.decorated-section::after {
  width: 170px !important;
  height: 270px !important;
  right: 0 !important;
  bottom: 12px !important;
  background-image: url("assets/floral-bottom-right.png") !important;
  transform: none !important;
}

.decorated-section > * {
  position: relative !important;
  z-index: 1 !important;
}

@media (max-width: 860px) {
  .corner-flower.top-left {
    width: 125px !important;
    height: 245px !important;
  }

  .corner-flower.top-right {
    width: 150px !important;
    height: 250px !important;
  }

  .corner-flower.bottom-left {
    width: 150px !important;
    height: 250px !important;
  }

  .corner-flower.bottom-right {
    width: 155px !important;
    height: 260px !important;
  }

  .hero-title.real-title .name-isabella,
  .hero-title.real-title .name-tiago {
    font-size: clamp(58px, 13vw, 92px) !important;
  }

  .hero-title.real-title .amp {
    font-size: clamp(40px, 8vw, 64px) !important;
  }
}

@media (max-width: 620px) {
  .hero-title.real-title {
    flex-direction: column !important;
    gap: 0 !important;
    white-space: normal !important;
  }

  .hero-title.real-title .amp {
    margin: -4px 0 -2px 0 !important;
  }

  .corner-flower.top-left,
  .corner-flower.top-right {
    opacity: 0.76 !important;
  }

  .corner-flower.bottom-left,
  .corner-flower.bottom-right {
    opacity: 0.68 !important;
  }
}

/* ===== Override: flores web pastel ===== */
.hero-card::before,
.hero-card::after,
.decorated-section::before,
.decorated-section::after {
  display: none !important;
}

.hero-card {
  overflow: hidden;
  padding-top: 66px;
  padding-bottom: 78px;
}

.corner-flower {
  display: block !important;
  position: absolute;
  z-index: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.hero-card > *:not(.corner-flower) {
  position: relative;
  z-index: 2;
}

.corner-flower.top-left {
  width: 170px;
  height: 170px;
  top: -4px;
  left: -2px;
  background-image: url('assets/florais-web/flor_b.png');
}

.corner-flower.top-right {
  width: 170px;
  height: 170px;
  top: -4px;
  right: -2px;
  background-image: url('assets/florais-web/flor_b.png');
  transform: scaleX(-1);
}

.corner-flower.bottom-left {
  width: 190px;
  height: 190px;
  left: 6px;
  bottom: -8px;
  background-image: url('assets/florais-web/flor_a.png');
}

.corner-flower.bottom-right {
  width: 190px;
  height: 190px;
  right: 6px;
  bottom: -8px;
  background-image: url('assets/florais-web/flor_a.png');
  transform: scaleX(-1);
}

/* flor opcional mais leve nas secoes internas */
.decorated-section {
  position: relative;
  overflow: hidden;
}

.decorated-section::before,
.decorated-section::after {
  display: block !important;
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.12;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-image: url('assets/florais-web/flor_c.png');
}

.decorated-section::before {
  top: 10px;
  left: -14px;
}

.decorated-section::after {
  right: -14px;
  bottom: 10px;
  transform: scaleX(-1) rotate(180deg);
}

.decorated-section > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 860px) {
  .corner-flower.top-left,
  .corner-flower.top-right {
    width: 120px;
    height: 120px;
  }

  .corner-flower.bottom-left,
  .corner-flower.bottom-right {
    width: 135px;
    height: 135px;
  }

  .hero-card {
    padding-top: 58px;
    padding-bottom: 68px;
  }
}

@media (max-width: 520px) {
  .corner-flower.top-left,
  .corner-flower.top-right {
    width: 96px;
    height: 96px;
  }

  .corner-flower.bottom-left,
  .corner-flower.bottom-right {
    width: 110px;
    height: 110px;
    bottom: -4px;
  }

  .decorated-section::before,
  .decorated-section::after {
    width: 82px;
    height: 82px;
    opacity: 0.08;
  }
}

/* ===== Override: flores web pastel ===== */
.hero-card::before,
.hero-card::after,
.decorated-section::before,
.decorated-section::after {
  display: none !important;
}

.hero-card {
  overflow: hidden;
  padding-top: 66px;
  padding-bottom: 78px;
}

.corner-flower {
  display: block !important;
  position: absolute;
  z-index: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.hero-card > *:not(.corner-flower) {
  position: relative;
  z-index: 2;
}

.corner-flower.top-left {
  width: 170px;
  height: 170px;
  top: -4px;
  left: -2px;
  background-image: url('assets/florais-web/flor_b.png');
}

.corner-flower.top-right {
  width: 170px;
  height: 170px;
  top: -4px;
  right: -2px;
  background-image: url('assets/florais-web/flor_b.png');
  transform: scaleX(-1);
}

.corner-flower.bottom-left {
  width: 190px;
  height: 190px;
  left: 6px;
  bottom: -8px;
  background-image: url('assets/florais-web/flor_a.png');
}

.corner-flower.bottom-right {
  width: 190px;
  height: 190px;
  right: 6px;
  bottom: -8px;
  background-image: url('assets/florais-web/flor_a.png');
  transform: scaleX(-1);
}

/* flor opcional mais leve nas secoes internas */
.decorated-section {
  position: relative;
  overflow: hidden;
}

.decorated-section::before,
.decorated-section::after {
  display: block !important;
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.12;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-image: url('assets/florais-web/flor_c.png');
}

.decorated-section::before {
  top: 10px;
  left: -14px;
}

.decorated-section::after {
  right: -14px;
  bottom: 10px;
  transform: scaleX(-1) rotate(180deg);
}

.decorated-section > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 860px) {
  .corner-flower.top-left,
  .corner-flower.top-right {
    width: 120px;
    height: 120px;
  }

  .corner-flower.bottom-left,
  .corner-flower.bottom-right {
    width: 135px;
    height: 135px;
  }

  .hero-card {
    padding-top: 58px;
    padding-bottom: 68px;
  }
}

@media (max-width: 520px) {
  .corner-flower.top-left,
  .corner-flower.top-right {
    width: 96px;
    height: 96px;
  }

  .corner-flower.bottom-left,
  .corner-flower.bottom-right {
    width: 110px;
    height: 110px;
    bottom: -4px;
  }

  .decorated-section::before,
  .decorated-section::after {
    width: 82px;
    height: 82px;
    opacity: 0.08;
  }
}

/* ===== FORCAR FLORES PASTEL VISIVEIS - AJUSTE FINAL ===== */

.hero-card {
  position: relative !important;
  overflow: hidden !important;
  padding-top: 78px !important;
  padding-bottom: 88px !important;
}

.hero-card::before,
.hero-card::after {
  display: none !important;
}

.hero-card .corner-flower {
  display: block !important;
  position: absolute !important;
  z-index: 1 !important;
  pointer-events: none !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  background-position: center !important;
}

.hero-card > *:not(.corner-flower) {
  position: relative !important;
  z-index: 2 !important;
}

.hero-card .corner-flower.top-left {
  width: 220px !important;
  height: 220px !important;
  top: -8px !important;
  left: -8px !important;
  background-image: url("assets/florais-web/flor_b.png") !important;
  opacity: 0.82 !important;
}

.hero-card .corner-flower.top-right {
  width: 220px !important;
  height: 220px !important;
  top: -8px !important;
  right: -8px !important;
  background-image: url("assets/florais-web/flor_b.png") !important;
  transform: scaleX(-1) !important;
  opacity: 0.82 !important;
}

.hero-card .corner-flower.bottom-left {
  width: 250px !important;
  height: 250px !important;
  left: -6px !important;
  bottom: -12px !important;
  background-image: url("assets/florais-web/flor_a.png") !important;
  opacity: 0.72 !important;
}

.hero-card .corner-flower.bottom-right {
  width: 250px !important;
  height: 250px !important;
  right: -6px !important;
  bottom: -12px !important;
  background-image: url("assets/florais-web/flor_a.png") !important;
  transform: scaleX(-1) !important;
  opacity: 0.72 !important;
}

.decorated-section::before,
.decorated-section::after {
  background-image: url("assets/florais-web/flor_c.png") !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  background-position: center !important;
  opacity: 0.10 !important;
}

@media (max-width: 860px) {
  .hero-card .corner-flower.top-left,
  .hero-card .corner-flower.top-right {
    width: 145px !important;
    height: 145px !important;
  }

  .hero-card .corner-flower.bottom-left,
  .hero-card .corner-flower.bottom-right {
    width: 165px !important;
    height: 165px !important;
  }
}

@media (max-width: 520px) {
  .hero-card .corner-flower.top-left,
  .hero-card .corner-flower.top-right {
    width: 112px !important;
    height: 112px !important;
  }

  .hero-card .corner-flower.bottom-left,
  .hero-card .corner-flower.bottom-right {
    width: 130px !important;
    height: 130px !important;
  }
}



/* ===== FLORES PNG TRANSPARENTES ===== */

.hero-card .corner-flower {
  background-repeat: no-repeat !important;
  background-size: contain !important;
  background-position: center !important;
  background-color: transparent !important;
}

.hero-card .corner-flower.top-left {
  width: 180px !important;
  height: 180px !important;
  top: 6px !important;
  left: 6px !important;
  background-image: url("assets/florais-png/flor_b_t.png") !important;
  opacity: 0.95 !important;
}

.hero-card .corner-flower.top-right {
  width: 180px !important;
  height: 180px !important;
  top: 6px !important;
  right: 6px !important;
  background-image: url("assets/florais-png/flor_b_t.png") !important;
  transform: scaleX(-1) !important;
  opacity: 0.95 !important;
}

.hero-card .corner-flower.bottom-left {
  width: 210px !important;
  height: 210px !important;
  left: 10px !important;
  bottom: 4px !important;
  background-image: url("assets/florais-png/flor_a_t.png") !important;
  opacity: 0.95 !important;
}

.hero-card .corner-flower.bottom-right {
  width: 210px !important;
  height: 210px !important;
  right: 10px !important;
  bottom: 4px !important;
  background-image: url("assets/florais-png/flor_a_t.png") !important;
  transform: scaleX(-1) !important;
  opacity: 0.95 !important;
}

.decorated-section::before,
.decorated-section::after {
  background-image: url("assets/florais-png/flor_c_t.png") !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  background-position: center !important;
  opacity: 0.08 !important;
}

@media (max-width: 860px) {
  .hero-card .corner-flower.top-left,
  .hero-card .corner-flower.top-right {
    width: 125px !important;
    height: 125px !important;
  }

  .hero-card .corner-flower.bottom-left,
  .hero-card .corner-flower.bottom-right {
    width: 145px !important;
    height: 145px !important;
  }
}

@media (max-width: 520px) {
  .hero-card .corner-flower.top-left,
  .hero-card .corner-flower.top-right {
    width: 100px !important;
    height: 100px !important;
  }

  .hero-card .corner-flower.bottom-left,
  .hero-card .corner-flower.bottom-right {
    width: 120px !important;
    height: 120px !important;
  }
}

/* ===== CORRECAO FINAL - FLORES PNG TRANSPARENTES VISIVEIS ===== */

.hero-card {
  position: relative !important;
  overflow: hidden !important;
  padding-top: 78px !important;
  padding-bottom: 92px !important;
}

.hero-card::before,
.hero-card::after {
  display: none !important;
}

.hero-card .corner-flower {
  display: block !important;
  position: absolute !important;
  z-index: 1 !important;
  pointer-events: none !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  background-position: center !important;
  background-color: transparent !important;
}

.hero-card > *:not(.corner-flower) {
  position: relative !important;
  z-index: 2 !important;
}

.hero-card .corner-flower.top-left {
  width: 190px !important;
  height: 190px !important;
  top: 8px !important;
  left: 12px !important;
  background-image: url("assets/florais-png/flor_b_t.png") !important;
  opacity: 1 !important;
}

.hero-card .corner-flower.top-right {
  width: 190px !important;
  height: 190px !important;
  top: 8px !important;
  right: 12px !important;
  background-image: url("assets/florais-png/flor_b_t.png") !important;
  transform: scaleX(-1) !important;
  opacity: 1 !important;
}

.hero-card .corner-flower.bottom-left {
  width: 230px !important;
  height: 230px !important;
  left: 10px !important;
  bottom: 8px !important;
  background-image: url("assets/florais-png/flor_a_t.png") !important;
  opacity: 1 !important;
}

.hero-card .corner-flower.bottom-right {
  width: 230px !important;
  height: 230px !important;
  right: 10px !important;
  bottom: 8px !important;
  background-image: url("assets/florais-png/flor_a_t.png") !important;
  transform: scaleX(-1) !important;
  opacity: 1 !important;
}

.decorated-section::before,
.decorated-section::after {
  background-image: url("assets/florais-png/flor_c_t.png") !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  background-position: center !important;
  opacity: 0.10 !important;
}

@media (max-width: 860px) {
  .hero-card .corner-flower.top-left,
  .hero-card .corner-flower.top-right {
    width: 130px !important;
    height: 130px !important;
  }

  .hero-card .corner-flower.bottom-left,
  .hero-card .corner-flower.bottom-right {
    width: 155px !important;
    height: 155px !important;
  }
}

@media (max-width: 520px) {
  .hero-card .corner-flower.top-left,
  .hero-card .corner-flower.top-right {
    width: 95px !important;
    height: 95px !important;
  }

  .hero-card .corner-flower.bottom-left,
  .hero-card .corner-flower.bottom-right {
    width: 120px !important;
    height: 120px !important;
  }
}


/* ===== Ajuste visual do Pix e formulario ===== */

.pix-note {
  font-size: 16px;
  color: var(--muted);
  margin-top: 8px !important;
}

select {
  width: 100%;
  border: 1px solid rgba(196, 151, 71, 0.35);
  background: #fffdf8;
  border-radius: 18px;
  padding: 14px 16px;
  font-size: 17px;
  color: var(--text);
  font-family: Arial, sans-serif;
}


/* ===== Ajuste visual do Pix e formulario ===== */

.pix-note {
  font-size: 16px;
  color: var(--muted);
  margin-top: 8px !important;
}

select {
  width: 100%;
  border: 1px solid rgba(196, 151, 71, 0.35);
  background: #fffdf8;
  border-radius: 18px;
  padding: 14px 16px;
  font-size: 17px;
  color: var(--text);
  font-family: Arial, sans-serif;
}


/* ===== Formularios de presenca e registro de presente ===== */

.btn-register {
  width: 100%;
  background: #fff8ed;
  color: var(--pink);
  border: 1px solid rgba(196, 151, 71, 0.35);
  border-radius: 999px;
  padding: 13px 24px;
  font-family: "Playfair Display", serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.btn-register:hover {
  transform: translateY(-1px);
  opacity: 0.94;
}

/* ===== Ajuste clean dos presentes ===== */

.clean-actions {
  margin-top: auto;
}

.clean-actions .btn-pix {
  width: 100%;
  font-size: 16px;
}

.btn-proof,
.btn-register {
  display: none !important;
}


/* ===== Ajuste clean da lista de cotas ===== */

.pix-box {
  display: none !important;
}

.card h3 {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card p:not(.valor) {
  min-height: 82px;
}

.clean-actions .btn-pix {
  letter-spacing: 0.01em;
}



.closed-message {
  width: min(720px, 100%);
  margin: 28px auto 18px;
  padding: 18px 22px;
  border: 1px solid rgba(196, 151, 71, 0.35);
  border-radius: 18px;
  background: rgba(255, 250, 243, 0.95);
  color: var(--pink);
  text-align: center;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  box-shadow: var(--shadow);
}

/* ===== Fotos do casal em transicao ===== */

.couple-photo-slider {
  position: relative;
  width: min(390px, 92%);
  aspect-ratio: 4 / 5;
  margin: 28px auto 24px;
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid rgba(196, 151, 71, 0.35);
  box-shadow: 0 22px 60px rgba(88, 70, 45, 0.16);
  background: #fffaf3;
}

.couple-photo-slider::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(201, 160, 76, 0.38);
  border-radius: 26px;
  z-index: 3;
  pointer-events: none;
}

.photo-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: casalFade 10s infinite ease-in-out;
  filter: saturate(0.96) sepia(0.05) brightness(1.02);
}

.slide-one {
  animation-delay: 0s;
}

.slide-two {
  animation-delay: 5s;
}

@keyframes casalFade {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  42% {
    opacity: 1;
    transform: scale(1.025);
  }

  50% {
    opacity: 0;
    transform: scale(1.04);
  }

  92% {
    opacity: 0;
    transform: scale(1.02);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 860px) {
  .couple-photo-slider {
    width: min(340px, 94%);
    margin-top: 24px;
  }
}

@media (max-width: 520px) {
  .couple-photo-slider {
    width: min(300px, 96%);
    border-radius: 26px;
  }

  .couple-photo-slider::before {
    inset: 9px;
    border-radius: 20px;
  }
}

/* ===== Fotos do casal abaixo da história ===== */

.couple-photo-slider {
  position: relative;
  width: min(520px, 92%);
  aspect-ratio: 4 / 5;
  margin: 42px auto 0;
  border-radius: 34px;
  overflow: hidden;
  border: 1px solid rgba(196, 151, 71, 0.35);
  box-shadow: 0 22px 60px rgba(88, 70, 45, 0.16);
  background: #fffaf3;
}

.historia-slider {
  margin-top: 42px;
}

.couple-photo-slider::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(201, 160, 76, 0.38);
  border-radius: 26px;
  z-index: 3;
  pointer-events: none;
}

.photo-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: casalFade 10s infinite ease-in-out;
  filter: saturate(0.96) sepia(0.05) brightness(1.02);
}

.slide-one {
  animation-delay: 0s;
}

.slide-two {
  animation-delay: 5s;
}

@keyframes casalFade {
  0% {
    opacity: 1;
    transform: scale(1);
  }

  42% {
    opacity: 1;
    transform: scale(1.025);
  }

  50% {
    opacity: 0;
    transform: scale(1.04);
  }

  92% {
    opacity: 0;
    transform: scale(1.02);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 860px) {
  .couple-photo-slider {
    width: min(420px, 94%);
    margin-top: 34px;
  }
}

@media (max-width: 520px) {
  .couple-photo-slider {
    width: min(320px, 96%);
    border-radius: 26px;
  }

  .couple-photo-slider::before {
    inset: 9px;
    border-radius: 20px;
  }
}
