/* Global Styles */
body {
    background-color: #000000;
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 90px 0 0;
    line-height: 1.6;
}

#indexmain {
    font-size: 1.2em;
    font-weight: bold;
    color: #E3C053;
}

#page-wrapper {
    padding-top: 0;
}

.inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

h1, h2, h3 {
    color: #E3C053; /* Gold */
    text-transform: uppercase;
    letter-spacing: 2px;
}

h1 { font-size: 2.5em; }
h2 { font-size: 2em; margin-bottom: 40px; text-align: center; }

p { font-size: 1.1em; color: #CCCCCC; }

/* Header */
#header {
    background: rgba(0, 0, 0, 0.9); /* Fundo sólido para garantir leitura */
    padding: 15px 5%; /* Padding lateral em % para maior flexibilidade */
    position: absolute; /* Mantendo absoluto como preferido anteriormente */
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box; /* Garante que o padding não aumente o width total */
    border-bottom: 1px solid rgba(227, 192, 83, 0.2);
}

#header h1 a {
    color: #E3C053;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    white-space: nowrap; /* Impede o logo de quebrar linha */
}

#nav {
    display: flex;
    align-items: center;
}

#nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    gap: 25px; /* Espaçamento fixo entre os itens */
}

#nav ul li {
    margin: 0;
}

#nav ul li a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9em;
    text-transform: uppercase;
    transition: color 0.3s;
    white-space: nowrap; /* Garante que o texto do link não quebre */
}
#linkdev {
    color: #E3C053;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;

}

#nav ul li a:hover { color: #E3C053; }

/* Hero Section */
#hero {
    min-height: calc(100vh - 90px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #111;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/banner.jpg');
    background-size: cover;
    background-position: center;
    margin-top: 0;
    padding-top: 20px;
}
#hero {
    margin-top: 0; /* Remove a margem superior que era usada para o header fixo */
    padding-top: 100px; /* Adiciona um padding para o conteúdo não ficar embaixo do header */
}

#hero h1 { font-size: 3.5em; margin-bottom: 20px; }
#hero p { font-size: 1.5em; max-width: 800px; margin: 0 auto 40px; }

#contact p {
    font-size: 1.2em;
    color: #E3C053;
    margin-bottom: 30px;
    text-align: center;
}

/* Buttons */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 40px;
    background: transparent;
    color: #E3C053;
    border: 2px solid #E3C053;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s;
    cursor: pointer;
}

.button.fit {
    width: 100%;
    max-width: 360px;
}

.button.primary,
input[type="submit"].primary {
    background: #E3C053;
    color: #000000;
    border-color: #E3C053;
}

.button:hover,
input[type="submit"].primary:hover {
    background: #E3C053;
    color: #000000;
}

.actions {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.actions.stacked {
    flex-direction: column;
    align-items: stretch;
}

.actions.special {
    justify-content: center;
}

.actions.special li {
    margin: 0;
}

input[type="submit"],
input[type="button"],
button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #E3C053;
    color: #000;
    border: none;
    border-radius: 8px;
    padding: 15px 35px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

input[type="submit"]:hover,
input[type="button"]:hover,
button:hover {
    transform: translateY(-2px);
    filter: brightness(0.95);
}

/* Differentials Grid */
.differentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.diff-item {
    background: #111;
    padding: 40px;
    border-radius: 10px;
    border: 1px solid #333;
    transition: transform 0.3s;
}

.diff-item:hover { transform: translateY(-10px); border-color: #E3C053; }

.diff-item .icon {
    font-size: 3em;
    color: #E3C053;
    margin-bottom: 20px;
    display: block;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
}

.portfolio-item {
    background: #111;
    overflow: hidden;
    border-radius: 10px;
}

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

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

.portfolio-item .content { padding: 30px; }

/* Form Styles */
#form {
    background: #111;
    padding: 40px;
    border-radius: 10px;
    border: 1px solid #333;
    max-width: 900px;
    margin: 0 auto;
}

label { 
    display: block; 
    margin-bottom: 10px; 
    color: #E3C053; 
    font-weight: bold; 
    font-size: 0.95em;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 15px;
    background: #222;
    border: 1px solid #444;
    color: #FFF;
    margin-bottom: 20px;
    font-family: inherit;
    border-radius: 5px;
    box-sizing: border-box;
}

input:focus, select:focus, textarea:focus {
    border-color: #E3C053;
    outline: none;
    box-shadow: 0 0 10px rgba(227, 192, 83, 0.2);
}

/* Radio Group Styles */
.radio-group {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: normal;
    color: #FFFFFF;
}

.radio-label input[type="radio"] {
    width: auto;
    margin-right: 10px;
    margin-bottom: 0;
    cursor: pointer;
    accent-color: #E3C053;
}

.radio-label span {
    font-size: 1em;
}

/* Grid Layout for Form */
.row {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.col-6 {
    grid-column: span 6;
}

.col-12,
.col-12-xsmall {
    grid-column: span 12;
}

.gtr-uniform > * {
    margin: 0;
}

/* Form Status Message */
.form-status {
    margin-top: 20px;
    text-align: center;
    font-weight: bold;
    padding: 15px;
    border-radius: 5px;
}

.form-status.success {
    background: rgba(227, 192, 83, 0.1);
    color: #E3C053;
}

.form-status.error {
    background: rgba(255, 0, 0, 0.1);
    color: #FF6B6B;
}

/* Footer */
#footer {
    padding: 60px 20px;
    text-align: center;
    background: #000;
    border-top: 1px solid #333;
}

.icons { list-style: none; padding: 0; display: flex; justify-content: center; align-items: center; gap: 1rem; margin-bottom: 20px; }
.icons li { margin: 0; }
.icons li a {
    color: #E3C053;
    font-size: 1.5em;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
}

.icons li a:hover {
    color: #d4af37;
}

.copyright {
    list-style: none;
    margin: 0;
    padding: 0;
    color: #666;
    font-size: 0.9em;
}

.copyright li {
    margin: 0;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    #header {
        flex-direction: column;
        align-items: stretch;
        padding: 15px 20px;
    }

    #nav ul {
        flex-direction: column;
        margin-top: 15px;
        justify-content: center;
        align-items: center;
    }

    #nav ul li {
        margin: 8px 0;
    }

    #hero {
        min-height: calc(100vh - 120px);
        padding: 180px 20px 40px;

    }

    #hero h1 { 
        font-size: 2.2em; 
        margin-top: 0;
    }

#header h1 {
    margin: 0;
    flex-shrink: 0; /* Impede o logo de encolher */
}

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

    .diff-item {
        padding: 30px;
    }

    .portfolio-item .content {
        padding: 20px;
    }

    #form {
        padding: 30px;
    }

    .col-6 {
        grid-column: span 12;
    }

    .radio-group {
        flex-direction: column;
        gap: 15px;
    }

    .inner {
        padding: 40px 15px;
    }
}

/* Wrapper Styles */
.wrapper {
    padding: 80px 0;
}

.wrapper.style1 {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5));
}

.wrapper.style2 {
    background: #000;
}

.wrapper.style3 {
    background: #0a0a0a;
}

.wrapper.style5 {
    background: #000;
}

@media (max-width: 1024px) {
    #header {
        padding: 15px 20px;
    }
    #nav ul {
        gap: 15px; /* Diminui o espaço entre links em telas menores */
    }
    #header h1 a {
        font-size: 1em;
    }
}

/* Ajuste Mobile */
@media (max-width: 768px) {
    #header {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    #nav {
        margin-top: 15px;
    }
    #nav ul {
        gap: 15px;
        justify-content: center;
    }
}
/* Indicador de Scroll */
.scroll-indicator {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    z-index: 99;
    pointer-events: none;
}

.scroll-indicator.visible {
    opacity: 0.7;
    visibility: visible;
}

.scroll-indicator .mouse {
    width: 26px;
    height: 42px;
    border: 2px solid #E3C053;
    border-radius: 15px;
    position: relative;
    margin-bottom: 5px;
}

.scroll-indicator .wheel {
    width: 4px;
    height: 8px;
    background: #E3C053;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scroll-wheel 1.5s infinite;
}

.scroll-indicator .arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scroll-indicator .arrow span {
    display: block;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid #E3C053;
    border-right: 2px solid #E3C053;
    transform: rotate(45deg);
    margin: -4px;
    animation: scroll-arrow 1.5s infinite;
}

.scroll-indicator .arrow span.a2 { animation-delay: 0.2s; }
.scroll-indicator .arrow span.a3 { animation-delay: 0.4s; }

/* Animações */
@keyframes scroll-wheel {
    0% { top: 8px; opacity: 1; }
    100% { top: 25px; opacity: 0; }
}

@keyframes scroll-arrow {
    0% { opacity: 0; transform: rotate(45deg) translate(-5px, -5px); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: rotate(45deg) translate(5px, 5px); }
}

/* Pulsar Suave quando ocioso */
.scroll-indicator.pulse {
    animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
    0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.5; }
    50% { transform: translateX(-50%) scale(1.1); opacity: 0.9; }
}