/* ============================================
   MOBILE.CSS - Regras EXCLUSIVAS para Mobile
   Media Query: max-width: 1023px
   ============================================ */

@media (max-width: 1023px) {

    /* ========== ANIMAÇÕES ========== */
    .animate {
        animation: fadeInUp 0.6s ease forwards;
    }

    /* ========== GLASSMORPHISM ========== */
    .glass {
        background: var(--glass-bg);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid var(--glass-border);
        border-radius: 12px;
    }

    /* ========== HEADER & NAVEGAÇÃO ========== */
    header {
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 1000;
        padding: 15px 0;
        transition: 0.3s;
        background: rgba(10, 10, 11, 0.95);
    }

    header.scrolled {
        padding: 10px 0;
        border-bottom: 1px solid var(--glass-border);
    }

    .container {
        max-width: 100%;
        margin: 0 auto;
        padding: 0 15px;
    }

    nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }

    .logo {
        font-size: 20px;
        font-weight: 800;
        letter-spacing: -1px;
    }

    .logo span {
        color: var(--primary-color);
    }

    /* Menu Mobile - Oculto por padrão */
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 20px;
        list-style: none;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid var(--glass-border);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        text-decoration: none;
        color: var(--light-color);
        font-weight: 500;
        font-size: 1.1rem;
        transition: 0.3s;
    }

    .nav-links a:hover {
        color: var(--primary-color);
    }

    /* Botão CTA no Header */
    header .btn-cta {
        padding: 6px 12px;
        font-size: 0.65rem;
    }

    /* ========== BOTÕES ========== */
    .btn-cta {
        background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
        color: white;
        padding: 12px 20px;
        border-radius: 50px;
        text-decoration: none;
        font-weight: 600;
        transition: 0.3s;
        box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
        font-size: 0.9rem;
    }

    .btn-cta:hover {
        box-shadow: 0 6px 20px rgba(0, 102, 255, 0.5);
    }

    /* ========== HERO SECTION ========== */
    .hero {
        min-height: 100vh;
        display: flex;
        align-items: center;
        padding-top: 80px;
        background: radial-gradient(circle at top right, rgba(0, 102, 255, 0.15), transparent),
            radial-gradient(circle at bottom left, rgba(0, 212, 255, 0.1), transparent);
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero h1 {
        font-size: 32px;
        line-height: 1.2;
        margin-bottom: 20px;
    }

    .hero h1 span {
        background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .hero p {
        font-size: 16px;
        color: var(--gray-color);
        margin-bottom: 30px;
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .hero-btns .btn-cta {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    /* ========== SECTIONS ========== */
    .section {
        padding: 60px 0;
    }

    .section-title {
        text-align: center;
        margin-bottom: 40px;
    }

    .section-title h2 {
        font-size: 26px;
        margin-bottom: 10px;
    }

    .section-title h2 span {
        background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .section-title p {
        font-size: 14px;
        color: var(--gray-color);
    }

    /* ========== GRID DE SERVIÇOS ========== */
    .services-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 30px 20px;
        text-align: center;
        transition: 0.3s;
        display: flex;
        flex-direction: column;
        height: 100%;
        align-items: center;
    }

    .service-card:hover {
        border-color: var(--primary-color);
        box-shadow: 0 5px 20px rgba(0, 102, 255, 0.1);
    }

    .service-card i {
        font-size: 35px;
        color: var(--primary-color);
        margin-bottom: 15px;
        display: block;
    }

    .service-card h3 {
        margin-bottom: 10px;
        font-size: 1.1rem;
    }

    .service-card .service-description {
        color: var(--gray-color);
        font-size: 0.9rem;
        line-height: 1.5;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        height: 4.5em;
        /* 3 linhas fixas */
        margin-bottom: 20px;
        text-align: center;
    }

    .service-card .btn-read-more {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: var(--primary-color);
        text-decoration: none;
        font-size: 0.9rem;
        font-weight: 700;
        cursor: pointer;
        transition: 0.3s;
        margin-top: auto;
        padding: 8px 16px;
        border-radius: 8px;
        background: rgba(0, 102, 255, 0.05);
    }

    /* ========== TEMPLATES ========== */
    .template-card {
        min-height: 280px;
        overflow: hidden;
        position: relative;
        display: flex;
        flex-direction: column;
    }

    .template-image {
        height: 150px;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .template-content {
        padding: 15px;
    }

    .template-content h4 {
        margin-bottom: 8px;
        font-size: 1rem;
    }

    .template-content p {
        color: var(--gray-color);
        font-size: 0.85rem;
    }

    /* ========== DEPOIMENTOS ========== */
    .testimonial-quote {
        font-style: italic;
        margin-bottom: 20px;
        font-size: 0.95rem;
    }

    .testimonial-author {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .testimonial-avatar {
        width: 45px;
        height: 45px;
        border-radius: 50%;
        object-fit: cover;
    }

    .testimonial-avatar-placeholder {
        width: 45px;
        height: 45px;
        border-radius: 50%;
        background: var(--primary-color);
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
        color: white;
        font-size: 0.9rem;
    }

    .testimonial-author h4 {
        font-size: 0.95rem;
        margin: 0;
    }

    .testimonial-author small {
        color: var(--gray-color);
        font-size: 0.8rem;
    }

    /* ========== CONTATO ========== */
    .contact-wrapper {
        padding: 30px 20px;
    }

    .contact-container {
        display: grid;
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-info h2 {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }

    .contact-info h2 span {
        background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .contact-info p {
        color: var(--gray-color);
        font-size: 0.9rem;
    }

    .contact-features {
        list-style: none;
        margin-top: 20px;
    }

    .contact-features li {
        margin-bottom: 12px;
        font-size: 0.9rem;
    }

    .contact-features i {
        color: var(--primary-color);
        margin-right: 10px;
    }

    /* ========== FORMULÁRIO ========== */
    input,
    textarea {
        width: 100%;
        padding: 14px;
        margin-bottom: 15px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid var(--glass-border);
        border-radius: 8px;
        color: white;
        outline: none;
        font-size: 16px;
        /* Evita zoom no iOS */
    }

    input:focus,
    textarea:focus {
        border-color: var(--primary-color);
    }

    input::placeholder,
    textarea::placeholder {
        color: var(--gray-color);
    }

    button {
        cursor: pointer;
        border: none;
    }

    /* ========== FOOTER ========== */
    footer {
        padding: 30px 0;
        border-top: 1px solid var(--glass-border);
        text-align: center;
    }

    footer p {
        color: var(--gray-color);
        font-size: 0.85rem;
    }

    /* ========== WHATSAPP FLOAT ========== */
    .whatsapp-float {
        position: fixed;
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        background-color: #25d366;
        color: #FFF;
        border-radius: 50px;
        text-align: center;
        font-size: 25px;
        box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .whatsapp-float:hover {
        background-color: #128c7e;
        box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    }

    /* ========== BOTÃO WHATSAPP SERVIÇOS ========== */
    .btn-whatsapp-services {
        background: #25D366;
        border-color: #25D366;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 14px 30px;
        font-size: 1rem;
        color: #fff;
        text-decoration: none;
        border-radius: 50px;
        font-weight: 700;
        transition: 0.3s;
        box-shadow: 0 8px 15px rgba(37, 211, 102, 0.2);
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .btn-whatsapp-services:hover {
        background: #128c7e;
    }

    .btn-whatsapp-services i {
        font-size: 1.3rem;
    }

    /* ========== LINK DEMO ========== */
    .link-demo {
        color: var(--primary-color);
        text-decoration: none;
        font-size: 0.85rem;
        margin-top: 10px;
        display: inline-block;
    }

    /* ========== SEPARADOR OU ========== */
    .separator-or {
        text-align: center;
        margin-top: 20px;
    }

    .separator-or p {
        color: var(--gray-color);
        font-size: 0.85rem;
        margin-bottom: 12px;
    }

    .link-whatsapp-direct {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        color: #25D366;
        text-decoration: none;
        font-weight: 600;
        font-size: 0.95rem;
    }

    .link-whatsapp-direct i {
        font-size: 1.1rem;
    }

    /* ========== CENTRALIZAÇÃO GERAL ========== */
    .text-center-mobile {
        text-align: center;
    }
}