/* --- VARIÁVEIS & RESET --- */
:root {
    --cyan: #009EE3;
    --magenta: #E6007E;
    --yellow: #FFED00;
    --black: #1A1A1A;
    --purple: #6A0DAD;
    --white: #ffffff;
    --bg-light: #f3f5f9;
    --gradient-hero: linear-gradient(-45deg, #009EE3, #6A0DAD, #E6007E, #009EE3);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Open Sans', sans-serif; background-color: var(--bg-light); color: #333; overflow-x: hidden; }

h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; font-weight: 800; }
a { text-decoration: none; transition: 0.3s; }
ul { list-style: none; }

/* --- UTILITÁRIOS --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Botões */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 15px 35px; border-radius: 50px; font-weight: 700; text-transform: uppercase;
    font-size: 0.9rem; cursor: pointer; gap: 10px; transition: all 0.3s ease;
}

.btn-primary-sm {
    padding: 10px 25px; font-size: 0.8rem;
    background: linear-gradient(90deg, var(--cyan), var(--magenta));
    color: white !important; border: none;
}
.btn-primary-sm:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 5px 15px rgba(230,0,126,0.4); 
    color: white !important;
}

.btn-whatsapp {
    background: #25D366; color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}
.btn-whatsapp:hover { background: #1ebc57; transform: translateY(-3px) scale(1.02); }

.btn-outline {
    border: 2px solid white; color: white;
}
.btn-outline:hover { background: white; color: var(--purple); }

/* --- HEADER --- */
header {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05); transition: 0.3s;
}
.navbar { display: flex; justify-content: space-between; align-items: center; height: 85px; }

.logo { 
    font-size: 1.8rem; font-weight: 900; color: var(--black); letter-spacing: -1px; 
    display: flex; align-items: center;
}
.logo img { height: 60px; width: auto; } 
.logo i { color: var(--magenta); margin-right: 5px; }

.nav-links { display: flex; gap: 25px; align-items: center; }
.nav-links a { color: var(--black); font-weight: 600; font-size: 0.9rem; }
.nav-links a:hover { color: var(--magenta); }

.mobile-toggle { display: none; font-size: 1.5rem; cursor: pointer; color: var(--black); }

/* --- HERO SECTION --- */
.hero {
    position: relative; 
    min-height: 700px;
    display: flex; align-items: center;
    color: white; overflow: hidden; 
    padding-top: 80px;
    padding-bottom: 150px;
}

.hero-bg-animate {
    position: absolute; inset: 0; z-index: -2;
    background: var(--gradient-hero); background-size: 400% 400%;
    animation: gradientAnim 15s ease infinite;
}
.hero::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.1;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative; z-index: 5;
    width: 100%;
}

.hero-text { flex: 1; text-align: left; max-width: 600px; }
.hero h1 { font-size: 3.5rem; margin-bottom: 25px; line-height: 1.1; text-shadow: 0 4px 10px rgba(0,0,0,0.3); }
.hero p { font-size: 1.2rem; margin-bottom: 40px; opacity: 0.95; line-height: 1.6; font-weight: 400; }
.hero-btns { display: flex; gap: 20px; justify-content: flex-start; flex-wrap: wrap; }
.typing-text { color: var(--yellow); text-decoration: none; font-weight: 900; }

.hero-slider-clean {
    flex: 1;
    height: 400px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    background: #000;
}

.slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0; transition: opacity 1s ease-in-out;
}
.slide.active { opacity: 1; }

.slide-caption {
    position: absolute; bottom: 0; left: 0; width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white; font-weight: 700; font-size: 1.1rem; text-align: center;
}

/* SELO FLUTUANTE */
.selo-flutuante {
    position: absolute;
    bottom: -15px; 
    right: -15px;
    z-index: 10;
    transform: rotate(-10deg);
}

/* Define o tamanho da imagem do selo */
.img-selo-real {
    width: 110px; /* Tamanho padrão para desktop */
    height: auto; /* Mantém a proporção correta */
    display: block;
    /* Opcional: Sombra suave na imagem (funciona bem com PNG transparente) */
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.2));
}
/* .selo-mockup {
    width: 120px; height: 120px;
    background: var(--yellow);
    border: 4px solid white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--black);
    font-weight: 900; text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    font-size: 1rem; line-height: 1.1;
} */
 

.wave-bottom { position: absolute; bottom: -1px; left: 0; width: 100%; line-height: 0; transform: rotate(180deg); }
.wave-bottom .shape-fill { fill: var(--bg-light); }

/* --- SERVIÇOS --- */
#servicos { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header .title { font-size: 2.5rem; color: var(--black); margin-bottom: 10px; }
.section-header .subtitle { color: #666; font-size: 1.1rem; }

.services-grid-layout { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card {
    background: white; padding: 40px 30px; border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: 0.4s;
    border-bottom: 5px solid transparent; display: flex; flex-direction: column;
    height: 100%;
}
.service-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(0,0,0,0.1); }
.service-card .icon { 
    font-size: 2.5rem; margin-bottom: 20px; width: 70px; height: 70px; 
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: #f4f4f4; transition: 0.3s;
}
.c-cyan { border-color: var(--cyan); } .c-cyan .icon { color: var(--cyan); } .c-cyan:hover .icon { background: var(--cyan); color: white; }
.c-magenta { border-color: var(--magenta); } .c-magenta .icon { color: var(--magenta); } .c-magenta:hover .icon { background: var(--magenta); color: white; }
.c-yellow { border-color: #d4c300; } .c-yellow .icon { color: #d4c300; } .c-yellow:hover .icon { background: #d4c300; color: white; }
.c-purple { border-color: var(--purple); } .c-purple .icon { color: var(--purple); } .c-purple:hover .icon { background: var(--purple); color: white; }
.c-blue { border-color: var(--black); } .c-blue .icon { color: var(--black); } .c-blue:hover .icon { background: var(--black); color: white; }

.service-card h3 { font-size: 1.4rem; margin-bottom: 15px; }
.service-card p { font-size: 0.95rem; color: #666; margin-bottom: 25px; flex-grow: 1; line-height: 1.6; }
.service-card .link { font-weight: 700; color: var(--black); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px; }

/* --- PORTFOLIO --- */
#portfolio { padding: 60px 0; background: white; }
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); grid-auto-rows: 200px; gap: 15px; grid-auto-flow: dense; }
.item { border-radius: 10px; overflow: hidden; position: relative; cursor: pointer; }
.item img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.item:hover img { transform: scale(1.1); }
.wide { grid-column: span 2; }
.tall { grid-row: span 2; }
.overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); display: flex; align-items: center; justify-content: center; opacity: 0; transition: 0.3s; }
.overlay i { color: white; font-size: 2rem; transform: scale(0); transition: 0.3s; }
.item:hover .overlay { opacity: 1; }
.item:hover .overlay i { transform: scale(1); }

/* --- LOCALIZAÇÃO --- */
#localizacao { padding: 100px 0 120px 0; }
.location-card {
    background: white; border-radius: 20px; box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    display: grid; grid-template-columns: 1fr 1.5fr; overflow: hidden;
    position: relative; z-index: 10;
}
.loc-text { padding: 60px; display: flex; flex-direction: column; justify-content: center; }
.loc-text h2 { color: var(--magenta); font-size: 2.2rem; margin-bottom: 10px; }
.subtitle-loc { font-size: 1.1rem; color: #666; margin-bottom: 40px; }
.loc-details { margin-bottom: 40px; }
.loc-row { display: flex; align-items: flex-start; margin-bottom: 25px; gap: 20px; }
.icon-circle {
    width: 50px; height: 50px; background: rgba(230, 0, 126, 0.1); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; color: var(--magenta); font-size: 1.2rem; flex-shrink: 0;
}
.loc-desc { display: flex; flex-direction: column; }
.loc-desc strong { font-size: 1.1rem; color: var(--black); margin-bottom: 5px; }
.loc-desc span, .phone-link-clean { color: #555; font-size: 1rem; line-height: 1.5; }
.phone-link-clean { text-decoration: none; transition: 0.3s; }
.phone-link-clean:hover { color: var(--magenta); }
.loc-buttons { display: flex; flex-direction: column; gap: 15px; width: 100%; }
.btn-whatsapp-loc { 
    background: #25D366; color: white; width: 100%; text-align: center; padding: 18px; 
    border-radius: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
}
.btn-whatsapp-loc:hover { background: #1ebc57; transform: translateY(-3px); box-shadow: 0 5px 15px rgba(37,211,102,0.3); }
.btn-route { 
    background: var(--black); color: white; width: 100%; text-align: center; padding: 18px; 
    border-radius: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
}
.btn-route:hover { background: var(--magenta); transform: translateY(-3px); }
.loc-map iframe { width: 100%; height: 100%; min-height: 500px; border: 0; }

/* --- FOOTER --- */
footer { background: #111; color: #ccc; padding-top: 80px; position: relative; }
.footer-wave { position: absolute; top: -1px; left: 0; width: 100%; overflow: hidden; line-height: 0; }
.footer-wave svg { display: block; width: calc(100% + 1.3px); height: 60px; }
.footer-wave .shape-fill { fill: var(--bg-light); }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; padding-bottom: 60px; }
.footer-logo { color: white; font-size: 2rem; margin-bottom: 20px; letter-spacing: -1px; }
.footer-desc { font-size: 0.9rem; line-height: 1.6; margin-bottom: 20px; color: #999; }
.socials { display: flex; gap: 15px; }
.socials a { width: 40px; height: 40px; background: #222; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; transition: 0.3s; }
.socials a:hover { background: var(--magenta); }
.col-footer h4 { color: white; font-size: 1.2rem; margin-bottom: 25px; border-left: 3px solid var(--cyan); padding-left: 15px; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #bbb; font-size: 0.95rem; transition: 0.3s; }
.footer-links a:hover { color: white; padding-left: 5px; }
.footer-info p { margin-bottom: 10px; font-size: 0.95rem; color: #bbb; }
.footer-info i { color: var(--magenta); margin-right: 8px; }
.cmyk-border { height: 6px; width: 100%; background: linear-gradient(90deg, var(--cyan) 25%, var(--magenta) 25% 50%, var(--yellow) 50% 75%, var(--black) 75%); }
.copyright-area { text-align: center; padding: 25px; background: #000; font-size: 0.85rem; color: #666; }

/* --- FLOAT BTN --- */
.float-btn { position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px; background: #25D366; border-radius: 50%; color: white; font-size: 30px; display: flex; align-items: center; justify-content: center; z-index: 99; box-shadow: 0 5px 20px rgba(0,0,0,0.3); }
.modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.9); z-index: 2000; align-items: center; justify-content: center; }
.modal-content { max-width: 90%; max-height: 90vh; border-radius: 5px; animation: zoom 0.4s; }
.close-modal { position: absolute; top: 20px; right: 40px; color: white; font-size: 40px; cursor: pointer; }

/* --- ANIMATIONS --- */
@keyframes gradientAnim { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); } 70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
@keyframes zoom { from {transform: scale(0.7); opacity: 0;} to {transform: scale(1); opacity: 1;} }

/* --- RESPONSIVO --- */
@media(max-width: 992px) {
    .hero-content { flex-direction: column; text-align: center; gap: 30px; }
    .hero-text { max-width: 100%; }
    .hero-btns { justify-content: center; }
    
    /* Altura fixa para o slider aparecer */
    .hero-slider-clean { 
        width: 100%; 
        height: 300px; 
        flex: 0 0 auto; 
    }
    
    /* Selo no canto da imagem no mobile */
    .selo-flutuante { 
        bottom: -15px; 
        right: -5px; 
        transform: scale(0.8) rotate(-10deg); 
    }
}

@media(max-width: 768px) {
    /* Navbar */
    .nav-links { position: absolute; top: 85px; left: 0; width: 100%; background: white; flex-direction: column; padding: 30px; display: none; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
    .nav-links.active { display: flex; }
    .mobile-toggle { display: block; }
    
    
    /* Hero com mais espaço no topo */
    .hero { 
        padding-top: 130px; /* Aumentado para descolar da navbar */
        padding-bottom: 80px; 
        min-height: auto;
    }
    
    .hero h1 { font-size: 2.2rem; }
    
    .location-card { grid-template-columns: 1fr; }
    .loc-map { min-height: 300px; order: -1; }
    .wide, .tall { grid-column: auto; grid-row: auto; }
}
.footer-logo-img img {
    height: 60px; /* Pode ser um pouco maior que no header */
    width: auto;
    margin-bottom: 20px;
    /* filter: brightness(0) invert(1);*/
}

/* --- BLOQUEAR SELEÇÃO DE TEXTO --- */
body {
    -webkit-user-select: none; /* Chrome/Safari */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* IE10+ */
    user-select: none;         /* Padrão */
}

/* Opcional: Permitir selecionar apenas em campos de input e textareas (para formulários funcionarem) */
input, textarea {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* --- PÁGINA DE ERRO 404 --- */
.error-page {
    height: 100vh; /* Ocupa a tela toda */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 80px; /* Espaço do header */
    background: #fff;
    overflow: hidden;
}

.error-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--black);
}

.error-content p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Efeito CMYK nos números */
.cmyk-404 {
    font-size: 10rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
    position: relative;
}

.cmyk-404 span {
    display: inline-block;
    position: relative;
    /* Mistura as cores onde elas se sobrepõem */
    mix-blend-mode: multiply; 
}

/* Cores específicas para cada número */
.cmyk-404 .c { color: var(--cyan); transform: translateX(15px); }
.cmyk-404 .m { color: var(--magenta); z-index: 2; }
.cmyk-404 .y { color: var(--yellow); transform: translateX(-15px); }

/* Ajuste Mobile */
@media(max-width: 768px) {
    .cmyk-404 { font-size: 6rem; }
    .cmyk-404 .c { transform: translateX(5px); }
    .cmyk-404 .y { transform: translateX(-5px); }
    .error-content h1 { font-size: 1.8rem; }
}

/* --- ESTILOS EXTRAS PARA PÁGINAS DE ERRO --- */

/* Mensagem divertida do Gordinho */
.fun-message {
    font-size: 1.4rem;
    color: var(--magenta); /* Usa o rosa da marca para destacar */
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}

/* Mensagem técnica mais discreta abaixo */
.tech-message {
    font-size: 1rem;
    color: #777;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Ajuste para celular */
@media(max-width: 768px) {
    .fun-message {
        font-size: 1.2rem;
    }
}