/* === :root - Definições de Design (Variáveis Globais) === */
@import url('footer.css');
:root {
    --color-primary: #ffffff;
    --color-primary-accent: #82b1ff;
    --color-primary-action: #007bff;
    --color-text-base: #cdd3da;
    --color-text-light: #f0f0f0;
    --color-background-start: #0a0a0a;
    --color-background-end: #010913;
    --color-surface: rgba(22, 34, 48, 0.6); 
    --color-border: #2c3e50;

    --font-family-base: -apple-system, BlinkMacSystemFont, "Inter", sans-serif;

    --border-radius-base: 12px;
    --shadow-base: 0 4px 15px rgba(0, 102, 255, 0.438);
}


*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-base);
    background: linear-gradient(180deg, var(--color-background-start) 0%, var(--color-background-end) 100%);
    color: var(--color-text-light);
    line-height: 1.6;
    font-size: 1.1rem;
    letter-spacing: 0.01em;
    min-height: 100vh;
    padding-top: 0;
}

/* === Seção Hero === */
/* Esta seção age como um contêiner para o vídeo e o conteúdo sobre ele */
.hero {
    position: relative;
    width: 100vw;
    min-height: 340px;
    max-height: 520px;
    height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 0;
}

/* Overlay escuro para melhorar a legibilidade do texto sobre o vídeo */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.5); /* Overlay escuro com 50% de opacidade */
    z-index: 1; /* Fica acima do vídeo mas abaixo do conteúdo */
}

.hero > * {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4.5rem; 
    font-weight: 700;
    margin-bottom: 0.5rem;
    border-bottom: none; 
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5); 
    line-height: 1.1;
}

.hero p {
    font-size: 1.5rem; 
    color: var(--color-text-light); /* Cor mais clara para destaque */
    max-width: 60ch; /* Limita a largura da linha para melhor leitura */
    margin-top: 0.5rem;
    margin-bottom: 0; /* Remove a margem inferior padrão do parágrafo */
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6); /* Sombra sutil para legibilidade */
}

#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 60vh;
    min-height: 340px;
    max-height: 520px;
    object-fit: cover;
    z-index: 0;
    background-size: cover;
    pointer-events: none;
}

/* === Seção de Boas-Vindas === */
.welcome-section {
    padding: 4rem 2rem; /* Seção maior com mais padding vertical */
    background: transparent; /* Fundo transparente para integrar com o gradiente do body */
    border: none; /* Borda removida conforme solicitado */
    max-width: 100%; /* Ocupa a largura total para uma sensação mais ampla */
    margin: 2rem 0;
    text-align: center;
}

.welcome-section .intro-text {
    max-width: 80ch; /* Limita a largura do texto para melhor legibilidade */
    margin: 0 auto; /* Centraliza o container de texto */
}

.welcome-section .intro-title {
    font-size: 3.5rem; /* Título ainda maior para mais destaque */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    border: none;
    padding: 0;
    color: var(--color-primary);
    /* Efeito de brilho sutil para o título */
    text-shadow: 0 0 8px rgba(130, 177, 255, 0.3), 0 0 16px rgba(130, 177, 255, 0.2);
}

.welcome-section .intro-title .highlight {
    color: var(--color-primary-accent);
    display: inline; /* Não quebra mais a linha */
}

.welcome-section p {
    font-size: 1.2rem; /* Parágrafo levemente maior */
    line-height: 1.7;
    margin-bottom: 1.5rem;
    text-align: justify; /* Texto justificado para um bloco mais coeso */
}

main {
    max-width: 960px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* === Estilo de "Card" para Seções === */
section {
    background: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
    margin-bottom: 2.5rem;
    padding: 2.2rem 0.5rem 1.5rem 0.5rem;
}

h1, h2, h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

h1 {
    font-size: 2.5rem;
    border-bottom: 2px solid var(--color-border);
    padding-bottom: 0.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
    color: var(--color-primary-accent);
}

/* === Seção "Sobre Nós" Modernizada === */
#sobre-nos {
    max-width: 960px; /* Alinha com a largura do conteúdo principal */
    margin: 4rem auto;
    padding: 3rem 1rem;
    text-align: left; /* Alinha o texto à esquerda, como solicitado */
    border: none; /* Remove a borda para um visual mais limpo e minimalista */
    background: none; /* Remove o fundo para maior integração */
}

#sobre-nos h2 {
    font-size: 2.8rem; /* Título maior */
    font-weight: 700;
    color: var(--color-primary);
    border-bottom: none; /* Remove a linha de borda padrão */
    margin-bottom: 1.5rem;
    position: relative; /* Necessário para o pseudo-elemento ::after */
    padding-bottom: 0.75rem;
}

/* Linha decorativa moderna sob o título */
#sobre-nos h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0; /* Alinha a linha decorativa à esquerda com o texto */
    width: 80px; /* Largura da linha */
    height: 3px; /* Espessura da linha */
    background: var(--color-primary-accent); /* Usa a cor de destaque */
    border-radius: 2px;
}

#sobre-nos p {
    font-size: 1.3rem; /* Parágrafo maior para melhor leitura */
    line-height: 1.8; /* Espaçamento entre linhas aumentado para legibilidade */
    color: var(--color-text-base);
    max-width: 75ch; /* Ajusta o comprimento da linha para leitura confortável */
    margin-bottom: 0; /* Remove a margem inferior do último parágrafo */
    text-align: justify; /* Texto justificado conforme solicitado */
}

p {
    margin-bottom: 1rem;
    color: var(--color-text-base);
}

a {
    color: var(--color-primary);
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

ul {
    list-style-position: inside;
    padding-left: 1rem;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
}

strong {
    color: var(--color-primary-accent);
}


.processo-recarga li {
    background-color: rgba(0,0,0,0.2);
    padding: 0.75rem;
    border-left: 4px solid var(--color-primary-action);
    border-radius: 4px;
}

/* === Componentes Específicos (Página Principal) === */

/* === Fotos dos Cilindros (Minimalista e Responsivo) === */
.cilindro-fotos-container.minimalista {
    background: none;
    box-shadow: none;
    border-radius: 0;
    margin: 1.5rem 0 1rem 0;
}
.cilindro-foto.placeholder {
    width: 120px;
    height: 180px;
    background: linear-gradient(135deg, var(--color-background-end) 60%, var(--color-primary-accent) 100%);
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.18);
    opacity: 0.18;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    transition: opacity 0.3s;
}
.cilindro-foto.imagem-larga {
    width: 100%;
    max-width: 960px;
    height: auto;
    border-radius: 12px;
    display: block;
    box-shadow: 0 8px 24px rgba(0,0,0,0.35);
    border: 1px solid var(--color-border);
}

/* === Medidas dos Cilindros === */
.tamanhos-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    align-items: end;
    margin-top: 1rem;
}
.tamanho-item {
    margin-top: 0.5rem;
    color: var(--color-text-base);
    font-weight: 600;
}
.tamanho-item {
    text-align: center;
}
.tamanho-foto.imagem-compacta {
    width: 100%;
    max-width: 200px; /* Tamanho máximo para desktop */
    height: auto;
    display: block; /* Usar block para garantir que a margem auto funcione */
    margin: 0 auto; /* Centraliza a imagem dentro do figure */
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
    border: 1px solid var(--color-border);
    background: #0a0f16;
}
@media (max-width: 600px) {
    .tamanhos-container { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
    .tamanho-foto.imagem-compacta { max-width: 220px; }
}

/* Galeria no final da página */
.galeria-cilindros-container {
    display: grid;
    grid-template-columns: 1fr; /* uma por linha, largas */
    gap: 1.2rem;
}
.cilindro-foto.placeholder::after {
    content: "FOTO";
    color: var(--color-primary-accent);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 2px;
    opacity: 0.7;
    margin-bottom: 1.2rem;
}
@media (max-width: 900px) {
    .cilindro-fotos-container.minimalista {
        gap: 1rem;
        min-height: 120px;
    }
    .cilindro-foto.placeholder {
        width: 80px;
        height: 120px;
    }
}
@media (max-width: 600px) {
    .cilindro-fotos-container.minimalista {
        gap: 0.5rem;
        min-height: 80px;
    }
    .cilindro-foto.placeholder {
        width: 48px;
        height: 80px;
    }
}

/* === Seção Localização Modernizada === */
#localizacao {
    max-width: 1200px; /* Largura maior para a seção */
    margin: 4rem auto;
    padding: 0 2rem;
    text-align: center;
}

#localizacao h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    border-bottom: none;
}

#localizacao > p {
    max-width: 65ch;
    margin-left: auto;
    margin-right: auto; 
}

.location-content {
    display: grid;
    grid-template-columns: 3fr 1fr; /* Mapa maior (75% da largura) */
    gap: 2rem;
    margin-top: 2.5rem;
    text-align: left;
    align-items: center;
}

.map-container {
    border-radius: var(--border-radius-base);
    overflow: hidden; /* Garante que o iframe respeite o border-radius */
    height: 450px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    border: 1px solid var(--color-border);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.location-info {
    background: var(--color-surface);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius-base);
    border: 1px solid var(--color-border);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.location-info .info-item {
    margin-bottom: 2.5rem;
}

.location-info h3 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary-accent);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: none;
    padding: 0;
}

.location-info h3 .icon {
    font-size: 1.4rem;
    line-height: 1;
}

.location-info p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-base);
    margin: 0;
}

.directions-button {
    display: inline-block;
    background: var(--color-primary-action);
    color: var(--color-primary);
    padding: 0.9rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    margin-top: 1rem;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

/* === Responsividade Mobile Geral === */
@media (max-width: 900px) {
    /* Hero: reduzir tipografia para caber melhor */
    .hero h1 { font-size: 2.4rem; }
    .hero p { font-size: 1.05rem; max-width: 90%; }
    #hero-video { height: 46vh; max-height: 420px; }

    /* Produtos: manter imagem inteira e diminuir altura */
    .produto-foto { height: 260px; }
}

@media (max-width: 600px) {
    /* Layout da seção de localização em uma coluna */
    .location-content { grid-template-columns: 1fr; gap: 1rem; }
    .map-container { height: 320px; }
    .directions-button { width: 100%; }

    /* Títulos e textos */
    #sobre-nos h2, #localizacao h2, #produtos h2 { font-size: 2rem; }
    .welcome-section .intro-title { font-size: 2.2rem; }
}

.neon-nathoxi {
    color: #26baff; /* Tom de ciano um pouco mais claro para legibilidade */
    text-shadow:
        0 0 4px #0099cc,
        0 0 10px #0099cc,
        0 0 18px #82b1ff;
    font-weight: 900;
    letter-spacing: 2px;
}
.cilindro-foto.placeholder {
    transition: box-shadow 0.3s, transform 0.2s, opacity 0.3s;
}
.cilindro-foto.placeholder:hover {
    box-shadow: 0 0 24px 2px #00e6ff44, 0 2px 8px #0008;
    transform: translateY(-4px) scale(1.03);
    opacity: 0.95;
}

/* === Ajustes de espaçamento para a página "Nossos Cilindros" === */
#page-cilindros .main-content section {
    padding-top: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

#page-cilindros .page-title h1 {
    margin-bottom: 0.6rem;
}

#page-cilindros h2 {
    margin-bottom: 0.4rem;
}

#page-cilindros h3 {
    margin-top: 0.5rem;
    margin-bottom: 0.3rem;
}

#page-cilindros .content-description p,
#page-cilindros .ntr p,
#page-cilindros .oxg p,
#page-cilindros .arg p,
#page-cilindros .mst p,
#page-cilindros .medidas p {
    margin-top: 0.25rem;
    margin-bottom: 0.6rem;
}

#page-cilindros .ntr ul,
#page-cilindros .oxg ul,
#page-cilindros .arg ul,
#page-cilindros .mst ul,
#page-cilindros .medidas ul {
    margin-top: 0.2rem;
    margin-bottom: 0.6rem;
}

#page-cilindros .cilindro-fotos-container.minimalista {
    margin-top: 0.8rem;
}

/* Sem cartões: apenas texto limpo e organizado na página de cilindros */
#page-cilindros .content-description,
#page-cilindros .ntr,
#page-cilindros .oxg,
#page-cilindros .arg,
#page-cilindros .mst,
#page-cilindros .medidas {
    background: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
}

/* Destaque visual nos títulos das seções */
#page-cilindros h2 {
    position: relative;
    padding-bottom: 0.35rem;
}
#page-cilindros h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 72px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary-accent), transparent);
    border-radius: 2px;
}

/* Primeiro parágrafo mais chamativo e fácil de ler */
#page-cilindros .content-description p:first-of-type,
#page-cilindros .ntr p:first-of-type,
#page-cilindros .oxg p:first-of-type,
#page-cilindros .arg p:first-of-type,
#page-cilindros .mst p:first-of-type,
#page-cilindros .medidas p:first-of-type {
    color: var(--color-text-light);
    font-size: 1.15rem;
    line-height: 1.75;
}

/* Listas mais legíveis e alinhadas, com marcadores destacados */
#page-cilindros .main-content ul {
    list-style: disc inside;
}
#page-cilindros .main-content li::marker {
    color: var(--color-primary-accent);
}
#page-cilindros .main-content li {
    padding-left: 0.1rem;
}

/* Em telas maiores, listas em duas colunas para melhor organização */
@media (min-width: 900px) {
    #page-cilindros .ntr ul,
    #page-cilindros .oxg ul,
    #page-cilindros .arg ul,
    #page-cilindros .mst ul {
        columns: 2;
        column-gap: 1.5rem;
    }
}

/* === Botão flutuante: Voltar ao topo === */
#back-to-top {
    position: fixed;
    right: 20px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--color-primary);
    background: linear-gradient(135deg, rgba(130, 177, 255, 0.25), rgba(0, 123, 255, 0.35));
    border: 1px solid rgba(130, 177, 255, 0.5);
    box-shadow: 0 6px 20px rgba(0,0,0,0.35);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background 0.3s, box-shadow 0.3s;
    z-index: 4500;
}

#back-to-top:hover { box-shadow: 0 8px 26px rgba(0,0,0,0.5); }

#back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#back-to-top svg {
    width: 22px;
    height: 22px;
}

@media (max-width: 900px) {
    #back-to-top { right: 14px; bottom: 16px; width: 44px; height: 44px; }
}
@media (max-width: 600px) {
    #back-to-top { right: 10px; bottom: 12px; width: 42px; height: 42px; }
}

/* === Seção Normas de Recarga === */
.normas-recarga {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-base);
    padding: 2rem;
    margin-top: 2.5rem;
}

.normas-recarga h2 {
    border-bottom: none;
    padding-bottom: 0;
}

.normas-lista {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.normas-lista li {
    margin-bottom: 1.5rem;
}

.observacao-importante {
    background-color: rgba(255, 235, 59, 0.1);
    border-left: 4px solid #FFEB3B;
    padding: 1rem;
    border-radius: 4px;
    margin-top: 1.5rem;
}


#produtos {
    text-align: center;
}

#produtos h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.produtos-container {
    display: grid;
    /* 
     * Cria colunas responsivas. Cada item terá no mínimo 240px.
     * O navegador tentará encaixar o máximo de colunas possível.
    */
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.produto-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    border-radius: var(--border-radius-base);
    overflow: hidden;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.produto-foto {
    width: 100%;
    height: 360px; /* Altura base para desktop */
    object-fit: contain; /* Mostra a imagem inteira sem cortes */
    background: #0a0f16; /* Fundo neutro quando sobrar espaço */
}

.produto-info {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: center;
    justify-content: center; /* Centraliza o nome do produto verticalmente */
}

.produto-item figcaption {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-primary);
    margin-bottom: 0;
}

.cta-container {
    text-align: center;
    margin-top: 2.5rem;
}

.produto-cta-geral {
    display: inline-block;
    color: var(--color-primary);
    padding: 0.9rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    /* Estilos e animação replicados do .nav-cta */
    background: linear-gradient(135deg, rgba(130, 177, 255, 0.18), rgba(0, 123, 255, 0.25));
    background-size: 200% 200%;
    border: 1px solid rgba(130, 177, 255, 0.35);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(4px);
}

/* === Seção NeedLife (Página Medicinais) === */
.needlife-promo {
    background: var(--color-surface);
    border: 1px solid #d93636;
    border-radius: var(--border-radius-base);
    padding: 2rem;
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}


.needlife-promo h2 {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 1rem;
}

.needlife-logo {
    width: 100%;
    max-width:450px;
    height: 300px;
    border-radius: var(--border-radius-base);
    justify-self: center;
}

.needlife-text {
    text-align: left;
}

@media (max-width: 768px) {
    .needlife-promo {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .needlife-text {
        text-align: center;
    }
}

.text-red {
    color: #ff4d4d;
}

.btn-red {
    display: inline-block;
    background: #d93636;
    color: var(--color-primary) !important; /* Garante que o texto seja branco */
    padding: 0.9rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    margin-top: 1.5rem;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    border: 1px solid rgba(255, 80, 80, 0.5);
    box-shadow: 0 4px 12px rgba(217, 54, 54, 0.3);
}
