/* --- Variáveis e Reset --- */
:root {
    --bg: #F0EEE9;
    --surface: #FFFFFF;
    --primary: #A68B81;
    --primary-dark: #8C736A;
    --accent: #9A9E8F;
    --text: #2D2A28;
    --text-light: #7A7471;
    --border: rgba(166, 139, 129, 0.2);
    --transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    --title: #D2691E;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Animações --- */
@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.parallax-text {
    background: linear-gradient(90deg, #2D2A28, var(--title), #ff6f3a, #2D2A28);
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientFlow 10s ease infinite;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Componentes Globais --- */
.btn-main {
    display: inline-block;
    width: 100%;
    padding: 1.2rem;
    background: var(--title);
    color: white;
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
    text-align: center;
}

.btn-main:hover {
    background: var(--text);
    transform: scale(1.02);
}

/* --- Header --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(240, 238, 233, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.logo {
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 1.1rem;
}

.logo span { color: var(--primary); font-weight: 300; }

nav a {
    text-decoration: none;
    color: var(--text);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 15px;
    transition: 0.3s;
}

nav a:hover { color: var(--primary); }

/* --- Seções --- */
section {
    padding: 100px 8%;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: var(--header-height);
}

.hero span {
    letter-spacing: 8px;
    font-weight: 400;
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: block;
}

.hero h1 {
    font-size: clamp(3rem, 12vw, 8rem);
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 2rem;
}

/* --- Grids --- */
.grid-vision {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card-vision {
    background: var(--surface);
    padding: 4rem 2rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.card-vision:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
}

.card-vision h2 { font-size: 2rem; font-weight: 900; margin-bottom: 1rem; }
.card-vision h3 { font-size: 0.8rem; letter-spacing: 3px; color: var(--primary); margin-bottom: 1rem; text-transform: uppercase; }

/* --- Contato e Social --- */
.social-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.social-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    text-decoration: none;
    color: var(--text);
    transition: 0.4s;
}

.social-btn i { font-size: 2rem; margin-bottom: 1rem; color: var(--accent); }
.social-btn:hover { background: var(--accent); color: white; }

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
}

.form-card {
    background: var(--surface);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.input-group { margin-bottom: 1.2rem; }
.input-group label { display: block; font-size: 0.65rem; font-weight: 900; color: var(--primary); margin-bottom: 5px; }

input, textarea {
    width: 100%;
    padding: 1rem;
    background: #F9F9F9;
    border: 1px solid transparent;
    border-radius: 8px;
    font-family: inherit;
    transition: 0.3s;
}

input:focus, textarea:focus { outline: none; border-color: var(--primary); background: white; }

/* --- Modal Responsivo --- */
.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: flex-start; /* Melhor para mobile scroll */
    z-index: 2000;
    backdrop-filter: blur(10px);
    padding: 20px;
    overflow-y: auto;
}

.modal-content {
    background: #ffffff;
    padding: 50px 30px;
    border-radius: 25px;
    max-width: 800px;
    width: 100%;
    margin: 50px auto;
    position: relative;
    text-align: center;
}

.close-modal {
    position: absolute;
    top: 20px; right: 20px;
    background: #f0f0f0;
    border: none;
    width: 35px; height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
}

.modal-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.modal-card {
    background: #fdfdfd;
    padding: 30px 20px;
    border-radius: 15px;
    text-decoration: none;
    color: #333;
    border: 1px solid #eee;
    transition: 0.3s;
}

.modal-card:hover { transform: translateY(-5px); border-color: var(--accent); }
.modal-card.highlight { border: 2px solid var(--accent); }
.modal-card.highlight:hover { background: var(--accent); color: white; }
.modal-card.highlight:hover * { color: white !important; }

/* --- Media Queries --- */
@media (max-width: 1024px) {
    header nav { display: none; }
    section { padding: 80px 5%; }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 4rem; }
    .card-vision h2 { font-size: 2.5rem; }
    .contact-container { gap: 2rem; }
    .modal-content { padding: 40px 20px; }
}

footer {
    padding: 60px 5%;
    text-align: center;
    background: #EBE8E1;
    border-top: 1px solid var(--border);
}

/* --- Card de Contato Premium --- */
.contact-card-premium {
    background: #EBE8E1; /* Escuro para contraste extremo */
    padding: 3rem 2rem 2rem;
    border-radius: 24px;
    position: relative;
    border: 1px solid rgba(210, 105, 30, 0.3); /* Borda sutil na cor do tema */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    margin-top: 2rem;
}

.contact-header-badge {
    position: absolute;
    top: -15px;
    left: 2rem;
    background: var(--title);
    color: rgba(0, 0, 0, 0.5);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact-content-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-action-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    background: #F9F9F9;
    padding: 1.2rem;
    border-radius: 16px;
    transition: all 0.4s ease;
    border: 1px solid fff;
}

.icon-box {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.5rem;
    margin-right: 1.2rem;
}

.icon-box.whatsapp { background: rgba(37, 211, 102, 0.1); color: #25d366; }
.icon-box.email { background: rgba(210, 105, 30, 0.1); color: var(--title); }

.contact-text {
    flex-grow: 1;
}

.contact-text span {
    display: block;
    font-size: 0.7rem;
    color: rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-text strong {
    display: block;
    font-size: 1rem;
    color: rgba(0, 0, 0, 0.5);
    font-weight: 700;
}

.arrow {
    color: #444;
    font-size: 0.8rem;
    transition: 0.3s;
}

/* Hover Effects */
.contact-action-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(10px);
    border-color: var(--title);
}

.contact-action-item:hover .arrow {
    color: var(--title);
    transform: translateX(5px);
}

@media (max-width: 480px) {
    .contact-text strong {
        font-size: 0.85rem; /* Ajuste para e-mails longos em telas pequenas */
    }
}