/* --- Variáveis de Cor e Configurações Globais --- */
:root {
    --primary-blue: #0f0d5f;
    --highlight-blue: #ff2600;
    --dark-blue: #050538; /* rgb(5, 5, 56) */
    --primary-orange: #cb351b;
    --light-gray: #f8f9fa;
    --medium-gray: #e0e0e0;
    --white: #ffffff;
    --text-dark: var(--dark-blue);
    --text-light: #555;
    --font-family-base: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    --base-font-size: 16px;
    --line-height-base: 1.6;
    --spacing-unit: 1rem;
}

/* --- Reset Básico e Estilos Globais --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: var(--base-font-size); }
body { font-family: var(--font-family-base); line-height: var(--line-height-base); color: var(--text-dark); background-color: var(--white); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
h1, h2, h3 { line-height: 1.3; margin-bottom: calc(var(--spacing-unit) * 0.75); color: var(--primary-blue); font-weight: 500; }
h1 { font-size: 2.5rem; font-weight: 700; }
h2 { font-size: 2rem; margin-bottom: var(--spacing-unit); }
h3 { font-size: 1.5rem; }
p { margin-bottom: var(--spacing-unit); color: var(--text-light); }
a { color: var(--primary-orange); text-decoration: none; transition: color 0.3s ease, background-color 0.3s ease; }
a:hover, a:focus { color: var(--highlight-blue); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* --- Estrutura e Container --- */
.container { max-width: 1140px; margin-left: auto; margin-right: auto; padding-left: var(--spacing-unit); padding-right: var(--spacing-unit); }
section { padding: calc(var(--spacing-unit) * 3) 0; position: relative; }

/* --- Seção Hero --- */
.hero-section-new {
    background-image: url('hero-image.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: calc(var(--spacing-unit) * 6) 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-section-new::before { display: none; content: none; }

.hero-container-new {
    max-width: 1140px;
    margin: 0 auto;
    padding-left: var(--spacing-unit);
    padding-right: var(--spacing-unit);
    width: 100%;
    display: block;
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 550px;
    /* Sem fundo ou padding extra */
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    position: static; /* Volta ao fluxo normal */
    z-index: auto;
    flex: none;
}

.hero-text h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-unit);
    color: var(--primary-blue); /* Cor original */
    text-shadow: none;
}

.hero-text p {
    font-size: 1.1rem;
    color: var(--text-light); /* Cor original */
    margin-bottom: calc(var(--spacing-unit) * 1.5);
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    text-shadow: none;
}

.hero-text .button {
    margin-top: var(--spacing-unit);
    margin-right: 0;
}

/* Fundos outras seções */
#sobre { padding: calc(var(--spacing-unit) * 4) 0; background-color: var(--white); color: var(--text-dark); z-index: 1; border-top: none; position: relative; }
#sobre::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-image: url('background-sobre.jpg'); background-size: cover; background-position: center center; opacity: 0.08; z-index: -1; }
#sobre h2 { color: var(--primary-blue); text-shadow: none; }
#sobre p { color: var(--text-light); text-shadow: none; }

#servicos { padding: calc(var(--spacing-unit) * 5) 0; background-image: url('background-serviços.jpg'); background-size: cover; background-position: center center; background-attachment: fixed; z-index: 1; color: var(--white); border-top: none; }
#servicos::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(5, 5, 56, 0.3); z-index: -1; }

#instagram { background-color: var(--white); border-top: 1px solid var(--medium-gray); }
#contato { background-image: url('background-contato.jpg'); background-size: cover; background-position: center center; background-attachment: fixed; color: var(--white); z-index: 1; padding: calc(var(--spacing-unit) * 4) 0; border-top: none; }
#contato::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(5, 5, 56, 0); z-index: -1; }

/* --- Cabeçalho --- */
.site-header { padding: calc(var(--spacing-unit) * 1.5) 0; border-bottom: 1px solid rgba(255, 255, 255, 0.15); z-index: 10; position: relative; background-image: url('background-contato.jpg'); background-size: cover; background-position: center center; }
.site-header::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(5, 5, 56, 0); z-index: -1; }
.header-container { display: flex; justify-content: space-between; align-items: center; }
.logo a { display: inline-block; text-decoration: none; }
#logo-image { height: 70px; width: auto; display: block; }
.main-nav ul { list-style: none; display: flex; gap: calc(var(--spacing-unit) * 1.5); }
.main-nav a { text-decoration: none; color: var(--white); font-weight: 500; padding: 0.5rem 0; position: relative; transition: color 0.3s ease; font-size: 1.1rem; }
.main-nav a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 0; background-color: var(--highlight-blue); transition: width 0.3s ease; }
.main-nav a:hover, .main-nav a:focus, .main-nav a.active { color: var(--highlight-blue); }
.main-nav a:hover::after, .main-nav a:focus::after, .main-nav a.active::after { width: 100%; }
.menu-toggle { display: none; background: none; border: none; font-size: 2rem; cursor: pointer; color: var(--white); }


/* --- Botões Padrão --- */
.button { display: inline-block; padding: calc(var(--spacing-unit)*0.75) calc(var(--spacing-unit)*1.5); border: none; border-radius: 5px; font-size: 1rem; font-weight: 700; text-align: center; text-decoration: none; cursor: pointer; transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease; box-shadow: 0 2px 4px rgba(0,0,0,0.1); text-transform: uppercase; letter-spacing: 0.5px; }
.button:hover, .button:focus { text-decoration: none; transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.15); }
.button:active { transform: translateY(0); box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.button-primary { background-color: var(--primary-orange); color: var(--white); }
.button-primary:hover, .button-primary:focus { background-color: var(--highlight-blue); color: var(--white); }
.button-secondary { background-color: var(--primary-blue); color: var(--white); }
.button-secondary:hover, .button-secondary:focus { background-color: #0a084d; color: var(--white); }

/* --- Seção de Serviços --- */
.section-title-contact-style-container { text-align: center; margin-bottom: calc(var(--spacing-unit) * 2.5); }
@keyframes pulse-glow { 0%, 100% { box-shadow: 0 0 5px rgba(255, 255, 255, 0.2); } 50% { box-shadow: 0 0 12px 5px rgba(255, 255, 255, 0.4); } }
.services-title-button { cursor: default; pointer-events: none; display: inline-flex; justify-content: center; animation: pulse-glow 3s infinite ease-in-out; border-color: rgba(255, 255, 255, 0.3); background-color: rgba(255, 255, 255, 0.15); }
.services-title-button:hover { transform: none; box-shadow: none; background-color: rgba(255, 255, 255, 0.15); border-color: rgba(255, 255, 255, 0.3); }
.services-title-button:hover i { color: var(--white); }
.services-title-button:hover span { color: var(--white); }
.services-title-button span { font-size: 1.2rem; font-weight: 700; text-shadow: 1px 1px 2px rgba(0,0,0,0.5); text-align: center; }

.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: calc(var(--spacing-unit) * 1.5); margin-top: var(--spacing-unit); }
.service-item { background-color: var(--white); padding: calc(var(--spacing-unit) * 1.5); border: 1px solid var(--medium-gray); border-radius: 8px; text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease; color: var(--text-dark); }
.service-item:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
.service-item h3 { color: var(--primary-blue); margin-top: 0; margin-bottom: calc(var(--spacing-unit) * 0.75); font-size: 1.3rem; }
.service-item p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 0; line-height: 1.5; }

/* --- Seção Instagram --- */
.instagram-section h2 { text-align: center; margin-bottom: calc(var(--spacing-unit)*0.5); color: var(--primary-blue); }
.instagram-section > .container > p { text-align: center; margin-bottom: calc(var(--spacing-unit)*2); font-size: 1.1rem; color: var(--text-light); }
.instagram-section > .container > p a { font-weight: 500; }
.instagram-feed-container { margin: var(--spacing-unit) auto 0 auto; max-width: 900px; }
.instagram-feed-container iframe { border-radius: 8px; border: 1px solid var(--medium-gray) !important; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.insta-button-container { text-align: center; margin-top: 2rem; }

/* --- Seção de Contato (e botões estilo contato) --- */
#contato h2 { text-align: center; margin-bottom: calc(var(--spacing-unit)*0.5); color: var(--white); }
#contato > .container > p { text-align: center; max-width: 700px; margin-left: auto; margin-right: auto; margin-bottom: calc(var(--spacing-unit)*2.5); color: var(--white); }
.contact-info-grid.contact-buttons { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: calc(var(--spacing-unit) * 2); margin-bottom: 0; }

.contact-item.button-contact { display: inline-flex; align-items: center; justify-content: center; gap: calc(var(--spacing-unit) * 0.75); background-color: rgba(255, 255, 255, 0.15); border: 1px solid rgba(255, 255, 255, 0.3); padding: calc(var(--spacing-unit) * 1.2); border-radius: 8px; transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease, color 0.3s ease; color: var(--white); text-decoration: none; min-width: 220px; box-shadow: none; }
.contact-item.button-contact:hover { background-color: rgba(255, 255, 255, 0.25); box-shadow: 0 4px 10px rgba(0,0,0,0.15); transform: translateY(-3px); color: var(--white); }
.contact-item.button-contact i { font-size: 1.6rem; color: var(--white); margin-bottom: 0; flex-shrink: 0; transition: color 0.3s ease; }
.contact-item.button-contact:hover i { color: var(--primary-orange); }
.contact-item.button-contact span { color: var(--white); font-size: 1rem; line-height: 1.3; font-weight: 500; text-shadow: none; transition: color 0.3s ease; text-align: center; }
.contact-item.button-contact i + span { text-align: left; }
.contact-item.button-contact:hover span { color: var(--white); }
#servicos .saiba-mais-button:hover i, #servicos .saiba-mais-button:hover span { color: var(--dark-blue); }

/* --- Estilos para a página mensagem.html --- */
.form-page-body { background-color: var(--light-gray); }
.form-page-main { padding: calc(var(--spacing-unit) * 2) 0; }
.contact-form.contact-form-standalone { max-width: 800px; margin-left: auto; margin-right: auto; background-color: var(--white); padding: calc(var(--spacing-unit) * 2); border: 1px solid var(--medium-gray); border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.08); margin-top: var(--spacing-unit); }
.contact-form.contact-form-standalone h2 { text-align: center; margin-bottom: var(--spacing-unit)*0.5; color: var(--primary-blue); }
.contact-form.contact-form-standalone > p:first-of-type { text-align: center; margin-bottom: calc(var(--spacing-unit) * 1.5); color: var(--text-light);}
.contact-form .back-link { text-align: center; margin-top: calc(var(--spacing-unit) * 1.5); font-size: 0.9rem; }
.contact-form .back-link a { color: var(--text-light); text-decoration: underline; }
.contact-form .back-link a:hover { color: var(--primary-blue); }

/* --- Formulário --- */
.form-group { margin-bottom: var(--spacing-unit); }
.form-group label { display: block; margin-bottom: calc(var(--spacing-unit) * 0.3); font-weight: 500; color: var(--text-dark); font-size: 0.9rem; }
.form-group input[type="text"], .form-group input[type="email"], .form-group input[type="tel"], .form-group textarea { width: 100%; padding: calc(var(--spacing-unit) * 0.7); border: 1px solid var(--medium-gray); border-radius: 5px; font-family: inherit; font-size: 1rem; transition: border-color 0.3s ease, box-shadow 0.3s ease; background-color: var(--white); }
.form-group input[type="text"]:focus, .form-group input[type="email"]:focus, .form-group input[type="tel"]:focus, .form-group textarea:focus { border-color: var(--primary-blue); box-shadow: 0 0 0 3px rgba(15, 13, 95, 0.2); outline: none; }
.form-group textarea { resize: vertical; min-height: 120px; }
#form-status { margin-top: var(--spacing-unit); font-weight: bold; text-align: center; }

/* --- Rodapé --- */
.site-footer { background-color: var(--dark-blue); color: var(--light-gray); padding: calc(var(--spacing-unit) * 2) 0; text-align: center; font-size: 0.9rem; line-height: 1.5; border-top: none; background-image: none; position: static; z-index: auto; }
.site-footer::before { display: none; content: none; }
.site-footer p { margin-bottom: calc(var(--spacing-unit) * 0.5); color: rgba(248, 249, 250, 0.8); }
.site-footer p:last-of-type { color: var(--light-gray); font-size: 0.95rem; }
.site-footer a { color: var(--highlight-blue); text-decoration: none; font-weight: 500; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-address { color: var(--highlight-blue); }

/* --- Botão WhatsApp Fixo --- */
#whatsapp-button { position: fixed; bottom: 20px; right: 20px; background-color: #25D366; color: var(--white); padding: 10px 15px; border-radius: 50px; display: flex; align-items: center; gap: 8px; text-decoration: none; box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2); z-index: 1001; font-size: 0.9rem; font-weight: 500; transition: transform 0.3s ease, box-shadow 0.3s ease; }
#whatsapp-button i { font-size: 1.5rem; }
#whatsapp-button:hover { transform: scale(1.05); box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.3); color: var(--white); }

/* --- Estilos para o Tooltip/Balão do WhatsApp --- */
.whatsapp-tooltip { position: fixed; bottom: 90px; right: 20px; background-color: var(--dark-blue); color: var(--white); padding: 10px 15px; border-radius: 8px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); z-index: 1000; max-width: 200px; font-size: 0.9rem; line-height: 1.4; opacity: 0; visibility: hidden; transform: translateY(10px) scale(0.9); transition: opacity 0.4s ease-out, transform 0.4s ease-out, visibility 0s linear 0.4s; display: flex; align-items: center; gap: 10px; }
.whatsapp-tooltip.visible { opacity: 1; visibility: visible; transform: translateY(0) scale(1); transition: opacity 0.4s ease-out, transform 0.4s ease-out, visibility 0s linear 0s; }
.whatsapp-tooltip span { flex-grow: 1; }
.whatsapp-tooltip-close { background: none; border: none; color: rgba(255, 255, 255, 0.7); font-size: 1.5rem; line-height: 1; padding: 0 5px; cursor: pointer; transition: color 0.3s ease; align-self: flex-start; }
.whatsapp-tooltip-close:hover { color: var(--white); }
.whatsapp-tooltip::after { content: ''; position: absolute; bottom: -8px; right: 25px; width: 0; height: 0; border-left: 8px solid transparent; border-right: 8px solid transparent; border-top: 8px solid var(--dark-blue); }

/* --- Responsividade --- */
@media (max-width: 992px) { /* Tablets */
    .hero-section-new { padding: calc(var(--spacing-unit) * 5) 0; min-height: 60vh; }
    .hero-text h1 { font-size: 2.5rem; }
    .hero-text p { font-size: 1.1rem; }
     .hero-container-new { flex-direction: column; text-align: center; gap: calc(var(--spacing-unit) * 2); /* Reverte para coluna */ }
    .hero-text { max-width: 90%; padding: 0; } /* Remove padding extra */

    .main-nav ul { gap: calc(var(--spacing-unit) * 1); }
    .main-nav a { font-size: 1rem; }

    .service-grid { grid-template-columns: repeat(2, 1fr); gap: calc(var(--spacing-unit) * 2); }
     .service-item { padding: calc(var(--spacing-unit) * 2); }
    .service-item h3 { font-size: 1.4rem; }
    .service-item p { font-size: 1rem; }
}

@media (max-width: 768px) { /* Mobile */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.7rem; }
    h3 { font-size: 1.3rem; }

    .hero-section-new { padding: calc(var(--spacing-unit) * 6) 0; min-height: auto; }
    .hero-text h1 { font-size: 2rem; }
    .hero-text p { font-size: 1rem; max-width: 100%;}
    .hero-text { max-width: 90%; }

    .site-header { padding: calc(var(--spacing-unit)*0.75) 0; }
    .header-container { flex-wrap: wrap; position: relative; }
    #logo-image { height: 50px; }

    .main-nav { display: none; width: 100%; order: 3; background-color: var(--white); box-shadow: 0 5px 10px rgba(0,0,0,0.1); position: absolute; top: 100%; left: 0; margin-top: 1px; z-index: 999; }
    .main-nav.active { display: block; }
    .main-nav ul { flex-direction: column; gap: 0; padding: 0; }
    .main-nav li { text-align: center; border-bottom: 1px solid var(--medium-gray); }
    .main-nav li:last-child { border-bottom: none; }
    .main-nav a { display: block; padding: var(--spacing-unit); width: 100%; color: var(--primary-blue); }
    .main-nav a:hover { background-color: var(--light-gray); color: var(--primary-orange); }
    .main-nav a::after { display: none; }

    .menu-toggle { display: block; order: 2; color: var(--white); }

    section { padding: calc(var(--spacing-unit) * 2.5) 0; }
    #servicos { padding: calc(var(--spacing-unit) * 4) 0; }

    .services-title-button span { font-size: 1rem; text-shadow: 1px 1px 1px rgba(0,0,0,0.4); }
    .contact-item.button-contact { padding: calc(var(--spacing-unit) * 1); justify-content: center; min-width: auto; }
    .contact-item.button-contact i { font-size: 1.4rem; }
    .contact-item.button-contact span { font-size: 0.95rem; text-align: center; }
    .contact-item.button-contact i + span { text-align: left; }

    .service-item { padding: var(--spacing-unit) * 1.5; }
    .service-grid { grid-template-columns: repeat(2, 1fr); gap: calc(var(--spacing-unit) * 1.5); }
    .service-item h3 { font-size: 1.2rem; }
    .service-item p { font-size: 0.9rem; }

    .contact-info-grid.contact-buttons { grid-template-columns: 1fr; gap: calc(var(--spacing-unit) * 1); }

    .contact-form.contact-form-standalone { padding: var(--spacing-unit) * 1.5; }
    .form-group input[type="text"], .form-group input[type="email"], .form-group input[type="tel"], .form-group textarea { padding: calc(var(--spacing-unit) * 0.7); }

    .whatsapp-tooltip { bottom: 75px; right: 15px; max-width: 160px; font-size: 0.85rem; padding: 8px 12px; }
    .whatsapp-tooltip::after { right: 18px; }
    .whatsapp-tooltip-close { font-size: 1.3rem; }

    #whatsapp-button span { display: none; }
    #whatsapp-button { padding: 12px; border-radius: 50%; bottom: 15px; right: 15px; }
    #whatsapp-button i { font-size: 1.8rem; margin: 0; }
}