/* Estilos específicos para a página de planos */

/* Header da página de planos */
.header {
    background: rgba(13, 35, 66, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.header-scrolled {
    padding: 5px 0;
    background: rgba(8, 22, 40, 0.98);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
}

.header-scrolled .logo img {
    height: 45px;
}

.header-scrolled .nav-list li a {
    font-size: 0.95rem;
}

.header-scrolled .header-whatsapp-btn {
    padding: 6px 18px;
    font-size: 0.95rem;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo {
    display: block;
    margin-left: 15px;
}

.logo img {
    height: 50px;
    transition: all 0.3s ease;
}

.main-nav {
    margin-left: auto;
}

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

.nav-list li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.nav-list li a:hover,
.nav-list li a.active {
    color: #f5a623;
}

.nav-list li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #f5a623;
    transition: width 0.3s ease;
}

.nav-list li a:hover::after,
.nav-list li a.active::after {
    width: 100%;
}

.header-whatsapp-btn {
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, #25d366, #128C7E);
    color: #fff;
    padding: 8px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    margin-left: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.header-whatsapp-btn i {
    margin-right: 8px;
    font-size: 1.2rem;
}

.header-whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    background: linear-gradient(90deg, #1ebe57, #0d7066);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    margin-right: 15px;
}

.mobile-menu-btn span {
    width: 26px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero da página de planos */
.planos-hero {
    background: linear-gradient(135deg, #0d2342 0%, #081628 100%);
    position: relative;
    padding: 180px 0 100px;
    color: #fff;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: rgba(245, 166, 35, 0.05);
    top: -100px;
    left: -100px;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: rgba(245, 166, 35, 0.03);
    bottom: -200px;
    right: -200px;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.02);
    top: 30%;
    right: 10%;
}

.planos-hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

.planos-hero-content {
    flex: 1;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
    max-width: 800px;
    margin: 0 auto;
}

.planos-hero-content.animated {
    opacity: 1;
    transform: translateY(0);
}

.planos-hero-badge {
    display: inline-block;
    background: linear-gradient(90deg, #f5a623, #f27121);
    color: #fff;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(245, 166, 35, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.planos-hero-title {
    font-size: 3.5rem;
    margin-bottom: 25px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.planos-hero-title .highlight {
    color: #f5a623;
    position: relative;
}

.planos-hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #f5a623;
    border-radius: 3px;
}

.planos-hero-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.planos-hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    justify-content: center;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.planos-hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out 0.3s;
}

.planos-hero-image.animated {
    opacity: 1;
    transform: translateY(0);
}

.hero-main-image {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
    animation: float 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.hero-floating-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: pulse 4s ease-in-out infinite;
    z-index: 3;
}

.hero-element-1 {
    top: 20%;
    left: 0;
}

.hero-element-2 {
    bottom: 20%;
    right: 0;
}

.hero-floating-element i {
    font-size: 1.5rem;
    color: #f5a623;
}

.hero-floating-element span {
    font-weight: 600;
    font-size: 0.9rem;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Seção de planos */
.planos-section {
    padding: 100px 0;
    background-color: #f8fafc;
    position: relative;
    overflow: hidden;
}

.planos-section::before {
    content: '';
    position: absolute;
    top: -200px;
    left: -200px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(245, 166, 35, 0.03);
    z-index: 0;
}

.planos-section::after {
    content: '';
    position: absolute;
    bottom: -200px;
    right: -200px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(13, 35, 66, 0.03);
    z-index: 0;
}

.planos-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    position: relative;
    z-index: 1;
}

.planos-intro h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #081628;
    font-weight: 700;
    line-height: 1.3;
}

.planos-intro p {
    color: #555;
    font-size: 1.15rem;
    line-height: 1.6;
}

/* Tabs de planos */
.planos-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.tab-btn {
    background-color: #f1f5f9;
    border: none;
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.tab-btn:first-child {
    border-radius: 30px 0 0 30px;
}

.tab-btn:last-child {
    border-radius: 0 30px 30px 0;
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.tab-btn:hover::before {
    left: 100%;
}

.tab-btn.active {
    background-color: #0d2342;
    color: white;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #f5a623;
}

/* Cards de planos */
.planos-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

.plano-card {
    background: #fff;
    border-radius: 20px;
    padding: 50px 35px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 380px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateY(40px);
}

.plano-card:nth-child(1) {
    transition-delay: 0.2s;
}

.plano-card:nth-child(2) {
    transition-delay: 0.4s;
}

.plano-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.plano-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: -1;
}

.plano-card:hover {
    transform: translateY(-15px);
}

.plano-card:hover::after {
    opacity: 1;
}

.plano-card.featured {
    background: linear-gradient(135deg, #0d2342 0%, #081628 100%);
    color: white;
    transform: scale(1.05);
}

.plano-card.featured:hover {
    transform: scale(1.05) translateY(-15px);
}

.plano-card.featured .plano-description,
.plano-card.featured .plano-features li,
.plano-card.featured .period,
.plano-card.featured .secure-payment {
    color: rgba(255, 255, 255, 0.8);
}

.plano-card.featured h3,
.plano-card.featured .price {
    color: white;
}

.plano-card.featured .plano-features i {
    color: #f5a623;
}

.plano-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: #f5a623;
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 5px 15px rgba(245, 166, 35, 0.3);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.economia-badge {
    position: absolute;
    top: 20px;
    left: -10px;
    background: #4CAF50;
    color: white;
    padding: 8px 15px;
    border-radius: 0 30px 30px 0;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.economia-badge.economia-destaque {
    background: #2E7D32;
}

.plano-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #081628;
    text-align: center;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.plano-description {
    color: #555;
    margin-bottom: 25px;
    text-align: center;
    font-size: 1rem;
    line-height: 1.6;
}

.plano-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.plano-features li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    color: #333;
    font-weight: 500;
}

.plano-features li:last-child {
    border-bottom: none;
}

.plano-features i {
    color: #f5a623;
    margin-right: 10px;
    font-size: 18px;
    min-width: 20px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.plano-price {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.plano-price::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: rgba(245, 166, 35, 0.5);
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: #081628;
    line-height: 1;
    letter-spacing: -1px;
}

.period {
    font-size: 1.2rem;
    color: #777;
    margin-left: 5px;
}

.plano-btn {
    display: block;
    background: #081628;
    color: white;
    text-align: center;
    padding: 18px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 15px;
}

.plano-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.plano-btn:hover {
    background: #0a2540;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(8, 22, 40, 0.2);
}

.plano-btn:hover::before {
    left: 100%;
}

.plano-btn.featured-btn {
    background: #f5a623;
}

.plano-btn.featured-btn:hover {
    background: #e09000;
    box-shadow: 0 10px 20px rgba(245, 166, 35, 0.3);
}

.secure-payment {
    text-align: center;
    color: #777;
    font-size: 0.9rem;
}

.secure-payment i {
    margin-right: 5px;
}

/* Seção de funcionalidades */
.funcionalidades-section {
    padding: 100px 0;
    background-color: #0d2342;
    color: white;
    position: relative;
    overflow: hidden;
}

.funcionalidades-section::before {
    content: '';
    position: absolute;
    top: -300px;
    right: -300px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(245, 166, 35, 0.05);
    z-index: 0;
}

.funcionalidades-section .section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: white;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.funcionalidades-section .section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.funcionalidades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.funcionalidade-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
}

.funcionalidade-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.funcionalidade-icon {
    width: 80px;
    height: 80px;
    background: rgba(245, 166, 35, 0.15);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
}

.funcionalidade-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.2) 0%, rgba(245, 166, 35, 0) 100%);
    top: 0;
    left: 0;
}

.funcionalidade-icon i {
    font-size: 30px;
    color: #f5a623;
}

.funcionalidade-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #f5a623; /* Alterado para laranja/amarelo para melhor contraste */
    font-weight: 600;
}

.funcionalidade-card p {
    color: #ffffff; /* Alterado para branco para melhor contraste */
    line-height: 1.6;
    opacity: 0.9;
}

/* Seção de comparativo */
.comparativo-section {
    padding: 100px 0;
    background-color: #f8fafc;
    position: relative;
    overflow: hidden;
}

.comparativo-section::before {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(13, 35, 66, 0.03);
    z-index: 0;
}

.comparativo-section .section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #555;
}

.comparativo-section .section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    color: #555;
    font-size: 1.1rem;
}

.tabela-comparativa {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 40px;
}

.tabela-comparativa table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

.tabela-comparativa th {
    background-color: #081628;
    color: #fff;
    padding: 15px;
    text-align: left;
}

.tabela-comparativa th:first-child {
    border-radius: 10px 0 0 0;
    width: 50%;
}

.tabela-comparativa th:last-child {
    border-radius: 0 10px 0 0;
}

.tabela-comparativa td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.tabela-comparativa tr:last-child td {
    border-bottom: none;
}

.tabela-comparativa tr:last-child td:first-child {
    border-radius: 0 0 0 10px;
}

.tabela-comparativa tr:last-child td:last-child {
    border-radius: 0 0 10px 0;
}

.tabela-comparativa tr:nth-child(even) {
    background-color: #f9f9f9;
}

.tabela-comparativa i.fa-check {
    color: #4CAF50;
    font-size: 18px;
}

.tabela-comparativa i.fa-times {
    color: #F44336;
    font-size: 18px;
}

.comparativo-cta {
    text-align: center;
    margin-top: 40px;
}

.comparativo-cta p {
    margin-top: 15px;
    color: #555;
}

/* Seção de FAQ */
.faq-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0d2342 0%, #081628 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: -300px;
    right: -300px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(245, 166, 35, 0.05);
    z-index: 0;
}

.faq-section .section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: white;
}

.faq-section .section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: rgba(245, 166, 35, 0.05);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #081628;
}

.faq-question i {
    color: #f5a623;
    transition: transform 0.3s;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
}

.faq-answer.active {
    padding: 0 20px 20px;
    max-height: 500px;
}

.faq-answer p {
    margin: 0;
    color: #555;
    line-height: 1.6;
}

/* Seção de CTA */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #081628 0%, #0a1f35 100%);
    text-align: center;
    color: #fff;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, 0.8);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Responsividade */
@media (max-width: 992px) {
    .planos-hero-title {
        font-size: 2.5rem;
    }
    
    .funcionalidades-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons a {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 992px) {
    .planos-hero .container {
        flex-direction: column;
    }
    
    .planos-hero-content,
    .planos-hero-image {
        text-align: center;
    }
    
    .planos-hero-subtitle {
        margin: 0 auto 30px;
    }
    
    .planos-hero-buttons {
        justify-content: center;
    }
    
    .hero-element-1 {
        top: 10%;
        left: 10%;
    }
    
    .hero-element-2 {
        bottom: 10%;
        right: 10%;
    }
}

@media (max-width: 768px) {
    .header-whatsapp-btn {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: #0d2342;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }
    
    .main-nav.active {
        max-height: 400px;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
    }
    
    .nav-list li {
        width: 100%;
    }
    
    .nav-list li a {
        display: block;
        padding: 15px 20px;
        text-align: center;
    }
    
    .planos-hero {
        padding: 120px 0 60px;
        min-height: auto;
    }
    
    .tabela-comparativa th,
    .tabela-comparativa td {
        padding: 10px;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .planos-hero-title {
        font-size: 2rem;
    }
    
    .planos-hero-subtitle,
    .cta-section p {
        font-size: 1rem;
    }
    
    .funcionalidade-card {
        padding: 20px;
    }
    
    .funcionalidade-icon {
        width: 60px;
        height: 60px;
    }
    
    .funcionalidade-icon i {
        font-size: 24px;
    }
}
