/* Variáveis de Cores e Fontes - Identidade Gracie Barra */
:root {
    --red: #D32F2F; /* Vermelho premium GB */
    --red-hover: #B71C1C;
    --black: #111111;
    --dark-gray: #222222;
    --light-gray: #F5F5F5;
    --white: #FFFFFF;
    --text-color: #333333;
    --font-main: 'Montserrat', sans-serif;
    --transition: all 0.3s ease;
}

/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utilitários */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-light { background-color: var(--light-gray); }
.bg-dark { background-color: var(--black); }
.bg-red { background-color: var(--red); }
.text-white { color: var(--white); }
.center-text { text-align: center; }
.mt-4 { margin-top: 2rem; }

.subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-top: 10px;
    margin-bottom: 40px;
}
.bg-dark .subtitle { color: #aaa; }

/* Tipografia */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

h2 { font-size: 2.2rem; }
h3 { font-size: 1.5rem; }

/* Botões */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--red);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--red-hover);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--black);
}

.btn-outline-nav {
    background-color: transparent;
    border-color: var(--red);
    color: var(--red) !important;
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-outline-nav:hover {
    background-color: var(--red);
    color: var(--white) !important;
}

.btn-dark-outline {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-dark-outline:hover {
    background-color: var(--white);
    color: var(--red);
}

.btn-large {
    padding: 15px 35px;
    font-size: 1.1rem;
}

/* Header & Nav */
header {
    background-color: var(--white);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--black);
}

.logo span {
    color: var(--red);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark-gray);
    text-transform: uppercase;
}

.nav-links a:hover {
    color: var(--red);
}

.mobile-menu-icon {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--black);
}

/* Hero Section */
#hero {
    height: 100vh;
    min-height: 600px;
    background-image: url('https://images.unsplash.com/photo-1564415315949-2766863d0854?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80'); /* Imagem provisória (EDITAR AQUI) */
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 80px; /* offset nav */
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Sobre */
.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.sobre-imagem img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Cards Genéricos */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: var(--white);
    padding: 40px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    border-bottom: 4px solid var(--red);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.card-icon {
    font-size: 3rem;
    color: var(--red);
    margin-bottom: 20px;
}

/* Benefícios Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255,255,255,0.05);
    padding: 20px;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    border-left: 3px solid var(--red);
}

.benefit-item i {
    font-size: 1.5rem;
    color: var(--red);
}

/* Programas */
.programas-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.programa-card {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 4px;
    border-left: 4px solid var(--black);
    transition: var(--transition);
}

.programa-card:hover {
    background: var(--dark-gray);
    color: var(--white);
    border-left-color: var(--red);
}

/* Media/Galeria Grid */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.media-item {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #ccc;
    border-radius: 8px;
    overflow: hidden;
}

.media-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Depoimentos */
.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.depoimento-card {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 8px;
    font-style: italic;
    position: relative;
}

.depoimento-card::before {
    content: "\201C";
    font-size: 4rem;
    color: var(--red);
    position: absolute;
    top: 10px;
    left: 20px;
    opacity: 0.2;
    font-family: serif;
}

.depoimento-autor {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    font-style: normal;
}

.depoimento-autor strong {
    color: var(--red);
}

.depoimento-autor span {
    font-size: 0.85rem;
    color: #666;
}

/* Footer */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer h3, .footer h4 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer p, .footer a {
    color: #aaa;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer a:hover {
    color: var(--red);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #777;
    font-size: 0.9rem;
}

/* Botão WhatsApp Flutuante */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
}

/* Animações (Controladas via JS) */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsividade */
@media (max-width: 992px) {
    .sobre-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 80px;
        left: -100%;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 30px 20px;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        transition: 0.4s;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 15px 0;
        border-bottom: 1px solid #eee;
    }

    .btn-outline-nav {
        margin-top: 15px;
    }

    .mobile-menu-icon {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .programas-list {
        grid-template-columns: 1fr;
    }
}