:root {
    --primary-blue: #0033CC;
    --primary-red: #CC0000;
    --white: #FFFFFF;
    --light-gray: #f4f4f4;
    --text-dark: #333333;
    --font-title: 'Montserrat', sans-serif;
    --font-text: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-text);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-title);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-red);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: var(--font-title);
}

.btn-primary:hover {
    background-color: #a30000;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-red);
    margin: 10px auto 0;
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
}

/* cross-icon kept for backwards compat */
.cross-icon {
    display: none;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--primary-blue);
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-red);
}

.header-btn {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--primary-blue);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero Section */
#hero {
    height: 100vh;
    background-image: url('img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding-top: 80px;
    position: relative;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 51, 204, 0.6) 0%, rgba(0, 34, 136, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Carousel Section */
#carousel-section {
    padding: 60px 0;
    background: linear-gradient(180deg, #002288 0%, var(--primary-blue) 100%);
}

.carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.carousel-container {
    overflow: hidden;
    flex: 1;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-card {
    min-width: 100%;
    background: linear-gradient(135deg, var(--white) 0%, #f8f9ff 100%);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.carousel-card-whatsapp {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
}

.carousel-card-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.carousel-card h3 {
    color: var(--primary-blue);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.carousel-card p {
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 25px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.btn-carousel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-title);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 51, 204, 0.3);
}

.btn-carousel:hover {
    background-color: #002288;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 51, 204, 0.4);
}

.btn-carousel-whatsapp {
    background-color: #25D366;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-carousel-whatsapp:hover {
    background-color: #128C7E;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.carousel-card-instagram {
    background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
}

.btn-carousel-instagram {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    box-shadow: 0 4px 15px rgba(220, 39, 67, 0.3);
}

.btn-carousel-instagram:hover {
    filter: brightness(1.1);
    box-shadow: 0 6px 20px rgba(220, 39, 67, 0.4);
}

.carousel-btn {
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid var(--white);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background-color: var(--white);
    color: var(--primary-blue);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 25px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background-color: var(--white);
    transform: scale(1.2);
}

/* Sobre Section */
#sobre {
    padding: 80px 0;
    background-color: var(--white);
}

.sobre-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

.sobre-text {
    text-align: center;
    max-width: 800px;
}

.sobre-text p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.sobre-cards {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
    width: 300px;
    text-align: center;
    border-top: 4px solid var(--primary-blue);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    color: var(--primary-blue);
    margin-bottom: 10px;
}

/* Services Section */
#servicos {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-item {
    background-color: var(--white);
    padding: 40px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.icon-box {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-item h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
}

/* Lojas Section */
#lojas {
    padding: 80px 0;
    background-color: var(--white);
}

.lojas-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-top: -2rem;
    margin-bottom: 3rem;
}

.stores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.store-card {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.store-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.store-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
}

.store-info h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.store-info p {
    margin-bottom: 5px;
    font-size: 1rem;
    color: #555;
}

.store-map {
    height: 200px;
    width: 100%;
    background-color: #e0e0e0;
    overflow: hidden;
}

.store-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #25D366;
    color: var(--white);
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s;
    font-family: var(--font-title);
    width: 100%;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
}

.btn-whatsapp svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.btn-location {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s;
    font-family: var(--font-title);
    width: 100%;
}

.btn-location:hover {
    background-color: #002288;
}

/* Footer */
footer {
    background-color: #002288;
    color: var(--white);
    padding: 30px 0;
    text-align: center;
}

.footer-logo {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0px;
        height: 92vh;
        top: 8vh;
        background-color: var(--white);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        padding-top: 50px;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    }

    .nav-links li {
        opacity: 0;
    }

    .burger {
        display: block;
    }

    .header-btn {
        display: none;
    }

    .nav-active {
        transform: translateX(0%);
    }

    @keyframes navLinkFade {
        from {
            opacity: 0;
            transform: translateX(50px);
        }

        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .carousel-card {
        padding: 30px 20px;
    }

    .carousel-card h3 {
        font-size: 1.5rem;
    }

    .carousel-card-icon {
        font-size: 3rem;
    }

    .stores-grid {
        grid-template-columns: 1fr;
    }

    .store-map {
        height: 180px;
    }
}

.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Footer Logo */
.footer-logo {
    margin-bottom: 10px;
}

.footer-logo-img {
    height: 40px;
    width: auto;
}

/* Contatos Section */
#contatos {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8f9ff 0%, var(--white) 100%);
}

.contatos-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-top: -2rem;
    margin-bottom: 3rem;
}

.contatos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.contato-card {
    background: var(--white);
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contato-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.contato-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
}

.whatsapp-card::before {
    background: linear-gradient(90deg, #25D366, #128C7E);
}

.whatsapp-card .contato-icon {
    color: #25D366;
}

.instagram-card::before {
    background: linear-gradient(90deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.contato-icon {
    margin-bottom: 15px;
}

.contato-card h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.contato-description {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.unidades-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}

.unidade-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.unidade-btn:hover {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    border-color: #25D366;
    transform: translateX(5px);
}

.unidade-icon {
    font-size: 1.5rem;
}

.unidade-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.unidade-info strong {
    color: var(--text-dark);
    font-size: 1rem;
}

.unidade-info span {
    color: #25D366;
    font-size: 0.9rem;
    font-weight: 600;
}

.unidade-btn .arrow {
    color: #25D366;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.unidade-btn:hover .arrow {
    transform: translateX(5px);
}

.grupo-whatsapp {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    padding: 20px;
    border-radius: 16px;
    text-align: center;
}

.grupo-whatsapp p {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 500;
}

.btn-grupo-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #25D366;
    color: var(--white);
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-title);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-grupo-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.instagram-profile {
    background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
}

.profile-preview {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.profile-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    padding: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: white;
}

.profile-info {
    display: flex;
    flex-direction: column;
}

.profile-handle {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.profile-name {
    color: #666;
    font-size: 0.9rem;
}

.instagram-stats {
    display: flex;
    justify-content: space-around;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.stat-icon {
    font-size: 1.5rem;
}

.stat-text {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
}

.btn-instagram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-title);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 39, 67, 0.3);
    width: 100%;
}

.btn-instagram:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(220, 39, 67, 0.4);
    filter: brightness(1.1);
}

@media (max-width: 768px) {
    .contatos-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contato-card {
        padding: 25px 20px;
    }

    .contato-card h3 {
        font-size: 1.5rem;
    }

    .instagram-stats {
        flex-wrap: wrap;
        gap: 15px;
    }

    .stat {
        flex-direction: row;
        justify-content: center;
    }
}