:root {
    --blue-900: #3a578c;
    --blue-700: #6690c3;
    --blue-500: #5b78b0;
    --blue-300: #c1ddff;
    --blue-100: #e4efff;
    --bg: #eef4fc;
    --surface: #ffffff;
    --surface-soft: #f5f9ff;
    --ink: #1f3258;
    --muted: #5a719a;
    --accent: var(--blue-900);
    --accent-strong: #2f4a78;
    --gold: #c2a15b;
    --gold-soft: #e6d6ad;
    --line: #d3e2f6;
    --shadow-sm: 0 6px 18px rgba(40, 64, 110, 0.08);
    --shadow-md: 0 14px 34px rgba(40, 64, 110, 0.13);
    --shadow-lg: 0 26px 60px rgba(40, 64, 110, 0.18);
    --radius: 20px;
    --serif: 'Cormorant Garamond', serif;
    --sans: 'Nunito Sans', sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: var(--sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background:
        radial-gradient(circle at 10% 4%, rgba(102, 144, 195, 0.18) 0, transparent 34%),
        radial-gradient(circle at 92% 14%, rgba(58, 87, 140, 0.12) 0, transparent 30%),
        radial-gradient(circle at 78% 96%, rgba(194, 161, 91, 0.08) 0, transparent 34%),
        var(--bg);
}

::selection {
    background: var(--blue-300);
    color: var(--accent-strong);
}

h1, h2, h3, h4 {
    margin: 0;
    font-family: var(--serif);
    font-weight: 600;
}

a {
    color: inherit;
}

:focus-visible {
    outline: 2px solid var(--blue-700);
    outline-offset: 3px;
    border-radius: 4px;
}

.site-shell {
    padding-bottom: 0;
}

.container {
    width: min(1120px, 92vw);
    margin: 0 auto;
}

/* ---------- Scroll reveal ---------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

/* ---------- Decorative ornament ---------- */
.ornament {
    display: grid;
    grid-template-columns: minmax(42px, 1fr) auto minmax(42px, 1fr);
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--gold);
    width: min(220px, 54vw);
    margin: 14px auto 0;
}

.ornament::before,
.ornament::after {
    content: '';
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, transparent, var(--gold-soft), var(--gold));
}

.ornament::after {
    background: linear-gradient(90deg, var(--gold), var(--gold-soft), transparent);
}

.ornament__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: 1px solid var(--gold);
    transform: rotate(45deg);
}

/* ---------- Hero ---------- */
.hero {
    --hero-bg-color: var(--blue-100);
    --hero-bg-image: none;
    --hero-bg-size: cover;
    --hero-bg-position: center center;
    --hero-bg-repeat: no-repeat;
    position: relative;
    min-height: min(86vh, 800px);
    overflow: hidden;
    border-bottom: 1px solid #d7e4f8;
    background-color: var(--hero-bg-color);
    background-image: var(--hero-bg-image);
    background-size: var(--hero-bg-size);
    background-position: var(--hero-bg-position);
    background-repeat: var(--hero-bg-repeat);
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 50% 38%, rgba(255, 255, 255, 0.35) 0, transparent 62%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0, transparent 22%, rgba(40, 64, 110, 0.06) 100%);
    z-index: 0;
}

.top-nav {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.top-nav-wrap {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.top-nav-wrap.is-scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 8px 24px rgba(58, 87, 140, 0.12);
}

.top-nav--hero {
    padding-top: 0;
}

.top-nav__brand {
    position: absolute;
    left: 0;
    font-family: var(--serif);
    font-size: 1.28rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #5b74a1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.top-nav__brand:hover {
    color: var(--accent-strong);
}

.top-nav__links {
    display: flex;
    gap: 30px;
}

.top-nav__links a {
    position: relative;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    color: #6b82aa;
    padding: 4px 0;
    transition: color 0.2s ease;
}

.top-nav__links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1.5px;
    background: var(--gold);
    transition: width 0.25s ease;
}

.top-nav__links a:hover {
    color: var(--accent-strong);
}

.top-nav__links a:hover::after {
    width: 100%;
}

.hero__center {
    position: relative;
    z-index: 1;
    min-height: min(86vh, 800px);
    display: grid;
    align-content: center;
    justify-items: center;
    text-align: center;
    gap: 16px;
    padding-top: 74px;
    padding-bottom: 0;
}

.hero__kicker {
    margin: 0;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #6d83ad;
    font-size: 0.86rem;
    font-weight: 700;
}

.hero-monogram {
    position: relative;
    width: min(100%, 1120px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    justify-content: center;
    gap: clamp(14px, 3vw, 44px);
    padding: 0 18px;
}

.hero-monogram__name {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(2.1rem, 5.2vw, 5.2rem);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #3f5589;
    line-height: 1;
}

.hero-monogram__name:first-child {
    justify-self: end;
    text-align: right;
}

.hero-monogram__name:last-child {
    justify-self: start;
    text-align: left;
}

.hero-monogram__name--single {
    grid-column: 1 / -1;
    justify-self: center;
    text-align: center;
    font-size: clamp(2.6rem, 7vw, 6rem);
    letter-spacing: 0.08em;
}

.hero-monogram__ampersand {
    flex-shrink: 0;
    width: clamp(54px, 7vw, 86px);
    height: clamp(54px, 7vw, 86px);
    border-radius: 50%;
    background: linear-gradient(145deg, var(--blue-700), var(--blue-900));
    box-shadow: 0 10px 24px rgba(58, 87, 140, 0.32), inset 0 0 0 1px rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif);
    font-size: clamp(1.5rem, 2.6vw, 2.4rem);
    font-style: italic;
    color: #fff;
    font-weight: 500;
    position: relative;
}

.hero-monogram__ampersand::after {
    content: '';
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    border: 1px solid rgba(230, 214, 173, 0.55);
}

.hero__flower {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: min(88%, 500px);
    width: auto;
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}

.hero__flower--left {
    left: 0;
}

.hero__flower--right {
    right: 0;
}

.hero__ornament {
    color: var(--gold);
    margin-top: 4px;
}

.hero__date {
    margin: 4px 0 0;
    color: #5d77a2;
    font-size: clamp(1rem, 1.35vw, 1.42rem);
    letter-spacing: 0.18em;
    font-weight: 600;
    text-transform: uppercase;
}

.hero__cta {
    margin-top: 18px;
    min-width: 200px;
    text-align: center;
}

/* ---------- Section primitives ---------- */
.eyebrow {
    margin: 0;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--blue-700);
    font-size: 0.72rem;
    font-weight: 800;
}

.section-card {
    margin-top: 40px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: clamp(28px, 5vw, 52px);
    position: relative;
}

.section-title {
    margin-bottom: 30px;
}

.section-title--center {
    text-align: center;
}

.section-title h2 {
    font-size: clamp(1.9rem, 4vw, 2.7rem);
    margin-top: 8px;
    color: var(--ink);
}

.section-title--center h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 16px;
}

.section-title--center h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 56px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.section-title p {
    margin: 6px 0 0;
    color: var(--muted);
}

.intro {
    overflow: hidden;
    text-align: center;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(245, 249, 255, 0.98)),
        var(--surface);
}

.intro__content {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 4px 0 8px;
}

.intro__content .eyebrow {
    position: relative;
    margin-bottom: 28px;
}

.intro__content .eyebrow::after {
    content: '';
    display: block;
    width: 58px;
    height: 1px;
    margin: 18px auto 0;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.intro__quote {
    position: relative;
    margin: 0;
    padding: clamp(24px, 4vw, 38px) clamp(20px, 6vw, 72px);
}

.intro__quote::before,
.intro__quote::after {
    content: '';
    position: absolute;
    left: 50%;
    width: min(180px, 32vw);
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(194, 161, 91, 0.62), transparent);
}

.intro__quote::before {
    top: 0;
}

.intro__quote::after {
    bottom: 0;
}

.intro__message {
    position: relative;
    margin: 0 auto;
    color: var(--ink);
    font-family: var(--serif);
    font-size: clamp(2.15rem, 4.5vw, 3.55rem);
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: 0.01em;
}

.intro__quote-mark {
    color: rgba(194, 161, 91, 0.8);
    font-size: 1.05em;
}

/* ---------- Gift grid & cards ---------- */
.gift-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
}

.gift-grid--featured {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.products .gift-grid {
    grid-template-columns: repeat(auto-fit, minmax(230px, 290px));
    justify-content: center;
}

.gift-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.gift-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold-soft);
}

.gift-card__media {
    position: relative;
    overflow: hidden;
}

.gift-card__image {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.gift-card:hover .gift-card__image {
    transform: scale(1.06);
}

.products .gift-card__image {
    height: 170px;
    object-fit: contain;
    background: #fff;
    padding: 16px;
}

.products .gift-card:hover .gift-card__image {
    transform: scale(1.03);
}

.gift-card__featured-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--accent-strong);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
}

.gift-card__body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.gift-card__body h3 {
    font-size: 1.32rem;
    line-height: 1.3;
    margin-bottom: 8px;
    color: var(--ink);
}

.gift-card__body > p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
    font-size: 0.9rem;
    flex: 1;
}

.gift-card strong {
    font-family: var(--serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--accent);
}

.gift-card__footer {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.gift-grid__empty {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--muted);
    padding: 30px;
}

/* ---------- Buttons ---------- */
.btn {
    border: none;
    border-radius: 999px;
    padding: 12px 24px;
    font-family: var(--sans);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.25s ease, color 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue-700), var(--blue-900));
    color: #fff;
    box-shadow: 0 8px 20px rgba(58, 87, 140, 0.28);
}

.btn-primary:hover {
    box-shadow: 0 12px 26px rgba(58, 87, 140, 0.38);
}

.btn-secondary {
    background: transparent;
    color: var(--accent);
    border: 1px solid #a8c5ea;
}

.btn-secondary:hover {
    background: var(--blue-100);
    border-color: var(--blue-700);
}

/* ---------- Countdown ---------- */
.countdown-section {
    position: relative;
    background: linear-gradient(135deg, var(--blue-900), var(--accent-strong));
    padding: 64px 0;
    margin-top: 40px;
    overflow: hidden;
}

.countdown-section::before,
.countdown-section::after {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 70%);
    pointer-events: none;
}

.countdown-section::before {
    top: -140px;
    left: -80px;
}

.countdown-section::after {
    bottom: -160px;
    right: -60px;
}

.countdown {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 38px;
    z-index: 1;
}

.countdown__title {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--serif);
    font-size: clamp(1.3rem, 3vw, 1.9rem);
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.countdown__boxes {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
}

.countdown__box {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    min-width: 112px;
    padding: 24px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    box-shadow: 0 16px 34px rgba(20, 36, 70, 0.28);
    border: 1px solid rgba(230, 214, 173, 0.4);
}

.countdown__value {
    font-family: var(--serif);
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 700;
    color: var(--blue-900);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.countdown__label {
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}

/* ---------- Modal ---------- */
.modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 50;
}

.modal.is-open {
    display: block;
}

.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(31, 50, 88, 0.52);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    animation: fadeIn 0.25s ease;
}

.modal__content {
    position: relative;
    width: min(520px, 92vw);
    max-height: 90vh;
    overflow-y: auto;
    margin: 7vh auto;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    padding: 30px;
    box-shadow: var(--shadow-lg);
    animation: revealUp 0.3s ease;
}

.modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 50%;
    cursor: pointer;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1;
    transition: background 0.2s ease, color 0.2s ease;
}

.modal__close:hover {
    background: var(--blue-100);
    color: var(--accent-strong);
}

.modal__content h3 {
    margin-top: 8px;
    font-size: 1.6rem;
    color: var(--ink);
}

.modal__content label {
    font-size: 0.9rem;
    color: var(--muted);
}

.pix-line {
    margin-top: 10px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
}

.pix-line input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 11px 12px;
    font-family: inherit;
    color: var(--ink);
    background: var(--surface-soft);
}

.pix-holder {
    color: var(--muted);
    font-size: 0.9rem;
}

.pix-qrcode-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 14px 0;
    padding: 18px;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 14px;
}

#pixQrcodeContainer img,
#pixQrcodeContainer canvas {
    border-radius: 10px;
    display: block;
    box-shadow: var(--shadow-sm);
}

.pix-qrcode-hint {
    margin: 0;
    font-size: 0.8rem;
    color: var(--muted);
    text-align: center;
}

.confirm-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.confirm-form__field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.confirm-form__field label {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--ink);
}

.confirm-form__field input,
.confirm-form__field textarea {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 11px 13px;
    font-family: inherit;
    font-size: 0.92rem;
    color: var(--ink);
    background: var(--surface-soft);
    resize: vertical;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.confirm-form__field input:focus,
.confirm-form__field textarea:focus {
    outline: none;
    border-color: var(--blue-700);
    box-shadow: 0 0 0 3px rgba(102, 144, 195, 0.18);
}

.confirm-form__actions {
    display: flex;
    gap: 10px;
    margin-top: 18px;
    justify-content: flex-end;
}

/* ---------- Footer ---------- */
.site-footer {
    margin-top: 64px;
    padding: 64px 0 40px;
    text-align: center;
    background: linear-gradient(135deg, var(--blue-900), var(--accent-strong));
    color: rgba(255, 255, 255, 0.92);
}

.site-footer .ornament {
    color: var(--gold-soft);
    margin: 0 auto 20px;
}

.site-footer .ornament::before {
    background: linear-gradient(90deg, transparent, rgba(230, 214, 173, 0.5), var(--gold-soft));
}

.site-footer .ornament::after {
    background: linear-gradient(90deg, var(--gold-soft), rgba(230, 214, 173, 0.5), transparent);
}

.site-footer .ornament__dot {
    border-color: var(--gold-soft);
}

.site-footer__names {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.05em;
    line-height: 1.1;
}

.site-footer__date {
    margin: 14px 0 0;
    color: var(--gold-soft);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.82rem;
    font-weight: 700;
}

.site-footer__tagline {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.72rem;
    font-weight: 700;
}

.site-footer__note {
    margin: 28px 0 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.8rem;
}

.site-footer__note span {
    color: #f1a6b3;
}

.site-footer__panel-link {
    display: inline-block;
    margin-top: 18px;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer__panel-link:hover {
    color: var(--gold-soft);
}

/* ---------- Animations ---------- */
@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ---------- Responsive ---------- */

/* Tablets */
@media (max-width: 960px) {
    .hero {
        min-height: min(84vh, 740px);
    }

    .hero__center {
        min-height: min(84vh, 740px);
    }

    .hero-monogram__name {
        letter-spacing: 0.05em;
    }

    .hero__flower {
        height: min(66%, 350px);
        opacity: 0.3;
    }

    .countdown__boxes {
        gap: 14px;
    }

    .countdown__box {
        min-width: 100px;
        padding: 20px 22px;
    }
}

/* Phones */
@media (max-width: 700px) {
    .hero__flower {
        display: none;
    }

    .top-nav {
        min-height: 60px;
        justify-content: flex-start;
        padding: 0;
    }

    .top-nav__links {
        width: 100%;
        gap: 18px;
        overflow-x: auto;
        white-space: nowrap;
        padding: 0 6px;
        justify-content: flex-start;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .top-nav__links::-webkit-scrollbar {
        display: none;
    }

    .top-nav__brand {
        display: none;
    }

    .hero__center {
        min-height: min(84vh, 740px);
        padding-top: 60px;
        padding-bottom: 0;
    }

    .hero-monogram {
        padding: 0 10px;
    }

    .hero-monogram__name {
        letter-spacing: 0.04em;
    }

    .section-card {
        margin-top: 28px;
        border-radius: 16px;
    }

    .gift-grid {
        gap: 16px;
    }

    .gift-card__footer {
        flex-direction: column;
        align-items: stretch;
    }

    .gift-card__footer .btn {
        width: 100%;
    }

    .countdown-section {
        padding: 48px 0;
        margin-top: 28px;
    }
}

/* Narrow phones */
@media (max-width: 520px) {
    .hero__kicker {
        font-size: 0.78rem;
        letter-spacing: 0.14em;
    }

    /* Monograma na vertical para telas estreitas */
    .hero-monogram {
        gap: 10px;
        grid-template-columns: 1fr;
        justify-items: center;
        padding: 0;
    }

    .hero-monogram__name,
    .hero-monogram__name:first-child,
    .hero-monogram__name:last-child {
        font-size: clamp(2.4rem, 13vw, 3.4rem);
        letter-spacing: 0.05em;
        justify-self: center;
        text-align: center;
    }

    .hero-monogram__ampersand {
        justify-self: center;
        width: 56px;
        height: 56px;
        font-size: 1.6rem;
    }

    .hero__date {
        font-size: 0.9rem;
        letter-spacing: 0.13em;
    }

    .hero__cta {
        width: 100%;
        max-width: 280px;
    }

    .section-card {
        padding: 24px 18px;
    }

    .section-title {
        margin-bottom: 22px;
    }

    .intro__message {
        font-size: clamp(1.9rem, 9vw, 2.45rem);
        line-height: 1.28;
    }

    .intro__quote {
        padding: 22px 8px;
    }

    .gift-grid,
    .gift-grid--featured {
        grid-template-columns: 1fr;
    }

    .products .gift-grid {
        grid-template-columns: minmax(0, 340px);
    }

    .countdown__boxes {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        width: 100%;
        max-width: 320px;
    }

    .countdown__box {
        min-width: 0;
        padding: 18px 8px;
    }

    .modal__content {
        padding: 24px 18px;
        margin: 4vh auto;
        border-radius: 16px;
    }

    .pix-line {
        grid-template-columns: 1fr;
    }

    .pix-line .btn {
        width: 100%;
    }

    .confirm-form__actions {
        flex-direction: column-reverse;
    }

    .confirm-form__actions .btn {
        width: 100%;
    }

    .site-footer {
        padding: 48px 0 32px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
