/* =============================================
   TEMA "Tiago & Inubyélem": prata e grafite, serifa elegante,
   inspirado no convite digital dos noivos. Carregado depois do main.css.
   ============================================= */

:root {
  --color-dark: #292a2e;
  --color-light: #fbfbfc;
  --color-muted: #686a70;
  --color-silver: #a7a9ae;
  --color-line: #dedfe2;
  --border-radius: 2px;
}

body { font-weight: 400; font-size: 15px; line-height: 1.75; }

h1, h2, h3, h4, h5,
.section-title, .page-title, .hero-names, .cta-title {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.08;
}

/* Rotulos pequenos em caixa alta, bem espacados */
.section-tag,
.kicker {
  display: inline-block;
  font-size: .68rem;
  letter-spacing: .23em;
  text-transform: uppercase;
  color: var(--color-silver);
  font-weight: 600;
  background: none;
  padding: 0;
}

.section-title { font-size: clamp(2.4rem, 6vw, 4.2rem); margin: 10px 0 15px; }
.page-title { font-size: clamp(2.6rem, 7vw, 4.6rem); }
.section-subtitle, .page-subtitle, .lead-muted { color: var(--color-muted); font-size: .95rem; }

/* Botoes retos, caixa alta */
.btn {
  border-radius: 0 !important;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .72rem;
  font-weight: 500;
  padding: .8rem 1.3rem;
}
.btn-sm { font-size: .64rem; padding: .55rem .85rem; }
.btn-lg { font-size: .78rem; padding: .95rem 1.6rem; }
.btn-primary { background: var(--color-dark); border-color: var(--color-dark); }
.btn-primary:hover { background: #000; border-color: #000; transform: none; }
.btn-outline-primary { color: var(--color-dark); border-color: var(--color-dark); background: transparent; }
.btn-outline-primary:hover { background: var(--color-dark); border-color: var(--color-dark); color: #fff; }

/* Navbar */
.wedding-navbar { background: rgba(251, 251, 252, .95) !important; backdrop-filter: blur(12px); border-bottom: 1px solid var(--color-line); }
.wedding-brand { font-size: 1.45rem; font-weight: 500; }
.wedding-brand .text-primary { color: var(--color-silver) !important; font-style: italic; }
.wedding-navbar .nav-link { text-transform: uppercase; letter-spacing: .08em; font-size: .68rem; font-weight: 500; color: var(--color-muted) !important; }
.wedding-navbar .nav-link:hover,
.wedding-navbar .nav-link.active { color: var(--color-dark) !important; background: transparent; }
.btn-gift { background: transparent; border: 1px solid var(--color-line); border-radius: 0 !important; color: var(--color-dark) !important; }
.btn-confirm { background: var(--color-dark) !important; border-radius: 0 !important; color: #fff !important; }
.btn-confirm:hover { background: #000 !important; }
@media (min-width: 992px) and (max-width: 1399.98px) {
  .wedding-navbar .nav-link { font-size: .64rem; letter-spacing: .05em; }
}

/* ===== HERO com moldura fina ===== */
.hero-section { min-height: 94vh; }
.hero-section::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, .6);
  pointer-events: none;
  z-index: 2;
}
.hero-img { object-position: center 22%; }
.hero-overlay {
  background: linear-gradient(180deg, rgba(20, 20, 24, .10) 0%, rgba(20, 20, 24, .30) 45%, rgba(20, 20, 24, .66) 100%);
}
.hero-content { z-index: 3; max-width: 850px; }
.hero-subtitle { font-size: .7rem; letter-spacing: .3em; opacity: 1; }
.hero-names { font-size: clamp(3.4rem, 10vw, 7.2rem); font-weight: 500; margin: 12px 0; text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.hero-ampersand { color: #e3e4e7; font-style: italic; font-weight: 400; }
.hero-date { letter-spacing: .22em; text-transform: uppercase; font-size: .88rem; }
.hero-lead { max-width: 570px; margin: 18px auto 0; font-size: .95rem; opacity: .95; }
.btn-hero { border-radius: 0; }
.hero-cta .btn-primary { background: #fff; border-color: #fff; color: var(--color-dark); }
.hero-cta .btn-primary:hover { background: #f0f1f3; color: #000; }
.countdown-item { border-radius: 0 !important; }
@media (max-width: 575.98px) {
  .hero-section::after { inset: 10px; }
  .hero-names { font-size: clamp(2.8rem, 15vw, 3.6rem); }
}

/* Celular/tablet: foto vertical de fundo, texto na parte de baixo para nao cobrir os rostos */
@media (max-width: 991.98px) {
  .hero-section { align-items: flex-end; min-height: 100svh; }
  .hero-content { padding-bottom: 3.2rem; }
  .hero-img { object-position: center 12%; }
  .hero-overlay { background: linear-gradient(180deg, rgba(20, 20, 24, 0) 0%, rgba(20, 20, 24, .05) 30%, rgba(20, 20, 24, .55) 58%, rgba(20, 20, 24, .82) 100%); }
  .hero-lead { font-size: .88rem; }
  .countdown-wrapper { margin-top: 1.6rem !important; }
  .hero-scroll-hint { display: none; }
}

/* Desktop: duas colunas. Texto a esquerda sobre papel, foto vertical inteira a direita. */
@media (min-width: 992px) {
  .hero-section { min-height: calc(100vh - 70px); justify-content: flex-start; background: var(--color-light); }
  .hero-section #heroCarousel,
  .hero-section > .hero-img { left: 50%; width: 50%; }
  .hero-section .hero-img { object-position: center 18%; }
  .hero-section .hero-overlay { display: none; }
  .hero-section::after { border-color: color-mix(in srgb, var(--color-dark) 18%, transparent); }
  .hero-content { width: 50%; color: var(--color-dark); padding: 3rem 3.5rem; }
  .hero-subtitle { color: var(--color-silver); }
  .hero-names { text-shadow: none; font-size: clamp(3.6rem, 6.4vw, 6.4rem); }
  .hero-ampersand { color: var(--color-silver); }
  .hero-lead { color: var(--color-muted); }
  .hero-cta .btn-primary { background: var(--color-dark); border-color: var(--color-dark); color: #fff; }
  .hero-cta .btn-primary:hover { background: #000; color: #fff; }
  .hero-cta .btn-outline-light { color: var(--color-dark); border-color: var(--color-dark); }
  .hero-cta .btn-outline-light:hover { background: var(--color-dark); color: #fff; }
  .countdown-item { background: transparent; backdrop-filter: none; border: 1px solid var(--color-line); color: var(--color-dark); }
  .countdown-sep { color: var(--color-silver); }
  .hero-scroll-hint { left: 25%; color: var(--color-silver); }
}

/* Faixas de secao */
.page-hero { background: var(--color-secondary); padding: 90px 0 56px; border-bottom: 1px solid var(--color-line); }
.bg-light-cream { background: var(--color-secondary) !important; }
.welcome-section { background: #fff; }

/* ===== HISTORIA: texto + foto com sombra deslocada ===== */
.story-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr); gap: 48px; align-items: start; }
.story-copy p { margin: 0 0 18px; color: #55575c; }
.story-photo { position: sticky; top: 100px; }
.story-photo img { width: 100%; display: block; max-height: 680px; object-fit: cover; object-position: center 25%; box-shadow: 18px 18px 0 #eceef0; }
.story-caption { font-size: .7rem; color: var(--color-muted); text-align: right; margin-top: 25px; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 767.98px) {
  .story-layout { grid-template-columns: 1fr; gap: 28px; }
  .story-photo { position: static; max-width: 460px; margin: 0 auto; }
  .story-photo img { max-height: 520px; box-shadow: 12px 12px 0 #eceef0; }
}

/* ===== EVENTOS em cartoes ===== */
.event-card { border: 1px solid var(--color-line); padding: 30px; background: linear-gradient(145deg, #fff, #f7f7f8); height: 100%; display: flex; flex-direction: column; }
.event-card h3 { font-size: 2.1rem; margin: 10px 0; }
.event-card address { font-style: normal; color: var(--color-muted); margin: 12px 0 18px; }
.event-card .event-when { color: var(--color-muted); font-size: .85rem; margin-bottom: 4px; }
.event-card .btn { align-self: flex-start; margin-top: auto; }
.event-detail-card { border: 1px solid var(--color-line); border-radius: 0; box-shadow: none; }
.event-type-badge { border-radius: 0; background: transparent; border: 1px solid var(--color-line); color: var(--color-muted); letter-spacing: .15em; text-transform: uppercase; font-size: .62rem; }

/* ===== MANUAL DO CONVIDADO ===== */
.manual-section { background: var(--color-secondary); }
.rules { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; max-width: 850px; margin: 0 auto; padding: 0; list-style: none; }
.rule { padding: 12px 4px; border-bottom: 1px solid #d8dade; font-size: .88rem; }
.rule::before { content: "✧"; margin-right: 12px; color: #85888e; }
.rule.is-highlight { font-weight: 600; }
.rules-thanks { text-align: center; font: 500 1.7rem/1.25 var(--font-heading); margin-top: 35px; text-transform: uppercase; letter-spacing: .02em; }
@media (max-width: 650px) { .rules { grid-template-columns: 1fr; } }

/* ===== RSVP / CTA escuro ===== */
.cta-section, .confirm-section { background: var(--color-dark) !important; color: #fff; }
.cta-section .section-tag, .confirm-section .section-tag { color: #c8c9cc; }
.cta-subtitle, .confirm-section .lead-muted { color: #c8c9cc; }
.cta-section .btn-primary, .confirm-section .btn-primary { background: #fff; border-color: #fff; color: var(--color-dark); }
.cta-section .btn-primary:hover, .confirm-section .btn-primary:hover { background: #e9eaec; color: #000; }
.rsvp-whatsapp-card { background: #fff; border: 1px solid var(--color-line); padding: 32px; text-align: center; }
.rsvp-card { border-radius: 0; box-shadow: none; border: 1px solid var(--color-line); }
.rsvp-status-option { border-radius: 0 !important; }

/* ===== PRESENTES ===== */
.gift-card { border-radius: 0 !important; border: 1px solid #e5e5e7; box-shadow: none !important; transition: transform .2s, box-shadow .2s; }
.gift-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(34, 34, 34, .07) !important; }
.gift-card-img-wrap, .gift-card-img { border-radius: 0 !important; }
.gift-card-img { height: 170px; object-fit: cover; }
.gift-card-name { font-size: 1.45rem; font-weight: 500; }
.gift-card-cat { font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; color: var(--color-muted); background: none; padding: 0; }
.gift-card-desc { font-size: .78rem; line-height: 1.55; color: var(--color-muted); }
.gift-card-price { color: var(--color-dark); font-weight: 600; }
.gift-filter { border: 1px solid var(--color-line); background: #fff; padding: 9px 13px; font: 500 .68rem var(--font-body); letter-spacing: .06em; cursor: pointer; color: var(--color-dark); }
.gift-filter.active { background: var(--color-dark); color: #fff; border-color: var(--color-dark); }
.gift-search { max-width: 460px; margin: 0 auto 28px; }
.gift-search input { border-radius: 0; padding: 13px 15px; border-color: var(--color-line); }
.gift-count { font-size: .78rem; color: var(--color-muted); text-align: center; margin: 22px 0 6px; }
.fine { font-size: .72rem; color: var(--color-muted); }
@media (max-width: 575.98px) {
  .gift-card-img { height: 150px; }
  .gift-card-footer { flex-wrap: wrap; gap: 8px; }
}

/* ===== PIX ===== */
.pix-box { display: grid; grid-template-columns: 250px 1fr; gap: 34px; align-items: center; max-width: 820px; margin: 0 auto; text-align: left; }
.pix-qr { padding: 14px; border: 1px solid var(--color-line); background: #fff; text-align: center; }
.pix-qr img { width: 100%; max-width: 220px; image-rendering: pixelated; }
.pix-key { padding: 13px; border: 1px solid var(--color-line); background: #f7f7f8; overflow-wrap: anywhere; font-size: .82rem; font-family: ui-monospace, Consolas, monospace; }
.pix-amount { font: 500 2.2rem/1 var(--font-heading); margin: 6px 0 14px; }
.pix-copied { font-size: .75rem; color: #1b7f4b; min-height: 1.2em; margin-top: 6px; }
@media (max-width: 650px) {
  .pix-box { grid-template-columns: 1fr; text-align: center; }
  .pix-qr { max-width: 250px; margin: 0 auto; }
}

/* Cartoes e formularios com cantos retos */
.checkout-card, .guestbook-form-card, .guestbook-message-card, .recommend-form-card, .rec-card, .track-card,
.support-contact-card, .useful-link-card, .ceremonialist-card, .party-card, .couple-message-card, .timeline-content {
  border-radius: 0 !important;
}
.form-control, .form-select, .input-group-text { border-radius: 0 !important; }

/* Rodape */
.wedding-footer { background: #202125 !important; color: #d8d9dc; }
.wedding-footer h4 { font-size: 2.6rem; color: #fff; font-weight: 500; }
.wedding-footer h4 span { color: var(--color-silver); font-style: italic; }
.wedding-footer a { color: #d8d9dc; }
.footer-date { letter-spacing: .22em; text-transform: uppercase; font-size: .8rem; }

/* Pagamento com cartao (Mercado Pago) */
.card-pay-box { border-top: 1px solid var(--color-line); padding-top: 24px; text-align: center; }
