:root {
    --primary-color: #3c4e33;
    --secondary-color: #293622;
    --white: #fefefe;
    --font-heading: 'Anton', 'Oswald', 'Bebas Neue', sans-serif;
    --font-body: 'Lato', sans-serif
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    font-family: var(--font-body);
    color: #293622;
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden
}

#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;
    contain: layout style
}

#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px
}

.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);
    text-decoration: none
}

.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;
    text-decoration: none
}

.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;
    background: none;
    border: none
}

.bar {
    display: block;
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background-color: var(--secondary-color);
    transition: transform .3s ease, opacity .3s ease
}

img {
    max-width: 100%;
    height: auto;
    display: block
}

.page-hero {
    position: relative;
    height: 75vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
    padding-top: 80px
}

.page-hero .hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1
}

.page-hero .hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.page-hero .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, .68))
}

.page-hero-content {
    position: relative;
    z-index: 1;
    padding: 0 20px;
    max-width: 900px;
    width: 100%
}

.hero-label {
    font-size: .75rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, .75);
    margin-bottom: 14px
}

.page-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    letter-spacing: 1px;
    line-height: 1.1;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 16px
}

.hero-subtitle {
    font-size: clamp(.95rem, 2.5vw, 1.15rem);
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, .9);
    margin-bottom: clamp(24px, 4vw, 36px)
}

.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;
    text-decoration: none
}

.btn-inverted {
    background-color: var(--white) !important;
    color: var(--secondary-color) !important;
    transition: all 0.3s ease;
}

.btn-inverted:hover {
    background-color: var(--secondary-color) !important;
    color: var(--white) !important;
}

/* Página: icon cards */
.icon-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 3vw, 30px)
}

.icon-card {
    background: var(--white);
    border-radius: 10px;
    padding: clamp(28px, 4vw, 40px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, .05);
    text-align: center;
    transition: transform .35s ease
}

.icon-card:hover {
    transform: translateY(-10px)
}

.icon-card .card-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px
}

.icon-card .card-icon svg {
    width: 28px;
    height: 28px;
    fill: white
}

.icon-card h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--secondary-color);
    text-transform: uppercase;
    margin-bottom: 14px
}

.icon-card p {
    font-size: .95rem;
    color: #485742;
    line-height: 1.6
}

/* Estrutura grid */
.estrutura-grid {
    display: grid;
    grid-template-columns: repeat(2, 35%);
    justify-content: center;
    gap: clamp(12px, 2vw, 20px)
}

.estrutura-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .05)
}

.estrutura-item svg {
    width: 22px;
    height: 22px;
    fill: var(--primary-color);
    flex-shrink: 0
}

.estrutura-item span {
    font-family: var(--font-body);
    font-size: .9rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: .5px;
    text-align: center;
    width: 100%;
}

/* CTA section */
.cta-block {
    text-align: center;
    padding: clamp(70px, 11vw, 112px) 0
}

.cta-block h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 16px
}

.cta-block p {
    max-width: 560px;
    margin: 0 auto 32px;
    font-size: 1rem;
    line-height: 1.6;
    color: #485742
}

section:not(.page-hero),
footer {
    content-visibility: auto;
    contain-intrinsic-size: 1px 800px
}

@media(max-width:1024px) {
    .icon-cards-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:768px) {
    .hamburger {
        display: flex
    }

    .logo-img {
        height: 45px
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        display: flex;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        height: 100dvh;
        text-align: center;
        justify-content: center;
        align-items: center;
        z-index: 1000;
        transition: left .3s ease
    }

    .nav-menu.active {
        left: 0
    }

    .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)
    }

    .page-hero {
        height: 55vh;
        min-height: 360px
    }

    .page-title {
        font-size: clamp(2rem, 11vw, 3rem)
    }

    .hero-subtitle {
        font-size: .88rem;
        line-height: 1.5;
        margin-bottom: 18px
    }

    .hero-subtitle .desktop-text {
        display: none
    }

    .hero-subtitle .mobile-text {
        display: inline
    }

    .page-hero .btn {
        padding: 10px 22px;
        font-size: .78rem;
        min-height: 42px
    }

    .icon-cards-grid {
        grid-template-columns: 1fr
    }

    .estrutura-grid {
        grid-template-columns: 1fr
    }
}

/* Carousel Filosofia Naturista */
.filosofia-carousel-section {
    background-color: transparent;
    padding: 80px 0;
}

.carousel-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.filosofia-carousel-section .section-title {
    margin-bottom: 60px;
    text-align: center;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--secondary-color);
}

.carousel-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    position: relative;
    width: 100%;
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 500 / 600;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    background-color: #f0f0f0;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
}

.carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.carousel-slide picture {
    display: block;
    width: 100%;
    height: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transform: scale(0.9);
    transition: transform 0.6s ease-out;
    will-change: transform;
}

.carousel-slide.active img {
    transform: scale(1);
}

@media (hover: hover) {
    .carousel-container:hover .carousel-slide.active img {
        transform: scale(1.12);
        transition: transform 0.6s ease-out;
    }
}

@media (hover: none) {
    .carousel-slide.active.clicked img {
        transform: scale(1.12);
        transition: transform 0.6s ease-out;
    }
}

.carousel-arrow {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    position: relative;
    z-index: 10;
}

.carousel-arrow svg {
    width: 40px;
    height: 40px;
    fill: currentColor;
}

.carousel-arrow:active {
    transform: scale(0.9);
}

@keyframes pulse-arrow {
    0%, 100% {
        opacity: 1;
        filter: drop-shadow(0 0 0px rgba(60, 78, 51, 0));
    }
    50% {
        opacity: 0.6;
        filter: drop-shadow(0 0 15px rgba(60, 78, 51, 0.5));
    }
}

.carousel-arrow {
    animation: pulse-arrow 1.5s ease-in-out infinite;
}

.carousel-arrow:hover {
    animation: none;
    opacity: 1;
}

.carousel-arrow-prev {
    order: -1;
}

.carousel-arrow-next {
    order: 1;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .filosofia-carousel-section {
        padding: 60px 0;
    }

    .carousel-wrapper {
        gap: 20px;
    }

    .carousel-arrow {
        width: 55px;
        height: 55px;
    }

    .carousel-arrow svg {
        width: 32px;
        height: 32px;
    }

    .carousel-container {
        max-width: 100%;
        aspect-ratio: 350 / 450;
    }

    .filosofia-carousel-section .section-title {
        margin-bottom: 40px;
        font-size: clamp(1.5rem, 4vw, 2.5rem);
    }
}

@media (max-width: 480px) {
    .carousel-wrapper {
        gap: 12px;
    }

    .carousel-arrow {
        width: 45px;
        height: 45px;
    }

    .carousel-arrow svg {
        width: 24px;
        height: 24px;
    }

    .carousel-container {
        aspect-ratio: 300 / 400;
    }

    .filosofia-carousel-section {
        padding: 40px 0;
    }

    .filosofia-carousel-section .section-title {
        margin-bottom: 30px;
        font-size: clamp(1.2rem, 4vw, 1.8rem);
    }
}