/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    color: #222;
}

/* ===== Fundo do site corrigido ===== */
body {
    background: url('fundodosite.png') no-repeat center center fixed;
    background-size: cover;
    background-attachment: fixed;
    background-color: #fdfaf5;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    z-index: -1;
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10%;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

nav .logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #d4af37;
    font-weight: bold;
}

nav ul {
    display: flex;
    gap: 25px;
}

nav ul li a {
    text-decoration: none;
    color: #222;
    font-weight: 500;
    padding: 5px 10px;
    transition: .3s;
}

nav ul li a:hover {
    color: #d4af37;
    transform: scale(1.05);
}

/* Colunas laterais */
.columns {
    position: fixed;
    top: 0;
    width: 100px;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
}

.columns.left {
    left: 0;
}

.columns.right {
    right: 0;
}

.columns img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.2));
}

/* Hero */
header {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-layer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-front {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.6);
    z-index: 3;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.btn-hero {
    padding: 15px 40px;
    background: linear-gradient(45deg, #d4af37, #f9e79f);
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    transition: .3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-hero:hover {
    transform: scale(1.1);
    background: linear-gradient(45deg, #f9e79f, #d4af37);
}

/* Seções */
section {
    padding: 80px 10%;
    position: relative;
    z-index: 5;
}

section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #d4af37;
    margin-bottom: 40px;
    text-align: center;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
}

/* Cards */
.cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 30px;
}

.card {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 15px;
    width: 250px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: .4s;
}

.card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.card img {
    width: 100%;
    border-radius: 15px;
    margin-bottom: 15px;
}

/* Content com imagem lateral */
.content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
}

.content img {
    flex: 1;
    max-width: 400px;
    border-radius: 15px;
}

.text-content {
    flex: 2;
}

.content p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Footer */
footer {
    padding: 40px 10%;
    text-align: center;
    background: #222;
    color: #fff;
    font-size: 0.9rem;
}

/* Responsivo */
@media(max-width:1024px) {
    .columns {
        display: none;
    }

    .content {
        flex-direction: column;
    }
}

@media(max-width:600px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .card {
        width: 100%;
    }
}

/* === Bloco de texto nas seções com fundo === */
.content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
    position: relative;
}

/* === Caixa translúcida para texto === */
.text-content {
    flex: 2;
    background: rgba(255, 255, 255, 0.85); /* caixa branca levemente transparente */
    padding: 25px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    color: #1e1e1e;
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Título das seções ainda dourado */
section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #d4af37;
    margin-bottom: 40px;
    text-align: center;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

/* Imagens das seções */
.content img {
    flex: 1;
    max-width: 400px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* === Ajuste extra para leitura nos cards === */
.card {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 15px;
    width: 250px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: .4s;
    color: #222;
}

/* === Modo escuro leve nas telas menores === */
@media(max-width:600px) {
    .text-content {
        background: rgba(255, 255, 255, 0.95);
        padding: 20px;
    }
}
