/* ======================================== */
/* VARIÁVEIS DE COR E DESIGN               */
/* Inspirado no shadcn-ui                  */
/* ======================================== */
:root {
    /* Cores Primárias (Verde - mantendo identidade) */
    --primary-color: #10b981;
    --primary-foreground: #ffffff;
    --secondary-color: #059669;
    --accent-color: #34d399;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --dark-color: #064e3b;

    /* Cores Neutras (shadcn-ui style) */
    --background: #ffffff;
    --foreground: #064e3b;
    --muted: #f1f5f9;
    --muted-foreground: #64748b;
    --light-color: #f8fafc;

    /* Escala de Cinza */
    --gray-50: #f9fafb;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;

    /* Texto */
    --text-primary: #064e3b;
    --text-secondary: #475569;
    --text-light: #94a3b8;

    /* Bordas (shadcn-ui style - mais sutis) */
    --border: #e2e8f0;
    --border-radius-sm: 0.375rem;
    /* 6px */
    --border-radius: 0.5rem;
    /* 8px - padrão shadcn-ui */
    --border-radius-md: 0.5rem;
    /* 8px */
    --border-radius-lg: 0.75rem;
    /* 12px */

    /* Transições */
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;

    /* Sombras (shadcn-ui style - mais sutis) */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);

    /* Focus Ring (shadcn-ui style) */
    --ring: #10b981;
    --ring-offset: #ffffff;
    --ring-width: 2px;
}

/* ======================================== */
/* RESET E ESTILOS GLOBAIS                 */
/* ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

img,
video,
iframe {
    max-width: 100%;
    height: auto;
    display: block;
}

svg {
    max-width: 100%;
    height: auto;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    line-height: 1.7;
    background-color: #ffffff;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* ======================================== */
/* NAVBAR / NAVEGAÇÃO                      */
/* ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1002;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
}

.navbar-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo {
    height: 60px;
    width: auto;
    border-radius: var(--border-radius-sm);
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    display: none;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    flex: 1;
    justify-content: center;
}

.menu-close,
.menu-logo {
    display: none;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

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

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.btn-whatsapp-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #25d366;
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    font-size: 0.875rem;
    box-shadow: var(--shadow-sm);
    border: none;
}

.btn-whatsapp-header:hover {
    background: #20a85a;
    box-shadow: var(--shadow-md);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition);
}

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

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ======================================== */
/* HERO SECTION                            */
/* ======================================== */
.hero {
    padding: 80px 0;
    padding-top: 190px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 30%, #f8fafc 70%, #f1f5f9 100%);
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(5, 150, 105, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--foreground);
    font-family: 'Sora', sans-serif;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.stat p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.hero-image {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    animation: fadeInRight 1s ease-out 0.6s both;
}

.mockup-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    z-index: 1;
    background: transparent;
}

.hero-mockup {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);

    transition: var(--transition);
    animation: float 4s ease-in-out infinite;
}

.hero-mockup:hover {
    transform: translateY(-10px);
}

.mockup-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.floating-card {
    position: absolute;
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    animation: float 3s ease-in-out infinite;
    z-index: 2;
}

.floating-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.floating-card p {
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    color: var(--text-primary);
}

.card-1 {
    top: 0;
    left: 0;
    width: 180px;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 0;
    width: 160px;
    animation-delay: 0.5s;
}

.card-3 {
    bottom: 0;
    left: 50%;
    width: 200px;
    animation-delay: 1s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ======================================== */
/* BOTÕES GLOBAIS                          */
/* ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: var(--border-radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

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

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

.btn-primary:focus-visible {
    outline: 2px solid var(--ring);
    outline-offset: 2px;
}

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

.btn-secondary:hover {
    background-color: var(--gray-200);
}

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

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

.btn-light {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid white;
}

.btn-light:hover {
    background-color: var(--gray-100);
}

/* Variantes adicionais inspiradas no shadcn-ui */
.btn-ghost {
    background-color: transparent;
    color: var(--foreground);
    border: none;
    padding: 0.625rem 1rem;
}

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

.btn-link {
    background-color: transparent;
    color: var(--primary-color);
    text-decoration: underline;
    text-underline-offset: 4px;
    padding: 0;
    border: none;
    font-weight: 500;
}

.btn-link:hover {
    color: var(--secondary-color);
    text-decoration-thickness: 2px;
}

/* Tamanhos de botões (shadcn-ui style) */
.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    height: 2rem;
}

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

.btn-full {
    width: 100%;
    margin-top: 1rem;
}

/* ======================================== */
/* ANIMAÇÕES DE SCROLL                      */
/* ======================================== */
/* Elementos começam com transição suave */
.feature-card,
.about-item,
.pricing-card,
.info-card {
    transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}

/* Animação suave quando o elemento entra na viewport */
.fade-in {
    animation: slideInUpSmooth 0.8s ease-out forwards;
}

/* Animação suave para elementos que entram na viewport - apenas movimento */
@keyframes slideInUpSmooth {
    from {
        transform: translateY(20px);
    }

    to {
        transform: translateY(0);
    }
}

/* Animação suave para elementos que entram na viewport */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Delay escalonado para cards */
.feature-card:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.3s;
}

.feature-card:nth-child(4) {
    animation-delay: 0.4s;
}

.feature-card:nth-child(5) {
    animation-delay: 0.5s;
}

.feature-card:nth-child(6) {
    animation-delay: 0.6s;
}

.feature-card:nth-child(7) {
    animation-delay: 0.7s;
}

.feature-card:nth-child(8) {
    animation-delay: 0.8s;
}

.feature-card:nth-child(9) {
    animation-delay: 0.9s;
}

.pricing-card:nth-child(1) {
    animation-delay: 0.1s;
}

.pricing-card:nth-child(2) {
    animation-delay: 0.2s;
}

.pricing-card:nth-child(3) {
    animation-delay: 0.3s;
}

.pricing-card:nth-child(4) {
    animation-delay: 0.4s;
}

/* ======================================== */
/* SEPARADORES (shadcn-ui style)           */
/* ======================================== */
.separator {
    height: 1px;
    width: 100%;
    background-color: var(--border);
    margin: 1.5rem 0;
}

.separator-vertical {
    width: 1px;
    height: 100%;
    background-color: var(--border);
    margin: 0 1rem;
}

/* ======================================== */
/* SEÇÕES COMUNS                           */
/* ======================================== */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--foreground);
    font-family: 'Sora', sans-serif;
    line-height: 1.2;
    letter-spacing: -0.03em;
    position: relative;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    margin-bottom: 3.5rem;
    line-height: 1.7;
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ======================================== */
/* PREVIEW SECTION                         */
/* ======================================== */
.preview {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
}

.preview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.preview-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    order: 2;
}

.preview-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
}

.preview-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.preview-features i {
    color: var(--success-color);
    font-size: 1.25rem;
}

.preview-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    order: 1;
}

.app-mockup {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 30px;
    transition: var(--transition);
    animation: float 4s ease-in-out infinite;
    animation-delay: 0.5s;
}

.app-mockup:hover {
    transform: translateY(-15px) scale(1.05);
}

.app-mockup-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 110%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
    border-radius: 40px;
    z-index: -1;
    animation: pulse 3s ease-in-out infinite;
    animation-delay: 0.5s;
}

/* ======================================== */
/* FEATURES SECTION                        */
/* ======================================== */
.features {
    padding: 80px 0;
    background-color: white;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 0;
    border-radius: var(--border-radius-lg);
    background: #f7fef9;
    border: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
    transform: translateY(-4px);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

/* Estrutura de card inspirada no shadcn-ui */
.card-header {
    padding: 1.5rem 1.5rem 1rem;
    text-align: center;
}

.card-content {
    padding: 0 1.5rem 1.5rem;
    flex-grow: 1;
}

.card-footer {
    padding: 0 1.5rem 1.5rem;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
    margin-top: auto;
}

.feature-card .card-header {
    padding: 2rem 2rem 1.25rem;
}

.feature-card .card-content {
    padding: 0 2rem 2rem;
    text-align: center;
}

.feature-card .card-content p {
    color: var(--muted-foreground);
    line-height: 1.6;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: var(--border-radius-lg);
    margin: 0 auto 1.75rem;
    font-size: 1.75rem;
    color: var(--primary-foreground);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-family: 'Sora', sans-serif;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ======================================== */
/* ABOUT SECTION                           */
/* ======================================== */
.about {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light-color) 0%, var(--gray-100) 100%);
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.about-item {
    padding: 1.5rem;
    background: var(--background);
    border-radius: var(--border-radius);
    border: 1px solid var(--border);
    border-left: 3px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.about-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.about-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 1rem;
}

.about-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-family: 'Sora', sans-serif;
}

.about-item p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ======================================== */
/* PRICING SECTION                         */
/* ======================================== */
.pricing {
    padding: 100px 0 80px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
    width: 100%;
    max-width: 100vw;
    overflow: visible;
    position: relative;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.pricing-card {
    padding: 2.5rem;
    border: 1px solid var(--border);
    border-radius: var(--border-radius-lg);
    background: var(--background);
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    overflow: visible;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.pricing-card:hover::before {
    transform: scaleX(1);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    border-width: 2px;
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    transform: scaleX(1);
    height: 5px;
}

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

.pricing-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--primary-foreground);
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    z-index: 10;
    white-space: nowrap;
    opacity: 1 !important;
    line-height: 1.2;
    display: block;
    width: auto;
}

/* Badge genérico (shadcn-ui style) */
.badge {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    padding: 0.25rem 0.625rem;
    font-size: 0.75rem;
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid transparent;
}

.badge-default {
    background: var(--primary-color);
    color: var(--primary-foreground);
}

.badge-secondary {
    background: var(--muted);
    color: var(--muted-foreground);
}

.badge-outline {
    background: transparent;
    color: var(--foreground);
    border-color: var(--border);
}

.badge-sm {
    padding: 0.125rem 0.5rem;
    font-size: 0.6875rem;
}

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

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    font-family: 'Sora', sans-serif;
    color: var(--text-primary);
    font-weight: 700;
}

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

.price span:first-child {
    font-size: 1.25rem;
}

.price span:last-child {
    font-size: 1rem;
    color: var(--text-secondary);
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-features i {
    color: var(--success-color);
}

.pricing-features .fa-times {
    color: var(--gray-300);
}

/* Plano Customizado - Orçamento Personalizado */
.pricing-card-custom {
    background: white;
    border: 2px solid var(--gray-200);
    border-color: var(--primary-color);
    position: relative;
    overflow: visible;
}

.pricing-card-custom:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
}

.pricing-card-custom .pricing-header h3 {
    color: var(--text-primary);
}

.pricing-card-custom .pricing-features {
    color: var(--text-secondary);
}

.pricing-card-custom .pricing-features li {
    color: var(--text-secondary);
}

.pricing-card-custom .pricing-features i {
    color: var(--success-color);
}

.pricing-badge-custom {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    z-index: 10;
    white-space: nowrap;
    opacity: 1 !important;
    line-height: 1.2;
    text-align: center;
    display: block;
    width: auto;
}

.price-custom {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 800;
}

.price-custom span:first-child {
    font-size: 1.25rem;
}

.btn-custom {
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-custom:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.btn-custom i {
    margin-right: 0.5rem;
}

/* ======================================== */
/* CONTACT SECTION                         */
/* ======================================== */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--light-color) 100%);
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
}

.contact-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    margin: 0;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.625rem 0.875rem;
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    font-size: 0.9375rem;
    font-family: inherit;
    transition: var(--transition);
    background-color: var(--background);
    color: var(--foreground);
    width: 100%;
    box-sizing: border-box;
    margin: 0;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--background);
    box-shadow: 0 0 0 var(--ring-width) var(--ring);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2310b981' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
    margin-bottom: 0;
}

.form-hint {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.25rem;
    font-style: italic;
}

.form-group input:invalid {
    border-color: var(--error-color, #ef4444);
}

.form-group input:valid:not(:placeholder-shown) {
    border-color: var(--success-color, #10b981);
}

#cnpjGroup {
    transition: all 0.3s ease;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-message {
    padding: 1rem;
    border-radius: var(--border-radius-md);
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-message.success {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    display: block;
}

.form-message.error {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
    display: block;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.info-card {
    background: var(--background);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    transform: scaleX(0);
    transition: var(--transition);
}

.info-card:hover::before {
    transform: scaleX(1);
}

.info-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.info-card.full {
    display: none;
}

.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--primary-color);
    border-radius: 50%;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--primary-foreground);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.info-card:hover .info-icon {
    box-shadow: var(--shadow-md);
}

.info-card h4 {
    font-size: 1.15rem;
    margin-bottom: 0.875rem;
    color: var(--text-primary);
    font-family: 'Sora', sans-serif;
    font-weight: 700;
}

.info-card p {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    line-height: 1.6;
    flex-grow: 1;
}

.info-card p strong {
    color: var(--text-primary);
    font-weight: 600;
}

.info-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    word-break: break-word;
    display: inline-block;
}

.info-card a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.info-card small {
    display: block;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.75rem;
    font-weight: 500;
}

/* ======================================== */
/* CTA SECTION                             */
/* ======================================== */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--primary-color) 100%);
    background-size: 200% 200%;
    color: white;
    text-align: center;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    position: relative;
    animation: gradientShift 8s ease infinite;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.cta .container {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-family: 'Sora', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.cta .btn {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta .btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

/* ======================================== */
/* FOOTER                                  */
/* ======================================== */
.footer {
    background-color: var(--dark-color);
    color: var(--gray-300);
    padding: 60px 0 20px;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-family: 'Sora', sans-serif;
}

.footer-section p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

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

.footer-section li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: #d1fae5;
    /* Verde muito claro para links no footer */
    text-decoration: none;
    transition: var(--transition);
    font-weight: 400;
}

.footer-section a:hover {
    color: var(--accent-color);
    /* Verde claro no hover */
    text-decoration: underline;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    position: relative;
}

.social-links a i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 1;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #d1fae5;
    /* Verde muito claro para links do footer-bottom */
    text-decoration: none;
    transition: var(--transition);
    font-weight: 400;
}

.footer-links a:hover {
    color: var(--accent-color);
    /* Verde claro no hover */
    text-decoration: underline;
}

.footer-bottom p {
    color: var(--gray-300);
}

/* ======================================== */
/* RESPONSIVIDADE                          */
/* ======================================== */

/* Tablet (768px) */
@media (max-width: 768px) {
    html {
        overflow-x: hidden;
    }

    body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }

    .container {
        padding: 0 16px;
        width: 100%;
        max-width: 100%;
    }

    /* Navbar Tablet */
    .navbar {
        padding: 0.75rem 0;
        width: 100%;
        max-width: 100vw;
    }

    .navbar-wrapper {
        gap: 1rem;
        flex-wrap: wrap;
        width: 100%;
    }

    .logo-section {
        flex-shrink: 0;
        min-width: 0;
    }

    .logo {
        height: 40px;
        max-width: 100%;
    }

    .hamburger {
        display: flex;
        flex-shrink: 0;
    }

    .hamburger span {
        background-color: var(--text-primary);
    }

    .hamburger.active span {
        background-color: var(--text-primary);
    }

    .nav-menu {
        display: flex;
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        max-width: 85vw;
        height: 100vh;
        height: 100dvh;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        background: white;
        padding: 0;
        gap: 0;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
        z-index: 1001;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
    }

    .menu-close,
    .menu-logo {
        display: flex;
    }

    .menu-close {
        position: absolute;
        top: 1rem;
        right: 1rem;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--gray-100);
        border: none;
        border-radius: 50%;
        cursor: pointer;
        transition: var(--transition);
        z-index: 1003;
        padding: 0;
        color: var(--text-primary);
        font-size: 1.25rem;
    }

    .menu-logo {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.75rem 1.5rem;
        padding-top: 2.5rem;
        border-bottom: 1px solid var(--gray-200);
        background: linear-gradient(135deg, rgba(167, 243, 208, 0.1) 0%, rgba(110, 231, 183, 0.05) 100%);
        margin: 0;
        margin-top: 0;
        flex-shrink: 0;
    }

    .menu-logo-img {
        height: 45px;
        width: auto;
        border-radius: var(--border-radius-sm);
    }

    .menu-close:hover {
        background: var(--gray-200);
        color: var(--primary-color);
        transform: rotate(90deg);
    }

    .menu-close:active {
        transform: rotate(90deg) scale(0.95);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu.active .nav-link {
        color: var(--text-primary);
        width: 100%;
        padding: 1rem 1.5rem;
        border-bottom: 1px solid var(--gray-200);
        font-size: 1rem;
        font-weight: 500;
        margin: 0;
    }

    .nav-menu.active .nav-link:first-of-type {
        margin-top: 0;
        border-top: none;
    }

    .nav-menu.active .nav-link:last-child {
        border-bottom: none;
    }

    .nav-menu.active .nav-link:hover {
        color: var(--primary-color);
        padding-left: 0.5rem;
    }

    .nav-menu.active .nav-link::after {
        display: none;
    }

    /* Empurrar conteúdo quando menu abrir */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }

    /* Overlay para fechar o menu */
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000;
        opacity: 0;
        animation: fadeIn 0.3s ease forwards;
        backdrop-filter: blur(2px);
    }

    @keyframes fadeIn {
        to {
            opacity: 1;
        }
    }

    .nav-actions {
        gap: 0.75rem;
        flex-shrink: 0;
    }

    .btn-whatsapp-header {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        white-space: nowrap;
    }

    /* Hero Section Tablet */
    .hero {
        padding: 50px 0;
        padding-top: 120px;
        width: 100%;
        overflow: hidden;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
        width: 100%;
        max-width: 100%;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
    }

    .hero-title {
        font-size: 2.25rem;
        line-height: 1.2;
        word-wrap: break-word;
    }

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

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 100%;
    }

    .hero-stats {
        flex-direction: row;
        gap: 2rem;
        flex-wrap: wrap;
        width: 100%;
    }

    .hero-image {
        height: auto;
        min-height: 300px;
        order: -1;
        width: 100%;
        overflow: hidden;
    }

    .mockup-container {
        max-width: 100%;
        width: 100%;
    }

    .hero-mockup {
        max-width: 100%;
        width: 100%;
        height: auto;
    }

    .floating-card {
        display: none !important;
    }

    /* Preview Section Tablet */
    .preview {
        padding: 50px 0;
        width: 100%;
        overflow: hidden;
    }

    .preview-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        width: 100%;
    }

    .preview-image {
        order: -1;
        width: 100%;
    }

    .app-mockup {
        max-width: 100%;
        width: 100%;
        height: auto;
    }

    /* Features Section Tablet */
    .features {
        padding: 50px 0;
        width: 100%;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        width: 100%;
    }

    .feature-card .card-header {
        padding: 2rem 2rem 1.25rem;
    }

    .feature-card .card-content {
        padding: 0 2rem 2rem;
    }

    .section-title {
        font-size: 2rem;
        line-height: 1.2;
    }

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

    /* About Section Tablet */
    .about {
        padding: 50px 0;
        width: 100%;
    }

    .about-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    /* Pricing Section Tablet */
    .pricing {
        padding: 50px 0;
        width: 100%;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        width: 100%;
    }

    .pricing-card {
        width: 100%;
        max-width: 100%;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    /* Contact Section Tablet */
    .contact {
        padding: 50px 0;
        width: 100%;
    }

    .contact-wrapper {
        gap: 2.5rem;
        width: 100%;
    }

    .contact-info {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
        width: 100%;
    }

    .info-card {
        min-height: auto;
        padding: 1.75rem 1.25rem;
        width: 100%;
        max-width: 100%;
    }

    .info-card.full {
        display: none;
    }

    .info-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .contact-form {
        gap: 2rem;
        width: 100%;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        width: 100%;
    }

    .form-group {
        width: 100%;
        max-width: 100%;
    }

    /* CTA Section Tablet */
    .cta {
        padding: 50px 0;
        width: 100%;
    }

    .cta h2 {
        font-size: 2rem;
        line-height: 1.2;
    }

    /* Footer Tablet */
    .footer {
        width: 100%;
    }

    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 2rem;
    }
}

/* Mobile (480px) */
@media (max-width: 480px) {
    html {
        overflow-x: hidden;
        font-size: 14px;
    }

    body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }

    .container {
        padding: 0 12px;
        width: 100%;
        max-width: 100%;
    }

    /* Navbar Mobile */
    .navbar {
        padding: 0.625rem 0;
        width: 100%;
        max-width: 100vw;
    }

    .navbar-wrapper {
        gap: 0.75rem;
        flex-wrap: nowrap;
        width: 100%;
        align-items: center;
    }

    .logo-section {
        flex-shrink: 1;
        min-width: 0;
        overflow: hidden;
    }

    .logo {
        height: 35px;
        max-width: 100%;
        width: auto;
    }

    .brand-name {
        display: none;
    }

    .nav-actions {
        gap: 0.5rem;
        flex-shrink: 0;
        display: flex;
        align-items: center;
    }

    .btn-whatsapp-header {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .btn-whatsapp-header i {
        font-size: 0.9rem;
    }

    .btn-whatsapp-header span,
    .btn-whatsapp-header .fab {
        display: inline;
    }

    /* Hero Section Mobile */
    .hero {
        padding: 25px 0;
        padding-top: 100px;
        width: 100%;
        overflow: hidden;
    }

    .hero .container {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 1rem;
        width: 100%;
        max-width: 100%;
    }

    .hero-content {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 0.875rem;
    }

    .hero-title {
        font-size: 1.35rem;
        line-height: 1.25;
        word-wrap: break-word;
        overflow-wrap: break-word;
        margin-bottom: 0.5rem;
    }

    .hero-subtitle {
        font-size: 0.8rem;
        line-height: 1.4;
        word-wrap: break-word;
        margin-bottom: 0.75rem;
    }

    .hero-actions {
        flex-direction: row;
        width: 100%;
        gap: 0.625rem;
        flex-wrap: wrap;
    }

    .hero-actions .btn {
        flex: 1;
        min-width: 120px;
        max-width: 100%;
        padding: 0.65rem 1rem;
        font-size: 0.8rem;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: row;
        gap: 0.75rem;
        width: 100%;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        margin-top: 0.75rem;
    }

    .stat {
        flex: 1;
        min-width: 70px;
        text-align: center;
    }

    .stat h3 {
        font-size: 1.25rem;
        margin-bottom: 0.2rem;
    }

    .stat p {
        font-size: 0.7rem;
        line-height: 1.3;
    }

    .hero-image {
        height: auto;
        min-height: 140px;
        width: 45%;
        max-width: 45%;
        flex-shrink: 0;
        overflow: hidden;
        margin: 0;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        padding-top: 0.5rem;
    }

    .mockup-container {
        max-width: 100%;
        width: 100%;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-mockup {
        max-width: 100%;
        width: 100%;
        height: auto;
        display: block;
    }

    .mockup-glow {
        display: none;
    }

    .floating-card {
        display: none !important;
    }

    /* Preview Section Mobile */
    .preview {
        padding: 30px 0;
        width: 100%;
        overflow: hidden;
    }

    .preview-content {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 1rem;
        width: 100%;
    }

    .preview-text {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        order: 1;
    }

    .preview-text .section-title {
        font-size: 1.35rem;
        margin-bottom: 0.5rem;
        line-height: 1.25;
    }

    .preview-text .section-subtitle {
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
        line-height: 1.4;
    }

    .preview-features {
        width: 100%;
        gap: 0.625rem;
        margin: 0.5rem 0;
    }

    .preview-features li {
        font-size: 0.75rem;
        line-height: 1.4;
    }

    .preview-features i {
        font-size: 0.9rem;
    }

    .preview-text .btn {
        margin-top: 0.5rem;
        padding: 0.65rem 1rem;
        font-size: 0.8rem;
        align-self: flex-start;
    }

    .preview-image {
        width: 40%;
        max-width: 40%;
        flex-shrink: 0;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        padding-top: 0.5rem;
        order: 2;
    }

    .app-mockup {
        max-width: 100%;
        width: 100%;
        height: auto;
        margin: 0;
        display: block;
    }

    .app-mockup-glow {
        display: none;
    }

    /* Features Section Mobile */
    .features {
        padding: 30px 0;
        width: 100%;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        width: 100%;
    }

    .feature-card {
        min-height: auto;
    }

    .feature-card .card-header {
        padding: 1rem 0.75rem 0.5rem;
    }

    .feature-card .card-content {
        padding: 0 0.75rem 1rem;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .feature-card h3 {
        font-size: 0.875rem;
        margin-bottom: 0.375rem;
        line-height: 1.2;
    }

    .feature-card p {
        font-size: 0.7rem;
        line-height: 1.4;
        margin: 0;
    }

    .section-title {
        font-size: 1.5rem;
        line-height: 1.25;
        word-wrap: break-word;
        margin-bottom: 0.5rem;
    }

    .section-subtitle {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 1.5rem;
    }

    /* About Section Mobile */
    .about {
        padding: 30px 0;
        width: 100%;
    }

    .about-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        width: 100%;
    }

    .about-item {
        width: 100%;
        max-width: 100%;
        padding: 1.25rem 1rem;
    }

    .about-number {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .about-item h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
        line-height: 1.3;
    }

    .about-item p {
        font-size: 0.75rem;
        line-height: 1.5;
    }

    /* Pricing Section Mobile */
    .pricing {
        padding: 25px 0;
        width: 100%;
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.875rem;
        width: 100%;
    }

    .pricing-card {
        width: 100%;
        max-width: 100%;
        padding: 1rem 0.75rem;
        display: flex;
        flex-direction: column;
    }

    .pricing-card.featured {
        transform: scale(1);
        border-width: 2px;
    }

    .pricing-card-custom {
        background: white;
        border-color: var(--primary-color);
    }

    .pricing-card-custom:hover {
        transform: translateY(-8px);
    }

    .price-custom {
        font-size: 1.75rem;
        color: var(--primary-color);
    }

    .pricing-badge-custom {
        font-size: 0.65rem;
        padding: 0.3rem 0.75rem;
        top: -6px;
    }

    .pricing-badge {
        font-size: 0.65rem;
        padding: 0.3rem 0.75rem;
        top: -8px;
        white-space: nowrap;
    }

    .pricing-header {
        margin-bottom: 0.75rem;
    }

    .pricing-header h3 {
        font-size: 0.95rem;
        margin-bottom: 0.375rem;
        line-height: 1.2;
    }

    .price {
        font-size: 1.4rem;
        line-height: 1.2;
    }

    .price span:first-child {
        font-size: 0.85rem;
    }

    .price span:last-child {
        font-size: 0.75rem;
    }

    .pricing-features {
        margin-bottom: 0.875rem;
        gap: 0.375rem;
        flex-grow: 1;
    }

    .pricing-features li {
        padding: 0.3rem 0;
        font-size: 0.7rem;
        line-height: 1.3;
        display: flex;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .pricing-features i {
        font-size: 0.75rem;
        margin-top: 0.1rem;
        flex-shrink: 0;
    }

    .pricing-card .btn {
        padding: 0.6rem 0.875rem;
        font-size: 0.75rem;
        margin-top: auto;
        width: 100%;
    }

    /* Contact Section Mobile */
    .contact {
        padding: 30px 0;
        width: 100%;
    }

    .contact-wrapper {
        gap: 1.5rem;
        width: 100%;
    }

    .contact-info {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.875rem;
        width: 100%;
    }

    .info-card {
        padding: 1.25rem 0.875rem;
        width: 100%;
        max-width: 100%;
    }

    .info-card.full {
        grid-column: 1 / -1;
        padding: 1rem 0.875rem;
    }

    .info-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }

    .info-card h4 {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .info-card p {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
        line-height: 1.4;
    }

    .info-card small {
        font-size: 0.7rem;
        margin-top: 0.5rem;
    }

    .contact-form {
        gap: 1.25rem;
        width: 100%;
    }

    .contact-form form {
        gap: 0.875rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0.875rem;
        width: 100%;
    }

    .form-group {
        width: 100%;
        max-width: 100%;
        gap: 0.375rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.75rem 0.875rem;
        font-size: 0.85rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .form-group textarea {
        min-height: 120px;
    }

    .btn-full {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
        margin-top: 0.5rem;
    }

    /* CTA Section Mobile */
    .cta {
        padding: 30px 0;
        width: 100%;
    }

    .cta h2 {
        font-size: 1.25rem;
        line-height: 1.3;
        padding: 0;
        word-wrap: break-word;
        margin-bottom: 0.625rem;
    }

    .cta p {
        font-size: 0.8rem;
        padding: 0;
        margin-bottom: 1rem;
        line-height: 1.4;
    }

    .cta .btn {
        padding: 0.7rem 1.25rem;
        font-size: 0.85rem;
        width: auto;
        max-width: 100%;
    }

    /* Buttons Mobile */
    .btn {
        padding: 0.7rem 1.25rem;
        font-size: 0.85rem;
        width: auto;
        max-width: 100%;
        white-space: normal;
        word-wrap: break-word;
    }

    .btn i {
        font-size: 0.9rem;
    }

    .btn-full {
        width: 100%;
        max-width: 100%;
    }

    /* Footer Mobile */
    .footer {
        padding: 30px 0 15px;
        width: 100%;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
        width: 100%;
    }

    .footer-section {
        width: 100%;
        max-width: 100%;
        padding: 0;
        text-align: left;
    }

    .footer-section:first-child {
        grid-column: 1 / -1;
        text-align: center;
        padding-bottom: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 0.75rem;
    }

    .footer-section:first-child p {
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
    }

    .footer-section h4 {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
        font-weight: 700;
        line-height: 1.3;
    }

    .footer-section p {
        font-size: 0.75rem;
        line-height: 1.5;
        margin-bottom: 0.5rem;
    }

    .footer-section p strong {
        font-size: 0.75rem;
        display: block;
        margin-bottom: 0.25rem;
    }

    .footer-section ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .footer-section li {
        margin-bottom: 0.4rem;
    }

    .footer-section a {
        font-size: 0.75rem;
        padding: 0;
        display: inline-block;
        transition: var(--transition);
        line-height: 1.4;
    }

    .footer-section a:hover {
        color: var(--accent-color);
    }

    .social-links {
        justify-content: center;
        margin-top: 0.75rem;
        gap: 0.75rem;
    }

    .social-links a {
        width: 38px;
        height: 38px;
        font-size: 1.15rem;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
        transform: translateZ(0);
        backface-visibility: hidden;
        -webkit-transform: translateZ(0);
        position: relative;
    }

    .social-links a i {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        line-height: 1;
        font-style: normal;
        font-variant: normal;
        text-rendering: auto;
        -webkit-font-smoothing: antialiased;
        margin: 0;
        padding: 0;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        gap: 1rem;
        padding-top: 1rem;
        margin-top: 1rem;
        flex-wrap: wrap;
    }

    .footer-bottom p {
        font-size: 0.7rem;
        color: var(--gray-400);
        margin: 0;
        flex: 1;
        min-width: 150px;
    }

    .footer-links {
        flex-direction: row;
        gap: 1rem;
        align-items: center;
    }

    .footer-links a {
        font-size: 0.7rem;
        padding: 0;
        white-space: nowrap;
    }
}

/* Mobile Extra Small (360px) */
@media (max-width: 360px) {
    html {
        font-size: 13px;
    }

    .container {
        padding: 0 10px;
    }

    .navbar {
        padding: 0.5rem 0;
    }

    .logo {
        height: 30px;
    }

    .btn-whatsapp-header {
        padding: 0.4rem 0.6rem;
        font-size: 0.7rem;
    }

    .btn-whatsapp-header i {
        font-size: 0.8rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

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

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

    .section-subtitle {
        font-size: 0.875rem;
    }

    .btn {
        padding: 0.7rem 1.25rem;
        font-size: 0.85rem;
    }

    .feature-card,
    .about-item {
        padding: 1.5rem 1.25rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .pricing-card {
        padding: 0.875rem 0.625rem;
    }

    .pricing-card-custom {
        padding: 0.875rem 0.625rem;
        background: white;
        border-color: var(--primary-color);
    }

    .price-custom {
        font-size: 1.1rem;
        color: var(--primary-color);
    }

    .pricing-badge-custom {
        font-size: 0.6rem;
        padding: 0.25rem 0.5rem;
        top: -6px;
    }

    .pricing-header h3 {
        font-size: 0.9rem;
    }

    .price {
        font-size: 1.25rem;
    }

    .pricing-features li {
        font-size: 0.65rem;
        padding: 0.25rem 0;
    }

    .pricing-card .btn {
        padding: 0.55rem 0.75rem;
        font-size: 0.7rem;
    }

    .cta h2 {
        font-size: 1.25rem;
    }

    .cta p {
        font-size: 0.875rem;
    }

    .hero .container {
        flex-direction: column;
        gap: 0.875rem;
    }

    .hero-content {
        width: 100%;
    }

    .hero-image {
        width: 100%;
        max-width: 100%;
        min-height: 120px;
    }

    .mockup-container {
        max-width: 60%;
        width: 60%;
    }

    .preview-content {
        flex-direction: column;
        gap: 0.875rem;
    }

    .preview-text {
        width: 100%;
    }

    .preview-image {
        width: 100%;
        max-width: 100%;
    }

    .app-mockup {
        max-width: 60%;
        width: 60%;
    }

    .footer-content {
        gap: 1rem;
    }

    .footer-section h4 {
        font-size: 0.85rem;
    }

    .footer-section p,
    .footer-section a {
        font-size: 0.7rem;
    }

    .footer-section p strong {
        font-size: 0.7rem;
    }

    .social-links a {
        width: 38px;
        height: 38px;
        font-size: 1.15rem;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
        transform: translateZ(0);
        backface-visibility: hidden;
        -webkit-transform: translateZ(0);
        position: relative;
    }

    .social-links a i {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        line-height: 1;
        font-style: normal;
        font-variant: normal;
        text-rendering: auto;
        -webkit-font-smoothing: antialiased;
        margin: 0;
        padding: 0;
    }

    .footer-bottom p,
    .footer-links a {
        font-size: 0.65rem;
    }

    .footer-links {
        gap: 0.75rem;
    }
}

/* ======================================== */
/* ANIMAÇÕES ADICIONAIS                    */
/* ======================================== */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ======================================== */
/* UTILITIES                               */
/* ======================================== */
.text-center {
    text-align: center;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

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