/* 
* Meire Cerimonialista - Main Stylesheet
* Author: Developer
* Version: 1.0
*/

/* ===== CSS VARIABLES ===== */
:root {
    /* Primary Colors */
    --primary-color: #692B53;
    --primary-light: #9B4474;
    --primary-dark: #461E39;
    
    /* Secondary Colors */
    --secondary-color: #D4A977;
    --secondary-light: #E6C9A4;
    --secondary-dark: #B48E60;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --off-white: #F8F5F1;
    --light-gray: #E5E5E5;
    --medium-gray: #A0A0A0;
    --dark-gray: #505050;
    --black: #121212;
    
    /* Font Families */
    --body-font: 'Figtree', sans-serif;
    
    /* Font Sizes */
    --text-xs: 0.75rem;   /* 12px */
    --text-sm: 0.875rem;  /* 14px */
    --text-base: 1rem;    /* 16px */
    --text-lg: 1.125rem;  /* 18px */
    --text-xl: 1.25rem;   /* 20px */
    --text-2xl: 1.5rem;   /* 24px */
    --text-3xl: 1.875rem; /* 30px */
    --text-4xl: 2.25rem;  /* 36px */
    --text-5xl: 3rem;     /* 48px */
    
    /* Spacing */
    --spacing-1: 0.25rem;
    --spacing-2: 0.5rem;
    --spacing-3: 0.75rem;
    --spacing-4: 1rem;
    --spacing-6: 1.5rem;
    --spacing-8: 2rem;
    --spacing-12: 3rem;
    --spacing-16: 4rem;
    --spacing-24: 6rem;
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-full: 9999px;
    
    /* Box Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Z-index */
    --z-behind: -1;
    --z-normal: 1;
    --z-dropdown: 10;
    --z-fixed: 100;
    --z-modal: 1000;
}

/* ===== RESET & BASE STYLES ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Adjusted for fixed header */
}

body {
    font-family: var(--body-font);
    font-size: var(--text-base);
    color: var(--dark-gray);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--black);
    margin-bottom: var(--spacing-4);
}

h1 {
    font-size: var(--text-5xl);
}

h2 {
    font-size: var(--text-4xl);
}

h3 {
    font-size: var(--text-3xl);
}

h4 {
    font-size: var(--text-2xl);
}

h5 {
    font-size: var(--text-xl);
}

h6 {
    font-size: var(--text-lg);
}

p {
    margin-bottom: var(--spacing-4);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-light);
}

ul {
    list-style-type: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    transition: all var(--transition-fast);
}

/* ===== UTILITY CLASSES ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-4);
}

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

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

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

.d-flex {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

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

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.full-width {
    width: 100%;
}

.spacing-top {
    margin-top: var(--spacing-8);
}

.spacing-bottom {
    margin-bottom: var(--spacing-8);
}

/* ===== BUTTONS ===== */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-3) var(--spacing-6);
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: var(--text-sm);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-align: center;
    transition: all var(--transition-normal);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-fixed);
    transition: all var(--transition-normal);
    height: 90px;
    overflow: visible;
}

.header-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.header-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(105, 43, 83, 1), rgba(155, 68, 116, 1));
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.header-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0.3;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    position: relative;
}

/* Logo Styling */
.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-3);
}

/* Navigation Styling */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--spacing-6);
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
    color: var(--white);
    font-weight: 500;
    font-size: var(--text-sm);
    padding: var(--spacing-2) 0;
    transition: all var(--transition-normal);
    position: relative;
}

.nav-icon {
    font-size: 14px;
    opacity: 0.7;
    transition: all var(--transition-normal);
}

.nav-text {
    position: relative;
}

.nav-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width var(--transition-normal);
}

.nav-link:hover, 
.nav-link.active {
    color: var(--secondary-light);
}

.nav-link:hover .nav-icon, 
.nav-link.active .nav-icon {
    opacity: 1;
    transform: translateY(-2px);
}

.nav-link:hover .nav-text::after, 
.nav-link.active .nav-text::after {
    width: 100%;
}

.nav-item-cta {
    margin-left: var(--spacing-4);
}

.btn-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-2);
    padding: var(--spacing-3) var(--spacing-4);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    border: none;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(212, 169, 119, 0.3);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
}

.btn-header:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 169, 119, 0.4);
}

.btn-header:hover::before {
    left: 100%;
}

.btn-icon {
    transition: all var(--transition-normal);
}

.btn-header:hover .btn-icon {
    transform: translateX(3px);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    width: 32px;
    height: 26px;
    position: relative;
    z-index: var(--z-dropdown);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--white);
    position: absolute;
    left: 0;
    transition: all var(--transition-normal);
}

.menu-toggle span:nth-child(1) {
    top: 0;
}

.menu-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
    width: 75%;
    right: 0;
    left: auto;
}

.menu-toggle span:nth-child(3) {
    bottom: 0;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(12px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-12px) rotate(-45deg);
}

/* Scrolled Header */
.header.scrolled {
    height: 70px;
    background: rgba(70, 30, 57, 0.45);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.header.scrolled .logo-text-main {
    font-size: 24px;
}

.header.scrolled .logo-text-sub {
    font-size: 12px;
}

.header.scrolled .logo-symbol {
    width: 42px;
    height: 42px;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    width: 100%;
    overflow: hidden;
    color: var(--dark-gray); /* Alterado para cor escura */
}
/* Background e elementos decorativos */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.95) 0%, 
                rgba(248, 245, 241, 0.9) 50%, 
                rgba(230, 201, 164, 0.8) 100%);
    z-index: 3;
}
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}


.shape {
    position: absolute;
    opacity: 0.15;
}

.shape-1 {
    top: 15%;
    left: 10%;
    width: 200px;
    height: 200px;
    background: var(--primary-color);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morphShape 15s ease-in-out infinite alternate;
}

.shape-2 {
    bottom: 10%;
    right: 15%;
    width: 180px;
    height: 180px;
    background: var(--secondary-color);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: morphShape 20s ease-in-out infinite alternate-reverse;
}

.shape-3 {
    top: 60%;
    left: 20%;
    width: 120px;
    height: 120px;
    background: var(--primary-light);
    border-radius: 50% 50% 50% 50% / 60% 40% 60% 40%;
    animation: morphShape 18s ease-in-out infinite;
}

.circle-1 {
    top: 20%;
    right: 20%;
    width: 100px;
    height: 100px;
    background: var(--secondary-color);
    border-radius: 50%;
    opacity: 0.1;
    animation: floatCircle 8s ease-in-out infinite;
}

.circle-2 {
    bottom: 30%;
    left: 10%;
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.1;
    animation: floatCircle 10s ease-in-out infinite 1s;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 0.4;
}

/* Container principal */
.hero-container {
    position: relative;
    z-index: 10;
    height: 100%;
    display: grid;
    grid-template-columns: 45% 55%;
    align-items: center;
    gap: var(--spacing-12);
}
/* Área visual */
.hero-visual {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 3/4;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(50px) rotate(-3deg);
    opacity: 0;
    animation: imageReveal 1.5s cubic-bezier(0.23, 1, 0.32, 1) forwards 0.3s;
}

.image-shine {
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(45deg);
    animation: shineEffect 8s ease-in-out infinite;
    z-index: 2;
    pointer-events: none;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 6s ease;
}

.hero-image-wrapper:hover .hero-image {
    transform: scale(1);
}

.hero-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    opacity: 0;
    animation: fadeIn 1s ease forwards 1.5s;
}

.ring-element {
    width: 150px;
    height: 150px;
    bottom: 15%;
    right: 0;
    opacity: 0.7;
    animation: float 12s ease-in-out infinite, fadeIn 1s ease forwards 1.5s;
}

.ring-element svg {
    width: 100%;
    height: 100%;
    animation: rotateSlow 30s linear infinite;
}

.dot-grid {
    width: 100px;
    height: 100px;
    top: 15%;
    left: -10%;
    background-image: radial-gradient(
        circle,
        rgba(212, 169, 119, 0.5) 1px,
        transparent 1px
    );
    background-size: 10px 10px;
    animation: float 15s ease-in-out infinite, fadeIn 1s ease forwards 1.8s;
}

/* Área de conteúdo */
.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--spacing-8);
    transform: translateY(30px);
    opacity: 0;
    animation: fadeInUp 1.2s ease forwards 0.5s;
}


.hero-tagline {
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: var(--spacing-4);
    color: var(--primary-color); /* Modificado para cor primária */
    position: relative;
    display: inline-block;
    padding-left: var(--spacing-8);
}

.hero-tagline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 20px;
    height: 1px;
    background-color: var(--primary-color);
}
.hero-title {
    font-size: 0; /* Remove espaço entre spans */
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--spacing-6);
    color: var(--primary-dark); /* Modificado para cor escura */
}


.title-line {
    display: block;
    font-size: 3.5rem;
    overflow: hidden;
    opacity: 0;
    transform: translateY(100%);
    animation: revealTextUp 0.8s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
    color: var(--primary-dark); /* Modificado para cor escura */
}
.title-line:nth-child(1) {
    animation-delay: 0.6s;
}

.title-line.accent {
    color: var(--primary-color); /* Alterado para cor primária mais forte */
    font-size: 4.5rem;
    margin-left: var(--spacing-6);
    animation-delay: 0.9s;
}

.title-line:nth-child(3) {
    animation-delay: 1.2s;
}
.hero-description {
    font-size: var(--text-xl);
    line-height: 1.6;
    margin-bottom: var(--spacing-8);
    max-width: 500px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards 1.3s;
    color: var(--dark-gray); /* Modificado para cor escura */
}

.hero-cta {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards 1.5s;
}

.btn-hero {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-3);
    padding: var(--spacing-4) var(--spacing-8);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    font-size: var(--text-base);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(105, 43, 83, 0.2);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: all 0.6s ease;
}

.btn-hero:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(212, 169, 119, 0.4);
}

.btn-hero:hover::before {
    left: 100%;
}

.btn-icon {
    transition: transform 0.3s ease;
}

.btn-hero:hover .btn-icon {
    transform: translateX(5px);
}

/* Indicador de scroll */
.scroll-indicator {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
    opacity: 0;
    animation: fadeIn 1s ease forwards 2s;
}

.scroll-mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--primary-color); /* Alterado para cor primária */
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
    margin-bottom: var(--spacing-2);
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background-color: var(--primary-color); /* Alterado para cor primária */
    border-radius: 2px;
    animation: scrollWheel 2s infinite;
}

.scroll-arrow {
    color: var(--primary-color); /* Alterado para cor primária */
    font-size: var(--text-sm);
    animation: bounce 2s infinite;
}

/* ===== SECTION COMMON STYLES ===== */
section {
    padding: var(--spacing-24) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-16);
}

.section-header h2 {
    font-size: var(--text-4xl);
    font-weight: 700;
    position: relative;
    display: inline-block;
    margin-bottom: var(--spacing-4);
    padding-bottom: var(--spacing-3);
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    transform: translateX(-50%);
}

.section-header p {
    font-size: var(--text-lg);
    color: var(--medium-gray);
    max-width: 600px;
    margin: 0 auto;
}
