/* =============================================================================
   DESIGN SYSTEM & ESTILOS — CHÁ DE CASA NOVA: ANA CLARA & THALITA
   Direção de Arte: Editorial Afetivo • Branco Envelhecido, Azul & Amarelo Pastel
   ============================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Great+Vibes&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    /* Paleta de Cores Oficial (Extraída do Save the Date + Ilustração Autoral) */
    --bg-aged-white: #F2EFE4;
    --bg-aged-light: #FAF8F1;
    --bg-aged-deep: #E6E1D0;
    --bg-card: #FCFBF7;

    /* Tons de Azul (Caligrafia Save the Date + Panelas Line-Art + Azul Pastel) */
    --blue-royal: #184B9E;
    --blue-royal-hover: #12397A;
    --blue-medium: #3B6BB8;
    --blue-pastel: #D9E5F4;
    --blue-pastel-border: #B3C9E6;
    --blue-soft-bg: #EEF4FA;

    /* Tons de Amarelo Pastel & Mostarda Suave (Utensílios + Ramos Botânicos) */
    --yellow-pastel: #F3EBC2;
    --yellow-pastel-border: #DFD18B;
    --yellow-gold: #9E8D32;
    --yellow-gold-dark: #7D6E22;
    --yellow-soft-bg: #FAF6E4;

    /* Tons Neutros e de Apoio */
    --text-charcoal: #2B2D2A;
    --text-muted: #5A5D56;
    --text-light: #7E8279;
    --border-frame: #4A4C46;
    --border-subtle: #DCD6C4;

    /* Feedback Semântico */
    --status-available-bg: #E6F2EA;
    --status-available-text: #216339;
    --status-reserved-bg: #EDEAE0;
    --status-reserved-text: #6B685E;
    --status-disabled-bg: #F7E6E4;
    --status-disabled-text: #9E3B30;
    --whatsapp-green: #1E7E45;
    --whatsapp-green-hover: #166234;

    /* Tipografia */
    --font-script: 'Great Vibes', cursive;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Sombras e Bordas */
    --shadow-soft: 0 10px 30px -8px rgba(43, 45, 42, 0.07);
    --shadow-hover: 0 18px 38px -10px rgba(24, 75, 158, 0.13);
    --shadow-modal: 0 25px 60px -12px rgba(25, 28, 24, 0.28);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 26px;
    --radius-xl: 34px;
    --transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-aged-white);
    background-image:
        radial-gradient(circle at 15% 15%, rgba(217, 229, 244, 0.45) 0%, transparent 45%),
        radial-gradient(circle at 85% 25%, rgba(243, 235, 194, 0.5) 0%, transparent 45%),
        radial-gradient(circle at 50% 85%, rgba(217, 229, 244, 0.35) 0%, transparent 50%);
    color: var(--text-charcoal);
    font-family: var(--font-sans);
    line-height: 1.65;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* =============================================================================
   FAIXA DECORATIVA DE PANELAS E UTENSÍLIOS (INSPIRADA NO SAVE THE DATE)
   ============================================================================= */
.kitchenware-frieze {
    width: 100%;
    overflow: hidden;
    padding: 10px 0;
    background: var(--bg-aged-white);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    user-select: none;
    border-bottom: 1px solid rgba(74, 76, 70, 0.12);
}

.kitchenware-frieze--bottom {
    border-bottom: none;
    border-top: 1px solid rgba(74, 76, 70, 0.12);
    margin-top: 4rem;
}

.frieze-pattern {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: nowrap;
    opacity: 0.92;
}

.frieze-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =============================================================================
   NAVEGAÇÃO SUPERIOR DISCRETA
   ============================================================================= */
.top-nav {
    max-width: 1180px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand-monogram {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-charcoal);
    letter-spacing: 0.02em;
}

.brand-monogram span.amp {
    color: var(--blue-royal);
    font-style: italic;
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.nav-pill {
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-charcoal);
    background: rgba(252, 251, 247, 0.75);
    border: 1px solid var(--border-subtle);
    transition: var(--transition);
}

.nav-pill:hover {
    border-color: var(--blue-royal);
    color: var(--blue-royal);
    background: var(--bg-card);
}

.nav-pill--cta {
    background: var(--blue-royal);
    color: #fff;
    border-color: var(--blue-royal);
}

.nav-pill--cta:hover {
    background: var(--blue-royal-hover);
    color: #fff;
}

/* =============================================================================
   HERO / SAVE THE DATE FRAME (MOLDURA DO CONVITE)
   ============================================================================= */
.hero-wrapper {
    max-width: 1080px;
    margin: 0.75rem auto 3rem;
    padding: 0 1.25rem;
}

.save-the-date-frame {
    background: var(--bg-aged-light);
    border: 1.5px solid var(--border-frame);
    border-radius: var(--radius-xl);
    padding: 3rem 2.25rem;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.save-the-date-frame::before {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1px solid rgba(181, 164, 70, 0.28);
    border-radius: calc(var(--radius-xl) - 6px);
    pointer-events: none;
}

.script-heading {
    font-family: var(--font-script);
    font-size: clamp(3rem, 7vw, 5.1rem);
    color: var(--blue-royal);
    line-height: 1.08;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.event-badge-row {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    margin: 0.4rem 0 1rem;
}

.event-badge-title {
    font-family: var(--font-serif);
    font-size: clamp(1rem, 2.2vw, 1.35rem);
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-charcoal);
}

.couple-main-title {
    font-family: var(--font-serif);
    font-size: clamp(3.1rem, 8vw, 5.5rem);
    font-weight: 500;
    color: var(--text-charcoal);
    line-height: 0.96;
    margin: 0.35rem 0 1.35rem;
    letter-spacing: -0.01em;
}

.couple-main-title .amp {
    color: var(--blue-royal);
    font-style: italic;
    font-weight: 400;
    padding: 0 0.15rem;
}

.hero-subtitle {
    max-width: 560px;
    margin: 0 auto 1.85rem;
    font-family: var(--font-serif);
    font-size: clamp(1.18rem, 2.5vw, 1.48rem);
    font-weight: 600;
    color: var(--yellow-gold);
    line-height: 1.35;
}

/* Bloco de Data Idêntico ao Save the Date */
.date-grid-banner {
    max-width: 540px;
    margin: 0 auto 2rem;
    padding: 0.95rem 1.25rem;
    border-top: 1px solid rgba(74, 76, 70, 0.35);
    border-bottom: 1px solid rgba(74, 76, 70, 0.35);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1.25rem;
    font-family: var(--font-serif);
    color: var(--text-charcoal);
}

.date-col-left {
    text-align: right;
    font-size: clamp(1.15rem, 2.3vw, 1.5rem);
    line-height: 1.2;
    padding-right: 1rem;
    border-right: 1px solid rgba(74, 76, 70, 0.3);
}

.date-col-center {
    font-size: clamp(2.8rem, 6vw, 4.2rem);
    font-weight: 600;
    line-height: 0.9;
    padding: 0 0.35rem;
    color: var(--text-charcoal);
}

.date-col-right {
    text-align: left;
    font-size: clamp(1.15rem, 2.3vw, 1.5rem);
    line-height: 1.2;
    padding-left: 1rem;
    border-left: 1px solid rgba(74, 76, 70, 0.3);
}

.event-location-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding: 0.5rem 1.1rem;
    background: var(--yellow-soft-bg);
    border: 1px solid var(--yellow-pastel-border);
    border-radius: 999px;
    font-size: 0.92rem;
    color: var(--text-charcoal);
}

.hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* =============================================================================
   SEÇÃO DA NOSSA HISTÓRIA (TEXTO DO CONVITE + ILUSTRAÇÃO AUTORAL)
   ============================================================================= */
.story-section {
    max-width: 1080px;
    margin: 0 auto 3.5rem;
    padding: 0 1.25rem;
}

.story-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.75rem;
    box-shadow: var(--shadow-soft);
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.75rem;
    align-items: center;
}

.story-header-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: var(--blue-pastel);
    color: var(--blue-royal);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.9rem;
}

.story-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 600;
    color: var(--text-charcoal);
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.story-text {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.75;
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
}

.story-text p.story-highlight {
    font-family: var(--font-serif);
    font-size: 1.38rem;
    font-style: italic;
    font-weight: 600;
    color: var(--blue-royal);
    padding: 0.5rem 0 0.5rem 1rem;
    border-left: 3px solid var(--yellow-pastel-border);
    margin: 0.25rem 0;
}

.story-illustration-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.illustration-polaroid {
    background: var(--bg-aged-white);
    padding: 1rem 1rem 1.35rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
    width: 100%;
    max-width: 390px;
    text-align: center;
}

.illustration-polaroid img {
    width: 100%;
    height: auto;
    border-radius: calc(var(--radius-md) - 6px);
    border: 1px solid rgba(74, 76, 70, 0.15);
}

.illustration-caption {
    margin-top: 0.85rem;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.15rem;
    color: var(--text-charcoal);
}

.delivery-banner-box {
    width: 100%;
    max-width: 390px;
    background: var(--yellow-soft-bg);
    border: 1px solid var(--yellow-pastel-border);
    border-radius: var(--radius-md);
    padding: 1.15rem 1.25rem;
    font-size: 0.9rem;
}

.delivery-banner-box strong {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--yellow-gold-dark);
    font-size: 0.92rem;
    margin-bottom: 0.35rem;
}

.delivery-banner-box p {
    color: var(--text-charcoal);
    font-weight: 500;
    line-height: 1.45;
}

/* =============================================================================
   VITRINE DE PRESENTES (SEÇÃO 5.2 E 5.3)
   ============================================================================= */
.gifts-section {
    max-width: 1180px;
    margin: 0 auto 4rem;
    padding: 0 1.25rem;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 2.25rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2.1rem, 4.5vw, 3rem);
    font-weight: 600;
    color: var(--text-charcoal);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.02rem;
}

/* Barra de Filtros e Busca */
.filters-bar {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    box-shadow: var(--shadow-soft);
}

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-chip {
    padding: 0.48rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-aged-light);
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-chip:hover {
    border-color: var(--blue-medium);
    color: var(--blue-royal);
}

.filter-chip.active {
    background: var(--blue-royal);
    color: #fff;
    border-color: var(--blue-royal);
}

.filter-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    flex: 1;
    justify-content: flex-end;
}

.search-input-wrap {
    position: relative;
    min-width: 220px;
    flex: 1;
    max-width: 320px;
}

.search-input {
    width: 100%;
    padding: 0.58rem 0.95rem 0.58rem 2.35rem;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-aged-light);
    color: var(--text-charcoal);
    font-size: 0.9rem;
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--blue-royal);
    background: #fff;
}

.search-icon {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    pointer-events: none;
}

.sort-select {
    padding: 0.58rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    background: var(--bg-aged-light);
    color: var(--text-charcoal);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
}

/* Grade de Cards de Presentes */
.gifts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(295px, 1fr));
    gap: 1.65rem;
}

.gift-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    position: relative;
}

.gift-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--blue-pastel-border);
}

.gift-card--reserved {
    opacity: 0.82;
    background: var(--bg-aged-light);
}

.gift-card--reserved:hover {
    transform: none;
}

.gift-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.75rem;
}

.gift-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.gift-card:not(.gift-card--reserved):hover .gift-image-container img {
    transform: scale(1.04);
}

.gift-status-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.32rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.gift-status-badge--available {
    background: var(--blue-pastel);
    color: var(--blue-royal);
    border: 1px solid var(--blue-pastel-border);
}

.gift-status-badge--reserved {
    background: var(--status-reserved-bg);
    color: var(--status-reserved-text);
    border: 1px solid var(--border-subtle);
}

.gift-status-badge--disabled {
    background: var(--status-disabled-bg);
    color: var(--status-disabled-text);
}

.gift-category-tag {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    background: var(--yellow-pastel);
    color: var(--yellow-gold-dark);
    border: 1px solid var(--yellow-pastel-border);
}

.gift-body {
    padding: 1.35rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.gift-title {
    font-family: var(--font-serif);
    font-size: 1.42rem;
    font-weight: 600;
    color: var(--text-charcoal);
    line-height: 1.25;
    margin-bottom: 0.4rem;
}

.gift-description {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gift-price-row {
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px dashed var(--border-subtle);
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.gift-price-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-light);
    font-weight: 600;
}

.gift-price-value {
    font-family: var(--font-serif);
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--blue-royal);
}

.gift-actions {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.gift-secondary-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.gift-secondary-actions--single {
    grid-template-columns: 1fr;
}

/* =============================================================================
   BOTÕES
   ============================================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.72rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
    text-align: center;
    line-height: 1.2;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn-primary {
    background: var(--blue-royal);
    color: #fff;
    border-color: var(--blue-royal);
}

.btn-primary:hover:not(:disabled) {
    background: var(--blue-royal-hover);
    border-color: var(--blue-royal-hover);
}

.btn-pastel-yellow {
    background: var(--yellow-pastel);
    color: var(--text-charcoal);
    border-color: var(--yellow-pastel-border);
}

.btn-pastel-yellow:hover:not(:disabled) {
    background: #EADCA0;
    border-color: var(--yellow-gold);
}

.btn-pastel-blue {
    background: var(--blue-soft-bg);
    color: var(--blue-royal);
    border-color: var(--blue-pastel-border);
}

.btn-pastel-blue:hover:not(:disabled) {
    background: var(--blue-pastel);
}

.btn-outline {
    background: transparent;
    color: var(--text-charcoal);
    border-color: var(--border-subtle);
}

.btn-outline:hover:not(:disabled) {
    border-color: var(--blue-royal);
    color: var(--blue-royal);
    background: var(--blue-soft-bg);
}

.btn-whatsapp {
    background: var(--whatsapp-green);
    color: #fff;
    border-color: var(--whatsapp-green);
}

.btn-whatsapp:hover:not(:disabled) {
    background: var(--whatsapp-green-hover);
}

.btn-danger {
    background: #FDF2F2;
    color: #B42318;
    border-color: #FECDCA;
}

.btn-danger:hover:not(:disabled) {
    background: #FEE4E2;
}

.btn-sm {
    padding: 0.5rem 0.8rem;
    font-size: 0.82rem;
}

.btn-lg {
    padding: 0.92rem 1.75rem;
    font-size: 1rem;
    border-radius: 999px;
}

/* =============================================================================
   MODAIS (ESCOLHA DE PRESENTE, PIX, CONFIRMAÇÃO E PRIVACIDADE)
   ============================================================================= */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(28, 32, 27, 0.58);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.modal-dialog {
    background: var(--bg-card);
    border: 1.5px solid var(--border-frame);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 580px;
    max-height: 92vh;
    overflow-y: auto;
    box-shadow: var(--shadow-modal);
    padding: 2rem;
    position: relative;
    transform: translateY(16px) scale(0.98);
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.modal-backdrop.open .modal-dialog {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 1.15rem;
    right: 1.15rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    background: var(--bg-aged-light);
    color: var(--text-charcoal);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--blue-pastel);
    color: var(--blue-royal);
}

.modal-gift-preview {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem;
    background: var(--bg-aged-light);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    margin: 1rem 0 1.35rem;
}

.modal-gift-preview img {
    width: 76px;
    height: 76px;
    object-fit: contain;
    background: #fff;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
    padding: 4px;
    flex-shrink: 0;
}

.modal-gift-info h4 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--text-charcoal);
    line-height: 1.2;
}

.modal-gift-info .price {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--blue-royal);
    margin-top: 0.2rem;
}

/* Formulários */
.form-group {
    margin-bottom: 1.1rem;
}

.form-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-charcoal);
    margin-bottom: 0.4rem;
}

.form-input, .form-textarea, .form-select {
    width: 100%;
    padding: 0.72rem 0.95rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
    background: #fff;
    color: var(--text-charcoal);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
    outline: none;
    border-color: var(--blue-royal);
    box-shadow: 0 0 0 3px rgba(24, 75, 158, 0.12);
}

.form-hint {
    font-size: 0.78rem;
    color: var(--text-light);
    margin-top: 0.3rem;
}

.form-error {
    font-size: 0.82rem;
    color: #B42318;
    margin-top: 0.35rem;
    font-weight: 500;
}

/* Opções de Compra / Pagamento no Modal */
.payment-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    margin: 1rem 0;
}

.payment-tab-btn {
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--border-subtle);
    background: var(--bg-aged-light);
    color: var(--text-charcoal);
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
}

.payment-tab-btn.active {
    border-color: var(--blue-royal);
    background: var(--blue-soft-bg);
    color: var(--blue-royal);
}

.payment-panel {
    background: var(--bg-aged-light);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.2rem;
    margin-top: 0.75rem;
}

.pix-code-textarea {
    width: 100%;
    font-family: monospace;
    font-size: 0.78rem;
    padding: 0.65rem;
    background: #fff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-charcoal);
    resize: none;
    word-break: break-all;
    margin: 0.5rem 0;
}

.pix-qr-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0.75rem auto;
    padding: 0.75rem;
    background: #fff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    width: fit-content;
}

/* =============================================================================
   TOAST NOTIFICATION
   ============================================================================= */
.toast-container {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    max-width: 380px;
}

.toast {
    background: var(--text-charcoal);
    color: #fff;
    padding: 0.9rem 1.2rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-modal);
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    animation: slideInUp 0.25s ease forwards;
}

.toast--success {
    background: #1B5E37;
}

.toast--error {
    background: #9E2A22;
}

@keyframes slideInUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =============================================================================
   RODAPÉ & POLÍTICA DE PRIVACIDADE
   ============================================================================= */
.site-footer {
    text-align: center;
    padding: 2.5rem 1.25rem 3rem;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.footer-couple {
    font-family: var(--font-serif);
    font-size: 1.65rem;
    color: var(--text-charcoal);
    margin-bottom: 0.35rem;
}

/* =============================================================================
   RESPONSIVIDADE (MOBILE-FIRST)
   ============================================================================= */
@media (max-width: 860px) {
    .story-card {
        grid-template-columns: 1fr;
        padding: 1.75rem 1.35rem;
    }

    .story-illustration-column {
        order: -1;
    }

    .save-the-date-frame {
        padding: 2.25rem 1.25rem;
    }

    .date-grid-banner {
        gap: 0.65rem;
        padding: 0.75rem 0.5rem;
    }

    .frieze-item.hide-mobile {
        display: none;
    }
}

@media (max-width: 540px) {
    .payment-tabs {
        grid-template-columns: 1fr;
    }

    .gift-secondary-actions {
        grid-template-columns: 1fr;
    }

    .modal-dialog {
        padding: 1.35rem;
    }
}
