* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --main-orange: #F94F01;
    --dark-background: #1E100C;
    --text-light: #FFFFFF;
    --card-background: #F5E9E6; 
    --font-main: 'Gantari', sans-serif;
}

body {
    background-color: var(--dark-background);
    background-image: 
        radial-gradient(ellipse farthest-corner at 50% 0%, rgba(255, 80, 0, 0.25) 0%, rgba(0, 0, 0, 0) 55%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 800"><g fill-opacity="0.12"><circle fill="%23F94F01" cx="400" cy="400" r="600"/><circle fill="%231E100C" cx="400" cy="400" r="500"/><circle fill="%231E100C" cx="400" cy="400" r="400"/><circle fill="%231E100C" cx="400" cy="400" r="300"/><circle fill="%231E100C" cx="400" cy="400" r="200"/><circle fill="%231E100C" cx="400" cy="400" r="100"/></g></svg>');

    background-repeat: no-repeat, repeat;
    background-attachment: fixed;
    font-family: var(--font-main);
    color: var(--text-light);
}

.container {
    max-width: 1200px;
    margin: auto; 
    padding: 0 20px; 
}



/* #HEADER */
.main-header {
    padding: 0px 0;
    position: relative;
    z-index: 100; 
}

.main-header .container {
    display: flex;
    align-items: center; 
    justify-content: space-between;
    gap: 30px; 
}

.logo {
    padding: 10px 0;
}

.logo img {
    height: 70px; 
    display: block;
    flex-shrink: 0; 
}

.desktop-menu {
    display: flex;
    align-items: center;
    width: 100%;
}

.main-nav {
    flex-grow: 1; 
    display: flex;
    justify-content: center; 
}

.main-nav ul {
    display: flex;
    list-style: none; 
    gap:25px; 
}

.main-nav a {
    color: var(--text-light);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 100; 
    transition: color 0.3s ease; 
}

.main-nav a:hover {
    color: var(--main-orange); 
}

.btn-contact {
    color: var(--text-light);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 100;
    border: 0.25px solid var(--text-light);
    padding: 8px 16px; 
    border-radius: 4px; 
    transition: all 0.3s ease;
    margin-left: auto; 
}

.btn-contact:hover {
    background-color: var(--main-orange);
    border-color: var(--main-orange);
}


.hamburger-menu {
    display: none; 
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001; 
}
.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}
.hamburger-menu.is-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger-menu.is-active span:nth-child(2) { opacity: 0; }
.hamburger-menu.is-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }




/* #HEROSECTION */

.hero-section {
    min-height: calc(100vh - 85px); 
    text-align: center;
    padding-top: 20px; 
    display: flex; 
    align-items: center;
    justify-content: center;
}

.hero-section .container {
    position: relative;
    width: 100%; 
}

.hero-section h1 {
    font-size: 14rem; 
    font-weight: 800; 
    color: var(--main-orange);
    text-transform: uppercase;
    line-height: 1; 
    text-shadow: 4px 4px 0px rgba(0, 0, 0, 0.4); 
}

.hero-section .subtitle {
    font-size: 2.5rem;
    font-weight: 600;
    margin-top: -70px; 
    letter-spacing: 10px; 
}


.hero-section .tagline {
    font-size: 2rem;
    margin-top: 100px;
    font-weight: 300;
}

.hero-section .tagline strong {
    color: var(--main-orange); 
    font-weight: 700;
}

.tagline-line {
    display: block;
}

.experience-badge {
    position: absolute;
    top: -15%;
    left: 12%;
    width: 120px; 
    z-index: 10;
    opacity: 0.9;
}

/* Animação com o mouse */
.hero-section h1,
.hero-section .subtitle,
.tagline-line {
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
}

.hero-section .visible {
    opacity: 1;
    transform: translateY(0);
}




/* #Serviços */

.services-section {
    padding-bottom: 80px;
    padding-top: 40px; 
}

.section-title {
    display: flex;
    align-items: center;
    gap: 15px; 
    margin-bottom: 40px; 
}

.section-title h2 {
    font-size: 1.5rem;
    font-weight: 200; 
    letter-spacing: 1px; 
}

.services-content {
    display: flex;
    gap: 40px; 
}

.service-column {
    flex: 1; 
}

.service-column h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 30px;
    letter-spacing: 5px; 
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px; 
}

.service-card {
    background-color: var(--card-background);
    color: var(--dark-background); 
    text-decoration: none;
    text-align: center;
    padding: 20px;
    border-radius: 15px;
    min-height: 150px; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px); 
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.service-card img {
    height: 40px; 
}

.service-card span {
    font-weight: 700;
    font-size: 0.9rem;
}



/* #estrutura */

.section-subtitle h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 30px;
    letter-spacing: 5px; 
}

.structure-section {
    padding: 80px 0;
}

.structure-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px; 
    align-items: start;
}

.structure-image {
    position: relative;
    padding-bottom: 70%; 
    height: 0;           
    overflow: hidden;    
    margin-bottom: 20px; 
    background-color: var(--dark-background);
    border-radius: 15px;   
}

.structure-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ACCORDION - NOSSA ESTRUTURA */
.accordion-header {
    background-color: var(--card-background); 
    color: var(--dark-background); 
    border: none;
    padding: 20px;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 15px; 
    font-family: var(--font-main);
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
    border-radius: 15px; 
    transition: background-color 0.3s ease, transform 0.3s ease; /* Transição para o hover */
    margin-bottom: 10px; 
}

.accordion-header:hover span {
    color: var(--main-orange); /* Muda a cor do texto para laranja */
}


.accordion-header img {
    transition: transform 0.3s ease;
}

.accordion-content {
    background-color: var(--card-background);
    color: var(--dark-background);
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 2;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1); 
}

.accordion-content ul {
    list-style-position: inside;
    padding: 25px; 
}
.accordion-content p {
    padding: 25px; 
}

.accordion-item.active .accordion-content {
    max-height: 1000px; 
    transition: max-height 1s ease-in-out; 
}

.accordion-item.active .accordion-header img {
    transform: rotate(90deg);
}



/* #PORTFÓLIO */

.portfolio-section {
    padding: 80px 0;
}

.portfolio-subsection {
    margin-top: 50px;
}

.portfolio-subtitle {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 30px;
    letter-spacing: 5px;
    border-left: 4px solid var(--main-orange);
    padding-left: 15px;
}

.portfolio-grid {
    display: grid;
    gap: 30px;
}

/* Modificadores para o número de colunas */
.portfolio-grid.four-columns {
    grid-template-columns: repeat(4, 1fr);
}
.portfolio-grid.three-columns {
    grid-template-columns: repeat(3, 1fr);
}

.portfolio-card {
    text-decoration: none;
    color: var(--text-light);
    transition: box-shadow 0.3s ease;
    display: block; /* Garante que o link se comporte como um bloco */
}


.portfolio-card-image {
    position: relative;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    background-color: #333; 
}

/* Classes para controlar a proporção (aspect ratio) */
.portfolio-card-image.aspect-1-1 {
    padding-bottom: 100%; /* Para imagens quadradas */
}
.portfolio-card-image.aspect-16-9 {
    padding-bottom: 56.25%; /* Para imagens retangulares (16:9) */
}

.portfolio-card:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.portfolio-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Faz a imagem cobrir o espaço sem distorcer */
    transition: transform 0.4s ease;
}

.portfolio-card:hover .portfolio-card-image img {
    transform: scale(1.1); 
}

.portfolio-card-text {
    padding-top: 15px;
}

.portfolio-card-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.portfolio-card-text p {
    font-size: 0.9rem;
    font-weight: 300;
    color: #ccc;
}



/* #DEPOIMENTOS */

.testimonials-section {
    padding: 80px 0;
    overflow-x: hidden;
}

.testimonial-card {
    height: 300px;
    display: flex;
    flex-direction: column;
    min-width: 300px; 
    background-color: var(--card-background);
    color: var(--dark-background);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
    border-radius: 15px;
}

.testimonial-card img {
    max-width: 120px; 
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    margin-top: auto; 
}

.testimonial-author strong {
    display: block;
    font-size: 1rem;
}

.testimonial-author span {
    font-size: 0.9rem;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--main-orange) !important; 
}

.swiper-pagination-bullet {
    background-color: #ffffff !important; 
    opacity: 0.5 !important; 
}

.swiper-pagination-bullet-active {
    background-color: var(--main-orange) !important; 
    opacity: 1 !important; 
}

.swiper-slide {
    height: auto;
}



/* #SOBRE NÓS */

.about-section {
    padding: 80px 0;
}

.about-content {
    display: flex;
    align-items: center; 
    gap: 80px; 
}

.about-text {
    flex-basis: 45%; 
}

.about-text h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 30px;
    letter-spacing: 5px; 
}

.about-text p {
    font-size: 1rem;
    font-weight: 200;
    line-height: 1.6;
    margin-bottom: 20px;
}

.about-images {
    flex-basis: 55%; 
    display: grid;
    grid-template-columns: 1fr 1fr; 
    grid-template-rows: auto auto; 
    gap: 15px;
}

.about-images img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    border-radius: 15px;
}

.about-images .about-img-1 {
    grid-row: span 2; 
}

/* ======================================================= */
/* SEÇÃO "NOSSA EQUIPE" */
/* ======================================================= */

.team-section {
    padding: 80px 0;
}

/* ESTILO PADRÃO PARA DESKTOP (DUAS COLUNAS) */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* <<<< Regra para duas colunas */
    gap: 50px 60px; /* 50px de espaço vertical, 60px horizontal */
}

.team-member {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.team-member img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.team-member-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-light);
    letter-spacing: 3px;
}

.team-member-role {
    font-size: 1rem;
    font-weight: 700;
    color: var(--main-orange);
    margin-bottom: 15px;
}

.team-member-bio {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.6;
    color: #ccc;
}


/* #CONTATO */

.contact-section {
    padding: 80px 0;
}

.contact-content {
    display: flex;
    gap: 50px;
    align-items: flex-start; 
}

.contact-info {
    flex-basis: 50%;
}

.contact-form-wrapper {
    flex-basis: 50%;
}

.contact-info h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 30px;
    letter-spacing: 5px; 
}

.contact-info address {
    font-style: normal;
    line-height: 2;
    margin: 60px 0;
}

.btn-whatsapp {
    background-color: #25D366; 
    color: white;
    padding: 15px 30px;
    border-radius: 50px; 
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.btn-whatsapp:hover {
    transform: scale(1.05);
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links img {
    height: 40px; 
    width: 40px;  
    object-fit: contain; 
}

.contact-form-wrapper h4 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 5px; 
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block; 
    font-weight: 300; 
    margin-bottom: 8px; 
    color: var(--text-light); 
    font-size: 0.9rem; 
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background-color: var(--card-background);
    border: none;
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 1rem;
    color: var(--dark-background);
}

.form-group textarea {
    resize: vertical; 
}

.btn-primary {
    background-color: var(--main-orange); 
    color: white;
    padding: 15px 30px;
    border-radius: 15px; 
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    transition: transform 0.3s ease;
}

.btn-primary:hover {
    transform: scale(1.05);
}



/* #RODAPÉ */

.main-footer {
    padding: 20px 0;
    margin-top: 30px; 
    border-top: 1px solid rgba(255, 255, 255, 0.2); 
}

.main-footer .container {
    display: flex;
    justify-content: space-between; 
    align-items: center;
}

.main-footer p {
    color: #a0a0a0; 
    font-size: 0.9rem;
}




/* ------------------------------------------------------------ */
/* RESPONSIVIDADE (PARA TELAS MENORES QUE 768px)               */
/* ------------------------------------------------------------ */
@media (max-width: 768px) {
    
    html {
        scroll-behavior: smooth;
    }
    .container {
        padding: 0 20px;
    }

    /* CABEÇALHO E MENU HAMBÚRGUER*/
    .desktop-menu {
        display: flex;
        flex-direction: column;
        justify-content: flex-start; 
        align-items: center;
        gap: 30px;
        padding: 80px 20px; 
        background-color: rgba(30, 16, 12, 0.98);
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out;
        z-index: 999;
    }
    .desktop-menu.is-active {
        transform: translateX(0); 
    }
    .desktop-menu .main-nav ul {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    .desktop-menu .main-nav a {
        font-size: 1.5rem;
        font-weight: 400;
    }
    .desktop-menu .btn-contact {
        margin-top: 40px;
        font-size: 1.5rem;
        font-weight: 700;
        border-width: 1px;
        background-color: var(--main-orange);
        border-color: var(--main-orange);
        color: var(--text-light);
    }

    .desktop-menu .btn-contact:hover {
        background-color: var(--main-orange);
        border-color: var(--main-orange);
    }

    .hamburger-menu {
        display: block;
    }
    .desktop-menu .main-nav, .desktop-menu .btn-contact {
        display: block; 
        margin-left: 0; 
    }

    
    /* --- HERO SECTION --- */
    .hero-section {
        padding: 80px 0;
        min-height: auto;
    }
    .hero-section .container {
        padding-top: 70px;
        padding-bottom: 80px;
    }
    .hero-section h1,
    .hero-section .subtitle,
    .tagline-line {
        opacity: 1;
        transform: none;
    }
    .hero-section h1 { font-size: 10rem; }
    .hero-section .subtitle { font-size: 2rem; margin-top: -50px; letter-spacing: 5px; }
    .hero-section .tagline { font-size: 1.8rem; margin-top: 60px; }
    .experience-badge { width: 120px; top: 0; left: 50%; transform: translateX(-50%); }

    
    /* --- OUTRAS SEÇÕES --- */
    .services-content,
    .about-content,
    .contact-content,
    .main-footer .container {
        flex-direction: column;
    }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: 1fr; }
    .structure-grid { grid-template-columns: 1fr; }
    .structure-image img { object-fit: cover; border-radius: 20px; }
    .portfolio-grid.four-columns,
    .portfolio-grid.three-columns {
        grid-template-columns: repeat(2, 1fr); /* Mostra 2 colunas em tablets/celulares */
        gap: 20px;
    }
    .about-images { display: block; }
    .about-images .about-img-1,
    .about-images .about-img-3 { display: none; }
    .contact-form-wrapper { order: 1; }
    .contact-info { order: 2; }
    .main-footer .container { gap: 10px; text-align: center; }
    .testimonial-card { flex-basis: 100%; flex-shrink: 0; }
    }


    body.no-scroll {
        overflow: hidden;
    }


@media (max-width: 480px) {
    .hero-section .container { margin: 30% 0; }
    .hero-section h1 { font-size: 5.4rem; }
    .hero-section .subtitle { font-size: 1.2rem; margin-top: -30px; letter-spacing: 5px; }
    .hero-section .tagline { font-size: 1.5rem; margin: 25% 10%; }
    .experience-badge { width: 70px; top: -50px; left: 50%; transform: translateX(-50%); }
    .services-section { margin-top: -80px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .portfolio-grid.four-columns,
    .portfolio-grid.three-columns {
        grid-template-columns: 1fr; 
    }
}