@font-face {
    font-family: 'Premint';
    src: url('assets/fonts/premint-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ==================== VARIÁVEIS E RESET ==================== #004642*/

:root {
    --color-primary: #6B1C23;
    --color-secondary: #E8D7C3;
    --color-accent: #004642;
    --color-light: #A67C52;
    --color-dark: #2D2D2D;
    --color-white: #FFFFFF;
    --color-green: #004642;
    --color-bege: #D6B894;
    --color-bege-title: #cfc4b5;
    --color-brow: #4B0706;
    --color-rodape: #905036;
    --color-bege-claro: #F3E2C7;
    /* FONTES */
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Premint', cursive;
    --font-montserrat: 'Montserrat', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cormorant Garamond', serif;
    color: var(--color-dark);
    background-color: var(--color-white);
    line-height: 1.6;
}

.hero-headline,
.about-content h2,
.products-container h2,
.location-container h2,
.testimonials-container h2,
.gallery h2 {
    font-family: var(--font-montserrat);
}

h1, h2, h3 {
    font-family: var(--font-brow);
}

.hero-subtitle,
.products-subtitle,
.cta-section p {
    font-family: var(--font-primary);
}

.cta-button,
.cta-button-large {
    font-family: var(--font-primary);
}

/* ==================== NAVEGAÇÃO ==================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;

    z-index: 1000;

    transition:
        background 0.4s ease,
        backdrop-filter 0.4s ease,
        box-shadow 0.4s ease;

    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.55),
        rgba(0,0,0,0.05)
    );

    backdrop-filter: blur(2px);
}

.navbar.scrolled {
    background: rgba(0, 70, 66, 0.96);

    backdrop-filter: blur(10px);

    box-shadow: 0 2px 18px rgba(0,0,0,0.25);
}

.navbar.visible {
    /* opacity: 1;
    transform: translateY(0); */
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: padding 0.3s ease;
}

.navbar.scrolled .navbar-container {
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
}

.logo {
    top: 9px;
    position: relative;
}

.logo img {

    height: 65px;

    width: auto;

    object-fit: contain;

    transition: 0.3s ease;
}

.navbar.scrolled .logo img {
    height: 55px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--color-bege);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    
}

.nav-link:hover {
    color: var(--color-secondary);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--color-bege);
    margin: 5px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* Animação do Hamburger para X */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Animação de Fumaça */
@keyframes smokeRise1 {
    0% {
        opacity: 0.8;
        transform: translateY(0) translateX(0) scale(1);
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 0;
        transform: translateY(-80px) translateX(-15px) scale(1.5);
    }
}

@keyframes smokeRise2 {
    0% {
        opacity: 0.8;
        transform: translateY(0) translateX(0) scale(1);
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 0;
        transform: translateY(-100px) translateX(0) scale(1.8);
    }
}

@keyframes smokeRise3 {
    0% {
        opacity: 0.8;
        transform: translateY(0) translateX(0) scale(1);
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 0;
        transform: translateY(-80px) translateX(15px) scale(1.5);
    }
}

.smoke {
    position: absolute;
    width: 30px;
    height: 30px;
    background: radial-gradient(circle, rgba(232, 215, 195, 0.8) 0%, rgba(232, 215, 195, 0) 70%);
    border-radius: 50%;
    filter: blur(8px);
}

.smoke:nth-child(1) {
    animation: smokeRise1 3s ease-out infinite;
    left: 50%;
    bottom: 60%;
    margin-left: -15px;
}

.smoke:nth-child(2) {
    animation: smokeRise2 3.5s ease-out infinite 0.5s;
    left: 50%;
    bottom: 60%;
    margin-left: -15px;
}

.smoke:nth-child(3) {
    animation: smokeRise3 3s ease-out infinite 1s;
    left: 50%;
    bottom: 60%;
    margin-left: -15px;
}

/* ==================== HERO SECTION ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;

}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;

    z-index: 1;
}

.hero-video-section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

}

.hero-content {
    position: absolute;
    z-index: 10;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    top: 0;
    left: 0;
}

.hero-text {
    color: var(--color-white);
    padding: 4rem 5rem;
    max-width: 700px;
    z-index: 11;
}

.hero-headline {
    font-family: var(--font-montserrat);
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: var(--color-bege-claro);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
    color: rgb(255 255 255 / 79%);
}

.cta-button {
    background-color: var(--color-accent);
    color: var(--color-white);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background-color: #0d3a3a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Hero Image Real */
.hero-visual {
    display: none;
}

.hero-image-container {
    display: none;
}

.hero-real-image {
    display: none;
}

.coffee-cup {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

.steam {
    animation: steamRise 2s ease-in-out infinite;
    display: none;
}

@keyframes steamRise {
    0% {
        opacity: 0;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(-40px);
    }
}

.gallery h2 {
    font-family: var(--font-montserrat);
    font-size: 2.5rem;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 0.5rem;
}

/* ==================== SEÇÃO SOBRE ==================== */
.about {
    padding: 2rem 2rem;
    position: relative;
    overflow: hidden;

    background-image:
        linear-gradient(
            rgba(232, 215, 195, 0.90),
            rgba(232, 215, 195, 0.96)
        ),
        url('assets/images/estampa.jpg');

    background-size: 500px;
    background-repeat: repeat;
    background-position: center;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-content h2 {
    font-family: var(--font-montserrat);
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--color-brow);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    text-align: justify;
}

.about-images {
    display: block;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.about-images img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

/* ==================== SEÇÃO PRODUTOS ==================== */
.products {
    padding: 1rem 2rem;
    position: relative;
    overflow: hidden;

    background-image:
        linear-gradient(
            rgba(232, 215, 195, 0.90),
            rgba(232, 215, 195, 0.96)
        ),
        url('assets/images/estampa.jpg');

    background-size: 500px;
    background-repeat: repeat;
    background-position: center;
}

.products-container {
    max-width: 1200px;
    margin: 0 auto;
}

.products-container h2 {
    font-family: var(--font-montserrat);
    font-size: 2.5rem;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 0.5rem;
}

.products-subtitle {
    text-align: center;
    color: var(--color-brow);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background-color: var(--color-secondary);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-image {
    width: calc(100% + 4rem);
    margin: -2rem -2rem 1.5rem -2rem;
    overflow: hidden;
    background-color: rgba(107, 28, 35, 0.1);
    border-radius: 10px 10px 0 0;
}

.product-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.product-card {
    overflow: hidden;
    padding: 2rem;
    color: var(--color-brow);
}

.product-card h3 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    color: var(--color-brow);
    margin-bottom: 0.5rem;
}

.product-description {
    color: var(--color-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.product-price {
    font-family: var(--font-primary);
    font-size: 1.4rem;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.add-to-cart {
    background-color: var(--color-primary);
    color: var(--color-white);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.add-to-cart:hover {
    background-color: var(--color-accent);
}

.cta-section {
    text-align: center;
    padding: 2rem;
    background: var(--color-brow);
    border-radius: 10px;
    color: var(--color-white);
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--color-bege);
}

.cta-button-large {
    background-color: var(--color-accent);
    color: var(--color-bege);
    text-decoration: none;
    border: none;
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    display: inline-block;
}

.cta-button-large:hover {
    background-color: #0d3a3a;
    transform: scale(1.05);
}

/* ==================== SEÇÃO LOCALIZAÇÃO ==================== */

.location {

    padding: 5rem 2rem;

    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            rgba(75, 7, 6, 0.88),
            rgba(75, 7, 6, 0.95)
        ),
        url('assets/images/pedra-bege.png');

    background-size: 320px;

    background-repeat: repeat;

    background-position: center;

    background-color: var(--color-brow);
}
.location::before{

    content: "";

    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at top left,
            rgba(255,255,255,0.04),
            transparent 40%
        );

    pointer-events: none;
}

.location-info{

    background: rgba(255,255,255,0.04);

    border: 1px solid rgba(255,255,255,0.08);

    backdrop-filter: blur(8px);

    padding: 2rem;

    border-radius: 20px;
}

.location-container {
    max-width: 1200px;
    margin: 0 auto;
}

.location-container h2 {
    font-family: var(--font-montserrat);
    font-size: 2.5rem;
    color: var(--color-bege);
    text-align: center;
    margin-bottom: 3rem;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.location-info h3 {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    color: var(--color-bege);
    margin-bottom: 1.5rem;
}

.location-info p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--color-bege);
}

.location-map {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* ==================== SEÇÃO DE COMENTÁRIOS ==================== */
.testimonials {
    padding: 2rem 2rem;
    position: relative;
    overflow: hidden;

    background-image:
        linear-gradient(
            rgba(232, 215, 195, 0.90),
            rgba(232, 215, 195, 0.96)
        ),
        url('assets/images/estampa.jpg');

    background-size: 500px;
    background-repeat: repeat;
    background-position: center;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-container h2 {
    font-family: var(--font-montserrat);
    font-size: 2.5rem;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 0.5rem;
}

.testimonials-subtitle {
    text-align: center;
    color: var(--color-brow);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

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

.testimonial-card {
    background-color: var(--color-secondary);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border-left: 4px solid var(--color-green);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.testimonial-info h4 {
    font-family: var(--font-primary);
    color: var(--color-primary);
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.testimonial-rating {
    display: flex;
    gap: 0.2rem;
}

.star {
    color: var(--color-green);
    font-size: 1rem;
}

.testimonial-text {
    color: var(--color-dark);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.6;
    font-style: italic;
}

.testimonial-date {
    color: var(--color-light);
    font-size: 0.85rem;
}

/* ==================== FOOTER ==================== */
.footer {
    background-color: var(--color-green);
    color: var(--color-bege);
    padding: 2rem;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.social-link {
    color: var(--color-rodape);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    border: 1px solid var(--color-rodape);
}

.social-link:hover {
    color: var(--color-white);
    border-color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.1);
}

.instagram-link:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: transparent;
    color: var(--color-white);
}

.instagram-icon {
    width: 20px;
    height: 20px;
}

.footer-logo{
    margin-bottom: 2rem;
}

.footer-logo img{

    width: 180px;

    max-width: 80%;

    height: auto;

    object-fit: contain;

    opacity: 0.95;

    transition: 0.3s ease;
}

.footer-logo img:hover{
    transform: scale(1.03);
    opacity: 1;
}

@media (max-width: 768px){

    .footer-logo img{
        width: 140px;
    }

}

/* ==================== BOTÃO WHATSAPP FLUTUANTE ==================== */
.whatsapp-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: 0.3s ease;
    z-index: 999;
}

.whatsapp-button svg {
    width: 35px;
    height: 35px;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    background-color: #1ebe5d;
}

/* ==================== RESPONSIVO ==================== */
@media (max-width: 768px) {
    /* Hamburger Menu */
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--color-green);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        display: block;
        padding: 1rem;
    }

    /* Hero */
    .hero {
        background-attachment: scroll;
        background-position: right center;
    }

    .hero-content {
        align-items: flex-end;
        /* padding-bottom: 28rem; */
    }

    .hero-text {
        padding: 2rem 1.5rem;
        max-width: 100%;
        text-align: center;
        top: 130px;
        position: absolute;
    }

    .hero-headline {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-visual {
        display: none;
    }

    /* About */
    .about-container {
        grid-template-columns: 1fr;
    }

    .about-content h2 {
        font-size: 2rem;
    }

    /* Produtos */
    .products-grid {
        grid-template-columns: 1fr;
    }

    /* Localização */
    .location-content {
        grid-template-columns: 1fr;
    }

    /* WhatsApp Button */
    .whatsapp-button {
        width: 50px;
        height: 50px;
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .whatsapp-button svg {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .about-content h2,
    .products-container h2,
    .location-container h2,
    .testimonials h2,
    .gallery h2 {
        font-size: 1.5rem;
    }

    .cta-button,
    .cta-button-large {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .nav-menu {
        top: 90px;
    }

    .navbar.visible.scrolled .nav-menu {
        top: 80px;
    }

    .navbar-container {
        padding: 0.8rem 1rem;
    }

    .logo img {
        /* height: 40px; */
    }
}


.hero-real-video{
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    object-fit: cover;
}

.hero {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-video-section{
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-video{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.02);
}

/* Desktop */
@media (min-width: 1200px){

    .hero-video{
        object-fit: cover;
        object-position: center center;
        transform: scale(1);
    }

    .video-overlay{
        background: rgba(0,0,0,0.45);
    }

}

.video-overlay{
    position: absolute;
    inset: 0;
    /* background: rgba(0,0,0,0.40); */
}

.whatsapp-link:hover {
    background-color: #25D366;
    border-color: #25D366;
    color: white;
}

.whatsapp-icon{
    width: 25px;
    height: 25px;
}

.whatsapp-icon-flutuante {
    width: 32px;
    height: 32px;
    transform: translate(1.5px, 1px);
}

.cafe-moidos,
.cafe-graos {
    margin-bottom: 5rem;
}

.cafe-moidos .products-grid,
.cafe-graos .products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.cafe-graos .products-grid {
    justify-content: center;
}

.cafe-graos .product-card {
    max-width: 350px;
    width: 100%;
}

@media (max-width: 768px) {
    .cafe-moidos .products-grid,
    .cafe-graos .products-grid {
        grid-template-columns: 1fr;
    }

    .cafe-graos .product-card {
        max-width: 100%;
    }
}

@media (max-width: 768px) {

    .hero-video {
        object-position: 60% center;
    }

    .testimonials {
        padding: 1rem 2rem;
    }

}

.title-brow::after {
    content: "";
    display: block;
    position: relative;
    left: 0;
    right: 0;    
    margin: 0 auto;
    width: 100px;
    height: 1px;
    background: var(--color-brow);
}


.title-bege::after {
    content: "";
    display: block;
    position: relative;
    left: 0;
    right: 0;    
    margin: 0 auto;
    width: 70px;
    height: 2px;
    background: var(--color-bege);
}

/* galery fotos */

/* ==================== GALERIA ==================== */


.gallery {
    padding: 2rem 2rem;
    position: relative;
    overflow: hidden;

    background-image: linear-gradient(rgba(232, 215, 195, 0.80), rgba(232, 215, 195, 0.96)), url(assets/images/flor-cafe-bege.jpg);

    background-size: 500px;
    background-repeat: repeat;
    background-position: center;
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-header {
    text-align: center;
    margin-bottom: 3rem;
}

.gallery-header h2 {
    margin-bottom: 1rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 260px;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.gallery-item.large {
    grid-column: span 2;
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.75),
        rgba(0,0,0,0.1)
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    color: white;
    opacity: 0;
    transition: 0.4s ease;
}

.gallery-overlay h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-cta {
    background-color: var(--color-secondary);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
}

.gallery-cta p {
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    font-family: var(--font-primary);
}

.gallery-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary);
    color: white;
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s ease;
}

.gallery-button:hover {
    background-color: var(--color-accent);
    transform: translateY(-3px);
}

/* ==================== MODAL ==================== */

.gallery-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 2rem;
}

.gallery-modal.active {
    display: flex;
}

.gallery-modal-image {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 12px;
}

.gallery-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 3rem;
    cursor: pointer;
}

/* ==================== RESPONSIVO ==================== */

@media (max-width: 768px) {

    .gallery {
        padding: 2rem 1rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }

    .gallery-item.large {
        grid-column: span 1;
    }

    .gallery-overlay {
        opacity: 1;
    }

    .gallery-cta {
        padding: 2rem 1.5rem;
    }

    .gallery-button {
        width: 100%;
    }
}


.headline-highlight{
    font-family: 'Montserrat', sans-serif;

    font-weight: 700;

    color: var(--color-primary);
}

.copyright {
    color: var(--color-rodape);
}

.video-overlay{
    position:absolute;
    inset:0;
    background:
    linear-gradient(
        to bottom,
        rgba(0,0,0,0.45),
        rgba(0,0,0,0.20),
        rgba(0,0,0,0.55)
    );
}

.gallery-grid h3 {
    color: var(--color-bege-claro);
}

.gallery-grid p {
    color: rgb(255 255 255 / 79%);
}


@media (max-width: 768px) {

    .testimonials-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1rem;
        padding-bottom: 1rem;
    }

    .testimonials-grid::-webkit-scrollbar {
        display: none; /* esconde barra */
    }

    .testimonial-card {
        min-width: 90%;
        /* flex: 0 0 auto; */
        scroll-snap-align: center;
    }


    

}

.testimonial-card {
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.6;
}

.testimonial-card.active {
    transform: scale(1);
    opacity: 1;
}

.testimonial-card:not(.active) {
    transform: scale(0.92);
}

.testimonials-wrapper {
    position: relative;
}

.carousel-btn {
    position: absolute;
    overflow: hidden;
}

.carousel-btn::before {
    content: "";
    position: absolute;
    inset: 0;
}

.carousel-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 1;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    
    background-image: url('assets/images/grao-cafe-terra.png');
    object-fit: contain;
    background-size: 87%; /* 👈 zoom out */
    background-position: center;
    background-repeat: no-repeat;

    background-color: transparent;

    color: var(--color-primary);
    border: 1px var(--color-brow) solid ;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 1.5rem;
    opacity: 0.9;
}

.carousel-btn.prev {
    left: -10px;
}

.carousel-btn.next {
    right: -10px;
}

/* Esconde no desktop */
@media (min-width: 769px) {
    .carousel-btn {
        display: none;
    }
}

.carousel-btn {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.9);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {

    @media (max-width: 768px) {

        .gallery-grid {
            display: flex;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            gap: 1rem;
            padding: 0 1rem;
        }
    
        .gallery-grid::-webkit-scrollbar {
            display: none;
        }
    
        .gallery-item {
            min-width: 85%;
            max-width: 100%;
            height: 300px; /* 👈 controla altura */
            flex: 0 0 auto;
            scroll-snap-align: center;
            border-radius: 12px;
        }
    
        /* remove comportamento quebrado do grid */
        .gallery-item.large {
            grid-column: unset;
        }
    
        /* imagem */
        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    
        /* overlay (texto) */
        .gallery-overlay {
            padding: 1.2rem;
            justify-content: flex-end;
        }
    
        .gallery-overlay h3 {
            font-size: 1.1rem;
        }
    
        .gallery-overlay p {
            font-size: 0.85rem;
            line-height: 1.4;
        }
    
    }

}

.gallery-item.large {
    grid-column: unset;
}

.gallery-wrapper {
    position: relative;
}

.gallery-prev {
    left: -10px;
}

.gallery-next {
    right: -10px;
}

@media (min-width: 769px) {
    .gallery-prev,
    .gallery-next {
        display: none;
    }
}

.gallery-item {
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.6;
}

.gallery-item.active {
    transform: scale(1);
    opacity: 1;
}

.gallery-item:not(.active) {
    transform: scale(0.92);
}