@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #1653AD;
    --primary-hover: #1d4ed8;
    --secondary: #128536;
    --dark: #0f172a;
    --dark-lighter: #1e293b;
    --light: #f8fafc;
    --text-main: #334155;
    --text-muted: #64748b;
    --glass: rgba(255, 255, 255, 0.8);
    --glass-dark: rgba(15, 23, 42, 0.9);
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .font-heading {
    font-family: 'Outfit', sans-serif;
    color: var(--dark);
    font-weight: 700;
}

/* --- Components --- */

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

.btn {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

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

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.badge {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

/* --- Navigation & Top Bar --- */

.top-bar {
    background: white;
    color: var(--dark);
    padding: 10px 0;
    font-size: 0.85rem;
    position: relative;
    z-index: 1001;
}

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

.top-phone {
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-phone i {
    color: #25d366; /* WhatsApp Green */
}

nav {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background: var(--primary); /* Blue menu */
    box-shadow: var(--shadow);
    transition: var(--transition);
}

nav.scrolled {
    padding: 0.75rem 0;
    top: 0;
}

.nav-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-logo {
    display: none;
}

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

.mobile-logo {
    display: none;
}

.logo-icon {
    /* height: 40px; */
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: white; /* White text for blue background */
    letter-spacing: -1px;
}

.logo-text span {
    color: var(--secondary); /* Accent color for the span */
}

/* Specific color for logo in white top bar */
.top-logo-full .logo-text {
    color: var(--primary);
}
.top-logo-full .logo-text span {
    color: var(--dark);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    justify-content: center;
    align-items: center;
}

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

.nav-links a:hover {
    color: white;
}

.nav-socials {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: auto;
}

.social-link {
    display: inline-block;
    width: 32px;
    height: 32px;
    transition: var(--transition);
}

.social-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.social-link:hover {
    transform: scale(1.15);
}

.social-link-footer {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: inline-block;
    transition: var(--transition);
}

.social-link-footer img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.social-link-footer:hover {
    transform: scale(1.1);
}

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

.nav-btn {
    background: var(--dark) !important;
    color: var(--primary) !important;
}

.nav-btn:hover {
    background: #f1f5f9 !important;
}

.btn-call-mobile {
    display: none;
    width: 40px;
    height: 40px;
    background: dark;
    color: var(--primary);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

/* --- Hero Section --- */

.hero {
    height: auto;
    display: flex;
    flex-direction: column;
    position: relative;
    background: white;
}

/* --- Hero Slider --- */

.hero-slider {
    position: relative;
    width: 100%;
    margin: auto;
    height: 600px;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    display: none;
}

.slider-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.45);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.dot.active {
    background: white;
    transform: scale(1.3);
}

.hero-content-centered {
    position: relative;
    z-index: 2;
    background: white;
    color: var(--dark);
    width: 100%;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Desktop hero: force light blue on highlights */
@media (min-width: 769px) {
    .hero-content-centered strong,
    .hero-content-centered .hero-main-text {
        color: #48A9E3 !important;
    }
}

.hero-content-centered h1 {
    color: white;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.15;
    /* margin-bottom: 1.5rem; */
    font-family: 'Outfit', sans-serif;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-content-centered p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--text-main);
    opacity: 1;
    font-weight: 400;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.btn-cta-whatsapp {
    background: #25d366; /* WhatsApp Green */
    color: white;
    font-weight: 700;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    transition: var(--transition);
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.btn-cta-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    color: white;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

/* --- Sections --- */

section {
    padding: 60px 0;
}
.hero{
    padding: 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 20px auto 40px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0rem;
}

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

/* --- Cards Grid --- */

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

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

.card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.card-img {
    height: 200px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.card:hover .card-img img {
    transform: scale(1.1);
}

.card-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-body h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* --- Gallery Section --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    height: 300px;
    position: relative;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    background: #f1f5f9;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.card-list {
    list-style: none;
    margin: 1.5rem 0;
}

.card-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-main);
}

.card-list li i {
    color: var(--primary);
}

/* --- Benefits Section --- */

.benefits {
    background: var(--dark);
    color: white;
}

.benefits h2 {
    color: white;
}

.benefit-item {
    text-align: center;
    padding: 2rem;
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: rgba(37, 99, 235, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.75rem;
    color: var(--primary);
    border: 1px solid rgba(37, 99, 235, 0.3);
}

/* --- CTA Section --- */

.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, #172554 100%);
    padding: 80px 0;
    text-align: center;
    color: white;
    border-radius: 40px;
    margin-bottom: -100px;
    position: relative;
    z-index: 10;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.cta-section h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

/* --- Footer --- */

footer {
    background: var(--dark-lighter);
    padding: 60px 0;
    color: white;
}

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

.footer-about h3 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-about p {
    opacity: 0.7;
    font-size: 0.95rem;
}

.footer-links h4 {
    color: white;
    margin-bottom: 1.5rem;
}

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

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

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.7;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    opacity: 0.5;
}

/* --- Floating WhatsApp --- */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
}

/* --- Animations --- */

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

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
.logo-mobile{
    display: none;
}

/* --- Responsive --- */

@media (max-width: 768px) {
    .logo-mobile{
        display: block;
    }
    .nav-content {
        justify-content: space-between !important;
    }
    
    .top-logo-full {
        display: none !important;
    }
    
    .mobile-logo {
        display: block !important;
    }
    .menu-toggle {
        display: block !important;
    }
    
    .mobile-logo {
        display: block !important;
    }
    
    .top-logo-full {
        display: none !important;
    }
    
    .nav-content {
        justify-content: space-between !important;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        background: var(--primary);
        position: absolute;
        top: 100%;
        left: 0;
        padding: 1rem 0;
        border-radius: 0 0 16px 16px;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        z-index: 1000;
    }
    
    .nav-links.active {
        display: flex !important;
    }
    
    .nav-links li {
        margin: 0.75rem 0;
    }
    
    .top-social {
        display: none;
    }

    .top-bar-content {
        /* flex-direction: column; */
        justify-content: center;
        gap: 2rem;
        /* padding: 0 4rem; */
    }
    
    .logo-icon {
        height: 65px !important;
    }
    
    .top-phone {
        font-size: 1.1rem !important;
    }

    .btn-call-mobile {
        display: flex;
    }

    .nav-btn {
        display: none;
    }
    
    .hero-content-centered h1 {
        font-size: 3rem !important;
        line-height: 1.2;
        font-weight: bold;
        margin-bottom: 4rem;
    }
    
    .hide-on-mobile {
        display: none !important;
    }
    
    .hero-top-text {
        font-size: 1.2rem !important;
        margin-bottom: 0.25rem !important;
    }
    

    section {
        /* padding: 20px 0; */
    }
    
    #sobre .reveal {
        text-align: center;
    }
    
    #sobre .feature-list {
        justify-content: center;
    }
    
    /* --- Hero Mobile Adjustments --- */
    .hero-slider {
        height: 320px;
    }
    
    .hero-content-centered {
        padding: 2.5rem 1rem 4rem !important;
    }
    
    .hero-content-centered h1 {
        font-size: 2.2rem !important;
        margin-bottom: 1.5rem !important;
        line-height: 1.2 !important;
    }
}
