/* ========================================
   Óticas Dyana - Landing Page Styles
   ======================================== */

:root {
    --primary: #000000;
    --primary-dark: #333333;
    --primary-light: #555555;
    --accent: #FCE300;
    --accent-dark: #E1C900;
    --dark: #1e293b;
    --dark-light: #334155;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --light: #f1f5f9;
    --lighter: #f8fafc;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --gradient-hero: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #333333 100%);
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --section-padding: clamp(60px, 10vw, 120px);
    --container-padding: clamp(16px, 4vw, 32px);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --transition: 300ms ease;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-family); font-size: 16px; line-height: 1.6; color: var(--dark); background: linear-gradient(135deg, #f0fdfa 0%, #ffffff 50%, #f0fdfa 100%); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul, ol { list-style: none; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--container-padding); }

/* Typography */
.section-badge { display: inline-block; padding: 8px 16px; background: rgba(252, 227, 0, 0.2); color: #000000; font-size: 0.875rem; font-weight: 700; border-radius: 50px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px; }
.section-title { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; line-height: 1.2; margin-bottom: 16px; color: var(--dark); }
.section-title .highlight { color: var(--primary); position: relative; z-index: 1; }
.section-title .highlight::after { content: ''; position: absolute; bottom: 5px; left: 0; width: 100%; height: 30%; background: var(--accent); z-index: -1; opacity: 0.6; }
.section-subtitle { font-size: 1.125rem; color: var(--gray); max-width: 600px; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header .section-subtitle { margin: 0 auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; font-family: var(--font-family); font-size: 1rem; font-weight: 700; border-radius: var(--radius); border: none; cursor: pointer; transition: var(--transition); text-transform: uppercase; letter-spacing: 0.5px; }
.btn-icon { font-size: 1.25rem; }
.btn-primary { background: var(--accent); color: #000000; box-shadow: 0 4px 14px rgba(252, 227, 0, 0.4); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(252, 227, 0, 0.5); }
.btn-outline { background: transparent; color: var(--dark); border: 2px solid var(--dark); }
.btn-outline:hover { background: var(--dark); color: var(--white); }
.btn-lg { padding: 18px 36px; font-size: 1.125rem; }
.btn-whatsapp { background: #25D366; color: var(--white); padding: 12px 24px; margin-top: 12px; }
.btn-whatsapp:hover { background: #128C7E; transform: translateY(-2px); }
.btn-outline-sm { background: transparent; color: var(--dark); border: 1px solid var(--dark); padding: 8px 16px; font-size: 0.875rem; margin-top: 12px; }
.btn-outline-sm:hover { background: var(--dark); color: var(--white); }
.btn-cta { background: var(--white); color: var(--dark); padding: 20px 40px; font-size: 1.125rem; box-shadow: var(--shadow-lg); }
.btn-cta:hover { transform: translateY(-3px); box-shadow: var(--shadow-xl); background: var(--accent); color: #000000; }

/* Header */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 16px 0; transition: var(--transition); }
.header.scrolled { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(12px); box-shadow: var(--shadow); padding: 12px 0; }
.header .container { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 12px; font-size: 1.5rem; color: var(--dark); transition: var(--transition); text-decoration: none; }
.logo-image { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); }
.logo-icon { display: none; }
.logo-text { font-weight: 400; letter-spacing: -0.5px; }
.logo-text strong { font-weight: 800; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav-link { color: var(--dark); font-weight: 500; font-size: 0.9375rem; position: relative; opacity: 0.8; }
.nav-link:hover { opacity: 1; color: #000; }
.nav-link::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 3px; background: var(--accent); transition: var(--transition); }
.nav-link:hover::after { width: 100%; }
.header-cta { padding: 12px 24px; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; background: none; border: none; cursor: pointer; }
.menu-toggle span { width: 24px; height: 2px; background: var(--dark); transition: var(--transition); }

@media (max-width: 768px) {
    .nav { position: fixed; top: 0; right: -100%; width: 80%; max-width: 320px; height: 100vh; background: var(--white); flex-direction: column; justify-content: center; gap: 24px; transition: var(--transition); box-shadow: var(--shadow-xl); }
    .nav.active { right: 0; }
    .nav-link { color: var(--dark); font-size: 1.25rem; }
    .header-cta { display: none; }
    .menu-toggle { display: flex; }
    .menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
}

/* Hero - Clean Style */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 120px 0 80px; }
.hero-bg { position: absolute; inset: 0; background: url('mulher-oculos.jpg.png') no-repeat center center/cover; z-index: -2; }
.hero-bg::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(240,253,250,0.85) 0%, rgba(240,253,250,0.6) 35%, rgba(255,255,255,0.1) 100%); }
.hero-bg::after { display: none; }
.hero-overlay { display: none; }
.hero-content { text-align: left; color: var(--dark); position: relative; z-index: 1; max-width: 1200px; width: 100%; display: flex; flex-direction: column; align-items: flex-start; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; background: rgba(252, 227, 0, 0.3); backdrop-filter: blur(10px); border-radius: 50px; font-size: 0.875rem; font-weight: 700; margin-bottom: 24px; border: 1px solid rgba(0, 0, 0, 0.1); color: #000; }
.badge-icon { font-size: 1rem; }
.hero-title { font-size: clamp(2.5rem, 8vw, 4.5rem); font-weight: 900; line-height: 1.1; margin-bottom: 24px; color: #000000; letter-spacing: -1px; }
.hero-title .highlight { color: #000000; position: relative; display: inline-block; }
.hero-title .highlight::after { content: ''; position: absolute; bottom: 8px; left: 0; width: 100%; height: 25px; background: var(--accent); z-index: -1; transform: rotate(-2deg); }
.hero-subtitle { font-size: clamp(1.125rem, 2.5vw, 1.375rem); max-width: 600px; margin: 0 0 40px 0; opacity: 0.8; line-height: 1.7; color: var(--dark-light); font-weight: 500; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 16px; justify-content: flex-start; margin-bottom: 60px; }
.hero-buttons .btn { border-radius: var(--radius); }
.hero-buttons .btn-primary { background: var(--accent); color: #000; box-shadow: 0 4px 14px rgba(252, 227, 0, 0.4); }
.hero-buttons .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(252, 227, 0, 0.5); }
.hero-buttons .btn-outline { border-color: var(--dark); color: var(--dark); }
.hero-buttons .btn-outline:hover { background: var(--dark); color: var(--accent); border-color: var(--dark); }
.hero-stats { display: flex; gap: 48px; justify-content: flex-start; flex-wrap: wrap; }
.stat { text-align: left; }
.stat-number { display: block; font-size: 2.5rem; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 8px; -webkit-text-stroke: 1px #000; text-shadow: 2px 2px 0 #000; }
.stat-label { font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.hero-scroll { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); }
.scroll-indicator { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--dark); font-size: 0.875rem; animation: bounce 2s ease-in-out infinite; font-weight: 600; }
.scroll-arrow { font-size: 1.25rem; color: var(--accent-dark); }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(10px); } }

/* Animations */
.animate-fade-in { animation: fadeIn 0.8s ease forwards; }
.animate-fade-in-up { animation: fadeInUp 0.8s ease forwards; }
.delay-1 { animation-delay: 0.2s; opacity: 0; }
.delay-2 { animation-delay: 0.4s; opacity: 0; }
.delay-3 { animation-delay: 0.6s; opacity: 0; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* Services */
.services { padding: var(--section-padding) 0; background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(240,253,250,0.5) 100%); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card { background: var(--white); padding: 40px 32px; border-radius: var(--radius-lg); box-shadow: var(--shadow); transition: var(--transition); border: 1px solid transparent; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); border-color: var(--accent); }
.service-icon { font-size: 3rem; margin-bottom: 20px; display: inline-block; filter: drop-shadow(2px 2px 0 rgba(0,0,0,0.1)); }
.service-title { font-size: 1.375rem; font-weight: 700; margin-bottom: 12px; color: var(--dark); }
.service-description { color: var(--gray); margin-bottom: 20px; line-height: 1.7; }
.service-features { display: flex; flex-direction: column; gap: 8px; }
.service-features li { font-size: 0.9375rem; color: var(--dark-light); font-weight: 500; }
.service-features li::before { content: '✓'; color: var(--accent-dark); font-weight: 800; margin-right: 8px; }

/* About */
.about { padding: var(--section-padding) 0; background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 48px; } }
.about-image-wrapper { position: relative; aspect-ratio: 1; max-width: 450px; margin: 0 auto; }
.about-image-bg { position: absolute; inset: 0; background: var(--accent); border-radius: var(--radius-xl); transform: rotate(-6deg); }
.about-image-content { position: absolute; inset: 0; background: url('mulher-oculos.jpg.png') no-repeat center center/cover; border-radius: var(--radius-xl); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.about-image-content::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.5); z-index: 0; }
.about-years { text-align: center; color: var(--accent); z-index: 1; position: relative; }
.years-number { display: block; font-size: 6rem; font-weight: 900; line-height: 1; text-shadow: 4px 4px 0 rgba(255, 255, 255, 0.1); }
.years-text { font-size: 1.25rem; opacity: 1; color: var(--white); font-weight: 700; text-transform: uppercase; }
.about-text { color: var(--gray); margin-bottom: 20px; line-height: 1.8; }
.about-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 32px 0; }
.about-feature { display: flex; align-items: center; gap: 12px; padding: 16px; background: var(--lighter); border-radius: var(--radius); transition: var(--transition); }
.about-feature:hover { background: rgba(13, 148, 136, 0.1); }
.feature-icon { font-size: 1.5rem; }
.feature-text { font-weight: 500; color: var(--dark); }

/* Testimonials */
.testimonials { padding: var(--section-padding) 0; background: var(--lighter); overflow: hidden; }
.testimonials-slider { position: relative; max-width: 900px; margin: 0 auto; }
.testimonials-track { display: flex; transition: transform 0.5s ease; }
.testimonial-card { flex: 0 0 100%; padding: 48px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); text-align: center; margin: 0 12px; border-top: 4px solid var(--accent); }
.testimonial-rating { font-size: 1.25rem; margin-bottom: 20px; color: var(--accent); }
.testimonial-text { font-size: 1.25rem; line-height: 1.8; color: var(--dark); font-style: italic; margin-bottom: 32px; }
.testimonial-author { display: flex; align-items: center; justify-content: center; gap: 16px; }
.author-avatar { width: 56px; height: 56px; background: #000000; color: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.125rem; border: 2px solid var(--accent); }
.author-info { text-align: left; }
.author-name { display: block; font-weight: 700; color: var(--dark); }
.author-role { font-size: 0.875rem; color: var(--gray); }
.testimonials-nav { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 32px; }
.testimonial-btn { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--dark); background: transparent; color: var(--dark); font-size: 1.25rem; cursor: pointer; transition: var(--transition); }
.testimonial-btn:hover { background: var(--dark); color: var(--accent); }
.testimonials-dots { display: flex; gap: 8px; }
.testimonials-dots .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gray-light); border: none; cursor: pointer; transition: var(--transition); }
.testimonials-dots .dot.active { background: var(--accent); width: 30px; border-radius: 5px; }

/* Contact */
.contact { padding: var(--section-padding) 0; background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-card { padding: 32px; background: var(--lighter); border-radius: var(--radius-lg); transition: var(--transition); border-left: 4px solid var(--accent); }
.contact-card:hover { background: #fff; box-shadow: var(--shadow); }
.contact-icon { font-size: 2rem; margin-bottom: 16px; }
.contact-title { font-size: 1.125rem; font-weight: 700; margin-bottom: 8px; color: var(--dark); }
.contact-link { color: var(--dark); font-weight: 600; font-size: 1.125rem; }
.contact-link:hover { color: var(--accent-dark); }
.contact-address { color: var(--gray); line-height: 1.7; }
.contact-map { border-radius: var(--radius-lg); overflow: hidden; min-height: 400px; box-shadow: var(--shadow-lg); }
.contact-map iframe { display: block; }

/* CTA */
.cta { padding: 80px 0; background: #000000; position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; top: -50%; right: -25%; width: 60%; height: 200%; background: radial-gradient(circle, rgba(252, 227, 0, 0.1) 0%, transparent 50%); }
.cta-content { text-align: center; color: var(--white); position: relative; z-index: 1; }
.cta-title { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 900; margin-bottom: 16px; color: var(--accent); }
.cta-text { font-size: 1.125rem; opacity: 0.9; max-width: 600px; margin: 0 auto 32px; }

/* Footer */
.footer { padding: 80px 0 32px; background: #111111; color: rgba(255, 255, 255, 0.8); border-top: 5px solid var(--accent); }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 48px; margin-bottom: 48px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; text-align: center; } }
.footer .logo { color: var(--white); margin-bottom: 16px; justify-content: flex-start; }
@media (max-width: 600px) { .footer .logo { justify-content: center; } }
.footer-tagline { color: var(--accent); font-weight: 700; margin-bottom: 8px; }
.footer-description { opacity: 0.7; }
.footer-title { color: var(--white); font-size: 1rem; font-weight: 700; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 2px solid var(--accent); display: inline-block; padding-bottom: 4px; }
.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a { opacity: 0.7; transition: var(--transition); }
.footer-nav a:hover { opacity: 1; color: var(--accent); }
.footer-list { display: flex; flex-direction: column; gap: 12px; }
.footer-list li { opacity: 0.7; }
.footer-bottom { padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, 0.1); text-align: center; font-size: 0.875rem; opacity: 0.6; }

/* WhatsApp Float */
.whatsapp-float { position: fixed; bottom: 24px; right: 24px; z-index: 999; display: flex; align-items: center; gap: 10px; padding: 16px 24px; background: #25D366; color: var(--white); border-radius: 50px; box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4); font-weight: 600; transition: var(--transition); animation: pulse 2s infinite; }
.whatsapp-float:hover { transform: scale(1.05); box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5); }
.whatsapp-icon { font-size: 1.5rem; }
@keyframes pulse { 0%, 100% { box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4); } 50% { box-shadow: 0 6px 32px rgba(37, 211, 102, 0.6); } }
@media (max-width: 600px) { .whatsapp-float { padding: 14px; border-radius: 50%; } .whatsapp-text { display: none; } }

/* Scroll Animations */
[data-animate] { opacity: 0; transform: translateY(40px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-animate].animated { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 600px) {
    .hero { 
        padding: 100px 0 60px; 
        align-items: flex-end; /* Move content to bottom for better image visibility */
        text-align: center;
    }
    .hero-bg {
        background-position: 70% center; /* Focus on the face (assuming right side) */
    }
    /* Stronger gradient on mobile to ensure text readability over the image */
    .hero-bg::before {
        background: linear-gradient(to bottom, 
            rgba(240,253,250,0.8) 0%, 
            rgba(240,253,250,0.3) 40%, 
            rgba(255,255,255,0.95) 90%);
    }
    .hero-content {
        align-items: center;
        text-align: center;
    }
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 16px;
    }
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 24px;
        color: var(--dark); /* Darker for contrast */
        font-weight: 600;
    }
    .hero-buttons { 
        flex-direction: column; 
        align-items: center; 
        gap: 12px;
        width: 100%;
        margin-bottom: 32px;
    }
    .hero-buttons .btn { 
        width: 100%; 
        max-width: 100%; 
        padding: 16px;
    }
    .hero-stats { 
        display: none; /* Hide stats on mobile to declutter */
    }
    .hero-scroll {
        display: none; /* Hide scroll indicator on mobile */
    }
    .about-features { grid-template-columns: 1fr; }
    .about-image-wrapper { max-width: 280px; }
    .years-number { font-size: 4rem; }
    .years-text { font-size: 1rem; }
    .services-grid { grid-template-columns: 1fr; gap: 16px; }
    .service-card { padding: 24px 20px; }
    .service-icon { font-size: 2.5rem; }
    .service-title { font-size: 1.125rem; }
    .testimonial-card { padding: 32px 24px; margin: 0; }
    .testimonial-text { font-size: 1rem; }
}
