/* General Styles */
:root {
    --caramelo-sofisticado: #b97f58;
    --cinza-elegante: #636363;
    --fundo-claro: #f2f2f2;
    --botoes-destaques: #ffcba7;
    --text-color: #333;
    --heading-color: #444;
    --font-size-small: 0.95em;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    font-size: var(--font-size-small);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--heading-color);
    margin-bottom: 1em;
    font-style: italic;
}

h1 { font-size: 3.5em; }
h2 { font-size: 2.5em; }
h3 { font-size: 1.8em; }

a {
    text-decoration: none;
    color: var(--caramelo-sofisticado);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--cinza-elegante);
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-align: center;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.primary-btn {
    background-color: var(--botoes-destaques);
    color: var(--text-color);
}

.primary-btn:hover {
    background-color: darken(var(--botoes-destaques), 10%);
    transform: translateY(-2px);
}

.secondary-btn {
    background-color: var(--caramelo-sofisticado);
    color: #fff;
}

.secondary-btn:hover {
    background-color: darken(var(--caramelo-sofisticado), 10%);
    transform: translateY(-2px);
}

/* Header */
.main-header {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-header .logo img {
    height: 50px; /* Adjust as needed */
}

/* Hamburguer Menu Icon - Escondido por padrão (desktop) */
.hamburger-menu {
    display: none; /* Oculta o hambúrguer por padrão em telas grandes */
    background: none;
    border: none;
    font-size: 2em;
    color: var(--cinza-elegante);
    cursor: pointer;
    z-index: 1001; /* Garante que esteja acima de outros elementos */
}

/* Main Navigation para Desktop */
.main-nav {
    /* Define o main-nav como flex container para desktop */
    display: flex;
    /* Alinha os itens do menu no centro verticalmente */
    align-items: center;
}

.main-nav ul {
    list-style: none;
    /* Garante que os itens do UL fiquem lado a lado no desktop */
    display: flex;
}

.main-nav ul li {
    margin-left: 30px;
}

.main-nav ul li a {
    color: var(--cinza-elegante);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
    font-size: var(--font-size-small); /* Garante o tamanho pequeno para o Inter no menu */
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--botoes-destaques);
    left: 0;
    bottom: -5px;
    transition: width 0.3s ease;
}

.main-nav ul li a:hover::after {
    width: 100%;
}

/* Hero Section */
/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    background-image: url('banner.jpg'); /* Verifique se o caminho e nome ainda estão corretos! */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* <-- VOLTA PARA FIXED AQUI (para desktop) */
    background-color: var(--cinza-elegante); /* Mantenha como fallback */
    padding-top: 80px; /* To account for fixed header */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay */
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 4.5em;
    margin-bottom: 20px;
    line-height: 1.1;
    color: #fff;
}

.hero-content h2 {
    font-size: 1.8em;
    font-weight: 300;
    margin-bottom: 40px;
    color: #eee;
    font-style: italic;
}

/* About Section */
.about-section {
    background-color: var(--fundo-claro);
    padding: 80px 0;
}

.two-column-layout {
    display: flex;
    align-items: center;
    gap: 50px;
}

.image-column {
    flex: 1;
}

.image-column img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.text-column {
    flex: 1;
}

.text-column h3 {
    color: var(--caramelo-sofisticado);
    margin-bottom: 25px;
}

/* Bellas Section */
.bellas-section {
    background-color: #fff;
    padding: 80px 0;
    text-align: center;
}

.bellas-text {
    font-size: 1.6em;
    max-width: 900px;
    margin: 0 auto 20px auto;
    color: var(--cinza-elegante);
    line-height: 1.5;
}

/* Team Section */
.team-section {
    background-color: var(--fundo-claro);
    padding: 80px 0;
    text-align: center;
}

.team-section h2 {
    margin-bottom: 50px;
    color: var(--heading-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.team-member {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid var(--botoes-destaques);
}

.team-member p {
    font-weight: 500;
    color: var(--cinza-elegante);
}

/* CTA Section */
.cta-section {
    background-color: var(--caramelo-sofisticado);
    padding: 60px 0;
    text-align: center;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background-color: #fff;
    text-align: center;
}

.services-section h2 {
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-item {
    background-color: var(--fundo-claro);
    padding: 30px;
    border-radius: 8px;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, background-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-item:hover {
    transform: translateY(-5px);
    background-color: #e8e8e8;
}

.service-item span {
    font-size: 2em;
    font-weight: 700;
    color: var(--caramelo-sofisticado);
    display: block;
    margin-bottom: 10px;
}

.service-item h3 {
    font-family: 'Inter', sans-serif;
    font-size: var(--font-size-small);
    color: var(--heading-color);
    margin-bottom: 0;
    font-weight: 500;
}

/* Integration Section */
.integration-section {
    background-color: var(--caramelo-sofisticado);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.integration-section h2 {
    color: #fff;
    margin-bottom: 40px;
}

.integration-section ul {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.3em;
    line-height: 1.8;
}

.integration-section ul li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
    text-align: left;
}

.integration-section ul li::before {
    content: '\f00c'; /* Font Awesome check icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--botoes-destaques);
    position: absolute;
    left: 0;
    top: 0;
}

/* Institutional Section */
.institutional-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--fundo-claro);
}

.institutional-section p {
    max-width: 800px;
    margin: 0 auto 30px auto;
    font-size: 1.1em;
    line-height: 1.7;
}

.institutional-section .highlight-phrase {
    font-family: 'Playfair Display', serif;
    font-size: 2.5em;
    margin-top: 50px;
    color: var(--caramelo-sofisticado);
    font-weight: bold;
    font-style: italic;
}

/* Portfolio Section */
.portfolio-section {
    padding: 80px 0;
    background-color: #fff;
    text-align: center;
}

.portfolio-section h2 {
    margin-bottom: 50px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.portfolio-grid img {
    max-width: 100%;
    height: auto;
    opacity: 0.7;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.portfolio-grid img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.placeholder-logo {
    background-color: var(--fundo-claro);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px; /* Adjust as needed */
    border: 1px dashed var(--cinza-elegante);
    color: var(--cinza-elegante);
    font-style: italic;
    font-weight: 500;
}


/* Footer */
.main-footer {
    background-color: var(--cinza-elegante);
    color: #fff;
    padding: 60px 0 30px 0;
    text-align: center;
}

.main-footer h2 {
    color: #fff;
    margin-bottom: 40px;
}

.main-footer .social-icons {
    margin-bottom: 30px;
}

.main-footer .social-icons a {
    color: #fff;
    font-size: 2.5em;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.main-footer .social-icons a:hover {
    color: var(--botoes-destaques);
}

.main-footer p {
    font-size: 0.9em;
    color: #ccc;
    margin-top: 20px;
}

.main-footer .credits {
    font-size: 0.8em;
    margin-top: 10px;
}


/* Responsive Design */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3.5em;
    }
    .hero-content h2 {
        font-size: 1.5em;
    }
    .two-column-layout {
        flex-direction: column;
        text-align: center;
    }
    .image-column {
        margin-bottom: 30px;
    }
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 10px;
    }
    .main-nav ul li {
        margin: 5px 15px;
    }
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.8em; /* Ajustei de 3.5em para 2.8em */
    }
    .hero-content h2 {
        font-size: 1.2em; /* Ajustei de 1.5em para 1.2em */
    }
    .hero-section {
        background-attachment: scroll;
    }
    h2 { font-size: 2em; }
    h3 { font-size: 1.5em; }
    .bellas-text {
        font-size: 1.3em;
    }
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
    .service-item {
        padding: 20px;
    }
    .service-item span {
        font-size: 1.8em;
    }
    .service-item h3 {
        font-size: 1.2em;
    }
    .integration-section ul {
        font-size: 1.1em;
    }
    .institutional-section .highlight-phrase {
        font-size: 2em;
    }
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }

    /* Mostra o hambúrguer em telas pequenas */
    .hamburger-menu {
        display: block;
    }

    /* Ajusta o contêiner do cabeçalho para ter logo e hambúrguer lado a lado */
    .main-header .container {
        flex-direction: row; /* Volta para row para logo e hambúrguer ficarem lado a lado */
        justify-content: space-between;
        align-items: center;
    }

    .main-header .logo {
        margin-bottom: 0; /* Remove a margem inferior que tinha para mobile */
    }

    /* Esconde o menu de navegação por padrão em mobile */
    .main-nav {
        position: absolute; /* Para que ele flutue acima do conteúdo */
        top: 100%; /* Posiciona abaixo do cabeçalho */
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.98);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        display: none; /* ESCONDE O MENU */
        flex-direction: column; /* Para os itens empilharem quando for visível */
        align-items: center;
        padding: 20px 0;
        transition: transform 0.3s ease-out; /* Transição para abertura suave */
        transform: translateY(-100%); /* Começa fora da tela (acima) */
        z-index: 999; /* Garante que o menu esteja acima do conteúdo da página */
    }

    /* Estado ativo do menu para mobile (quando clicado) */
    .main-nav.active {
        display: flex; /* MOSTRA O MENU */
        transform: translateY(0); /* Desliza para a posição normal */
    }

    .main-nav ul {
        flex-direction: column; /* Força os itens do UL a ficarem em coluna */
        width: 100%;
        text-align: center;
    }

    .main-nav ul li {
        margin: 15px 0; /* Espaçamento vertical entre os itens do menu */
    }

    .main-nav ul li a {
        font-size: 1.2em; /* Tamanho da fonte para links em mobile */
        padding: 10px 0;
        display: block; /* Faz o link ocupar toda a área clicável */
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2em;
    }
    .hero-content h2 {
        font-size: 1em;
    }
    .btn {
        padding: 12px 25px;
        font-size: 0.9em;
    }
    .team-member img {
        width: 90px;
        height: 90px;
    }
    .social-icons a {
        font-size: 2em;
        margin: 0 10px;
    }
    .modal-content {
        padding: 30px 20px;
    }
}