/* 
 * Benzeção do Cantuá - Styles
 * Variables & Colors 
 */
:root {
    --color-primary: #1A3025;   /* Deep Green (Nature/Spirituality) */
    --color-primary-light: #2c4f3e;
    --color-accent: #CFA65B;    /* Soft Gold (Divine/Premium) */
    --color-accent-hover: #b38b42;
    --color-text: #333333;      /* Dark grey for reading */
    --color-bg-white: #FFFFFF;
    --color-bg-light: #F9F9F7;  /* Very slight warm off-white */
    
    --font-serif: 'Cinzel', serif;
    --font-sans: 'Inter', sans-serif;
}

/* Reset & Basics */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background-color: var(--color-bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .title-stylized, .headline, .drop-cap::first-letter {
    font-family: var(--font-serif);
}

a {
    text-decoration: none;
}

/* Layout Classes */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-wide {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

.white-bg {
    background-color: var(--color-bg-white);
    padding: 6rem 0;
}

/* Fixed Top Button */
.btn-top-fixed {
    position: fixed;
    top: 2rem;
    right: 3rem;
    background-color: rgba(26, 48, 37, 0.6); /* Semi-transparent Green */
    color: var(--color-accent);
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--color-accent);
    border-radius: 4px;
    font-family: var(--font-serif);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 1000;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-top-fixed:hover {
    background-color: var(--color-accent);
    color: var(--color-bg-white);
}

/* Video Sections */
.video-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
}

.hero-video, .bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}

.video-container {
    position: relative;
    width: 100vw;
    height: 150vh; /* Extra height for scroll scrubbing */
}

/* Video 2 container (sticky for scrub effect) */
#scroll-video-container-1 {
    height: 350vh; /* Faz a rolagem ser longa para dar mais tempo de vídeo */
}

.scrub-video {
    position: sticky;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: 1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
    z-index: 2;
}

.video-overlay.subtle {
    background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 100%);
}

.video-overlay.strong {
    background: rgba(0,0,0,0.5);
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #fff;
    padding: 0 2rem;
}

.title-stylized {
    font-size: 4.5rem;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    text-shadow: 0 4px 12px rgba(0,0,0,0.5);
    color: var(--color-bg-white);
}

.title-stylized.medium {
    font-size: 3rem;
}

.subtitle-text {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: -15vh;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0.8;
    animation: bounce 2s infinite ease-in-out;
}

.scroll-indicator span {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 10px); }
}

/* Floating Quotes */
.quote-floating {
    position: absolute;
    z-index: 3;
    color: #fff;
    top: 50%;
    transform: translateY(-50%);
    max-width: 400px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.quote-floating.left-side {
    left: 10%;
}

.quote-floating h2 {
    font-size: 3rem;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.quote-floating p {
    font-size: 1.2rem;
    font-weight: 300;
    font-style: italic;
    opacity: 0.9;
}

/* Text Sections */
.headline {
    font-size: 2rem;
    line-height: 1.4;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 1rem;
    font-style: italic;
}

.author {
    text-align: center;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 4rem;
    font-size: 0.9rem;
}

.text-content {
    font-size: 1.15rem;
    color: #444;
}

.text-content p {
    margin-bottom: 1.5rem;
}

.drop-cap::first-letter {
    font-size: 4rem;
    line-height: 0.8;
    float: left;
    margin-right: 0.5rem;
    color: var(--color-primary);
    padding-top: 0.5rem;
    padding-right: 0.2rem;
}

.highlight-box {
    background-color: var(--color-bg-light);
    border-left: 4px solid var(--color-accent);
    padding: 2rem;
    margin: 3rem 0;
    font-size: 1.1rem;
}

.highlight-box .italic {
    font-style: italic;
    color: var(--color-primary);
    font-family: var(--font-serif);
    font-size: 1.3rem;
    line-height: 1.5;
    margin-top: 1rem;
}

/* Gallery Section */
.gallery-section {
    background-color: var(--color-bg-light);
}

.section-title {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background-color: #ddd; /* fallback */
}

.gallery-item picture {
    display: block;
    width: 100%;
    height: 100%;
}

.gallery-item:hover img {
    transform: scale(1.08); /* 8% zoom */
}

/* Custom Zoom to focus on specific subject */
.gallery-item img.zoomed-focus {
    object-position: center 10%; /* Gruda a foto mirando 10% do topo da imagem original */
    transform: scale(1.3); /* Dá o zoom sem exagerar demais */
    transform-origin: center 10%; /* O zoom nasce exatamente desse ponto, impedindo que a foto escorregue */
}

.gallery-item:hover img.zoomed-focus {
    transform: scale(1.4);
}

/* Capture Form Section */
.capture-section {
    padding: 3rem 0;
    background-color: #f0f3f1;
}

.form-wrapper {
    max-width: 500px;
    margin: 0 auto;
    background: var(--color-bg-white);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: left;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-primary);
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    font-family: var(--font-sans);
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-accent);
}

.form-checkbox {
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.form-checkbox input {
    margin-top: 0.25rem;
}

.form-checkbox label {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
}

.btn-submit {
    width: 100%;
    background-color: var(--color-primary);
    color: var(--color-accent);
    border: none;
    padding: 1.25rem;
    font-size: 1.2rem;
    font-family: var(--font-serif);
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-submit:hover {
    background-color: var(--color-primary-light);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 48, 37, 0.3);
}

/* Multi-Step Form Extras */
.form-step {
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-step h3 {
    color: var(--color-primary);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-serif);
}

.form-step p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 1.5rem;
}

.options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
}

.radio-card {
    border: 2px solid #ccc;
    border-radius: 8px;
    padding: 0.7rem;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.radio-card:hover {
    border-color: var(--color-accent);
    background: var(--color-bg-light);
}

.radio-card input:checked {
    accent-color: var(--color-primary);
}

.radio-card:has(input:checked) {
    border-color: var(--color-primary);
    background: rgba(26, 48, 37, 0.05);
}

.companion-entry {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.companion-entry input {
    flex: 1;
    min-width: 45%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: var(--font-sans);
}

.btn-text {
    background: none;
    border: none;
    color: var(--color-primary);
    text-decoration: underline;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
}

textarea, select {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    font-family: var(--font-sans);
    transition: border-color 0.3s ease;
    resize: vertical;
}

textarea:focus, select:focus {
    outline: none;
    border-color: var(--color-accent);
}

/* Footer */
.site-footer {
    background-color: var(--color-primary);
    color: rgba(255,255,255,0.6);
    text-align: center;
    padding: 2rem 0;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    .title-stylized { font-size: 3rem; }
    .title-stylized.medium { font-size: 2rem; }
    .quote-floating.left-side { left: 5%; text-align: center; padding: 0 1rem; right: 5%; }
    .text-content { font-size: 1.05rem; }
    .btn-top-fixed { right: 1rem; top: 1rem; padding: 0.5rem 1rem; font-size: 0.75rem; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .title-stylized { font-size: 2.2rem; }
}
