/* =========================================
   VARIÁVEIS DE COR E ESTILOS GERAIS
   ========================================= */
:root {
    --primary-color: #000000;
    --secondary-color: #e63946; /* Vermelho vibrante e elegante */
    --accent-color: #ffffff;
    --text-color: #1a1a1a;
    --text-light: #555555;
    --bg-light: #ffffff;
    --bg-dark: #000000;
    --white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --font-main: 'Montserrat', sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-light);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
    border: 2px solid var(--secondary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

.btn-dark {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-dark:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
}

.section-title p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.divider {
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 1rem auto 1.5rem;
}

.divider.align-left {
    margin-left: 0;
}

/* =========================================
   NAVEGAÇÃO
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background-color: var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

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

.logo a {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -1px;
}

.logo a span {
    color: var(--secondary-color);
}

.nav-logo-img {
    height: 56px;
    width: auto;
    display: block;
}

.footer-logo-img {
    height: 77px;
    width: auto;
    display: block;
}

.navbar .logo a {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links li a {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    transition: var(--transition);
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-links li a:hover::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* =========================================
   HERO / BANNER
   ========================================= */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 8rem;
    background-color: #000000;
    color: var(--white);
    overflow: hidden;
    position: relative;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.hero-text {
    flex: 1;
    z-index: 2;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--secondary-color);
    color: var(--white);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    border-radius: 2px;
}

.hero-text h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-text h1 span {
    color: var(--secondary-color);
}

.hero-text p {
    font-size: 1.25rem;
    color: #e0e0e0;
    margin-bottom: 2.5rem;
    max-width: 550px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.image-stack {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.img-main {
    width: 100%;
    border-radius: 8px;
    transition: var(--transition);
}

.img-sub {
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 60%;
    border: 8px solid var(--primary-color);
    border-radius: 4px;
    z-index: 2;
}

/* =========================================
   SERVIÇOS
   ========================================= */
.services {
    padding: 6rem 0;
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.service-img {
    height: 200px;
    overflow: hidden;
}

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

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-content {
    padding: 1.5rem;
    text-align: center;
}

.service-content h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* =========================================
   QUEM SOMOS & EQUIPE
   ========================================= */
.about {
    padding: 8rem 0;
    background-color: var(--white);
}


.section-badge {
    color: var(--secondary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.about h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 2rem;
    font-weight: 800;
}

.about h2 span {
    color: var(--secondary-color);
}

.about-content p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

.about-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
}

.about-image {
    width: 100%;
    max-width: 800px;
    margin: 3rem auto 0;
    position: relative;
}

.about-img-file {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    transition: var(--transition);
}

/* =========================================
   CARROSSEL DE FOTOS
   ========================================= */
.carousel-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    background-color: #000;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

.carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Setas vermelhas nas laterais */
.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--secondary-color);
    font-size: 1rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.carousel-prev {
    left: 15px;
}

.carousel-next {
    right: 15px;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: var(--white);
    color: #cc2a36;
    transform: translateY(-50%) scale(1.1);
}

/* Dots indicadores */
.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background: var(--secondary-color);
    width: 20px;
    border-radius: 4px;
}

/* =========================================
   CONHEÇA NOSSA EQUIPE
   ========================================= */
.team-section {
    padding: 8rem 0;
    background-color: var(--white);
    border-top: 1px solid #eee;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    margin-top: 4rem;
}

.team-member-card {
    display: flex;
    gap: 2rem;
    background-color: #fafafa;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.team-member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.member-image-wrapper {
    flex-shrink: 0;
    width: 180px;
    height: 220px;
    overflow: hidden;
    border-radius: 12px;
}

.member-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.member-info {
    flex-grow: 1;
}

.member-info h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.2rem;
}

.member-role {
    display: inline-block;
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
}

.member-info p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

/* =========================================
   SERVIÇOS TEASER
   ========================================= */
.services-teaser {
    padding: 8rem 0;
    background-color: #f0f0f0;
}

.section-title h2 span {
    color: var(--secondary-color);
}

.teaser-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.teaser-card {
    background-color: var(--white);
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 8px;
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.teaser-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--secondary-color);
}

.teaser-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.teaser-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.teaser-cta {
    text-align: center;
    margin-top: 4rem;
}

/* =========================================
   RODAPÉ
   ========================================= */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 6rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.footer-logo span {
    color: var(--secondary-color);
}

.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-icons a {
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-icons a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    font-size: 0.9rem;
    color: #888;
}

/* =========================================
   BOTÃO WHATSAPP
   ========================================= */
.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 10px rgba(0,0,0,0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

/* =========================================
   RESPONSIVIDADE
   ========================================= */
@media (max-width: 900px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        padding-top: 4rem;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text p {
        margin: 0 auto 2rem;
    }
    
    .hero-image::before {
        display: none;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .divider.align-left {
        margin: 1rem auto 1.5rem;
    }
    
    .about-text {
        text-align: center;
    }
    
    .about-text p {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Em um projeto real, faríamos um menu mobile aqui */
    }
    
    .mobile-menu {
        display: block;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-member-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .member-image-wrapper {
        width: 100%;
        max-width: 220px;
        height: 260px;
    }
    
    .nav-logo-img {
        height: 40px;
    }
    
    .footer-logo-img {
        height: 55px;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
}
