:root {
    --primary-color: #6a0dad; /* Purple (Main) */
    --secondary-color: #ffffff; /* White (Secondary) */
    --tertiary-color: #000000; /* Black (Third) */
    --dark-bg: #121212;
    --light-bg: #f8f9fa;
    --text-color: #333;
    --text-light: #fff;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --font-accent: 'Permanent Marker', cursive;
    --transition: all 0.3s ease;
}

/* ===== CORREÇÕES GLOBAIS RESPONSIVAS ===== */

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
    max-width: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section, div {
    max-width: 100%;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
}


/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

.highlight {         /* cor abaixo do galpão de artes */
    color: rgb(255, 255, 255);
    font-family: 'Reinata', sans-serif;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    color: #333;
}

.text-center {
    text-align: center;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--tertiary-color));
    margin-top: 10px;
}

.text-center .section-title::after {
    margin: 10px auto 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
}

.btn-primary {
    /* Gradient from Primary (Purple) to a darker shade or just solid purple as main */
    background: linear-gradient(45deg, var(--primary-color), #4b0082); 
    color: var(--secondary-color); /* White */
    border: none;
    box-shadow: 0 4px 15px rgba(106, 13, 173, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(106, 13, 173, 0.6);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}

.btn-outline:hover {
    background: var(--secondary-color);
    color: var(--tertiary-color);
}

.btn-outline-light {
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}

.btn-outline-light:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(18, 18, 18, 0.95);
    padding: 15px 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-accent);
    color: var(--secondary-color);
    font-size: 1.8rem;
    text-decoration: none;
    background: none;
    -webkit-text-fill-color: initial;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:not(.btn-nav):hover {
    color: var(--primary-color);
}

.btn-nav {
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 8px 20px;
    border-radius: 20px;
}

.btn-nav:hover {
    background: #4b0082; /* Darker Purple */
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--secondary-color);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 110vh;
    padding-top: 80px; /* Added spacing for fixed header */
    background-image: url('https://images.unsplash.com/photo-1545959588-693214587c6b?q=80&w=2000&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--secondary-color);
}

.hero-bg-overlay {     /* aqui consigo mexer na cor principal da primeira aba do galpão*/
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.8));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-top: 40px; /* Extra margin to ensure title clears header visually */
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-family: 'Photograph Signature', cursive;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    color: var(--text-light);
    opacity: 0.7;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0) translateX(-50%);}
    40% {transform: translateY(-10px) translateX(-50%);}
    60% {transform: translateY(-5px) translateX(-50%);}
}

/* Sections General */
.section {
    padding: 100px 0;
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #555;
}

.highlight-text {
    font-weight: 700;
    color: var(--primary-color) !important;
    font-size: 1.2rem !important;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 20px 20px 0 var(--primary-color);
}

/* Classes / Modalidades */
.classes {
    background-color: var(--dark-bg);
    color: var(--text-light);
}

.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.class-card {
    background: #1e1e1e;
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    height: 400px;
}

.class-card:hover {
    transform: translateY(-10px);
}

.card-image {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s;
}

.class-card:hover .card-image {
    transform: scale(1.1);
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    z-index: 2;
}

.class-card h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.class-tags {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #ccc;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

/* Target Audience */
.target-audience {
    background-color: var(--light-bg);
}

.audience-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.audience-item {
    background: white;
    padding: 20px 30px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
}

.audience-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.audience-item i {
    color: var(--primary-color);
}

/* Differentials */
.differentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.diff-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.diff-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.diff-icon {
    width: 80px;
    height: 80px;
    background: rgba(106, 13, 173, 0.1); /* Primary color opacity */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
}

.diff-icon i {
    width: 40px;
    height: 40px;
}

.diff-card h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

/* Contact */
.contact {
    background-color: var(--dark-bg);
    color: var(--text-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    background: rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: 10px;
}

.info-item i {
    color: var(--primary-color);
    width: 30px;
    height: 30px;
}

.map-container {
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

/* CTA Final */
.cta-final {
    position: relative;
    padding: 120px 0;
    text-align: center;
    color: var(--text-light);
    background-image: url('https://images.unsplash.com/photo-1518834107812-67b0b7c58434?q=80&w=2000&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 51, 102, 0.9), rgba(112, 0, 255, 0.9));
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Footer */
.footer {
    background: #000;
    color: #888;
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: var(--text-light);
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-container, .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(18, 18, 18, 0.98);
        flex-direction: column;
        padding: 30px;
        transform: translateY(-150%);
        transition: transform 0.4s ease;
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
}
/* ===== MOBILE FIX ===== */

@media (max-width:768px){

body{
overflow-x:hidden;
}

.hero{
height:auto;
padding:120px 20px 80px;
}

.hero-title{
font-size:2rem;
}

.section{
padding:70px 0;
}

.classes-grid{
grid-template-columns:1fr;
}

.differentials-grid{
grid-template-columns:1fr;
}

.about-container{
grid-template-columns:1fr;
}

.contact-wrapper{
grid-template-columns:1fr;
}

.nav-links{
width:100%;
}

}

@media (max-width: 480px) {

  .btn {
    padding: 12px;
    font-size: 14px;
  }

}

/* ===== GRID RESPONSIVO SEGURO ===== */

.classes-grid,
.differentials-grid {
    width: 100%;
}

.about-container,
.contact-wrapper {
    width: 100%;
}

.hero-buttons {
    width: 100%;
}
