@font-face {
  font-family: 'Comfortaa';
  src: url('../assets/fonts/comfortaa/regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Comfortaa';
  src: url('../assets/fonts/comfortaa/bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Quicksand';
  src: url('../assets/fonts/quicksand/regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Quicksand';
  src: url('../assets/fonts/quicksand/bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
    --color-bg: #FCF9F5;
    --color-primary: #7FB5B5;
    --color-secondary: #EAA89B;
    --color-accent: #D4A373;
    --color-text: #4A4A4A;
    --color-text-light: #9B9B9B;
    --color-white: #FFFFFF;
    --font-header: 'Comfortaa', cursive, sans-serif;
    --font-body: 'Quicksand', sans-serif;
    --radius-sm: 10px;
    --radius-md: 20px;
    --radius-lg: 40px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: radial-gradient(var(--color-secondary) 0.5px, transparent 0.5px), radial-gradient(var(--color-primary) 0.5px, var(--color-bg) 0.5px);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    background-attachment: fixed;
}

h1, h2, h3, h4 { font-family: var(--font-header); font-weight: 700; }

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(252, 249, 245, 0.98);
    backdrop-filter: blur(15px);
    z-index: 2000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.03);
}

.logo img { height: 75px; width: auto; object-fit: contain; }

.nav-links { display: flex; gap: 25px; list-style: none; align-items: center; }
.nav-links a { text-decoration: none; color: var(--color-text); font-weight: 600; font-size: 0.95rem; transition: var(--transition); }
.nav-links a:hover { color: var(--color-primary); }

.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 2001; position: relative; }
.menu-toggle span { width: 25px; height: 3px; background: var(--color-primary); border-radius: 2px; transition: var(--transition); transform-origin: center; }

.menu-toggle.toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.menu-toggle.toggle span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* --- Hero --- */
.hero {
    min-height: 95vh;
    padding: 130px 8% 60px;
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content { flex: 1; z-index: 10; }
.hero-content h1 { font-size: clamp(2.3rem, 4.5vw, 3.2rem); line-height: 1.1; color: var(--color-primary); margin-bottom: 25px; }
.hero-content p { font-size: 1.2rem; margin-bottom: 40px; max-width: 550px; }

.hero-image-container { flex: 1.3; display: flex; justify-content: center; width: 100%; }
.hero-carousel { width: 100%; max-width: 650px; aspect-ratio: 4/5; position: relative; }
.hero-blob {
    width: 100%;
    height: 100%;
    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    overflow: hidden;
    background: var(--color-white);
    box-shadow: 25px 25px 80px rgba(0,0,0,0.15);
    animation: morphing 16s infinite ease-in-out;
    border: 15px solid rgba(255, 255, 255, 0.4);
    position: relative;
    user-select: none;
}

@keyframes morphing {
    0%, 15.6% {
        border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    }
    25%, 40.6% {
        border-radius: 70% 30% 52% 48% / 60% 40% 60% 40%;
    }
    50%, 65.6% {
        border-radius: 30% 70% 60% 40% / 40% 60% 30% 70%;
    }
    75%, 90.6% {
        border-radius: 60% 40% 30% 70% / 50% 30% 70% 50%;
    }
    100% {
        border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    }
}

.carousel-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1s; }
.carousel-slide.active { opacity: 1; }
.carousel-slide img, .carousel-slide video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }

/* --- Âncoras --- */
section { scroll-margin-top: 100px; }

/* --- Quem Somos --- */
.about {
    padding: 40px 8% 100px;
    background-color: var(--color-white);
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-content { flex: 1; }
.about-content h2 { font-size: 2.8rem; color: var(--color-primary); margin-bottom: 30px; }
.about-content p { font-size: 1.15rem; margin-bottom: 25px; }

.about-video-wrapper { flex: 1; display: flex; justify-content: center; }
.about-video-frame {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 9/16;
    background: var(--color-secondary);
    border-radius: var(--radius-lg);
    padding: 12px;
    box-shadow: 25px 25px 0 rgba(127, 181, 181, 0.2);
    overflow: hidden;
}
.about-video-frame video { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--radius-lg) - 6px); display: block; }

/* --- Vitrine --- */
.vitrine { padding: 40px 5% 100px; }
.vitrine-title { text-align: center; font-size: 2.8rem; color: var(--color-primary); margin-bottom: 60px; }

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.product-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.card-carousel {
    position: relative;
    height: 480px;
    width: 100%;
    overflow: hidden;
    touch-action: pan-y;
    user-select: none;
}

.card-slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-slides img { 
    min-width: 100%; 
    height: 100%; 
    object-fit: cover; 
    pointer-events: none;
    -webkit-user-drag: none;
}

.card-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    pointer-events: none;
}

.card-nav button {
    background: transparent;
    border: none;
    width: 45px;
    height: 45px;
    cursor: pointer;
    pointer-events: auto;
    font-size: 1.8rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
    transition: var(--transition);
}

.product-info { padding: 30px; text-align: center; }
.product-info h3 { 
    font-family: var(--font-header);
    font-size: 1.6rem; 
    margin-bottom: 12px; 
    color: var(--color-primary);
}

.product-info p {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--color-text);
    margin-bottom: 25px;
    line-height: 1.5;
}

/* --- Instagram CTA --- */
.instagram-cta {
    padding: 100px 8%;
    background: linear-gradient(135deg, var(--color-primary) 0%, #6da3a3 100%);
    color: var(--color-white);
    text-align: center;
}

.instagram-cta h2 { 
    font-family: var(--font-header);
    font-size: 2.5rem; 
    margin-bottom: 20px; 
    color: var(--color-white); 
}

.instagram-cta p { 
    font-family: var(--font-body);
    margin-bottom: 40px; 
    font-size: 1.1rem; 
    color: var(--color-white); 
}

.instagram-cta .btn {
    font-size: 1.25rem;
    padding: 16px 40px;
}

.instagram-cta .btn i {
    font-size: 2.2em;
}

/* --- Botões --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: var(--radius-md);
    font-family: var(--font-header);
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    gap: 12px;
}

.btn i {
    font-size: 1.25rem;
}

.btn-primary {
    background-color: var(--color-secondary); /* tom de rosa */
    color: var(--color-white) !important;
    box-shadow: 0 5px 15px rgba(234, 168, 155, 0.3);
}

.btn-primary:hover {
    background-color: #d89689; /* tom de rosa mais escuro no hover */
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(234, 168, 155, 0.5);
    color: var(--color-white) !important;
}

.btn-white { 
    background: var(--color-white) !important; 
    color: var(--color-primary) !important; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.nav-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* --- Footer --- */
footer { padding: 80px 8% 40px; background: #2D2D2D; color: var(--color-white); }
.footer-logo { height: 60px; filter: brightness(0) invert(1); width: auto; object-fit: contain; }
.footer-content { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 60px; }
.footer-brand p { color: #BBB; margin-top: 15px; font-size: 0.95rem; }
.footer-links h4, .footer-contact h4 { margin-bottom: 30px; font-size: 1.2rem; color: var(--color-white); }
.footer-links ul, .footer-contact ul { list-style: none; }
.footer-links a, .footer-contact li { color: #BBB; text-decoration: none; margin-bottom: 18px; display: block; font-size: 1rem; }
.footer-links a:hover { color: var(--color-primary); padding-left: 5px; }
.footer-contact li { display: flex; align-items: center; gap: 12px; }
.footer-contact i { color: var(--color-primary); width: 20px; }

.whatsapp-fixed { position: fixed; bottom: 30px; right: 30px; background: #25D366; color: white; width: 65px; height: 65px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 35px; z-index: 1001; text-decoration: none; box-shadow: 0 5px 20px rgba(0,0,0,0.3); transition: var(--transition); }
.whatsapp-fixed:hover { transform: scale(1.1) rotate(10deg); }

/* --- Responsividade --- */
@media (max-width: 992px) {
    .navbar { padding: 10px 4%; }
    .logo img { height: 65px; }
    
    /* Bigger menu hamburger icon with large click target */
    .menu-toggle {
        display: flex;
        gap: 7px;
        padding: 12px; /* Large touch target for accessibility */
        margin: -12px;
    }
    .menu-toggle span {
        width: 36px;
        height: 4px;
    }
    .menu-toggle.toggle span:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
    }
    .menu-toggle.toggle span:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: var(--color-white);
        flex-direction: column;
        justify-content: center;
        gap: 40px;
        transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        z-index: 2000;
    }
    
    .nav-links.active { right: 0; }
    .nav-links a { color: var(--color-text); font-size: 1.75rem; font-weight: 700; }
    .nav-links .nav-btn { font-size: 1.5rem; padding: 16px 36px; margin-top: 15px; width: 80%; max-width: 280px; display: inline-flex; justify-content: center; text-align: center; }
    .nav-links li { width: 100%; display: flex; justify-content: center; }
    
    /* Global base font size scaling for mobile / tablet */
    body { font-size: 1.25rem; }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 110px 4% 40px;
        gap: 30px;
        min-height: auto;
    }
    
    /* Scale up all typography inside hero */
    .hero-content h1 { font-size: clamp(2.2rem, 7.5vw, 3.0rem); }
    .hero-content p { font-size: clamp(1.35rem, 4vw, 1.65rem); margin-bottom: 30px; margin-left: auto; margin-right: auto; }
    
    /* Make the CTA button larger and readable */
    .hero-content .btn { font-size: clamp(1.2rem, 3.5vw, 1.4rem); padding: 16px 36px; }
    
    .hero-image-container { order: -1; width: 100%; }
    .hero-carousel { width: 92%; max-width: 480px; }
    
    .about {
        flex-direction: column-reverse;
        text-align: center;
        gap: 40px;
        padding: 40px 4% 60px;
    }
    
    /* Scale up Quem Somos typography */
    .about-content h2 { font-size: clamp(2.0rem, 7vw, 2.7rem); margin-bottom: 25px; }
    .about-content p { font-size: clamp(1.3rem, 3.5vw, 1.55rem); }
    .about-video-frame { width: 95%; max-width: 580px; } /* Expanded 30% */
    
    /* Scale up vitrine heading */
    .vitrine-title { font-size: clamp(2.0rem, 7vw, 2.7rem); margin-bottom: 40px; }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    /* Expand vitrine cards to cover more width, remove empty space */
    .product-card {
        width: 95%;
        max-width: 600px; /* Expanded 20% */
        margin: 0 auto;
    }
    .card-carousel { height: 570px; } /* Proportional height for expanded width */
    
    /* Scale up product card details */
    .product-info h3 { font-size: clamp(1.9rem, 5.5vw, 2.4rem); }
    .product-info p { font-size: clamp(1.35rem, 3.8vw, 1.7rem); }
    .product-info .btn { font-size: clamp(1.2rem, 3.5vw, 1.4rem); padding: 16px 36px; width: 80%; max-width: 280px; }
    
    .instagram-cta .btn {
        font-size: clamp(1.3rem, 4vw, 1.6rem);
        padding: 18px 45px;
    }
    
    /* Scale up footer contents */
    footer { padding: 40px 4% 30px; }
    .footer-logo { height: 80px; } /* Large logo */
    .footer-content { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .footer-brand p { margin: 15px auto; max-width: 300px; font-size: 1.2rem; }
    .footer-links h4, .footer-contact h4 { font-size: clamp(1.4rem, 4vw, 1.7rem); margin-bottom: 20px; }
    .footer-links a, .footer-contact li { font-size: clamp(1.2rem, 3.2vw, 1.45rem); margin-bottom: 15px; }
    .footer-contact li { justify-content: center; }
    .footer-contact i { font-size: 1.3rem; }
}

@media (max-width: 480px) {
    .navbar { padding: 8px 3%; }
    .logo img { height: 55px; }
    .hero-content h1 { font-size: 2.1rem; }
    .hero-content p { font-size: 1.15rem; }
    .about-content h2 { font-size: 1.9rem; }
    .about-content p { font-size: 1.1rem; }
    .hero-carousel { max-width: 320px; }
    .card-carousel { height: 420px; }
    .vitrine-title { font-size: 1.9rem; }
    .product-info h3 { font-size: 1.85rem; }
    .product-info p { font-size: 1.35rem; }
}
