/* ==================== GOOGLE FONTS ==================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700&family=Poppins:wght@400;500;600&display=swap');

/* ==================== VARIÁVEIS CSS ==================== */
:root {
    /* Cores */
    --primary-color: #F9A825; /* Laranja/Amarelo Dourado */
    --dark-bg: #000000;
    --dark-bg-secondary: #222222;
    --light-bg: #FFFFFF;
    --light-bg-secondary: #f0f0f0;
    --text-light: #FFFFFF;
    --text-dark: #333333;
    --text-gray: #b3b3b3;

    /* Fontes e Tipografia */
    --font-title: 'Montserrat', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --h1-font-size: 2.5rem;
    --h2-font-size: 2rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;

    /* Outros */
    --header-height: 5rem;
    --border-radius: 8px;
    --transition-speed: 0.3s ease;
}

/* ==================== BASE ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: var(--normal-font-size);
    background-color: var(--dark-bg);
    color: var(--text-light);
}

h1, h2, h3 {
    font-family: var(--font-title);
    font-weight: 700;
    color: var(--text-light);
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

img, video {
    max-width: 100%;
    height: auto;
}

/* ==================== LAYOUT REUTILIZÁVEL ==================== */
.container {
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0 2rem;
}

.section--light {
    background-color: var(--light-bg);
    color: var(--text-dark);
}

.section--light h1,
.section--light h2,
.section--light h3 {
    color: var(--text-dark);
}

.section__title {
    font-size: var(--h2-font-size);
    text-align: center;
    margin-bottom: 3rem;
}

.section__description {
    max-width: 700px;
    margin: 0 auto 2rem auto;
    text-align: center;
    line-height: 1.6;
    color: var(--text-gray);
}

.section--light .section__description {
    color: var(--text-dark);
    opacity: 0.8;
}

.highlight {
    color: var(--primary-color);
}

.text-center {
    text-align: center;
}

/* ==================== BOTÕES ==================== */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: var(--border-radius);
    font-family: var(--font-title);
    font-weight: 600;
    transition: var(--transition-speed);
    border: 2px solid transparent;
    cursor: pointer;
}

.btn--primary {
    background-color: var(--primary-color);
    color: var(--text-dark);
    font-weight: 700;
}

.btn--primary:hover {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn--header {
    background-color: var(--primary-color);
    color: var(--dark-bg);
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

.btn--header:hover {
    transform: scale(1.05);
}

.btn--large {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
}

.btn i {
    margin-right: 0.5rem;
}

/* ==================== CABEÇALHO ==================== */
.header {
    width: 100%;
    background-color: transparent;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    transition: var(--transition-speed);
}

.header.scrolled {
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.nav {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo img {
    height: 40px;
    transition: var(--transition-speed);
}

.nav__logo:hover img {
    transform: scale(1.05);
}

.nav__list {
    display: flex;
    gap: 2rem;
}

.nav__link {
    color: var(--text-light);
    font-family: var(--font-title);
    font-weight: 500;
    position: relative;
    transition: var(--transition-speed);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition-speed);
}

.nav__link:hover {
    color: var(--primary-color);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__toggle, .nav__close {
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
    color: var(--text-light);
}

/* ==================== HERO ==================== */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero__video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.4) 100%);
    z-index: -1;
}

.hero__content {
    max-width: 800px;
}

.hero__title {
    font-size: var(--h1-font-size);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero__subtitle {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* ==================== ABOUT ==================== */
.about__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.about__card {
    background-color: var(--dark-bg-secondary);
    padding: 2.5rem 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid #333;
    transition: var(--transition-speed);
}

.about__card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.about__icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about__card-title {
    font-size: var(--h3-font-size);
    margin-bottom: 1rem;
}

.about__card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* ==================== FEATURES ==================== */
.features__container {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.feature__item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

.feature__item--reverse {
    grid-template-areas: "content image";
}

.feature__item--reverse .feature__image {
    grid-area: image;
}

.feature__item--reverse .feature__content {
    grid-area: content;
}

.feature__image img {
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature__icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature__title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.feature__content p {
    line-height: 1.7;
    color: #555;
}

/* ==================== GALERIA ==================== */
.gallery__container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: auto;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.gallery__slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.gallery__slide {
    min-width: 100%;
    position: relative;
}

.gallery__slide img {
    width: 100%;
    display: block;
}

.video-slide {
    aspect-ratio: 16 / 9;
}

.video-slide iframe {
    width: 100%;
    height: 100%;
}

.gallery__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--text-light);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.75rem;
    z-index: 10;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-speed);
}

.gallery__nav:hover {
    background-color: var(--primary-color);
    color: var(--dark-bg);
}

.gallery__nav--prev {
    left: 1rem;
}

.gallery__nav--next {
    right: 1rem;
}

/* ==================== DEPOIMENTOS ==================== */
.testimonials__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial__card {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
}

.testimonial__img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    border: 3px solid var(--primary-color);
}

.testimonial__text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #555;
    line-height: 1.6;
}

.testimonial__author {
    font-family: var(--font-title);
    font-weight: 600;
    color: var(--text-dark);
}

/* ==================== CTA FINAL / CONTATO ==================== */
.section--cta {
    background: var(--dark-bg) url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"%3E%3Cg fill-rule="evenodd"%3E%3Cg fill="%23222" fill-opacity="0.4"%3E%3Cpath d="M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 1.4l2.83 2.83 1.41-1.41L1.41 0H0v1.41zM38.59 40l-2.83-2.83 1.41-1.41L40 38.59V40h-1.41zM40 1.41l-2.83 2.83-1.41-1.41L38.59 0H40v1.41zM20 18.6l2.83-2.83 1.41 1.41L21.41 20l2.83 2.83-1.41 1.41L20 21.41l-2.83 2.83-1.41-1.41L18.59 20l-2.83-2.83 1.41-1.41L20 18.59z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}

.cta__description {
    margin-bottom: 2.5rem;
}

.contact__info {
    margin-top: 3rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2rem;
}

.contact__info p {
    font-size: 1.1rem;
    color: var(--text-gray);
}

.contact__info p i {
    color: var(--primary-color);
    margin-right: 0.75rem;
}

.contact__info a {
    color: var(--text-gray);
    transition: var(--transition-speed);
}
.contact__info a:hover {
    color: var(--primary-color);
}

.contact__map {
    margin-top: 3rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 3px solid var(--dark-bg-secondary);
}

.contact__map iframe {
    width: 100%;
    height: 400px;
    border: 0;
}

/* ==================== RODAPÉ ==================== */
.footer {
    background-color: var(--dark-bg);
    padding: 3rem 0;
    border-top: 1px solid var(--dark-bg-secondary);
}

.footer__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer__content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

.footer__logo img {
    height: 30px;
}

.footer__links {
    display: flex;
    gap: 1.5rem;
}

.footer__link {
    color: var(--text-gray);
    transition: var(--transition-speed);
}

.footer__link:hover {
    color: var(--primary-color);
}

.footer__social {
    display: flex;
    gap: 1rem;
}

.footer__social-link {
    font-size: 1.25rem;
    color: var(--text-light);
    transition: var(--transition-speed);
}

.footer__social-link:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer__copy {
    color: var(--text-gray);
    font-size: 0.9rem;
    text-align: center;
}


/* ==================== ANIMAÇÃO DE SCROLL ==================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ==================== MEDIA QUERIES ==================== */
/* Para tablets */
@media screen and (max-width: 992px) {
    :root {
        --h1-font-size: 2.2rem;
        --h2-font-size: 1.75rem;
    }
    .container {
        padding: 0 1rem;
    }
    .feature__item, .feature__item--reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
        grid-template-areas: unset !important;
    }
    .feature__image {
        grid-area: unset !important;
        text-align: center;
    }
     .feature__image img {
        max-width: 80%;
    }
    .feature__content {
        grid-area: unset !important;
        text-align: center;
    }
}

/* Para dispositivos móveis */
@media screen and (max-width: 768px) {
    body {
        font-size: 0.95rem;
    }
    
    .section {
        padding: 4rem 0 1rem;
    }

    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100%;
        background-color: var(--dark-bg-secondary);
        box-shadow: -2px 0 10px rgba(0,0,0,0.2);
        padding: 6rem 2rem 2rem;
        transition: var(--transition-speed);
        z-index: 100;
    }

    .nav__menu.show-menu {
        right: 0;
    }

    .nav__list {
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
    }

    .nav__link {
        font-size: 1.2rem;
    }

    .nav__close {
        display: block;
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        font-size: 1.8rem;
    }

    .nav__toggle {
        display: block;
    }
    
    .btn--header {
        position: fixed;
        bottom: 1rem;
        right: 1rem;
        z-index: 101;
        box-shadow: 0 4px 15px rgba(249, 168, 37, 0.4);
        display: none; /* Escondido por padrão */
    }
    
    .header.scrolled .btn--header {
        display: inline-block; /* Aparece ao rolar */
    }

    .header .btn--header { /* Esconde botão do header em mobile */
        display: none;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }
    
    .footer__content {
        flex-direction: column;
        gap: 1.5rem;
    }
}