:root {
    --primary: #00ACC1;
    --secondary: #7CB342;
    --dark: #1A1A1A;
    --light: #F4F7F6;
    --white: #FFFFFF;
    --brown: #8D6E63;
    --shadow: 0 10px 30px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

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

/* Navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.95); /* Azul marinho escuro premium */
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0;
    transition: var(--transition);
}

header.scrolled {
    padding: 10px 0;
    background: rgba(15, 23, 42, 0.98);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 100px; /* Tamanho reduzido para a barra ficar mais fina */
    width: auto;
    transition: var(--transition);
}

header.scrolled .logo img {
    height: 70px;
}

.logo span {
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--white); /* Texto branco para contrastar com o fundo escuro */
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 35px;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--secondary); /* Verde da marca no hover */
}

.nav-links a:hover {
    color: var(--primary);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary);
    color: var(--white) !important;
    padding: 14px 30px;
    border-radius: 8px; /* Cantos mais modernos (menos arredondados que 50px) */
    font-weight: 700;
}

.btn-primary:hover {
    background-color: #008fa1;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 172, 193, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white) !important;
    padding: 14px 30px;
    border-radius: 8px;
    border: 2px solid var(--white);
    font-weight: 700;
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary) !important;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--white);
}

#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -1;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65); /* Escurecido de 0.6 para 0.65 para melhor leitura */
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 15px;
    opacity: 0.95;
    line-height: 1.4;
}

.hero .location {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--secondary);
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 25px;
}

/* Services */
.services {
    padding: 120px 0;
    background-color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--dark);
    margin-bottom: 15px;
    font-weight: 800;
}

.underline {
    width: 80px;
    height: 5px;
    background-color: var(--secondary);
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.service-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 15px; /* Cantos arredondados modernos */
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05); /* Sombra suave */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card:hover {
    transform: translateY(-15px); /* Elevação no hover */
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    border-color: var(--primary);
}

.service-card .icon {
    width: 90px;
    height: 90px;
    background: rgba(0, 172, 193, 0.08);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    transition: var(--transition);
    overflow: hidden; /* Garante que nada saia do quadrado */
}

.service-card .icon img {
    width: 60px; /* Tamanho fixo para os ícones novos */
    height: 60px;
    object-fit: contain;
}

.service-card:hover .icon {
    background: var(--primary);
    transform: rotate(10deg);
}

.service-card:hover .icon img {
    filter: brightness(0) invert(1);
}

.service-card h3 {
    margin-bottom: 20px;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark);
}

.service-card p {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Portfolio Section */
.portfolio {
    padding: 120px 0;
    background-color: var(--white);
}

.portfolio .section-header p {
    margin-top: 15px;
    color: #666;
    font-size: 1.2rem;
}

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

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 300px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

.portfolio-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

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

.portfolio-item:hover .portfolio-info {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-info h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.portfolio-info span {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive adjustments for portfolio */
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* About Section */
.about {
    padding: 120px 0;
    background-color: var(--light);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 70px;
}

.about-text {
    flex: 1.2;
}

.about-text h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    font-weight: 800;
    line-height: 1.2;
}

.about-text p {
    margin-bottom: 35px;
    font-size: 1.15rem;
    color: #444;
    line-height: 1.8;
}

.features {
    list-style: none;
}

.features li {
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.features li span {
    color: var(--secondary);
    font-size: 1.3rem;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 100px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 160px; /* Acompanhando o tamanho do topo */
    width: auto;
    margin-bottom: 30px;
}

.footer-links h4, .footer-contact h4 {
    margin-bottom: 30px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-contact p {
    margin-bottom: 15px;
    color: #ccc;
    font-size: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 40px;
    text-align: center;
    color: #666;
    font-size: 0.95rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    color: #777;
    font-size: 0.9rem;
}

/* Floating WhatsApp */
/* Floating Social Buttons */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: var(--transition);
}

.instagram-float {
    position: fixed;
    bottom: 105px; /* Posicionado acima do WhatsApp */
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover, .instagram-float:hover {
    transform: scale(1.1);
}

.whatsapp-float img, .instagram-float img {
    width: 100%;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3));
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }
    .container {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 5px 0;
    }

    .logo img {
        height: 80px; /* Reduzindo o logo gigante no mobile */
    }

    header.scrolled .logo img {
        height: 60px;
    }

    .logo span {
        font-size: 1.2rem;
    }

    .nav-links {
        display: none; /* Poderia ser implementado um menu hambúrguer aqui */
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-btns {
        flex-direction: column;
        gap: 15px;
    }

    .services {
        padding: 80px 0;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

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

    .about {
        padding: 80px 0;
    }

    .about-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .features li {
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .footer-info, .footer-links, .footer-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .whatsapp-float, .instagram-float {
        width: 55px;
        height: 55px;
        right: 20px;
    }

    .whatsapp-float {
        bottom: 20px;
    }

    .instagram-float {
        bottom: 85px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .logo img {
        height: 70px;
    }
}
