/* ================= BASE ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    width: 100%;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Libre Baskerville', serif;
    color: #eee;
    background:
        linear-gradient(rgba(0, 0, 0, .92), rgba(0, 0, 0, .92)), url('../img/wood-pattern.png');
    /* url('https://www.transparenttextures.com/patterns/wood-pattern.png'); */
    background-attachment: fixed;

}

:root {
    --vermelho: #7a0000;
    --vermelho-hover: #a10000;
    --dourado: #c4a35a;
}

p {
    color: var(--dourado);
}

.btn-rede-social {
    color: var(--dourado);
    text-decoration: none;
}

.cl-btn-entre-contato {
    display: inline-block;
    background: var(--vermelho);
    color: var(--dourado);
    padding: 15px 30px;
    text-decoration: none;
    font-size: 18px;
    margin: 20px auto;
    border-radius: 8px;
    transition: .3s;
}

.cl-ctn-cta {
    text-align: center;
    max-width: 500px;
    width: 100%;
    margin: auto;
}

/* ================= HEADER ================= */
header {
    position: fixed;
    width: 100%;
    padding: 20px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: .4s;
    z-index: 1000;
}

header.scrolled {
    background: #000;
    border-bottom: 1px solid var(--vermelho);
    padding: 15px 8%;
}

.logo {
    font-family: 'Cinzel', serif;
    color: var(--dourado);
    font-size: 20px;
}

nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    transition: .3s;
}

nav a:hover {
    color: var(--dourado);
}

.menu-toggle {
    display: none;
    font-size: 26px;
    cursor: pointer;
}

/* ================= HERO ================= */
.hero {
    position: relative;
    height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .25;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-family: 'Cinzel', serif;
    font-size: 50px;
    color: var(--dourado);
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
}


/* ================= SECTIONS ================= */
section {
    padding: 100px 8%;
    opacity: 0;
    transform: translateY(40px);
    transition: all .8s ease;
    display: flex;
    flex-direction: column;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

section h2 {
    font-family: 'Cinzel', serif;
    color: var(--dourado);
    text-align: center;
    margin-bottom: 50px;
}

/* ================= GRID ================= */


.grid-portfolio {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 10px;

    width: 100%;
    /* max-width: 900px; */
    margin: auto;
}

.grid-portfolio img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* border: 1px solid var(--vermelho); */
    transition: .4s;
    aspect-ratio: 1 / 1;
}

.grid-produtos {
    .grid {
        width: 90%;
        max-width: 900px;
        aspect-ratio: 3 / 2;
        /* mantém proporção 3 colunas x 2 linhas */
        margin: 0 auto;

        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 20px;
    }
}


.card {
    background: #f2f2f2;
    border-radius: 12px;

    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 1.2rem;

    max-height: 450px;

}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(122, 0, 0, .4);
}

.card img {
    width: 100%;
    height: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    padding: 0px;
}

.card strong {
    color: var(--dourado);
}

/* ================= SERVIÇOS ================= */
.services ul {
    columns: 2;
    max-width: 900px;
    margin: auto;
}

.services li {
    margin-bottom: 12px;
}

/* ================= DEPOIMENTOS ================= */
.testimonial {
    max-width: 700px;
    margin: auto;
    text-align: center;
    font-size: 20px;
    min-height: 120px;
    transition: opacity .6s;
}

/* ================= FORM ================= */
form {
    max-width: 600px;
    margin: auto;
}

input,
textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    background: #111;
    border: 1px solid var(--vermelho);
    color: white;
}

button {
    background: var(--vermelho);
    border: none;
    padding: 12px 25px;
    color: white;
    opacity: 0.7;
    cursor: pointer;
    transition: .3s;
}

button:hover {
    background: var(--vermelho-hover);
}


/* ======== Botões ======== */

.btn-mais {

    background: var(--vermelho);
    border: none;
    padding: 12px 25px;
    color: var(--dourado);
    cursor: pointer;
    transition: .3s;
    text-decoration: none;
    opacity: 0.7;
    /* position: absolute; */
    bottom: 20px;
    right: 20px;
    text-align: center;
    /* width: 25vh; */
    /* align-items: center; */
    align-self: center;


}

/* ================= FOOTER ================= */
footer {
    background: #000;
    padding: 60px 8%;
    text-align: center;
    border-top: 1px solid var(--vermelho);
}

.social a {
    margin: 0 15px;
    color: white;
    text-decoration: none;
}

iframe {
    width: 100%;
    height: 250px;
    margin-top: 20px;
    border: 0;
}