/* 
   Agência Lutuosa Matriz — Design System
   Color Palette: Dark Charcoal + Candlelight Amber
*/

:root {
    /* Colors */
    --bg-deep: #0d0a07;
    --bg-dark: #16120e;
    --bg-elevated: #1e1914;
    --accent-primary: #D4A84B;
    --accent-secondary: #C8932A;
    --accent-glow: #E8B84D;
    --text-primary: #E8E0D4;
    --text-secondary: #A89B8C;
    --text-heading: #FFFFFF;
    --white: #FFFFFF;
    --divider: rgba(212, 168, 75, 0.1);
    
    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 100px 20px;
    --section-padding-mobile: 60px 20px;
    
    /* Transitions */
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    font-weight: 600;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

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

/* Candlelight Background & Animation */
.candlelight-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 80% 20%, rgba(212, 168, 75, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 20% 80%, rgba(212, 168, 75, 0.05) 0%, transparent 50%),
                var(--bg-deep);
    filter: blur(40px);
    pointer-events: none;
}

.candlelight-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 168, 75, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: flicker 8s infinite alternate ease-in-out;
}

@keyframes flicker {
    0% { transform: scale(1) translate(0, 0); opacity: 0.5; }
    33% { transform: scale(1.1) translate(20px, -20px); opacity: 0.7; }
    66% { transform: scale(0.9) translate(-10px, 15px); opacity: 0.4; }
    100% { transform: scale(1.05) translate(10px, -5px); opacity: 0.6; }
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-padding);
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background-color: var(--accent-primary);
    margin: 15px auto 0;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 10px;
}

.btn-primary {
    background-color: var(--accent-primary);
    color: var(--bg-deep);
}

.btn-primary:hover {
    background-color: var(--accent-glow);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 168, 75, 0.2);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
}

.btn-outline:hover {
    background-color: rgba(212, 168, 75, 0.1);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background-color: #20BA5A;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

header.scrolled {
    background-color: rgba(13, 10, 7, 0.9);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid var(--divider);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 45px;
    width: auto;
}

.logo span {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-heading);
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-primary);
    transition: var(--transition);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
    position: relative;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

.hero-logo {
    margin-bottom: 30px;
    filter: drop-shadow(0 0 20px rgba(212, 168, 75, 0.2));
    animation: fadeIn 1s ease-out;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 10px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero .slogan {
    font-size: 1.5rem;
    color: var(--accent-primary);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero .tagline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.8s both;
}

/* Step Section */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.step-card {
    background-color: var(--bg-elevated);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--divider);
    transition: var(--transition);
    text-align: center;
}

.step-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.step-icon {
    font-size: 2.5rem;
    color: var(--accent-primary);
    margin-bottom: 20px;
}

.step-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.step-card p {
    color: var(--text-secondary);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.service-card {
    background-color: var(--bg-dark);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--divider);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.service-card:hover {
    background-color: var(--bg-elevated);
    border-color: var(--accent-primary);
}

.service-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(212, 168, 75, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    font-size: 1.5rem;
}

.service-card h3 {
    font-size: 1.4rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    text-align: left;
    margin-bottom: 30px;
}

.about-text h2::after {
    margin: 15px 0 0;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.owners-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.owner-photo {
    width: 100%;
    aspect-ratio: 3/4;
    background-color: var(--bg-elevated);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    border: 1px solid var(--divider);
}

.owner-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.owner-card h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.owner-card span {
    color: var(--accent-primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* What to Do Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--divider);
}

.accordion-header {
    background-color: var(--bg-dark);
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.accordion-header:hover {
    background-color: var(--bg-elevated);
}

.accordion-header h3 {
    font-size: 1.2rem;
    font-family: var(--font-body);
}

.accordion-icon {
    font-size: 1.2rem;
    transition: var(--transition);
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
    color: var(--accent-primary);
}

.accordion-content {
    background-color: var(--bg-deep);
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
}

.accordion-item.active .accordion-content {
    padding: 20px 25px;
    max-height: 500px;
}

/* Documents Section */
.docs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.docs-list {
    background-color: var(--bg-dark);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--divider);
}

.docs-list h3 {
    margin-bottom: 20px;
    color: var(--accent-primary);
    border-bottom: 1px solid var(--divider);
    padding-bottom: 10px;
}

.docs-list ul li {
    margin-bottom: 12px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.docs-list ul li::before {
    content: '✓';
    color: var(--accent-primary);
    font-weight: bold;
}

/* Flowers Section */
.flowers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.flower-card {
    background-color: var(--bg-dark);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--divider);
    transition: var(--transition);
}

.flower-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
}

.flower-img {
    width: 100%;
    aspect-ratio: 1/1;
    background-color: var(--bg-elevated);
    position: relative;
    overflow: hidden;
}

.flower-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.flower-card:hover .flower-img img {
    transform: scale(1.1);
}

.flower-info {
    padding: 20px;
    text-align: center;
}

.flower-info h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.flower-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background-color: rgba(212, 168, 75, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-family: var(--font-body);
}

.contact-text p, .contact-text a {
    color: var(--text-secondary);
}

.map-container {
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--divider);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(1) invert(1) contrast(1.2);
}

/* Footer */
footer {
    background-color: #050403;
    padding: 80px 0 40px;
    border-top: 1px solid var(--divider);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.footer-links h4, .footer-contact h4 {
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--text-secondary);
}

.footer-links ul li a:hover {
    color: var(--accent-primary);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--divider);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Floating Elements */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.whatsapp-btn {
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Mobile Adjustments */
@media (max-width: 992px) {
    .steps-grid, .about-container, .docs-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero h1 { font-size: 3rem; }
    .hero .slogan { font-size: 1.2rem; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    
    .section { padding: var(--section-padding-mobile); }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-btns { flex-direction: column; }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
