:root {
    /* Mais “feminina” (pastel + rosa/lilás), mantendo aquarela do convite */
    --sky1: #d9f0ff;
    /* azul bem claro */
    --sky2: #b7dff5;
    /* azul aquarela */
    --lav: #caa6ff;
    /* lilás */
    --lav2: #a78bfa;
    /* roxo suave */
    --pink: #ff4d8d;
    /* Lorena */
    --pink2: #ff86b4;
    /* rosa suave */
    --yellow: #ffbf3f;
    /* 5 anos */
    --badge: #ffb3c7;
    /* placa rosa */
    --ink: #121212;

    --glass: rgba(255, 255, 255, .18);
    --stroke: rgba(255, 255, 255, .26);
    --shadow: 0 1.625rem 5.625rem rgba(0, 0, 0, .28);
    --radius: 1.375rem;

    --textOnSky: rgba(0, 0, 0, .68);
    --textOnSea: rgba(255, 255, 255, .94);
    --textMain: #3b1f5e;
    --textMuted: #5a3a82;
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    font-family: "Agbalumo", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
    background: linear-gradient(180deg,
            #e6f7ff 0%,
            #b8e3f5 25%,
            #8cd4ec 50%,
            #5fc2e0 75%,
            #3aafce 100%);
    overflow-x: hidden;
    position: relative;
}

/* Aquarela + luz na água + cenário */
.oceanFX {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -3;
}

.oceanFX::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 17.5rem;
    background:
        linear-gradient(180deg, transparent 0%, rgba(26, 65, 85, .08) 40%, rgba(26, 65, 85, .18) 100%);
    z-index: 1;
}

.oceanFX::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 9.375rem;
    background:
        radial-gradient(ellipse 200px 80px at 15% 100%, rgba(180, 220, 150, .12), transparent),
        radial-gradient(ellipse 180px 90px at 35% 100%, rgba(160, 200, 135, .10), transparent),
        radial-gradient(ellipse 150px 70px at 55% 100%, rgba(180, 220, 150, .11), transparent),
        radial-gradient(ellipse 190px 85px at 75% 100%, rgba(160, 200, 135, .09), transparent),
        radial-gradient(ellipse 170px 75px at 90% 100%, rgba(180, 220, 150, .10), transparent),
        linear-gradient(180deg, transparent 0%, rgba(255, 215, 130, .08) 100%);
    z-index: 2;
}

.wash {
    position: absolute;
    inset: -25%;
    background:
        radial-gradient(circle at 18% 22%, rgba(255, 255, 255, .26), transparent 55%),
        radial-gradient(circle at 78% 30%, rgba(255, 178, 214, .14), transparent 58%),
        radial-gradient(circle at 55% 70%, rgba(202, 166, 255, .14), transparent 62%);
    filter: blur(18px);
    opacity: .92;
    animation: drift 14s ease-in-out infinite;
}

.caustics {
    position: absolute;
    inset: -40%;
    background:
        repeating-radial-gradient(circle at 20% 30%, rgba(255, 255, 255, .10) 0 2px, transparent 2px 18px),
        repeating-radial-gradient(circle at 70% 60%, rgba(255, 255, 255, .08) 0 2px, transparent 2px 20px);
    mix-blend-mode: overlay;
    opacity: .18;
    filter: blur(1px);
    animation: causticMove 10s ease-in-out infinite;
}

.vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(900px 520px at 50% 25%, transparent 40%, rgba(0, 0, 0, .10) 100%);
    opacity: .25;
}

/* Elementos decorativos do cenário de fundo */
.seaFloor {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 12.5rem;
    z-index: 3;
    pointer-events: none;
}

.seaFloor::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 7.5rem;
    background:
        radial-gradient(ellipse 120px 40px at 12% 100%, rgba(140, 100, 80, .15), transparent),
        radial-gradient(ellipse 90px 35px at 28% 100%, rgba(130, 95, 75, .12), transparent),
        radial-gradient(ellipse 110px 38px at 45% 100%, rgba(140, 100, 80, .14), transparent),
        radial-gradient(ellipse 95px 36px at 62% 100%, rgba(130, 95, 75, .13), transparent),
        radial-gradient(ellipse 105px 37px at 78% 100%, rgba(140, 100, 80, .12), transparent),
        radial-gradient(ellipse 85px 32px at 91% 100%, rgba(130, 95, 75, .11), transparent);
}

/* container do fundo */
.oceanLayer {
    position: relative;
    height: 26.25rem;
    /* importante ter altura */
    overflow: hidden;
    /* corta o que está fora */
}

/* WRAPPER: atravessa a tela */
.fishWrap {
    position: absolute;
    top: var(--y, 35%);
    left: -25vw;
    /* começa fora */
    width: 0;
    height: 0;
    /* só serve de “âncora” */
    z-index: 1;
    pointer-events: none;

    animation: swimX var(--t, 16s) linear infinite;
    animation-delay: var(--d, 0s);
    opacity: 0;
}

/* o “corpo” do peixe: flutua e balança */
.fishShadow {
    width: var(--w, 10rem);
    height: calc(var(--w, 10rem) * .52);

    background: rgba(50, 100, 120, .12);
    border-radius: 60% 55% 55% 60% / 60% 50% 50% 60%;
    filter: blur(.7px);

    animation:
        floatY 3.6s ease-in-out infinite,
        wiggle 1.8s ease-in-out infinite;
    will-change: transform;
}

/* cauda */
.fishShadow::after {
    content: '';
    position: absolute;
    left: -12%;
    top: 50%;
    width: 0;
    height: 0;

    border-right: calc(var(--w, 10rem) * .18) solid rgba(50, 100, 120, .12);
    border-top: calc(var(--w, 10rem) * .10) solid transparent;
    border-bottom: calc(var(--w, 10rem) * .10) solid transparent;

    transform: translateY(-50%);
    transform-origin: 100% 50%;
    animation: tailFlap .55s ease-in-out infinite;
}

/* nadadeira dorsal */
.fishShadow::before {
    content: '';
    position: absolute;
    left: 42%;
    top: 12%;
    width: 0;
    height: 0;
    border-left: calc(var(--w, 10rem) * .08) solid transparent;
    border-right: calc(var(--w, 10rem) * .08) solid transparent;
    border-bottom: calc(var(--w, 10rem) * .14) solid rgba(50, 100, 120, .10);
    transform: rotate(-10deg);
    filter: blur(.2px);
}

/* opcional: olho */
.fishShadow .eye {
    position: absolute;
    right: 18%;
    top: 42%;
    width: calc(var(--w, 10rem) * .03);
    height: calc(var(--w, 10rem) * .03);
    background: rgba(50, 100, 120, .18);
    border-radius: 999px;
}

/* atravessa a tela */
@keyframes swimX {
    0% {
        transform: translateX(0);
        opacity: 0;
    }

    8% {
        opacity: .75;
    }

    92% {
        opacity: .55;
    }

    100% {
        transform: translateX(160vw);
        opacity: 0;
    }
}

/* sobe/desce */
@keyframes floatY {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-0.625rem);
    }
}

/* leve balançar */
@keyframes wiggle {

    0%,
    100% {
        rotate: 0deg;
    }

    50% {
        rotate: -2.2deg;
    }
}

/* batida da cauda */
@keyframes tailFlap {

    0%,
    100% {
        transform: translateY(-50%) rotate(10deg);
    }

    50% {
        transform: translateY(-50%) rotate(-16deg);
    }
}

/* variações */
/* Título em arco */
.nameArc,
.ageArc {
    display: block;
    width: 100%;
    text-align: center;
}

.lorena-arc-text {
    font-family: 'ClarenceTwo', serif;
    font-size: 10rem;
    fill: #ff4d8d;
    stroke: rgba(255, 255, 255, .95);
    stroke-width: 10;
    paint-order: stroke fill;
    filter: drop-shadow(0 0.375rem 1.125rem rgba(0, 0, 0, .25));
}

.age-arc-text {
    font-family: 'ClarenceTwo', serif;
    font-size: 6rem;
    fill: #ffbf3f;
    stroke: rgba(255, 255, 255, .95);
    stroke-width: 10;
    paint-order: stroke fill;
    filter: drop-shadow(0 0.375rem 1.125rem rgba(0, 0, 0, .25));
}

.f3 {
    --y: 55%;
    --w: 16rem;
    --t: 16s;
    --d: -12s;
}

.f4 {
    --y: 70%;
    --w: 14rem;
    --t: 22s;
    --d: -15s;
}

/* Bolhas em anel (igual ao convite) - animação melhorada */
.bubbleRing {
    position: fixed;
    left: var(--x);
    top: 115vh;
    width: var(--s);
    height: var(--s);
    border-radius: 999px;
    border: 3px solid rgba(255, 255, 255, .70);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .20) inset, 0 4px 12px rgba(0, 0, 0, .05);
    opacity: .7;
    pointer-events: none;
    z-index: 0;
    animation: ringUp var(--t) ease-out infinite;
    animation-delay: var(--d);
}

@keyframes ringUp {
    0% {
        transform: translateY(0) translateX(0) scale(.9);
        opacity: 0;
    }

    8% {
        opacity: .7;
    }

    25% {
        transform: translateY(-30vh) translateX(var(--dx, 5px)) scale(.95);
    }

    50% {
        transform: translateY(-60vh) translateX(var(--dx, 8px)) scale(1);
        opacity: .65;
    }

    75% {
        transform: translateY(-90vh) translateX(var(--dx, 10px)) scale(1.05);
    }

    100% {
        transform: translateY(-120vh) translateX(var(--dx, 12px)) scale(1.1);
        opacity: 0;
    }
}

/* Layout */
.wrap {
    width: min(68rem, 96vw);
    margin: 3rem auto;
    padding: 1.125rem 0 4.375rem;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.875rem;
    padding: 0.625rem 0 0.75rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(255, 255, 255, .65);
    color: var(--textOnSky);
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0.75rem 2.5rem rgba(0, 0, 0, .10);
    user-select: none;
    font-weight: 800;
    letter-spacing: .2px;
}

.dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--pink), var(--lav2));
    box-shadow: 0 0 1.125rem rgba(255, 77, 141, .30);
}

.actions {
    display: flex;
    gap: 0.625rem;
    flex-wrap: wrap;
}

.btn {
    border: 1px solid rgba(255, 255, 255, .65);
    background: rgba(255, 255, 255, .78);
    color: var(--textMain);
    padding: 0.625rem 0.875rem;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 800;
    transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, .08);
}

.btn:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
}

.btn.primary {
    border: none;
    background: linear-gradient(135deg, var(--pink), var(--yellow));
    color: #fff;
    box-shadow: 0 8px 25px rgba(255, 61, 127, .35);
    text-shadow: 0 1px 3px rgba(0, 0, 0, .25);
}

.btn.primary:hover {
    box-shadow: 0 12px 35px rgba(255, 61, 127, .45);
}

.card {
    padding: 2.5rem 1.5rem;
    min-height: 0;
    min-width: 0;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(255,134,180,0.32) 0%, rgba(255,77,141,0.22) 60%, rgba(255,255,255,0.13) 100%);
    border: 2px solid rgba(255, 134, 180, 0.13);
    border-radius: 60rem;
    box-shadow: 0 8px 40px 0 rgba(255, 77, 141, 0.10), 0 2px 24px 0 rgba(255, 134, 180, 0.08), 0 0 0 8px rgba(255, 255, 255, 0.08) inset;
    backdrop-filter: blur(18px);
    overflow: hidden;
    position: relative;
    animation: bubbleFloat 7s ease-in-out infinite;
    transition: box-shadow .2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@keyframes bubbleFloat {
    0% {
        transform: translateY(0) scale(1);
        box-shadow: 0 8px 40px 0 rgba(255, 77, 141, 0.13), 0 2px 24px 0 rgba(255, 134, 180, 0.10), 0 0 0 8px rgba(255, 255, 255, 0.10) inset;
    }

    50% {
        transform: translateY(-10px) scale(1.025);
        box-shadow: 0 18px 60px 0 rgba(255, 77, 141, 0.18), 0 2px 32px 0 rgba(255, 134, 180, 0.13), 0 0 0 12px rgba(255, 255, 255, 0.13) inset;
    }

    100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 8px 40px 0 rgba(255, 77, 141, 0.13), 0 2px 24px 0 rgba(255, 134, 180, 0.10), 0 0 0 8px rgba(255, 255, 255, 0.10) inset;
    }
}

.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
    margin: 0 auto;
}

@media (min-width: 53.75rem) {
    .grid {
        grid-template-columns: 1.35fr .85fr;
        gap: 1.5rem;
    }
}

@media (max-width: 53.75rem) {
    header {
        flex-direction: column;
        align-items: flex-start
    }
}

/* Título igual ao convite */
.titleBlock {
    padding: 1.5rem 1.125rem 0.75rem;
    text-align: center;
    font-family: 'ClarenceTwo', serif;
}



.content {
    padding: 0.875rem 1.125rem 1.25rem;
    display: grid;
    gap: 0.875rem;
    background: transparent;
    justify-items: center;
}

/* Placa rosa */
.badge {
    background: linear-gradient(135deg, var(--badge), var(--pink2));
    color: #fff;
    border: 2px solid rgba(255, 255, 255, .75);
    border-radius: 1.125rem;
    padding: 1rem 1.125rem;
    box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, .20), 0 0 0 1px rgba(255, 255, 255, .3) inset;
    display: grid;
    gap: 0.375rem;
    width: fit-content;
    max-width: 100%;
    text-align: center;
}

.badge .line {
    font-weight: 900;
    font-size: 1.78rem;
    letter-spacing: .3px;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0,0,0,.18);
}

.badge-highlight {
    color: var(--pink);
    font-size: 2.4rem;
    font-weight: 900;
    /* outline via text-shadow — keeps the pink vivid unlike -webkit-text-stroke */
    text-shadow:
        1px  1px 0 #fff,
       -1px -1px 0 #fff,
        1px -1px 0 #fff,
       -1px  1px 0 #fff,
        0    1px 0 #fff,
        0   -1px 0 #fff,
        1px  0   0 #fff,
       -1px  0   0 #fff,
        0    4px 14px rgba(0,0,0,.22);
    line-height: 1.1;
}

.badge-map {
    display: inline-block;
    margin-top: 0.25rem;
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    opacity: .92;
    border-bottom: 1px solid rgba(255, 255, 255, .5);
    transition: opacity .15s ease;
}

.badge-map:hover {
    opacity: 1;
}

.aside {
    padding: 1rem 1.125rem 1.125rem;
    color: var(--textOnCard);
}

.chipTitle {
    display: inline-block;
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(255, 255, 255, .65);
    color: var(--textMain);
    border-radius: 999px;
    padding: 0.5rem 0.875rem;
    font-weight: 900;
    margin: 0 0 0.75rem;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, .08);
}

.aside p,
.aside li {
    margin: 0;
    line-height: 1.6;
    font-size: 1.5rem;
    color: var(--textMain);
    text-shadow: var(--text-shadow);
    font-weight: 700;
}

ul {
    margin: 0.625rem 0 0 1.125rem
}

.divider {
    height: 1px;
    background: rgba(0, 0, 0, .12);
}

/* Cena */
.sceneWrap {
    height: 100%;
    width: 100%;
    border-radius: 1.125rem;
    overflow: hidden;
    position: relative;
}

/* Movimento no cenário (CSS em elementos do SVG) - muito mais dinâmico */
svg .float-fish {
    transform-box: fill-box;
    transform-origin: center;
    animation: fishSwimWide 18s linear infinite;
    will-change: transform;
    z-index: 2;
}
svg .float-fish .tail-fin {
    transform-origin: 120px 32px;
    animation: tailWave 1.2s ease-in-out infinite;
}
svg .float-fish .dorsal-fin {
    transform-origin: 110px 10px;
    animation: dorsalWave 1.6s ease-in-out infinite;
}
svg .float-fish .ventral-fin {
    transform-origin: 100px 70px;
    animation: ventralWave 1.4s ease-in-out infinite;
}
svg .float-fish.s2 {
    animation: fishSwimWideReverse 20s linear infinite;
    animation-delay: -4s;
}
svg .float-fish.s3 {
    animation: fishSwimWideAlt 22s linear infinite;
    animation-delay: -8s;
}

@keyframes fishSwimWide {
    0%   { transform: translate(0px, 0px) rotate(-2deg); }
    10%  { transform: translate(400px, 80px) rotate(2deg); }
    20%  { transform: translate(800px, 120px) rotate(-2deg); }
    30%  { transform: translate(1200px, 200px) rotate(3deg); }
    40%  { transform: translate(1600px, 350px) rotate(-3deg); }
    50%  { transform: translate(1800px, 500px) rotate(2deg); }
    60%  { transform: translate(1600px, 700px) rotate(-2deg); }
    70%  { transform: translate(1200px, 900px) rotate(3deg); }
    80%  { transform: translate(800px, 950px) rotate(-3deg); }
    90%  { transform: translate(400px, 800px) rotate(2deg); }
    100% { transform: translate(0px, 0px) rotate(-2deg); }
}

@keyframes fishSwimWideReverse {
    0%   { transform: translate(1800px, 0px) scaleX(-1) rotate(2deg); }
    10%  { transform: translate(1400px, 80px) scaleX(-1) rotate(-2deg); }
    20%  { transform: translate(1000px, 120px) scaleX(-1) rotate(2deg); }
    30%  { transform: translate(600px, 200px) scaleX(-1) rotate(-3deg); }
    40%  { transform: translate(300px, 350px) scaleX(-1) rotate(3deg); }
    50%  { transform: translate(100px, 500px) scaleX(-1) rotate(-2deg); }
    60%  { transform: translate(300px, 700px) scaleX(-1) rotate(2deg); }
    70%  { transform: translate(600px, 900px) scaleX(-1) rotate(-3deg); }
    80%  { transform: translate(1000px, 950px) scaleX(-1) rotate(3deg); }
    90%  { transform: translate(1400px, 800px) scaleX(-1) rotate(-2deg); }
    100% { transform: translate(1800px, 0px) scaleX(-1) rotate(2deg); }
}

@keyframes fishSwimWideAlt {
    0%   { transform: translate(900px, 0px) rotate(0deg); }
    15%  { transform: translate(1200px, 200px) rotate(3deg); }
    30%  { transform: translate(1600px, 400px) rotate(-3deg); }
    45%  { transform: translate(1800px, 600px) rotate(2deg); }
    60%  { transform: translate(1600px, 800px) rotate(-2deg); }
    75%  { transform: translate(1200px, 1000px) rotate(3deg); }
    90%  { transform: translate(900px, 800px) rotate(-3deg); }
    100% { transform: translate(900px, 0px) rotate(0deg); }
}

svg .stingray {
    transform-box: fill-box;
    transform-origin: center;
    animation: rayGlide 7s ease-in-out infinite;
}

@keyframes rayGlide {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    20% {
        transform: translate(-15px, 8px) rotate(1.5deg);
    }

    40% {
        transform: translate(-28px, 18px) rotate(2.5deg);
    }

    60% {
        transform: translate(-35px, 25px) rotate(3deg);
    }

    80% {
        transform: translate(-20px, 12px) rotate(1.5deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

svg .submarine {
    transform-box: fill-box;
    transform-origin: center;
    animation: submarineTravel 18s linear infinite;
    /* Para garantir que a animação ocupe toda a tela */
    will-change: transform;
    z-index: 2;
    /* Opcional: transição suave para mobile */
    transition: filter .2s;
}

@keyframes submarineTravel {
    0%   { transform: translate(0px, 0px) rotate(0deg); }
    10%  { transform: translate(300px, 80px) rotate(2deg); }
    20%  { transform: translate(700px, 120px) rotate(-2deg); }
    30%  { transform: translate(1100px, 200px) rotate(3deg); }
    40%  { transform: translate(1400px, 350px) rotate(-3deg); }
    50%  { transform: translate(1700px, 500px) rotate(2deg) scaleX(-1); }
    60%  { transform: translate(1400px, 700px) rotate(-2deg) scaleX(-1); }
    70%  { transform: translate(1100px, 900px) rotate(3deg) scaleX(-1); }
    80%  { transform: translate(700px, 950px) rotate(-3deg) scaleX(-1); }
    90%  { transform: translate(300px, 800px) rotate(2deg) scaleX(-1); }
    100% { transform: translate(0px, 0px) rotate(0deg) scaleX(-1); }
}

svg .seaweed {
    transform-box: fill-box;
    transform-origin: bottom center;
    animation: sway 2.8s ease-in-out infinite;
}

svg .seaweed.s2 {
    animation-duration: 3.6s;
    animation-delay: -1.8s;
}

svg .seaweed.s3 {
    animation-duration: 4.2s;
    animation-delay: -2.5s;
}

@keyframes sway {
    0% {
        transform: skewX(0deg) rotate(-3deg);
    }

    20% {
        transform: skewX(2deg) rotate(0deg);
    }

    40% {
        transform: skewX(4deg) rotate(3deg);
    }

    60% {
        transform: skewX(5deg) rotate(4deg);
    }

    80% {
        transform: skewX(2deg) rotate(1deg);
    }

    100% {
        transform: skewX(0deg) rotate(-3deg);
    }
}

svg .bubbleStatic {
    transform-box: fill-box;
    transform-origin: center;
    animation: bubblePulse 4.2s ease-in-out infinite;
    opacity: .65;
}

svg .bubbleStatic.s2 {
    animation-duration: 5.5s;
    animation-delay: -2s;
    opacity: .58;
}

@keyframes bubblePulse {
    0% {
        transform: scale(1);
        opacity: .55;
    }

    50% {
        transform: scale(1.12);
        opacity: .75;
    }

    100% {
        transform: scale(1);
        opacity: .55;
    }
}

/* Modal RSVP */
.backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .65);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.125rem;
    z-index: 50;
    backdrop-filter: blur(3px);
}

.backdrop.open {
    display: flex;
}

.modal {
    width: min(35rem, 96vw);
    background: rgba(255, 255, 255, .97);
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 1.375rem;
    box-shadow: 0 1.75rem 5.625rem rgba(0, 0, 0, .60);
    backdrop-filter: blur(14px);
    overflow: hidden;
    transform: translateY(0.625rem);
    opacity: 0;
    animation: pop .18s ease-out forwards;
    color: var(--textMain);
}

@keyframes pop {
    to {
        transform: translateY(0);
        opacity: 1
    }
}

.modalHeader {
    padding: 1rem 1.125rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.625rem;
    background: linear-gradient(135deg, var(--pink), var(--pink2));
}

.modalHeader h3 {
    margin: 0;
    font-size: 1.59rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .25);
}

.x {
    border: none;
    background: rgba(255, 255, 255, .25);
    color: #fff;
    font-size: 1.875rem;
    cursor: pointer;
    padding: 0.375rem 0.6875rem;
    border-radius: 0.75rem;
    font-weight: 900;
}

.x:hover {
    background: rgba(255, 255, 255, .35);
}

form {
    padding: 0.875rem 1.125rem 1.125rem;
    display: grid;
    gap: 0.75rem;
}

label {
    font-size: 1.3125rem;
    opacity: .92;
    display: block;
    margin-bottom: 0.375rem;
    font-weight: 900;
    color: var(--textMain);
}

input,
select,
textarea {
    width: 100%;
    padding: 0.75rem 0.8125rem;
    border-radius: 0.875rem;
    border: 2px solid rgba(0, 0, 0, .12);
    background: rgba(255, 255, 255, .85);
    color: var(--textMain);
    outline: none;
    font-family: inherit;
    font-weight: 800;
    transition: border-color .2s ease;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--pink);
}

textarea {
    min-height: 5rem;
    resize: vertical;
}

.row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.625rem;
}

@media (max-width: 32.5rem) {
    .row {
        grid-template-columns: 1fr
    }
}

.toast {
    position: fixed;
    bottom: -6rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    padding: 0.875rem 1.5rem;
    border-radius: 999px;
    border: 2px solid var(--pink2);
    background: rgba(255, 255, 255, .97);
    font-weight: 900;
    font-size: 1.3125rem;
    color: var(--pink);
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, .22);
    white-space: nowrap;
    pointer-events: none;
    transition: bottom 0.35s cubic-bezier(0.34, 1.46, 0.64, 1);
}

.toast.show {
    bottom: 2rem;
}

.formActions {
    display: flex;
    gap: 0.625rem;
    justify-content: center;
    padding-top: 0.375rem;
}

/* Acompanhantes */
.companion-hint {
    margin: 0 0 0.625rem;
    font-size: 0.95rem;
    color: var(--textMuted);
    font-weight: 600;
    line-height: 1.4;
}

.companion-row {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 0.5rem;
}

.companion-row input {
    flex: 1;
}

.companion-remove {
    border: none;
    background: rgba(255, 77, 141, .12);
    color: var(--pink);
    border-radius: 0.625rem;
    padding: 0.75rem;
    cursor: pointer;
    font-weight: 900;
    font-size: 1.1rem;
    line-height: 1;
    flex-shrink: 0;
    transition: background .15s;
}

.companion-remove:hover {
    background: rgba(255, 77, 141, .28);
}

.companion-add-btn {
    margin-top: 0.25rem;
    font-size: 1rem;
    padding: 0.5rem 1.125rem;
    background: rgba(202, 166, 255, .18) !important;
    color: var(--textMain) !important;
    border: 1.5px solid rgba(167, 139, 250, .4) !important;
    box-shadow: none !important;
}

.rsvp-reminder {
    background: rgba(202, 166, 255, .18);
    border: 1.5px solid rgba(167, 139, 250, .35);
    border-radius: 0.75rem;
    padding: 0.625rem 0.875rem;
    font-size: 1.22rem;
    color: var(--textMuted);
    font-weight: 700;
    text-align: center;
    line-height: 1.5;
}

.footer {
    padding: 1.25rem 0 0;
    text-align: center;
    color: rgba(0, 0, 0, .72);
    font-weight: 900;
    font-size: 1.22rem;
    text-shadow: 0 1px 3px rgba(255, 255, 255, .5);
}

@font-face {
    font-family: 'ClarenceTwo';
    src: url('./fonts/ClarenceTwo-Regular.woff2') format('woff2');
    font-display: swap;
}

/* ─── Criaturas marinhas SVG ─────────────────────────────────── */
.seaCreature {
    position: absolute;
    top: var(--y, 40%);
    left: -22vw;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    animation: swimX var(--t, 24s) linear infinite;
    animation-delay: var(--d, 0s);
    will-change: transform;
}

/* Nada da direita para a esquerda */
.seaCreature.rev {
    left: auto;
    right: -22vw;
    animation-name: swimXRev;
}

/* Inverte horizontalmente para nadar para o lado direito */
.scFlip {
    transform: scaleX(-1);
}

.scImg {
    width: var(--s, 8rem);
    height: auto;
    display: block;
    animation: floatY var(--fb, 4.2s) ease-in-out infinite;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .22));
    will-change: transform;
}

/* Arraia desliza suavemente sem balanco */
.sc3 .scImg {
    animation-duration: 6s;
}

/* keyframe: nada da direita para a esquerda */
@keyframes swimXRev {
    0%   { transform: translateX(0);       opacity: 0;   }
    8%   { opacity: .82; }
    92%  { opacity: .62; }
    100% { transform: translateX(-170vw);  opacity: 0;   }
}

/* Configurações individuais de cada criatura */
/* 1 — Peixe: rápido, no terço superior */
.sc1 { --y: 28%; --s: 8rem;   --t: 21s;  --d: -7s;  }
/* 2 — Peixe palhaço: médio, meio da tela */
.sc2 { --y: 54%; --s: 6.5rem; --t: 29s;  --d: -3s;  --fb: 3.5s; }
/* 3 — Arraia: grande e lenta, fundo da tela */
.sc3 { --y: 66%; --s: 13rem;  --t: 42s;  --d: -18s; --fb: 7s; }
/* 4 — Cavalo marinho: lento, da direita para a esquerda */
.sc4 { --y: 38%; --s: 5.5rem; --t: 34s;  --d: -24s; --fb: 5s; }

/* ─── Pausa animações pesadas enquanto o modal está aberto ──────── */
body.modal-open .seaCreature,
body.modal-open .scImg,
body.modal-open .bubbleRing,
body.modal-open .card,
body.modal-open .fishWrap {
    animation-play-state: paused;
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVIDADE — sempre ao final do arquivo para ter prioridade
   ═══════════════════════════════════════════════════════════════════ */

/* Tablet (≤ 860px): 2 colunas somem, card fica mais suave */
@media (max-width: 53.74rem) {
    .wrap {
        width: 96vw;
        margin: 2rem auto;
        padding: 0.75rem 0 2.5rem;
    }
    .grid { gap: 1.5rem; }
    .card { border-radius: 4rem; }
    .lorena-arc-text { font-size: min(4.5rem, 16vw); }
    .age-arc-text    { font-size: min(3.625rem, 13vw); }
}

/* Mobile (≤ 480px) */
@media (max-width: 30rem) {
    .wrap {
        width: 98vw;
        margin: 0.75rem auto;
        padding: 0.25rem 0 1.5rem;
    }
    .grid { gap: 1rem; }
    .card {
        padding: 1.5rem 0.875rem;
        border-radius: 2rem;
    }
    .lorena-arc-text { font-size: 13vw; }
    .age-arc-text    { font-size: 10.5vw; }

    .badge .line     { font-size: 1.15rem; }
    .badge-highlight { font-size: 1.45rem; }
    .badge-map       { font-size: 1rem; }

    .aside p, .aside li { font-size: 1.05rem; }

    /* Modal: bottom sheet */
    .backdrop {
        padding: 0;
        align-items: flex-end;
    }
    .modal {
        width: 100%;
        max-width: 100%;
        border-radius: 1.5rem 1.5rem 0 0;
        max-height: 93dvh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        /* cancela a animação de entrada que usava translateY positivo */
        animation: popUp .2s ease-out forwards;
    }
    @keyframes popUp {
        from { transform: translateY(2rem); opacity: 0; }
        to   { transform: translateY(0);    opacity: 1; }
    }
    .modalHeader {
        position: sticky;
        top: 0;
        z-index: 5;
        border-radius: 1.5rem 1.5rem 0 0;
    }
    .modalHeader h3 { font-size: 1.15rem; }
    .x { font-size: 1.5rem; }

    label       { font-size: 1rem; }
    input, select, textarea {
        font-size: 1rem;
        padding: 0.875rem 0.75rem;
    }
    textarea { min-height: 3.5rem; }

    .formActions {
        flex-direction: column;
        gap: 0.5rem;
    }
    .formActions .btn {
        width: 100%;
        padding: 0.9rem;
        font-size: 1rem;
    }
    .companion-add-btn {
        width: 100%;
        padding: 0.75rem;
    }
    .rsvp-reminder { font-size: 0.95rem; }
    .toast         { font-size: 1rem; max-width: 90vw; white-space: normal; text-align: center; }
}