/* CSS Variables for Theming */
:root {
    --color-primary-dark: #113f28; /* Fundo escuro da logo */
    --color-primary-light: #82ae46; /* Verde claro do texto */
    --color-accent-red: #d52a27; /* Vermelho da crista */
    --color-bg-light: #fdfcf7; /* Fundo principal (creme bem claro) */
    --color-cream: #f5f4e8; /* Creme mais destacado */
    --color-text-dark: #1a1a1a;
    --color-text-light: #f5f4e8;
    
    --font-main: 'Outfit', sans-serif;
    
    --transition-speed: 0.3s;
    --border-radius: 16px;
    --shadow-soft: 0 10px 30px rgba(17, 63, 40, 0.08);
    --shadow-hover: 0 20px 40px rgba(17, 63, 40, 0.15);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul {
    list-style: none;
}

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

/* Typography */
h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 700;
    color: var(--color-primary-dark);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

p {
    font-size: 1.125rem;
    color: #4a5568;
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all var(--transition-speed) ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-primary-light);
    color: white;
    box-shadow: 0 4px 15px rgba(130, 174, 70, 0.3);
}

.btn-primary:hover {
    background-color: #6d9637;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(130, 174, 70, 0.4);
}

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

.btn-secondary:hover {
    background-color: var(--color-primary-dark);
    color: white;
    transform: translateY(-3px);
}

.btn-block {
    width: 100%;
}

/* Header */
.header {
    background: transparent;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(253, 252, 247, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(17, 63, 40, 0.05);
    box-shadow: var(--shadow-sm);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-img {
    height: 60px;
    border-radius: 8px; /* Assuming the logo is square and we might want soft edges */
}

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

.nav-menu a {
    font-weight: 500;
    color: var(--color-primary-dark);
    transition: color var(--transition-speed);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--color-primary-light);
    transition: width var(--transition-speed);
}

.nav-menu a:hover {
    color: var(--color-primary-light);
}

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

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(130, 174, 70, 0.1) 0%, rgba(253, 252, 247, 0) 70%);
    z-index: -1;
    border-radius: 50%;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.tag {
    display: inline-block;
    background-color: rgba(130, 174, 70, 0.15);
    color: var(--color-primary-dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(130, 174, 70, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: visible;
}

.hero-img {
    border-radius: 30px;
    box-shadow: var(--shadow-hover);
    position: relative;
    z-index: 2;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.glass-blob {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary-dark) 100%);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    filter: blur(40px);
    opacity: 0.2;
    z-index: 1;
    animation: blobMorph 8s infinite alternate;
}

@keyframes blobMorph {
    0% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--color-cream);
    position: relative;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-features {
    display: grid;
    gap: 2rem;
}

.feature-card {
    background: #ffffff;
    padding: 2rem;
    border: 1px solid rgba(17, 63, 40, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(17, 63, 40, 0.2);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Materials Section */
.materials {
    padding: 100px 0;
    background-color: var(--color-bg-light);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 3rem;
}

.material-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-speed);
    display: flex;
    flex-direction: column;
}

.material-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.card-image {
    height: 350px;
    background-color: #eee;
    overflow: hidden;
    position: relative;
}

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

.material-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.category-tag {
    display: inline-block;
    background: rgba(213, 42, 39, 0.1);
    color: var(--color-accent-red);
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    align-self: flex-start;
}

.card-content p {
    font-size: 1rem;
    flex-grow: 1;
}

.price-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(17, 63, 40, 0.1);
}

.price {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-primary-dark);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.payment-method {
    font-size: 0.85rem;
    color: var(--color-primary-light);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.pix-icon {
    font-size: 1rem;
    color: #32BCAD; /* Cor oficial do PIX aproximada */
}

/* Feedbacks Section */
.feedbacks {
    padding: 100px 0;
    background-color: var(--color-cream);
    position: relative;
    overflow: hidden;
}

.feedbacks-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 100%;
}

.feedbacks-track {
    display: flex;
    align-items: center; /* Centraliza verticalmente e impede que os cards estiquem */
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 2rem 1rem;
    /* Hide scrollbar for Chrome, Safari and Opera */
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.feedbacks-track::-webkit-scrollbar {
    display: none;
}

.feedback-card {
    flex: 0 0 auto; /* Impede que o card encolha */
    width: 280px; /* Largura fixa ideal para prints de celular */
    scroll-snap-align: center;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    background: var(--color-surface);
    display: flex;
    flex-direction: column;
}

.feedback-card:hover,
.feedback-card.active-card {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feedback-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    object-position: top; /* Mantém o topo do print visível se for muito longo */
    display: block;
}

/* Botões do Carrossel */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-surface);
    color: var(--color-primary-dark);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-speed), color var(--transition-speed);
}

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

.prev-btn {
    left: -25px;
}

.next-btn {
    right: -25px;
}

/* Footer */
.footer {
    background-color: var(--color-primary-dark);
    color: var(--color-text-light);
    padding: 80px 0 20px;
}

.footer h3 {
    color: white;
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-logo {
    height: 80px;
    margin-bottom: 1.5rem;
    border-radius: 8px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-speed);
}

.footer-links a:hover {
    color: var(--color-primary-light);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    transition: background var(--transition-speed);
}

.social-btn:hover {
    background: var(--color-primary-light);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-container,
    .about-container {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding-top: 120px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none; /* Em uma versão completa, adicionaríamos um menu hamburger aqui */
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    h1 {
        font-size: 2.5rem;
    }

    .carousel-btn {
        display: none; /* Esconde as setas no mobile, usa apenas scroll/swipe nativo */
    }

    .feedbacks-track {
        gap: 1rem;
        padding: 1rem 0;
    }

    .feedback-card {
        width: 240px; /* Reduz um pouco no mobile */
    }
}
