/* Decoração de fundo por tema */
.bg-decor-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.bg-decor-layer::before,
.bg-decor-layer::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.45;
}
body.tema-casamento .bg-decor-layer::before {
    width: 280px; height: 280px; top: -40px; left: 50%; transform: translateX(-50%);
    background: color-mix(in srgb, var(--accent) 40%, transparent);
}
body.tema-casamento .bg-decor-layer::after {
    width: 200px; height: 200px; bottom: 10%; right: -20px;
    background: rgba(255, 220, 180, 0.15);
}
body.tema-aniversario_menina .bg-decor-layer::before {
    width: 320px; height: 320px; top: 5%; left: -80px;
    background: rgba(255, 120, 200, 0.35);
    animation: floatDecor 8s ease-in-out infinite alternate;
}
body.tema-aniversario_menina .bg-decor-layer::after {
    width: 240px; height: 240px; bottom: 15%; right: -60px;
    background: rgba(255, 180, 230, 0.25);
    animation: floatDecor 10s ease-in-out infinite alternate-reverse;
}
body.tema-aniversario_menino .bg-decor-layer::before {
    width: 300px; height: 300px; top: 0; right: -70px;
    background: rgba(60, 150, 255, 0.35);
    animation: floatDecor 9s ease-in-out infinite alternate;
}
body.tema-aniversario_menino .bg-decor-layer::after {
    width: 220px; height: 220px; bottom: 20%; left: -50px;
    background: rgba(100, 200, 255, 0.2);
}
body.tema-15_anos .bg-decor-layer::before {
    width: 340px; height: 340px; top: -60px; left: 50%; transform: translateX(-50%);
    background: radial-gradient(circle, rgba(232, 180, 248, 0.45), transparent 70%);
}
body.tema-formatura .bg-decor-layer::before {
    width: 100%; height: 40%; top: 0; left: 0; border-radius: 0;
    background: linear-gradient(180deg, rgba(126, 184, 255, 0.12), transparent);
    filter: none;
}
body.tema-gestante .bg-decor-layer::after {
    width: 260px; height: 260px; bottom: 5%; left: 50%; transform: translateX(-50%);
    background: rgba(232, 196, 168, 0.2);
}
@keyframes floatDecor {
    from { transform: translateY(0) scale(1); }
    to { transform: translateY(24px) scale(1.06); }
}

/* ——— Fontes explícitas por tema (garante carregamento) ——— */
body.tema-padrao h1 { font-family: "Playfair Display", Georgia, serif !important; }
body.tema-padrao .subtitle,
body.tema-padrao .link-btn { font-family: "Montserrat", sans-serif !important; }

body.tema-casamento h1 { font-family: "Parisienne", cursive !important; }
body.tema-casamento .subtitle { font-family: "Cormorant Garamond", Georgia, serif !important; }
body.tema-casamento .link-btn { font-family: "Montserrat", sans-serif !important; }

body.tema-aniversario_menina h1 { font-family: "Rochester", cursive !important; }
body.tema-aniversario_menina .subtitle,
body.tema-aniversario_menina .link-btn { font-family: "Comfortaa", sans-serif !important; }

body.tema-aniversario_menino h1 { font-family: "Paytone One", sans-serif !important; }
body.tema-aniversario_menino .subtitle,
body.tema-aniversario_menino .link-btn { font-family: "Rubik", sans-serif !important; }

body.tema-aniversario_adulto h1 { font-family: "DM Serif Display", Georgia, serif !important; }
body.tema-aniversario_adulto .subtitle,
body.tema-aniversario_adulto .link-btn { font-family: "Josefin Sans", sans-serif !important; }

body.tema-15_anos h1 { font-family: "Pinyon Script", cursive !important; }
body.tema-15_anos .subtitle,
body.tema-15_anos .link-btn { font-family: "Raleway", sans-serif !important; }

body.tema-formatura h1 { font-family: "Cormorant Garamond", Georgia, serif !important; }
body.tema-formatura .subtitle,
body.tema-formatura .link-btn { font-family: "Source Serif 4", Georgia, serif !important; }

body.tema-batizado h1 { font-family: "Marcellus", Georgia, serif !important; }
body.tema-batizado .subtitle,
body.tema-batizado .link-btn { font-family: "Lora", Georgia, serif !important; }

body.tema-chadebebe h1 { font-family: "Sacramento", cursive !important; }
body.tema-chadebebe .subtitle,
body.tema-chadebebe .link-btn { font-family: "Josefin Sans", sans-serif !important; }

body.tema-charevelacao h1 { font-family: "Allura", cursive !important; }
body.tema-charevelacao .subtitle,
body.tema-charevelacao .link-btn { font-family: "Quicksand", sans-serif !important; }

body.tema-gestante h1 { font-family: "Marcellus", Georgia, serif !important; }
body.tema-gestante .subtitle,
body.tema-gestante .link-btn { font-family: "Tenor Sans", sans-serif !important; }

body.tema-sessao h1 { font-family: "Aboreto", sans-serif !important; }
body.tema-sessao .subtitle,
body.tema-sessao .link-btn { font-family: "Manrope", sans-serif !important; }

body.tema-corporativo h1 { font-family: "Syne", sans-serif !important; }
body.tema-corporativo .subtitle,
body.tema-corporativo .link-btn { font-family: "IBM Plex Sans", sans-serif !important; }

body.tema-outro h1 { font-family: "Fraunces", Georgia, serif !important; }
body.tema-outro .subtitle,
body.tema-outro .link-btn { font-family: "Karla", sans-serif !important; }

/* ——— Tipografia por tema ——— */
.page h1 {
    font-weight: 500;
    text-wrap: balance;
}

.page .subtitle {
    font-family: var(--font-corpo);
    letter-spacing: 0.04em;
}

/* Padrão — clássico elegante */
body.tema-padrao h1 {
    font-size: 2.1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
    font-style: normal;
}
body.tema-padrao .subtitle {
    font-weight: 300;
    letter-spacing: 0.06em;
    text-transform: none;
    font-size: 0.9rem;
}

/* Casamento — script + clássico */
body.tema-casamento h1 {
    font-size: 3rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1.15;
    text-shadow: 0 2px 24px rgba(0,0,0,.35);
}
body.tema-casamento .subtitle {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.05rem;
    font-style: italic;
    letter-spacing: 0.12em;
    text-transform: none;
}
body.tema-casamento .link-btn {
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.82rem;
}
body.tema-casamento .link-btn { border-radius: 2px; }

/* Menina — script delicado */
body.tema-aniversario_menina h1 {
    font-size: 2.35rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    line-height: 1.2;
}
body.tema-aniversario_menina .subtitle {
    font-weight: 500;
    letter-spacing: 0.06em;
}
body.tema-aniversario_menina .link-btn.destaque {
    box-shadow: 0 8px 28px rgba(255, 100, 180, 0.25);
}

/* Menino — forte e divertido */
body.tema-aniversario_menino h1 {
    font-size: 1.85rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    text-transform: none;
}
body.tema-aniversario_menino .subtitle {
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: none;
    font-size: 0.92rem;
    line-height: 1.55;
}

/* Adulto — sofisticado */
body.tema-aniversario_adulto h1 {
    font-size: 2.25rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    font-style: italic;
}
body.tema-aniversario_adulto .subtitle {
    font-weight: 300;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.8rem;
}

/* 15 anos — princesa */
body.tema-15_anos h1 {
    font-size: 3.1rem;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 0.02em;
    background: linear-gradient(180deg, #fff 0%, color-mix(in srgb, var(--accent) 85%, #fff) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 12px rgba(0,0,0,.4));
}
body.tema-15_anos .subtitle {
    font-family: "Raleway", sans-serif;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.78rem;
}
body.tema-15_anos .link-btn {
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.85rem;
}
body.tema-15_anos .link-btn { border-radius: 999px; }

/* Formatura — acadêmico elegante */
body.tema-formatura h1 {
    font-size: 2.35rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-variant: small-caps;
}
body.tema-formatura .subtitle {
    font-style: italic;
    letter-spacing: 0.06em;
}
body.tema-formatura .link-btn {
    border-left: 3px solid var(--accent);
    border-radius: 8px 14px 14px 8px;
    font-weight: 500;
}

/* Batizado — suave e sagrado */
body.tema-batizado h1 {
    font-size: 2.1rem;
    font-weight: 400;
    letter-spacing: 0.08em;
}
body.tema-batizado .subtitle {
    font-style: italic;
    letter-spacing: 0.05em;
}

/* Chá de bebê */
body.tema-chadebebe h1 {
    font-size: 2.75rem;
    font-weight: 400;
    line-height: 1.15;
}
body.tema-chadebebe .subtitle {
    font-weight: 300;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.8rem;
}

/* Chá revelação */
body.tema-charevelacao h1 {
    font-size: 2.85rem;
    font-weight: 400;
    line-height: 1.15;
}
body.tema-charevelacao .subtitle {
    font-weight: 400;
    letter-spacing: 0.06em;
}

/* Gestante — delicado */
body.tema-gestante h1 {
    font-size: 2.2rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
body.tema-gestante .subtitle {
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 0.78rem;
    opacity: 0.85;
}

/* Sessão — editorial */
body.tema-sessao h1 {
    font-size: 2.5rem;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    line-height: 1.15;
}
body.tema-sessao .subtitle {
    font-weight: 300;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.75rem;
}
body.tema-sessao .link-btn {
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.82rem;
}

/* Corporativo */
body.tema-corporativo h1 {
    font-size: 1.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
body.tema-corporativo .subtitle {
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.78rem;
}
body.tema-corporativo .link-btn {
    letter-spacing: 0.04em;
    font-weight: 500;
}

/* Outro */
body.tema-outro h1 {
    font-size: 2.1rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}
body.tema-outro .subtitle {
    font-style: italic;
}

body.page-casamento-thainah {
    --bg: #17150f !important;
    --accent: #d7bd8e !important;
    --text: #f8f3e9 !important;
    --muted: rgba(248, 243, 233, 0.78) !important;
    background: #17150f !important;
}

body.page-casamento-thainah .bg-glow {
    background:
        radial-gradient(ellipse 74% 48% at 50% -12%, rgba(215, 189, 142, 0.23), transparent 68%),
        linear-gradient(180deg, rgba(23, 21, 15, 0.12), rgba(23, 21, 15, 0.54));
}

body.page-casamento-thainah .page {
    width: 100%;
    max-width: 1080px !important;
    padding: 30px 28px 76px;
}

body.page-casamento-thainah .page-logo {
    width: min(154px, 45vw);
    margin-bottom: 15px;
    filter: drop-shadow(0 5px 20px rgba(0, 0, 0, 0.32));
}

body.page-casamento-thainah .page h1 {
    margin: 0;
    color: #fffaf0;
    font-family: "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(2.9rem, 8vw, 5.2rem);
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: 0.015em;
    text-shadow: 0 4px 28px rgba(0, 0, 0, 0.36);
}

body.page-casamento-thainah .subtitle {
    max-width: 620px;
    margin-top: 12px;
    color: rgba(248, 243, 233, 0.8);
    font-family: "Cormorant Garamond", Georgia, serif !important;
    font-size: clamp(1.1rem, 2.6vw, 1.45rem);
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0.035em;
    line-height: 1.45;
}

body.page-casamento-thainah .social-top {
    margin: 16px 0 26px;
}

body.page-casamento-thainah .wedding-hero {
    position: relative;
    display: block;
    width: 100%;
    margin: 0 0 42px;
    overflow: hidden;
    aspect-ratio: 1.88 / 1;
    min-height: 300px;
    max-height: 610px;
    border: 1px solid rgba(235, 218, 184, 0.5);
    border-radius: 5px;
    background: #262117;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.43);
}

body.page-casamento-thainah .wedding-hero::after {
    position: absolute;
    inset: 0;
    content: "";
    background:
        linear-gradient(180deg, rgba(12, 11, 8, 0.04) 25%, rgba(12, 11, 8, 0.75) 100%),
        linear-gradient(90deg, rgba(12, 11, 8, 0.2), transparent 72%);
    pointer-events: none;
}

body.page-casamento-thainah .wedding-hero img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 48%;
}

body.page-casamento-thainah .wedding-hero figcaption {
    position: absolute;
    z-index: 1;
    right: clamp(20px, 5vw, 56px);
    bottom: clamp(20px, 5vw, 48px);
    left: clamp(20px, 5vw, 56px);
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

body.page-casamento-thainah .wedding-hero__eyebrow,
body.page-casamento-thainah .wedding-section-kicker {
    margin: 0;
    color: #ead4a7;
    font-family: "Montserrat", sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    line-height: 1.5;
    text-transform: uppercase;
}

body.page-casamento-thainah .wedding-hero__title {
    max-width: 680px;
    color: #fffaf0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2rem, 6vw, 4.2rem);
    font-weight: 500;
    line-height: 1.05;
    text-wrap: balance;
}

body.page-casamento-thainah .wedding-story {
    width: 100%;
    margin: 0 0 42px;
}

body.page-casamento-thainah .wedding-story h2,
body.page-casamento-thainah .wedding-links-heading h2 {
    margin: 5px 0 22px;
    color: #fffaf0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 500;
    line-height: 1.1;
}

body.page-casamento-thainah .wedding-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

body.page-casamento-thainah .wedding-photo-grid figure {
    position: relative;
    margin: 0;
    overflow: hidden;
    aspect-ratio: 1.28 / 1;
    border: 1px solid rgba(235, 218, 184, 0.26);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
}

body.page-casamento-thainah .wedding-photo-grid figure::after {
    position: absolute;
    inset: 35% 0 0;
    content: "";
    background: linear-gradient(180deg, transparent, rgba(12, 11, 8, 0.78));
    pointer-events: none;
}

body.page-casamento-thainah .wedding-photo-grid img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

body.page-casamento-thainah .wedding-photo-grid figure:hover img {
    transform: scale(1.035);
}

body.page-casamento-thainah .wedding-photo-grid figcaption {
    position: absolute;
    z-index: 1;
    right: 12px;
    bottom: 13px;
    left: 12px;
    color: #fffaf0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(1rem, 2.4vw, 1.3rem);
    font-style: italic;
    line-height: 1.15;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

body.page-casamento-thainah .aviso-fotos-card {
    margin-bottom: 30px;
    border-color: rgba(215, 189, 142, 0.42);
    background: rgba(23, 21, 15, 0.78);
}

body.page-casamento-thainah .wedding-links-heading {
    width: 100%;
    margin: 0 0 4px;
    text-align: center;
}

body.page-casamento-thainah .wedding-links-heading h2 {
    margin-bottom: 17px;
}

body.page-casamento-thainah .links.wedding-links {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.82fr) minmax(220px, 0.82fr);
    align-items: center;
    gap: 18px;
}

body.page-casamento-thainah .wedding-links .link-card-stack {
    gap: 11px;
}

body.page-casamento-thainah .wedding-links .link-card-foto-btn.paisagem {
    max-width: none;
    max-height: none;
    aspect-ratio: 1.55 / 1;
    border-radius: 4px;
}

body.page-casamento-thainah .wedding-links .link-card-caption {
    color: #fffaf0;
    font-family: "Montserrat", sans-serif;
    font-size: 0.77rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

body.page-casamento-thainah .wedding-links .link-btn {
    min-height: 82px;
    border-color: rgba(215, 189, 142, 0.37);
    border-radius: 4px;
    background: rgba(23, 21, 15, 0.76);
    font-family: "Montserrat", sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.035em;
}

body.page-casamento-thainah .wedding-links .link-btn.destaque {
    background: linear-gradient(135deg, rgba(215, 189, 142, 0.16), rgba(23, 21, 15, 0.8));
}

body.page-casamento-thainah .wedding-links .pano-card-wrap {
    max-width: 250px;
}

body.page-casamento-thainah .btn-orcamento-discreto {
    color: rgba(248, 243, 233, 0.56);
}

body.page-casamento-thainah #vs-by-credit {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    transform: none;
    margin: 0 auto 12px;
}

@media (max-width: 680px) {
    body.page-casamento-thainah .page {
        padding: 24px 16px 68px;
    }

    body.page-casamento-thainah .wedding-hero {
        min-height: 310px;
        aspect-ratio: 0.9 / 1;
        margin-bottom: 32px;
    }

    body.page-casamento-thainah .wedding-hero img {
        object-position: 54% center;
    }

    body.page-casamento-thainah .wedding-photo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    body.page-casamento-thainah .wedding-photo-grid figure:first-child {
        grid-column: 1 / -1;
        aspect-ratio: 1.5 / 1;
    }

    body.page-casamento-thainah .wedding-photo-grid figure:not(:first-child) {
        aspect-ratio: 0.92 / 1;
    }

    body.page-casamento-thainah .wedding-story {
        margin-bottom: 32px;
    }

    body.page-casamento-thainah .links.wedding-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    body.page-casamento-thainah .wedding-links .link-card-stack {
        grid-column: 1 / -1;
    }

    body.page-casamento-thainah .wedding-links .link-card-foto-btn.paisagem {
        aspect-ratio: 1.35 / 1;
    }

    body.page-casamento-thainah .wedding-links .pano-card-wrap {
        max-width: 100%;
        padding: 0;
    }

    body.page-casamento-thainah .wedding-links .pano-card-caption {
        font-size: 0.9rem;
    }

    body.page-casamento-thainah .wedding-links .link-btn {
        min-height: 72px;
        gap: 9px;
        padding: 12px;
        font-size: 0.74rem;
    }

    body.page-casamento-thainah .wedding-links .link-btn .ico {
        width: 34px;
        height: 34px;
        font-size: 0.95rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.page-casamento-thainah .wedding-photo-grid img {
        transition: none;
    }
}

body.page-casamento-thainah {
    --story-ink: #18211d;
    --story-moss: #4f6251;
    --story-olive: #879477;
    --story-copper: #b87555;
    --story-cream: #f4f0e8;
    --story-sand: #ded4c4;
    --story-night: #101713;
    background: var(--story-cream) !important;
    color: var(--story-ink) !important;
    font-family: "Manrope", Arial, sans-serif !important;
}

body.page-casamento-thainah .bg-glow,
body.page-casamento-thainah #bgMediaLayer,
body.page-casamento-thainah #socialTop,
body.page-casamento-thainah > #vs-by-credit {
    display: none !important;
}

body.page-casamento-thainah .page {
    display: block;
    width: 100%;
    max-width: none !important;
    min-height: 0;
    margin: 0;
    padding: 0;
    color: var(--story-ink);
}

body.page-casamento-thainah #stateReady {
    display: block !important;
    width: 100%;
}

body.page-casamento-thainah #stateReady > :not(#weddingEditorial) {
    display: none !important;
}

body.page-casamento-thainah .wedding-editorial {
    width: 100%;
    overflow: hidden;
    background: var(--story-cream);
    color: var(--story-ink);
    font-family: "Manrope", Arial, sans-serif;
}

body.page-casamento-thainah .editorial-topbar {
    position: absolute;
    z-index: 5;
    top: 0;
    left: 50%;
    display: flex;
    width: min(1440px, 100%);
    height: 92px;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(24px, 6vw, 86px);
    transform: translateX(-50%);
}

body.page-casamento-thainah .editorial-brand img {
    display: block;
    width: 150px;
    max-height: 62px;
    object-fit: contain;
    filter: drop-shadow(0 2px 9px rgba(0, 0, 0, 0.45));
}

body.page-casamento-thainah .editorial-nav {
    color: #fff;
    font-size: 0.63rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-decoration: none;
}

body.page-casamento-thainah .editorial-nav span {
    padding-left: 9px;
    font-size: 1rem;
}

body.page-casamento-thainah .editorial-hero {
    position: relative;
    display: flex;
    min-height: min(850px, 100svh);
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    background: #222a22;
    color: #fff;
}

body.page-casamento-thainah .editorial-hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 48%;
}

body.page-casamento-thainah .editorial-hero__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 12, 9, 0.3), rgba(7, 12, 9, 0.06) 35%, rgba(7, 12, 9, 0.67));
}

body.page-casamento-thainah .editorial-hero__copy {
    position: relative;
    z-index: 1;
    width: min(960px, 90%);
    padding: 0 0 clamp(64px, 10vh, 105px);
    text-align: center;
}

body.page-casamento-thainah .editorial-kicker {
    margin: 0 0 19px;
    color: var(--story-copper);
    font-family: "Manrope", Arial, sans-serif;
    font-size: 0.61rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    line-height: 1.7;
    text-transform: uppercase;
}

body.page-casamento-thainah .editorial-hero .editorial-kicker {
    color: #f0d7b7;
}

body.page-casamento-thainah .editorial-hero h1 {
    margin: 0;
    color: #fff;
    font-family: "Italiana", Georgia, serif !important;
    font-size: clamp(4.5rem, 11vw, 9.4rem);
    font-weight: 400;
    letter-spacing: -0.035em;
    line-height: 0.98;
    text-shadow: 0 3px 35px rgba(0, 0, 0, 0.23);
}

body.page-casamento-thainah .editorial-hero__copy > p:not(.editorial-kicker) {
    margin: 21px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(0.8rem, 1.4vw, 0.98rem);
    font-weight: 300;
    letter-spacing: 0.04em;
}

body.page-casamento-thainah .editorial-scroll {
    display: inline-flex;
    width: 43px;
    height: 43px;
    align-items: center;
    justify-content: center;
    margin-top: 37px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    color: #fff;
    font-size: 1.15rem;
    text-decoration: none;
    transition: background 180ms ease, transform 180ms ease;
}

body.page-casamento-thainah .editorial-scroll:hover {
    transform: translateY(3px);
    background: rgba(255, 255, 255, 0.14);
}

body.page-casamento-thainah .editorial-welcome {
    display: grid;
    width: min(1160px, calc(100% - 64px));
    min-height: 630px;
    grid-template-columns: 1.03fr 0.97fr;
    align-items: center;
    gap: clamp(56px, 9vw, 130px);
    margin: 0 auto;
    padding: 115px 0;
}

body.page-casamento-thainah .editorial-welcome__photo {
    height: 475px;
    overflow: hidden;
    background: var(--story-sand);
}

body.page-casamento-thainah .editorial-welcome__photo img,
body.page-casamento-thainah .editorial-story__photo img,
body.page-casamento-thainah .editorial-closing__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-casamento-thainah .editorial-welcome__photo img {
    object-position: center 42%;
}

body.page-casamento-thainah .editorial-welcome__copy {
    max-width: 420px;
}

body.page-casamento-thainah .editorial-welcome h2,
body.page-casamento-thainah .editorial-story h2,
body.page-casamento-thainah .editorial-gallery h2,
body.page-casamento-thainah .editorial-closing h2 {
    margin: 0;
    color: var(--story-ink);
    font-family: "Italiana", Georgia, serif;
    font-size: clamp(2.9rem, 5vw, 4.4rem);
    font-weight: 400;
    line-height: 1.06;
}

body.page-casamento-thainah .editorial-welcome__copy > p:not(.editorial-kicker),
body.page-casamento-thainah .editorial-story__intro > p:not(.editorial-kicker),
body.page-casamento-thainah .editorial-closing__copy > p:not(.editorial-kicker) {
    margin: 23px 0 0;
    color: #626861;
    font-size: 0.83rem;
    font-weight: 400;
    line-height: 2;
}

body.page-casamento-thainah .editorial-welcome__copy > a,
body.page-casamento-thainah .editorial-closing__copy > a {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 31px;
    color: var(--story-moss);
    font-size: 0.61rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-decoration: none;
}

body.page-casamento-thainah .editorial-story {
    padding: 105px max(32px, calc((100% - 1160px) / 2)) 120px;
    background: var(--story-moss);
    color: #fff;
}

body.page-casamento-thainah .editorial-story__intro {
    max-width: 610px;
    margin: 0 auto 58px;
    text-align: center;
}

body.page-casamento-thainah .editorial-story .editorial-kicker {
    color: #d9b695;
}

body.page-casamento-thainah .editorial-story h2 {
    color: #fff;
}

body.page-casamento-thainah .editorial-story__intro > p:not(.editorial-kicker) {
    max-width: 480px;
    margin-right: auto;
    margin-left: auto;
    color: rgba(255, 255, 255, 0.76);
}

body.page-casamento-thainah .editorial-story__photos {
    display: grid;
    max-width: 1040px;
    min-height: 490px;
    grid-template-columns: 1.35fr 0.85fr;
    align-items: center;
    gap: clamp(22px, 5vw, 65px);
    margin: 0 auto;
}

body.page-casamento-thainah .editorial-story__photo {
    position: relative;
    margin: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
}

body.page-casamento-thainah .editorial-story__photo--large {
    height: 490px;
}

body.page-casamento-thainah .editorial-story__photo--small {
    height: 355px;
    margin-top: 95px;
}

body.page-casamento-thainah .editorial-story__photo::after {
    position: absolute;
    inset: 45% 0 0;
    background: linear-gradient(transparent, rgba(9, 15, 11, 0.67));
    content: "";
}

body.page-casamento-thainah .editorial-story__photo img {
    transition: transform 500ms ease;
}

body.page-casamento-thainah .editorial-story__photo:hover img {
    transform: scale(1.035);
}

body.page-casamento-thainah .editorial-story__photo figcaption {
    position: absolute;
    z-index: 1;
    bottom: 23px;
    left: 25px;
    color: #fff;
    font-family: "Italiana", Georgia, serif;
    font-size: 1.55rem;
}

body.page-casamento-thainah .editorial-quote {
    padding: 94px 24px 98px;
    background: var(--story-sand);
    text-align: center;
}

body.page-casamento-thainah .editorial-quote p {
    max-width: 820px;
    margin: 0 auto;
    color: var(--story-ink);
    font-family: "Italiana", Georgia, serif;
    font-size: clamp(2.2rem, 5vw, 3.65rem);
    line-height: 1.18;
}

body.page-casamento-thainah .editorial-quote span {
    display: block;
    margin-top: 25px;
    color: var(--story-moss);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.2em;
}

body.page-casamento-thainah .editorial-gallery {
    padding: 110px 32px 120px;
    background: var(--story-night);
    color: #fff;
}

body.page-casamento-thainah .editorial-gallery__heading {
    margin: 0 auto 48px;
    text-align: center;
}

body.page-casamento-thainah .editorial-gallery .editorial-kicker {
    color: #d9b695;
}

body.page-casamento-thainah .editorial-gallery h2 {
    color: #fff;
}

body.page-casamento-thainah .editorial-gallery__heading > p:last-child {
    margin: 13px 0 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.77rem;
}

body.page-casamento-thainah .editorial-gallery__grid {
    display: grid;
    width: min(1100px, 100%);
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(200px, 250px));
    gap: 15px;
    margin: 0 auto;
}

body.page-casamento-thainah .editorial-gallery__item {
    position: relative;
    display: block;
    min-width: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: #27342b;
    cursor: zoom-in;
}

body.page-casamento-thainah .editorial-gallery__item--wide {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

body.page-casamento-thainah .editorial-gallery__item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease, opacity 300ms ease;
}

body.page-casamento-thainah .editorial-gallery__item:hover img {
    transform: scale(1.035);
    opacity: 0.86;
}

body.page-casamento-thainah .editorial-access {
    display: grid;
    width: min(1100px, 100%);
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin: 32px auto 0;
}

body.page-casamento-thainah .editorial-action {
    display: flex;
    min-height: 98px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 27px;
    border: 1px solid rgba(222, 212, 196, 0.22);
    color: #fff;
    text-decoration: none;
    transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

body.page-casamento-thainah .editorial-action:hover {
    transform: translateY(-2px);
    border-color: rgba(222, 212, 196, 0.65);
    background: rgba(255, 255, 255, 0.045);
}

body.page-casamento-thainah .editorial-action--gallery {
    min-height: 125px;
    grid-column: 1 / -1;
    border-color: var(--story-olive);
    background: var(--story-moss);
}

body.page-casamento-thainah .editorial-action__copy {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

body.page-casamento-thainah .editorial-action strong {
    font-family: "Italiana", Georgia, serif;
    font-size: 1.75rem;
    font-weight: 400;
}

body.page-casamento-thainah .editorial-action small {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.68rem;
    line-height: 1.5;
}

body.page-casamento-thainah .editorial-action__arrow {
    color: #ead1b3;
    font-size: 1.3rem;
}

body.page-casamento-thainah .editorial-access__locked {
    grid-column: 1 / -1;
    margin: 0;
    padding: 23px;
    border: 1px solid rgba(222, 212, 196, 0.22);
    color: #f1e7d8;
    font-size: 0.82rem;
    line-height: 1.8;
    text-align: center;
}

body.page-casamento-thainah .editorial-access__locked i {
    margin-right: 8px;
}

body.page-casamento-thainah .editorial-gallery .liberacao-progress:not(.hidden) {
    display: block;
    width: min(620px, 100%);
    margin: 22px auto 0;
    padding: 24px;
    border: 1px solid rgba(222, 212, 196, 0.22);
    border-radius: 0;
    background: rgba(255, 255, 255, 0.035);
    color: #fff;
    text-align: center;
}

body.page-casamento-thainah .editorial-gallery .liberacao-progress__label,
body.page-casamento-thainah .editorial-gallery .liberacao-progress__hint {
    color: rgba(255, 255, 255, 0.75);
}

body.page-casamento-thainah .editorial-gallery .liberacao-progress__bar {
    background: rgba(255, 255, 255, 0.16);
}

body.page-casamento-thainah .editorial-closing {
    display: grid;
    min-height: 610px;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    background: var(--story-cream);
}

body.page-casamento-thainah .editorial-closing__photo {
    min-height: 610px;
    overflow: hidden;
    background: var(--story-sand);
}

body.page-casamento-thainah .editorial-closing__copy {
    display: flex;
    max-width: 520px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 75px clamp(36px, 8vw, 105px);
}

body.page-casamento-thainah .editorial-closing h2 {
    font-size: clamp(3.1rem, 5.6vw, 5rem);
}

body.page-casamento-thainah .editorial-closing__copy .editorial-closing__signature {
    margin-top: 30px;
    color: var(--story-ink);
    font-family: "Italiana", Georgia, serif;
    font-size: 1.25rem;
    line-height: 1.4;
}

body.page-casamento-thainah .editorial-closing__signature strong {
    color: var(--story-moss);
    font-weight: 700;
}

body.page-casamento-thainah .editorial-closing__copy > a.editorial-closing__instagram {
    gap: 10px;
    margin-top: 13px;
    color: var(--story-copper);
    font-size: 0.71rem;
    letter-spacing: 0.035em;
    text-decoration: underline;
    text-decoration-color: rgba(184, 117, 85, 0.45);
    text-underline-offset: 4px;
}

body.page-casamento-thainah .editorial-closing__instagram i {
    font-size: 1rem;
}

body.page-casamento-thainah .editorial-closing__copy > a.editorial-closing__instagram:hover {
    color: var(--story-moss);
}

body.page-casamento-thainah .editorial-closing__copy > a:not(.editorial-closing__instagram) {
    margin-top: 25px;
}

body.page-casamento-thainah .editorial-footer {
    display: flex;
    min-height: 120px;
    align-items: center;
    justify-content: space-between;
    padding: 25px clamp(26px, 7vw, 95px);
    background: var(--story-night);
    color: rgba(255, 255, 255, 0.66);
}

body.page-casamento-thainah .editorial-footer img {
    display: block;
    width: 133px;
    max-height: 56px;
    object-fit: contain;
}

body.page-casamento-thainah .editorial-footer p {
    margin: 0;
    font-size: 0.66rem;
    letter-spacing: 0.04em;
}

body.page-casamento-thainah .editorial-lightbox[hidden] {
    display: none;
}

body.page-casamento-thainah .editorial-lightbox {
    position: fixed;
    z-index: 999;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 24px;
    background: rgba(8, 11, 9, 0.94);
}

body.page-casamento-thainah .editorial-lightbox img {
    display: block;
    max-width: min(1100px, 100%);
    max-height: 100%;
    object-fit: contain;
}

body.page-casamento-thainah .editorial-lightbox__close {
    position: absolute;
    top: max(16px, env(safe-area-inset-top));
    right: max(21px, env(safe-area-inset-right));
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    cursor: pointer;
    font-size: 2rem;
    line-height: 1;
}

body.page-casamento-thainah #musicaToggle:not([hidden]) {
    position: fixed;
    z-index: 7;
    top: 20px;
    right: 24px;
    bottom: auto;
}

body.page-casamento-thainah.wedding-lightbox-open {
    overflow: hidden;
}

@media (max-width: 700px) {
    body.page-casamento-thainah .editorial-topbar {
        height: 76px;
        padding: 0 19px;
    }

    body.page-casamento-thainah .editorial-brand img {
        width: 118px;
    }

    body.page-casamento-thainah .editorial-nav {
        max-width: 145px;
        font-size: 0.53rem;
        letter-spacing: 0.1em;
    }

    body.page-casamento-thainah .editorial-hero {
        min-height: 86svh;
        min-height: 86vh;
    }

    body.page-casamento-thainah .editorial-hero > img {
        object-position: 54% center;
    }

    body.page-casamento-thainah .editorial-hero h1 {
        font-size: clamp(4rem, 14vw, 6.2rem);
    }

    body.page-casamento-thainah .editorial-welcome {
        width: calc(100% - 40px);
        grid-template-columns: 1fr;
        gap: 34px;
        padding: 70px 0 78px;
    }

    body.page-casamento-thainah .editorial-welcome__photo {
        height: min(112vw, 440px);
    }

    body.page-casamento-thainah .editorial-welcome__copy {
        max-width: 520px;
    }

    body.page-casamento-thainah .editorial-welcome h2,
    body.page-casamento-thainah .editorial-story h2,
    body.page-casamento-thainah .editorial-gallery h2 {
        font-size: clamp(2.8rem, 11vw, 3.7rem);
    }

    body.page-casamento-thainah .editorial-story {
        padding: 76px 20px 82px;
    }

    body.page-casamento-thainah .editorial-story__intro {
        margin-bottom: 35px;
    }

    body.page-casamento-thainah .editorial-story__photos {
        min-height: 0;
        grid-template-columns: 1fr 0.78fr;
        gap: 12px;
    }

    body.page-casamento-thainah .editorial-story__photo--large {
        height: 360px;
    }

    body.page-casamento-thainah .editorial-story__photo--small {
        height: 270px;
        margin-top: 64px;
    }

    body.page-casamento-thainah .editorial-story__photo figcaption {
        bottom: 14px;
        left: 13px;
        font-size: 1.13rem;
    }

    body.page-casamento-thainah .editorial-quote {
        padding: 72px 22px;
    }

    body.page-casamento-thainah .editorial-gallery {
        padding: 77px 19px 82px;
    }

    body.page-casamento-thainah .editorial-gallery__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(4, minmax(140px, 43vw));
        gap: 9px;
    }

    body.page-casamento-thainah .editorial-gallery__item--wide {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    body.page-casamento-thainah .editorial-access {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 20px;
    }

    body.page-casamento-thainah .editorial-action,
    body.page-casamento-thainah .editorial-action--gallery {
        min-height: 86px;
        grid-column: auto;
        padding: 17px 19px;
    }

    body.page-casamento-thainah .editorial-action strong {
        font-size: 1.55rem;
    }

    body.page-casamento-thainah .editorial-closing {
        grid-template-columns: 1fr;
    }

    body.page-casamento-thainah .editorial-closing__photo {
        min-height: 0;
        height: 72vw;
        max-height: 440px;
    }

    body.page-casamento-thainah .editorial-closing__copy {
        padding: 62px 26px 70px;
    }

    body.page-casamento-thainah .editorial-footer {
        min-height: 102px;
        padding: 20px;
    }

    body.page-casamento-thainah .editorial-footer img {
        width: 112px;
    }

    body.page-casamento-thainah .editorial-footer p {
        font-size: 0.59rem;
    }

    body.page-casamento-thainah #musicaToggle:not([hidden]) {
        top: 74px;
        right: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.page-casamento-thainah *,
    body.page-casamento-thainah *::before,
    body.page-casamento-thainah *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
