:root{
    --main-color: #0449f9;
    --black: #13131a;
    --bg: #000000;
    --border: 1px solid rgba(0, 121, 251, 0.3);
    font-size: 10px;
}

*{
    margin: 0;
    padding: 0;
    outline: none;
    border: none;
    text-decoration: none;
    transition: 0.2s linear;    
    font-family: "Roboto", sans-serif;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* Rolagem suave */
}

body{
    background-color: var(--bg);
}

section{
    padding: 3rem 2rem;
    margin: 0 auto;
    max-width: 1200px;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background-color 0.3s ease, border-bottom 0.3s ease;
    background: transparent;
}

.header.scrolled {
    background-color: var(--black);
    border-bottom: var(--border);
}

.header section{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
}

.logo img {
    height: 60px; /* Logo visível e com tamanho adequado */
    width: auto;
    object-fit: contain;
}

.navbar a {
    margin: 0 1.2rem;
    font-size: 1.8rem;
    color: #fff;
    position: relative;
}

.navbar a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    display: block;
    margin-top: 5px;
    right: 0;
    background: var(--main-color);
    transition: width 0.3s ease;
}

.navbar a:hover::after {
    width: 100%;
    left: 0;
    background-color: var(--main-color);
}

.navbar a:hover {
    color: var(--main-color);
}

/* ===== MENU HAMBURGUER ===== */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== MENU MOBILE ===== */
.navbar-mobile {
    display: none;
    flex-direction: column;
    background-color: var(--black);
    padding: 1rem 0;
    border-top: var(--border);
    text-align: center;
}

.navbar-mobile.active {
    display: flex;
}

.navbar-mobile a {
    font-size: 1.8rem;
    color: #fff;
    padding: 1rem;
    transition: background 0.2s;
}

.navbar-mobile a:hover {
    background-color: rgba(4, 73, 249, 0.2);
    color: var(--main-color);
}

.icons img{
    margin: 1rem;
    cursor: pointer;
}

/* ===== BOTÕES ===== */
.btn{
    background: var(--main-color);
    color: #fff;
    padding: 1.2rem 3.5rem;
    font-size: 1.7rem;
    cursor: pointer;
    margin-top: 1rem;
    display: inline-block;
    border-radius: 5px;
    text-align: center;
}

.btn:hover{
    letter-spacing: 0.1rem;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

/* ===== HOME ===== */
.home-container{
    background: url("home.png") no-repeat center center/cover;
    height: 100vh;
}

.home-container section{
    display: flex;
    align-items: center;
    min-height: 100vh;
}

.content{
    max-width: 60rem;
}

.content h3{
    font-size: 4.5rem;
    color: #fff;
    line-height: 1.2;
}

.content p{
    font-size: 1.8rem;
    color: #fff;
    font-weight: 300;
    line-height: 1.8;
    padding: 1rem 0;
}

/* ===== TÍTULO ===== */
.title{
    font-size: 4rem;
    color: var(--main-color);
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 4rem;
}

.title span{
    color: #fff;
    text-transform: uppercase;
}

/* ===== SOBRE ===== */
.about .row{
    display: flex;
    align-items: center;
    background-color: var(--black);
    gap: 2rem;
    flex-wrap: wrap;
}

.about .row .container-image {
    flex: 1 1 45rem;
}

.about .row .container-image img {
    width: 100%;
    border-radius: 5px;
}

.about .row .content{
    flex: 1 1 45rem;
    padding: 2rem;
}

.about .row .content h3{
    font-size: 3rem;
    color: #fff;
}

.about .row .content p{
    font-size: 1.6rem;
    color: #ccc;
    padding: 1rem 0;
    line-height: 1.8;
}

/* ===== SERVIÇOS ===== */
.services .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--black);
    padding: 3rem;
    text-align: center;
    border: var(--border);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(4, 73, 249, 0.2);
}

.service-card i {
    font-size: 4rem;
    color: var(--main-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 1.5rem;
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* ===== CONTATO ===== */
.contact {
    text-align: center;
}

.contact-text {
    font-size: 1.8rem;
    color: #ccc;
    margin-bottom: 2rem;
}

/* ===== WHATSAPP FLUTUANTE ===== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

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

/* ===== FOOTER ===== */
.modern-footer {
    background-color: rgba(0, 121, 251, 0.3);
    color: #fff;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-content p {
    margin-bottom: 15px;
    font-size: 0.9em;
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: #fff;
    font-size: 1.5em;
    transition: color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.social-links a[aria-label="Instagram"]:hover {
    color: #E1306C;
    background-color: #fff;
}

.social-links a[aria-label="Facebook"]:hover {
    color: #1877F2;
    background-color: #fff;
}

.social-links a[aria-label="WhatsApp"]:hover {
    color: #25D366;
    background-color: #fff;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 991px) {
    html {
        font-size: 8px;
    }
    .header {
        padding: 1.5rem 2rem;
    }
    section {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .home-container {
        background-position: left center;
    }
    .content h3 {
        font-size: 3.5rem;
    }
    .about .row {
        flex-direction: column;
    }
}

@media (max-width: 450px) {
    html {
        font-size: 7px;
    }
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
    .footer-content p {
        margin-bottom: 0;
    }
}
