/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --whatsapp-green: #25D366;
    --whatsapp-dark: #075E54;
    --success-green: #10B981;
    --warning-orange: #F59E0B;
    --danger-red: #EF4444;
    --primary-blue: #3B82F6;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-900: #111827;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--gray-900);
    background-color: #ffffff;
}

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

/* Header */
.site-header {
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand .logo {
    max-height: 50px;
    width: auto;
}

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

.logo-text strong {
    font-size: 1.5rem;
    color: var(--whatsapp-dark);
    font-weight: 800;
}

.logo-text span {
    font-size: 0.85rem;
    color: var(--whatsapp-green);
    font-weight: 500;
}

.header-nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--whatsapp-green);
}

.nav-link.cta-link {
    background: var(--whatsapp-green);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link.cta-link:hover {
    background: var(--whatsapp-dark);
    color: white;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--whatsapp-dark) 0%, var(--whatsapp-green) 100%);
    color: white;
    padding: 60px 20px 50px;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 500;
}

.hero-badge i {
    font-size: 1.3rem;
}

/* Section Styling */
section {
    padding: 80px 20px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--gray-900);
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gray-600);
    max-width: 800px;
    margin: 0 auto 50px;
}

/* Basic Concept Section */
.basic-concept {
    background: var(--gray-50);
}

.concept-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 30px;
    margin-top: 40px;
}

.concept-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.concept-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.concept-card.free {
    border: 3px solid var(--success-green);
}

.concept-card.paid {
    border: 3px solid var(--warning-orange);
}

.concept-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.concept-card.free .concept-icon {
    color: var(--success-green);
}

.concept-card.paid .concept-icon {
    color: var(--warning-orange);
}

.concept-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--gray-900);
}

.concept-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.concept-badge.success {
    background: #D1FAE5;
    color: #065F46;
}

.concept-badge.warning {
    background: #FEF3C7;
    color: #92400E;
}

.concept-benefits,
.concept-drawbacks {
    list-style: none;
    margin-top: 20px;
}

.concept-benefits li,
.concept-drawbacks li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.concept-benefits li i {
    color: var(--success-green);
    font-size: 1.2rem;
}

.concept-drawbacks li i {
    color: var(--warning-orange);
    font-size: 1.2rem;
}

/* Window Explanation Section */
.window-visual {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-top: 40px;
}

.timeline-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.timeline-step {
    display: flex;
    gap: 30px;
    position: relative;
}

.timeline-step::after {
    content: '';
    position: absolute;
    left: 27px;
    top: 60px;
    width: 2px;
    height: calc(100% + 40px);
    background: var(--gray-200);
}

.timeline-step:last-child::after {
    display: none;
}

.step-number {
    flex-shrink: 0;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--whatsapp-green), var(--whatsapp-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.timeline-step.expired .step-number {
    background: linear-gradient(135deg, var(--gray-400), var(--gray-600));
}

.step-content {
    flex: 1;
}

.step-content h4 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--gray-900);
}

.step-content h4 i {
    margin-right: 8px;
    color: var(--whatsapp-green);
}

.step-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.time-badge {
    display: inline-block;
    padding: 10px 20px;
    background: var(--gray-100);
    border-radius: 8px;
    font-weight: 600;
    margin-top: 15px;
    font-size: 0.95rem;
}

.time-badge.renew {
    background: #D1FAE5;
    color: #065F46;
}

.time-badge.expired {
    background: #FEE2E2;
    color: #991B1B;
}

.cost-badge {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 15px;
}

.cost-badge.free {
    background: #D1FAE5;
    color: #065F46;
}

.next-step {
    margin-top: 20px;
    padding: 20px;
    background: #FEF3C7;
    border-radius: 8px;
    border-left: 4px solid var(--warning-orange);
}

.key-insight {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-top: 50px;
    padding: 30px;
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    border-radius: 16px;
    border-left: 5px solid var(--warning-orange);
}

.key-insight i {
    font-size: 2.5rem;
    color: var(--warning-orange);
}

.key-insight h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* Templates Section */
.templates-explanation {
    background: var(--gray-50);
}

.template-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.template-intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.template-intro-text p {
    margin-bottom: 20px;
}

.template-approval-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 30px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.approval-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.approval-step i {
    color: var(--whatsapp-green);
    font-size: 1.5rem;
}

.template-categories h3 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--gray-900);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 30px;
}

.category-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-top: 5px solid;
}

.category-card.marketing {
    border-top-color: #EF4444;
}

.category-card.utility {
    border-top-color: #3B82F6;
}

.category-card.authentication {
    border-top-color: #8B5CF6;
}

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

.category-header i {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.category-card.marketing .category-header i {
    color: #EF4444;
}

.category-card.utility .category-header i {
    color: #3B82F6;
}

.category-card.authentication .category-header i {
    color: #8B5CF6;
}

.category-header h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.price-tag {
    display: inline-block;
    padding: 6px 12px;
    background: #FEE2E2;
    color: #991B1B;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
}

.price-tag.affordable {
    background: #DBEAFE;
    color: #1E40AF;
}

.category-description {
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.6;
}

.category-examples {
    background: var(--gray-50);
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
}

.category-examples strong {
    display: block;
    margin-bottom: 10px;
    color: var(--gray-900);
}

.category-examples ul {
    list-style: none;
    padding: 0;
}

.category-examples li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.category-examples li::before {
    content: '💬';
    position: absolute;
    left: 0;
}

.category-rule {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    background: #FEE2E2;
    color: #991B1B;
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-rule.free-condition {
    background: #D1FAE5;
    color: #065F46;
}

.category-rule i {
    font-size: 1.2rem;
}

.price-note {
    text-align: center;
    margin-top: 30px;
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* Cost Comparison Table */
.cost-comparison {
    background: white;
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-top: 40px;
}

.cost-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.cost-table thead {
    background: linear-gradient(135deg, var(--whatsapp-dark), var(--whatsapp-green));
    color: white;
}

.cost-table th {
    padding: 20px;
    text-align: left;
    font-weight: 600;
    font-size: 1.1rem;
}

.cost-table td {
    padding: 20px;
    border-bottom: 1px solid var(--gray-200);
}

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

.cost-table tbody tr:hover {
    background: var(--gray-50);
}

.free-row {
    background: #F0FDF4;
}

.paid-row {
    background: #FEF3C7;
}

.highlight-row {
    background: #FEE2E2;
    font-weight: 600;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
}

.free-badge {
    background: #10B981;
    color: white;
}

.paid-badge {
    background: #F59E0B;
    color: white;
}

.warning-badge {
    background: #EF4444;
    color: white;
}

/* Savings Strategies */
.savings-strategies {
    background: var(--gray-50);
}

.strategies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: 30px;
    margin-top: 40px;
}

.strategy-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.strategy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.strategy-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--whatsapp-green), var(--whatsapp-dark));
    color: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

.strategy-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--gray-900);
}

.strategy-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* Practical Example */
.practical-example {
    background: white;
}

.example-scenario {
    max-width: 900px;
    margin: 40px auto 0;
}

.scenario-header {
    display: flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, var(--primary-blue), #60A5FA);
    color: white;
    padding: 25px 30px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.scenario-header i {
    font-size: 2rem;
}

.scenario-header h3 {
    font-size: 1.4rem;
}

.scenario-timeline {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.scenario-day {
    border-left: 4px solid var(--whatsapp-green);
    padding-left: 30px;
    position: relative;
}

.scenario-day.warning {
    border-left-color: var(--warning-orange);
}

.day-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--gray-700);
}

.day-header i {
    color: var(--whatsapp-green);
}

.scenario-event {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.scenario-event.customer {
    border-left: 4px solid #3B82F6;
}

.scenario-event.business {
    border-left: 4px solid var(--whatsapp-green);
}

.event-label {
    display: inline-block;
    padding: 4px 10px;
    background: var(--gray-100);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.scenario-event.customer .event-label {
    background: #DBEAFE;
    color: #1E40AF;
}

.scenario-event.business .event-label {
    background: #D1FAE5;
    color: #065F46;
}

.event-result {
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.event-result.success {
    background: #D1FAE5;
    color: #065F46;
}

.event-result.warning {
    background: #FEF3C7;
    color: #92400E;
}

.event-cost {
    margin-top: 10px;
    padding: 10px;
    background: var(--gray-100);
    border-radius: 6px;
    font-weight: 600;
}

.event-cost.free {
    background: #D1FAE5;
    color: #065F46;
}

.event-cost.paid {
    background: #FEF3C7;
    color: #92400E;
}

.scenario-summary {
    background: linear-gradient(135deg, #F9FAFB, #E5E7EB);
    padding: 30px;
    border-radius: 16px;
    margin-top: 40px;
    border: 2px solid var(--gray-300);
}

.scenario-summary h4 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--gray-900);
}

.summary-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid var(--gray-300);
}

.summary-total {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gray-900);
}

.summary-insight {
    margin-top: 20px;
    padding: 20px;
    background: #FEF3C7;
    border-radius: 12px;
    border-left: 4px solid var(--warning-orange);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.summary-insight i {
    color: var(--warning-orange);
    font-size: 1.5rem;
}

/* FAQ Section */
.faq {
    background: var(--gray-50);
}

.faq-list {
    max-width: 900px;
    margin: 40px auto 0;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px;
    cursor: pointer;
    transition: background 0.3s ease;
}

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

.faq-question i:first-child {
    color: var(--whatsapp-green);
    font-size: 1.5rem;
}

.faq-question h4 {
    flex: 1;
    font-size: 1.1rem;
    color: var(--gray-900);
}

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

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

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

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

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

/* Sobre SuperSAC */
.about-supersac {
    background: linear-gradient(135deg, #F9FAFB 0%, #E5E7EB 100%);
    padding: 80px 20px;
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    color: var(--gray-900);
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 25px;
    line-height: 1.7;
}

.about-benefits {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.about-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1.05rem;
    color: var(--gray-700);
}

.about-benefits i {
    color: var(--whatsapp-green);
    font-size: 1.3rem;
    margin-top: 2px;
}

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

.stat-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--whatsapp-green);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1rem;
    color: var(--gray-600);
    font-weight: 500;
}

/* Final CTA */
.final-cta {
    background: linear-gradient(135deg, var(--whatsapp-dark) 0%, var(--whatsapp-green) 100%);
    color: white;
    text-align: center;
}

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

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-note {
    margin-top: 20px;
    font-size: 0.95rem;
    opacity: 0.9;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: white;
    color: var(--whatsapp-green);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: white;
    text-align: center;
    padding: 40px 20px;
}

.footer-brand {
    margin-bottom: 20px;
}

.footer-brand strong {
    font-size: 1.3rem;
    display: block;
    margin-bottom: 5px;
}

.footer-brand p {
    font-size: 0.95rem;
    opacity: 0.8;
}

.footer-copy {
    margin: 15px 0 10px;
    font-size: 0.95rem;
}

.footer-note {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .header-nav {
        flex-direction: column;
        gap: 10px;
    }

    .nav-link.cta-link {
        padding: 10px 20px;
        font-size: 0.95rem;
    }

    .hero {
        padding: 40px 20px 30px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .concept-grid,
    .category-grid,
    .strategies-grid {
        grid-template-columns: 1fr;
    }

    .template-intro {
        grid-template-columns: 1fr;
    }

    .template-approval-flow {
        flex-direction: column;
    }

    .timeline-step {
        flex-direction: column;
        padding-left: 20px;
    }

    .timeline-step::after {
        left: 7px;
    }

    .step-number {
        position: absolute;
        left: -30px;
        top: 0;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .stat-card {
        padding: 20px 15px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .cost-table {
        font-size: 0.9rem;
    }

    .cost-table th,
    .cost-table td {
        padding: 12px 8px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .key-insight {
        flex-direction: column;
        text-align: center;
    }
}

/* v12: evita vazamento lateral no celular */
[class*="-grid"] > * { min-width: 0; }
.container { overflow-wrap: break-word; }
.phone-mockup { max-width: 100%; box-sizing: border-box; }
/* v12b */
.segment-examples > *, .about-content > *, .category-grid > * { min-width: 0; }
.mini-template-card, .mini-template-card code, .category-rule { overflow-wrap: anywhere; }
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
@media (max-width: 480px) { .category-card, .mini-template-card, .example-template-card { padding: 22px 18px; } }
/* v12c */
.about-stats > * { min-width: 0; }
.stat-card { box-sizing: border-box; max-width: 100%; }
