@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/DM-Sans/dm-sans-v17-latin-regular.woff2') format('woff2');
}
@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/DM-Sans/dm-sans-v17-latin-500.woff2') format('woff2');
}
@font-face {
    font-family: 'DM Sans';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('fonts/DM-Sans/dm-sans-v17-latin-800.woff2') format('woff2');
}
:root {
    --red: #BE0000;
    --bg: #fff;
    --text: #111;
    --muted: #6f6f6f;
    --card: #fff;
    --line: #eaeaea;
    --shadow: 0 12px 30px rgba(0, 0, 0, .06);
    --glass: rgba(255, 255, 255, .6);
    --radius: 16px;
    font-family: 'DM Sans', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, 'Noto Sans', sans-serif;
}

/* Dark */
html.dark {
    --bg: #0b0b0b;
    --text: #e9e9e9;
    --muted: #9a9a9a;
    --card: #141414;
    --line: #262626;
    --shadow: 0 14px 40px rgba(0, 0, 0, .45);
    --glass: rgba(25, 25, 25, .45);
}

/* Global */
* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
}

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

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

.container h2 {
    text-align:center;
}

.row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.small {
    font-size: .9rem;
}

.muted {
    color: var(--muted);
}

.plain {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Header - Apple style */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, .65);
    border-bottom: 1px solid rgba(255, 255, 255, .25);
    z-index: 2000;
    transition: background .25s;
}

html.dark .site-header {
    background: rgba(10, 10, 10, .55);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.header-row {
    height: 70px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
}

.brand-mark {
    width: 24px;
    height: 24px;
    object-fit: contain;
    /* filter: grayscale(1); */
}

.header-cta {
    display: flex;
    gap: 10px;
}

.nav-toggle {
    display: none;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #000000ad;
    padding: 8px;
    color: #ffffff;
}

.theme-btn {
    margin-left: 8px;
    border: 1px solid var(--line);
    background: #000000ad;
    border-radius: 10px;
    padding: 8px;
    cursor: pointer;
}

/* Buttons */
.btn {
    border-radius: 14px;
    padding: 14px 22px;
    font-weight: 700;
    backdrop-filter: blur(6px);
    transition: .2s;
}

.btn.primary {
    background: var(--red);
    color: #fff;
    box-shadow: 0 10px 22px rgba(190, 0, 0, .28);
    border: 0;
}

.btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(190, 0, 0, .35);
}

.btn.ghost {
    border: 1px solid rgb(0 0 0 / 100%);
    color: var(--text-color, #000000);
}

html.dark .btn.ghost {
    background: rgba(25, 25, 25, .45);
    color: var(--text-color, #fff);
}
html.dark .nav-toggle {
    color:#FFF;
    background: #262626;
}
html.dark .theme-btn {
    color:#FFF;
    background: #262626;
}

.btn.lg {
    padding: 12px 18px;
    border-radius: 14px;
}

/* Hero */
.hero {
    display: grid;
    grid-template-columns: 1.05fr 1.15fr; /*1.05fr .95fr*/
    gap: 40px;
    align-items: center;
    padding: 95px 0 40px;
}

@media(max-width:960px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 110px;
    }
    .btn.ghost.whatsapp {
        display: none !important;
    }
}

@media(min-width:960px) {
    .btn.ghost.telemovel {
        display: none !important;
    }
}

.badge {
    display: inline-block;
    background: rgba(190, 0, 0, .09);
    color: var(--red);
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 800;
    font-size: .86rem;
}

.hero h1 {
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 14px;
    letter-spacing: -.5px;
}

.lead {
    color: var(--muted);
    font-size: 1.05rem;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.hero-media .media-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--card);
    border: 1px solid var(--line);
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Features list */
.features-list {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 28px;
	align-items: center;
	margin-top: 30px;
	padding: 0;

	/* ✅ forçar alinhamento à esquerda */
	justify-content: flex-start;
	text-align: left;
}
.features-list li {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 6px;
	font-weight: 500;
	color: var(--muted);
	font-size: 0.95rem;
}
.features-list svg {
	margin-top: 1px;
}

/* Animation checks */
.check-anim {
    opacity: 0;
    transform: scale(.7) translateY(4px);
    animation: checkPop .55s forwards cubic-bezier(.25, .9, .25, 1);
}

.features-list li:nth-child(1) {
    animation-delay: .05s;
}

.features-list li:nth-child(2) {
    animation-delay: .18s;
}

.features-list li:nth-child(3) {
    animation-delay: .31s;
}

@keyframes checkPop {
    0% {
        opacity: 0;
        transform: scale(.7) translateY(4px);
    }

    60% {
        opacity: 1;
        transform: scale(1.05);
    }

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

/* Sections */
.section {
    padding: 44px 0;
}

.features,
.services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

@media(max-width:960px) {

    .features,
    .services {
        grid-template-columns: 1fr 1fr;
    }
}

/* Card */
.card {
    background: var(--card);
    border: 1px solid var(--line);
    padding: 18px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: .25s cubic-bezier(.25, .9, .25, 1);
}

.card:hover {
    transform: translateY(-6px) scale(1.015);
    box-shadow: 0 22px 50px rgba(0, 0, 0, .12);
}

.icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    margin-bottom: 14px;
}

.card svg {
    transition: .35s;
}

.card:hover svg {
    transform: translateY(-3px);
    stroke-width: 2.3;
}

/* Quick Form Home */
.quick-form {
    background: var(--card);
    border: 1px solid var(--line);
    padding: 22px;
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.quick-form .form-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.quick-form .form-group {
    flex: 1;
}

.quick-form .alt-cta {
    text-align: center;
    font-size: .9rem;
    margin-top: 10px;
}
/* No mobile fica 1 campo por linha */
@media (max-width: 600px) {
    .quick-form .form-row.grid {
        display: grid;
        grid-template-columns: 1fr !important;
    }
}
.input,
textarea,
select,
number {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--bg);
    color: var(--text);
    font-size: 16px;
}
/* Textarea same style as inputs */
textarea.input {
    resize: vertical;
    min-height: 85px;
}

/* Make textarea full width even in desktop */
.textarea-row {
    grid-template-columns: 1fr !important;
}
label[for]:has(+ .input[required])::after,
label:has(+ input[required])::after,
label:has(+ select[required])::after,
label:has(+ textarea[required])::after {
    content:" *";
    color:#d90000; /* vermelho ECNOMUDA */
    font-weight:700;
}
/* Slider */
.quote-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

@media(max-width:960px) {
    .quote-wrap {
        grid-template-columns: 1fr;
    }
}

.quote-slider {
    position: relative;
    width: 100%;
    max-width: 520px;
    height: 420px;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: var(--card);
    box-shadow: var(--shadow);
    z-index: 1;
}

@media(max-width:960px) {
    .quote-slider {
        height: 300px;
        max-width: 100%;
    }
}

/* ===== Slider (Apple blur background) ===== */
.qs-slides {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Fundo desfocado usa a variável --bg definida em JS */
.qs-slides::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  filter: blur(18px) saturate(1.05) brightness(.9);
  transform: scale(1.1);
  z-index: 1;
  pointer-events: none;
}

/* Imagem nítida por cima do blur */
.qs-slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;          /* mostra a imagem toda sem cortar */
  opacity: 0;
  transition: opacity .6s ease;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
}

.qs-slides img.show {
  opacity: 1;
  pointer-events: auto;
}

/* Dots acima do blur e das imagens */
.qs-dots-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  display: flex;
  justify-content: center;
  z-index: 5;
}


.qs-dots {
    display: flex;
    gap: 6px;
}

.qs-dots button {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    border: 0;
    cursor: pointer;
    background: rgba(0, 0, 0, .25);
    transition: .25s;
}

.qs-dots button.active {
    width: 22px;
    border-radius: 8px;
    background: var(--red);
}

html.dark .qs-dots button {
    background: rgba(255, 255, 255, .35);
}

/* Fade-in + Scroll reveal */
.fade-in {
    opacity: 0;
    transform: translateY(12px);
    transition: .5s;
}

.fade-in.in {
    opacity: 1;
    transform: none;
}

.reveal {
    opacity: 0;
    transform: translateY(20px) scale(.98);
    transition: .6s;
}

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

.menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    backdrop-filter: blur(10px);
    z-index: 900;
}

/* Active link */
.main-nav {
    display: flex;
    gap: 2px;
    align-items: center;
}

.main-nav a {
    padding: 10px 12px;
    font-weight: 600;
    border-radius: 12px;
}

.main-nav a.cta {
    background: var(--red);
    color: #fff;
}
.main-nav a.active {
    color: var(--red);
    font-weight: 800;
    position: relative;
}
.main-nav a:not(.cta) {
    transition: .2s;
}
.main-nav a:not(.cta):hover {
    color: var(--red);
}
.cta {
    transition: .2s;
}
.cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(190, 0, 0, .35);
}

.main-nav a.active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 6px;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: var(--red);
    border-radius: 2px;
}
/* Nav mobile */
@media(max-width:960px) {
    .main-nav {
        display: none;
        position: fixed;
        top: 64px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: var(--bg);
        border-bottom: 1px solid var(--line);
        padding: 12px 0;
        z-index: 1000;
    }

    .main-nav a {
        padding: 14px;
        text-align: center;
        border-bottom: 1px solid var(--line);
    }

    .nav-toggle {
        display: inline-block;
    }

    .main-nav a.cta {
        display: none;
    }
}
/* --- NAV DROPDOWN (ECNOMUDA STYLE) --- */
.nav-dropbtn {
    all: unset; /* remove todos os estilos padrão do <button> */
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 12px;
    border-radius: 12px;
    font-weight: 600;
    font-family: inherit;
    font-size: inherit;
    color: var(--text-color, #111);
    cursor: pointer;
    line-height: 1.4;
    transition: color .2s, background .2s;
}
.dark .nav-dropbtn { color: #fff; }

.nav-dropbtn::after {
    content: "▾";
    font-size: .7em;
    opacity: .7;
    transition: transform .2s;
}
.nav-dropdown.open .nav-dropbtn::after {
    transform: rotate(180deg);
}

.nav-dropbtn:hover {
    color: var(--red);
    background: rgba(190,0,0,0.05);
}
/* --- FOOTER ECNOMUDA PREMIUM + SCROLL REVEAL --- */
.site-footer {
    margin-top: 60px;
    padding: 55px 0 20px;
    background: linear-gradient(
        rgba(255,255,255,0.55),
        rgba(255,255,255,0.40)
    );
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    overflow: hidden;

    opacity: 0;
    transform: translateY(22px) scale(.985);
    filter: blur(8px);
    transition:
        opacity .7s cubic-bezier(.25,.9,.25,1),
        transform .75s cubic-bezier(.25,.9,.25,1),
        filter .55s ease;
}

html.dark .site-footer {
    background: linear-gradient(
        rgba(20,20,20,.65),
        rgba(15,15,15,.5)
    );
    border-top: 1px solid rgba(255,255,255,0.08);
}

.site-footer.reveal-footer {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;   /* centra horizontalmente */
    text-align: center;
    gap: 10px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 48px;
}

.footer-logo {
    width: 48px;
    margin-bottom: 12px;
    margin: 0 auto;
    transition: transform .3s ease;
}
.footer-logo:hover {
    transform: scale(1.06);
}
.footer-about {
    font-size: 0.95rem;
    line-height: 1.55;
    max-width: 260px;
    text-align: left;
}

.footer-social {
    margin-top: 14px;
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card);
    border: 1px solid var(--line);
    transition: all .25s ease;
}

.footer-social a:hover {
    background: var(--red);
    border-color: var(--red);
    transform: translateY(-3px);
}

.footer-social svg {
    width: 18px;
    height: 18px;
    stroke: var(--text);
}

.footer-block h4 {
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 1rem;
}

.footer-block ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-block li {
    margin-bottom: 8px;
}

.footer-block a {
    transition: all .2s ease;
    padding-bottom: 2px;
    font-weight: 500;
    border-bottom: 2px solid transparent;
}

.footer-block a:hover {
    color: var(--red);
    border-color: var(--red);
}

/* Footer bottom */
.footer-bottom {
    margin-top: 40px;
    padding-top: 14px;
    text-align: center;
    font-size: .85rem;
    color: var(--muted);
    border-top: 1px solid var(--line);
}

/* Mobile */
@media (max-width: 850px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }
    .footer-about { margin: 0 auto; }
    .footer-logo { margin: 0 auto 12px; }
    .footer-social { justify-content: center; }
}

/* ✅ Mobile bottom bar (reinstaurado estilo original) */
.mobile-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 62px;
    background: #000000bd;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 14px;
    gap: 10px;
    z-index: 2000;
    box-shadow: 0 -6px 16px rgba(0,0,0,0.18);
    backdrop-filter: blur(10px);
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}

.mobile-bar .mb-item {
    flex: 1;
    background: rgb(0 0 0 / 15%);
    color: #fff;
    font-weight: 700;
    text-align: center;
    padding: 10px 0;
    border-radius: 14px;
    font-size: 0.95rem;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.35);
    transition: all .2s ease;
}

.mobile-bar .mb-item:hover {
    background: rgba(255,255,255,0.28);
    transform: translateY(-2px);
}

/* ✅ Esconder mobile bar no desktop */
@media (min-width: 961px) {
    .mobile-bar {
        display: none;
    }
}

/* Reviews + Map (Apple-style) */
.reviews-map {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 32px;
    align-items: start;
}

.review-hero {
    position: relative;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 14px;
    overflow: hidden;
    height: 367px;
}
.review-hero.expanded {
    height: auto !important;
    overflow: visible !important;
}
.review-hero.expanded .review-cards {
    position: static !important;
    height: auto !important;
}

.review-hero.expanded .review-card {
    position: static !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}
.review-hero.expanded .review-card:not(.expanded) {
    display: none !important;
}
.review-cards {
    position: relative;
    min-height: 90%;
}

.review-card {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,.65), rgba(255,255,255,.45));
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 10px;
    opacity: 0;
    transform: translateY(10px) scale(.985);
    filter: blur(6px);
    transition: opacity .5s cubic-bezier(.25,.9,.25,1),
                transform .55s cubic-bezier(.25,.9,.25,1),
                filter .45s ease;
    overflow: visible !important; /* evita corte */
    height: auto !important;      /* deixa crescer */
    max-height: none !important;
}

.review-card:not(.active) {
    pointer-events: none;
    opacity: 0;
    height: 0;
    overflow: hidden;
}
html.dark .review-card {
    background: linear-gradient(180deg, rgba(20,20,20,.65), rgba(15,15,15,.5));
}

.review-card.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}
.review-card.expanded {
    position: relative !important;
    inset: auto !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

.review-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    flex: 0 0 42px;
}

.review-name {
    font-weight: 800;
    font-size: .98rem;
    letter-spacing: -.2px;
    border: none !important;
}
.review-name::after {
    content: none !important;
}


.review-stars {
    color: #FFD700;
    font-size: .92rem;
    line-height: 1;
}

.review-text {
    color: var(--text);
    opacity: .95;
    overflow: hidden;
    transition: max-height 0.35s ease;
    height: auto;
    display: block;
    white-space: normal !important;
}

.read-more-btn {
    border: none;
    background: none;
    color: var(--accent, #BE0000);
    font-weight: 600;
    cursor: pointer;
    padding: 4px 0;
    display: inline-block;
    font-size: 14px;
}

.read-more-btn:hover {
    text-decoration: underline;
}

.review-meta {
    color: var(--muted);
    font-size: .85rem;
}

.review-dots {
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}

.review-dots button {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    border: 0;
    background: rgba(0,0,0,.25);
    cursor: pointer;
    transition: all .25s ease;
}

.review-slider-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 25px;
}

.review-slider-button {
    padding: 14px 26px;
    border: none;
    border-radius: 12px;
    background: #e50000;
    color: #fff;
    font-weight: 600;
    transition: .25s ease;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(229,0,0,0.25);
}

.review-slider-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(229,0,0,0.35);
}

.review-count {
    font-size: 14px;
    opacity: .75;
    display: flex;
    align-items: center;
    gap: 6px;
}


html.dark .review-dots button { background: rgba(255,255,255,.35); }
.review-dots button.active {
    width: 22px;
    border-radius: 8px;
    background: var(--red);
}

/* Map card */
.map-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.map-address {
    margin-top: 10px;
    color: var(--muted);
    font-size: .95rem;
}

/* Responsive */
@media (max-width: 960px) {
    .reviews-map {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .review-cards { min-height: 200px; }
}
html.dark #mapEmbed {
    filter: invert(90%) hue-rotate(180deg) brightness(0.95);
}
/* DROPDOWN */
/* --- ECNOMUDA NAV DROPDOWN FINAL (100% visível + hover fix) --- */
.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    z-index: 3001; /* força acima do header */
}

.nav-dropbtn {
    all: unset;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 12px;
    border-radius: 12px;
    font-weight: 600;
    font-family: inherit;
    font-size: inherit;
    color: var(--text-color, #111);
    cursor: pointer;
    line-height: 1.4;
    transition: color .2s, background .2s;
    position: relative;
    z-index: 3002; /* garante que o botão fica acima */
}
.dark .nav-dropbtn { color: #fff; }

.nav-dropbtn::after {
    content: "▾";
    font-size: .7em;
    opacity: .7;
    transition: transform .25s ease;
}

.nav-dropbtn:hover,
.nav-dropdown:hover .nav-dropbtn {
    color: var(--red);
    background: rgba(190,0,0,0.05);
}

.nav-dropdown.open .nav-dropbtn::after,
.nav-dropdown:hover .nav-dropbtn::after {
    transform: rotate(180deg);
}

/* Corpo do dropdown */
.nav-dropdown-content {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(-4px);
    background: var(--bg-elevated, #fff);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
    padding: 6px 0;
    min-width: 220px;
    z-index: 3000;
    transition: opacity .22s ease, transform .22s ease;
    pointer-events: none; /* impede cliques quando invisível */
}
.dark .nav-dropdown-content {
    background: rgba(25,25,25,.96);
    box-shadow: 0 8px 24px rgba(0,0,0,.4);
}

/* Mostrar no hover (desktop) */
@media (hover: hover) and (pointer: fine) {
    .nav-dropdown:hover .nav-dropdown-content,
    .nav-dropdown:focus-within .nav-dropdown-content {
        visibility: visible;
        opacity: 1;
        transform: translateX(-50%) translateY(0);
        pointer-events: auto;
    }
}

/* Mostrar quando aberto (mobile via .open) */
.nav-dropdown.open .nav-dropdown-content {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

/* Links internos */
.nav-dropdown-content a {
    display: block;
    padding: 10px 16px;
    font-size: .95rem;
    font-weight: 500;
    color: var(--text-color, #111);
    text-decoration: none;
    transition: color .2s, background .2s;
}
.dark .nav-dropdown-content a { color: #fff; }

.nav-dropdown-content a:hover {
    color: var(--red);
    background: rgba(190,0,0,0.06);
}

/* Área segura entre botão e dropdown */
.nav-dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 12px;
    background: transparent;
}

/* --- Mobile (abre por clique) --- */
@media (max-width: 768px) {
    .nav-dropdown {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .nav-dropbtn {
        width: 100%;
        justify-content: space-between;
        padding: 14px;
    }

    .nav-dropbtn::after {
        content: "▸";
        transform: none !important;
    }

    .nav-dropdown-content {
        position: static;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        background: none;
        visibility: visible;
        opacity: 1;
        padding-left: 20px;
        transition: none;
        display: none;
        pointer-events: auto;
    }

    .nav-dropdown.open .nav-dropdown-content {
        display: block;
    }

    .nav-dropdown.open .nav-dropbtn::after {
        transform: rotate(90deg) !important;
    }
}

/* Seta decorativa */
.nav-dropdown-content::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid var(--bg-elevated, #fff);
}
.dark .nav-dropdown-content::before {
    border-bottom-color: rgba(25,25,25,.96);
}
img[loading="lazy"] {
    content-visibility: auto;
    contain-intrinsic-size: 300px auto;
}

.snowstorm {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

/* Flocos */
.flakeStorm {
    position: fixed;
    top: -40px;
    color: white;
    opacity: 0.9;
    user-select: none;
    animation-name: stormFall;
    animation-timing-function: linear;
    animation-iteration-count: 1;
}

/* Animação da queda — lenta + drift horizontal */
@keyframes stormFall {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    50% {
        transform: translateY(50vh) translateX(-10px) rotate(90deg);
    }
    100% {
        transform: translateY(120vh) translateX(10px) rotate(180deg);
    }
}
