/* ============================================
   EcoCity LifeStyle — Design System
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: 'FontAwesome';
    src: url('../fonts/Fill-600.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

:root {

    color-scheme: light dark;

    /* Brand */
    --green-900: #1a3c1a;
    --green-700: light-dark(#2d5a27, #171715);
    --green-500: #4a8c3f;
    --green-200: #bcf0ae;
    --green-100: #e8f5e6;

    --terracotta-700: #b85a30;
    --terracotta-500: #c76d44;
    --terracotta-200: #f5d5c4;

    --cream: light-dark(#f5f5dc, #9A6136);
    --cream-light:  light-dark(#fbfbe2, #AB7743);
    --cream-white: light-dark(#fffdf5, #AB7743); ;

    /* Neutrals */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500:light-dark(#6b7280, #ffffff);
    --gray-600: light-dark(#4b5563, #ffffff);
    --gray-700: light-dark(#374151, #ffffff);
    --gray-800: #1f2937;
    --gray-900: light-dark(#111827, #0B0A0B);

    /* Semantic */
    --text: var(--gray-900);
    --text-secondary: var(--gray-500);
    --bg: var(--cream-white);
    --bg-alt: var(--cream);
    --border: var(--gray-200);

    /* Gradient */
    --gradient-hero:light-dark(linear-gradient(135deg, #fdf6e3 0%, #fef9ef 30%, #e8f5e6 60%, #f5e6d8 100%), linear-gradient(135deg, #9A6136 0%, #AB7743 30%, #9A6136 60%, #AB7743 100%));
    --gradient-primary: linear-gradient(135deg, var(--green-700), var(--green-500));
    --gradient-text: light-dark(linear-gradient(135deg, var(--green-700), var(--terracotta-500)), linear-gradient(135deg, #FFDCA9 0%, #B9F39A 100%));
    --gradient-glow: radial-gradient(ellipse at center, rgba(200, 230, 180, 0.3) 0%, transparent 70%);
    
    /* Typography */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'SF Mono', 'Fira Code', monospace;
    --font-ico: 'FontAwesome', sans-serif;

    /* Spacing */
    --container: 1280px;
    --gutter: 24px;

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

[data-theme="dark"] {
    color-scheme: dark;
}

[data-theme="light"] {
    color-scheme: light;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

.heart{
    color: var(--green-700);
}

.tunder{
    color-scheme: light;
    color: var(--gray-500);
}

.icon{
    font-family: var(--font-ico);
    font-style: normal;
    font-weight: normal;
    speak: none;
    display: inline-block;
    text-decoration: inherit;
    width: 1em;
    margin-right: 0.2em;
    text-align: center;
    /* opacity: 0.8; */
}

img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Container --- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* --- Typography --- */
.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-intro-gradient {
    background: light-dark(linear-gradient(135deg, #f59e0b 0%, #ea580c 50%, #fbbf24 100%), linear-gradient(135deg, #FFC24B 0%, #FF7A3D 45%, #FFB03A 100%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-sub-gradient {
    background: light-dark(linear-gradient(135deg, var(--gray-600) 0%, var(--terracotta-700) 100%), linear-gradient(135deg, #FFFFFF 0%, #FFC46B 100%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Header / Navigation --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    background: light-dark(rgba(255, 253, 245, 0.95), rgba(30, 30, 30, 0.95));
    transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.scrolled {
    background: light-dark(rgba(255, 253, 245, 0.85), rgba(30, 30, 30, 0.85));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
}

.logo-icon {
    font-size: 28px;
    line-height: 1;
}

.logo-text strong {
    font-weight: 700;
    color: var(--green-700);
}

.logo-text span {
    font-weight: 400;
    color: var(--terracotta-500);
}

.logo-svg {
    flex-shrink: 0;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-list a {
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-600);
    transition: color 0.2s var(--ease);
    position: relative;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: light-dark(var(--green-500), var(--green-200));
    transform: scaleX(0);
    transition: transform 0.2s var(--ease);
}

.nav-list a:hover,
.nav-list a.active {
    color: light-dark(var(--green-700), var(--green-200));
}

.nav-list a:hover::after,
.nav-list a.active::after {
    transform: scaleX(1);
}

.nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: transform 0.2s var(--ease);
}

/* --- Theme Toggle --- */
.theme-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 58px;
    height: 32px;
    padding: 0 8px;
    border: 1px solid var(--border);
    background: light-dark(var(--gray-100), var(--gray-800));
    border-radius: 999px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.theme-toggle:hover {
    border-color: var(--green-500);
}

.theme-toggle:focus-visible {
    outline: 2px solid var(--green-500);
    outline-offset: 2px;
}

.theme-toggle__icon {
    width: 16px;
    height: 16px;
    z-index: 1;
    color: light-dark(var(--terracotta-500), var(--gray-400));
    opacity: 0.4;
    transition: color 0.3s var(--ease), opacity 0.3s var(--ease);
}

.theme-toggle__icon--moon {
    color: light-dark(var(--gray-400), #FFC46B);
}

[data-theme="light"] .theme-toggle__icon--sun {
    opacity: 1;
}

[data-theme="dark"] .theme-toggle__icon--moon {
    opacity: 1;
}

.theme-toggle__thumb {
    position: absolute;
    top: 4px;
    left: 3px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: light-dark(#ffffff, var(--green-500));
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s var(--ease);
}

[data-theme="dark"] .theme-toggle__thumb {
    transform: translateX(26px);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font);
    font-weight: 600;
    font-size: 15px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s var(--ease);
    text-decoration: none;
    padding: 12px 24px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-primary {
    background: var(--green-700);
    color: white;
}

.btn-primary:hover {
    background: var(--green-900);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(45, 90, 39, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--gray-700);
    border: 2px solid var(--gray-200);
}

.btn-secondary:hover {
    border-color: var(--gray-300);
    background: var(--gray-50);
}

.btn-arrow {
    transition: transform 0.2s var(--ease);
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    z-index: 0;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: var(--gradient-glow);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite alternate;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-40px, 30px) scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(45, 90, 39, 0.08);
    color: var(--green-700);
    font-size: 14px;
    font-weight: 600;
    border-radius: 100px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    color: var(--gray-900);
}

.hero-subtitle {
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.6;
    color: var(--gray-500);
    margin-bottom: 40px;
    max-width: 560px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* --- Section Shared --- */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--green-100);
    color: var(--green-700);
    font-size: 13px;
    font-weight: 600;
    border-radius: 100px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-header h2 {
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.section-header p {
    font-size: 18px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* --- Features --- */
.features {
    background: var(--bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.feature-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    transition: all 0.3s var(--ease);
}

.feature-card:hover {
    border-color: var(--green-200);
    box-shadow: 0 8px 24px rgba(45, 90, 39, 0.08);
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 16px;
    line-height: 1;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-card p {
    color-scheme: light;
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* --- About --- */
.about {
    background: var(--bg-alt);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-content h2 {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.about-content p {
    font-size: 17px;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 16px;
}

.about-content .btn {
    margin-top: 12px;
}

.about-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.about-glow {
    width: 300px;
    height: 300px;
    background: var(--gradient-glow);
    border-radius: 50%;
}

.about-stats {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--green-700);
}

.stat-label {
    font-size: 14px;
    color: var(--gray-500);
}

/* --- CTA --- */
.cta {
    background: var(--green-700);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.cta p {
    font-size: 18px;
    opacity: 0.85;
    margin-bottom: 32px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.cta .btn-primary {
    background: white;
    color: var(--green-700);
}

.cta .btn-primary:hover {
    background: var(--cream);
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
}

/* --- Page Hero (inner pages) --- */
.page-hero {
    padding: 160px 0 60px;
    background: var(--gradient-hero);
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.page-hero-sub {
    font-size: 18px;
    color: var(--gray-500);
    max-width: 560px;
    margin: 0 auto;
}

.page-hero-sub a {
    color: var(--green-700);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* --- About Detail --- */
.about-detail {
    background-image: url('../bg/fundo.png');
    /* Impede que a imagem fique se repetindo caso seja menor que a tela */
        background-repeat: no-repeat;
        /* Centraliza a imagem na horizontal e na vertical */
        background-position: center;
        /* Faz a imagem cobrir todo o espaço disponível, adaptando o tamanho */
        background-size: cover;
}

.about-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.about-detail-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
}

.about-detail-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--green-700);
    margin-bottom: 12px;
}

.about-detail-card p {
    color-scheme: light;
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* --- Contact Section --- */
.contact-section {
    background: var(--bg);
}

.contact-form {
    max-width: 560px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font);
    font-size: 15px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    background: white;
    color: var(--text);
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--green-500);
    box-shadow: 0 0 0 3px rgba(74, 140, 63, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* --- Alerts --- */
.alert {
    max-width: 560px;
    margin: 0 auto 24px;
    padding: 16px 20px;
    border-radius: 8px;
    font-size: 15px;
}

.alert-success {
    background: var(--green-100);
    color: var(--green-700);
    border: 1px solid var(--green-200);
}

.alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-error ul {
    padding-left: 20px;
    list-style: disc;
}

.alert-error li {
    margin-bottom: 4px;
}

/* --- Footer --- */
.site-footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--gray-700);
    margin-bottom: 24px;
}

.footer-brand .logo-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 12px;
}

.footer-tagline {
    font-size: 15px;
    color: var(--gray-400);
    line-height: 1.6;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-400);
    margin-bottom: 16px;
}

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

.footer-links a {
    color: var(--gray-300);
    font-size: 15px;
    transition: color 0.2s var(--ease);
}

.footer-links a:hover {
    color: white;
}

.footer-contact p {
    font-size: 15px;
}

.footer-contact a {
    color: var(--green-200);
    transition: color 0.2s var(--ease);
}

.footer-contact a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: var(--gray-500);
}

/* --- Mobile --- */
@media (max-width: 768px) {
    .nav {
        gap: 16px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--cream-white);
        flex-direction: column;
        padding: 16px;
        gap: 16px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 12px 12px;
    }

    .nav-list.open {
        display: flex;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    section {
        padding: 64px 0;
    }

    .page-hero {
        padding: 120px 0 40px;
    }
}

/* --- Logos Mosaic (Pure CSS Columns Masonry) --- */
.logos-gallery {
    padding: 60px 0 120px;
    background: var(--bg);
}

.logos-mosaic {
    column-count: 4;
    column-gap: 24px;
    width: 100%;
    margin: 0 auto;
}

.logos-mosaic__item {
    display: inline-block;
    width: 100%;
    margin-bottom: 24px;
    break-inside: avoid;
    box-sizing: border-box;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.logos-mosaic__item:hover {
    transform: translateY(-6px);
    border-color: var(--green-500);
    box-shadow: 0 12px 28px rgba(45, 90, 39, 0.08);
}

.logos-mosaic__item:active {
    transform: translateY(-2px);
}

.logos-mosaic__img-wrap {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: var(--cream-white);
    position: relative;
    overflow: hidden;
}

.logos-mosaic__img-wrap img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.logos-mosaic__item:hover .logos-mosaic__img-wrap img {
    transform: scale(1.03);
}

.logos-mosaic__label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    padding: 14px 16px;
    line-height: 1.4;
    word-break: break-word;
    text-align: left;
    background: #ffffff;
    border-top: 1px solid var(--gray-100);
    transition: color 0.3s var(--ease);
}

.logos-mosaic__item:hover .logos-mosaic__label {
    color: var(--green-700);
}

/* Responsividade do Grid CSS Columns */
@media (max-width: 1200px) {
    .logos-mosaic {
        column-count: 3;
        column-gap: 20px;
    }
}

@media (max-width: 768px) {
    .logos-mosaic {
        column-count: 2;
        column-gap: 16px;
    }
    
    .logos-mosaic__item {
        border-radius: 12px;
        margin-bottom: 16px;
    }
    
    .logos-mosaic__img-wrap {
        padding: 16px;
    }
    
    .logos-mosaic__label {
        font-size: 12px;
        padding: 10px 14px;
    }
}

@media (max-width: 480px) {
    .logos-mosaic {
        column-count: 1;
        column-gap: 16px;
    }
}

/* --- Lightbox Modal (Estilo Clássico Portfólio High-Res) --- */
.logo-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.logo-lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.logo-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 20, 10, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    cursor: pointer;
}

.logo-lightbox__container {
    position: relative;
    z-index: 10010;
    width: 90%;
    max-width: 860px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.95) translateY(12px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-lightbox.active .logo-lightbox__container {
    transform: scale(1) translateY(0);
}

.logo-lightbox__img-container {
    width: 100%;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo-lightbox__img {
    display: block;
    max-width: 100%;
    max-height: 60vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
}

.logo-lightbox__footer {
    width: 100%;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: #ffffff;
}

.logo-lightbox__title {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.01em;
}

.logo-lightbox__download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green-500);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    transition: all 0.2s var(--ease);
}

.logo-lightbox__download:hover {
    background: var(--green-200);
    color: var(--green-900);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(188, 240, 174, 0.3);
}

.logo-lightbox__close {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 10020;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    font-size: 36px;
    font-weight: 300;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s var(--ease);
}

.logo-lightbox__close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}

/* Setas de Navegação */
.logo-lightbox__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10020;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #ffffff;
    font-size: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s var(--ease);
}

.logo-lightbox__arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.05);
}

.logo-lightbox__arrow--prev {
    left: 32px;
}

.logo-lightbox__arrow--next {
    right: 32px;
}

/* Responsividade Lightbox */
@media (max-width: 1024px) {
    .logo-lightbox__arrow--prev {
        left: 16px;
    }
    
    .logo-lightbox__arrow--next {
        right: 16px;
    }
}

@media (max-width: 768px) {
    .logo-lightbox__arrow {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }
    
    .logo-lightbox__arrow--prev {
        left: 8px;
    }
    
    .logo-lightbox__arrow--next {
        right: 8px;
    }
    
    .logo-lightbox__close {
        top: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
        font-size: 28px;
    }
    
    .logo-lightbox__img-container {
        padding: 16px;
    }
    
    .logo-lightbox__img {
        max-height: 50vh;
    }
    
    .logo-lightbox__footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }
    
    .logo-lightbox__download {
        width: 100%;
        justify-content: center;
    }
}

.wrapper-3d {
    align-items: center;
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 260px;
    height: auto;
    aspect-ratio: 1 / 1;
    position: relative;
}

.sun-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 210, 0, 0.45), rgba(255, 210, 0, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

.sun-orbe3d {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90px;
    height: 90px;
    margin: -45px 0 0 -45px;
    perspective: 320px;
    border-radius: 50%;
    -webkit-mask-image: radial-gradient(circle closest-side, #000 0%, #000 98%, rgba(0, 0, 0, 0) 100%);
            mask-image: radial-gradient(circle closest-side, #000 0%, #000 98%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
}

.sun-sphere {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    animation: spin3d 22s linear infinite;
}

.slice {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at calc(50% + 32% * var(--cx)) var(--vy),
        #fff6b8 0%,
        #ffe666 32%,
        #f5a623 var(--sp),
        #ff8a00 100%);
    transform: rotateY(var(--a)) scale(1.6);
}

.sun-shade {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    pointer-events: none;
    background:
        radial-gradient(circle at 35% 30%, rgba(255, 255, 240, 0.45), rgba(255, 255, 240, 0) 32%),
        radial-gradient(circle at 50% 50%, rgba(235, 110, 0, 0) 55%, rgba(225, 95, 0, 0.28) 82%, rgba(150, 55, 0, 0.52) 100%);
}

.sunlight {
    fill: url(#sunGlow);
    stroke: #b15212;
    stroke-opacity: 0.1;
}

.sunlight--sm {
    opacity: 0.6;
}



@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes spin3d {
    from { transform: rotateY(0deg); }
    to   { transform: rotateY(360deg); }
}

.sun-rays {
    animation: spin 30s linear infinite;
    transform-origin: center;
    transform-box: fill-box;
}

@media (prefers-reduced-motion: reduce) {
    .sun-rays,
    .sun-sphere {
        animation: none;
    }
}