:root {
    --navy: #1B2A4A;
    --deep-blue: #243B5E;
    --steel-blue: #4A6FA5;
    --white: #FFFFFF;
    --mist: #F0F2F5;
    --silver: #C8D0DC;
    --blue-gray: #8FA3BA;
    --gold: #C9A84C;
    --shadow: 0 14px 32px rgba(13, 27, 53, 0.12);
    --radius: 16px;
    --header-height: 72px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: "Manrope", sans-serif;
    font-size: 1rem;
    color: var(--navy);
    background:
        radial-gradient(circle at 10% 10%, rgba(201, 168, 76, 0.08), transparent 40%),
        radial-gradient(circle at 90% 0%, rgba(74, 111, 165, 0.2), transparent 42%),
        linear-gradient(180deg, #f7f9fc 0%, #edf1f8 100%);
    line-height: 1.6;
    text-rendering: optimizeLegibility;
}

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

a {
    color: inherit;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

button,
input,
select,
textarea {
    font: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(201, 168, 76, 0.32);
    outline-offset: 3px;
}

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

section[id] {
    scroll-margin-top: calc(var(--header-height) + 14px);
}

.section {
    padding: clamp(4.75rem, 8vw, 6.2rem) 0;
}

.section-heading {
    margin-bottom: clamp(2rem, 4vw, 2.8rem);
    text-align: center;
}

.section-intro {
    max-width: 64ch;
    margin: 0.7rem auto 0;
    color: var(--deep-blue);
    opacity: 0.86;
    font-size: clamp(1rem, 2.8vw, 1.08rem);
    line-height: 1.75;
    padding-inline: 0.15rem;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 700;
    font-size: 0.72rem;
    color: var(--steel-blue);
    margin-bottom: 0.4rem;
}

h1,
h2,
h3 {
    font-family: "Cormorant Garamond", serif;
    line-height: 1.05;
}

h2 {
    font-size: clamp(2.1rem, 4vw, 3.1rem);
    color: var(--deep-blue);
}

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    backdrop-filter: none;
    border-bottom: none;
    transition: background 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.site-header--scrolled {
    background: #0F1520;
    box-shadow: 0 10px 24px rgba(11, 21, 38, 0.2);
    border-bottom-color: transparent;
}

.navbar {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    color: var(--white);
    font-family: "Cormorant Garamond", serif;
    font-size: 1.5rem;
    letter-spacing: 0.08em;
}

.nav-links {
    list-style: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(36, 59, 94, 0.98);
    padding: 1.2rem 1.6rem;
    display: grid;
    gap: 1rem;
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
    pointer-events: none;
    transition: transform 260ms ease, opacity 220ms ease;
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    width: 100%;
    min-height: 44px;
    padding: 0.35rem 0.15rem;
    color: var(--mist);
    font-size: 0.98rem;
    letter-spacing: 0.04em;
    font-weight: 600;
    position: relative;
    transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.28rem;
    height: 2px;
    border-radius: 999px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.is-active {
    color: var(--white);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a.is-active::after {
    transform: scaleX(1);
}

.nav-links .nav-rsvp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 0.8rem 1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #d4b15a 0%, #b8923c 100%);
    color: #162238;
    box-shadow: 0 10px 22px rgba(10, 18, 34, 0.16);
}

.nav-links .nav-rsvp::after {
    display: none;
}

.nav-links .nav-rsvp:hover,
.nav-links .nav-rsvp:focus-visible {
    color: #162238;
    transform: translateY(-1px);
}

.nav-open .nav-links {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
}

.menu-toggle {
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 10px;
    background: transparent;
    display: grid;
    place-items: center;
    gap: 4px;
    cursor: pointer;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
}

.hero {
    min-height: 100svh;
    display: grid;
    align-items: center;
    padding: calc(var(--header-height) + 2.8rem) 0 3.6rem;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top,
            rgba(10, 12, 16, 0.75) 0%,
            rgba(10, 12, 16, 0.2) 50%,
            rgba(255, 200, 100, 0.08) 100%),
        url("../assets/images/noivos-se-olhando.webp");
    background-size: cover;
    background-position: center 15%;
    background-attachment: scroll;
    background-repeat: no-repeat;
    transform: scale(1.04);
}

.hero-overlay {
    position: absolute;
    inset: auto -10% -18% auto;
    width: min(380px, 48vw);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.22), rgba(201, 168, 76, 0));
    filter: blur(20px);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    text-align: center;
    display: grid;
    justify-items: center;
    gap: 1.3rem;
    max-width: 700px;
    padding-block: clamp(0.75rem, 2.4vw, 1.4rem);
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.72rem;
    font-weight: 800;
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
    backdrop-filter: blur(4px);
}

.hero-kicker span {
    color: var(--gold);
    font-size: 0.95em;
}

.hero h1 {
    font-family: "Great Vibes", cursive;
    font-size: clamp(4rem, 13vw, 6.8rem);
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: 0.02em;
    text-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

.hero h1 span {
    color: var(--gold);
}

.hero-subtitle {
    display: none;
}

.hero-date {
    margin: 0.35rem 0 0.55rem;
}

.hero-date-badge {
    display: inline-block;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
}

.hero-date-badge strong {
    font-size: clamp(1.14rem, 2.9vw, 1.38rem);
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.96);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.hero-date-badge span {
    display: none;
}

.hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    width: min(100%, 360px);
    margin-top: 0.5rem;
    margin-bottom: 0.7rem;
}

.hero-note {
    display: none;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 0.8rem 0.95rem;
    border-radius: 16px;
    font-size: 0.96rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: transform 0.22s ease, filter 0.22s ease, background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.hero-btn:hover,
.hero-btn:focus-visible {
    transform: translateY(-2px);
    filter: brightness(1.04);
}

.hero-btn--primary {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #dcc173 0%, #be9537 100%);
    color: #162238;
    box-shadow: 0 12px 28px rgba(8, 14, 24, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.hero-btn--primary:hover,
.hero-btn--primary:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(8, 14, 24, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.hero-btn--secondary {
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-countdown-label {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
    margin-top: 0.5rem;
}

.countdown {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    width: min(520px, 100%);
    margin: 0.4rem auto 0;
}

.countdown-item {
    padding: 0.9rem 0.6rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
}

.countdown-item span {
    display: block;
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--gold);
}

.countdown-item small {
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.68rem;
}

.section-day {
    background: linear-gradient(135deg, #F5F3EF 0%, #EDE9E3 100%);
}

.day-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.day-grid .info-card {
    flex: 0 1 720px;
    max-width: 720px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.info-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(200, 208, 220, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(13, 27, 53, 0.16);
}

.info-card-image {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    border-radius: var(--radius) var(--radius) 0 0;
}

.info-card-content {
    padding: 1.8rem 1.6rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.info-card h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.85rem;
    color: var(--deep-blue);
    margin-bottom: 0.6rem;
    font-weight: 600;
}

.info-card .time {
    color: var(--steel-blue);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.info-card .location {
    color: var(--navy);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.2rem;
    flex-grow: 1;
}

.maps-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    padding: 0.85rem 1.2rem;
    border: 2px solid var(--steel-blue);
    border-radius: 12px;
    background: transparent;
    color: var(--steel-blue);
    font-weight: 700;
    font-size: 0.98rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.maps-btn:hover,
.maps-btn:focus-visible {
    background: var(--steel-blue);
    color: var(--white);
    border-color: var(--steel-blue);
}

.section-story {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(244, 247, 252, 0.95) 100%);
}

.story-timeline {
    position: relative;
    display: grid;
    gap: 1rem;
    max-width: 820px;
    margin: 0 auto;
}

.story-timeline::before {
    content: "";
    position: absolute;
    left: 0.55rem;
    top: 0.4rem;
    bottom: 0.4rem;
    width: 2px;
    background: linear-gradient(180deg, rgba(201, 168, 76, 0.85), rgba(74, 111, 165, 0.3));
}

.story-card {
    position: relative;
    margin-left: 1.8rem;
    padding: 1.2rem 1.2rem 1.2rem 1.35rem;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(200, 208, 220, 0.7);
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.story-card::before {
    content: "";
    position: absolute;
    top: 1.2rem;
    left: -1.58rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4b15a 0%, #b8923c 100%);
    box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.16);
}

.story-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 42px rgba(13, 27, 53, 0.14);
}

.story-step {
    display: inline-block;
    margin-bottom: 0.45rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.76rem;
    font-weight: 800;
    color: var(--steel-blue);
}

.story-card h3 {
    margin-bottom: 0.45rem;
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    color: var(--deep-blue);
}

.story-card p {
    color: var(--navy);
}

.gallery-grid,
.gifts-actions {
    display: grid;
    gap: 1rem;
}

.gallery-cta {
    margin-top: 1.5rem;
    padding: 1.3rem;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(27, 42, 74, 0.95), rgba(36, 59, 94, 0.92));
    color: var(--white);
    text-align: center;
    display: grid;
    gap: 0.85rem;
    box-shadow: var(--shadow);
}

.gallery-cta p {
    font-size: 1rem;
}

.gallery-cta .hero-btn {
    margin: 0 auto;
}

.carousel {
    position: relative;
}

.carousel-viewport {
    overflow: hidden;
    width: min(720px, 100%);
    margin: 0 auto;
    border-radius: var(--radius);
}

.carousel-track {
    display: flex;
    gap: 0;
    transition: transform 0.45s ease;
    will-change: transform;
}

.carousel-track>* {
    flex: 0 0 100%;
    max-width: 100%;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(201, 168, 76, 0.55);
    background: rgba(27, 42, 74, 0.78);
    color: var(--mist);
    font-size: 1.55rem;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    z-index: 2;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.carousel-arrow:hover,
.carousel-arrow:focus-visible {
    background: rgba(36, 59, 94, 0.96);
    border-color: var(--gold);
}

.carousel-arrow:active {
    transform: translateY(-50%) scale(0.97);
}

.carousel-arrow--prev {
    left: max(0.35rem, 2vw);
}

.carousel-arrow--next {
    right: max(0.35rem, 2vw);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.9rem;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: 0;
    background: rgba(74, 111, 165, 0.45);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.carousel-dot:hover,
.carousel-dot:focus-visible {
    transform: scale(1.15);
}

.carousel-dot.is-active {
    background: #C9A84C;
}

.carousel-track.gallery-grid .gallery-item {
    width: 100%;
}

.carousel-track.gallery-grid .gallery-item img {
    height: clamp(240px, 42vw, 420px);
}

.gallery-item {
    border: 0;
    padding: 0;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow);
    position: relative;
    background: var(--white);
}

.gallery-item img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
    transform: scale(1.06);
}

.section-rsvp {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.72) 0%, rgba(237, 241, 248, 0.92) 100%);
}

.rsvp-helper {
    max-width: 620px;
    margin: 0 auto 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
}

.rsvp-helper span {
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(74, 111, 165, 0.08);
    border: 1px solid rgba(74, 111, 165, 0.2);
    color: var(--deep-blue);
    font-size: 0.85rem;
    font-weight: 700;
}

.field-hint {
    font-weight: 500;
    color: var(--blue-gray);
}

.rsvp-form {
    max-width: 620px;
    margin: 0 auto;
    background: var(--white);
    padding: 1.15rem;
    display: grid;
    gap: 0.9rem;
    border: 1px solid var(--silver);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.rsvp-form label {
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.45;
    color: var(--deep-blue);
}

.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
    min-height: 50px;
    border: 1px solid var(--silver);
    border-radius: 12px;
    padding: 0.82rem 0.95rem;
    font-size: 1rem;
    color: var(--navy);
    background: var(--mist);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.rsvp-form textarea {
    min-height: 132px;
    resize: vertical;
}

.rsvp-form input:focus,
.rsvp-form select:focus,
.rsvp-form textarea:focus {
    outline: none;
    border-color: rgba(74, 111, 165, 0.7);
    box-shadow: 0 0 0 4px rgba(74, 111, 165, 0.12);
    background: #fbfdff;
}

.rsvp-form button {
    margin-top: 0.4rem;
    min-height: 54px;
    border: 0;
    border-radius: 12px;
    padding: 0.95rem 1.1rem;
    background: linear-gradient(90deg, var(--deep-blue), var(--steel-blue));
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(36, 59, 94, 0.18);
    transition: filter 0.2s ease, transform 0.2s ease;
}

.rsvp-form button:hover,
.rsvp-form button:focus-visible {
    filter: brightness(1.07);
    transform: translateY(-1px);
}

.rsvp-status {
    min-height: 1.45rem;
    font-size: 0.92rem;
}

.rsvp-status.success {
    color: #1f6b38;
}

.rsvp-status.error {
    color: #a32d2d;
}

/* Toast de confirmação RSVP */
.rsvp-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(1.5rem);
    background: var(--white);
    border-left: 4px solid var(--gold);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(13, 27, 53, 0.18);
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    min-width: 260px;
    max-width: 90vw;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
}

.rsvp-toast.rsvp-toast--visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.rsvp-toast__icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e6f4ec;
    color: #1f6b38;
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rsvp-toast__title {
    font-size: 0.97rem;
    color: var(--navy);
    display: block;
}

.rsvp-toast__sub {
    font-size: 0.82rem;
    color: var(--blue-gray);
    margin-top: 0.15rem;
}

.rsvp-toast--declined {
    border-left-color: #c75a5a;
}

.rsvp-toast--declined .rsvp-toast__icon {
    background: #fdecec;
    color: #a32d2d;
}

.rsvp-toast--declined .rsvp-toast__title {
    color: #8f2222;
}

.rsvp-toast--declined .rsvp-toast__sub {
    color: #b55d5d;
}

.section-gifts {
    position: relative;
}

.gifts-layout {
    max-width: 980px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.gift-card {
    background: var(--white);
    border: 1px solid rgba(200, 208, 220, 0.7);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.4rem;
}

.gift-card h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(1.55rem, 3.6vw, 2.1rem);
    color: var(--deep-blue);
    margin-bottom: 0.4rem;
}

.gift-card-sub {
    color: var(--steel-blue);
    font-size: 0.92rem;
    margin-bottom: 1rem;
}

.gift-card--pix {
    cursor: zoom-in;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gift-card--pix:hover,
.gift-card--pix:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 22px 44px rgba(13, 27, 53, 0.18);
}

.pix-qr-wrap {
    border-radius: 14px;
    background: linear-gradient(160deg, #f7f9fc 0%, #edf1f8 100%);
    border: 1px dashed rgba(74, 111, 165, 0.45);
    padding: 0.9rem;
    margin-bottom: 0.95rem;
}

.pix-qr-wrap img {
    width: min(280px, 100%);
    margin: 0 auto;
    border-radius: 8px;
    display: block;
}

.pix-key-label {
    color: var(--deep-blue);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.45rem;
}

.pix-key-row {
    display: grid;
    gap: 0.55rem;
}

.pix-key-text {
    background: #f4f6fb;
    border: 1px solid rgba(200, 208, 220, 0.8);
    border-radius: 10px;
    padding: 0.6rem 0.75rem;
    font-size: 0.9rem;
    word-break: break-all;
    color: var(--navy);
}

.pix-copy-btn {
    border: 1px solid rgba(74, 111, 165, 0.5);
    background: var(--white);
    color: var(--deep-blue);
    border-radius: 10px;
    min-height: 42px;
    padding: 0 0.9rem;
    font-weight: 600;
    cursor: pointer;
}

.pix-copy-btn:hover,
.pix-copy-btn:focus-visible {
    border-color: var(--gold);
    color: var(--navy);
}

.pix-copy-feedback {
    min-height: 1.35rem;
    margin-top: 0.35rem;
    font-size: 0.83rem;
    color: #1f6b38;
}

.pix-help {
    font-size: 0.88rem;
    color: var(--navy);
    line-height: 1.55;
    margin-top: 0.5rem;
}

.pix-security {
    margin-top: 0.35rem;
    font-size: 0.85rem;
    color: var(--deep-blue);
    background: rgba(74, 111, 165, 0.12);
    border: 1px solid rgba(74, 111, 165, 0.28);
    border-radius: 10px;
    padding: 0.5rem 0.7rem;
}

.pix-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(1.5rem);
    background: var(--white);
    border-left: 4px solid var(--gold);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(13, 27, 53, 0.2);
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.35rem;
    min-width: 260px;
    max-width: 90vw;
    z-index: 1300;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s;
}

.pix-toast.pix-toast--visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.pix-toast__icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #e6f4ec;
    color: #1f6b38;
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pix-toast__title {
    font-size: 0.95rem;
    color: var(--navy);
    display: block;
}

.pix-toast__sub {
    margin-top: 0.1rem;
    font-size: 0.82rem;
    color: var(--blue-gray);
}

.gift-card--havan {
    display: grid;
    align-content: center;
    justify-items: center;
    text-align: center;
    gap: 0.55rem;
}

.gift-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    flex-wrap: wrap;
    margin: 0.2rem 0 0.25rem;
}

.gift-logo {
    width: min(400px, 42vw);
    height: auto;
    display: block;
}

.gift-card--havan .gift-card-sub {
    max-width: 34ch;
    margin-bottom: 0.35rem;
    line-height: 1.55;
    color: var(--navy);
}

.gift-btn {
    background: var(--white);
    color: var(--deep-blue);
    border: 1px solid var(--silver);
    border-radius: 10px;
    min-height: 56px;
    display: grid;
    place-items: center;
    padding: 0 1.2rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.gift-btn:hover,
.gift-btn:focus-visible {
    border-color: var(--gold);
    color: var(--navy);
}

.gift-btn--havan {
    margin-top: 0.15rem;
    min-width: 210px;
}

.gifts-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 25, 0.58);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.24s ease, visibility 0.24s ease;
    z-index: 1190;
}

.pix-close {
    position: fixed;
    left: 50%;
    top: calc(50% + min(300px, 36vh));
    transform: translateX(-50%);
    border: 0;
    background: var(--gold);
    color: var(--navy);
    border-radius: 999px;
    padding: 0.7rem 1.15rem;
    font-weight: 700;
    cursor: pointer;
    z-index: 1202;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.section-gifts.pix-open .gift-card--pix {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.03);
    width: min(560px, 92vw);
    max-height: 86vh;
    overflow: auto;
    z-index: 1201;
    cursor: default;
    box-shadow: 0 32px 64px rgba(13, 27, 53, 0.3);
}

.section-gifts.pix-open .gift-card--havan {
    opacity: 0.26;
    pointer-events: none;
    filter: blur(1px);
}

.section-gifts.pix-open .gifts-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.section-gifts.pix-open .pix-close {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.site-footer {
    background: linear-gradient(130deg, var(--navy), var(--deep-blue));
    color: var(--mist);
    text-align: center;
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
}

.special-phrase {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(1.35rem, 4vw, 2rem);
    color: #C9A84C;
    margin-bottom: 0.7rem;
}

.footer-contact {
    display: grid;
    gap: 0.85rem;
    justify-items: center;
}

.footer-contact-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
}

.contact {
    color: var(--silver);
    font-size: 0.92rem;
}

.contact--secondary {
    font-size: 0.88rem;
}

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

.contact a:hover,
.contact a:focus-visible {
    text-decoration: underline;
}

.whatsapp-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.78rem 1rem;
    min-height: 48px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 0.92rem;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.whatsapp-chip:hover,
.whatsapp-chip:focus-visible {
    background: var(--white);
    color: var(--deep-blue);
    transform: translateY(-2px);
    text-decoration: none;
}

.whatsapp-chip__icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--white);
    color: var(--deep-blue);
    flex-shrink: 0;
}

.whatsapp-chip:hover .whatsapp-chip__icon,
.whatsapp-chip:focus-visible .whatsapp-chip__icon {
    background: var(--deep-blue);
    color: var(--white);
}

.whatsapp-chip__icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.section-day,
.section-story,
.section-gallery,
.section-rsvp,
.section-gifts,
.site-footer {
    content-visibility: auto;
    contain-intrinsic-size: 1px 900px;
}

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

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 25, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.8rem;
    padding: 1rem;
    z-index: 1100;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: min(900px, 94vw);
    max-height: 78vh;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.lightbox p {
    color: var(--white);
    font-size: 0.95rem;
}

.lightbox-close {
    position: absolute;
    top: 18px;
    right: 20px;
    background: transparent;
    color: var(--white);
    border: 0;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 80ms;
}

.delay-2 {
    transition-delay: 150ms;
}

.delay-3 {
    transition-delay: 220ms;
}

.delay-4 {
    transition-delay: 290ms;
}

@media (min-width: 700px) {
    .hero-date-badge {
        grid-auto-flow: column;
        align-items: center;
        gap: 0.6rem;
    }

    .hero-actions {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        width: auto;
        gap: 0.8rem;
    }

    .hero-btn {
        width: auto;
        min-width: 158px;
        padding-inline: 1rem;
    }

    .hero-btn--primary {
        min-width: 210px;
    }

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

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

    .carousel-arrow--prev {
        left: max(0.6rem, 2vw);
    }

    .carousel-arrow--next {
        right: max(0.6rem, 2vw);
    }
}

@media (min-width: 960px) {
    .section {
        padding: 6rem 0;
    }

    .menu-toggle {
        display: none;
    }

    .nav-links {
        position: static;
        transform: none;
        opacity: 1;
        pointer-events: auto;
        background: transparent;
        display: flex;
        padding: 0;
        gap: 1.3rem;
    }

    .nav-links a {
        width: auto;
        min-height: auto;
        padding: 0;
        font-size: 0.85rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.06em;
    }

    .nav-links .nav-rsvp {
        width: auto;
        min-height: 44px;
        padding: 0.75rem 1rem;
    }

    .hero-content h1 .ampersand {
        color: #C9A84C;
        /* dourado */
        font-style: italic;
    }
}

@media (min-width: 1200px) {
    .hero {
        padding: calc(var(--header-height) + 2.5rem) 0 4rem;
    }

    .hero::before {
        background-position: center 28%;
        background-attachment: scroll;
    }

    .hero-content {
        padding-top: 0.5rem;
    }
}

.carousel-viewport {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex !important;
    transition: transform 0.4s ease;
    will-change: transform;
}

/* Cada item da galeria também */
.carousel--gallery .carousel-track .gallery-item {
    min-width: 100%;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .carousel--gallery .carousel-viewport {
        height: 500px;
        background-color: #F0F2F5;
    }

    .carousel--gallery .carousel-track .gallery-item {
        height: 500px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #F0F2F5;
    }

    .carousel--gallery .carousel-track .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        background-color: #F0F2F5;
    }
}

@media (max-width: 767px) {
    .hero::before {
        transform: none;
    }

    .hero-kicker,
    .countdown-item,
    .hero-btn--secondary {
        backdrop-filter: none;
    }
}

@media (min-width: 960px) {
    .carousel--gallery .carousel-viewport {
        height: 600px;
    }

    .carousel--gallery .carousel-track .gallery-item {
        height: 600px;
    }
}

/* Legibilidade: textos descritivos com tom mais escuro */
.section-intro,
.info-card .location,
.story-card p,
.rsvp-form label,
.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea,
.field-hint,
.gift-card-sub,
.gift-card--havan p,
.pix-help,
.rsvp-toast__sub,
.pix-toast__sub {
    color: #1a1a1a;
}

.section-intro {
    opacity: 1;
}