:root {
    --primary-color: #000000;
    --accent-color: #C8C9B0; /* Beige/Olive */
    --accent-muted: #818C96; /* Grey/Blue */
    --bg-white: #FFFFFF;
    --bg-off-white: #F9F9F9;
    --text-dark: #000000;
    --text-muted: #444444;
    --white: #FFFFFF;
    --whatsapp-green: #25D366;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--text-dark);
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
}

.btn-primary:hover {
    background-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    border: 2px solid var(--whatsapp-green);
    color: var(--whatsapp-green);
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-outline:hover {
    background-color: var(--whatsapp-green);
    border-color: var(--whatsapp-green);
    color: var(--white);
}

.btn-red {
    background-color: #B22222;
    color: var(--white);
    border: none;
}

.btn-red:hover {
    background-color: #8B0000;
}

.btn-gold {
    background-color: #D4AF37;
    color: var(--bg-white);
    border: none;
    font-weight: 700;
}

.btn-gold:hover {
    background-color: #B8860B;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: #0A0A0A;
    padding-top: 80px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    z-index: 10;
}

.hero .container {
    position: relative;
    z-index: 20;
}

/* Hero Collage */
.hero-collage-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    filter: grayscale(100%);
    transition: var(--transition);
}

.collage-img {
    position: absolute;
    border: 4px solid #000;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.8);
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.5s ease, opacity 0.5s ease;
    cursor: pointer;
    object-fit: cover;
}

.collage-img:hover {
    filter: none !important;
    transform: scale(1.15) rotate(0deg) !important;
    z-index: 20 !important;
    opacity: 1 !important;
    border-color: var(--accent-color);
    box-shadow: 0 15px 40px rgba(0,0,0,0.9);
}

/* Layering & Depth Effects */
.layer-fg {
    z-index: 5;
    transform: scale(1.08) !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.9);
}

.layer-mg {
    z-index: 2;
    transform: scale(1) !important;
}

.layer-bg {
    z-index: 1;
    transform: scale(0.92) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* 17-Image Dense Mural - High Quality Restoration */
/* Row 1: 5 Images */
.img-1  { width: 25%; height: 32%; top: -2%; left: -2%; }
.img-2  { width: 25%; height: 32%; top: -2%; left: 18%; }
.img-3  { width: 25%; height: 32%; top: -2%; left: 38%; }
.img-4  { width: 25%; height: 32%; top: -2%; left: 58%; }
.img-5  { width: 30%; height: 32%; top: -2%; right: -2%; }

/* Row 2: 5 Images */
.img-6  { width: 25%; height: 32%; top: 22%; left: -2%; }
.img-7  { width: 25%; height: 32%; top: 22%; left: 18%; }
.img-8  { width: 25%; height: 32%; top: 22%; left: 38%; }
.img-9  { width: 25%; height: 32%; top: 22%; left: 58%; }
.img-10 { width: 30%; height: 32%; top: 22%; right: -2%; }

/* Row 3: 4 Images (Large) */
.img-11 { width: 30%; height: 32%; top: 46%; left: -2%; }
.img-12 { width: 30%; height: 32%; top: 46%; left: 24%; }
.img-13 { width: 30%; height: 32%; top: 46%; left: 50%; }
.img-14 { width: 35%; height: 32%; top: 46%; right: -2%; }

/* Row 4: 3 Images (Very Large) */
.img-15 { width: 38%; height: 35%; bottom: -2%; left: -2%; }
.img-16 { width: 38%; height: 35%; bottom: -2%; left: 32%; }
.img-17 { width: 42%; height: 35%; bottom: -2%; right: -2%; }



.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #111;
    text-transform: uppercase;
}

.no-wrap {
    white-space: nowrap;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: #333;
    font-weight: 500;
}

/* Section Common */
section {
    padding: 80px 0;
}

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

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

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

.section-title.left::after {
    left: 0;
    transform: none;
}

/* Differentials */
.differentials {
    background-color: var(--bg-off-white);
}

.differentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.diff-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #eee;
    transition: var(--transition);
}

.diff-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

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

.diff-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.diff-card p {
    color: var(--text-muted);
}

/* Social Proof Carousel (White Section, Dark Cards) */
.proof {
    background-color: var(--white);
    padding: 100px 0;
}

.proof .section-title {
    color: var(--text-dark);
}

.carousel-wrapper {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 50px;
    overflow: hidden; /* Added to clip the track but allow shadows in padding */
}

.carousel-container {
    overflow: visible; /* Changed from hidden to allow shadows to bleed into wrapper padding */
    width: 100%;
}

.carousel-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 40px 0 60px; /* Increased padding to prevent shadow clipping */
}

.proof-card {
    flex: 0 0 calc((100% - (var(--cards-visible) - 1) * 30px) / var(--cards-visible));
    background-color: var(--bg-off-white); /* Updated to section gray */
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); /* Softer shadow for light background */
    border: 1px solid #eee;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.proof-card:hover {
    transform: translateY(-8px);
    border-color: #D4AF37;
    box-shadow: 0 15px 45px rgba(212, 175, 55, 0.15); /* Subtle gold glow on hover */
}

:root {
    --cards-visible: 3;
    --primary-color: #000000;
    --accent-color: #C8C9B0;
    --bg-white: #FFFFFF;
    --bg-off-white: #F9F9F9;
    --text-dark: #000000;
    --text-muted: #444444;
    --white: #FFFFFF;
    --whatsapp-green: #25D366;
    --transition: all 0.3s ease;
}

@media (max-width: 1024px) {
    :root { --cards-visible: 2; }
}

@media (max-width: 768px) {
    :root { --cards-visible: 1; }
    .carousel-wrapper { padding: 0 40px; }
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: #222;
    border: 1px solid #444;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
    color: var(--white);
}

.carousel-btn:hover {
    background: #D4AF37; /* Gold */
    color: #000;
    border-color: #D4AF37;
    box-shadow: 0 6px 18px rgba(212, 175, 55, 0.3);
}

.carousel-btn.prev { left: 0; }
.carousel-btn.next { right: 0; }

.proof-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.student-img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 2px solid #D4AF37; /* Gold Border */
}

.student-info h4 {
    font-size: 1.05rem;
    margin-bottom: 3px;
    color: var(--text-dark); /* Changed to dark for readability */
}

.stars {
    color: #FFD700;
    font-size: 0.85rem;
}

.testimonial {
    font-style: italic;
    color: var(--text-muted); /* Changed to muted dark for readability */
    font-size: 0.95rem;
    line-height: 1.7;
}

.google-link {
    text-align: center;
    margin-top: 50px;
}

.google-link a {
    color: #D4AF37;
    font-weight: 600;
}

/* About Sensei (Off-white BG) */
.sensei {
    background-color: var(--bg-off-white);
    padding: 100px 0;
}

.sensei-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.sensei-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid #333;
}

.sensei-text p {
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* FAQ */
.faq {
    background-color: var(--bg-off-white);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eee;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    color: var(--text-dark);
}

.faq-question:hover {
    color: #D4AF37;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: var(--bg-off-white);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 20px 20px 20px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: #D4AF37;
}

/* Final CTA */
.final-cta {
    position: relative;
    text-align: center;
    padding: 100px 0;
    overflow: hidden;
    background-color: #0A0A0A; /* Fallback */
}

.final-cta .container {
    position: relative;
    z-index: 20;
}

.final-cta .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    z-index: 10;
}

/* CTA Parallax Collage Effect */
.cta-collage-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    clip-path: inset(0); /* Necessary for the fixed child to be clipped to this container */
}

.cta-collage-container .collage-img {
    filter: grayscale(100%);
    opacity: 1;
}

.cta-collage-container .collage-img {
    position: fixed; /* This creates the parallax effect by staying fixed relative to viewport */
    top: 0; /* Position relative to the viewport, but clipped by cta-collage-container */
    left: 0;
    object-fit: cover;
    pointer-events: none; /* Don't interfere with clicks on content */
}

/* We need to override the absolute positions for the CTA version since they are now fixed relative to viewport */
/* However, to make it look like Section 1, we can use the same relative percentages but in a fixed context. */
/* This is tricky with CSS only. A simpler "parallax" is to just make the container absolute and move it or use fixed background. */
/* Given the user's "recortes" (cutouts), let's use a fixed container of images. */

/* Row 1 for CTA */
.cta-collage-container .img-1  { width: 28%; height: 38%; top: 0%; left: -2%; }
.cta-collage-container .img-2  { width: 28%; height: 38%; top: 0%; left: 22%; }
.cta-collage-container .img-3  { width: 28%; height: 38%; top: 0%; left: 46%; }
.cta-collage-container .img-4  { width: 28%; height: 38%; top: 0%; left: 70%; }
.cta-collage-container .img-5  { width: 28%; height: 38%; top: 0%; left: 90%; }

/* Row 2 for CTA */
.cta-collage-container .img-6  { width: 28%; height: 38%; top: 25%; left: -2%; }
.cta-collage-container .img-7  { width: 28%; height: 38%; top: 25%; left: 22%; }
.cta-collage-container .img-8  { width: 28%; height: 38%; top: 25%; left: 46%; }
.cta-collage-container .img-9  { width: 28%; height: 38%; top: 25%; left: 70%; }
.cta-collage-container .img-10 { width: 28%; height: 38%; top: 25%; left: 90%; }

/* Row 3 for CTA */
.cta-collage-container .img-11 { width: 33%; height: 38%; top: 50%; left: -2%; }
.cta-collage-container .img-12 { width: 33%; height: 38%; top: 50%; left: 28%; }
.cta-collage-container .img-13 { width: 33%; height: 38%; top: 50%; left: 58%; }
.cta-collage-container .img-14 { width: 33%; height: 38%; top: 50%; left: 85%; }

/* Row 4 for CTA */
.cta-collage-container .img-15 { width: 38%; height: 38%; top: 75%; left: -2%; }
.cta-collage-container .img-16 { width: 38%; height: 38%; top: 75%; left: 35%; }
.cta-collage-container .img-17 { width: 42%; height: 38%; top: 75%; left: 72%; }

.cta-title {
    font-size: 2rem;
    max-width: 900px;
    margin: 0 auto 40px;
    color: #111;
    line-height: 1.4;
}



/* Footer */
.footer {
    background-color: var(--bg-white);
    padding-top: 60px;
    border-top: 1px solid #eee;
}

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

.footer-info h3 {
    margin-bottom: 25px;
    color: var(--primary-color);
}

.footer-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-info p i {
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background-color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    color: #fff;
}

.social-icons a.instagram { 
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); 
}
.social-icons a.facebook { 
    background-color: #1877F2; 
}
.social-icons a.whatsapp { 
    background-color: #25D366; 
}

.social-icons a:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #222;
    color: #666;
    font-size: 0.9rem;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

/* Responsividade (Mobile First - but implementing Desktop here then adding mobile overrides) */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .sensei-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.4rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn-lg {
        padding: 14px 20px;
        font-size: 0.95rem;
    }
    
    .header-cta .btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .logo img {
        height: 40px;
    }
}

/* Responsive Collages */
@media (max-width: 1024px) {
    /* Reset Scale to prevent gaps */
    .layer-fg, .layer-mg, .layer-bg {
        transform: none !important;
    }

    /* Hide images 11-17 to reduce clutter on tablets */
    .hero-collage-container .img-11, .hero-collage-container .img-12, .hero-collage-container .img-13, 
    .hero-collage-container .img-14, .hero-collage-container .img-15, .hero-collage-container .img-16, 
    .hero-collage-container .img-17,
    .cta-collage-container .img-11, .cta-collage-container .img-12, .cta-collage-container .img-13, 
    .cta-collage-container .img-14, .cta-collage-container .img-15, .cta-collage-container .img-16, 
    .cta-collage-container .img-17 {
        display: none !important;
    }

    /* Tablet Grid (3 columns overlap) - 37% size for solid coverage */
    .hero-collage-container .img-1, .cta-collage-container .img-1 { width: 37%; height: 37%; top: -1%; left: -1%; }
    .hero-collage-container .img-2, .cta-collage-container .img-2 { width: 37%; height: 37%; top: -1%; left: 34%; }
    .hero-collage-container .img-3, .cta-collage-container .img-3 { width: 37%; height: 37%; top: -1%; left: 69%; }
    .hero-collage-container .img-4, .cta-collage-container .img-4 { width: 37%; height: 37%; top: 34%; left: -5%; }
    .hero-collage-container .img-5, .cta-collage-container .img-5 { width: 37%; height: 37%; top: 34%; left: 30%; }
    .hero-collage-container .img-6, .cta-collage-container .img-6 { width: 37%; height: 37%; top: 34%; left: 65%; }
    .hero-collage-container .img-7, .cta-collage-container .img-7 { width: 37%; height: 37%; top: 69%; left: -1%; }
    .hero-collage-container .img-8, .cta-collage-container .img-8 { width: 37%; height: 37%; top: 69%; left: 34%; }
    .hero-collage-container .img-9, .cta-collage-container .img-9 { width: 37%; height: 37%; top: 69%; left: 69%; }
    .hero-collage-container .img-10, .cta-collage-container .img-10 { display: none; }

    .collage-img {
        border: 2px solid #000 !important;
        box-shadow: 0 5px 15px rgba(0,0,0,0.8) !important;
    }
}

@media (max-width: 768px) {
    /* Hide images 8-17 to maximize visibility on mobile */
    .hero-collage-container .img-8, .hero-collage-container .img-9, .hero-collage-container .img-10,
    .cta-collage-container .img-8, .cta-collage-container .img-9, .cta-collage-container .img-10 {
        display: none !important;
    }

    /* Mobile Grid (2 columns overlap) - 65% width / 40% height for total coverage */
    .hero-collage-container .img-1, .cta-collage-container .img-1 { width: 65%; height: 40%; top: -2%; left: -5%; }
    .hero-collage-container .img-2, .cta-collage-container .img-2 { width: 65%; height: 40%; top: -2%; left: 45%; }
    .hero-collage-container .img-3, .cta-collage-container .img-3 { width: 65%; height: 40%; top: 32%; left: -10%; }
    .hero-collage-container .img-4, .cta-collage-container .img-4 { width: 65%; height: 40%; top: 32%; left: 40%; }
    .hero-collage-container .img-5, .cta-collage-container .img-5 { width: 65%; height: 40%; top: 65%; left: -5%; }
    .hero-collage-container .img-6, .cta-collage-container .img-6 { width: 65%; height: 40%; top: 65%; left: 45%; }
    .hero-collage-container .img-7, .cta-collage-container .img-7 { width: 65%; height: 40%; top: 48%; left: 20%; z-index: 5; transform: rotate(2deg) !important; }
    
    .hero-title { font-size: 2.2rem; line-height: 1.1; }
    .hero-subtitle { font-size: 1.1rem; margin-bottom: 30px; }
    .cta-title { font-size: 1.8rem; }
    .cta-subtitle { font-size: 1rem; }
}
