/* //////////// FONT FACE  //////////// */
@font-face {
  font-family: "trajan-pro-3";
  font-display: swap;
  font-style: normal;
  font-weight: 400;
  src: local("serif"); /
}

@font-face {
  font-family: "trajan-pro-3";
  font-display: swap;
  font-style: normal;
  font-weight: 600;
  src: local("serif");
}

@font-face {
  font-family: "trajan-pro-3";
  font-display: swap;
  font-style: normal;
  font-weight: 700;
  src: local("serif");
}

/* //////////// GLOBAIS  //////////// */

:root {
    --primary-color: #B19852;
    --lighter-primary-color: #a3896a;
    --white: #ffffff;
    --black: #1d1d1b;
}

body {
    margin: 0;
    font-family: "Open Sans", sans-serif;
    font-weight: 300;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; 
}

/* //////////// TOPBAR //////////// */

.top-announcement {
    background-color: var(--primary-color);
    text-align: center;
    padding: 8px 0;
    font-size: 14px;    
    position: sticky;
    z-index: 1001;    
    top:8;
}

.top-announcement a {
    text-decoration: none;
    color:var(--black);
    font-family: "Open Sans", sans-serif;     
}

/* //////////// LANGUAGE SWITCHER //////////// */

.lang-select {
    background: transparent;
    border: none;
    color: inherit; 
    font-family: inherit;
    cursor: pointer;
    font-size: 14px;
    outline: none;
    color: #ffffff;
    font-family: "trajan-pro-3", serif;
    font-weight: 400;
}

.lang-select option {
    background: transparent;
    color: var(--black);
}

/* //////////// HEADER //////////// */

.main-header {
    background-color: var(--black);
    padding: 10px 0; 
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo img {
    height: 80px;
    width: auto;
    display: block;
}


.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    text-transform: uppercase;
    transition: 0.3s;
    font-size: 14px;
    line-height: 1.8;
    letter-spacing: 1px;
    font-family: "trajan-pro-3", serif;
    font-weight: 400;
}

.nav-links a:hover {
    color: var(--primary-color);
    transition: 0.3;
}

.mobile-menu-icon {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.bar {
    width: 30px;
    height: 3px;
    background-color: var(--white); 
    transition: 0.3s;
}

/* //////////// HERO SECTION //////////// */

.hero {
    position: relative;
    height: 90vh; 
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
    background: url('../assets/imagens/hero/hero1.webp') no-repeat center center/cover;
    clip-path: ellipse(150% 100% at 50% 0%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
    object-fit: cover;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    padding: 0 20px;
}

.hero-content h1 {
    font-family: "trajan-pro-3", serif;
    font-weight: 400;
    font-size: clamp(2.5rem, 5vw, 4.0rem);
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero-content p {
    font-family: "Open Sans", sans-serif;
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 40px;
    margin-left: auto;
    margin-right: auto;
}

.btn-hero {
    display: inline-block;
    padding: 12px 35px;
    border: 1px solid var(--primary-color); 
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-family: "trajan-pro-3", serif;
    font-weight: 400;      
}

.btn-hero:hover {
    background-color: var(--primary-color);
    color: var(--black);
}

/* //////////// HISTORY SECTION //////////// */

.history-section {
    padding: 100px 0;
    background-color: var(--white); 
    color: var(--black);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.history-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.history-text .subtitle {
    font-family: "trajan-pro-3", serif;
    font-weight: 400;       
    display: block;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color); 
    margin-bottom: 10px;
}

.history-text h2 {
    font-family: "trajan-pro-3", serif;
    font-weight: 400;    
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.history-text .divider {
    width: 60px;
    height: 2px;
    background-color: var(--primary-color);
    margin-bottom: 30px;
}

.history-text p {
    font-family: "Open Sans", sans-serif;     
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--black);
    margin-bottom: 20px;
}

.history-image img {
    width: 100%;
    height: 600px;
    display: block;
    box-shadow: 20px 20px 0px -5px var(--primary-color); 
}

.history-video video {
    width: 100%;
    height: 600px;
    display: block;
    object-fit: cover; /* A magia para não distorcer */
    box-shadow: 20px 20px 0px -5px var(--primary-color);
    background-color: var(--white);
}

/* //////////// PRODUCT SECTION //////////// */

.product-section {
    padding: 40px 0 100px;
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.product-grid {
    display: grid;
    gap: 80px;
    align-items: left;
}

.product-text .subtitle {
    font-family: "trajan-pro-3", serif;
    font-weight: 400;       
    display: block;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color); 
    margin-bottom: 10px;
    text-align: center;
}

.product-text h2 {
    font-family: "trajan-pro-3", serif;
    font-weight: 400;       
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color:var(--black);
    text-align: center;
}   

.product-text .divider {
    width: 60px;
    height: 2px;
    background-color: var(--primary-color);
    margin-bottom: 30px;
    display: block;
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

.product-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--black);
    margin-bottom: 20px;
}

.store-text .subtitle {
    display: block;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color); 
    margin-bottom: 10px;
    text-align: center;
}

.store-text h2 {
    font-size: 2.5rem;
    font-family: serif; 
    line-height: 1.2;
    margin-bottom: 20px;
    color:#1d1d1d;
    text-align: center;
}

.store-text .divider {
    width: 60px;
    height: 2px;
    background-color: #a3896a;
    margin-bottom: 30px;
    justify-content: center;
    display: block;
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.product-item {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 5; 
    box-shadow: 20px 20px 0px -5px var(--primary-color);    
}

.product-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;

}

.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-overlay span {
    display: inline-block;
    padding: 12px 35px;
    border: 1px solid #a3896a;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-family: "trajan-pro-3", serif;  
    font-weight: 400;      
}

.product-overlay span:hover {
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: #fff;
}
.product-item:hover img {
    transform: scale(1.05);
}

.product-item:hover .product-overlay {
    opacity: 1;
}

.product-info {
    text-align: left; 
}

.product-name {
    font-family: serif;
    font-size: 1.1rem;
    color: #1d1d1b;
    margin: 0 0 5px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-price {
    font-size: 1rem;
    color: #fff; 
    font-weight: bold;
    display: block;
}

.product-item:hover .product-image-container img {
    transform: scale(1.05);
}

.product-item:hover .product-name {
    color: #fff; 
    transition: color 0.3s ease;
}

/* //////////// RECIPE SECTION (CONTEÚDO CENTRADO) //////////// */

.gallery-section.dark-version {
    padding: 0;
    background-color: var(--black);
    position: relative;
    overflow: hidden;
}

.slider-wrapper {
    width: 100%;
    height: 600px;
    position: relative;
}

.full-width-slider {
    width: 100%;
    height: 100%;
}

/* Configuração do Slide */
.swiper-slide {
    position: relative;
    display: flex;
    align-items: center; 
    justify-content: center; /* Alinha o conteúdo ao centro horizontalmente */
}

/* Camada de escurecimento */
.swiper-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.swiper-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Conteúdo Interno Centrado */
.slide-content-aligned {
    position: relative;
    z-index: 10;
    width: 100%;
    display: flex;
    justify-content: center; /* Garante que o container flexível centre o filho */
}

.gallery-intro {
    max-width: 800px;
    text-align: center; /* Centra o texto */
    display: flex;
    flex-direction: column;
    align-items: center; /* Centra o divider e o botão */
}

.gallery-intro .subtitle {
    font-family: "trajan-pro-3", serif;
    font-weight: 400;
    display: block;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.gallery-intro .divider {
    width: 60px;
    height: 2px;
    background-color: var(--primary-color);
    margin-bottom: 20px;
    /* Removido margin-left/right auto pois o align-items: center já trata disso */
}

.gallery-intro h2 {
    font-family: "trajan-pro-3", serif;
    font-weight: 400;
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: var(--white);
    line-height: 1.1;
}

.gallery-intro p {
    font-family: "Open Sans", sans-serif;     
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--white);
    margin-bottom: 30px;
    max-width: 650px;
}

/* Botão Hero */
.btn-hero {
    display: inline-block;
    padding: 12px 35px;
    border: 1px solid var(--primary-color);
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-family: "trajan-pro-3", serif;    
}

.btn-hero:hover {
    background-color: var(--primary-color);
    color: var(--black);
}

/* Navegação (Setas) nas extremidades do Container de 1200px */
.nav-overlay-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1200px;
    height: 0;
    z-index: 20;
    pointer-events: none;
}

.nav-overlay-container .swiper-button-next,
.nav-overlay-container .swiper-button-prev {
    position: absolute;
    color: var(--white) !important;
    pointer-events: auto;
    margin: 0;
}

.nav-overlay-container .swiper-button-prev { left: 20px; }
.nav-overlay-container .swiper-button-next { right: 20px; }

/* Paginação */
.swiper-pagination {
    bottom: 25px !important;
    z-index: 25 !important;
}

.swiper-pagination-bullet {
    background: var(--white) !important;
    opacity: 0.4;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color) !important;
    opacity: 1;
}

/* --- RESPONSIVIDADE --- */

@media (max-width: 768px) {
    .slider-wrapper { height: 550px; }
    .gallery-intro h2 { font-size: 1.8rem; }
    .nav-overlay-container { display: none; }
}

/* //////////// CONTACT SECTION //////////// */
.contact-section {
    padding: 100px 0;
    background-color: var(--white); 
    color: var(--black);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-text .subtitle {
    font-family: "trajan-pro-3", serif;
    font-weight: 400;       
    display: block;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color); 
    margin-bottom: 15px;
}

.contact-text h2 {
    font-family: "trajan-pro-3", serif;
    font-weight: 400;       
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.contact-text .divider {
    width: 60px;
    height: 2px;
    background-color: var(--primary-color);
    margin-bottom: 30px;
}

.contact-text p {
    font-family: "Open Sans", sans-serif;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--black);
    margin-bottom: 25px;
}

.contact-details p {
    font-size: 1.1rem;
    line-height: 1.8;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.contact-form-container {
    background: transparent;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 15px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid #d1d1d1; 
    font-family: inherit;
    font-size: 0.85rem;
    letter-spacing: 1px;
    outline: none;
    transition: border-color 0.3s;
    text-transform: uppercase;
    font-family: "Open Sans", sans-serif;
}

.form-group input:focus, 
.form-group textarea:focus {
    border-bottom: 1px solid var(--black);
}

.btn-submit {
    margin-top: 30px;
    background-color: transparent;
    color: var(--black);
    padding: 12px 35px;
    border: 1px solid var(--primary-color);
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    font-family: "trajan-pro-3", serif;
    font-weight: 400;      
}

.btn-submit:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* //////////// FOOTER SECTION //////////// */

.main-footer {
    background-color: var(--primary-color);
    padding: 80px 0 30px 0;
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    height: 60px; 
    margin-bottom: 20px;
    filter: brightness(0); 
}

.footer-brand p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--black);
    max-width: 300px;
    font-family: "Open Sans", sans-serif;    
}

.footer-nav h4, 
.footer-social h4 {
    font-family: "trajan-pro-3", serif;
    font-weight: 400;   
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--black); 
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
}

.footer-nav ul li {
    margin-bottom: 10px;
}

.footer-nav ul li a {
    text-decoration: none;
    color: var(--black);
    font-size: 1.1rem;
    transition: color 0.3s;
    font-family: "Open Sans", sans-serif;    
}

.footer-nav ul li a:hover {
    color: var(--white);
}

.social-icons a {
    text-decoration: none;
    color: var(--black);
    font-size: 1.1rem;
    margin-right: 15px;
    font-weight: 400;
}

.social-icons a img:hover{
    color: var(--white);
    transition: color 0.3s;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom .divider {
    width: 100%;
    height: 1px;
    background-color: var(--black);
    margin-bottom: 30px;
}

.footer-bottom p {
    font-size: 1rem;
    color: var(--black);
    font-family: "Open Sans", sans-serif; 
}

.footer-bottom a {
    text-decoration: none; 
    color: var(--black);
    font-family: "Open Sans", sans-serif; 
}

.footer-bottom img {
    margin-left: 8px; 
    height:48px; 
    vertical-align:middle;
    filter: brightness(0);
}

/* //////////// LEGAL SECTION //////////// */

.legal-section {
    padding: 100px 0;
    background-color: var(--white); 
    color: var(--black);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.legal-grid {
    display: grid;
    gap: 80px;
    align-items: center;
}
.legal-text .subtitle {
    display: block;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color); 
    margin-bottom: 10px;
    text-align: center;
    font-family: "trajan-pro-3", serif;
    font-weight: 400;        
}

.legal-text h2 {
    font-family: "trajan-pro-3", serif;
    font-weight: 400;
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    text-align: center;
}

.legal-text .divider {
    width: 60px;
    height: 2px;
    background-color: var(--primary-color);
    margin-bottom: 30px;
    display: block;
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

.legal-text p {
    font-family: "Open Sans", sans-serif; 
    text-align: justify;    
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--black);
    margin-bottom: 20px;
}

.mobile-actions {
    display: flex;
    align-items: center;
    gap: 15px; /* Espaço entre o carrinho e o hambúrguer */
}

.cart-wrapper {
    display: flex;
    align-items: center;
}
/* //////////// COOKIE POPUP //////////// */

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--white);
    border: 1px solid #d1d1d1;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 9999;
    padding: 25px;
    border-radius: 8px;
    display: none;
}

.cookie-content h3 {
    font-family: "trajan-pro-3", serif; 
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.cookie-content p {
    font-family: "Open Sans", sans-serif;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--black);
    margin-bottom: 20px;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-cookie {
    padding: 10px 20px;
    border-radius: 4px;
    font-family: "Open Sans", sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cookie.primary {
    background-color: var(--primary-color); /* Verde azeitona da marca */
    color: var(--white);
    border: none;
}

.btn-cookie.secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-cookie.link {
    background: none;
    border: none;
    color: var(--black);
    text-decoration: underline;
    padding: 10px 0;
}

.btn-cookie:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* //////////// RESPONSIVE QUERIES //////////// */

@media (max-width: 992px) {
    .items-grid {
        grid-template-columns: repeat(2, 1fr); 
    }
    .cookie-banner {
        max-width: 992px;     
        left: 8px;
        right: 8px;
    }

    .history-video video {
        height: 400px; 
    }
}

@media (max-width: 768px) {
    .cookie-banner {
        max-width: 768px;
        left: 8px;
        right: 8px;
    }
    .nav-links a.active::after {
        width: 30px;
        left: 50%;
        transform: translateX(-50%);
    }
    .mobile-actions {
            order: 2; /* Mantém à direita dos links se desejar */
        }
    .legal-text-wrapper {
        padding: 20px;
        background: transparent;
    }
    
    .legal-header h1 {
        font-size: 1.8rem;
    }
    .mobile-menu-icon {
        display: flex;
        z-index: 1001;
    }
    .logo img {
        height: 70px; 
    }
    .hero {
        height: 80vh;
        clip-path: ellipse(180% 100% at 50% 0%); 
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        width: 70%;
        height: 100vh;
        background: var(--black); 
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-shadow: -5px 0 15px rgba(0,0,0,0.3);
        transition: 0.5s ease;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }
    .history-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .history-text {
        order: 2;
    }
    
    .history-image {
        order: 1;
    }
    
    .history-image img {
        box-shadow: 10px 10px 0px -3px var(--primary-color);
        height: 400px;
    }
    
    .product-item {
        box-shadow: 10px 10px 0px -3px var(--primary-color);
    }    
    
    .gallery-item.tall {
        grid-row: span 2;
    }
    .gallery-item.wide {
        grid-column: span 2;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .contact-info {
        text-align: center;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .footer-brand p {
        margin: 0 auto;
    }
    .footer-bottom p {
        text-align: left;
    }
    
    .image-frame {
        width: 70%;
    }
    .image-frame img {
        height: 300px;
    }
     .gallery-grid {
        grid-template-columns: 1fr 1fr; 
        grid-auto-rows: 150px;
    }
    .gallery-item.wide {
        grid-column: span 2;
    }
    .mobile-menu-icon.active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .mobile-menu-icon.active .bar:nth-child(2) { opacity: 0; }
    .mobile-menu-icon.active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
}

@media (max-width: 600px) {
    .cookie-banner {
        max-width: 600px;
        left: 8px;
        right: 8px;
    }    
    .items-grid {
        grid-template-columns: 1fr; 
        gap: 20px;
    }
    
    .history-text h2,
    .product-text h2,
    .product-text h2,
    .contact-text h2 {
        font-size: 1.8rem;
        text-align: center;
    }
    .history-text .subtitle,
    .history-text p,
    .contact-text .subtitle,
    .contact-text p {
        text-align: center;
    }

    .history-text .divider,
    .contact-text .divider {
        margin-left: auto;
        margin-right: auto;
    }

    .history-section {
    padding: 20px 0;
    }
    .contact-form-container {
        text-align: center;
    }
}