/* --- INÍCIO: REGRA PARA FONTE CUSTOMIZADA --- */
@font-face {
    font-family: 'Ice Cream Soda';
    src: url('fonts/ICE-CS.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
/* --- FIM: REGRA PARA FONTE CUSTOMIZADA --- */

/* NOVAS CORES APLICADAS:
   - Fundo Principal: #F9B35D
   - Texto Principal: #000
   - Destaque Forte: #F14545
   - Destaque Secundário: #823DD1
*/

/* --- RESET BÁSICO E AJUSTE PARA NAV FIXA --- */
body {
    margin: 0;
    font-family: Arial, sans-serif; 
    background-color: #F9B35D; 
    color: #000; 
    text-align: center;
    scroll-behavior: smooth; 
    padding-top: 60px; 
}

/* --- ESTILOS GERAIS --- */
h1, h2, h3, .tagline, .subtitle, .about-text p, .direct-contact {
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000;
}

/* CONTAINER */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

/* Fonte para o título */
.titulo-lua {
    font-family: "Ice Cream Soda", cursive; 
}

/* --- NAV BAR FIXA --- */
.navbar {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #F9B35D; 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); 
    border-bottom: 1px solid #E09D4C; 
    z-index: 1000; 
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 20px;
}

.nav-logo {
    font-family: "Ice Cream Soda", cursive;
    color: #000; 
    font-size: 1.8rem;
    text-decoration: none;
    letter-spacing: 5px; 
    text-transform: none; 
    white-space: nowrap; 
}

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

.nav-links a {
    text-decoration: none;
    color: #000; 
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.nav-links a:hover {
    color: #F14545; 
}

/* Botão CTA na Nav Bar */
.cta-nav {
    background-color: transparent; 
    border: 1px solid #F14545; 
    color: #F14545 !important; 
    padding: 5px 15px;
    border-radius: 0; 
    font-weight: bold;
}

.cta-nav:hover {
    background-color: #F14545; 
    color: #fff !important; 
}

/* Ícone do menu (apenas mobile) */
.menu-icon {
    font-size: 2rem;
    cursor: pointer;
    color: #823DD1; 
    display: none;
}


/* --- SEÇÃO 1: ESTILO HERO --- */
.hero-section {
    min-height: calc(100vh - 60px); 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: #F9B35D; 
    color: #000; 
}

.logo-container {
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    /* Margem ajustada para compactar o logo/título */
    margin-bottom: 15px; 
    
    /* Largura de referência: 200px (tamanho final da logo) */
    width: 200px; 
}

.logo-lua {
    /* Logo: 200% de aumento (200px) */
    width: 200px; 
    height: auto;
    margin-bottom: 20px; 
    margin-right: 0; 
}

.titulo-animado {
    /* Contêiner: 100% dos 200px */
    position: relative;
    height: 70px; 
    width: 100%;
    /* Garante a centralização absoluta do contêiner */
    margin: 0 auto; 
    text-align: center; 
}

.titulo-lua {
    /* TÍTULO: Tamanho final 2.8rem */
    font-size: 2.8rem; 
    letter-spacing: 2px; 
    
    margin: 0;
    position: absolute; 
    top: 0;
    left: 50%; 
    /* Correção de centralização */
    transform: translate(-50%, 0); 
    opacity: 0; 
    transition: opacity 0.2s ease-in-out; 
    text-shadow: none; 
    text-transform: none; 
    white-space: nowrap; 
}

/* Cores Animadas */
#texto-rosa { color: #00C2D9; } 
#texto-azul { color: #823DD1; } 
#texto-laranja { color: #F14545; } 

.titulo-lua.ativo {
    opacity: 1; 
}

/* Estilo para a palavra PERSONALIZADOS */
.sub-titulo {
    font-family: Arial, sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    
    /* Spacing ajustado para ficar ligeiramente menor */
    letter-spacing: 5px; 
    font-size: 0.8rem;
    /* AJUSTE FINAL DE ALTURA: Colado no título */
    margin-top: 0px; 
    color: #333; 
}

/* Tagline */
.tagline {
    font-size: 1.8rem;
    max-width: 700px;
    margin-bottom: 60px; 
    font-weight: 300;
}

/* Botão CTA Primário do Hero */
.primary-cta-hero {
    text-decoration: none;
    background-color: transparent;
    border: 2px solid #F14545; 
    color: #F14545; 
    padding: 18px 40px;
    font-size: 1.1rem;
    border-radius: 0;
    font-weight: bold;
    letter-spacing: 1px;
    transition: background-color 0.3s;
    display: inline-block;
}

.primary-cta-hero:hover {
    background-color: #F14545; 
    color: #fff; 
}

/* --- SEÇÃO 2: ESTILO SOBRE A FÁBRICA --- */
.about-section {
    padding: 100px 20px; 
    background-color: #fff; 
    color: #000;
}

.about-section h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #000;
}

.about-content {
    display: flex;
    flex-wrap: wrap; 
    gap: 80px; 
    align-items: flex-start; 
    text-align: left;
    margin-bottom: 40px;
}

.about-text {
    flex: 2; 
    min-width: 300px;
}

.about-text p {
    line-height: 1.8;
    margin-bottom: 20px;
    color: #000; 
    font-size: 3.1rem;
}

.about-text .highlight {
    font-size: 1.1rem;
    padding: 15px;
    background-color: #f0f0f0;
    border-left: 5px solid #F14545; 
    font-weight: bold;
}

.about-image {
    flex: 1; 
    min-width: 250px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 0; 
    box-shadow: none; 
}

/* Botão Secundário */
.secondary-button {
    text-decoration: none;
    background-color: transparent;
    border: 2px solid #F14545; 
    color: #F14545; 
    padding: 10px 20px;
    border-radius: 0; 
    font-weight: bold;
    transition: all 0.3s;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 20px;
}

.secondary-button:hover {
    background-color: #F14545; 
    color: white;
}

/* --- SEÇÃO 3: ESTILO PORTFÓLIO (PRODUTOS) --- */
.portfolio-section {
    padding: 100px 20px;
    background-color: #F9B35D; 
    color: #000; 
}

.portfolio-section h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #000;
}

.portfolio-section .subtitle {
    font-size: 1.1rem;
    margin-bottom: 60px;
    color: #333; 
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 30px;
    margin-bottom: 50px;
}

.portfolio-item {
    background-color: #FFFFFF; 
    border-radius: 0; 
    overflow: hidden; 
    box-shadow: none; 
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #E09D4C; 
}

.portfolio-item:hover {
    transform: translateY(-5px); 
    box-shadow: 0 5px 15px rgba(241, 69, 69, 0.4); 
}

.portfolio-item img {
    width: 100%;
    height: 300px; 
    object-fit: cover; 
    display: block;
}

.item-info {
    padding: 20px;
    text-align: center;
}

.item-info h3 {
    margin: 0 0 5px 0;
    color: #F14545; 
    font-size: 1.5rem;
}

.item-info p {
    margin: 0;
    color: #555; 
    font-size: 0.9rem;
}

/* --- SEÇÃO 4: ESTILO PROCESSO DE TRABALHO --- */
.process-section {
    padding: 100px 20px;
    background-color: #F8B058; 
    color: #000;
}

.process-section h2 {
    color: #000;
}

.process-section .subtitle {
    color: #333;
    margin-bottom: 60px;
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.step {
    flex: 1;
    min-width: 250px;
    max-width: 280px;
    padding: 30px;
    background-color: #F9B35D; 
    border-radius: 0; 
    border: 1px solid #E09D4C;
}

.step-number {
    font-size: 3rem; 
    font-weight: bold;
    color: #823DD1; 
    margin-bottom: 10px;
}

.step h3 {
    margin-top: 0;
    font-size: 1.4rem;
}

.step p {
    font-size: 1rem;
    color: #333; 
    line-height: 1.6;
}

.process-section .primary-cta {
    margin-top: 60px;
    background-color: transparent;
    border: 2px solid #823DD1; 
    color: #823DD1;
    padding: 18px 40px;
    border-radius: 0;
}

.process-section .primary-cta:hover {
    background-color: #823DD1;
    color: #fff;
}


/* --- SEÇÃO 5: ESTILO CONTATO E ORÇAMENTO --- */
.contact-section {
    padding: 100px 20px;
    background-color: #fff; 
    color: #000;
}

.contact-section h2 {
    color: #000;
}

.contact-section .subtitle {
    margin-bottom: 50px;
    color: #555;
}

.contact-form {
    display: flex;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto 30px auto;
    gap: 20px;
    text-align: left;
}

.form-group {
    flex: 1 1 calc(50% - 10px); 
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    flex: 1 1 100%;
}

.contact-form label {
    font-weight: bold;
    margin-bottom: 5px;
    color: #000;
    font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 0; 
    font-size: 1rem;
    transition: border-color 0.3s;
    text-transform: uppercase;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #F14545; 
    outline: none;
}

.submit-button {
    margin-top: 20px;
    width: 100%;
    cursor: pointer;
    font-size: 1.1rem;
    
    background-color: #F14545; 
    color: #fff; 
    padding: 18px 40px;
    border-radius: 0;
}

.submit-button:hover {
    background-color: #CC3D3D; 
}


.direct-contact {
    margin-top: 40px;
    font-size: 1.1rem;
    font-weight: bold;
    color: #555;
}


/* --- RODAPÉ --- */
footer {
    padding: 30px 20px;
    background-color: #F8B058; 
    color: #333; 
    border-top: 1px solid #E09D4C; 
    font-size: 0.9rem;
    text-transform: uppercase;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    color: #333; 
    text-decoration: none;
    margin-left: 15px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #F14545; 
}


/* --- MEDIA QUERIES (Responsividade) --- */
@media (max-width: 768px) {
    /* Oculta os links em linha por padrão */
    .nav-links {
        display: none; 
    }
    
    /* ESTILO E COMPORTAMENTO DO MENU MOBILE */
    .nav-links.open {
        display: flex; 
        position: absolute;
        top: 60px; 
        left: 0;
        width: 100%;
        background-color: #F