/* Reset e Design System */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f5f6fa;
    color: #1e1e24;
    font-family: 'Inter', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Textura de fundo elegante - SEM MOVIMENTO */
.bg-texture {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(
            45deg,
            rgba(74, 44, 42, 0.03) 0px,
            rgba(74, 44, 42, 0.03) 1px,
            transparent 1px,
            transparent 12px
        ),
        repeating-linear-gradient(
            -45deg,
            rgba(255, 61, 56, 0.02) 0px,
            rgba(255, 61, 56, 0.02) 1px,
            transparent 1px,
            transparent 12px
        ),
        radial-gradient(circle at 30% 40%, rgba(255, 61, 56, 0.04) 0%, transparent 60%),
        radial-gradient(circle at 70% 60%, rgba(74, 44, 42, 0.04) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
}

/* Container */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* --- Barra Superior (Marrom quente do trem) --- */
.top-bar {
    background: #4a2c2aee;
    padding: 14px 0;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(74, 44, 42, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.brand-name {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-cta {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: 6px;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.top-cta:hover {
    background-color: #ff3d38;
    border-color: #ff3d38;
    box-shadow: 0 4px 12px rgba(255, 61, 56, 0.3);
    color: #ffffff;
}

/* Conteúdo Principal */
.main-content {
    padding-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(2px);
}

/* Hero */
.hero {
    text-align: center;
    margin-bottom: 70px;
    max-width: 800px;
    position: relative;
    width: 100%;
}

/* Gradiente vertical sutil */
.logo-backdrop-gradient {
    position: absolute;
    top: -80px;
    left: 0;
    width: 100vw;
    height: 250px;
    background: linear-gradient(180deg, rgba(255, 61, 56, 0.12) 0%, rgba(245, 246, 250, 0) 100%);
    z-index: -1;
    pointer-events: none;
    margin-left: calc(-50vw + 50%);
}

.logo-wrapper {
    position: relative;
    display: inline-block;
    margin: 0 auto 50px auto;
}

.logo-container {
    max-width: 240px;
    width: 100%;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.1));
}

.logo-container img {
    width: 100%;
    height: auto;
    display: block;
}

.hero h1 {
    font-size: 3.4rem;
    margin-bottom: 16px;
    font-weight: 900;
    letter-spacing: -1.5px;
    color: #121214;
}

.highlight {
    color: #ff3d38;
    border-bottom: 4px solid #ff3d38;
    padding-bottom: 2px;
}

.hero p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #55555e;
    margin: 0 auto 35px auto;
    font-weight: 400;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: #121214;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.cta-button:hover {
    background: #ff3d38;
    box-shadow: 0 12px 30px rgba(255, 61, 56, 0.4);
}

.cta-button i {
    transition: transform 0.3s ease;
}

.cta-button:hover i {
    transform: translateX(6px);
}

/* Seção de Números */
.numbers-section {
    width: 100%;
    padding: 30px 0 60px;
    margin-bottom: 20px;
}

.numbers-section h2 {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 45px;
    color: #121214;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.numbers-section h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -12px;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ff3d38, #ff7a76);
    border-radius: 2px;
    left: 50%;
    transform: translateX(-50%);
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    width: 100%;
}

.number-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
.number-card[data-infinito="true"] {
    display: none;
}

.number-icon {
    font-size: 2rem;
    color: #ff3d38;
    margin-bottom: 12px;
}

.number-value {
    font-size: 2.8rem;
    font-weight: 900;
    color: #121214;
    line-height: 1.2;
    margin-bottom: 4px;
    font-variant-numeric: tabular-nums;
}

.number-label {
    font-size: 0.85rem;
    color: #6b6b76;
    font-weight: 500;
    line-height: 1.4;
}

/* Portfólio */
.portfolio {
    width: 100%;
    margin-bottom: 70px;
}

.portfolio h2 {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 45px;
    color: #121214;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.portfolio h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -12px;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ff3d38, #ff7a76);
    border-radius: 2px;
    left: 50%;
    transform: translateX(-50%);
}

.grid-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.card {
    background: #ffffff;
    border-radius: 16px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.04);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    box-shadow: 0 12px 40px rgba(255, 61, 56, 0.12);
    border-color: rgba(255, 61, 56, 0.1);
}

/* Wrapper da imagem - MAIOR para exibir mais da foto */
.card-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 75%;
    overflow: hidden;
    background: #2a1f1e;
}

/* Imagem de fundo (paisagem) */
.card-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 0;
}

/* Overlay de cor sobre a imagem de fundo */
.card-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(74, 44, 42, 0.30) 0%,
        rgba(255, 61, 56, 0.20) 50%,
        rgba(74, 44, 42, 0.15) 100%
    );
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: multiply;
}

/* Placeholder do Print do App - ajustado para ficar harmonioso */
.card-print-placeholder {
    position: absolute;
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    max-width: 280px;
    z-index: 2;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    border: 2px solid rgba(255, 255, 255, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease, bottom 0.2s linear;
    background: #1a1210;
}

.card:hover .card-print-placeholder {
    transform: translateX(-50%) scale(1.02);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.45);
    bottom: 16%;
}

.card-print-placeholder img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    background: #2a1f1e;
}

.card-content {
    padding: 20px 24px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #121214;
    margin-bottom: 2px;
}

.card-subtitle {
    font-size: 0.85rem;
    color: #ff3d38;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-desc {
    font-size: 0.95rem;
    color: #6b6b76;
    line-height: 1.5;
    flex: 1;
}

/* Sobre (Contato) */
.about {
    width: 100%;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    padding: 45px;
    margin-bottom: 60px;
    text-align: center;
    max-width: 900px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
}

.about-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.about-header i {
    font-size: 2.2rem;
    color: #ff3d38;
}

.about h2 {
    color: #121214;
    font-size: 1.8rem;
    font-weight: 700;
}

.about p {
    max-width: 700px;
    margin: 0 auto 30px auto;
    line-height: 1.7;
    color: #44444e;
    font-size: 1.05rem;
}

.about p strong {
    color: #121214;
    font-weight: 700;
}

.contact-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0,0,0,0.05);
    color: #121214;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.contact-item i {
    color: #ff3d38;
    transition: color 0.3s ease;
}

.contact-item:hover {
    background: #ff3d38;
    color: #ffffff;
    border-color: #ff3d38;
    box-shadow: 0 8px 20px rgba(255, 61, 56, 0.25);
}

.contact-item:hover i {
    color: #ffffff;
}

/* Footer */
footer {
    margin-top: auto;
    text-align: center;
    padding: 30px 0 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    width: 100%;
}

.social-links {
    margin-bottom: 16px;
}

.social-links a {
    color: #6b6b76;
    font-size: 1.5rem;
    margin: 0 12px;
    transition: color 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    color: #ff3d38;
}

.copyright {
    color: #9f9fa8;
    font-size: 0.875rem;
}

.copyright a {
    color: #9f9fa8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.copyright a:hover {
    color: #ff3d38;
    text-decoration: underline;
}

/* Responsividade */
@media (max-width: 1024px) {
    .numbers-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    .number-card[data-infinito="true"] {
        display: inline-block;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.6rem;
    }
    .grid-links {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
    .about {
        padding: 30px 20px;
    }
    .contact-grid {
        flex-direction: column;
        align-items: center;
    }
    .contact-item {
        width: 100%;
        justify-content: center;
    }
    .card-image-wrapper {
        padding-top: 75%;
    }
    .card-print-placeholder {
        width: 55%;
        bottom: 6%;
    }

    .numbers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .number-card {
        padding: 24px 16px;
    }
    .number-value {
        font-size: 2.2rem;
    }
    .number-icon {
        font-size: 1.6rem;
    }
    .number-label {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .grid-links {
        grid-template-columns: 1fr;
    }
    .logo-container {
        max-width: 200px;
    }
    .hero h1 {
        font-size: 2rem;
    }
    .brand-name {
        font-size: 1rem;
    }
    .logo-backdrop-gradient {
        height: 150px;
    }
    .card-image-wrapper {
        padding-top: 70%;
    }
    .card-print-placeholder {
        width: 60%;
        bottom: 5%;
        max-width: 220px;
    }

    .numbers-section {
        padding: 20px 0 40px;
    }
    .numbers-section h2 {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }
    .numbers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .number-card {
        padding: 20px 12px;
        border-radius: 12px;
    }
    .number-value {
        font-size: 1.8rem;
    }
    .number-icon {
        font-size: 1.4rem;
        margin-bottom: 8px;
    }
    .number-label {
        font-size: 0.7rem;
    }
}

@media (max-width: 360px) {
    .numbers-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .number-card {
        padding: 16px 10px;
    }
    .number-value {
        font-size: 1.5rem;
    }
}
