/* --------------------------------------- */
/* 1. GLOBAL RESETS & BASE STYLES */
/* --------------------------------------- */
*{
margin:0;
padding:0;
box-sizing:border-box;
}

/* --------------------------------------- */
/* 2. THEME VARIABLES (COM LARANJA) */
/* --------------------------------------- */
:root{
--color-background-primary:#121212;
--color-background-secondary:#1E1E1E; /* Um pouco mais claro que o primário */
--color-accent:#F97316; /* Laranja Principal */
--color-accent-hover:#EA580C; /* Laranja Escuro para Hover */
--color-text-primary:#FFFFFF;
--color-border:#4B4B4B;
--color-placeholder:#A0A0A0;
--shadow-elevation-1:0 2px 4px rgba(0,0,0,0.2);
}

html.theme-dark{
--color-background-primary:#121212;
--color-background-secondary:#1E1E1E;
--color-accent:#F97316;
--color-accent-hover:#EA580C;
--color-text-primary:#FFFFFF;
--color-border:#4B4B4B;
--color-placeholder:#A0A0A0;
--shadow-elevation-1:0 2px 4px rgba(0,0,0,0.2);
}

html.theme-light{
--color-background-primary:#F0F0F0;
--color-background-secondary:#FFFFFF;
--color-accent:#F97316;
--color-accent-hover:#EA580C;
--color-text-primary:#333333;
--color-border:#DDDDDD;
--color-placeholder:#666666;
--shadow-elevation-1:0 2px 4px rgba(0,0,0,0.1);
}

/* --------------------------------------- */
/* 3. BASE HTML/BODY STYLES */
/* --------------------------------------- */
html{
background-color:var(--color-background-primary);
scroll-behavior: smooth;
}

body{
font-family:Arial,sans-serif;
line-height:1.6;
transition:background-color 0.3s ease,color 0.3s ease;
background-color:var(--color-background-primary);
color:var(--color-text-primary);
margin:0;
padding:0;
width:100%;
min-height:100vh;
}

.container{
max-width:1200px;
margin:0 auto;
padding:0 20px;
}

/* --------------------------------------- */
/* 5. HEADER */
/* --------------------------------------- */
.main-header{
background-color:rgba(18,18,18,0.8);
padding:15px 0;
position:fixed;
width:100%;
top:0;
left:0;
z-index:1000;
box-shadow:0 2px 4px rgba(0,0,0,0.2);
border-bottom:1px solid #4B4B4B;
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
}

.header-content{
display:flex;
justify-content:space-between;
align-items:center;
}

.logo img{
height: 60px;
width: auto;
}

.main-nav .btn-outline{
background-color:transparent;
color:#FFFFFF;
border:1px solid #FFFFFF;
padding:8px 15px;
border-radius:5px;
text-decoration:none;
transition:all 0.3s ease;
}

.main-nav .btn-outline:hover{
background-color:#FFFFFF;
color:#121212;
}

/* --------------------------------------- */
/* 6. HERO BANNER & CAROUSEL */
/* --------------------------------------- */
.hero-banner {
    
    background-color: var(--color-background-primary);
}

.carousel-container {
    position: relative;
    width: 100%; /* Garante que ocupe a largura do elemento pai */
    overflow: hidden;
    /* As regras de max-width, margin e border-radius foram removidas para permitir a expansão total */
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    min-width: 100%;
    position: relative;
}

.carousel-item img {
    width: 100%;
    display: block;
    height: 520px;
    object-fit: cover;
    filter: brightness(0.5);
}

.carousel-caption {
    position: absolute;
    bottom: 50px;
    left: 50px;
    color: #fff;
    max-width: 60%;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.carousel-caption h3 {
    font-size: 2.5em;
    font-weight: bold;
}

.carousel-caption p {
    font-size: 1.2em;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    border: none;
    color: #fff;
    font-size: 2em;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 5px;
    z-index: 10;
    transition: background-color 0.3s;
}
.carousel-control:hover {
    background: rgba(0, 0, 0, 0.7);
}
.carousel-control.prev { left: 15px; }
.carousel-control.next { right: 15px; }

/* --------------------------------------- */
/* 8. CONTENT SECTIONS */
/* --------------------------------------- */
.about-section{
padding: 60px 0;
padding-top: 20px; /* ADICIONE ESTA LINHA */
background-color:var(--color-background-primary);
text-align:center;
color:var(--color-text-primary);
}

.about-section h2{
font-size:2.2em;
color:var(--color-text-primary);
margin-bottom:16px;
}

.about-section p{
font-size:1.1em;
color:var(--color-text-primary);
max-width:800px;
margin:0 auto 30px;
line-height:1.6;
}

.about-cards{
display:flex;
justify-content:center;
flex-wrap:wrap;
gap:30px;
margin-top:40px;
}

.card{
background-color:var(--color-background-secondary);
color:var(--color-text-primary);
padding:30px;
border-radius:8px;
box-shadow:var(--shadow-elevation-1);
text-align:center;
flex:1;
min-width:280px;
max-width:350px;
transition:transform 0.3s ease,background-color 0.3s ease,box-shadow 0.3s ease;
border:1px solid var(--color-border);
}

.card:hover{
transform:translateY(-5px);
}

.card i{
font-size:3.5em;
color:var(--color-accent);
margin-bottom:20px;
transition:color 0.3s ease;
}

.card h3{
font-size:1.4em;
font-weight:bold;
margin-bottom:10px;
color:var(--color-text-primary);
}

.card p{
font-size:0.95em;
line-height:1.6;
color:var(--color-text-primary);
}

.video-section{
padding:30px 0 60px 0;
background-color:var(--color-background-secondary);
text-align:center;
color:var(--color-text-primary);
}

.video-section h2{
font-size:2.5em;
color:var(--color-text-primary);
margin-bottom:40px;
}

.video-wrapper{
position:relative;
width:100%;
padding-bottom:56.25%;
height:0;
overflow:hidden;
max-width:800px;
margin:0 auto;
background-color:var(--color-background-secondary);
border-radius:8px;
box-shadow:var(--shadow-elevation-1);
}

.video-wrapper iframe{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
border:none;
}

.pricing-section{
padding:60px 0;
background-color:var(--color-background-primary);
text-align:center;
color:var(--color-text-primary);
}

.pricing-section h2{
font-size:2.5em;
color:var(--color-text-primary);
margin-bottom:20px;
}

.pricing-subtitle{
font-size:1.1em;
color:var(--color-text-primary);
max-width:700px;
margin:0 auto 50px;
line-height:1.6;
}

.pricing-cards{
display:flex;
justify-content:center;
flex-wrap:wrap;
gap:30px;
}

.plan-card{
background-color:var(--color-background-secondary);
color:var(--color-text-primary);
box-shadow:var(--shadow-elevation-1);
border-radius:8px;
padding:40px 20px;
flex:1;
min-width:280px;
max-width:350px;
transition:transform 0.3s ease,border 0.3s ease,background-color 0.3s ease;
border:1px solid transparent;
position:relative;
overflow:hidden;
}

.plan-card:hover{
transform:translateY(-5px);
}

.plan-card h3{
font-size:1.8em;
margin-bottom:20px;
color:var(--color-text-primary);
}

.plan-card h4{
font-size:2.5em;
font-weight:bold;
margin-bottom:30px;
color:var(--color-text-primary);
}

.plan-card .price-per-month{
    font-size:0.6em;
    font-weight:normal;
    color:var(--color-text-primary);
}

/* ADICIONE ESTE NOVO ESTILO ABAIXO */
.plan-card .discount-tag {
    background-color: #e74c3c; /* Um tom de vermelho para chamar a atenção */
    color: #fff;
    font-size: 0.8em;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block; /* Para que o padding funcione corretamente */
    margin-top: -20px; /* Puxa a tag um pouco para cima */
    margin-bottom: 15px; /* Dá um espaço abaixo dela */
}

.features-list{
list-style:none;
text-align:left;
margin-bottom:30px;
padding:0;
}

.features-list li{
margin-bottom:10px;
font-size:1em;
color:var(--color-text-primary);
}

.features-list i{
margin-right:10px;
}

.features-list i.fa-check{
color:var(--color-accent);
}

.features-list i.fa-times{
color:#E00;
}

.btn-contractar {
    background-color: var(--color-accent);
    color: #fff; /* Recomendo branco para melhor contraste com o laranja */
    padding: 14px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    text-decoration: none; /* <--- MUDANÇA PRINCIPAL: Remove o sublinhado */
    display: inline-block;
    text-align: center;
}

.btn-contractar:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    text-decoration: none; /* Garante que não apareça sublinhado no hover */
    color: #fff; /* Mantém a cor do texto no hover */
}

.plan-card--popular{
border:2px solid var(--color-accent);
transform:scale(1.03);
box-shadow:0 4px 8px rgba(0,0,0,0.3);
}

.plan-card--popular .popular-tag{
background-color:var(--color-accent);
color:#121212;
padding:5px 15px;
border-radius:5px;
position:absolute;
top:-5px;
left:50%;
transform:translateX(-50%);
font-weight:bold;
font-size:0.9em;
text-transform:uppercase;
white-space:nowrap;
}

.testimonials-section{
padding:80px 0;
background-color:var(--color-background-secondary);
text-align:center;
color:var(--color-text-primary);
}

.testimonials-section h2{
font-size:2.5em;
color:var(--color-text-primary);
margin-bottom:20px;
}

.testimonials-subtitle{
font-size:1.1em;
color:var(--color-text-primary);
max-width:700px;
margin:0 auto 50px;
line-height:1.6;
}

.testimonial-cards{
display:flex;
justify-content:center;
flex-wrap:wrap;
gap:30px;
}

.testimonial-card{
background-color:var(--color-background-primary);
color:var(--color-text-primary);
box-shadow:var(--shadow-elevation-1);
border-radius:8px;
padding:30px;
flex:1;
min-width:280px;
max-width:380px;
text-align:left;
transition:transform 0.3s ease,background-color 0.3s ease,border 0.3s ease;
border:1px solid var(--color-border);
}

.testimonial-card:hover{
transform:translateY(-5px);
}

.testimonial-card .stars{
margin-bottom:20px;
}

.testimonial-card .stars i{
color:var(--color-accent);
font-size:1.2em;
margin-right:3px;
}

.testimonial-card .quote{
font-size:1em;
line-height:1.6;
margin-bottom:25px;
font-style:italic;
}

.customer-info{
display:flex;
align-items:center;
margin-top:20px;
}

.customer-info .avatar{
width:50px;
height:50px;
border-radius:50%;
background-color:#666;
margin-right:15px;
}

.customer-info .customer-details{
text-align:left;
}

.customer-info .customer-name{
font-weight:bold;
font-size:1.1em;
margin-bottom:3px;
color:var(--color-text-primary);
}

.customer-info .customer-role{
font-size:0.9em;
color:var(--color-text-primary);
}

.contact-model-section{
padding:30px 0;
background-color:var(--color-background-primary);
text-align:center;
color:var(--color-text-primary);
}

.contact-model-content{
display:flex;
align-items:center;
justify-content:center;
flex-wrap:wrap;
gap:40px;
}

.model-image-wrapper{
flex:1;
min-width:140px;
max-width:200px;
text-align:center;
}

.model-image{
width:100%;
height:auto;
display:block;
object-fit:contain;
}

.contact-text-wrapper{
flex:1;
min-width:280px;
max-width:450px;
text-align:left;
}

.contact-message{
font-size:1.2em;
line-height:1.6;
margin-bottom:30px;
color:var(--color-text-primary);
}

.mobile-model-image {
display: none;
}

.model-image-vertical {
width: 100%;
padding-top: 125%;
background-image: url('imagens/modelo_v.png');
background-size: contain;
background-repeat: no-repeat;
background-position: center;
}

.btn-whatsapp{
display:inline-flex;
align-items:center;
background-color:var(--color-accent);
color:#121212;
padding:15px 30px;
border-radius:5px;
text-decoration:none;
font-size:1.1em;
font-weight:bold;
cursor:pointer;
transition:background-color 0.3s ease,transform 0.2s ease;
box-shadow:var(--shadow-elevation-1);
}

.btn-whatsapp:hover{
background-color:var(--color-accent-hover);
transform:translateY(-2px);
}

.btn-whatsapp i{
margin-right:10px;
font-size:1.4em;
}

/* --------------------------------------- */
/* 9. FIXED BUTTONS */
/* --------------------------------------- */

.fixed-buttons{
    position:fixed;
    bottom:20px;
    left: 0; /* Começa da esquerda */
    width: 100%; /* Ocupa a largura toda */
    z-index:1000;
    display:flex;
    justify-content: space-between; /* Empurra os itens para as pontas */
    padding: 0 20px; /* Adiciona um respiro nas laterais */
    pointer-events:none;
}

.fixed-btn{
background-color:var(--color-accent);
color:#121212;
border:none;
border-radius:50%;
width:50px;
height:50px;
display:flex;
justify-content:center;
align-items:center;
font-size:1.5em;
cursor:pointer;
box-shadow:0 2px 4px rgba(0,0,0,0.2);
transition:background-color 0.3s ease,transform 0.2s ease;
pointer-events:auto;
}

.fixed-btn:hover{
background-color:var(--color-accent-hover);
transform:scale(1.05);
}

/* --------------------------------------- */
/* 10. FOOTER (REGRAS CORRIGIDAS) */
/* --------------------------------------- */
footer{
background-color: var(--color-background-primary);
color:var(--color-text-primary);
padding:60px 0 30px;
border-top: 1px solid var(--color-border);
}

.footer-content{
display:flex;
flex-wrap:wrap;
justify-content:space-between;
gap:30px;
text-align:left;
}

.footer-col{
flex:1;
min-width:220px;
max-width:280px;
margin-bottom:20px;
}

.footer-col h3{
font-size:1.3em;
margin-bottom:20px;
color:var(--color-text-primary);
}

.footer-col p,
.footer-col ul li{
font-size:0.95em;
line-height:1.6;
color:var(--color-text-primary);
opacity: 0.8;
}

.footer-col ul{
list-style:none;
padding:0;
margin:0;
}

.footer-col ul li{
margin-bottom:10px;
}

.footer-col ul li:last-child{
margin-bottom:0;
}

.footer-links a,
.footer-contact a{
text-decoration:none;
color:var(--color-text-primary);
transition:color 0.3s ease;
opacity: 0.8;
}

.footer-links a:hover,
.footer-contact a:hover{
color:var(--color-accent);
opacity: 1;
}

.footer-contact li i{
margin-right:10px;
font-size:1.1em;
color:var(--color-text-primary);
}

.social-icons{
display:flex;
margin-top:15px;
}

.social-icons a{
display:inline-flex;
align-items:center;
justify-content:center;
width:40px;
height:40px;
border-radius:50%;
background-color:var(--color-border);
color: var(--color-text-primary);
font-size: 1.2em;
margin-right: 10px;
text-decoration: none;
transition: background-color 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
background-color: var(--color-accent);
color: #121212;
}

.footer-bottom {
border-top: 1px solid var(--color-border);
margin-top: 40px;
padding-top: 20px;
text-align: center;
}

.footer-bottom p {
font-size: 0.85em;
color: var(--color-text-primary);
opacity: 0.7;
}

/* --- ESTILOS RESPONSIVOS PARA A IMAGEM E ORDEM --- */

@media (max-width: 768px) {
    .contact-model-content {
        flex-direction: column; /* Empilha o texto e a imagem verticalmente */
        text-align: center; /* Centraliza o conteúdo dentro do container */
    }

    .contact-text-wrapper {
        text-align: center; /* Garante que o texto esteja centralizado */
        order: 1; /* << MUDANÇA AQUI: Texto e botão vêm primeiro */
    }
    
    .model-image-wrapper {
        order: 2; /* << MUDANÇA AQUI: Imagem da modelo vem depois */
        min-width: 200px;
        max-width: 250px; /* Ajuste conforme o tamanho desejado para a imagem mobile */
        margin-top: 20px; /* Espaçamento entre o texto e a imagem */
    }

    /* Esconde a imagem original (desktop) em telas menores */
    .desktop-model-image {
        display: none;
    }

    /* Mostra a imagem vertical (mobile) em telas menores */
    .mobile-model-image {
        display: block;
    }
}

/* --------------------------------------- */
/* 11. BANNER DE CONSENTIMENTO DE COOKIES */
/* --------------------------------------- */
.cookie-banner {
    position: fixed;
    bottom: 0; /* Começa alinhado na parte de baixo */
    left: 0;
    width: 100%;
    background-color: rgba(30, 30, 30, 0.9);
    backdrop-filter: blur(5px);
    color: var(--color-text-primary);
    padding: 20px;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    
    /* TRANSIÇÃO SUAVE */
    transition: transform 0.5s ease-in-out, visibility 0.5s;

    /* REGRA PARA ESCONDER (empurra 100% da sua própria altura para baixo) */
    transform: translateY(100%);
    visibility: hidden;
}

.cookie-banner.show {
    /* A classe 'show' traz o banner de volta para a posição original */
    transform: translateY(0);
    visibility: visible;
}

.cookie-text {
    margin: 0;
    font-size: 0.9em;
    opacity: 0.9;
    flex-grow: 1; /* Faz o texto ocupar o espaço disponível */
}

.cookie-text a {
    color: var(--color-accent); /* Usa a cor laranja de destaque */
    text-decoration: underline;
}

.btn-cookie-accept {
    background-color: var(--color-accent);
    color: #fff; /* Cor do texto do botão */
    border: none;
    border-radius: 8px;
    padding: 12px 25px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    flex-shrink: 0; /* Evita que o botão encolha */
}

.btn-cookie-accept:hover {
    background-color: var(--color-accent-hover);
}

/* Responsividade para o banner de cookies */
@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }
    .cookie-text {
        margin-bottom: 15px;
    }
}

/* --------------------------------------- */
/* 12. PÁGINA DE POLÍTICA DE PRIVACIDADE  */
/* --------------------------------------- */

/* O container que envolve o texto da política */
.policy-container {
    width: 90%; /* Ocupa 80% da largura da tela */
    max-width: 900px; /* Limite máximo para telas muito grandes */
    margin: 60px auto; /* Centraliza a caixa na horizontal e dá espaço em cima/baixo */
    padding: 40px;
    background-color: var(--color-background-secondary); /* Um fundo sutil para destacar a caixa */
    border-radius: 8px;
    border: 1px solid var(--color-border);
}

/* Estilos para os textos DENTRO da caixa */
.policy-container h1 {
    font-size: 2em; /* Título principal menor e mais discreto */
    text-align: center;
    margin-bottom: 30px;
}

.policy-container h2 {
    font-size: 1.4em; /* Subtítulos menores */
    margin-top: 30px;
    margin-bottom: 15px;
}

.policy-container p,
.policy-container li {
    font-size: 0.9em; /* Fonte do texto menor, como pediu */
    line-height: 1.8; /* Aumenta o espaçamento entre linhas para facilitar a leitura */
    color: var(--color-text-primary);
    opacity: 0.85; /* Deixa o texto um pouco menos "brilhante", mais discreto */
}

.policy-container ul {
    padding-left: 20px; /* Adiciona um recuo padrão para listas */
}

.policy-container a {
    color: var(--color-accent); /* Mantém os links com a cor de destaque */
}
/* Estilo para o botão de voltar na pág. de privacidade */
.voltar-container {
    text-align: center; /* Centraliza o botão */
    margin-top: 40px; /* Dá um espaço acima do botão */
    padding-top: 30px;
    border-top: 1px solid var(--color-border); /* Linha divisória sutil */
}

.btn-voltar {
    display: inline-block;
    background-color: transparent;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-voltar:hover {
    background-color: var(--color-accent);
    color: #fff;
}

/* --------------------------------------- */
/* 13. PÁGINAS DE LOGIN E CADASTRO         */
/* --------------------------------------- */

/* 13. PÁGINAS DE LOGIN E CADASTRO E CONTEÚDO INTERNO */
.login-section, .cadastro-section, .page-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 120px 0; 
    min-height: calc(100vh - 150px);
}

.form-container {
    background-color: var(--color-background-secondary); 
    padding: 40px; 
    border-radius: 8px; 
    border: 1px solid var(--color-border);
    width: 100%; 
    max-width: 450px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.form-container h1 {
    text-align: center; 
    margin-bottom: 30px; 
}

.form-group { 
    margin-bottom: 20px; 
}

.form-group label { 
    display: block; 
    margin-bottom: 8px; 
    font-size: 0.9em;
}

.form-group input, .form-group textarea { 
    width: 100%; 
    padding: 12px; 
    border-radius: 5px; 
    border: 1px solid var(--color-border); 
    background-color: var(--color-background-primary); 
    color: var(--color-text-primary); 
    font-size: 1em;
    font-family: Arial, sans-serif; /* Garante a mesma fonte */
    resize: vertical; /* Permite ao usuário redimensionar apenas na vertical */
}

.btn-submit { 
    width: 100%; 
    padding: 12px; 
    border: none; 
    border-radius: 8px; 
    background-color: var(--color-accent); 
    color: #fff; 
    font-weight: bold; 
    cursor: pointer;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: var(--color-accent-hover);
}

.extra-links { 
    display: flex; 
    justify-content: space-between; 
    margin-top: 25px; 
    font-size: 0.9em; 
}

.extra-links a { 
    color: var(--color-accent);
    text-decoration: none;
}
.extra-links a:hover {
    text-decoration: underline;
}

#mensagem {
    text-align: center;
    margin-top: 20px;
    font-weight: bold;
}

/* 14. BARRA DE RODAPÉ DO APLICATIVO */
body.auth-page { /* Usaremos uma classe para evitar que o padding afete o index */
    padding-bottom: 70px; 
}

.app-footer-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: var(--color-background-primary);
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 1000;
}

.app-footer-bar .fixed-btn {
    position: static;
}

/* Estilos para o Dashboard */
.dashboard-section {
    padding: 120px 20px;
    text-align: center;
}

.btn-logout {
    background-color: #c0392b; /* Um tom de vermelho */
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    font-weight: bold;
}

/* --------------------------------------- */
/* 15. MENU HAMBÚRGUER (PAINEL LATERAL)    */
/* --------------------------------------- */

/* Overlay - camada escura para o fundo */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1002; /* Acima de tudo, exceto o menu */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Painel do Menu */
.menu-panel {
    position: fixed;
    bottom: 60px; /* Alinhado com a barra de rodapé */
    right: 0;
    width: 280px; /* Largura do menu */
    height: auto;
    background-color: var(--color-background-secondary);
    border-left: 1px solid var(--color-border);
    border-top: 1px solid var(--color-border);
    border-top-left-radius: 12px;
    z-index: 1003; /* Acima de tudo */
    padding: 20px;
    
    /* Animação: começa fora da tela à direita */
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

.menu-panel.open {
    transform: translateX(0); /* Entra na tela */
}

.menu-panel ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-panel ul li a {
    display: flex;
    align-items: center;
    padding: 15px 10px;
    color: var(--color-text-primary);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    transition: background-color 0.2s ease;
}

.menu-panel ul li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.menu-panel ul li a i {
    margin-right: 15px;
    width: 20px;
    text-align: center;
    color: var(--color-accent);
}


/* --------------------------------------- */
/* 16. PÁGINA DE INSUMOS (Layout)          */
/* --------------------------------------- */

/* Container principal da página para centralizar o conteúdo */
.page-section .container {
    display: flex;
    flex-direction: column; /* Empilha os itens verticalmente */
    align-items: center;    /* Centraliza os itens horizontalmente */
    gap: 40px;              /* Espaço entre o formulário e a lista */
}

/* Estilo para a caixa da lista, para ficar igual à do formulário */
.list-container {
    width: 100%;
    max-width: 800px; /* Um pouco mais largo para a tabela */
    padding: 30px;
    background-color: var(--color-background-secondary);
    border-radius: 8px;
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.list-container h2 {
    text-align: center;
    margin-bottom: 20px;
}

/* Ajustes na tabela para ocupar o espaço */
.insumos-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
.insumos-table th, .insumos-table td {
    padding: 12px 15px; /* Aumenta o padding */
    border: 1px solid var(--color-border);
    text-align: left;
}
.insumos-table th {
    background-color: var(--color-background-primary); /* Fundo da coluna um pouco mais escuro */
}

.insumos-table button {
    padding: 5px 10px;
    border-radius: 5px;
    border: 1px solid var(--color-border);
    background-color: var(--color-background-secondary);
    color: var(--color-text-primary);
    cursor: pointer;
    margin-right: 5px;
}

.insumos-table button:hover {
    opacity: 0.8;
}

/* Estilos comuns para todos os campos */
.form-group input, .form-group select {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid var(--color-border);
    background-color: var(--color-background-primary);
    color: var(--color-text-primary);
    font-size: 1em;
}

/* Estilos APENAS para a caixa de seleção, para adicionar a seta */
.form-group select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%3E%3Cpath%20fill%3D%22%23FFFFFF%22%20d%3D%22M7%2010l5%205%205-5z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    cursor: pointer;
}
/* Remove as setas de 'aumentar/diminuir' do campo de número */

/* Para navegadores baseados em WebKit (Chrome, Safari, Edge) */
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}

/* Para Firefox */
input[type=number] {
  -moz-appearance: textfield;
}


/* CSS para o novo layout da página de insumos */
.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.btn-submit-small {
    padding: 8px 16px;
    font-size: 0.9em;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    background-color: var(--color-accent);
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.btn-submit-small:hover {
    background-color: var(--color-accent-hover);
}

.btn-secondary {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background-color: transparent;
    color: var(--color-text-primary);
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}
.btn-secondary:hover {
    background-color: var(--color-border);
}


/* AJUSTE 3: CSS para a tabela e ícones */
.insumos-table {
    font-size: 0.9em; /* Fonte menor */
}

.insumos-table .actions {
    text-align: center;
}

.btn-icon {
    background: transparent;
    border: none;
    color: var(--color-text-primary);
    cursor: pointer;
    font-size: 1.1em;
    padding: 5px;
    margin: 0 5px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}
.btn-icon:hover {
    opacity: 1;
}

.btn-icon.btn-edit:hover {
    color: var(--color-accent); /* Laranja ao passar o mouse */
}
.btn-icon.btn-delete:hover {
    color: #e74c3c; /* Vermelho ao passar o mouse */
}

/* Container para os botões de ação da página */
.page-actions {
    width: 100%;
    max-width: 800px; /* Alinha com a largura da lista */
    display: flex; /* Transforma o container em flexbox */
    justify-content: space-between; /* Joga os itens para as pontas */
    align-items: center; /* Alinha os itens verticalmente */
    margin-bottom: 20px;
}

/* Estilos para o Modal de Confirmação */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1002;
}

.modal-content {
    background-color: var(--color-background-secondary);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    width: 90%;
    max-width: 400px;
}

.modal-content h3 {
    margin-top: 0;
    margin-bottom: 15px;
}

.modal-content p {
    margin-bottom: 30px;
    opacity: 0.8;
}

.modal-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-danger {
    background-color: #e74c3c;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

/* Estilos para a lista de receitas */
.list-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.list-group-item {
    background-color: var(--color-background-secondary);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: var(--color-text-primary);
    transition: background-color 0.2s ease;
}
.list-group-item:hover {
    background-color: var(--color-border);
}
.list-item-main {
    display: flex;
    flex-direction: column;
}
.list-item-title {
    font-size: 1.1em;
    font-weight: bold;
}
.list-item-description {
    font-size: 0.9em;
    opacity: 0.7;
}
.list-item-side {
    display: flex;
    align-items: center;
    gap: 15px;
}
.list-item-cost {
    font-weight: bold;
    color: var(--color-accent);
}

.data-display {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid var(--color-border);
    background-color: var(--color-background-primary);
    color: var(--color-text-primary);
    font-size: 1em;
    min-height: 45px; /* Garante a mesma altura dos inputs */
    display: flex;
    align-items: center;
}

/* Arquivo: style.css (pode adicionar no final) */

.profile-summary {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Espaço entre os itens */
    padding: 20px 0;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--color-border);
}

.summary-item span {
    opacity: 0.7; /* Texto da etiqueta mais suave */
}

.summary-item strong {
    font-size: 1.1em;
}

.profile-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}

/* Um estilo para um botão secundário */
.btn-submit-secondary {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--color-accent);
    border-radius: 8px;
    background-color: transparent;
    color: var(--color-accent);
    font-weight: bold;
    cursor: pointer;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-submit-secondary:hover {
    background-color: var(--color-accent);
    color: #fff;
}

.price-display {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Alinha os preços à direita */
    gap: 4px;
}

.list-item-sale-price {
    font-weight: bold;
    color: #2ecc71; /* Cor verde para o preço de venda */
}

/* Para a página de detalhes */
.custo-display {
    display: flex;
    gap: 30px;
    text-align: right;
}

.price-details-sale h2 {
    color: #2ecc71; /* Cor verde para o preço de venda */
}

/* ============================================= */
/* ESTILOS DO NOVO DASHBOARD                     */
/* ============================================= */

/* Cabeçalho de boas-vindas */
.dashboard-header {
    text-align: center;
    margin-bottom: 50px;
}

.dashboard-header h1 {
    font-size: 1.8em; /* ANTES: 2.2em */
    margin-bottom: 5px;
}

.dashboard-header p {
    font-size: 1.1em;
    opacity: 0.8;
}

/* O container principal dos cards */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* O estilo de cada card individual */
.dashboard-card {
    background-color: var(--color-background-secondary);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 20px;
    text-decoration: none;
    color: var(--color-text-primary);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Ícone do card */
.card-icon i {
    font-size: 2.5em;
    color: var(--color-accent);
}

/* Conteúdo de texto do card */
.card-content {
    margin: 20px 0;
    text-align: left; /* ADICIONADO para alinhar à esquerda */
}
.card-content h3 {
    font-size: 1.2em; /* ANTES: 1.4em */
    margin-bottom: 10px;
}

.card-content p {
    font-size: 0.95em;
    opacity: 0.7;
    line-height: 1.5;
}

/* Ação "Acessar" no final do card */
.card-action {
    margin-top: auto; /* Empurra para o final do card */
    padding-top: 10px;
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    color: var(--color-accent);
}

/* ============================================= */
/* ESTILOS DO NOVO BANNER DE INSTALAÇÃO PWA      */
/* ============================================= */

.install-banner {
    position: fixed;
    bottom: 80px; /* Altura para ficar acima da barra de navegação inferior */
    left: 50%;
    width: calc(100% - 20px); /* Largura com margens laterais */
    max-width: 400px; /* Largura máxima em telas grandes */
    background-color: var(--color-background-secondary);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(20px);
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
}

.install-banner.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.install-banner-content {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.install-banner .close-btn {
    position: absolute;
    top: -25px;
    right: -25px;
    width: 28px;
    height: 28px;
    background-color: var(--color-background-primary);
    border: 1px solid var(--color-border);
    color: var(--color-text-primary);
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    line-height: 28px;
    text-align: center;
}
.install-banner .close-btn:hover { background-color: var(--color-border); }
.install-banner .banner-icon { width: 50px; height: 50px; flex-shrink: 0; }
.install-banner .banner-text h3 { margin: 0 0 5px 0; font-size: 1.1em; color: var(--color-text-primary); }
.install-banner .banner-text p { margin: 0; font-size: 0.9em; opacity: 0.8; }
.install-banner-actions { display: flex; gap: 10px; margin-left: auto; }
.install-banner-actions button { padding: 8px 16px; border-radius: 6px; font-weight: bold; cursor: pointer; border: none; font-size: 0.9em; white-space: nowrap; }
.install-banner-actions .btn-install-primary { background-color: #27ae60; color: white; }
.install-banner-actions .btn-install-primary:hover { background-color: #2ecc71; }
.install-banner-actions .btn-install-secondary { background-color: transparent; color: var(--color-text-primary); }
.install-banner-actions .btn-install-secondary:hover { opacity: 0.7; }
#banner-description-ios { font-size: 0.85em; line-height: 1.5; }
#banner-description-ios i { display: inline-block; width: 20px; height: 20px; background-color: #fff; color: #000; text-align: center; line-height: 20px; border-radius: 4px; font-size: 12px; }
        
/* ============================================= */
/* AJUSTES RESPONSIVOS PARA DISPOSITIVOS MÓVEIS  */
/* ============================================= */

/* Aplica estes estilos em telas com largura máxima de 768px (celulares e tablets em modo retrato) */
@media (max-width: 768px) {

    /* Diminui a fonte principal do site em telas pequenas */
    html {
        font-size: 15px; /* O padrão é 16px, isso reduz tudo proporcionalmente */
    }

    /* Diminui o título principal do carrossel */
    .carousel-caption h3 {
        font-size: 2em; /* Estava 2.5em */
        line-height: 1.2; /* Melhora o espaçamento entre linhas */
    }

    /* Diminui o parágrafo do carrossel */
    .carousel-caption p {
        font-size: 1em; /* Estava 1.2em */
    }

    /* Ajusta a posição da legenda no celular para não ficar tão baixa */
    .carousel-caption {
        bottom: 30px;
        left: 30px;
        max-width: 85%; /* Permite ocupar um pouco mais da largura */
    }

    /* Ajusta o tamanho dos títulos das seções (Sobre, Planos, etc.) */
    .about-section h2, .video-section h2, .pricing-section h2, .testimonials-section h2 {
        font-size: 1.8em;
    }
}

/* Estilo para o novo botão de excluir insumo */
.btn-delete {
    background: none;
    border: none;
    color: var(--text-color-secondary);
    cursor: pointer;
    font-size: 1rem;
    padding: 5px;
    margin-left: 10px;
    transition: color 0.2s ease-in-out;
}

.btn-delete:hover {
    color: #e53e3e; /* Vermelho para indicar perigo */
}

/* ============================================= */
/* AJUSTES RESPONSIVOS PARA DISPOSITIVOS MÓVEIS  */
/* ============================================= */

/* Aplica estes estilos em telas com largura máxima de 768px (celulares e tablets em modo retrato) */
@media (max-width: 768px) {

    /* --- SUAS REGRAS GLOBAIS (JÁ EXISTEM E ESTÃO PERFEITAS) --- */
    html {
        font-size: 13px; /* O padrão é 16px, isso reduz tudo proporcionalmente */
    }

    .carousel-caption h3 {
        font-size: 1.6em; /* Estava 2.5em */
        line-height: 1.2; /* Melhora o espaçamento entre linhas */
    }

    /* ... (suas outras regras responsivas aqui) ... */


    /* --- NOVAS REGRAS (PARA REFINAR APENAS A TABELA DE INSUMOS) --- */
    .insumos-table {
        font-size: 0.75rem; /* Deixa a fonte da tabela ainda menor (85% de 15px) */
    }

    .insumos-table th, .insumos-table td {
        padding: 6px 8px;   /* Diminui o espaçamento interno das células */
        word-break: break-word; /* Quebra palavras longas para não estourar a tela */
    }

    .insumos-table .actions {
        min-width: 75px; 
    }

    .insumos-table .btn-icon {
        font-size: 1rem;    /* Diminui um pouco os ícones de editar/excluir */
    }
}

/* Estilo para desabilitar o card de download durante o processamento */
.dashboard-card.disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

/* ============================================= */
/* ESTILOS PARA A PÁGINA CUSTO EXPRESS           */
/* ============================================= */

.custo-express-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.custo-display-express {
    background-color: var(--color-background-secondary);
    padding: 15px 25px;
    border-radius: 8px;
    text-align: right;
    border: 1px solid var(--color-border);
}

.custo-display-express span {
    font-size: 0.9em;
    opacity: 0.8;
}

.custo-display-express h2 {
    color: var(--color-accent);
    font-size: 2.2em;
    margin: 0;
}

.form-container-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}

.form-container-footer a {
    color: var(--color-accent);
    font-weight: bold;
}

/* ============================================= */
/* AJUSTES DE LAYOUT PARA A PÁGINA DE PERFIL     */
/* ============================================= */

/* Divide as seções "Meu Plano" e "Meus Dados" com uma linha */
.profile-section {
    padding: 25px 0;
    border-bottom: 1px solid var(--color-border);
}
/* Remove a borda da última seção */
.profile-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Garante o alinhamento perfeito em cada item (ex: Nome ..... Humberto) */
.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05); /* Linha sutil entre os itens */
}
.summary-item:last-child {
    border-bottom: none;
}

/* Garante que o botão/link não tenha o sublinhado */
.btn-submit-small {
    text-decoration: none !important; /* Remove o sublinhado */
}
.btn-submit-small:hover {
    text-decoration: none !important; /* Garante que não apareça no hover */
    color: #fff;
}

/* ============================================= */
/* ESTILOS PARA A CHAMADA DE TESTE (TRIAL CTA)   */
/* ============================================= */
.trial-cta-section {
    background-color: var(--color-accent);
    color: #121212; /* Texto escuro para contrastar com o fundo laranja */
    padding: 15px 0;
    text-align: center;
}
.trial-cta-section .container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.trial-cta-section p {
    margin: 0;
    font-size: 1.1em;
    font-weight: 500;
}
.btn-cta {
    background-color: #fff;
    color: var(--color-accent);
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: transform 0.2s ease;
    white-space: nowrap;
}
.btn-cta:hover {
    transform: scale(1.05);
}

.message-card {
  background-color: var(--color-background-secondary);
  color: var(--color-text-primary);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 30px;
  max-width: 500px;
  margin: 40px auto;
  text-align: center;
  box-shadow: var(--shadow-elevation-1);
}

.message-card h3 {
  color: var(--color-accent);
  margin-bottom: 20px;
  font-size: 1.8rem;
  font-weight: 600;
}

.message-card h3 i {
  margin-right: 10px;
}

.message-card p {
  line-height: 1.6;
  font-size: 1rem;
  margin-bottom: 15px;
}

.message-card strong {
  color: var(--color-accent-hover);
  font-size: 1.1rem;
}

.message-info {
  margin-top: 30px;
  border-top: 1px dashed var(--color-border);
  padding-top: 20px;
  font-size: 0.9rem;
  color: var(--color-placeholder);
}

.message-info p:last-child {
    margin-bottom: 0;
}