:root {
    --bg-dark: #070707;
    --bg-card: #111111;
    --accent: #FF5A00;
    --accent-hover: #e04f00;
    --text-main: #f4f4f5;
    --text-muted: #a1a1aa;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Base resets & rem sizing */
html {
    font-size: 100%; /* 16px default */
    scroll-behavior: smooth;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: url('industrial_texture.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-blend-mode: multiply;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    text-transform: uppercase;
}

.section-title {
    font-size: 2rem; /* Mobile */
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: 0.125rem;
    color: var(--text-main);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-top: -1.5rem;
    margin-bottom: 2rem;
    font-size: 1rem;
    max-width: 50rem;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

/* Layout */
.container {
    width: 100%;
    max-width: 75rem; /* 1200px */
    margin: 0 auto;
    padding: 0 1.5rem; /* 24px */
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: rgba(7, 7, 7, 0.85);
    backdrop-filter: blur(0.625rem); /* 10px */
    border-bottom: 1px solid rgba(255, 90, 0, 0.2);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
}

.logo-img {
    height: 2rem; /* 32px for mobile */
}

.navbar nav {
    display: none; /* Hidden on mobile */
}

.navbar nav a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 1.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    transition: color 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.0625rem;
}

.navbar nav a:hover {
    color: var(--accent);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 6rem 1.5rem 2rem;
    overflow: hidden;
    text-align: center;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(7, 7, 7, 0.9) 0%, rgba(7, 7, 7, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 37.5rem; /* 600px */
}

.hero-title {
    font-size: 2.75rem; /* Mobile */
    line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 0 0.25rem 1.25rem rgba(0,0,0,0.8);
}

.highlight {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.btn-primary {
    display: inline-block;
    background-color: var(--accent);
    color: #000;
    padding: 0.875rem 2rem;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.0625rem;
    border: none;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
    transition: transform 0.3s, background-color 0.3s;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-0.1875rem); /* 3px */
}

/* Nossa Essência */
.essencia {
    padding: 4rem 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #111 100%);
    border-top: 2px solid var(--accent);
}

.essencia-content {
    max-width: 50rem;
    margin: 0 auto;
    text-align: center;
}

.essencia p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.essencia strong {
    color: var(--text-main);
}

.mantra {
    font-size: 2rem;
    color: var(--accent);
    letter-spacing: 0.125rem;
    text-shadow: 0 0 1.25rem rgba(255, 90, 0, 0.2);
}

/* O Método */
.metodo {
    padding: 4rem 0;
    background-color: #111;
}

.cards-grid {
    display: grid;
    grid-template-columns: 1fr; /* Mobile: 1 column */
    gap: 1.5rem;
}

.card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255, 90, 0, 0.1);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
    backdrop-filter: blur(0.625rem);
}

.card:hover {
    transform: translateY(-0.625rem);
    border-color: var(--accent);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

.card p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Prova Social */
.prova-social {
    padding: 4rem 0;
    background-color: #111;
}

.video-grid {
    display: grid;
    grid-template-columns: 1fr; /* Mobile: 1 column */
    gap: 1.5rem;
}

.video-wrapper {
    position: relative;
    padding-top: 56.25%; /* 16:9 */
    background: #000;
    border: 1px solid rgba(255, 90, 0, 0.2);
    overflow: hidden;
    transition: transform 0.3s;
}

.video-wrapper:hover {
    transform: scale(1.02);
    border-color: var(--accent);
}

.video-testimonial {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #000;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
    font-family: var(--font-heading);
    text-align: center;
    padding: 1rem;
    background: linear-gradient(45deg, #0a0a0a, #1a1a1a);
}

.highlight-video {
    background: linear-gradient(45deg, #1a0a00, #331200);
    color: var(--accent);
    border: 1px solid var(--accent);
}

/* FAQ */
.faq {
    padding: 4rem 0;
    background-color: var(--bg-dark);
}

.accordion {
    max-width: 50rem;
    margin: 0 auto;
}

.accordion-item {
    background: rgba(255,255,255,0.03);
    margin-bottom: 0.75rem;
    border: 1px solid rgba(255,255,255,0.1);
}

.accordion-header {
    width: 100%;
    padding: 1.25rem;
    text-align: left;
    background: none;
    border: none;
    color: var(--text-main);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header::after {
    content: '+';
    color: var(--accent);
    font-size: 1.25rem;
}

.accordion-item.active .accordion-header::after {
    content: '-';
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 1.25rem;
}

.accordion-item.active .accordion-content {
    padding-bottom: 1.25rem;
}

.accordion-content p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Footer */
footer {
    background-color: #000;
    padding: 3rem 0 2rem;
    border-top: 1px solid rgba(255, 90, 0, 0.3);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.footer-brand h3 {
    color: var(--accent);
    font-size: 1.25rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
}

/* =========================================
   MODAL DE APLICAÇÃO
   ========================================= */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow-y: auto; 
    background-color: rgba(0, 0, 0, 0.85); 
    backdrop-filter: blur(8px);
}

.modal-content {
    background-color: var(--bg-card);
    margin: 5% auto;
    padding: 2.5rem;
    border: 1px solid var(--accent);
    border-top: 4px solid var(--accent);
    width: 90%;
    max-width: 45rem; /* 720px */
    position: relative;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-2rem); }
    to { opacity: 1; transform: translateY(0); }
}

.close-modal {
    color: var(--text-muted);
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--accent);
    text-decoration: none;
}

.modal-header {
    margin-bottom: 2rem;
    padding-right: 2rem;
}

.modal-header h2 {
    color: var(--text-main);
    font-size: 1.75rem;
    margin-bottom: 1rem;
    letter-spacing: 0.0625rem;
}

.modal-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    font-style: italic;
}

/* Form Styles */
.jaguar-form .form-group {
    margin-bottom: 1.5rem;
}

.jaguar-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.05rem;
}

.jaguar-form label span {
    text-transform: none;
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.jaguar-form input {
    width: 100%;
    padding: 0.875rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 90, 0, 0.2);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s, background 0.3s;
}

.jaguar-form input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
}

.btn-submit-form {
    width: 100%;
    margin-top: 1rem;
    text-align: center;
    cursor: pointer;
}

@media (max-width: 48em) {
    .modal-content {
        padding: 1.5rem;
        margin: 10% auto;
    }
    .modal-header h2 {
        font-size: 1.25rem;
    }
    .modal-header p {
        font-size: 0.85rem;
    }
}

/* =========================================
   MEDIA QUERIES (Mobile-First Approach)
   ========================================= */

/* 480px - Large Phones / Landscape */
@media (min-width: 30em) {
    .hero-title {
        font-size: 3.5rem;
    }
    .btn-primary {
        font-size: 1.2rem;
        padding: 1rem 2.5rem;
    }
}

/* 768px - Tablets */
@media (min-width: 48em) {
    .section-title {
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }
    
    .navbar nav {
        display: block;
    }
    
    .logo-img {
        height: 2.5rem;
    }
    
    .hero {
        text-align: left;
        justify-content: flex-start;
        padding: 6rem 1.5rem 0;
    }
    
    .hero-overlay {
        background: linear-gradient(90deg, rgba(7, 7, 7, 0.95) 0%, rgba(7, 7, 7, 0.4) 100%);
    }

    .hero-content {
        padding-left: 4rem;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .essencia {
        padding: 6rem 0;
    }
    
    .essencia p {
        font-size: 1.2rem;
    }
    
    .mantra {
        font-size: 2.5rem;
    }

    .metodo {
        padding: 6rem 0;
    }

    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .prova-social {
        padding: 6rem 0;
    }

    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .faq {
        padding: 6rem 0;
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    
    .footer-links {
        justify-content: flex-end;
        gap: 1.5rem;
    }
}

/* 1024px - Laptops / Desktops */
@media (min-width: 64em) {
    .hero-title {
        font-size: 5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }

    .cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 65rem;
        margin: 0 auto;
    }

    .video-grid .video-wrapper:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        width: calc(50% - 0.75rem);
        justify-self: center;
    }
    
    .mantra {
        font-size: 3rem;
    }
    
    .accordion-header {
        font-size: 1.2rem;
    }
    
    .accordion-content p {
        font-size: 1rem;
    }
}

/* 1440px - Ultrawide */
@media (min-width: 90em) {
    .container {
        max-width: 87.5rem; /* 1400px */
    }
    
    .hero-content {
        padding-left: 6rem;
    }
    
    .hero-title {
        font-size: 6rem;
    }
    
    .card {
        padding: 3rem 2rem;
    }
}
