body {
    background: radial-gradient(circle at 10% 15%, rgba(255, 255, 255, 0.95), rgba(205, 226, 245, 0.6) 45%, transparent 60%),
                radial-gradient(circle at 85% 20%, rgba(160, 200, 235, 0.5), rgba(255, 255, 255, 0.35) 55%, transparent 65%),
                radial-gradient(circle at 30% 85%, rgba(120, 170, 225, 0.55), transparent 60%),
                linear-gradient(140deg, #f9fbff 0%, #d8e8f9 35%, #f3f8ff 60%, #c8dbf3 100%);
    background-size: 320% 320%;
    animation: gradientBG 70s ease-in-out infinite;
    overflow-x: hidden;
    position: relative;
}

.video-bg {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -2;
    opacity: 1;
    transition: opacity 600ms ease;
    overflow: hidden;
    pointer-events: none;
}

.video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(15px) saturate(1.1) contrast(1.05) brightness(1.05);
    transform: scale(1.04);
}

.video-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, rgba(250, 253, 255, 0.7) 0%, rgba(210, 230, 250, 0.55) 35%, rgba(245, 249, 255, 0.6) 60%, rgba(195, 215, 235, 0.5) 100%);
    mix-blend-mode: screen;
    pointer-events: none;
}

@keyframes gradientBG {
    0% { background-position: 0% 40%; }
    33% { background-position: 60% 20%; }
    66% { background-position: 90% 70%; }
    100% { background-position: 0% 40%; }
}

.glass-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.62), rgba(200, 213, 228, 0.68) 45%, rgba(245, 248, 252, 0.72));
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 20px 45px 0 rgba(8, 16, 24, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.ice-border {
    border-top: 1px solid rgba(255, 255, 255, 0.85);
    border-left: 1px solid rgba(255, 255, 255, 0.7);
}

.chrome-panel {
    background: linear-gradient(120deg, rgba(230, 238, 246, 0.92), rgba(185, 198, 214, 0.7) 45%, rgba(242, 247, 252, 0.88));
    border-top: 1px solid rgba(255, 255, 255, 0.75);
    border-bottom: 1px solid rgba(160, 175, 190, 0.6);
}

/* Header cromado e opaco (mobile + desktop) */
header {
    background: linear-gradient(120deg, rgba(230, 238, 246, 0.98), rgba(185, 198, 214, 0.95) 45%, rgba(242, 247, 252, 0.98)) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: 1px solid rgba(160, 175, 190, 0.6) !important;
    box-shadow: 0 18px 40px -18px rgba(8, 16, 24, 0.25) !important;
}

/* Dropdown do menu com o mesmo estilo cromado e opaco */
#mobile-menu .glass-card {
    background: linear-gradient(120deg, rgba(230, 238, 246, 0.98), rgba(185, 198, 214, 0.95) 45%, rgba(242, 247, 252, 0.98));
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-top: 1px solid rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(160, 175, 190, 0.6);
    border-left: 1px solid rgba(255, 255, 255, 0.65);
    border-right: 1px solid rgba(160, 175, 190, 0.35);
    box-shadow: 0 18px 36px rgba(8, 16, 24, 0.18);
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.faq-answer {
    text-align: center;
    color: #000;
    font-weight: 800;
    font-size: 18px;
    line-height: 1.45;
}

.hero-float {
    animation: heroFloat 6s ease-in-out infinite;
}

.hero-title {
    text-shadow: 0 8px 30px rgba(8,16,24,0.06);
    letter-spacing: -0.01em;
}

.hero-panel {
    max-width: 880px;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(255,255,255,0.78), rgba(235,244,250,0.72));
    border-radius: 28px;
    padding: 2.5rem;
    box-shadow: 0 30px 60px rgba(6,22,30,0.18), inset 0 1px 0 rgba(255,255,255,0.6);
    border: 1px solid rgba(255,255,255,0.65);
    backdrop-filter: blur(20px) saturate(1.05);
}

.hero-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
    padding: 0.5rem 0;
}

.hero-mobile-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    background: rgba(13, 31, 36, 0.08);
    color: #0d1f24;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.hero-mobile-title {
    font-size: 2.2rem;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0;
}

.hero-mobile-copy {
    font-size: 1rem;
    line-height: 1.6;
    color: #4a5562;
    max-width: 28rem;
    margin: 0;
}

.hero-mobile-image {
    width: min(320px, 90vw);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(6, 22, 30, 0.15);
}

.hero-mobile-image img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-ctas.hero-ctas-mobile {
    width: 100%;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0.75rem;
}

.hero-ctas.hero-ctas-mobile button {
    flex: 0 0 auto;
    width: auto;
    padding: 0.55rem 0.9rem;
    font-size: 0.85rem;
    line-height: 1.1rem;
}

.hero-scroll-hint {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #4a5562;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}

#hero {
    position: relative;
    overflow: visible;
}

#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('resources/hero.png');
    background-size: cover;
    background-position: right 12px top -80px;
    background-repeat: no-repeat;
    z-index: 0;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, black 68%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 68%, transparent 100%);
}

#hero .hero-panel {
    margin-left: 0;
    margin-right: auto;
    max-width: 560px;
    position: relative;
    z-index: 10;
}

@media (max-width: 768px) {
    #hero .hero-panel { margin-left: auto; margin-right: auto; max-width: 92%; }
    #hero::before {
        content: none;
    }

    #hero::before {
        -webkit-mask-image: linear-gradient(to bottom, black 58%, transparent 100%);
        mask-image: linear-gradient(to bottom, black 58%, transparent 100%);
        background-position: center;
    }
}

.hero-panel .lead { max-width: 680px; margin: 0 auto; }
.hero-ctas { display:flex; gap:1rem; justify-content:center; margin-top:1rem; }
.hero-ctas .btn-primary { background: linear-gradient(180deg,#0ea5a4,#0b8b88); color:white; box-shadow: 0 8px 30px rgba(6,22,30,0.12); }
.hero-ctas .btn-outline { background: transparent; border: 1.5px solid rgba(255,255,255,0.6); color: #064e4d; }

.text-cta {
    color: #0ea5a4;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.freshenss-border-dot {
    animation: alternateBubble 4s ease-in-out infinite;
}

@keyframes alternateBubble {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(15px); }
}

.foam-canvas {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    pointer-events: none;
    z-index: 60;
}

.faq-summary {
    list-style: none;
}

.faq-summary::-webkit-details-marker {
    display: none;
}

.faq-chevron {
    transition: transform 0.3s ease;
}

.input-error {
    background: #fee2e2 !important;
    border-color: #f87171 !important;
    color: #7f1d1d;
}

.input-error::placeholder {
    color: #b91c1c;
}

details[open] .faq-chevron {
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    .glass-card {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: 0 10px 20px rgba(8, 16, 24, 0.12);
    }

    .video-bg video {
        filter: blur(6px) contrast(1) brightness(1);
        transform: scale(1.02);
    }

    .hero-float {
        animation: none;
    }

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

    .reveal-on-scroll.active {
        opacity: 1;
        transform: none;
    }

    body {
        background-size: 220% 220%;
    }

    .mobile-carousel {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 0 0.5rem 0.75rem;
        gap: 0.75rem;
        touch-action: pan-x pan-y;
    }

    .mobile-carousel::-webkit-scrollbar {
        display: none;
    }

    .mobile-carousel > * {
        flex: 0 0 78%;
        max-width: 78%;
        scroll-snap-align: center;
        scroll-snap-stop: always;
    }

    .video-bg {
        opacity: 0.9;
    }

    #hero {
        min-height: auto;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    #hero .hero-panel {
        padding: 0.85rem;
    }

    #hero .hero-panel .inline-block {
        margin-bottom: 0.75rem;
    }

    #hero .hero-panel h1 .block {
        font-size: 2rem;
        line-height: 1.05;
    }

    #hero .hero-panel p {
        font-size: 1rem;
        line-height: 1.5;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-ctas.hero-ctas-mobile {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
    }

    .hero-ctas button,
    .hero-ctas a {
        width: 100%;
    }

    section {
        padding-top: 3.25rem !important;
        padding-bottom: 3.25rem !important;
        scroll-margin-top: 5rem;
    }

    .chrome-panel {
        padding: 0.6rem;
    }

    .glass-card {
        border-radius: 1rem;
    }

    .glass-card.ice-border {
        box-shadow: 0 12px 26px rgba(8, 16, 24, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.45);
    }

    .faq-answer {
        font-size: 16px;
    }

    .foam-canvas {
        height: 140px;
    }

    #contact .grid,
    #location .grid {
        gap: 1.5rem;
    }

    #contact-form {
        padding: 0.9rem;
    }

    #contact-form button {
        width: 100%;
    }

    #contact .flex.items-center.gap-3 {
        align-items: flex-start;
    }

    #contact .space-y-4,
    #location .grid.grid-cols-2 {
        gap: 0.75rem;
    }

    #location .absolute.left-4.top-4 {
        left: 0.75rem;
        right: 0.75rem;
        top: 0.75rem;
        font-size: 0.8rem;
        line-height: 1.3;
        text-align: center;
    }

    footer .flex.items-center.justify-between {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    header nav {
        gap: 0.75rem;
    }

    header nav > button {
        padding-left: 1rem;
        padding-right: 1rem;
        font-size: 0.75rem;
        line-height: 1rem;
        white-space: nowrap;
    }
}

@media (max-width: 640px) {
    .hero-title {
        margin-bottom: 0.75rem;
    }

    #hero .hero-panel h1 .block {
        font-size: 1.7rem;
        line-height: 1.05;
    }

    .hero-panel .lead {
        max-width: 100%;
    }

    .hero-panel .lead,
    #contact p,
    #location p,
    .faq-answer,
    .text-body-lg,
    .text-body-md {
        line-height: 1.6;
    }

    #services .glass-card,
    #pricing .glass-card,
    #how-it-works .glass-card,
    #contact form {
        border-radius: 1rem;
    }

    #services .glass-card,
    #pricing .glass-card,
    #how-it-works .glass-card {
        padding: 0.7rem;
    }

    .mobile-carousel > * .glass-card {
        height: 100%;
    }

    #services .glass-card h3,
    #pricing .glass-card h3,
    #how-it-works .glass-card h4 {
        margin-bottom: 0.35rem;
    }

    #services .glass-card p,
    #pricing .glass-card p,
    #how-it-works .glass-card p {
        line-height: 1.4;
        font-size: 0.95rem;
    }

    #services .glass-card .text-3xl,
    #pricing .glass-card .text-3xl,
    #how-it-works .glass-card .text-4xl {
        font-size: 1.4rem;
    }

    #services .glass-card .w-14.h-14,
    #pricing .glass-card .w-14.h-14,
    #how-it-works .glass-card .w-14.h-14 {
        width: 2.75rem;
        height: 2.75rem;
    }

    #services .glass-card .gap-6,
    #pricing .glass-card .gap-6,
    #how-it-works .glass-card .gap-6 {
        gap: 0.75rem;
    }

/* Torna o dropdown do cabeçalho (menu mobile) opaco, sem blur/transparência */
#mobile-menu .glass-card {
    background: #e8edf3; /* mesmo tom de `surface` definido no tailwind config */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid rgba(13,31,36,0.06);
    box-shadow: 0 12px 26px rgba(8,16,24,0.12);
}

    .mobile-carousel > * {
        min-height: 100%;
    }

    #services h2,
    #pricing h2,
    #how-it-works h2,
    #contact h2,
    #location h2,
    #faq h2 {
        text-wrap: balance;
        font-size: 1.9rem;
        line-height: 1.05;
    }

    #services .glass-card h3,
    #pricing .glass-card h3,
    #how-it-works .glass-card h4,
    #contact h2 + p {
        font-size: 1rem;
    }

    #pricing .glass-card .text-4xl {
        font-size: 1.7rem;
        line-height: 1.1;
    }

    #services .glass-card .text-4xl,
    #how-it-works .glass-card .text-4xl {
        font-size: 1.35rem;
        line-height: 1.1;
    }

    #services .glass-card .text-3xl,
    #pricing .glass-card .text-3xl,
    #how-it-works .glass-card .text-3xl {
        font-size: 1.2rem;
    }

    #contact .mt-8.flex.gap-4 {
        width: 100%;
    }

    #contact .mt-8.flex.gap-4 a {
        width: 100%;
        text-align: center;
    }
}