:root {
    --primary: #3b82f6;       /* Blue 500 */
    --primary-glow: rgba(59, 130, 246, 0.5);
    --secondary: #1d4ed8;     /* Blue 700 */
    --whatsapp: #22c55e;      /* Green 500 */
    --whatsapp-glow: rgba(34, 197, 94, 0.4);
    --dark: #020617;          /* Slate 950 */
    --surface: #0f172a;       /* Slate 900 */
    --light: #f8fafc;         /* Slate 50 */
    --gray: #94a3b8;          /* Slate 400 */
    --glass-bg: rgba(15, 23, 42, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
    --accent: #60a5fa;        /* Blue 400 */
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes bgMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 var(--whatsapp-glow); }
    70% { box-shadow: 0 0 0 15px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--dark);
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(34, 197, 94, 0.05) 0%, transparent 40%);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Glassmorphism Refined */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
    );
    transition: 0.5s;
}

.glass-card:hover::before {
    left: 100%;
}

.glass-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(59, 130, 246, 0.1);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(2, 6, 23, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 20px 0;
    transition: all 0.4s ease;
}

.header.scrolled {
    padding: 12px 0;
    background: rgba(2, 6, 23, 0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo i {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2rem;
    filter: drop-shadow(0 0 8px var(--primary-glow));
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 32px;
}

.nav a {
    color: var(--gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

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

.nav a:hover::after {
    width: 100%;
}

/* Buttons Premium */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.btn-large {
    padding: 18px 36px;
    font-size: 1rem;
    border-radius: 18px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--whatsapp), #16a34a);
    color: white;
    box-shadow: 0 8px 20px var(--whatsapp-glow);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px var(--whatsapp-glow);
    filter: brightness(1.1);
}

.btn-secondary {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px var(--primary-glow);
}

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

.btn-whatsapp-outline:hover {
    background: var(--whatsapp);
    color: white;
}

.pulse {
    animation: pulse-glow 2s infinite;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    /* LCP Mobile Optimization: Loads a lightweight local image for phones */
    background: url('../hero-mobile.png') center/cover no-repeat;
    background-attachment: scroll;
}

@media (min-width: 768px) {
    .hero {
        padding: 200px 0 120px;
        background-image: url('../hero-desktop.png');
        background-attachment: fixed;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(2, 6, 23, 0.75) 30%, rgba(2, 6, 23, 0.3) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    animation: fadeIn 1s ease-out;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: var(--accent);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 28px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 28px;
    letter-spacing: -2px;
}

.hero h1 span {
    display: block;
    background: linear-gradient(135deg, #fff 30%, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--gray);
    margin-bottom: 48px;
    max-width: 650px;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 24px;
    margin-bottom: 56px;
    flex-wrap: wrap;
}

.trust-indicators {
    display: flex;
    gap: 32px;
    color: var(--gray);
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.trust-indicators span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-indicators i {
    color: var(--whatsapp);
    font-size: 1.1rem;
}

/* Services */
.services {
    padding: 120px 0;
    background: var(--dark);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.section-header p {
    color: var(--gray);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

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

.service-card {
    padding: 48px 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.05));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    color: var(--accent);
    font-size: 2.2rem;
    transition: all 0.5s ease;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.service-card:hover .icon-wrapper {
    background: var(--primary);
    color: white;
    transform: rotateY(180deg);
    box-shadow: 0 10px 30px var(--primary-glow);
}

.service-card h3 {
    font-size: 1.6rem;
    margin-bottom: 18px;
    font-weight: 700;
}

.service-card p {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.7;
}

/* CTA Middle */
.cta-section {
    padding: 100px 0;
    background: radial-gradient(circle at top right, var(--secondary), var(--dark));
    text-align: center;
    position: relative;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.cta-section h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 24px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: var(--gray);
}

/* Features */
.features {
    padding: 120px 0;
}

.features-flex {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 48px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-item i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-item h4 {
    font-size: 1.4rem;
    font-weight: 700;
}

/* Footer */
.footer {
    background: #010409;
    padding: 120px 0 0;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 80px;
    margin-bottom: 80px;
}

.footer-info .logo {
    margin-bottom: 24px;
}

.footer-info p {
    font-size: 1rem;
    max-width: 300px;
}

.contact-methods a {
    font-size: 1.4rem;
    margin-top: 24px;
    color: var(--light);
}

.footer-links h3, .footer-coverage h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 32px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 1rem;
    display: inline-block;
    padding: 10px 0; /* Aumenta a área de toque vertical */
    color: var(--gray);
    text-decoration: none;
}

.footer-coverage p {
    margin-bottom: 24px;
    line-height: 1.8;
}

.coverage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
}

.coverage-col strong {
    color: var(--light);
    display: block;
    margin-bottom: 12px;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--primary);
    padding-bottom: 5px;
    width: fit-content;
}

.coverage-col ul {
    list-style: none;
}

.coverage-col li {
    font-size: 0.8rem;
    color: var(--gray);
    margin-bottom: 6px;
    transition: color 0.3s;
}

.coverage-col li:hover {
    color: var(--accent);
}

.footer-bottom {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 16px 0;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--surface);
        padding: 100px 40px;
        transition: 0.5s cubic-bezier(0.7, 0, 0.3, 1);
        box-shadow: -20px 0 50px rgba(0, 0, 0, 0.5);
    }
    
    .nav.active {
        right: 0;
    }

    .nav ul {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav a {
        font-size: 1.4rem;
        display: block;
        padding: 12px 0; /* Garante área de toque de pelo menos 48px de altura no mobile */
    }

    .header-content .btn-whatsapp-outline {
        margin-right: 15px;
        padding: 10px 15px;
        font-size: 0.75rem;
    }

    .menu-mobile {
        display: block;
        z-index: 1001;
    }

    .hero {
        padding-top: 140px;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .hero-actions {
        justify-content: center;
    }

    .trust-indicators {
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .alphaville-list ul {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   GOOGLE REVIEWS WIDGET (CRO & MOBILE OPTIMIZED)
   ========================================================================== */

.google-rating-micro {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: var(--light);
}

.google-rating-micro .stars-gold {
    color: #eab308;
    display: flex;
    gap: 2px;
}

.reviews-section {
    padding: 100px 0;
    position: relative;
    background: radial-gradient(circle at bottom left, rgba(59, 130, 246, 0.05) 0%, transparent 40%);
}

.google-logo-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.google-logo-wrapper .google-icon {
    font-size: 1.4rem;
    background: linear-gradient(135deg, #4285F4, #EA4335, #FBBC05, #34A853);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Overview Card */
.reviews-overview-card {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 32px 40px;
    margin-bottom: 50px;
    gap: 24px;
    border-color: rgba(59, 130, 246, 0.15);
}

.overview-rating-box {
    display: flex;
    align-items: center;
    gap: 20px;
}

.overview-rating-box .rating-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.rating-stars-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rating-stars-col .stars-gold {
    color: #eab308;
    font-size: 1.4rem;
    display: flex;
    gap: 3px;
}

.rating-count-text {
    color: var(--gray);
    font-size: 0.9rem;
}

.overview-verified-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    padding: 8px 18px;
    border-radius: 100px;
    color: #22c55e;
    font-size: 0.9rem;
    font-weight: 600;
}

.overview-verified-box i {
    font-size: 1.1rem;
}

.overview-cta-box .btn {
    text-transform: none;
    font-size: 0.95rem;
    padding: 14px 30px;
}

/* Reviews Carousel */
.reviews-carousel {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

.reviews-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 10px 4px 30px;
    scrollbar-width: thin;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Beautiful custom scrollbar for desktop */
.reviews-track::-webkit-scrollbar {
    height: 6px;
}

.reviews-track::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.01);
    border-radius: 10px;
}

.reviews-track::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.15);
    border-radius: 10px;
    transition: background 0.3s;
}

.reviews-track:hover::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.35);
}

/* Cards style */
.review-card {
    flex: 0 0 280px; /* Peek layout on mobile */
    scroll-snap-align: start;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 290px;
}

.review-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    width: 100%;
}

.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.user-info {
    flex-grow: 1;
    overflow: hidden;
}

.user-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--light);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.review-meta {
    font-size: 0.75rem;
    color: var(--gray);
    display: block;
}

.google-badge-card {
    font-size: 1.1rem;
    color: var(--gray);
    opacity: 0.5;
    flex-shrink: 0;
}

.review-stars-row {
    color: #eab308;
    font-size: 0.85rem;
    display: flex;
    gap: 2px;
    margin-bottom: 14px;
}

.review-content {
    font-size: 0.88rem;
    color: rgba(248, 250, 252, 0.8);
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 6; /* Limits text height so all cards align */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.review-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #22c55e;
    opacity: 0.9;
    font-weight: 500;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 12px;
    margin-top: auto;
    width: 100%;
}

.review-verified-badge i {
    font-size: 0.85rem;
}

@media (min-width: 768px) {
    .reviews-track {
        gap: 30px;
    }
    
    .review-card {
        flex: 0 0 350px;
    }
}

@media (max-width: 768px) {
    .reviews-overview-card {
        padding: 24px;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .overview-cta-box {
        width: 100%;
    }
    
    .overview-cta-box .btn {
        width: 100%;
    }
    
    .reviews-section {
        padding: 60px 0;
    }
}

