/* ==========================================================================
   1. RESET BÁSICO & LAYOUT BASE
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    background-color: #ffffff;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #333333;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Trava a rolagem apenas na página Home */
body.home-page {
    height: 100vh;
    max-height: 100vh;
    overflow: hidden !important;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ==========================================================================
   2. PATTERNS DE FUNDO
   ========================================================================== */
.bg-hexagon-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 320px;
    height: 100vh;
    background-image: url('../images/bg-hexagon.png');
    background-repeat: repeat-y;
    background-position: left top;
    background-size: contain;
    z-index: 0;
    pointer-events: none;
    opacity: 0.35;
}

.bg-lampada-pattern {
    position: fixed;
    right: 0;
    bottom: 60px;
    top: auto;
    width: 48vw;
    height: 80vh;
    background-image: url('../images/bg-lampada.png');
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: contain;
    z-index: 0;
    pointer-events: none;
    opacity: 0.85;
}

/* ==========================================================================
   3. CABEÇALHO FIXO E NAVEGAÇÃO (TRANSPARÊNCIA AUMENTADA)
   ========================================================================== */
header {
    background-color: rgba(255, 255, 255, 0.75); /* Transparência adicionada */
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 100px;
    flex-shrink: 0;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 92%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 65px;
    width: auto;
    display: block;
    margin-left: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #555555;
    font-weight: 400;
    font-size: 1.15rem;
    transition: color 0.3s ease;
    padding: 10px 0;
    display: inline-block;
}

.nav-link:hover,
.nav-link.active {
    color: #f2ca4c;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    min-width: 250px;
    list-style: none;
    padding: 10px 0;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    z-index: 1001;
}

.dropdown li a {
    display: block;
    padding: 10px 20px;
    color: #555;
    text-decoration: none;
    font-size: 0.95rem;
    transition: background 0.2s, color 0.2s;
}

.dropdown li a:hover {
    background: #fdfaf0;
    color: #f2ca4c;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #2b2b2b;
}

/* ==========================================================================
   4. ESTRUTURA PRINCIPAL E CONTEÚDO
   ========================================================================== */
main {
    position: relative;
    z-index: 1;
    width: 100%;
    flex: 1 0 auto;
    padding-top: 120px !important;
    padding-bottom: 40px;
    background: transparent !important;
}

/* Ajuste Exclusivo da Home Page */
body.home-page main {
    display: flex;
    align-items: center;
    padding-top: 100px !important;
    padding-bottom: 0;
}

/* Títulos de Páginas Internas Padrão */
.page-title,
h1.page-title {
    font-size: 2.2rem !important;
    margin-bottom: 20px;
    color: #f2ca4c;
    font-weight: 700;
    display: block !important;
    visibility: visible !important;
}

/* Título de Fale Conosco/Contato (Diminuído ainda mais: 1.1rem) */
.contato-wrapper .page-title,
.contato-wrapper h1,
.contato-wrapper h1.page-title,
#contato-title {
    font-size: 1.1rem !important;
}

.page-description {
    font-size: 1.1rem;
    color: #555;
    max-width: 800px;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Título da Home */
.home-title {
    font-size: 3.1rem;
    font-weight: 300;
    color: #666666;
    line-height: 1.25;
    letter-spacing: -0.5px;
    margin-top: -100px;
}

.indent-line {
    display: block;
    margin-left: 50px;
}

/* Grids e Cards Padrão (TRANSPARÊNCIA AUMENTADA PARA 0.25) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.service-card {
    background: rgba(255, 255, 255, 0.25);
    padding: 30px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-left: 4px solid #f2ca4c;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.service-card h3 {
    margin-bottom: 12px;
    color: #2b2b2b;
    font-size: 1.25rem;
}

.service-card p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
}

.card-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
    margin-bottom: 30px;
}

.card-item {
    background: rgba(255, 255, 255, 0.25);
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-left: 4px solid #f2ca4c;
}

.card-item h3 {
    margin-bottom: 12px;
    color: #2b2b2b;
    font-size: 1.15rem;
    font-weight: 600;
}

.card-item p {
    color: #555;
    font-size: 0.95rem;
}

.btn-primary {
    display: inline-block;
    background-color: #f2ca4c;
    color: #ffffff !important;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background-color: #d9ab28;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.cta-container {
    margin-top: 40px;
    margin-bottom: 40px;
}

/* ==========================================================================
   5. PÁGINA DE CONTATO
   ========================================================================== */
.contato-wrapper {
    display: block;
    max-width: 800px;
    margin: 0;
}

.contato-subtitle {
    font-size: 1.1rem;
    color: #555;
    max-width: 650px;
    margin-bottom: 25px;
    line-height: 1.5;
}

.form-grid-designer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 25px;
    width: 100%;
}

.form-group-full {
    grid-column: 1 / -1;
}

.form-group-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group-item label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #4a4a4a;
    margin-left: 5px;
}

.form-control-designer {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #f2ca4c;
    border-radius: 18px;
    font-family: inherit;
    font-size: 0.95rem;
    color: #333;
    outline: none;
    background: rgba(255, 255, 255, 0.25);
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control-designer::placeholder {
    color: #888;
    font-weight: 400;
}

.form-control-designer:focus {
    border-color: #d9ab28;
    box-shadow: 0 0 5px rgba(242, 202, 76, 0.4);
}

textarea.form-control-designer {
    resize: vertical;
    min-height: 120px;
}

.btn-enviar-container {
    grid-column: 1 / -1;
    text-align: right;
    margin-top: 10px;
    margin-bottom: 20px;
}

.btn-submit-link {
    background: none;
    border: none;
    color: #333;
    font-size: 1.4rem;
    font-weight: 500;
    cursor: pointer;
    padding: 5px 15px;
    transition: color 0.3s;
}

.btn-submit-link:hover {
    color: #f2ca4c;
}

/* ==========================================================================
   6. PÁGINA SOBRE NÓS (TRANSPARÊNCIA AJUSTADA PARA 0.50)
   ========================================================================== */
.hero-card-about {
    display: flex;
    background: rgba(253, 251, 246, 0.50) !important;
    border: none !important;
    border-left: 6px solid #f2ca4c !important;
    border-radius: 24px !important;
    padding: 35px 40px;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
    margin-bottom: 40px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hero-card-about .text-content {
    flex: 1;
    min-width: 280px;
}

.hero-card-about .text-content h3 {
    font-size: 1.35rem;
    color: #111111;
    margin-bottom: 12px;
    font-weight: 700;
}

.hero-card-about .text-content p {
    font-size: 1rem;
    color: #555555;
    line-height: 1.6;
}

.hero-card-about .stat-box {
    text-align: center;
    min-width: 150px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.65);
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.hero-card-about .stat-box .number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #f2ca4c;
    line-height: 1;
    margin-bottom: 6px;
}

.hero-card-about .stat-box .label {
    font-size: 0.75rem;
    color: #666;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   7. RODAPÉ
   ========================================================================== */
footer {
    background-color: #111111;
    color: #888888;
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    position: relative;
    z-index: 10;
    width: 100%;
    flex-shrink: 0;
}

/* Força a quebra de linha a acontecer juntas a partir de "Estratégia" */
footer p span {
    display: inline-block;
}

/* ==========================================================================
   8. RESPONSIVIDADE (MOBILE)
   ========================================================================== */
@media screen and (max-width: 768px) {
    html, body {
        height: auto;
        min-height: 100vh;
    }

    .container {
        width: 100%;
        padding: 0 20px;
    }

    main {
        padding-top: 110px !important;
    }

    body.home-page {
        height: 100vh;
        max-height: 100vh;
        overflow: hidden !important;
    }

    body.home-page main {
        display: flex;
        align-items: flex-start;
        height: calc(100vh - 100px - 60px);
        padding-top: 100px !important;
        padding-bottom: 0;
    }

    .bg-hexagon-pattern {
        opacity: 0.55 !important;
        width: 100% !important;
    }

    .bg-lampada-pattern {
        width: 85vw;
        height: 55vh;
        bottom: 50px;
        right: -5vw;
        opacity: 0.85;
    }

    .hamburger { 
        display: block; 
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 100px;
        left: 0;
        width: 100vw;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        gap: 0;
        padding: 10px 0 20px 0;
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
        max-height: calc(100vh - 100px);
        overflow-y: auto;
    }

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

    .dropdown {
        position: static;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none;
        background: rgba(250, 250, 250, 0.8);
        padding-left: 15px;
        display: block !important;
        border-top: 1px dashed #eee;
    }

    .dropdown li a {
        padding: 8px 20px;
        font-size: 0.9rem;
        color: #666;
    }

    .nav-link {
        display: block;
        padding: 12px 20px;
        font-weight: 600;
        border-bottom: 1px solid #f5f5f5;
    }

    .logo-img {
        margin-left: 0;
    }

    .page-title,
    h1.page-title {
        font-size: 1.6rem !important;
    }

    .contato-wrapper .page-title,
    .contato-wrapper h1,
    .contato-wrapper h1.page-title,
    #contato-title {
        font-size: 1.0rem !important;
    }

    .home-title {
        font-size: 1.75rem;
        line-height: 1.35;
        margin-top: 135px;
    }

    .indent-line {
        display: block;
        margin-left: 0;
    }

    .form-grid-designer {
        grid-template-columns: 1fr;
    }

    .hero-card-about {
        flex-direction: column;
        padding: 25px 20px;
    }
}