/* ========================================= */
/* INÍCIO DO CONTEÚDO DE STYLE.CSS           */
/* ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000;
    font-family: 'Rajdhani', sans-serif;
    color: white;
    overflow-x: hidden;
    transition: transform 0.4s ease, filter 0.4s ease;
}

body.zoomed {
    transform: scale(0.95);
    filter: blur(4px);
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    display: block;
    opacity: 0.7;
    pointer-events: none;
}

main {
    padding: 4rem 5%;
}

.about-section {
    background-color: rgba(15, 15, 15, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-section img {
    width: 900px;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.hero-section {
    display: flex;
    gap: 2rem;
    background-color: rgba(15, 15, 15, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-image {
    flex: 1;
    min-width: 300px;
}

.hero-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.hero-content {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #ccc;
}

.hero-button {
    display: inline-block;
    background-color: #fff;
    color: #000;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    transition: all 0.3s ease;
    align-self: flex-start;
    border: 2px solid transparent;
}

.hero-button:hover {
    background-color: #000;
    color: #dd0000;
    transform: scale(1.05);
    border: 2px solid #dd0000;
}

.divider-strip {
    background-color: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(5px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    padding: 1rem 0;
    margin: 4rem 0;
}

.divider-strip h2 {
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #fff;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.article-card {
    background-color: rgba(15, 15, 15, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.article-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.article-card-content {
    padding: 1rem;
}

.article-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

.category-tag {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    border-radius: 4px;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: #dd0000;
}

.post-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: rgba(15, 15, 15, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 2rem 3rem;
}

.post-container h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 700;
}

.post-image {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.post-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ddd;
}

.post-content strong {
    color: #fff;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 10px 20px;
    background-color: #222;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    border: 1px solid #444;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background-color: #dd0000;
    border-color: #dd0000;
    transform: translateY(-2px);
}

.download-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.download-btn.apple-store {
    background-color: #111;
    cursor: not-allowed;
    opacity: 0.6;
}

.download-btn.apple-store:hover {
    background-color: #111;
    border-color: #444;
    transform: none;
}

.project-list-container {
    max-width: 900px;
    margin: 0 auto;
}

.project-list-item {
    display: flex;
    background-color: rgba(15, 15, 15, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 3rem;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.project-list-item:hover {
     box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.project-list-image-link {
    flex: 0 0 40%;
    display: block;
}

.project-list-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.project-list-image-link:hover .project-list-image {
    transform: scale(1.05);
}

.project-list-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.project-list-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #aaa;
    margin-bottom: 0.5rem;
}

.project-list-category {
    color: #dd0000;
}

.project-list-title-link {
    text-decoration: none;
    color: #fff;
}

.project-list-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.project-list-title-link:hover .project-list-title {
    color: #dd0000;
}

.project-list-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #ccc;
    flex-grow: 1;
}

/* --- ESTILOS DO VÍDEO DE FUNDO --- */
.video-bg-body {
    background-color: #000;
}

#bg-video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    transform: translateX(-50%) translateY(-50%);
    opacity: 0.3;
}

@media screen and (max-width: 1200px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    main {
        padding: 2rem 5%;
    }
    
    .hero-section {
        flex-direction: column;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .post-container {
        padding: 1.5rem;
    }
    .post-container h1 {
        font-size: 2rem;
    }
    .project-list-item {
        flex-direction: column;
    }
    .project-list-image-link {
        flex: 0 0 250px;
    }
}

body.light-theme {
    background-color: #f0f0f0;
    color: #000;
}

body.light-theme.zoomed {
    transform: scale(0.95);
    filter: blur(4px);
}

body.light-theme .hero-section,
body.light-theme .article-card,
body.light-theme .about-section,
body.light-theme .post-container,
body.light-theme .project-list-item {
    background-color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-theme .hero-content h2,
body.light-theme .article-card h3,
body.light-theme .post-container h1,
body.light-theme .project-list-title {
    color: #000;
}

body.light-theme .hero-content p,
body.light-theme .post-content p,
body.light-theme .project-list-description {
    color: #000;
}

body.light-theme .divider-strip {
    background-color: rgba(245, 245, 245, 0.8);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-theme .divider-strip h2 {
    color: #000;
}

body.light-theme.video-bg-body {
    background-color: transparent;
}
/* ========================================= */
/* FIM DO CONTEÚDO DE STYLE.CSS              */
/* ========================================= */

/* ========================================= */
/* ESTILOS ORIGINAIS DO SUNSEED.HTML         */
/* ========================================= */
body {
    overflow-x: hidden !important; 
}

body.light-theme.video-bg-body {
    background-color: transparent !important;
}

#bg-video {
    position: fixed !important; 
    top: 50% !important;
    left: 50% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    width: auto !important;
    height: auto !important;
    z-index: -2 !important;
    transform: translateX(-50%) translateY(-50%) !important;
    opacity: 0.3 !important;
}

canvas, canvas#matrixCanvas { 
    display: none !important;
}

.hero-headline-image {
    width: 100%;
    max-width: 550px;
    height: auto;
    margin-bottom: 15px;
}

main {
    padding-top: 0;
}

.sunseed-hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh; 
    padding: 40px 5%;
    margin-top: -60px;
    margin-bottom: -100px;
    padding-top: 4rem; 
    text-align: left;
}

.hero-content-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px; 
    max-width: 1200px;
    margin: 0px auto;
}

.hero-logos {
    flex: 0 0 250px; 
}

.hero-logos img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.hero-text {
    flex: 1; 
}

.hero-headline {
    font-size: 4.5rem; 
    font-weight: 700;
    color: #000;
    margin: 0;
    line-height: 1.1;
}

.hero-subheadline {
    font-size: 1.75rem; 
    color: #000;
    font-weight: 400;
}

.google-play-badge img {
    height: 80px;
    width: auto;
    margin-top: 20px;
}

.tech-hero-section {
    padding: 40px 5%;
    text-align: center;
    max-width: 90%;
    margin: -110px auto 120px auto;
}

.tech-logos-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px; 
    flex-wrap: wrap;
    margin-top: 20px;
}

.tech-logos-container img {
    height: 70px; 
    width: auto;
    opacity: 0.9;
}

body.light-theme #home {
    color: #000; 
}

body.light-theme #home strong {
    color: #000;
}

#home {
    max-width: 90%;
    margin: 40px auto;
    background: rgba(255, 255, 255, 0.9) !important; 
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1) !important; 
    backdrop-filter: blur(4px); 
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    padding: 2rem 3rem; 
    gap: 70px; 
}

#cta {
    flex: 1; 
    text-align: left;
    padding-right: 69px;
    border-right: 1px solid rgba(0, 0, 0, 0.35);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

#cta p {
    color: #222;
}

#cta ul {
    padding-left: 20px; 
    margin-top: 15px; 
    list-style-type: square;
}

#cta li {
     margin-bottom: 1rem;
}

#banner {
    flex: 1; 
    max-width: 50%;
}

#banner.swiper {
    position: relative; 
    width: 100%; 
    height: auto;
    margin: 0;
    overflow: hidden; 
    padding-bottom: 30px; 
    border-radius: 8px; 
}

#banner .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.4; 
    transform: scale(0.9); 
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#banner .swiper-slide-active {
    opacity: 1; 
    transform: scale(1); 
}

#banner .swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
}

:root { --swiper-theme-color: #000; } 

.swiper-button-next, .swiper-button-prev {
    color: #000 !important;
    background-color: rgba(255, 255, 255, 1.0);
    width: 40px; height: 40px; border-radius: 50%;
    transition: background-color 0.2s;
}

.swiper-button-next:after, .swiper-button-prev:after { 
    font-size: 18px !important; 
    font-weight: bold; 
}

.swiper-button-next:hover, .swiper-button-prev:hover { 
    background-color: rgba(255, 255, 255, 1.0); 
}

.swiper-pagination { 
    position: absolute; 
    bottom: 5px; 
    width: 100%; 
    left: 0; 
}

.swiper-pagination-bullet { 
    background: #4CAF50 !important;
    opacity: 0.5 !important;
}

.swiper-pagination-bullet-active { 
    background: #4CAF50 !important;
    opacity: 1 !important; 
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

.constructions-carousel-section {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin: 40px 0;
    
    background: rgba(255, 255, 255, 0.9) !important; 
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1) !important; 
    backdrop-filter: blur(4px); 
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    padding: 1rem 0;
    overflow: hidden; 
}

.constructions-container {
    position: relative;
    display: flex;
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.constructions-slide {
    display: flex;
    align-items: flex-start;
    animation: scroll 120s linear infinite; 
    white-space: nowrap; 
}

.constructions-container:hover .constructions-slide {
    animation-play-state: paused;
}

.construction-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0 30px; 
    width: 180px; 
    vertical-align: top;
}

.construction-name {
    font-size: 1.15rem; 
    font-weight: 700; 
    text-transform: uppercase; 
    color: #111;
    margin-bottom: -30px; 
    height: 2.2em; 
    line-height: 1.1em;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative; 
    z-index: 2; 
}

.construction-number {
    font-size: 1.3rem; 
    font-weight: 700;
    color: #000;
    margin-top: 8px;
}

.constructions-slide img {
    height: 150px; 
    width: 150px;
    object-fit: contain;
    margin: 0;
    transition: transform 0.3s;
    cursor: pointer;
    position: relative; 
    z-index: 1; 
}

.constructions-slide img:hover {
    transform: scale(1.1); 
}

.video-section {
    max-width: 50%;
    margin: 40px auto;
    background: rgba(255, 255, 255, 0.9) !important; 
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1) !important; 
    backdrop-filter: blur(4px); 
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 2rem 3rem;
    margin-bottom: 50px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    /* ========================================= */
    /* AJUSTE DOS BOTÕES DO CARROSSEL (MOBILE)   */
    /* ========================================= */
    
/* ========================================= */
    /* AJUSTE DOS BOTÕES DO CARROSSEL (MOBILE)   */
    /* ========================================= */
    
    #banner.swiper {
        padding-bottom: 40px !important; /* Espaço embaixo para os pontinhos */
        padding-left: 50px !important; /* Cria uma coluna vazia na esquerda */
        padding-right: 50px !important; /* Cria uma coluna vazia na direita */
        box-sizing: border-box;
    }

    #banner .swiper-button-prev,
    #banner .swiper-button-next {
        top: 45% !important; /* Centraliza na altura da imagem */
        bottom: auto !important; 
        transform: translateY(-50%) scale(0.8); /* Ajusta o tamanho para caber perfeitamente nas laterais */
        margin-top: 0 !important;
    }

    #banner .swiper-button-prev {
        left: 5px !important; /* Posiciona na coluna vazia da esquerda */
    }

    #banner .swiper-button-next {
        right: 5px !important; /* Posiciona na coluna vazia da direita */
    }

    #banner .swiper-pagination {
        bottom: 5px !important; /* Volta os pontinhos para debaixo da imagem */
    }
    .tech-hero-section {
        margin: 0px auto 40px auto;
    }

    .hero-content-layout {
        flex-direction: column; 
        text-align: center;
    }
    
    
    .hero-headline-image {
        margin-bottom: 10px;
    }
    
    .hero-subheadline { 
        font-size: 1.2rem; 
    }
    
.sunseed-hero-section {
        margin-top: 0;
        padding-top: 130px; /* Cria o espaço exato em cima da logo (livrando a barra de navegação) */
        padding-bottom: 60px; /* Cria o espaço garantido embaixo da badge da Play Store */
        min-height: auto;
    }
/* 2. Mantém a logo no tamanho certo */
    .hero-logos {
        margin-top: -50px;
        flex: 0 0 auto;
        width: 180px;

    }
    .hero-text {
    flex: 1; 
    margin-top: -50px;
}
    .google-play-badge {
        display: inline-block;
        margin-bottom: 50px; 
    }
    /* 3. Deixa o card branco do #home colado nas bordas da tela e limpo */
#home {
        flex-direction: column-reverse; 
        padding: 2rem 1.5rem; 
        gap: 30px;
        max-width: 100%; 
        margin: 0; /* Zerado para colar perfeitamente com o fundo */
        border-radius: 0; 
        border: none !important; 
        box-shadow: none !important; 
    }
    
    #cta {
        align-items: center;
        text-align: justify;
        padding-right: 0;
        border-right: none;
    }
    
    #banner {
        max-width: 100%; 
        margin-top: 30px;
    }
    
    .tech-logos-container img {
        height: 50px;
        gap: 30px;
    }

    .constructions-carousel-section {
        padding: 1.5rem 0;
    }
    
    .constructions-slide img {
        height: 130px; 
        width: 130px;
    }
    
    .construction-item {
         width: 130px;
         margin: 0 35px; 
    }

    .construction-name {
        font-size: 1rem; 
    }
    
    .construction-number {
        font-size: 1.15rem; 
    }

    .video-section {
        padding: 1.5rem;
        max-width: 100%; 
    }
}

#bannermobile, #video-container-mobile, #video-container-mobile2, #cta_buttons {
    display: none !important;
}
/* ========================================= */
/* AJUSTES PARA TABLETS (Até 1024px)         */
/* ========================================= */
@media (max-width: 1024px) {
    /* Zera qualquer margem ou preenchimento que o navegador possa colocar no fundo da página */

    
    /* 1. Transforma a seção HOME em coluna (Carrossel em cima, textos embaixo) */
    #home {
        flex-direction: column-reverse; 
        padding: 3rem 2rem; 
        gap: 40px;
        max-width: 100%; 
        margin: 0; 
        border-radius: 0; 
        border: none !important; 
        box-shadow: none !important; 
    }
    
    #cta {
        align-items: center;
        text-align: justify;
        padding-right: 0;
        border-right: none;
    }
    
    #banner {
        max-width: 100%; 
        width: 100%;
        margin-top: 0;
    }

    /* 2. Aplica a mesma lógica das setas nas laterais para o Tablet */
    #banner.swiper {
        padding-bottom: 40px !important; 
        padding-left: 60px !important; /* Espaço na esquerda para o botão */
        padding-right: 60px !important; /* Espaço na direita para o botão */
        box-sizing: border-box;
    }

    #banner .swiper-button-prev,
    #banner .swiper-button-next {
        top: 45% !important; 
        bottom: auto !important; 
        transform: translateY(-50%) scale(0.9); /* Tamanho ótimo para toque no tablet */
        margin-top: 0 !important;
    }

    #banner .swiper-button-prev {
        left: 10px !important; 
    }

    #banner .swiper-button-next {
        right: 10px !important; 
    }

    #banner .swiper-pagination {
        bottom: 5px !important; 
    }
        html, body {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }
    
    /* Garante que o contêiner do footer cole no fundo da tela */
}