:root {
    --color-primary: #C89B7B; /* Copper/Gold */
    --color-primary-hover: #DDB8A0;
    --color-bg: #0A0A0C; /* Deep dark */
    --color-bg-alt: #111114; /* Slightly lighter dark for sections */
    --color-text: #F2F2F2;
    --color-text-muted: #A0A0A0;
    --color-glass: rgba(20, 20, 22, 0.6);
    --color-glass-border: rgba(200, 155, 123, 0.15);
    
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html, body {
    font-family: var(--font-sans);
    background-color: var(--color-bg);
    color: var(--color-text);
    position: relative;
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

/* Background & Overlay (Fixed for Hero) */
.background-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; height: 100vh;
    background-image: url('bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.background-overlay::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 50% 50%, transparent 0%, var(--color-bg) 100%),
                linear-gradient(to bottom, rgba(10,10,12,0.4) 0%, rgba(10,10,12,1) 100%);
}

/* Custom Cursor Glow */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(200, 155, 123, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 1;
    transition: opacity 0.3s;
}

/* Typography Base */
h1, h2, h3 {
    font-family: var(--font-serif);
    color: #fff;
    font-weight: 400;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.brand-logo {
    max-width: 100%;
    width: clamp(200px, 40vw, 400px); /* Ajusta dinamicamente entre 200px e 400px */
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

.subtitle {
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 3vw, 1.8rem);
    font-style: italic;
    color: var(--color-primary);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-inline: auto;
}

/* Buttons */
.btn-primary {
    background: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    padding: 1rem 3rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
}

.btn-primary:hover {
    color: var(--color-bg);
}

.btn-primary:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Why Moncoc Section */
.why-moncoc {
    background-color: var(--color-bg);
    padding: 8rem 2rem;
    position: relative;
    z-index: 2;
}

.why-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.why-text-block {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.why-text-block h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.why-text-block p {
    font-size: 1.2rem;
    color: var(--color-text-muted);
}

.why-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.feature-item {
    background: var(--color-bg-alt);
    padding: 3rem 2rem;
    border: 1px solid rgba(255,255,255,0.05);
    border-top: 2px solid var(--color-primary);
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-10px);
}

.feature-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 3rem;
    color: rgba(200, 155, 123, 0.2);
    margin-bottom: 1rem;
    font-style: italic;
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-item p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* Gallery Section */
.gallery-section {
    padding: 2rem;
    background-color: var(--color-bg);
    position: relative;
    z-index: 2;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 400px;
    gap: 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    background-color: var(--color-bg-alt);
    background-image: url('bg.png'); /* Using the same bg for now, can be replaced by real photos */
    background-size: cover;
    background-position: center;
    border-radius: 1px;
    overflow: hidden;
}

.gallery-item.item-large {
    grid-column: span 2;
}

.gallery-item.item-medium-1 {
    grid-column: span 1;
    background-position: left center;
}

.gallery-item.item-medium-2 {
    grid-column: span 1;
    background-position: right center;
}

.gallery-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: #fff;
}

.gallery-overlay h3 {
    font-size: 1.5rem;
}

/* Lines Display Section */
.lines-section {
    padding: 8rem 2rem;
    background-color: var(--color-bg-alt);
    text-align: center;
    position: relative;
    z-index: 2;
}

.lines-container {
    max-width: 1200px;
    margin: 0 auto;
}

.lines-container h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.lines-desc {
    color: var(--color-text-muted);
    font-size: 1.2rem;
    margin-bottom: 4rem;
}

.lines-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.line-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem 2.5rem;
    border-radius: 2px;
    transition: all 0.3s;
}

.line-card:hover {
    background: rgba(200, 155, 123, 0.1);
    border-color: var(--color-primary);
    transform: translateY(-5px);
}

.line-card h4 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 400;
    color: #fff;
}

.and-more {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--color-primary);
    opacity: 0.8;
}

/* Form Section */
.form-section {
    background-color: var(--color-bg);
    padding: 6rem 2rem 8rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Glass Panel */
.glass-panel {
    background: var(--color-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--color-glass-border);
    padding: 4rem;
    border-radius: 1px;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    max-width: 600px;
    width: 100%;
}

.glass-panel h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.form-desc {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 3rem;
    text-align: center;
}

/* Form Elements */
.input-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

label {
    display: block;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.required {
    color: var(--color-primary);
}

.optional {
    color: rgba(160, 160, 160, 0.5);
    font-style: italic;
    font-size: 0.75rem;
    margin-left: 0.25rem;
}

input, select {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding: 0.8rem 0;
    color: #fff;
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: border-color 0.3s;
    outline: none;
}

input::placeholder {
    color: rgba(255,255,255,0.2);
}

input:focus, select:focus {
    border-bottom-color: var(--color-primary);
}

/* Custom Select */
select {
    appearance: none;
    cursor: pointer;
}

select option {
    background: var(--color-bg);
    color: #fff;
}

.custom-select-wrapper {
    position: relative;
}

.custom-select-wrapper::after {
    content: '▼';
    font-size: 0.6rem;
    color: var(--color-primary);
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.btn-submit {
    width: 100%;
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

/* Spinner */
.spinner {
    animation: rotate 2s linear infinite;
    z-index: 2;
    width: 20px;
    height: 20px;
}

.spinner .path {
    stroke: currentColor;
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate { 100% { transform: rotate(360deg); } }
@keyframes dash {
    0% { stroke-dasharray: 1, 150; stroke-dashoffset: 0; }
    50% { stroke-dasharray: 90, 150; stroke-dashoffset: -35; }
    100% { stroke-dasharray: 90, 150; stroke-dashoffset: -124; }
}

.form-feedback {
    margin-top: 1.5rem;
    text-align: center;
    padding: 1rem;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background-color: var(--color-bg-alt);
    color: var(--color-text-muted);
    font-size: 0.8rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    position: relative;
    z-index: 2;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero {
        padding: 1rem;
    }
    
    .why-moncoc {
        padding: 4rem 1.5rem;
    }
    
    .why-text-block h2 {
        font-size: 2.2rem;
    }

    .feature-item {
        padding: 2rem 1.5rem;
    }
    
    .form-section {
        padding: 4rem 1rem;
    }
    
    .glass-panel {
        padding: 2rem 1.5rem;
    }
    
    .glass-panel h2 {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 300px);
    }
    
    .gallery-item.item-large,
    .gallery-item.item-medium-1,
    .gallery-item.item-medium-2 {
        grid-column: span 1;
    }
    
    .lines-section {
        padding: 4rem 1.5rem;
    }
    
    .line-card {
        width: 100%;
    }
}
