/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #070738;
    --secondary: #1A1A5E;
    --accent: #FE0000;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--primary);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.text-accent {
    color: var(--accent);
}

.text-success {
    color: var(--success);
}

.text-muted {
    color: var(--gray-500);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    border-radius: 0.5rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-accent {
    background-color: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.btn-accent:hover {
    background-color: #e00000;
    border-color: #e00000;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--accent);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
    text-align: center;
}

/* ===== HEADER (IDÊNTICO AO INDEX) ===== */
/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 4px 20px rgba(7, 7, 56, 0.1);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--primary);
}

.logoimg {
  height: 30px;
  width: 30px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.125rem;
  line-height: 1.2;
  color: var(--primary);
}

.logo-subtitle {
  font-size: 0.75rem;
  color: var(--secondary);
  font-weight: 500;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-desktop a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.nav-desktop a:hover {
  color: var(--accent);
}

.header > .container > .btn {
  display: none;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--primary);
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  background-color: var(--white);
  border-top: 1px solid var(--gray-200);
}

.nav-mobile.active {
  display: flex;
}

.nav-mobile a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 500;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-100);
}

.nav-mobile .btn {
  margin-top: 0.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
  
  .header > .container > .btn {
    display: inline-flex;
  }
  
  .menu-toggle {
    display: none;
  }
}


/* ===== PRICING HERO ===== */
.pricing-hero {
    padding: 140px 0 80px;
    background: linear-gradient(rgba(7, 7, 56, 0.9), rgba(7, 7, 56, 0.95)), 
                url('https://i.ibb.co/7djPWQf6/profess.png') center/cover;
    color: var(--white);
    text-align: center;
    position: relative;
}

.pricing-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: var(--accent);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    border-radius: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.pricing-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.pricing-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.period-toggle {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 1rem;
}

.toggle-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    padding: 0.75rem 1.5rem;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toggle-btn.active {
    background: var(--accent);
    color: var(--white);
}

.badge-save {
    background: var(--success);
    color: var(--white);
    font-size: 0.7rem;
    padding: 0.125rem 0.5rem;
    border-radius: 1rem;
    font-weight: 600;
}

/* ===== PRICING PLANS ===== */
.pricing-plans {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 50%, rgba(7, 7, 56, 0.03) 100%);
}

.plans-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .plans-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.plan-card {
    background: linear-gradient(135deg, var(--white), var(--gray-50));
    border: 2px solid var(--gray-200);
    border-radius: 1.5rem;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(7, 7, 56, 0.1);
    border-color: var(--primary);
}

.plan-card.popular {
    border-color: var(--accent);
    transform: scale(1.05);
}

.plan-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent), #ff4444);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    white-space: nowrap;
}

.plan-header {
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 1.5rem;
}

.plan-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.75rem;
    margin: 0 auto 1rem;
}

.plan-card.popular .plan-icon {
    background: linear-gradient(135deg, var(--accent), #ff4444);
}

.plan-name {
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.plan-desc {
    color: var(--gray-500);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.plan-price {
    margin: 1.5rem 0;
}

.price-amount {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.price-period {
    color: var(--gray-500);
    font-size: 1rem;
}

.price-save {
    margin-top: 0.5rem;
}

.save-amount {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.plan-features {
    flex: 1;
    margin-bottom: 1.5rem;
}

.plan-features h4 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 1rem;
    text-align: center;
}

.features-list {
    list-style: none;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-200);
    color: var(--gray-600);
}

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

.plan-tag {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

.plan-tag span {
    color: var(--gray-500);
    font-size: 0.9rem;
    font-style: italic;
}

.hidden {
    display: none;
}

/* ===== COMPARISON SECTION ===== */
.comparison-section {
    padding: 4rem 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--gray-500);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: 1rem;
    border: 1px solid var(--gray-200);
    box-shadow: 0 4px 20px rgba(7, 7, 56, 0.05);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.comparison-table th {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    padding: 1.25rem;
    text-align: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
}

.comparison-table th:first-child {
    text-align: left;
    border-radius: 1rem 0 0 0;
}

.comparison-table th:last-child {
    border-radius: 0 1rem 0 0;
}

.comparison-table td {
    padding: 1.25rem;
    text-align: center;
    border-bottom: 1px solid var(--gray-200);
    color: var(--gray-600);
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--primary);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:nth-child(even) {
    background: var(--gray-50);
}

.comparison-table i {
    font-size: 1.25rem;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 25px rgba(254, 0, 0, 0.1);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.faq-question:hover {
    background: var(--gray-50);
}

.faq-question h4 {
    font-size: 1.1rem;
    color: var(--primary);
    margin: 0;
    flex: 1;
}

.faq-question i {
    color: var(--gray-400);
    transition: transform 0.3s ease;
}

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

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}

.faq-answer p {
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

.faq-cta {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 1rem;
    color: var(--white);
}

.faq-cta p {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.faq-cta .btn {
    background: var(--white);
    color: var(--accent);
    font-weight: 700;
}

.faq-cta .btn:hover {
    background: var(--gray-100);
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(rgba(7, 7, 56, 0.9), rgba(7, 7, 56, 0.95)), 
                url('https://i.ibb.co/7djPWQf6/profess.png') center/cover;
    color: var(--white);
    text-align: center;
    position: relative;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== FOOTER (IDÊNTICO AO INDEX) ===== */
.footer {
    padding: 4rem 0 2rem;
    background: linear-gradient(180deg, var(--primary) 0%, #050530 100%);
    color: var(--white);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--secondary), var(--primary));
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-brand {
    max-width: 300px;
}

.logo.light .logo-name,
.logo.light .logo-subtitle {
    color: var(--white);
}

.logo.light .logo-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.footer-brand > p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 1rem 0;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: all 0.2s ease;
}

.social-links a:hover {
    background-color: var(--accent);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--white);
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-contact svg {
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 767px) {
    .pricing-hero {
        padding: 120px 0 60px;
    }
    
    .pricing-title {
        font-size: 2.25rem;
    }
    
    .pricing-subtitle {
        font-size: 1.1rem;
    }
    
    .period-toggle {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }
    
    .toggle-btn {
        width: 100%;
    }
    
    .plan-card.popular {
        transform: none;
    }
    
    .plan-card.popular:hover {
        transform: translateY(-10px);
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .comparison-table-wrapper {
        border-radius: 0.5rem;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .plan-card.popular {
        grid-column: span 2;
        transform: none;
    }
    
    .plan-card.popular:hover {
        transform: translateY(-10px);
    }
}