/* Reset e estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #000000;
    --secondary-color: #333333;
    --accent-color: #000000;
    --background-color: #E7E5DE;
    --text-color: #000000;
    --light-text: #333333;
    --max-width: 1200px;
    --card-bg: rgba(0, 0, 0, 0.03);
    --card-hover: rgba(0, 0, 0, 0.05);
}

body {
    font-family: 'Epilogue', sans-serif;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: -0.3px;
    color: var(--text-color);
    background-color: var(--background-color);
}

/* Layout e Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header e Navegação */
header {
    background-color: transparent;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
}

.logo {
    margin-right: 2rem;
}

.logo img {
    width: 40px;
    height: auto;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 400;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--text-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.cta-button {
    background: #000;
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 100px;
}

.nav-link.cta-button::after {
    display: none;
}

.nav-link.cta-button:hover {
    background: #333;
    transform: translateY(-2px);
}

/* Seção Hero */
#hero {
    padding: 8rem 2rem 4rem;
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.tag {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
    background: rgba(0, 0, 0, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.tag span:first-child {
    font-weight: 500;
}

#hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--primary-color);
    font-weight: 400;
    max-width: 15ch;
}

#hero p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    color: var(--light-text);
    font-weight: 400;
}

#hero p:not(:last-child) {
    margin-bottom: 3rem;
}

.subtitle {
    font-size: 0.9rem;
    color: var(--light-text);
    margin-top: 1rem;
}

/* Botões e CTAs */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 100px;
    transition: all 0.3s ease;
    font-weight: 400;
    font-size: 1rem;
}

.cta-button:hover {
    background-color: #333;
    transform: translateY(-2px);
}

/* Grid de Logos */
.logos-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    margin: 6rem auto;
    max-width: var(--max-width);
    flex-wrap: wrap;
    padding: 0 2rem;
}

.logos-grid img {
    height: 30px;
    width: auto;
    opacity: 0.8;
}

/* Seções */
.section {
    padding: 6rem 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 3rem;
    font-weight: 400;
    text-align: center;
}

/* Cards e Grids */
.servicos-grid,
.locais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.servico-card,
.local-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
    text-align: left;
}

.servico-card:hover,
.local-card:hover {
    background: var(--card-hover);
    transform: translateY(-5px);
}

.servico-card h3,
.local-card h3 {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.servico-card p,
.local-card p {
    font-size: 0.95rem;
    color: var(--light-text);
    line-height: 1.5;
}

/* Casos de Estudo */
.casos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.caso {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.caso:hover {
    background: var(--card-hover);
}

.caso img {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
}

.caso h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

.industria {
    font-size: 0.9rem;
    color: var(--light-text);
    margin-bottom: 1rem;
}

.caso-content {
    margin-top: 1rem;
}

.caso-content p {
    margin-bottom: 1.5rem;
    color: var(--light-text);
}

.caso-content h4 {
    font-size: 1rem;
    margin: 1.5rem 0 1rem;
    font-weight: 500;
}

.caso-content ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.caso-content ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--light-text);
}

.caso-content ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Contato */
.contato-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contato-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.contato-card:hover {
    background: var(--card-hover);
    transform: translateY(-5px);
}

.contato-card img {
    width: 48px;
    height: 48px;
    margin-bottom: 0.5rem;
}

.contato-card span:first-of-type {
    font-weight: 500;
    color: var(--text-color);
}

.contato-info {
    font-size: 0.9rem;
    color: var(--light-text);
}

/* Footer */
.footer {
    background: var(--card-bg);
    padding: 4rem 2rem;
    margin-top: 4rem;
}

.footer .logo {
    margin-bottom: 2rem;
}

.footer nav {
    margin-bottom: 2rem;
}

.footer nav ul {
    justify-content: center;
}

.footer nav ul li a {
    color: var(--light-text);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin: 2rem 0;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--card-bg);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--card-hover);
    transform: translateY(-2px);
}

.social-links img {
    width: 20px;
    height: 20px;
    opacity: 0.8;
}

.copyright {
    text-align: center;
    font-size: 0.9rem;
    color: var(--light-text);
}

.copyright a {
    color: var(--text-color);
    text-decoration: none;
    position: relative;
}

.copyright a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--text-color);
    transition: width 0.3s ease;
}

.copyright a:hover::after {
    width: 100%;
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeIn {
    animation: fadeIn 1s ease-out forwards;
}

/* Utilitários */
.text-center {
    text-align: center;
}

.mb-md {
    margin-bottom: 1.5rem;
}

.mb-2xl {
    margin-bottom: 3rem;
}

/* Responsividade */
@media (max-width: 768px) {
    header {
        padding: 1rem;
    }

    nav {
        flex-direction: column;
        gap: 1rem;
    }

    .logo {
        margin-right: 0;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
    }

    nav ul li {
        width: 100%;
        text-align: center;
    }

    nav ul li a {
        display: block;
        padding: 0.5rem;
    }

    nav ul li:last-child {
        margin-top: 1rem;
    }

    nav ul li:last-child a {
        width: 100%;
        text-align: center;
    }

    #hero {
        padding: 6rem 1rem 3rem;
    }

    #hero h1 {
        font-size: 2.5rem;
    }

    .section {
        padding: 4rem 1rem;
    }

    .section h2 {
        font-size: 1.8rem;
    }

    .logos-grid {
        gap: 2rem;
    }

    .caso {
        padding: 1.5rem;
    }

    #cta {
        padding: 3rem 1rem;
    }

    #cta h2 {
        font-size: 1.8rem;
    }

    .social-links {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    nav ul {
        gap: 0.5rem;
    }

    nav ul li a {
        font-size: 0.9rem;
    }

    nav ul li:last-child a {
        padding: 0.6rem 1.2rem;
    }

    #hero h1 {
        font-size: 2rem;
    }
}

/* Acessibilidade */
:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: no-preference) {
    .cta-button,
    .servico-card,
    .local-card,
    .caso,
    .contato-card,
    .social-links a {
        transition: transform 0.3s ease, background-color 0.3s ease;
    }
}

/* Menu Mobile */
.menu-toggle {
    display: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle div {
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        position: absolute;
        top: 1rem;
        right: 1rem;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--background-color);
        padding: 1rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    nav ul.active {
        display: flex;
    }
}

/* Imagens */
img {
    max-width: 100%;
    height: auto;
    display: block;
}