/* ==========================================================================
   Design System & Custom Properties (SeuSiteCerto)
   ========================================================================== */
:root {
    /* Color Palette */
    --color-primary: #2563eb; /* blue-600 */
    --color-primary-hover: #1d4ed8; /* blue-700 */
    --color-primary-light: #eff6ff; /* blue-50 */
    --color-accent: #22c55e; /* green-500 */
    --color-accent-hover: #16a34a; /* green-600 */
    
    --color-bg-dark: #111827; /* gray-900 */
    --color-bg-light: #f9fafb; /* gray-50 */
    --color-bg-white: #ffffff;
    
    --color-text-dark: #111827; /* gray-900 */
    --color-text-muted: #6b7280; /* gray-500 */
    --color-text-light: #ffffff;
    --color-text-light-muted: #9ca3af; /* gray-400 */
    
    --color-border: #f3f4f6; /* gray-100 */
    
    /* Typography */
    --font-heading: 'Sora', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Transitions */
    --transition: all 0.2s ease-in-out;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--color-bg-white);
    color: var(--color-text-dark);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
    overflow-x: hidden;
}

/* ==========================================================================
   Layout Containers
   ========================================================================== */
.container {
    width: 100%;
    max-width: 72rem; /* max-w-6xl */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.section {
    padding: 5rem 0; /* py-20 */
}

.bg-light {
    background-color: var(--color-bg-light);
}

.text-center {
    text-align: center;
}

.max-w-600 {
    max-width: 36rem; /* max-w-xl is 36rem */
    margin-left: auto;
    margin-right: auto;
}

.mt-10 {
    margin-top: 2.5rem; /* mt-10 = 2.5rem */
}

.mt-48 {
    margin-top: 3.5rem; /* mt-14 */
}

.mb-14 {
    margin-bottom: 3.5rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

/* Grids */
.grid {
    display: grid;
    gap: 1.25rem; /* gap-5 */
}

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

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

.grid-4 {
    grid-template-columns: repeat(2, 1fr);
}

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

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

/* ==========================================================================
   Typography & Badges
   ========================================================================== */
.section-badge {
    color: var(--color-primary);
    font-size: 0.875rem; /* text-sm */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 1.875rem; /* text-3xl */
    font-weight: 700;
    color: var(--color-text-dark);
    margin-top: 0.75rem; /* mt-3 */
    margin-bottom: 1rem; /* mb-4 */
    line-height: 1.25;
}

@media (min-width: 640px) {
    .section-title {
        font-size: 2.25rem; /* text-4xl */
    }
}

.section-subtitle {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.625;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem; /* text-sm */
    padding: 0.75rem 1.5rem; /* px-6 py-3 */
    border-radius: 0.5rem; /* rounded-lg */
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-text-light);
}

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

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-text-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 500;
}

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

.btn-lg {
    font-size: 1rem; /* text-base */
    padding: 0.875rem 1.75rem; /* px-7 py-3.5 */
}

@media (min-width: 640px) {
    .btn-lg {
        padding: 1rem 2rem; /* px-8 py-4 */
    }
}

/* ==========================================================================
   Header / Navbar
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    height: 4rem; /* h-16 */
    transition: var(--transition);
    background-color: transparent;
}

.header.scrolled {
    background-color: var(--color-bg-white);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-img {
    width: 2rem; /* w-8 */
    height: 2rem; /* h-8 */
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: -0.025em;
    color: var(--color-text-light);
    transition: color 0.3s;
}

.header.scrolled .logo-text {
    color: var(--color-text-dark);
}

.nav {
    display: flex;
    align-items: center;
    gap: 1.75rem; /* gap-7 */
}

.nav-link {
    font-size: 0.875rem; /* text-sm */
    font-weight: 500;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.header.scrolled .nav-link {
    color: #4b5563; /* text-gray-600 */
}

.nav-link:hover, .header.scrolled .nav-link:hover {
    color: var(--color-primary);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-light);
}

.header.scrolled .menu-toggle {
    color: #374151; /* text-gray-700 */
}

/* Mobile Nav Overlay */
.mobile-nav {
    position: absolute;
    top: 4rem;
    left: 0;
    right: 0;
    background-color: var(--color-bg-white);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 1.25rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease-in-out;
}

.mobile-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151; /* text-gray-700 */
    text-decoration: none;
    padding: 0.5rem 0;
    transition: var(--transition);
}

.mobile-link:hover {
    color: var(--color-primary);
}

@media (max-width: 767px) {
    .nav {
        display: none;
    }
    .menu-toggle {
        display: block;
    }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: #111827; /* gray-900 */
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    opacity: 0.4;
    background-image: url('https://images.pexels.com/photos/3184291/pexels-photo-3184291.jpeg?auto=compress&cs=tinysrgb&w=1600');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(17, 24, 39, 0.95), rgba(17, 24, 39, 0.8), rgba(17, 24, 39, 0.4));
}

.hero-container {
    position: relative;
    padding-top: 6rem; /* pt-24 */
    padding-bottom: 5rem; /* pb-20 */
    width: 100%;
}

.hero-content {
    max-width: 42rem; /* max-w-2xl */
}

.hero-badge {
    display: inline-block;
    background-color: rgba(37, 99, 235, 0.2);
    color: #60a5fa; /* blue-400 */
    font-size: 0.75rem; /* text-xs */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(37, 99, 235, 0.3);
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2.25rem; /* text-4xl */
    line-height: 1.12;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 3rem; /* text-5xl */
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.5rem; /* text-[56px] */
    }
}

.hero-title .highlight {
    color: #60a5fa; /* blue-400 */
}

.hero-subtitle {
    font-size: 1.125rem; /* text-lg */
    color: #d1d5db; /* text-gray-300 */
    line-height: 1.625;
    margin-bottom: 2rem;
    max-width: 36rem; /* max-w-xl */
}

.hero-bullets {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    list-style: none;
}

.hero-bullets li {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: #d1d5db;
    font-size: 0.875rem; /* text-sm */
}

.check-icon {
    color: #60a5fa;
    flex-shrink: 0;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .hero-actions {
        flex-direction: row;
    }
}

/* ==========================================================================
   Cards (Publico e Processo)
   ========================================================================== */
.card {
    background-color: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: var(--transition);
    text-align: left;
}

.card:hover {
    border-color: #dbeafe; /* blue-100 */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.card-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 0.5rem;
}

.card-text {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.625;
}

/* ==========================================================================
   Proposta (O que inclui)
   ========================================================================== */
.proposta-item {
    display: flex;
    gap: 1rem;
    text-align: left;
}

.proposta-icon {
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.proposta-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 0.25rem;
}

.proposta-text {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.625;
}

.price-banner {
    margin-top: 3.5rem; /* mt-14 */
    background-color: var(--color-primary-light);
    border-radius: 1rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .price-banner {
        flex-direction: row;
        align-items: center;
        padding: 2.5rem;
    }
}

.price-content {
    text-align: left;
}

.price-title {
    color: var(--color-text-dark);
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.price-subtitle {
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

/* ==========================================================================
   Processo (Como funciona)
   ========================================================================== */
.step-card {
    position: relative;
    background-color: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: left;
}

.step-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.875rem; /* text-3xl */
    font-weight: 700;
    color: #dbeafe; /* blue-100 */
    margin-bottom: 1rem;
    line-height: 1;
}

.step-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 0.5rem;
}

.step-text {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.625;
}

@media (min-width: 1024px) {
    .step-connector {
        position: absolute;
        top: 2.25rem; /* top-9 */
        left: 100%;
        width: 1.5rem; /* w-6 */
        height: 2px; /* h-0.5 */
        background-color: #e5e7eb; /* gray-200 */
        z-index: 10;
    }
}

/* ==========================================================================
   Credibilidade (Numeros)
   ========================================================================== */
.bg-dark {
    background-color: var(--color-bg-dark);
}

.stats-badge {
    text-align: center;
    color: var(--color-text-light-muted);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2.5rem;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 1.875rem; /* text-3xl */
    font-weight: 700;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
    .stat-value {
        font-size: 2.25rem; /* text-4xl */
    }
}

.stat-label {
    color: var(--color-text-light-muted);
    font-size: 0.875rem;
    line-height: 1.25;
}

/* ==========================================================================
   Diferenciais (Por que nós)
   ========================================================================== */
.section-desc {
    color: var(--color-text-muted);
    line-height: 1.625;
    margin-bottom: 1.5rem;
}

.diff-card {
    background-color: var(--color-bg-light);
    border-radius: 0.75rem;
    padding: 1.25rem;
    transition: var(--transition);
    text-align: left;
}

.diff-card:hover {
    background-color: var(--color-primary-light);
}

.diff-card-icon {
    width: 2.25rem;
    height: 2.25rem;
    background-color: var(--color-bg-white);
    color: var(--color-primary);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.diff-card-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: 0.375rem;
}

.diff-card-text {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    line-height: 1.625;
}

/* ==========================================================================
   FAQ Section (Accordion)
   ========================================================================== */
.faq-accordion {
    background-color: var(--color-bg-white);
    border-radius: 1rem;
    border: 1px solid var(--color-border);
    overflow: hidden;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-item:last-child {
    border-bottom: 0;
}

.faq-item.active {
    background-color: rgba(239, 246, 255, 0.5); /* bg-blue-50/50 */
}

.faq-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.faq-question {
    font-size: 0.875rem; /* text-sm */
    font-weight: 500;
    color: #1f2937; /* text-gray-800 */
    line-height: 1.375;
    transition: var(--transition);
}

@media (min-width: 640px) {
    .faq-question {
        font-size: 1rem; /* text-base */
    }
}

.faq-btn:hover .faq-question {
    color: var(--color-primary);
}

.faq-item.active .faq-question {
    color: #1d4ed8; /* text-blue-700 */
}

.faq-toggle-icon {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background-color: #f3f4f6; /* bg-gray-100 */
    color: #6b7280; /* text-gray-500 */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.faq-btn:hover .faq-toggle-icon {
    background-color: #dbeafe; /* bg-blue-100 */
    color: var(--color-primary);
}

.faq-item.active .faq-toggle-icon {
    background-color: var(--color-primary);
    color: var(--color-text-light);
}

.faq-answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.faq-answer-inner {
    padding: 0 1.5rem 1.5rem 1.5rem;
    font-size: 0.875rem;
    color: #4b5563; /* text-gray-600 */
    line-height: 1.625;
    max-width: 65ch;
}

/* ==========================================================================
   CTA Final Section
   ========================================================================== */
.cta-badge {
    display: inline-block;
    background-color: var(--color-primary-light);
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    margin-bottom: 1.5rem;
}

.cta-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.875rem; /* text-3xl */
    line-height: 1.25;
    color: var(--color-text-dark);
    margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
    .cta-title {
        font-size: 2.25rem; /* text-4xl */
    }
}

@media (min-width: 1024px) {
    .cta-title {
        font-size: 3rem; /* text-5xl */
    }
}

.cta-subtitle {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.625;
    margin-bottom: 2.5rem;
    max-width: 36rem;
}

.shadow-btn {
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.2), 0 4px 6px -4px rgba(37, 99, 235, 0.2);
}

.cta-microcopy {
    color: #9ca3af;
    font-size: 0.75rem;
    margin-top: 1.25rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--color-bg-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem 0; /* py-10 */
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

@media (min-width: 640px) {
    .footer-container {
        flex-direction: row;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo-img {
    width: 1.75rem;
    height: 1.75rem;
    object-fit: contain;
}

.footer-logo-text {
    font-family: var(--font-heading);
    color: var(--color-text-light);
    font-weight: 600;
    font-size: 0.875rem;
}

.footer-copy {
    color: #6b7280; /* text-gray-500 */
    font-size: 0.75rem;
    text-align: center;
}

.footer-link {
    color: #9ca3af; /* text-gray-400 */
    font-size: 0.75rem;
    transition: var(--transition);
    text-decoration: none;
}

.footer-link:hover {
    color: var(--color-text-light);
}

/* ==========================================================================
   WhatsApp Floating Button
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    background-color: #22c55e; /* bg-green-500 */
    color: var(--color-text-light);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
    border-radius: 9999px;
    box-shadow: 0 20px 25px -5px rgba(34, 197, 94, 0.3), 0 10px 10px -5px rgba(34, 197, 94, 0.3);
    transition: all 0.2s ease-in-out;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #16a34a; /* bg-green-600 */
    transform: scale(1.05);
}

.whatsapp-float:active {
    transform: scale(0.95);
}

.whatsapp-float-text {
    display: none;
}

@media (min-width: 640px) {
    .whatsapp-float-text {
        display: inline;
    }
}

/* ==========================================================================
   Helpers & Responsive Show/Hide
   ========================================================================== */
.desktop-only {
    display: none;
}

@media (min-width: 640px) {
    .desktop-only {
        display: block;
    }
}
