/* ==========================================================
   LAYOUT.CSS - Containers, Seções e Estrutura
   ========================================================== */

/* ==================== CONTAINERS ==================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-narrow {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-tight {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==================== SEÇÕES ==================== */
.section {
    padding: 8rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-subtitle {
    font-family: var(--font-ui);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--rose-600);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-description {
    max-width: 700px;
    margin: 1.5rem auto 0;
    color: var(--stone-600);
    font-size: 1.25rem;
}

/* ==================== HEADER ==================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.main-header.scrolled::before {
    opacity: 1;
}

.main-header.scrolled {
    padding: 1rem 0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--rose-900);
    letter-spacing: -0.01em;
}

.header-cta {
    font-family: var(--font-ui);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, var(--rose-500), var(--pink-400));
    color: white;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(244, 63, 94, 0.3);
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(244, 63, 94, 0.4);
}

/* ==================== HERO ==================== */
.section-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--pink-50) 0%, var(--rose-50) 50%, var(--sand-50) 100%);
    padding: 8rem 0 4rem;
}

.hero-decorative {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(244, 63, 94, 0.15) 0%, rgba(249, 168, 212, 0.1) 50%, transparent 70%);
    filter: blur(80px);
    animation: float 20s ease-in-out infinite;
}

.hero-decorative:nth-child(1) {
    top: -200px;
    right: -200px;
}

.hero-decorative:nth-child(2) {
    bottom: -300px;
    left: -100px;
    animation-delay: -10s;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(214, 69, 69, 0.2);
    font-family: var(--font-ui);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--rose-700);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-soft);
}

.hero-title {
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--rose-700) 0%, var(--pink-400) 50%, var(--rose-600) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    margin-bottom: 3rem;
    color: var(--stone-600);
    max-width: 600px;
    font-size: 1.5rem;
}

/* ==================== SPLIT SECTION ==================== */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.split-image {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.split-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(214, 69, 69, 0.1) 0%, transparent 100%);
    pointer-events: none;
}

.split-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.split-section:hover .split-image img {
    transform: scale(1.05);
}

.split-content h3 {
    font-size: 1rem;
    font-family: var(--font-ui);
    font-weight: 600;
    color: var(--rose-600);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.split-content p {
    margin-bottom: 1.5rem;
    color: var(--stone-600);
}

/* ==================== FOOTER ==================== */
.main-footer {
    background: var(--stone-900);
    color: var(--sand-200);
    padding: 3rem 0;
    text-align: center;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--rose-300);
    margin-bottom: 1rem;
}

.main-footer p {
    font-family: var(--font-ui);
    font-size: 0.875rem;
    opacity: 0.7;
}

/* ==================== WIDGETS FLUTUANTES ==================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--rose-500) 0%, var(--pink-400) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-medium);
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.4s ease;
    z-index: 999;
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-strong);
}

.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
    z-index: 998;
}
.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: var(--shadow-strong);
}