/* ===================================
   BRASIL STORE - VERSÃO 1 MINIMALISTA
   Design Clean & Elegante
   =================================== */

/* ========== CSS VARIABLES ========== */
:root {
    /* Colors - Minimal Palette */
    --primary-color: #2c3e50;
    --primary-light: #34495e;
    --accent-color: #e74c3c;
    --accent-gold: #f39c12;

    /* Neutrals */
    --white: #ffffff;
    --off-white: #fafafa;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-500: #adb5bd;
    --gray-700: #495057;
    --gray-900: #212529;
    --black: #1a1a1a;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 120px;
    --container-max: 1140px;
    --header-height: 70px;

    /* Transitions */
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* ========== RESET ========== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    line-height: 1.8;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ========== UTILITIES ========== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-padding) 0;
}

.bg-light {
    background-color: var(--off-white);
}

/* ========== HEADER ========== */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--gray-200);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.logo img {
    height: 40px;
    width: auto;
}

.navbar {
    display: flex;
    align-items: center;
    gap: 48px;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-700);
    letter-spacing: 0.3px;
}

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

.lang-switcher {
    display: flex;
    gap: 8px;
}

.lang-btn {
    padding: 4px 12px;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
}

.lang-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.menu-toggle {
    display: none;
}

/* ========== HERO SECTION ========== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--off-white) 0%, var(--white) 100%);
    text-align: center;
    padding-top: var(--header-height);
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5.5rem);
    margin-bottom: 24px;
    font-weight: 300;
    letter-spacing: -2px;
    line-height: 1.1;
}

.hero h1 strong {
    font-weight: 700;
}

.hero p {
    font-size: 1.25rem;
    color: var(--gray-500);
    margin-bottom: 48px;
    font-weight: 400;
}

.hero-cta {
    display: inline-block;
    padding: 18px 48px;
    background-color: var(--accent-color);
    color: var(--white);
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.hero-cta:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ========== SECTION TITLE ========== */
.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 300;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.section-title .line {
    width: 60px;
    height: 2px;
    background-color: var(--accent-color);
    margin: 0 auto 24px;
}

.section-title p {
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* ========== STATS SECTION ========== */
.stats {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 60px;
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 8px;
    color: var(--accent-gold);
}

.stat-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
    font-weight: 500;
}

/* ========== ABOUT SECTION ========== */
.about {
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    font-weight: 600;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.9;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 4px;
    box-shadow: var(--shadow-md);
}

/* ========== SERVICES ========== */
.services {
    background-color: var(--off-white);
}

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

.service-card {
    background: var(--white);
    padding: 48px 32px;
    text-align: center;
    border-radius: 4px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 24px;
}

.service-card h4 {
    font-size: 1.3rem;
    margin-bottom: 16px;
    font-weight: 600;
}

.service-card p {
    color: var(--gray-500);
    line-height: 1.7;
}

/* ========== GALLERY (MOSAIC) ========== */
.gallery {
    background-color: var(--white);
}

/* Portfolio Filters */
.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    background-color: transparent;
    border: 2px solid #004d99;
    /* V3 Blue */
    color: #004d99;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: #004d99;
    color: var(--white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    grid-auto-flow: dense;
}

.portfolio-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 320px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.portfolio-item.hidden {
    display: none;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.15);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    padding: 20px;
    color: var(--white);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-overlay h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 5px;
}

/* Mosiac Spans */
.span-large {
    grid-column: span 2;
    grid-row: span 2;
}

.span-wide {
    grid-column: span 2;
}

.span-tall {
    grid-row: span 2;
}

@media (max-width: 768px) {

    .span-large,
    .span-wide,
    .span-tall {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* Text Cards for Grid Filling */
.portfolio-text-card {
    background: linear-gradient(135deg, #004d99 0%, #003366 100%);
    /* V3 Gradient */
    color: var(--white);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 300px;
}

.portfolio-text-card h4 {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.portfolio-text-card p {
    font-size: 1rem;
    line-height: 1.5;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
}

.portfolio-text-card i {
    font-size: 2.5rem;
    margin-bottom: 20px;
    opacity: 0.8;
    color: var(--white);
}

/* Variação de cor */
.bg-dark-blue {
    background: linear-gradient(135deg, #003366 0%, #004d99 100%);
}

.bg-accent {
    background: linear-gradient(135deg, #D4AF37 0%, #b8860b 100%);
    color: #333;
}

.bg-accent h4,
.bg-accent i,
.bg-accent p {
    color: #333;
}

/* ========== PARTNERS ========== */
.partners {
    background-color: var(--off-white);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 48px;
    text-align: center;
}

.partner-item {
    background: var(--off-white);
    padding: 40px 24px;
    border-radius: 4px;
    border: 1px solid var(--gray-300);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.partner-item:hover {
    border-color: var(--primary-color);
    background: var(--white);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.partner-logo {
    width: 120px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: var(--transition);
}

.partner-item:hover .partner-logo img {
    filter: grayscale(0%);
}

.partner-item h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--primary-color);
}

.partner-item p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ========== CONTACT ========== */
.contact {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--white);
    /* Removed text-align: center to allow grid layout */
}

.contact .section-title h2,
.contact .section-title p {
    color: var(--white);
}

.contact .line {
    background-color: var(--accent-gold);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 24px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-family: inherit;
    font-size: 1rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    background-color: rgba(255, 255, 255, 0.15);
}

.submit-btn {
    padding: 18px 64px;
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.submit-btn:hover {
    background-color: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* ========== CONTACT WRAPPER & CARDS ========== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-top: 40px;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.info-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 24px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition);
}

.info-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(8px);
}

.info-icon {
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.info-content h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.5;
}

.info-content a:hover {
    text-decoration: underline;
}

/* ========== FOOTER ========== */
footer {
    background-color: var(--black);
    color: var(--gray-500);
    padding: 80px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    text-align: left;
}

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

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-links h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 24px;
    font-weight: 600;
}

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

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

.footer-links a {
    color: var(--gray-500);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 8px;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--accent-color);
    transform: translateY(-4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
    font-size: 0.9rem;
    color: var(--gray-500);
    text-align: center;
}

/* ========== TEAM SECTION ========== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.team-card {
    background: var(--off-white);
    border: 1px solid var(--gray-300);
    padding: 32px;
    text-align: center;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

.team-card:hover {
    border-color: var(--primary-color);
    background: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.team-avatar {
    width: 100px;
    height: 100px;
    background: var(--gray-100);
    border-radius: 50%;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 2rem;
}

.team-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: 700;
}

.team-role {
    color: var(--gray-500);
    font-size: 0.95rem;
    font-style: italic;
    line-height: 1.5;
}

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.8rem;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
}

.whatsapp-float a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* ========== RESPONSIVE ========== */

/* Tablet */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .menu-toggle {
        display: block;
        font-size: 1.5rem;
        cursor: pointer;
    }

    .nav-links {
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        display: none;
        box-shadow: var(--shadow-md);
    }

    .nav-links.active {
        display: flex;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .partners-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* Mobile Extra Small */
@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}