/* MASTER STYLESHEET - Version 5.7
   Design: Fotografia para Negócios
   Focus: Full Consolidation (Mobile, Carousel, Form & Footer)
*/

:root {
    --brand-blue: #223355;
    --brand-gold: #c5a059;
    --white: #ffffff;
    --light-bg: #fcfcfc;
    --text-main: #1a1a1a;
    --text-muted: #64748b;
    --transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --font-heading: 'Public Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    --shadow: 0 10px 40px rgba(0,0,0,0.08);
}

/* --- RESET & BASE --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { 
    font-family: var(--font-body); 
    color: var(--text-main); 
    line-height: 1.7; 
    background: var(--white); 
    overflow-x: hidden; 
    -webkit-font-smoothing: antialiased; 
}
h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; letter-spacing: -1px; line-height: 1.2; }

/* --- NAVIGATION --- */
nav { padding: 15px 5%; display: flex; justify-content: space-between; align-items: center; position: fixed; width: 100%; top: 0; z-index: 1000; background: rgba(34, 51, 85, 0.95); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,0.05); }
.logo-img { height: 42px; width: auto; transition: var(--transition); }
.nav-links a { color: var(--white); text-decoration: none; margin-left: 25px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; }
.lang-switcher { margin-left: 25px; border-left: 1px solid rgba(255,255,255,0.2); padding-left: 20px; }
.lang-switcher a { opacity: 0.4; color: white; text-decoration: none; margin-left: 10px; font-size: 0.75rem; }
.lang-switcher a.active { opacity: 1; color: var(--brand-gold); font-weight: 700; }

/* --- HERO SECTION --- */
.hero { position: relative; background: url('img/fotografia-profissional-para-seminarios-hero-main.webp') no-repeat top center; background-size: cover; min-height: 100vh; display: flex; align-items: center; justify-content: flex-start; padding: 0 8%; color: var(--white); }
.hero::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(10, 20, 40, 0.35); z-index: 1; }
.hero-overlay { position: relative; z-index: 2; max-width: 680px; width: 100%; background: rgba(34, 51, 85, 0.88); backdrop-filter: blur(15px); padding: 70px; border-left: 6px solid var(--brand-gold); box-shadow: var(--shadow); }
.hero-overlay h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); margin-bottom: 25px; }
.hero-overlay p { font-size: 1.15rem; opacity: 0.95; margin-bottom: 40px; }

/* --- SERVICES & GALLERY GRID --- */
.section-padding { padding: 80px 8%; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 25px; }
.service-card { background: var(--white); text-decoration: none; color: inherit; transition: var(--transition); border: 1px solid #eee; overflow: hidden; display: flex; flex-direction: column; }
.service-card img { width: 100%; height: 280px; object-fit: cover; }
.card-content { padding: 30px 25px; text-align: center; }

.gallery-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); 
    gap: 10px; 
    padding: 20px 0;
}
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 15px; } }
.gallery-grid img { width: 100%; height: 250px; object-fit: cover; cursor: pointer; transition: var(--transition); }
@media (min-width: 768px) { .gallery-grid img { height: 350px; } }

/* --- REVIEWS CAROUSEL SYSTEM --- */
.carousel-container { position: relative; width: 100%; display: flex; align-items: center; padding: 0 10px; }
.carousel-track { display: flex; overflow-x: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; gap: 20px; padding: 20px 0; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.testimonial-slide { min-width: 100%; scroll-snap-align: center; background: var(--white); padding: 40px; border-radius: 12px; border: 1px solid #e1e8f0; box-shadow: var(--shadow); }
.carousel-btn { background: var(--brand-blue); color: var(--brand-gold); border: none; width: 45px; height: 45px; border-radius: 50%; cursor: pointer; position: absolute; z-index: 100; display: flex; align-items: center; justify-content: center; }
.prev { left: 0; }
.next { right: 0; }
.stars { color: var(--brand-gold); margin-bottom: 15px; }

/* --- LIGHTBOX FIXES --- */
dialog#lb { 
    width: 100%; height: 100%; max-width: 100vw; max-height: 100vh;
    border: none; background: rgba(10, 15, 25, 0.98); position: fixed; top: 0; left: 0; margin: 0; z-index: 2000;
    padding: 0; overflow: hidden;
}
dialog#lb[open] { display: flex; align-items: center; justify-content: center; }
#lb-img { max-width: 90%; max-height: 80vh; object-fit: contain; }
#close-btn { position: absolute; top: 30px; right: 30px; background: none; border: none; color: white; font-size: 2.5rem; cursor: pointer; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: none; color: white; font-size: 3rem; cursor: pointer; padding: 20px; }
#prev-btn { left: 10px; } #next-btn { right: 10px; }

/* --- BREVO FORM OVERRIDES --- */
#contact-form-placeholder { background: var(--light-bg); padding: 80px 0; }
.sib-form { max-width: 700px; margin: 0 auto; }
.sib-form h3 { color: var(--brand-blue); margin-bottom: 25px; }
.sib-form input, .sib-form textarea, .sib-form select { 
    width: 100%; border: 1px solid #cbd5e1; border-radius: 4px; padding: 14px; margin-bottom: 10px; font-family: var(--font-body);
}

/* --- FOOTER (The Re-added Section) --- */
footer { background: var(--brand-blue); color: var(--white); padding: 100px 8% 40px; }
.footer-container { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 60px; max-width: 1400px; margin: 0 auto; }
.footer-col h4 { color: var(--brand-gold); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 30px; font-size: 0.8rem; }
.footer-links { list-style: none; }
.footer-links a { color: var(--white); text-decoration: none; opacity: 0.6; transition: 0.3s; font-size: 0.9rem; display: block; margin-bottom: 10px; }
.footer-links a:hover { opacity: 1; color: var(--brand-gold); padding-left: 8px; }
.footer-contact-item { display: flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; margin-bottom: 15px; transition: var(--transition); }
.footer-contact-item:hover { color: var(--brand-gold); }
.footer-bottom { margin-top: 80px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; opacity: 0.5; font-size: 0.8rem; }

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 1024px) { .footer-container { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) { 
    .hero-overlay { padding: 40px 25px; border-left: none; border-top: 6px solid var(--brand-gold); }
    .hero-overlay h1 { font-size: 2.2rem; }
    .footer-container { grid-template-columns: 1fr; text-align: center; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 10px; }
    .prev { left: -10px; } .next { right: -10px; }
}