:root {
    --primary-color: #3c4e33;
    --secondary-color: #293622;
    --bg-light: #fefefe;
    --bg-cream: #f4f5f4;
    --text-dark: #293622;
    --text-light: #485742;
    --white: #fefefe;
    --font-heading: 'Anton', 'Oswald', 'Bebas Neue', 'Xheighter Condensed Bold', sans-serif;
    --font-body: 'Lato', sans-serif;
    --transition: transform .3s ease, opacity .3s ease;
    --transition-color: color .3s ease;
    --transition-bg: background-color .3s ease;
    --transition-shadow: box-shadow .3s ease
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-color)
}

ul {
    list-style: none
}

img {
    max-width: 100%;
    height: auto;
    display: block
}

.icon {
    display: inline-block;
    height: 1em;
    width: auto;
    vertical-align: -0.125em;
    fill: currentColor;
    overflow: visible
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px
}

.section-padding {
    padding: clamp(50px, 8vw, 80px) 0
}

.text-center {
    text-align: center
}

.text-white {
    color: var(--white)
}

.bg-cream {
    background-color: var(--bg-cream)
}

.bg-dark {
    background-color: var(--secondary-color)
}

.mt-4 {
    margin-top: 2rem
}

.max-w-800 {
    max-width: 800px
}

.mx-auto {
    margin-left: auto;
    margin-right: auto
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 30px;
    min-height: 48px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: .9rem;
    cursor: pointer;
    transition: var(--transition), var(--transition-bg), var(--transition-color), border-color .3s ease
}

.btn:active {
    transform: scale(.95)
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color)
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white)
}

.btn-outline:hover,
.btn-outline:focus {
    background-color: transparent;
    color: var(--white) !important;
    border-color: var(--white) !important;
    opacity: .85
}

.btn-link {
    color: var(--primary-color);
    font-weight: 700;
    font-size: .9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 44px
}

@keyframes pulse-cta {
    0% {
        box-shadow: 0 0 0 0 rgba(60, 78, 51, .55)
    }

    70% {
        box-shadow: 0 0 0 18px rgba(60, 78, 51, 0)
    }

    100% {
        box-shadow: 0 0 0 0 rgba(60, 78, 51, 0)
    }
}

.hero-btns .btn-primary {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    animation: pulse-cta 2.8s ease-out infinite;
    animation-delay: 1s
}

@keyframes pulse-wa {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, .7)
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0)
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0)
    }
}

.hero-btns .btn-primary:hover {
    background-color: var(--white) !important;
    color: var(--primary-color) !important
}

#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, .95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
    padding: 15px 0;
    transition: padding .3s ease, box-shadow .3s ease;
    contain: layout style
}

#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.logo a {
    display: flex;
    align-items: center
}

.logo-img {
    height: 50px;
    width: auto;
    display: block
}

.nav-menu ul {
    display: flex;
    gap: 30px;
    align-items: center
}

.nav-menu a {
    font-size: .9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary-color)
}

.nav-menu a:not(.btn-cta-nav) {
    position: relative
}

.nav-menu a:not(.btn-cta-nav)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width .35s ease
}

.btn-cta-nav {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    min-height: 44px;
    background-color: var(--secondary-color);
    color: var(--white) !important;
    border-radius: 50px
}

.hamburger {
    display: none;
    cursor: pointer;
    padding: 5px;
    min-width: 40px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    z-index: 1001
}

.bar {
    display: block;
    width: 24px;
    height: 2px;
    margin: 0;
    border-radius: 2px;
    background-color: var(--secondary-color);
    transition: transform .3s ease, opacity .3s ease
}

#hero {
    position: relative;
    height: 100vh;
    height: 100dvh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoomEffect 20s infinite alternate;
    will-change: transform
}

@keyframes zoomEffect {
    0% {
        transform: scale(1)
    }

    100% {
        transform: scale(1.1)
    }
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, .3), rgba(0, 0, 0, .6))
}

.hero-content {
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.hero-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    position: relative
}

.hero-silhouette {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: 100%;
    opacity: .5;
    z-index: 0;
    pointer-events: none
}

.hero-title {
    margin-bottom: 0;
    line-height: 1.1;
    color: var(--white) !important;
    font-weight: 900;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2
}

.brotta-main {
    font-size: clamp(3rem, 14vw, 8rem);
    letter-spacing: 1px;
    margin-bottom: 1px
}

.brotta-sub {
    font-size: clamp(.9rem, 2.5vw, 1.3rem);
    letter-spacing: 2px;
    font-weight: 700
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    margin-bottom: clamp(25px, 4vw, 40px);
    font-weight: 300
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    align-items: center
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    opacity: 0;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--white);
    animation: bounce 2s infinite
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translate(-50%, 0)
    }

    40% {
        transform: translate(-50%, -10px)
    }

    60% {
        transform: translate(-50%, -5px)
    }
}

.section-header {
    margin-bottom: clamp(35px, 6vw, 60px)
}

#sobre,
#servicos,
#galeria,
#depoimentos,
#faq {
    contain: layout style
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    color: var(--primary-color)
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 15px auto 0
}

#sobre .row {
    display: flex;
    align-items: center;
    gap: clamp(30px, 5vw, 50px)
}

.col-img {
    flex: 1
}

.img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, .1)
}

.img-wrapper img {
    width: 100%;
    transition: transform .5s ease
}

.col-text {
    flex: 1
}

.col-text p {
    margin-bottom: 20px;
    color: var(--secondary-color)
}

.features-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    transition: var(--transition-color), transform .3s ease;
    cursor: default
}

.features-list .icon {
    color: var(--primary-color)
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 3vw, 30px)
}

.service-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .05);
    transition: transform .3s ease;
    contain: layout style;
    position: relative
}

.card-img {
    height: 250px;
    overflow: hidden
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease
}

.card-content {
    padding: clamp(20px, 3vw, 30px)
}

.card-content h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    margin-bottom: 15px
}

.card-content p {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: .95rem
}

.video-grid-wrap {
    display: flex;
    flex-direction: column;
    gap: clamp(32px, 5vw, 60px)
}

.video-grid {
    display: flex;
    justify-content: center;
    gap: clamp(16px, 2.5vw, 28px)
}

.video-item {
    position: relative;
    width: 280px;
    aspect-ratio: 9/16;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .12);
    transition: transform .45s ease;
    contain: layout style
}

.video-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background-color: #000
}

.video-thumb {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: opacity .3s ease;
    pointer-events: none
}

.video-item.playing .video-thumb {
    opacity: 0
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 40%, rgba(41, 54, 34, .7));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 28px;
    gap: 10px;
    transition: opacity .4s ease;
    pointer-events: none;
    z-index: 2
}

.video-overlay .icon {
    width: 2.4rem;
    height: 2.4rem;
    color: var(--white);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .4))
}

.video-overlay span {
    font-family: var(--font-heading);
    font-size: .95rem;
    letter-spacing: 3px;
    color: var(--white);
    text-transform: uppercase
}

.video-item.playing .video-overlay {
    opacity: 0
}

.testimonials-slider {
    display: flex;
    gap: clamp(20px, 3vw, 30px);
    flex-wrap: wrap;
    justify-content: center
}

.testimonial-card {
    background-color: rgba(255, 255, 255, .1);
    padding: clamp(25px, 4vw, 40px);
    border-radius: 10px;
    flex: 1;
    min-width: 280px;
    max-width: 500px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, .1);
    transition: transform .4s ease;
    contain: layout style
}

.stars {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.1rem
}

.stars .icon {
    display: inline-block;
    transition: transform .2s ease
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.8
}

.testimonial-card h4 {
    color: var(--primary-color);
    font-family: var(--font-body);
    font-weight: 700
}

.faq-item {
    background-color: var(--white);
    border-bottom: 1px solid #eee;
    margin-bottom: 10px
}

.faq-question {
    padding: 18px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    font-weight: 700;
    color: var(--secondary-color);
    border-radius: 4px;
    min-height: 60px;
    transition: var(--transition-color), var(--transition-bg)
}

.faq-question h3 {
    font-size: clamp(.95rem, 2vw, 1.05rem);
    font-weight: 700;
    flex: 1
}

.faq-question .icon {
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    transition: transform .3s ease
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height .35s ease
}

.faq-answer p {
    padding-bottom: 20px;
    color: var(--secondary-color);
    font-size: .95rem
}

.faq-item.active .faq-answer {
    max-height: 200px
}

.faq-item.active .faq-question {
    color: var(--primary-color)
}

.faq-item.active .faq-question .icon {
    transform: rotate(45deg)
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    line-height: 0
}

footer {
    background-color: var(--secondary-color);
    color: rgba(254, 254, 254, .75);
    padding: clamp(50px, 8vw, 80px) 0 20px
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: clamp(30px, 4vw, 50px);
    margin-bottom: clamp(30px, 4vw, 50px)
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.4rem
}

.footer-col p {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .95rem
}

.footer-col p .icon {
    flex-shrink: 0;
    margin-top: 3px
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px
}

.social-links a {
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition-bg), transform .3s ease
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .05);
    font-size: .9rem
}

.whatsapp-widget {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 998
}

.whatsapp-widget::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: #25D366;
    animation: pulse-wa-ring 2s ease-out infinite !important;
    pointer-events: none
}

@keyframes pulse-wa-ring {
    0% {
        transform: scale(1);
        opacity: .6
    }

    100% {
        transform: scale(2.4);
        opacity: 0
    }
}

.whatsapp-float {
    position: relative;
    width: 52px;
    height: 52px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.6rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, .45);
    border: none;
    cursor: pointer;
    transition: var(--transition-bg), transform .3s ease;
    z-index: 1
}

.wa-panel {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 300px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, .2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all .3s ease;
    overflow: hidden
}

.wa-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0)
}

.wa-header {
    background-color: #075e54;
    color: var(--white);
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px
}

.wa-header .icon {
    width: 2rem;
    height: 2rem
}

.wa-title h4 {
    margin: 0;
    font-size: 1rem;
    font-family: var(--font-body);
    text-transform: none;
    letter-spacing: 0;
    color: var(--white)
}

.wa-title p {
    margin: 0;
    font-size: .75rem;
    opacity: .8
}

.wa-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    margin-left: auto;
    cursor: pointer
}

.wa-body {
    padding: 20px
}

.wa-greeting {
    font-size: .9rem;
    margin-bottom: 15px;
    color: var(--text-dark)
}

.wa-body input,
.wa-body select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: .95rem
}

.wa-body input:focus,
.wa-body select:focus {
    outline: none;
    border-color: var(--primary-color)
}

@media (hover:hover) and (pointer:fine) {
    .logo a:hover {
        color: var(--primary-color)
    }

    .nav-menu a:hover {
        color: var(--primary-color)
    }

    .nav-menu a:not(.btn-cta-nav):hover::after {
        width: 100%
    }

    .btn-cta-nav:hover {
        background-color: var(--primary-color)
    }

    .btn-primary:hover {
        background-color: var(--white);
        color: var(--primary-color)
    }

    .btn-outline:hover {
        background-color: transparent !important;
        color: var(--white) !important;
        border-color: var(--white) !important;
        opacity: .8
    }

    .btn-link:hover {
        color: var(--secondary-color)
    }

    .video-item:hover {
        transform: scale(1.04)
    }

    .img-wrapper:hover img {
        transform: scale(1.05)
    }

    .features-list li:hover {
        color: var(--primary-color);
        transform: translateX(8px)
    }

    .service-card:hover {
        transform: translateY(-12px)
    }

    .service-card:hover .card-img img {
        transform: scale(1.1)
    }

    .testimonial-card:hover {
        transform: translateY(-8px)
    }

    .testimonial-card:hover .stars .icon:nth-child(1) {
        animation: star-pop .4s ease forwards;
        animation-delay: 0s
    }

    .testimonial-card:hover .stars .icon:nth-child(2) {
        animation: star-pop .4s ease forwards;
        animation-delay: .06s
    }

    .testimonial-card:hover .stars .icon:nth-child(3) {
        animation: star-pop .4s ease forwards;
        animation-delay: .12s
    }

    .testimonial-card:hover .stars .icon:nth-child(4) {
        animation: star-pop .4s ease forwards;
        animation-delay: .18s
    }

    .testimonial-card:hover .stars .icon:nth-child(5) {
        animation: star-pop .4s ease forwards;
        animation-delay: .24s
    }

    .faq-question:hover {
        background-color: rgba(60, 78, 51, .06);
        color: var(--primary-color)
    }

    .footer-col {
        transition: transform .35s ease
    }

    .footer-col:hover {
        transform: translateY(-4px)
    }

    .social-links a:hover {
        background-color: var(--primary-color);
        transform: translateY(-5px)
    }

    .whatsapp-float:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 22px rgba(37, 211, 102, .6)
    }

    .whatsapp-widget:hover::before {
        animation-play-state: paused
    }
}

@keyframes star-pop {
    0% {
        transform: scale(1)
    }

    50% {
        transform: scale(1.35)
    }

    100% {
        transform: scale(1)
    }
}

@media (max-width:1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .video-grid {
        flex-wrap: wrap
    }

    .video-item {
        width: 240px
    }

    #sobre .row {
        gap: 30px
    }

    .whatsapp-float {
        width: 56px;
        height: 56px;
        font-size: 1.8rem
    }

    .whatsapp-widget::before {
        width: 56px;
        height: 56px
    }
}

@media (max-width:768px) {
    .hamburger {
        display: flex
    }

    .logo-img {
        height: 55px
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg)
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg)
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        display: flex;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        height: 100vh;
        height: 100dvh;
        text-align: center;
        transition: left .3s ease;
        justify-content: center;
        align-items: center;
        box-shadow: 0 10px 27px rgba(0, 0, 0, .05);
        z-index: 1000
    }

    .nav-menu.active {
        left: 0
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 30px
    }

    .nav-menu a {
        font-size: 1.2rem
    }

    .hero-content {
        padding: 0 15px;
        justify-content: center;
        height: auto;
        padding-top: 0
    }

    .brotta-main {
        font-size: 4.5rem;
        line-height: 1.1
    }

    .brotta-sub {
        font-size: 1.1rem
    }

    .hero-subtitle {
        margin-bottom: 25px
    }

    .hero-btns {
        flex-direction: column;
        align-items: stretch
    }

    .hero-btns .btn {
        width: 100%
    }

    #sobre .row {
        flex-direction: column;
        gap: 25px
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px
    }

    .card-img {
        height: 220px
    }

    .video-grid {
        flex-direction: column;
        align-items: center
    }

    .video-item {
        width: 260px
    }

    .testimonials-slider {
        flex-direction: column;
        gap: 20px
    }

    .testimonial-card {
        min-width: unset;
        max-width: 100%;
        width: 100%
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px
    }
}

@media (max-width:480px) {
    #header {
        padding: 10px 0
    }

    .logo-img {
        height: 50px
    }

    .hero-title {
        font-size: 1.85rem
    }

    .card-img {
        height: 200px
    }

    .video-item {
        width: 220px
    }

    .scroll-down {
        visibility: hidden
    }

    .faq-question {
        padding: 15px
    }
}

@media (prefers-reduced-motion:reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important
    }

    .whatsapp-widget::before {
        animation: pulse-wa-ring 2.5s ease-out infinite !important;
        animation-duration: 2.5s !important;
        animation-iteration-count: infinite !important
    }
}

html.reduced-motion *,
html.reduced-motion *::before,
html.reduced-motion *::after {
    animation: none !important;
    transition: none !important
}