/* --- CONFIGURAÇÕES GERAIS --- */
:root {
    --primary: #002d5b;
    --secondary: #00a8e8;
    --text-dark: #1a1a1a;
    --white: #ffffff;
    --gray-bg: #f4f4f4;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { 
    width: 100%;
    overflow-x: hidden; 
}

body { 
    font-family: 'Roboto', sans-serif; 
    line-height: 1.6; 
    color: var(--text-dark); 
}

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

/* --- NAVBAR --- */
.navbar { 
    background: var(--white); 
    padding: 10px 0; 
    box-shadow: 0 2px 15px rgba(0,0,0,0.1); 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    width: 100%;
}
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 70px; width: auto; display: block; transition: var(--transition); }

nav ul { display: flex; list-style: none; padding: 0; margin: 0; }
nav ul li { margin-left: 20px; }
nav ul li a { 
    text-decoration: none; 
    color: var(--text-dark); 
    font-weight: 700; 
    text-transform: uppercase; 
    font-size: 0.8rem; 
    transition: var(--transition); 
}
nav ul li a:hover { color: var(--secondary); }

/* --- HERO SECTION --- */
.hero { 
    background: linear-gradient(rgba(0, 30, 60, 0.75), rgba(0, 30, 60, 0.85)), 
                url('headimg.png') no-repeat center center/cover;
    min-height: 70vh; 
    display: flex; 
    align-items: center; 
    color: var(--white); 
    padding: 60px 0;
}
.hero-tagline { font-size: 0.9rem; font-weight: 700; letter-spacing: 3px; color: var(--secondary); text-transform: uppercase; margin-bottom: 10px; display: block; }
.hero-title { font-size: 3rem; line-height: 1.1; font-weight: 900; margin-bottom: 20px; text-transform: uppercase; }
.hero-title span { color: var(--white); }
.hero-subtitle { margin-bottom: 30px; font-size: 1.1rem; max-width: 600px; }
.btn-primary { 
    display: inline-block; background: var(--secondary); color: var(--white); padding: 18px 35px; 
    text-decoration: none; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; font-size: 0.85rem; 
    transition: var(--transition); border: 2px solid var(--secondary);
}

/* --- PORTFOLIO SLIDER (OPÇÃO 1: SEM CORTES) --- */
.portfolio-slider { padding: 60px 0; background: var(--gray-bg); }
.slider-wrapper { 
    position: relative; 
    max-width: 100%; 
    margin: auto; 
    border-radius: 8px; 
    overflow: hidden; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: var(--primary); /* Fundo caso a imagem seja menor que o quadro */
}
.slide { display: none; }
.slide img { 
    width: 100%; 
    height: 500px; 
    object-fit: contain; /* GARANTE QUE A IMAGEM APAREÇA INTEIRA */
    display: block; 
}
.active { display: block; }
.prev, .next { cursor: pointer; position: absolute; top: 50%; padding: 15px; color: white; background: rgba(0,0,0,0.3); transform: translateY(-50%); z-index: 10; }
.next { right: 0; }
.dot-container { text-align: center; padding: 15px; }
.dot { cursor: pointer; height: 10px; width: 10px; margin: 0 5px; background-color: #ccc; border-radius: 50%; display: inline-block; }
.dot.active { background-color: var(--primary); transform: scale(1.2); }
.fade { animation: fade 1.2s ease-in-out; }
@keyframes fade { from { opacity: 0.4 } to { opacity: 1 } }

/* --- SOLUÇÕES INTELIGENTES --- */
.solucoes-inteligentes { padding: 60px 0; background-color: var(--white); text-align: center; }
.titulo-solucoes { font-size: 2rem; font-weight: 900; color: var(--primary); margin-bottom: 40px; }
.solucoes-flex { display: flex; justify-content: space-between; max-width: 1100px; margin: 0 auto; gap: 15px; }
.solucao-card { flex: 1; }
.solucao-card i { font-size: 2rem; color: var(--secondary); margin-bottom: 10px; display: block; }
.solucao-card h4 { font-size: 1.2rem; font-weight: 900; color: var(--primary); text-transform: uppercase; }

/* --- SOBRE --- */
.content-section { padding: 80px 0; text-align: center; background: var(--white); }
.content-section h2 { font-size: 2.5rem; color: var(--primary); margin-bottom: 20px; font-weight: 900; text-transform: uppercase; }
.content-section p { max-width: 850px; margin: 0 auto; font-size: 1.1rem; color: #444; }

/* --- FOOTER --- */
footer { background: var(--primary); color: var(--white); padding: 50px 0; }
.footer-content { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 20px; }
.footer-left { text-align: left; }
.instagram-btn i { font-size: 2.2rem; color: var(--secondary); margin-top: 15px; display: inline-block; }
.footer-right { text-align: right; }
.contact-box strong { display: block; color: var(--secondary); margin-bottom: 8px; font-size: 0.8rem; letter-spacing: 1px; }
.contact-box a { text-decoration: none; color: inherit; display: block; margin-bottom: 5px; }
.contact-box span { font-weight: 700; color: var(--white); }

/* --- RESPONSIVIDADE (CRÍTICA) --- */
@media (max-width: 768px) {
    .navbar .container { flex-direction: column; padding: 5px 10px; }
    .logo img { height: 50px; margin-bottom: 10px; }
    nav ul { width: 100%; justify-content: center; gap: 8px; }
    nav ul li { margin-left: 0; }
    nav ul li a { font-size: 0.65rem; letter-spacing: -0.5px; }

    .hero { padding: 40px 0; text-align: center; }
    .hero-title { font-size: 1.8rem; }

    /* Imagem inteira no celular também */
    .slide img { height: 280px; object-fit: contain; }

    .solucoes-flex { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
    .solucao-card h4 { font-size: 0.9rem; }
    .solucao-card i { font-size: 1.5rem; }

    .footer-content { flex-direction: column; text-align: center; align-items: center; }
    .footer-left, .footer-right { text-align: center; width: 100%; }
}

@media (max-width: 380px) {
    nav ul li a { font-size: 0.6rem; }
}