/* === V2: Ultra-Premium Editorial Design === */

:root {
    --color-bg: #FFFCF9;       /* Branco Quente e macio */
    --color-text: #3D1C04;     /* Caramelo ultra escuro, tom quase preto */
    --color-accent: #B87B67;   /* Cobre/Rosé premium */
    --color-border: #E8D8CD;   /* Kraft muito claro para as linhas finas */
    --color-kraft: #DDBEA5;
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

::selection {
    background-color: var(--color-accent);
    color: var(--color-bg);
}

/* === Header Minimalista === */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3vw 5vw;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 100;
}

.logo-img {
    height: 140px;
    width: auto;
    object-fit: contain;
    /* mix-blend-mode omitted here since hero bg is now dark/image */
}

.nav-links a {
    text-decoration: none;
    color: var(--color-bg); /* Changed to light color for dark background */
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* === Hero Section com Imagem === */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 15vh 5vw 5vh;
    position: relative;
    background-image: url('Assets/hero.webp');
    background-size: cover;
    background-position: center;
    color: var(--color-bg);
}

/* Overlay escuro para garantir leitura do texto por cima da foto */
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.7));
    z-index: 0;
}

.hero-container {
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(3.80rem, 11vw, 10rem);
    line-height: 0.95;
    font-weight: 400;
    letter-spacing: -2px;
    margin-bottom: 12vh;
    color: var(--color-bg);
}

.hero h1 em {
    font-style: italic;
    color: var(--color-kraft); /* Kraft matches well with dark backgrounds */
}

.hero-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 50px;
}

.hero-bottom p {
    max-width: 500px;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #e8e8e8;
}

/* Botão Boutique Hero */
.btn-outline {
    display: inline-block;
    padding: 18px 40px;
    border: 1px solid var(--color-bg);
    color: var(--color-bg);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    border-radius: 50px;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background-color: var(--color-bg);
    color: var(--color-text);
}

.btn-outline.dark {
    border-color: var(--color-text);
    color: var(--color-text);
}

.btn-outline.dark:hover {
    background-color: var(--color-text);
    color: var(--color-bg);
}

/* === Video Section === */
.video-section {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: #030201; /* Fundo escuro */
    overflow: hidden;
}

.scrub-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover; /* Garante o preenchimento total das bordas sem vazios */
}

/* === Services Section (Blocos Assimétricos) === */
.services {
    background-color: var(--color-bg);
    padding: 10vh 0;
}

/* Header da Seção de Serviços */
.services-header {
    text-align: center;
    padding: 0 5vw 10vh;
    max-width: 1200px;
    margin: 0 auto;
}

.services-header h2 {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-family: 'Playfair Display', serif;
    color: var(--color-text);
    margin-bottom: 2vh;
    line-height: 1.1;
}

.services-header p {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    max-width: 600px;
    margin: 0 auto;
    color: var(--color-text);
    opacity: 0.8;
    line-height: 1.6;
}

.service-block {
    display: flex;
    flex-wrap: wrap;
    min-height: 60vh;
    max-width: 1500px;
    margin: 0 auto;
    /* padding: 0 5vw; */
}
.service-block.reverse {
    flex-direction: row-reverse;
}
.service-text {
    flex: 1;
    min-width: 300px;
    padding: 5vh 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-text h2 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 400;
    line-height: 1;
    margin-bottom: 40px;
    letter-spacing: -1.5px;
}

.service-text p {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #665243;
    max-width: 500px;
    margin-bottom: 40px;
}

.service-space {
    flex: 1;
    min-width: 300px;
    position: relative;
    padding: 5vh 5%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-img {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(61, 28, 4, 0.08);
}

/* === Diferenciais (Estilo Menu Degustação) === */
.quality {
    padding: 10vh 5vw 15vh;
    background-color: #F9F4F0; /* Creme sutil */
}

.quality-container {
    max-width: 1100px;
    margin: 0 auto;
}

.quality-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    text-align: center;
    margin-bottom: 100px;
}

.quality-item {
    display: flex;
    padding: 50px 0;
    border-bottom: 1px solid var(--color-border);
}

.quality-item:first-child {
    border-top: 1px solid var(--color-border);
}

.q-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-accent);
    margin-right: 80px;
    width: 50px;
}

.q-content h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 20px;
}

.q-content p {
    font-size: 1.2rem;
    color: #665243;
    max-width: 650px;
    line-height: 1.6;
}

/* === Footer === */
.footer {
    padding: 1vw;
    border-top: 1px solid var(--color-border);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo {
    height: 50px;
    width: auto;
    mix-blend-mode: multiply;
    opacity: 0.9;
}

.footer-links a {
    text-decoration: none;
    color: var(--color-text);
    margin-right: 40px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
}

.footer-copy {
    font-size: 0.85rem;
    color: #000000;
}

/* === Utilities === */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeIn 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes pulse-brilho {
    0% {
        box-shadow: 0 0 0 0 rgba(71, 101, 71, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(71, 101, 71, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(71, 101, 71, 0);
    }
}
/* === Responsividade (Mobile Clean) === */
@media (min-width: 901px) {
    .topo .logo-img{
        position: relative;
        height: 65px;
    }
    
}
@media (min-width: 1000px) {
    .topo .logo-img{
        position: relative;
        height: 125px;
    }
    
}
@media (max-width: 900px) {
    .topo .logo-img{
        position: relative;
        height: 105px;
    }

    .service-block, .service-block.reverse {
        flex-direction: column-reverse;
        padding: 4vh 0;
        gap: 40px;
    }
    .service-space {
        width: 100%;
    }
    .service-img {
        max-height: 50vh;
    }
    .quality-item {
        flex-direction: column;
    }
    .q-number {
        margin-bottom: 15px;
    }
    .hero-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-container {
        flex-direction: column;
        /*align-items: flex-start;*/
        align-items: center;
    }
    .encomendar_cta{
        text-decoration: none;
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 1.5px;
        font-weight: 500;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 10px 24px;
        border-radius: 50px;
        color: #fff;
        background-color: #c06b0a;
        background-image: linear-gradient(180deg, #f8b13b 0%, #b85e06 100%); /* Gradiente vertical simples */
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 
            0 3px 5px rgba(0, 0, 0, 0.3),
            inset 0 2px 0 rgba(255, 255, 255, 0.25),
            inset 0 -2px 0 rgba(0, 0, 0, 0.15);
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
        animation: pulse-brilho 2s infinite;
        
    }
    .services-header{
        padding: 0 5vw 3vh;
    }
    .quality-item:first-child{
        border-top: 0px solid var(--color-border);
    }
    .quality-item:last-child {
        border-bottom: 0px solid var(--color-border);
    }
    .hero h1 {
        margin-top:4rem;
    }
}

@media (max-width: 768px) {
    .hero {
        background-image: url('Assets/background-mobile.webp');
        justify-content: flex-end; /* Move a headline para a base para não cobrir a logo da imagem */
        padding-bottom: 12vh;
        background-position: top center;
    }
    
    .hero h1 {
        margin-bottom: 4vh; /* Reduz a margem inferior para equilibrar o novo alinhamento */
    }

    .scrub-video {
        min-width: 0;
        min-height: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
        transform: translate(-50%, -50%) scale(1.03); /* Micro ajuste para encobrir bordas minúsculas */
    }
}
