html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
}

body:has(.floating-cart) {
    padding-bottom: 92px;
}

/* Mobile: safe area + barra inferior (tab) + espaço extra se houver floating-cart */
@media (max-width: 1023px) {
    body {
        padding-bottom: max(12px, env(safe-area-inset-bottom, 0px));
    }

    body:has(.mobile-app-nav) {
        padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
    }

    body:has(.floating-cart) {
        padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px));
    }

    body:has(.mobile-app-nav):has(.floating-cart) {
        padding-bottom: calc(168px + env(safe-area-inset-bottom, 0px));
    }
}

.mobile-app-nav__link:not(.mobile-app-nav__link--btn) {
    color: rgba(255, 255, 255, 0.68);
}

.mobile-app-nav__link:not(.mobile-app-nav__link--btn):hover,
.mobile-app-nav__link:not(.mobile-app-nav__link--btn):focus-visible {
    color: rgb(212, 175, 55);
    background-color: rgba(255, 255, 255, 0.07);
}

.mobile-app-nav__link--btn:not(.mobile-app-nav__link--active) {
    color: rgba(255, 255, 255, 0.68);
}

.mobile-app-nav__link--btn:not(.mobile-app-nav__link--active):hover,
.mobile-app-nav__link--btn:not(.mobile-app-nav__link--active):focus-visible {
    color: rgb(212, 175, 55);
}

.mobile-app-nav__link--active {
    background-color: rgba(212, 175, 55, 0.16);
    color: rgb(212, 175, 55);
}

.mobile-app-nav__link svg {
    color: inherit;
}

.video-hero {
    position: relative;
    overflow: hidden;
}

.video-hero::before {
    background:
        radial-gradient(circle at 18% 18%, rgba(212, 175, 55, 0.18), transparent 34%),
        radial-gradient(circle at 86% 10%, rgba(38, 54, 36, 0.18), transparent 32%);
    content: "";
    inset: 0;
    position: absolute;
}

.video-hero > div {
    position: relative;
}

.custom-video-player {
    aspect-ratio: 16 / 9;
    background: #05070d;
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 8px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
    overflow: hidden;
    position: relative;
}

.custom-video-player video {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.custom-video-player.has-user-played.is-playing .video-center-play {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.92);
}

.custom-video-player:not(.has-user-played) .video-controls {
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px);
}

.custom-video-player.has-user-played .video-controls {
    opacity: 1;
    transform: translateY(0);
}

.custom-video-player.has-user-played.controls-hidden .video-controls {
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px);
}

.video-center-play {
    align-items: center;
    background: rgba(212, 175, 55, 0.92);
    border-radius: 999px;
    color: #152116;
    display: flex;
    height: 76px;
    justify-content: center;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
    width: 76px;
    z-index: 2;
}

.video-center-play:hover {
    background: #fff;
}

.video-center-play svg {
    height: 34px;
    margin-left: 4px;
    width: 34px;
}

.video-play-hint {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 8px;
    color: #152116;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0;
    left: 50%;
    padding: 8px 14px;
    position: absolute;
    top: calc(50% + 52px);
    transform: translateX(-50%);
    z-index: 2;
}

.custom-video-player.has-user-played .video-play-hint {
    display: none;
}

.video-controls {
    align-items: center;
    background: linear-gradient(to top, rgba(5, 7, 13, 0.9), rgba(5, 7, 13, 0.34), transparent);
    bottom: 0;
    display: grid;
    gap: 14px;
    grid-template-columns: auto 1fr auto auto;
    left: 0;
    padding: 58px 18px 18px;
    position: absolute;
    right: 0;
    transition: opacity 180ms ease, transform 180ms ease;
    z-index: 3;
}

.video-controls button {
    align-items: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: #fff;
    display: flex;
    height: 42px;
    justify-content: center;
    transition: background 160ms ease, color 160ms ease;
    width: 42px;
}

.video-controls button:hover {
    background: #d4af37;
    color: #152116;
}

.video-controls svg {
    height: 19px;
    width: 19px;
}

.video-progress {
    align-items: center;
    display: grid;
    gap: 10px;
    grid-template-columns: auto 1fr auto;
}

.video-progress span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.78rem;
    font-weight: 800;
    min-width: 42px;
}

.video-progress input {
    accent-color: #d4af37;
    cursor: pointer;
    width: 100%;
}

.video-copy {
    margin-left: auto;
    margin-right: auto;
    max-width: 860px;
    text-align: center;
}

.video-copy .btn {
    min-width: 170px;
}

.desktop-nav-link {
    align-items: center;
    display: inline-flex;
    gap: 7px;
}

.desktop-nav-link svg {
    height: 16px;
    width: 16px;
    stroke-width: 2.2;
}

.stat-panel {
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.045);
    padding: 28px;
}

.stat-panel span {
    color: #d4af37;
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    margin-bottom: 24px;
}

.stat-panel strong {
    display: block;
    font-family: Georgia, serif;
    font-size: 1.65rem;
    line-height: 1.15;
    margin-bottom: 12px;
}

.stat-panel p {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.65;
}

.history-preview {
    position: relative;
    overflow: hidden;
}

.history-preview::before {
    background: radial-gradient(circle, rgba(212, 175, 55, 0.16), transparent 64%);
    content: "";
    height: 420px;
    position: absolute;
    right: -180px;
    top: 70px;
    width: 420px;
}

.history-preview-card {
    border-left: 5px solid #d4af37;
    background: #fffaf0;
    border-radius: 8px;
    box-shadow: 0 18px 38px rgba(16, 24, 39, 0.08);
    padding: 30px;
    position: relative;
}

.history-preview-card p {
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.85;
}

.history-preview-card p + p {
    margin-top: 18px;
}

.story-hero {
    background-image:
        linear-gradient(90deg, rgba(16, 24, 39, 0.92), rgba(16, 24, 39, 0.82)),
        url("../images/hero-evento.png");
    background-position: center;
    background-size: cover;
}

.story-timeline {
    position: relative;
    padding-left: 96px;
}

.story-timeline::before {
    background: linear-gradient(to bottom, #d4af37, rgba(212, 175, 55, 0.25));
    border-radius: 999px;
    bottom: 80px;
    content: "";
    left: 40px;
    position: absolute;
    top: 28px;
    width: 4px;
}

.story-item {
    margin-bottom: 46px;
    position: relative;
}

.story-year {
    align-items: center;
    background: #152116;
    border: 4px solid #d4af37;
    border-radius: 999px;
    box-shadow: 0 0 0 8px #fffaf0, 0 16px 28px rgba(16, 24, 39, 0.16);
    color: #fffaf0;
    display: flex;
    font-family: Georgia, serif;
    font-size: 1.12rem;
    font-weight: 700;
    height: 78px;
    justify-content: center;
    left: -95px;
    position: absolute;
    top: 0;
    width: 78px;
    z-index: 1;
}

.story-card {
    background: #fff;
    border: 1px solid rgba(38, 54, 36, 0.12);
    border-radius: 8px;
    box-shadow: 0 18px 38px rgba(16, 24, 39, 0.08);
    padding: 30px;
}

.story-card h2 {
    color: #263624;
    font-family: Georgia, serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    line-height: 1.1;
    margin-bottom: 14px;
}

.story-card p {
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.85;
}

.history-section {
    position: relative;
    overflow: hidden;
}

.history-section::before {
    background: radial-gradient(circle, rgba(212, 175, 55, 0.16), transparent 64%);
    content: "";
    height: 460px;
    position: absolute;
    right: -180px;
    top: 120px;
    width: 460px;
}

.history-intro {
    position: sticky;
    top: 110px;
}

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    background: linear-gradient(to bottom, #d4af37, rgba(212, 175, 55, 0.25));
    border-radius: 999px;
    content: "";
    left: 35px;
    position: absolute;
    top: 20px;
    bottom: 118px;
    width: 3px;
}

.timeline-item {
    display: grid;
    gap: 24px;
    grid-template-columns: 88px 1fr;
    margin-bottom: 34px;
    position: relative;
}

.timeline-marker {
    align-items: center;
    background: #152116;
    border: 4px solid #d4af37;
    border-radius: 999px;
    box-shadow: 0 0 0 8px #fff, 0 16px 28px rgba(16, 24, 39, 0.16);
    color: #fffaf0;
    display: flex;
    font-family: Georgia, serif;
    font-size: 1.1rem;
    font-weight: 700;
    height: 72px;
    justify-content: center;
    letter-spacing: 0;
    position: relative;
    width: 72px;
    z-index: 1;
}

.timeline-card {
    background: #fffaf0;
    border: 1px solid rgba(38, 54, 36, 0.12);
    border-radius: 8px;
    box-shadow: 0 18px 38px rgba(16, 24, 39, 0.08);
    padding: 24px;
}

.timeline-card span {
    color: #263624;
    display: block;
    font-family: Georgia, serif;
    font-size: 1.55rem;
    line-height: 1.2;
    margin-bottom: 12px;
}

.timeline-card p {
    color: #475569;
    line-height: 1.75;
}

.history-quote {
    background: #152116;
    border-radius: 8px;
    color: #fff;
    margin-left: 112px;
    padding: 30px;
    position: relative;
}

.history-quote::before {
    background: #d4af37;
    border-radius: 999px;
    box-shadow: 0 0 0 8px #fff;
    content: "";
    height: 18px;
    left: -86px;
    position: absolute;
    top: 34px;
    width: 18px;
}

.history-quote blockquote {
    font-family: Georgia, serif;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.05;
    margin: 0 0 18px;
}

.history-quote strong {
    color: #d4af37;
    display: block;
    font-size: 0.9rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 700ms ease, transform 700ms ease;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.cause-section {
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    position: relative;
    overflow: hidden;
}

.cause-section::before {
    background: radial-gradient(circle, rgba(38, 54, 36, 0.1), transparent 62%);
    content: "";
    height: 420px;
    left: -160px;
    position: absolute;
    top: 40px;
    width: 420px;
}

.cause-badge {
    align-items: center;
    background: #152116;
    border-radius: 8px;
    color: #fff;
    display: flex;
    gap: 18px;
    min-height: 220px;
    padding: 34px;
    position: relative;
    box-shadow: 0 20px 46px rgba(16, 24, 39, 0.16);
}

.cause-badge::after {
    background: #d4af37;
    bottom: 0;
    content: "";
    height: 5px;
    left: 0;
    position: absolute;
    width: 100%;
}

.cause-badge svg {
    background: rgba(212, 175, 55, 0.14);
    border: 1px solid rgba(212, 175, 55, 0.36);
    border-radius: 999px;
    color: #d4af37;
    height: 70px;
    padding: 16px;
    width: 70px;
}

.cause-badge span {
    font-family: Georgia, serif;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.05;
}

.event-card {
    aspect-ratio: 4 / 5;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background: #152116;
    box-shadow: 0 16px 36px rgba(16, 24, 39, 0.14);
}

.event-card img {
    filter: saturate(0.95);
    transform: scale(1.03);
    transition: transform 420ms ease, filter 420ms ease;
}

.event-card:nth-child(2) img {
    object-position: 58% center;
}

.event-card:nth-child(3) img {
    object-position: 70% center;
}

.event-card:hover img {
    filter: saturate(1.08);
    transform: scale(1.09);
}

.event-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(16, 24, 39, 0.86), rgba(16, 24, 39, 0.12) 58%, transparent);
}

.event-card__content {
    bottom: 0;
    left: 0;
    padding: 24px;
    position: absolute;
    right: 0;
    color: white;
}

.event-card__content span {
    color: #d4af37;
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.event-card__content h3 {
    font-family: Georgia, serif;
    font-size: 1.75rem;
    line-height: 1.15;
}

.number-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 250, 240, 0.98)),
        radial-gradient(circle at top right, rgba(212, 175, 55, 0.18), transparent 44%);
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(16, 24, 39, 0.1);
    padding: 28px;
    min-height: 210px;
    position: relative;
    overflow: hidden;
    transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.number-card::after {
    background: #d4af37;
    bottom: 0;
    content: "";
    height: 4px;
    left: 0;
    position: absolute;
    width: 100%;
}

.number-card:hover {
    border-color: rgba(38, 54, 36, 0.28);
    box-shadow: 0 26px 54px rgba(16, 24, 39, 0.16);
    transform: translateY(-5px);
}

.number-card svg {
    background: #152116;
    border-radius: 999px;
    color: #d4af37;
    height: 48px;
    margin-bottom: 34px;
    padding: 12px;
    width: 48px;
    stroke-width: 2;
}

.number-card strong {
    color: #152116;
    display: block;
    font-family: Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: clamp(2.15rem, 4vw, 3.35rem);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 0.98;
}

.number-card span {
    color: #263624;
    display: block;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1.35;
    margin-top: 18px;
    text-transform: uppercase;
}

.media-section {
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.media-logo {
    align-items: center;
    display: inline-flex;
    margin-bottom: 22px;
}

.media-logo img {
    height: 76px;
    object-fit: contain;
    width: 76px;
}

.media-player {
    box-shadow: 0 22px 52px rgba(16, 24, 39, 0.16);
}

.instagram-section {
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.instagram-embed-wrap {
    display: block;
    width: 100%;
}

.instagram-embed-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
    justify-items: center;
    width: 100%;
}

@media (min-width: 900px) {
    .instagram-embed-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }
}

@media (min-width: 1200px) {
    .instagram-embed-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.instagram-embed-grid__cell {
    align-self: start;
    display: flex;
    justify-content: center;
    min-width: 0;
    width: 100%;
}

@media (min-width: 900px) {
    .instagram-embed-grid__cell {
        min-height: 420px;
    }
}

.instagram-embed-wrap .instagram-media {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 540px !important;
    min-width: min(100%, 326px) !important;
    width: min(100%, 540px) !important;
}

.instagram-card {
    aspect-ratio: 1;
    background: #152116;
    border-radius: 8px;
    display: block;
    overflow: hidden;
    position: relative;
    box-shadow: 0 16px 36px rgba(16, 24, 39, 0.12);
}

.instagram-card img {
    height: 100%;
    object-fit: cover;
    opacity: 0.82;
    transition: transform 360ms ease, opacity 360ms ease;
    width: 100%;
}

.instagram-card:nth-child(2) img {
    padding: 18%;
    background: #fffaf0;
    object-fit: contain;
}

.instagram-card::after {
    background: linear-gradient(to top, rgba(16, 24, 39, 0.9), transparent 60%);
    content: "";
    inset: 0;
    position: absolute;
}

.instagram-card div {
    bottom: 0;
    color: white;
    left: 0;
    padding: 22px;
    position: absolute;
    right: 0;
    z-index: 1;
}

.instagram-card span {
    color: #d4af37;
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.instagram-card strong {
    display: block;
    font-family: Georgia, serif;
    font-size: 1.55rem;
    line-height: 1.1;
}

.instagram-card:hover img {
    opacity: 1;
    transform: scale(1.06);
}

@media (max-width: 640px) {
    .custom-video-player {
        aspect-ratio: 9 / 16;
    }

    .video-controls {
        gap: 10px;
        grid-template-columns: auto 1fr auto;
        padding: 54px 12px 12px;
    }

    .video-controls [data-video-fullscreen] {
        display: none;
    }

    .video-progress {
        gap: 7px;
    }

    .video-progress span {
        min-width: 34px;
        font-size: 0.68rem;
    }

    .video-center-play {
        height: 64px;
        width: 64px;
    }

    .history-preview-card {
        padding: 22px;
    }

    .story-timeline {
        padding-left: 72px;
    }

    .story-timeline::before {
        left: 31px;
    }

    .story-year {
        height: 62px;
        left: -72px;
        width: 62px;
        font-size: 0.95rem;
    }

    .story-card {
        padding: 22px;
    }

    .history-intro {
        position: static;
    }

    .timeline {
        margin-top: 26px;
        padding-left: 0;
    }

    .timeline::before {
        left: 35px;
        bottom: 156px;
    }

    .timeline-item {
        grid-template-columns: 72px 1fr;
        gap: 16px;
    }

    .timeline-marker {
        height: 64px;
        width: 64px;
        font-size: 1rem;
    }

    .timeline-card {
        padding: 18px;
    }

    .history-quote {
        margin-left: 80px;
        padding: 24px;
    }

    .history-quote::before {
        left: -52px;
    }

    .event-card {
        aspect-ratio: 16 / 11;
    }
}

.product-card {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(16, 24, 39, 0.1);
}

.store-hero {
    min-height: 560px;
    display: flex;
    align-items: center;
}

.store-summary {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    padding: 24px;
    backdrop-filter: blur(14px);
}

.store-summary strong {
    display: block;
    font-family: Georgia, serif;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.store-summary p {
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.7;
}

.store-summary span {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 12px 8px;
}

.store-summary b,
.store-summary small {
    display: block;
}

.store-summary b {
    color: #d4af37;
    font-size: 1rem;
}

.store-summary small {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-top: 3px;
    text-transform: uppercase;
}

.store-product {
    transition: border-color 200ms ease;
}

.store-product:hover {
    border-color: rgba(16, 185, 129, 0.38);
}

.product-visual {
    min-height: 300px;
    padding: 22px;
    position: relative;
    display: grid;
    place-items: center;
}

.product-visual .badge {
    position: absolute;
    left: 18px;
    top: 18px;
}

.size-options {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.size-options button {
    border: 1px solid rgba(15, 23, 42, 0.16);
    border-radius: 8px;
    background: #fff;
    color: #152116;
    font-size: 0.85rem;
    font-weight: 800;
    min-height: 42px;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.size-options button:hover,
.size-options button.is-selected {
    background: #152116;
    border-color: #152116;
    color: #fffaf0;
}

.product-visual--navy {
    background: linear-gradient(135deg, #152116, #2a3d2a);
}

.product-visual--wine {
    background: linear-gradient(135deg, #263624, #1a2418);
}

.product-visual--ivory {
    background: linear-gradient(135deg, #fffaf0, #d4af37);
}

.shirt-mockup {
    width: min(68%, 220px);
    aspect-ratio: 0.82;
    position: relative;
    display: grid;
    place-items: center;
    color: #d4af37;
    background: #111827;
    border-radius: 18px 18px 28px 28px;
    box-shadow: 0 26px 38px rgba(0, 0, 0, 0.22);
}

.product-visual--wine .shirt-mockup {
    background: #fffaf0;
    color: #263624;
}

.product-visual--ivory .shirt-mockup {
    background: #263624;
    color: #fffaf0;
}

.shirt-mockup::before,
.shirt-mockup::after {
    content: "";
    position: absolute;
    top: 34px;
    width: 62px;
    height: 92px;
    background: inherit;
    border-radius: 18px;
}

.shirt-mockup::before {
    left: -38px;
    transform: rotate(18deg);
}

.shirt-mockup::after {
    right: -38px;
    transform: rotate(-18deg);
}

.shirt-mockup strong {
    font-family: Georgia, serif;
    font-size: 3rem;
    letter-spacing: 0;
    line-height: 1;
    z-index: 1;
}

.shirt-mockup small {
    bottom: 52px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    position: absolute;
    z-index: 1;
}

.shirt-cross {
    position: absolute;
    top: 52px;
    width: 34px;
    height: 52px;
    z-index: 1;
}

.shirt-cross::before,
.shirt-cross::after {
    background: currentColor;
    content: "";
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}

.shirt-cross::before {
    width: 8px;
    height: 52px;
}

.shirt-cross::after {
    width: 34px;
    height: 8px;
}

.store-step {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    background: #fffaf0;
    padding: 22px;
}

.store-step strong {
    display: block;
    font-family: Georgia, serif;
    font-size: 1.45rem;
    margin-bottom: 10px;
}

.store-step p {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.65;
}

.cart-panel {
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    transition: opacity 220ms ease;
    z-index: 80;
}

.cart-panel.is-open {
    opacity: 1;
    pointer-events: auto;
}

.cart-backdrop {
    background: rgba(16, 24, 39, 0.56);
    inset: 0;
    position: absolute;
}

.cart-drawer {
    background: #fffaf0;
    box-shadow: -26px 0 60px rgba(16, 24, 39, 0.22);
    display: flex;
    flex-direction: column;
    height: 100%;
    max-width: 460px;
    overflow-y: auto;
    padding: 24px;
    position: absolute;
    right: 0;
    top: 0;
    transform: translateX(100%);
    transition: transform 260ms ease;
    width: min(100%, 460px);
}

.cart-panel.is-open .cart-drawer {
    transform: translateX(0);
}

.cart-head {
    align-items: start;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 22px;
}

.cart-items {
    display: grid;
    gap: 12px;
}

.empty-cart {
    border: 1px dashed rgba(15, 23, 42, 0.18);
    border-radius: 8px;
    color: #64748b;
    padding: 24px;
    text-align: center;
}

.cart-line {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    display: grid;
    gap: 12px;
    grid-template-columns: 52px 1fr auto;
    padding: 12px;
}

.cart-thumb {
    align-items: center;
    background: #152116;
    border-radius: 8px;
    color: #d4af37;
    display: flex;
    font-family: Georgia, serif;
    font-weight: 700;
    height: 52px;
    justify-content: center;
    width: 52px;
}

.cart-thumb--wine {
    background: #263624;
    color: #fffaf0;
}

.cart-thumb--ivory {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.12);
    color: #263624;
}

.cart-line h3 {
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.25;
}

.cart-line p {
    color: #64748b;
    font-size: 0.78rem;
    margin-top: 3px;
}

.cart-qty {
    align-items: center;
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.cart-qty button {
    align-items: center;
    background: #152116;
    border-radius: 999px;
    color: #fff;
    display: flex;
    font-weight: 800;
    height: 26px;
    justify-content: center;
    width: 26px;
}

.cart-qty span {
    font-size: 0.9rem;
    font-weight: 800;
    min-width: 18px;
    text-align: center;
}

.cart-totals {
    border-top: 1px solid rgba(15, 23, 42, 0.1);
    display: grid;
    gap: 10px;
    margin-top: 22px;
    padding-top: 18px;
}

.cart-totals div {
    align-items: center;
    color: #475569;
    display: flex;
    justify-content: space-between;
}

.cart-totals strong {
    color: #152116;
}

.cart-totals .cart-total {
    color: #152116;
    font-size: 1.12rem;
    font-weight: 800;
}

.checkout-box {
    background: #fff;
    border: 1px solid rgba(38, 54, 36, 0.12);
    border-radius: 8px;
    margin-top: 22px;
    padding: 18px;
}

.payment-options {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.payment-options button {
    align-items: center;
    border: 1px solid rgba(15, 23, 42, 0.14);
    border-radius: 8px;
    background: #fffaf0;
    color: #263624;
    display: flex;
    gap: 12px;
    padding: 14px;
    text-align: left;
    transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.payment-options button:hover,
.payment-options button.is-selected {
    background: #fff;
    border-color: #d4af37;
    box-shadow: 0 10px 24px rgba(16, 24, 39, 0.08);
}

.payment-options svg {
    flex: 0 0 auto;
    height: 28px;
    width: 28px;
}

.payment-options strong,
.payment-options span,
.payment-options small {
    display: block;
}

.payment-options strong {
    color: #152116;
    font-size: 0.98rem;
}

.payment-options small {
    color: #64748b;
    font-size: 0.78rem;
    margin-top: 4px;
}

body.cart-locked {
    overflow: hidden;
}

.floating-cart {
    align-items: center;
    background: #152116;
    border: 1px solid rgba(212, 175, 55, 0.34);
    border-radius: 8px;
    bottom: 18px;
    box-shadow: 0 18px 48px rgba(16, 24, 39, 0.28);
    color: #fff;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    left: 50%;
    max-width: 720px;
    padding: 14px 14px 14px 18px;
    position: fixed;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    z-index: 60;
}

.floating-cart strong {
    display: block;
    font-size: 1rem;
    margin-top: 2px;
}

@media (max-width: 640px) {
    .store-hero {
        min-height: auto;
    }

    .cart-drawer {
        padding: 18px;
    }

    .cart-line {
        grid-template-columns: 46px 1fr;
    }

    .cart-qty {
        grid-column: 2;
        justify-content: flex-start;
    }

    .floating-cart {
        bottom: max(18px, env(safe-area-inset-bottom, 0px));
        gap: 12px;
        padding: 12px;
    }

    .floating-cart .btn {
        min-height: 42px;
        padding-left: 14px;
        padding-right: 14px;
    }
}

@media (max-width: 1023px) {
    body:has(.mobile-app-nav) .floating-cart {
        bottom: calc(66px + max(12px, env(safe-area-inset-bottom, 0px)));
    }
}

/* ── Página do produto (loja): galeria e opções estilo marketplace ── */
.product-gallery-nav {
    align-items: center;
    display: flex;
    inset: 0;
    justify-content: space-between;
    padding: 0 10px;
    pointer-events: none;
    position: absolute;
    z-index: 20;
}

.product-gallery-btn {
    align-items: center;
    background: rgba(15, 23, 42, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 9999px;
    box-shadow: none;
    color: #fff;
    display: inline-flex;
    height: 2.75rem;
    justify-content: center;
    pointer-events: auto;
    transition: background 0.15s ease, transform 0.15s ease;
    width: 2.75rem;
}

.product-gallery-btn:hover {
    background: rgba(15, 23, 42, 0.88);
    box-shadow: none;
    transform: scale(1.04);
}

.product-gallery-btn:focus-visible {
    outline: 2px solid #34d399;
    outline-offset: 2px;
}

.product-gallery-btn-icon {
    display: block;
    height: 1.25rem;
    width: 1.25rem;
}

.product-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.product-option {
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    color: #334155;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.2;
    min-height: 2.75rem;
    min-width: 2.75rem;
    padding: 0.5rem 1rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.product-option:hover:not(:disabled) {
    border-color: rgba(5, 150, 105, 0.45);
    color: #047857;
}

.product-option.is-selected {
    background: #059669;
    border-color: #059669;
    box-shadow: none;
    color: #fff;
}

.product-option:disabled {
    cursor: not-allowed;
    opacity: 0.42;
    text-decoration: line-through;
}

.product-buy-row {
    align-items: stretch;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

/* No mobile o flex-col estica os filhos: quantidade só ocupa o conteúdo */
.product-buy-row .product-qty-box {
    align-self: flex-start;
}

.product-buy-row .product-cta-primary {
    width: 100%;
}

@media (min-width: 480px) {
    .product-buy-row {
        align-items: center;
        flex-direction: row;
    }

    .product-buy-row .product-qty-box {
        align-self: center;
    }

    .product-buy-row .product-cta-primary {
        flex: 1 1 auto;
        min-width: 0;
        width: auto;
    }
}

.product-qty-box {
    align-items: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    display: inline-flex;
    flex-shrink: 0;
    height: 2.75rem;
    padding: 0 0.25rem;
    width: fit-content;
}

.product-cta-primary {
    align-items: center;
    background: #059669;
    border: 0;
    border-radius: 10px;
    box-shadow: none;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    flex: 1;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    gap: 0.5rem;
    justify-content: center;
    line-height: 1.2;
    min-height: 2.75rem;
    padding: 0.5rem 1.1rem;
    transition: background 0.15s ease, filter 0.15s ease;
}

.product-cta-primary:hover:not(:disabled) {
    background: #047857;
    filter: none;
}

.product-cta-primary:focus-visible {
    outline: 2px solid #34d399;
    outline-offset: 2px;
}

.product-cta-primary:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.product-qty-step {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 8px;
    color: #475569;
    cursor: pointer;
    display: inline-flex;
    height: 2.25rem;
    justify-content: center;
    transition: background 0.12s ease, color 0.12s ease;
    width: 2.25rem;
}

.product-qty-step:hover:not(:disabled) {
    background: rgba(5, 150, 105, 0.1);
    color: #047857;
}

.product-qty-step:disabled {
    color: #cbd5e1;
    cursor: default;
    opacity: 1;
}

.product-qty-step-icon {
    display: block;
    height: 1rem;
    width: 1rem;
}

.product-cart-softlink {
    align-items: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    color: #475569;
    display: inline-flex;
    font-size: 0.875rem;
    font-weight: 600;
    gap: 0.5rem;
    justify-content: center;
    line-height: 1.25;
    min-height: 2.75rem;
    padding: 0.5rem 1.1rem;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
    width: 100%;
}

@media (min-width: 480px) {
    .product-cart-softlink {
        width: auto;
    }
}

.product-cart-softlink:hover {
    background: #f0fdf4;
    border-color: rgba(5, 150, 105, 0.35);
    color: #047857;
}

.product-cart-softlink-icon {
    flex-shrink: 0;
    height: 1.125rem;
    width: 1.125rem;
}

.product-cart-softlink-badge {
    align-items: center;
    background: #059669;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 0.7rem;
    font-weight: 700;
    justify-content: center;
    min-width: 1.35rem;
    padding: 0.1rem 0.4rem;
}

/* ── Cards da loja: ações sem corte de texto / hover claro ── */
.store-product-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

@media (min-width: 420px) {
    .store-product-actions {
        align-items: stretch;
        display: grid;
        gap: 0.5rem;
        grid-template-columns: 1fr 1fr;
    }
}

.store-product-actions__form {
    display: block;
    margin: 0;
    width: 100%;
}

.store-product-actions__secondary {
    align-items: center;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    color: #334155;
    display: inline-flex;
    font-size: 0.75rem;
    font-weight: 700;
    justify-content: center;
    line-height: 1.25;
    min-height: 2.75rem;
    padding: 0.5rem 0.65rem;
    text-align: center;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.store-product-actions__secondary:hover {
    background: #ecfdf5;
    border-color: #6ee7b7;
    color: #047857;
}

.store-product-actions__primary {
    align-items: center;
    border: 0;
    border-radius: 0.5rem;
    box-sizing: border-box;
    cursor: pointer;
    display: inline-flex;
    flex-wrap: wrap;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 700;
    gap: 0.35rem;
    justify-content: center;
    line-height: 1.25;
    min-height: 2.75rem;
    min-width: 0;
    padding: 0.5rem 0.5rem;
    text-align: center;
    text-decoration: none;
    transition: background 0.15s ease, filter 0.15s ease;
    width: 100%;
}

.store-product-actions__primary.is-in-stock {
    background: #059669;
    color: #fff;
}

.store-product-actions__primary.is-in-stock:hover {
    background: #047857;
    color: #fff;
}

.store-product-actions__primary.is-muted {
    background: #fff;
    border: 1px solid #cbd5e1;
    color: #64748b;
    cursor: pointer;
}

.store-product-actions__primary.is-muted:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #475569;
}

.store-product-actions__primary:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.store-product-actions__label {
    hyphens: auto;
    min-width: 0;
    overflow-wrap: anywhere;
}

.store-product-actions__submit {
    width: 100%;
}

/* ── Carrinho público (estilo marketplace) ── */
.cart-page {
    padding-bottom: 2.5rem;
}

.cart-page-head {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .cart-page-head {
        align-items: center;
        flex-direction: row;
        justify-content: space-between;
    }
}

.cart-page-continue {
    color: #047857;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.cart-page-continue:hover {
    text-decoration: underline;
}

.cart-line {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    display: grid;
    gap: 1rem;
    grid-template-columns: 4.5rem 1fr;
    padding: 1rem;
}

@media (min-width: 640px) {
    .cart-line {
        align-items: center;
        gap: 1.25rem;
        grid-template-columns: 5rem 1fr auto;
    }
}

.cart-line__thumb {
    align-self: start;
    aspect-ratio: 1;
    background: #f1f5f9;
    border-radius: 10px;
    display: block;
    grid-column: 1;
    grid-row: 1 / span 2;
    overflow: hidden;
}

@media (min-width: 640px) {
    .cart-line__thumb {
        grid-column: 1;
        grid-row: 1;
    }
}

.cart-line__thumb img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.cart-line__thumb-placeholder {
    background: linear-gradient(145deg, #f1f5f9, #e2e8f0);
    display: block;
    height: 100%;
    min-height: 4.25rem;
    width: 100%;
}

.cart-line__main {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
}

.cart-line__title {
    color: #152116;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
}

.cart-line__title:hover {
    color: #047857;
}

.cart-line__variant {
    align-self: flex-start;
    background: #f1f5f9;
    border-radius: 999px;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.65rem;
}

.cart-line__unit {
    color: #64748b;
    font-size: 0.8125rem;
}

.cart-line__actions {
    align-items: flex-end;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    grid-column: 2;
    grid-row: 2;
}

@media (min-width: 640px) {
    .cart-line__actions {
        grid-column: 3;
        grid-row: 1;
        min-width: 10rem;
    }
}

.cart-line__line-total {
    color: #152116;
    font-size: 1rem;
    font-weight: 700;
}

.cart-line__qty {
    align-items: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    display: inline-flex;
    height: 2.5rem;
    padding: 0 0.15rem;
}

.cart-line__qty-num {
    color: #152116;
    font-size: 0.9375rem;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    min-width: 2rem;
    text-align: center;
}

.cart-qty-form {
    display: inline;
    margin: 0;
}

.cart-qty-step {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 8px;
    color: #475569;
    cursor: pointer;
    display: inline-flex;
    height: 2.25rem;
    justify-content: center;
    padding: 0;
    transition: background 0.12s ease, color 0.12s ease;
    width: 2.25rem;
}

.cart-qty-step:hover:not(:disabled) {
    background: rgba(5, 150, 105, 0.1);
    color: #047857;
}

.cart-qty-step:disabled {
    color: #e2e8f0;
    cursor: default;
}

.cart-qty-step-icon {
    display: block;
    height: 1rem;
    width: 1rem;
}

.cart-line__remove {
    background: none;
    border: 0;
    color: #94a3b8;
    cursor: pointer;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.15rem 0;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cart-line__remove:hover {
    color: #b91c1c;
}

.cart-summary-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-top: 1.5rem;
    padding: 1.25rem 1.35rem;
}

.cart-summary-total-row {
    align-items: baseline;
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 1rem;
}

.cart-checkout-btn {
    align-items: center;
    background: #059669;
    border: 0;
    border-radius: 10px;
    box-shadow: none;
    color: #fff;
    display: inline-flex;
    font-size: 1rem;
    font-weight: 700;
    justify-content: center;
    margin-top: 1.25rem;
    min-height: 3rem;
    padding: 0.75rem 1.25rem;
    text-decoration: none;
    transition: background 0.15s ease, box-shadow 0.15s ease;
    width: 100%;
}

.cart-checkout-btn:hover:not(.is-disabled) {
    background: #047857;
    box-shadow: none;
    color: #fff;
}

.cart-checkout-btn.is-disabled {
    box-shadow: none;
    cursor: not-allowed;
    opacity: 0.45;
    pointer-events: none;
}

/* ── Checkout público ── */
/* Tamanho fixo: em flex o min-width:auto do item fazia a foto crescer ao tamanho real da imagem */
.checkout-summary-line__thumb {
    aspect-ratio: 1;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    flex-shrink: 0;
    height: 2.75rem;
    max-height: 2.75rem;
    max-width: 2.75rem;
    min-height: 2.75rem;
    min-width: 2.75rem;
    overflow: hidden;
    width: 2.75rem;
}

.checkout-summary-line__thumb img {
    display: block;
    height: 100%;
    max-height: 100%;
    max-width: 100%;
    object-fit: cover;
    width: 100%;
}

.checkout-summary-line__thumb-placeholder {
    align-items: center;
    color: #94a3b8;
    display: flex;
    height: 100%;
    justify-content: center;
    width: 100%;
}

/* Adicionais do evento no resumo — distinto da caixa de produto sem foto */
.checkout-summary-line__thumb--addon-extras {
    background: #eef2ff;
    border-color: #c7d2fe;
}

.checkout-summary-line__thumb--addon-extras .checkout-summary-line__thumb-placeholder {
    color: #4f46e5;
}

/* Depoimentos: corações flutuantes (estilo Instagram) ao curtir */
.testimonial-like-float-heart {
    animation: testimonial-like-float-heart 1.1s ease-out forwards;
    color: #e11d48;
    filter: drop-shadow(0 1px 2px rgb(0 0 0 / 12%));
    height: 22px;
    pointer-events: none;
    position: fixed;
    width: 22px;
    z-index: 10050;
}

.testimonial-like-float-heart svg {
    display: block;
    height: 100%;
    width: 100%;
}

@keyframes testimonial-like-float-heart {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) rotate(var(--fl-r0, 0deg)) scale(var(--fl-s0, 0.55));
    }
    16% {
        opacity: 1;
        transform: translate(-50%, -50%) rotate(var(--fl-r0, 0deg)) scale(var(--fl-smid, 1));
    }
    100% {
        opacity: 0;
        transform: translate(calc(-50% + var(--fl-dx, 0px)), calc(-50% + var(--fl-lift, -110px) + var(--fl-drift-y, 0px)))
            rotate(var(--fl-r1, 10deg))
            scale(0.28);
    }
}

.testimonial-like-btn {
    position: relative;
    transform-origin: center;
}

.testimonial-like-btn--anim {
    animation: testimonial-like-btn-pop 0.38s cubic-bezier(0.34, 1.45, 0.64, 1);
}

.testimonial-like-btn__icon-wrap {
    transform-origin: center;
}

.testimonial-like-btn--anim .testimonial-like-btn__count {
    animation: testimonial-like-count 0.4s ease-out;
}

@keyframes testimonial-like-btn-pop {
    0% {
        transform: scale(1);
    }
    40% {
        transform: scale(1.08);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes testimonial-like-count {
    0%,
    100% {
        transform: translateY(0);
    }
    35% {
        transform: translateY(-3px);
    }
    60% {
        transform: translateY(1px);
    }
}

.checkout-input.input,
.checkout-input.textarea,
.checkout-input.select {
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.checkout-input.input:hover,
.checkout-input.textarea:hover,
.checkout-input.select:hover {
    border-color: rgba(16, 185, 129, 0.38);
}

.checkout-input.input:focus,
.checkout-input.textarea:focus,
.checkout-input.select:focus {
    border-color: rgba(5, 150, 105, 0.65);
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.18);
    outline: none;
}

.checkout-pay-card .peer:checked + .checkout-pay-card-inner {
    box-shadow: 0 0 0 1px rgba(5, 150, 105, 0.15);
}

/* Modal público «enviar depoimento» — foco verde suave */
.testimonial-depoimento-form .input.input-bordered,
.testimonial-depoimento-form .textarea.textarea-bordered {
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.testimonial-depoimento-form .input.input-bordered:hover,
.testimonial-depoimento-form .textarea.textarea-bordered:hover {
    border-color: rgb(215 219 226);
}

.testimonial-depoimento-form .input.input-bordered:focus,
.testimonial-depoimento-form .textarea.textarea-bordered:focus {
    border-color: rgb(82 155 120);
    box-shadow: 0 0 0 2px rgba(45, 122, 95, 0.2);
    outline: none;
}

/* Inscrição em evento + aviso «Quero participar» — foco verde suave */
#modalInscricaoEvento .input.input-bordered,
#modalQueroParticipar .input.input-bordered {
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

#modalInscricaoEvento .input.input-bordered:hover,
#modalQueroParticipar .input.input-bordered:hover {
    border-color: rgb(215 219 226);
}

#modalInscricaoEvento .input.input-bordered:focus,
#modalInscricaoEvento .input.input-bordered:focus-visible,
#modalQueroParticipar .input.input-bordered:focus,
#modalQueroParticipar .input.input-bordered:focus-visible {
    border-color: rgb(82 155 120);
    box-shadow: 0 0 0 2px rgba(45, 122, 95, 0.22);
    outline: none;
}

/* Toast global (fetch carrinho / depoimentos) */
.app-toast {
    background: #152116;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(16, 24, 39, 0.28);
    color: #fffaf0;
    font-size: 0.9rem;
    font-weight: 600;
    left: 50%;
    max-width: min(92vw, 22rem);
    opacity: 0;
    padding: 0.85rem 1.25rem;
    pointer-events: none;
    position: fixed;
    bottom: 1.25rem;
    transform: translate(-50%, 12px);
    transition: opacity 0.22s ease, transform 0.22s ease;
    z-index: 200;
}

.app-toast--visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.app-toast--ok {
    background: linear-gradient(135deg, #047857, #065f46);
}

.app-toast--err {
    background: linear-gradient(135deg, #263624, #152116);
}

/* ── Login / cadastro público (auth_*.php — verde · dourado, CTA legível sobre DaisyUI .btn) */
.auth-public-login {
    background: linear-gradient(
        165deg,
        rgb(220 245 230) 0%,
        rgb(255 250 240) 46%,
        rgb(252 246 223) 100%
    );
}

.auth-public-login .auth-public-login__logo {
    background-color: #263624 !important;
    color: #fff !important;
    box-shadow:
        0 12px 32px rgba(38, 54, 36, 0.28),
        0 0 0 2px rgba(212, 175, 55, 0.45);
}

.auth-public-login .auth-public-login__gold-rule {
    height: 2px;
    width: 3rem;
    margin: 0.4rem auto 0;
    border-radius: 9999px;
    background: linear-gradient(90deg, transparent, rgb(212 175 55), transparent);
}

.auth-public-login .auth-public-login__card {
    border-top: 3px solid rgb(212 175 55);
    box-shadow:
        0 24px 56px rgba(38, 54, 36, 0.11),
        0 0 0 1px rgba(38, 54, 36, 0.07);
}

.auth-public-login .auth-public-login__submit.btn {
    background-color: #263624 !important;
    color: #fff !important;
    border-width: 0 !important;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 10px 28px rgba(38, 54, 36, 0.28);
    transition:
        background-color 0.15s ease,
        box-shadow 0.15s ease,
        transform 0.15s ease;
}

.auth-public-login .auth-public-login__submit.btn:hover {
    background-color: #152116 !important;
    box-shadow: 0 14px 36px rgba(38, 54, 36, 0.35);
}

.auth-public-login .auth-public-login__submit.btn:active {
    transform: scale(0.99);
}

.auth-public-login .auth-public-login__secondary.btn.btn-outline {
    border-color: rgba(38, 54, 36, 0.38) !important;
    color: #263624 !important;
    background-color: #fff !important;
    font-weight: 600;
}

.auth-public-login .auth-public-login__secondary.btn.btn-outline:hover {
    background-color: rgb(236 253 243) !important;
    border-color: rgba(38, 54, 36, 0.55) !important;
}

.auth-public-login input.input-bordered:focus,
.auth-public-login input.input-bordered:focus-visible {
    border-color: rgb(82 155 120);
    outline: none;
    box-shadow: 0 0 0 2px rgba(45, 122, 95, 0.2);
}

/* ── Botão CTA (nav): ouro sólido; brilho e sombra só no hover ── */
.btn-cta-gold {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 0 !important;
    border-radius: 10px;
    padding: 0.52rem 1.15rem;
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    color: #152116;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    user-select: none;
    background: linear-gradient(135deg, #fff1a8 0%, #f0c84a 28%, #d4af37 55%, #b88b18 100%);
    box-shadow: none;
    transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}
.btn-cta-gold::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 10px;
    z-index: 1;
    background: linear-gradient(110deg, transparent 28%, rgba(255, 255, 255, 0.74) 48%, transparent 68%);
    transform: translateX(-130%);
    transition: transform 0.72s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}
.btn-cta-gold:hover::after {
    transform: translateX(130%);
}
.btn-cta-gold::before {
    display: none;
}
.btn-cta-gold > .btn-gold-content {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.btn-cta-gold:hover {
    box-shadow: 0 16px 36px rgba(212, 175, 55, 0.48);
    filter: saturate(1.08);
    transform: translateY(-1px);
}
.btn-cta-gold:active {
    transform: scale(0.98);
}
.btn-cta-gold:disabled {
    pointer-events: none;
    opacity: 0.65;
    color: #7e7e7e;
    background: #dcdcdc;
    box-shadow: none;
}
.btn-cta-gold:disabled::after {
    display: none;
}
.btn-cta-gold:disabled::before {
    display: none;
}
.btn-cta-gold svg, .btn-cta-gold [data-lucide] { flex-shrink: 0; }
@media (prefers-reduced-motion: reduce) {
    .btn-cta-gold:hover::after {
        transform: translateX(-130%);
    }
}

/* Foco global nos formulários públicos — verde suave (evita accent primary avermelhado do DaisyUI) */
.input.input-bordered:focus,
.input.input-bordered:focus-within,
.input.input-bordered:focus-visible,
.textarea.textarea-bordered:focus,
.textarea.textarea-bordered:focus-visible,
.select.select-bordered:focus,
.select.select-bordered:focus-visible {
    border-color: rgb(82 155 120);
    box-shadow: 0 0 0 2px rgba(45, 122, 95, 0.22);
    outline: none;
}

.checkbox:focus-visible {
    outline: 2px solid rgba(45, 122, 95, 0.42);
    outline-offset: 2px;
}

/* ── Celular / touch: menos custo de pintura (blur, animações longas) ───────── */
@media (max-width: 767px) {
    #site-public-header {
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    nav.mobile-app-nav {
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .reveal-on-scroll {
        transition-duration: 380ms;
        transition-timing-function: ease-out;
    }

    .custom-video-player {
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
    }

    .video-hero::before {
        opacity: 0.75;
    }

    button.home-photo-carousel__btn {
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
    }

    .btn-cta-gold::after {
        display: none;
    }

    .btn-cta-gold:hover {
        filter: none;
        transform: none;
    }
}

/* Acessibilidade: usuário pediu menos movimento no sistema */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto !important;
    }

    .reveal-on-scroll {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .testimonial-like-float-heart {
        animation: none !important;
        opacity: 0.95;
        transform: translate(-50%, -50%) scale(1);
    }

    .testimonial-like-btn--anim {
        animation: none !important;
    }

    .testimonial-like-btn--anim .testimonial-like-btn__count {
        animation: none !important;
    }

    .btn-cta-gold::after {
        display: none !important;
    }

    .btn-hero-cta::after {
        display: none !important;
    }
}
