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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: hsl(215, 25%, 15%);
    background-color: hsl(220, 15%, 97%);
}

/* Variables */
:root {
    --primary: hsl(217, 32%, 17%);
    --primary-foreground: hsl(0, 0%, 98%);
    --secondary: hsl(220, 15%, 95%);
    --secondary-foreground: hsl(215, 25%, 15%);
    --accent: hsl(24, 95%, 53%);
    --accent-foreground: hsl(0, 0%, 98%);
    --background: hsl(220, 15%, 97%);
    --foreground: hsl(215, 25%, 15%);
    --muted: hsl(220, 15%, 95%);
    --muted-foreground: hsl(215, 16%, 47%);
    --border: hsl(220, 13%, 91%);
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(215, 25%, 15%);
    --success: hsl(142, 76%, 36%);
    --destructive: hsl(0, 84%, 60%);
    --shadow-card: 0 4px 6px -1px hsla(220, 15%, 25%, 0.1), 0 2px 4px -1px hsla(220, 15%, 25%, 0.06);
    --shadow-large: 0 20px 25px -5px hsla(220, 15%, 25%, 0.1), 0 10px 10px -5px hsla(220, 15%, 25%, 0.04);
    --gradient-hero: linear-gradient(135deg, hsl(217, 32%, 17%), hsl(217, 32%, 35%));
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--foreground);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

@media (min-width: 768px) {
    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.5rem; }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 0.75rem;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-sm { padding: 0.375rem 0.75rem; font-size: 0.875rem; }
.btn-lg { padding: 0.75rem 1.5rem; font-size: 1rem; }
.btn-full { width: 100%; }

.btn-outline {
    background: var(--background);
    color: var(--foreground);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    background: var(--muted);
    color: var(--foreground);
}

.btn-cta {
    background: var(--accent);
    color: var(--accent-foreground);
    box-shadow: var(--shadow-card);
    font-weight: 600;
}

.btn-cta:hover {
    background: hsl(24, 95%, 48%);
    box-shadow: var(--shadow-large);
}

.btn-hero {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
}

.btn-hero:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.logo-img {
    width: 85px;
    height: 85px;
    object-fit: contain;
}

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

.nav-desktop a {
    color: var(--foreground);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

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

.mobile-menu-btn {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

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

.nav-mobile a {
    color: var(--foreground);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

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

.mobile-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .nav-desktop { display: flex; }
    .mobile-menu-btn { display: none; }
}

/* Hero Section */
.hero {
    position: relative;
    padding: rem 0 4rem;
    overflow: hidden;
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('fundo-topo.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 64rem;
    margin: 0 auto;
}

.hero h1 {
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

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

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    align-items: center;
}

@media (max-width: 480px) {
    .hero-buttons .btn {
        width: 100%;
        min-width: 200px;
    }
}

.hero-features {
    display: grid;
    gap: 1.5rem;
    max-width: 48rem;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.feature-item i {
    color: var(--accent);
    flex-shrink: 0;
}

.feature-item span {
    color: rgba(255, 255, 255, 0.9);
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.hero-wave svg {
    width: 100%;
    height: auto;
}

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

@media (max-width: 480px) {
    .logo span {
        font-size: 1rem;
    }
    
    .nav-wrapper {
        padding: 0.75rem 0;
    }
    
    .hero {
        padding: 5rem 0 3rem;
        min-height: auto;
    }
    
    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin-top: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
}

@media (min-width: 768px) {
    .hero {
        padding: 8rem 0 6rem;
    }
    
    .hero h1 {
        font-size: 4rem;
    }
    
    .hero p {
        font-size: 1.5rem;
    }
    
    .hero-features {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: var(--background);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--muted-foreground);
}

.features-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

.feature-card {
    background: var(--card);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.feature-card:hover {
    box-shadow: var(--shadow-large);
    transform: translateY(-2px);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: hsla(217, 32%, 17%, 0.1);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.feature-icon i {
    color: var(--primary);
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--card-foreground);
}

.feature-card p {
    color: var(--muted-foreground);
}

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

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

/* Pricing Section */
.pricing {
    padding: 5rem 0;
    background: hsla(220, 15%, 95%, 0.3);
}

.pricing-grid {
    display: grid;
    gap: 2rem;
    max-width: 80rem;
    margin: 0 auto;
    grid-template-columns: 1fr;
}

.pricing-card {
    background: var(--card);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
    position: relative;
    transition: var(--transition);
}

.pricing-card.popular {
    border-color: var(--accent);
    box-shadow: var(--shadow-large);
    transform: scale(1.02);
}

.popular-badge {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--accent-foreground);
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.card-header {
    text-align: center;
    padding: 2rem;
    border-bottom: 1px solid var(--border);
}

.card-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--card-foreground);
}

.card-header p {
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

.price {
    margin-top: 1rem;
}

.amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.period {
    color: var(--muted-foreground);
    font-size: 1rem;
}

.card-body {
    padding: 2rem;
}

.features-list {
    list-style: none;
    margin-bottom: 2rem;
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--card-foreground);
}

.features-list i {
    color: var(--success);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.trial-text {
    text-align: center;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-top: 1rem;
}

.custom-plan {
    text-align: center;
    margin-top: 3rem;
}

.custom-plan p {
    color: var(--muted-foreground);
    margin-bottom: 1rem;
}

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

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: var(--background);
}

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

.info-card {
    background: var(--card);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
}

.info-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.info-header i {
    color: var(--primary);
}

.info-header h3 {
    font-size: 1.25rem;
    color: var(--card-foreground);
}

.info-header p {
    color: var(--muted-foreground);
}

.info-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.info-item i {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.info-item h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--card-foreground);
}

.info-item p {
    color: var(--muted-foreground);
}

.form-card {
    background: var(--card);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
}

.form-header {
    margin-bottom: 2rem;
}

.form-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--card-foreground);
}

.form-header p {
    color: var(--muted-foreground);
}

.form-row {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--card-foreground);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.375rem;
    font-size: 0.875rem;
    background: var(--background);
    color: var(--foreground);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px hsla(217, 32%, 17%, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.privacy-text {
    text-align: center;
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-top: 1rem;
}

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

/* @media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
} */

/* Footer */
.footer {
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 4rem 0;
}

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

.footer-brand {
    max-width: 28rem;
}

.footer-brand .logo {
    color: var(--primary-foreground);
    margin-bottom: 1rem;
}

.footer-brand p {
    color: hsla(0, 0%, 98%, 0.8);
    margin-bottom: 1.5rem;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: hsla(0, 0%, 98%, 0.8);
}

.footer-links h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-foreground);
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: hsla(0, 0%, 98%, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid hsla(0, 0%, 98%, 0.2);
}

.footer-bottom p {
    color: hsla(0, 0%, 98%, 0.6);
    font-size: 0.875rem;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
}

.legal-links a {
    color: hsla(0, 0%, 98%, 0.6);
    text-decoration: none;
    transition: var(--transition);
}

.legal-links a:hover {
    color: var(--primary-foreground);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* Toast Notification */
.toast {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow-large);
    z-index: 1000;
    transform: translateX(100%);
    transition: var(--transition);
    max-width: 24rem;
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    border-left: 4px solid var(--success);
}

.toast.error {
    border-left: 4px solid var(--destructive);
}

@media (max-width: 480px) {
    .toast {
        right: 1rem;
        left: 1rem;
        max-width: none;
        top: 1rem;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-4 { margin-top: 1rem; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .hero {
        padding: 5rem 0 3rem;
    }
    
    .features,
    .pricing,
    .contact {
        padding: 3rem 0;
    }
    
    .footer {
        padding: 3rem 0;
    }
}

/* Clients Section */
.clients {
    padding: 80px 0;
    background: #fafafa;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.client-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f5f4f4;
}

.client-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.client-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    border-radius: 16px;
    overflow: hidden;
    border: 3px solid #ececec;
    transition: all 0.3s ease;
}

.client-logo img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
    object-position: center;
}

.client-card:hover .client-logo {
    border-color: #007bff;
    transform: scale(1.05);
}

.client-name {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    line-height: 1.4;
}

/* Responsive Design para Clients */
@media (max-width: 768px) {
    .clients {
        padding: 60px 0;
    }
    
    .clients-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 24px;
        padding: 0 16px;
    }
    
    .client-card {
        padding: 32px 24px;
    }
    
    .client-logo {
        width: 100px;
        height: 100px;
        margin-bottom: 20px;
    }
    
    .client-name {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .clients-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .client-card {
        padding: 28px 20px;
    }
    
    .client-logo {
        width: 90px;
        height: 90px;
    }
}