/* --- PALETA DE CORES E VARIÁVEIS CSS --- */
:root {
    --primary-color: #00be61;       /* Verde principal para CTAs e destaques */
    --primary-color-dark: #00994d;  /* Verde mais escuro para hovers e estados */
    --heading-color: #222222;        /* Cinza bem escuro para títulos (mais suave que preto puro) */
    --text-color: #333333;          /* Cinza médio para textos */
    --background-light: #f9f9f9;    /* Fundo cinza muito claro para seções */
    --background-lighter: #f4f4f4;  /* Fundo ainda mais claro para hero e CTA final */
    --background-dark: #222222;    /* Fundo escuro para o footer */
    --text-on-dark: #bbbbbb;        /* Texto claro para o footer */
    --border-color: #dddddd;        /* Cor para bordas sutis */
}

/* --- Configurações Gerais e Tipografia --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Nunito', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    padding-top: 0; /* Sem padding - o header controla o espaçamento */
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--heading-color);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.2rem; text-align: center; }
h3 { font-size: 1.4rem; }

p {
    margin-bottom: 20px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color-dark);
}

/* --- BARRA DE NAVEGAÇÃO --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    box-shadow: none;
    z-index: 1000;
    padding: 16px 0; /* 4px + 7px = 11px */
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 25px;
    background: #ffffff;
    border-radius: 50px;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
    padding-top: 14px;
    padding-bottom: 14px;
}

.logo {
    outline: none;
    display: flex;
    align-items: center;
}

.logo:focus {
    outline: none;
}

.logo img {
    max-height: 36px;
    display: block;
    outline: none;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.nav-links a {
    font-family: 'Nunito', sans-serif;
    color: var(--heading-color);
    font-weight: 500;
    text-decoration: none; /* Garante que não há sublinhado por padrão */
    font-size: 1rem;
    padding: 0 15px; /* Apenas padding horizontal para alinhamento vertical correto */
    line-height: 1; /* Remove altura extra do line-height */
    display: inline-block; /* Garante que padding e line-height funcionem corretamente */
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links a.active {
    color: var(--primary-color);
    position: relative;
    text-decoration: none;
}

.nav-links a.active::after {
    display: none;
}

.cta-nav {
    background-color: #fff;
    color: var(--primary-color) !important;
    padding: 10px 20px !important;
    border-radius: 50px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(0, 190, 97, 0.2);
    transition: all 0.3s ease;
}

.cta-nav:hover {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    box-shadow: 0 6px 16px rgba(0, 190, 97, 0.3);
}

.cta-nav.active::after {
    display: none;
}

/* --- Botões (CTAs) --- */
.cta-principal, .cta-secundario {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    text-shadow: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.cta-principal:hover, .cta-secundario:hover {
    background-color: var(--primary-color-dark);
    color: #fff;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-link {
    display: block;
    font-weight: 600;
    text-decoration: none;
    margin: 30px auto 0;
    text-align: center;
    max-width: fit-content;
    color: var(--primary-color);
    font-size: 19px;
    padding: 10px 25px;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-link:hover {
    color: #fff;
    background-color: var(--primary-color);
    text-decoration: none;
}

.cta-secundario {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    font-size: 0.9rem;
    padding: 12px 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* --- Seções Padrão --- */
section {
    padding: 80px 0;
}

/* --- Seção 1: Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background-lighter);
    color: var(--heading-color);
}

/* Grid do Hero: 60% / 40% com sobreposição */
.hero-grid {
    display: grid;
    grid-template-columns: 3fr 2fr; /* 60% / 40% */
    gap: 0; /* Remove o gap para permitir sobreposição */
    align-items: center;
    position: relative;
}

/* Conteúdo à esquerda */
.hero-content {
    text-align: left;
    z-index: 2; /* Coloca o conteúdo acima da imagem */
    position: relative;
    padding-right: 40px; /* Adiciona espaço à direita */
}

.hero-content h1 {
    color: var(--heading-color);
    text-shadow: none;
}

.hero .sub-headline {
    font-size: 1.2rem;
    margin: 0 0 40px 0;
    font-weight: 400;
    width: 90%;
    color: var(--text-color);
}

/* Imagem à direita */
.hero-image {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    z-index: 1; /* Coloca a imagem abaixo do texto */
    margin-left: -110px;
}

.hero-image img {
    width: 110%;
    height: auto;
    max-width: 600px;
    display: block;
}

/* --- Seção 2: Dor --- */
.section-dor {
    background-color: #fff;
}

.section-dor p,
.section-solucao p,
.section-compromissos p,
.section-planos p,
.section-cta-final p {
    text-align: left;
}

.pain-points-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 0 40px;
    box-sizing: border-box;
}

/* Estilo base para pain-point - Replicando estilo dos pillar-cards */
.pain-point {
    background: #fff;
    border-radius: 15px;
    padding: 40px 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    text-align: center;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    position: relative;
    font-family: 'Nunito', sans-serif;
    flex: 1 1 280px;
    max-width: 350px;
    min-width: 280px;
}

.pain-point:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12) !important;
}

.pain-point h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--heading-color);
    font-family: 'Nunito', sans-serif;
    margin-bottom: 20px;
}

.pain-point p {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 0;
    flex-grow: 1;
    font-family: 'Nunito', sans-serif;
}

/* Ícone no topo do card */
.pain-point-icon {
    font-size: 3.2rem;
    margin-bottom: 25px;
    text-align: center;
}

/* Cores dos ícones para cada pain-point */
.pain-point-yellow .pain-point-icon {
    color: #F5A623;
}

.pain-point-red .pain-point-icon {
    color: #F8585B;
}

.pain-point-blue .pain-point-icon {
    color: #2a465d;
}

.pain-point-green .pain-point-icon {
    color: #00be61;
}

.pain-point-purple .pain-point-icon {
    color: #8B4789;
}

/* Card central destacado - fundo escuro (segundo card) */
.pain-point-red {
    background: #2a465d;
    border-color: #2a465d;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.pain-point-red h3 {
    color: #ffffff;
}

.pain-point-red p {
    color: #f0f0f0;
}

.pain-point-red p span {
    color: #ffffff;
}

.pain-point-red .pain-point-icon {
    color: #F8585B;
}

/* --- Seção 3: Solução --- */
.section-solucao {
    background-color: var(--background-light);
}

#central-statement {
    text-decoration: underline;
}

.solucao-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.solucao-conteudo {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.solucao-imagem img {
    width: 90%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    border-left: 0px solid var(--primary-color);
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.card ul {
    list-style-type: none;
}

.card ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    font-size: 0.95rem;
}

.card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    font-weight: bold;
    color: var(--primary-color);
}

/* --- Seção 4: Compromissos (NOVA) --- */
.section-compromissos {
    background-color: #fff;
    text-align: center;
}

#trans-digi {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
    text-decoration: none;
    text-decoration-color: #222222;
}

.compromissos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 0 40px;
    box-sizing: border-box;
}

/* Estilo dos cards de compromisso - Replicando estilo dos pillar-cards */
.compromisso-item {
    background: #fff;
    border-radius: 15px;
    padding: 40px 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    text-align: center;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    position: relative;
    font-family: 'Nunito', sans-serif;
    flex: 1 1 280px;
    max-width: 350px;
    min-width: 280px;
}

.compromisso-item:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12) !important;
}

.compromisso-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 20px;
    font-family: 'Nunito', sans-serif;
}

.compromisso-item p {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 0;
    flex-grow: 1;
    font-family: 'Nunito', sans-serif;
}

/* Cores dos ícones para cada card de compromisso */
.compromisso-item.pain-point-red .pain-point-icon {
    color: #F8585B;
}

.compromisso-item.pain-point-green .pain-point-icon {
    color: #00be61;
}

.compromisso-item.pain-point-purple .pain-point-icon {
    color: #8B4789;
}

.compromisso-item.pain-point-yellow .pain-point-icon {
    color: #F5A623;
}

/* Card central destacado - Previsibilidade & Escalabilidade Real */
.compromisso-item.pain-point-purple {
    background: #2a465d;
    border-color: #2a465d;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.compromisso-item.pain-point-purple h3 {
    color: #ffffff;
}

.compromisso-item.pain-point-purple p {
    color: #f0f0f0;
}

.compromisso-item.pain-point-purple p span {
    color: #ffffff;
}

.compromisso-item.pain-point-purple .pain-point-icon {
    color: #F5A623;
}

/* --- Seção 5: Inspire-se --- */
.section-inspire-se {
    background-color: var(--background-light);
    text-align: center;
}

.lista-artigos {
    list-style: none;
    max-width: 700px;
    margin: 40px auto 0;
    text-align: left;
}

.lista-artigos li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.lista-artigos li a {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #2a465d;
    padding-right: 10px;
}

.lista-artigos li a span {
    color: #2a465d;
}

.lista-artigos li:last-child {
    border-bottom: none;
}

/* --- Seção 6: Planos (NOVA) --- */
.section-planos {
    background-color: #fff;
    text-align: center;
}

/* Cards do Ciclo de Vida - Grid Simples */
.lifecycle-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 60px;
}

.lifecycle-card {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px 25px;
    transition: all 0.3s ease;
}

.lifecycle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.lifecycle-card h4 {
    font-size: 1.2rem;
    color: var(--heading-color);
    margin-bottom: 8px;
    font-weight: 700;
}

.card-duration {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
    padding: 4px 12px;
    background: rgba(0, 190, 97, 0.1);
    border-radius: 12px;
}

.lifecycle-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Grid dos Planos */
.planos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
    align-items: start;
}

.plano-card {
    background: #f9f9f9;
    padding: 0;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    text-align: left;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.plano-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
    border-color: var(--primary-color);
}

/* Badge do Plano */
.plano-badge {
    background: var(--primary-color);
    color: #fff;
    padding: 10px 20px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.plano-badge-destaque {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
}

.plano-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    padding: 30px 30px 0;
    color: var(--heading-color);
}

.plano-descricao {
    margin-bottom: 25px;
    color: var(--text-color);
    line-height: 1.7;
    padding: 0 30px;
}

/* Box de Preço */
.plano-preco-box {
    background: #fff;
    padding: 25px 30px;
    margin: 0 0 30px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.plano-label {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 10px;
    font-weight: 500;
}

.plano-valor {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 5px;
}

.plano-obs {
    display: block;
    font-size: 0.8rem;
    color: #888;
    font-style: italic;
}

/* Features dos Planos */
.plano-features,
.plano-restricoes,
.plano-vantagens,
.plano-pagamento {
    padding: 0 30px 25px;
}

.plano-features h4,
.plano-restricoes h4,
.plano-vantagens h4 {
    font-size: 1rem;
    color: var(--heading-color);
    margin-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plano-features ul,
.plano-restricoes ul,
.plano-vantagens ul {
    list-style: none;
    margin-bottom: 0;
}

.plano-features ul li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    font-size: 0.9rem;
    line-height: 1.6;
}

.plano-features ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.plano-features ul li strong {
    color: var(--heading-color);
    font-weight: 600;
}

/* Listas de Restrições e Vantagens */
.restricoes-list li,
.vantagens-list li {
    margin-bottom: 10px;
    padding-left: 0;
    font-size: 0.95rem;
}

.restricoes-list li::before,
.vantagens-list li::before {
    content: none;
}

/* Seção de Pagamento */
.plano-pagamento {
    background: rgba(0, 190, 97, 0.05);
    padding: 20px 30px;
    margin-top: 20px;
    border-top: 2px solid var(--primary-color);
}

.plano-pagamento p {
    margin-bottom: 10px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.plano-pagamento strong {
    color: var(--heading-color);
}

/* Destaque para o Plano Custom */
.plano-custom {
    /* Removido destaque verde para manter consistência com plano-basico */
}

/* CTA Box no Final */
.planos-cta-box {
    background: linear-gradient(135deg, var(--background-lighter), #fff);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 50px 40px;
    text-align: center;
    margin-top: 60px;
}

.planos-cta-box h3 {
    font-size: 1.8rem;
    color: var(--heading-color);
    margin-bottom: 15px;
}

.planos-cta-box p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.planos-cta-box .cta-principal {
    display: inline-block;
}

/* --- Seção 7: CTA Final --- */
.section-cta-final {
    background-color: var(--background-lighter);
    text-align: center;
}

.form-contato {
    max-width: 700px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-contato input,
.form-contato textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
}

.form-contato textarea {
    resize: vertical;
}

/* --- Centralização do Botão Final do Formulário --- */
.form-contato .cta-principal {
    display: block;
    margin: 40px auto 0;
}

/* --- Footer --- */
.main-footer {
    background-color: var(--background-dark);
    color: var(--text-on-dark);
    padding: 40px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-coluna {
    display: flex;
    flex-direction: column;
}

.footer-coluna h4 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.footer-coluna p {
    color: var(--text-on-dark);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

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

.footer-coluna ul li {
    margin-bottom: 10px;
}

.footer-coluna ul li a {
    color: var(--text-on-dark);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-coluna ul li a:hover {
    color: #fff;
}

.footer-coluna .social-links {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.footer-coluna .social-links a {
    display: inline-block;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background-color 0.3s ease;
}

.footer-coluna .social-links a:hover {
    background-color: var(--primary-color);
}

.footer-copyright {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: var(--text-on-dark);
}

.footer-copyright p {
    margin: 0;
    font-size: 0.85rem;
}

/* --- Responsividade --- */
@media (max-width: 768px) {
    body {
        padding-top: 120px;
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; }

    .main-header .container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .pain-points-grid,
    .solucao-grid,
    .planos-grid,
    .form-grid,
    .lifecycle-timeline,
    .compromissos-grid {
        grid-template-columns: 1fr;
    }
    
    .solucao-conteudo {
        order: 2;
    }
    .solucao-imagem {
        order: 1;
    }
    .solucao-imagem img {
        width: 100%;
    }

    .cta-secundario {
        bottom: 15px;
        right: 15px;
        font-size: 0.8rem;
        padding: 10px 15px;
    }

    /* --- AJUSTE RESPONSIVO PARA O HERO --- */
    .hero-grid {
        grid-template-columns: 1fr; /* Uma coluna no mobile */
        gap: 30px;
        text-align: center;
    }

    .hero-content {
        text-align: center;
        padding-right: 0; /* Remove o padding no mobile */
    }

    .hero-image {
        order: -1; /* Coloca a imagem acima do conteúdo no mobile */
        margin-left: 0; /* Remove a margem negativa no mobile */
    }

    .hero-image img {
        max-width: 500px; /* Mantém um tamanho generoso no mobile */
    }

    /* Ajustes da Timeline Vertical em Mobile */
    .lifecycle-timeline-vertical {
        max-width: 100%;
        padding: 20px 10px;
    }

    /* Remove linha vertical no mobile */
    .lifecycle-timeline-vertical::before {
        display: none;
    }

    /* Layout em coluna única */
    .timeline-item {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-bottom: 40px;
    }

    /* Esconde espaçadores */
    .timeline-spacer {
        display: none;
    }

    /* Caixa centralizada */
    .timeline-box {
        order: 1;
        min-width: auto;
        padding: 12px 20px;
    }

    .timeline-box h4 {
        font-size: 1rem;
    }

    .timeline-duration {
        font-size: 0.8rem;
    }

    /* Descrição centralizada */
    .timeline-description {
        order: 2;
        text-align: center !important;
        padding: 0 10px;
    }

    .timeline-description p {
        font-size: 0.85rem;
    }

    /* Seta menor no mobile */
    .timeline-arrow-down {
        font-size: 1.5rem;
    }

    /* Ajustes dos Planos em Mobile */
    .plano-card h3 {
        font-size: 1.5rem;
        padding: 20px 20px 0;
    }

    .plano-descricao {
        padding: 0 20px;
        font-size: 0.95rem;
    }

    .plano-preco-box {
        padding: 20px;
    }

    .plano-valor {
        font-size: 2rem;
    }

    .plano-features,
    .plano-restricoes,
    .plano-vantagens,
    .plano-pagamento {
        padding: 0 20px 20px;
    }

    .planos-cta-box {
        padding: 30px 20px;
    }

    .planos-cta-box h3 {
        font-size: 1.5rem;
    }

    .planos-cta-box p {
        font-size: 1rem;
    }
}

/* --- Classes Utilitárias --- */
.highlight {
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.underline {
    font-weight: 500;
    text-decoration: underline;
}

.text-blue-shadow {
    color: #2a465d;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.text-blue-shadow-light {
    color: #2a465d;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.text-green-shadow {
    color: #00be61;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.text-green-shadow-dark {
    color: #00b060;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.text-red-shadow {
    color: #91001d;
}

.text-weight-500 {
    font-weight: 500;
}

.text-weight-600 {
    font-weight: 600;
}

.text-weight-700 {
    font-weight: 700;
}

.text-weight-800 {
    font-weight: 800;
}

.text-size-1-1 {
    font-size: 1.1rem;
}

.text-size-1-6 {
    font-size: 1.6rem;
}

.text-size-3 {
    font-size: 3rem;
}

.tooltip-text {
    cursor: help;
    border-bottom: 1px dotted #2a465d;
}

.tooltip-text-white {
    cursor: help;
    border-bottom: 1px dotted white;
}

.tooltip-text-dark {
    cursor: help;
    border-bottom: 1px dotted #222222;
}

.margin-top-neg-12 {
    margin-top: -12px;
}

.margin-top-neg-14 {
    margin-top: -14px;
}

.margin-top-20 {
    margin-top: 20px;
}

.margin-top-27 {
    margin-top: 27px;
}

.margin-top-80 {
    margin-top: 80px;
}

/* --- Gantt Chart Styles --- */
.gantt-container {
    margin: 40px 0;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.gantt-phase-header {
    position: relative;
    height: 40px;
    margin-bottom: 10px;
}

.phase-header-section {
    position: absolute;
    top: 0;
    height: 100%;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #555;
    border-radius: 5px;
}

.gantt-header {
    margin-bottom: 20px;
}

.gantt-timeline-bar {
    position: relative;
    height: 40px;
    background-color: #f0f0f0;
    border-radius: 5px;
    display: flex;
    align-items: center;
}

.timeline-marker {
    position: absolute;
    font-size: 14px;
    color: #666;
    transform: translateX(-50%);
}

.gantt-chart {
    position: relative;
    height: 360px;
    margin-bottom: 20px;
    background-color: #fafafa;
    border-radius: 8px;
    padding-top: 10px;
}

.gantt-row {
    position: relative;
    height: 50px;
    margin-bottom: 10px;
    border-bottom: 1px dashed #e0e0e0;
}

.gantt-chart .gantt-row:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.gantt-bar {
    height: 40px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: absolute;
    top: 5px; 
    padding: 0 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 2;
    font-size: clamp(12px, 1.2vw, 14px);
}

.gantt-bar:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.phase-1 { background-color: #4A90E2; }
.phase-2 { background-color: #50C878; }
.phase-3 { background-color: #F5A623; }
.phase-4 { background-color: #BD10E0; }
.phase-5 { background-color: #7ED321; }
.phase-6 { background-color: #F8585B; }

.phase-title {
    text-align: center;
    white-space: nowrap;
    display: inline-block;
}

.phase-details {
    margin-top: 20px;
}

.phase-detail {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: none;
    border-left: 5px solid #4A90E2;
}

.phase-detail.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.gantt-tooltip {
    position: absolute;
    background-color: #ffffff;
    border: 2px solid #00be61;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    min-width: 320px;
    max-width: 400px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(10px);
    bottom: 60px;
    left: 50%;
    margin-left: -160px;
}

.gantt-bar:hover .gantt-tooltip {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.gantt-tooltip h4 {
    color: #00be61;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.gantt-tooltip .tooltip-section {
    margin-bottom: 12px;
}

.gantt-tooltip .tooltip-section:last-child {
    margin-bottom: 0;
}

.gantt-tooltip .tooltip-label {
    font-weight: 700;
    color: #222222;
    font-size: 0.85rem;
    margin-bottom: 4px;
    display: block;
}

.gantt-tooltip .tooltip-label i {
    color: #00be61;
    margin-right: 6px;
    font-size: 0.95rem;
}

.gantt-tooltip .tooltip-text {
    color: #555555;
    font-size: 0.8rem;
    line-height: 1.5;
}

.gantt-tooltip .tooltip-arrow {
    position: absolute;
    bottom: -10px;
    left: 50%;
    margin-left: -10px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #ffffff;
}

.gantt-tooltip .tooltip-arrow::before {
    content: '';
    position: absolute;
    bottom: 2px;
    left: -11px;
    width: 0;
    height: 0;
    border-left: 11px solid transparent;
    border-right: 11px solid transparent;
    border-top: 11px solid #00be61;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 100px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    min-width: 300px;
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideIn 0.3s ease-out;
    background: white;
    border-left: 4px solid;
}

.toast.success {
    border-left-color: #00be61;
}

.toast.error {
    border-left-color: #F8585B;
}

.toast-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.toast.success .toast-icon {
    color: #00be61;
}

.toast.error .toast-icon {
    color: #F8585B;
}

.toast-message {
    flex: 1;
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.toast-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.toast-close:hover {
    color: #333;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

.toast.hiding {
    animation: slideOut 0.3s ease-out forwards;
}

/* --- Toast Inline (abaixo do botão) --- */
.toast-message-inline {
    margin-top: 20px;
    padding: 16px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    animation: fadeInToast 0.3s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.toast-message-inline.toast-success {
    background-color: #d4edda;
    color: #155724;
    border: 2px solid #28a745;
}

.toast-message-inline.toast-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 2px solid #dc3545;
}

.toast-icon-inline {
    font-size: 20px;
    font-weight: 700;
}

.toast-message-inline.hiding {
    animation: fadeOutToast 0.3s ease-out forwards;
}

@keyframes fadeInToast {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOutToast {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}
