/* 
 * CSS Principal - ABO Taguatinga
 * Desenvolvido seguindo abordagem Mobile First
 */

:root {
    --color-green: #00703C;
    --color-green-dark: #004D28;
    --color-gold: #B4975A;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-bg-light: #F7F7F7;
    --color-white: #FFFFFF;
    
    --radius-small: 8px;
    --radius-medium: 12px;
    --radius-large: 20px;
    
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 24px rgba(0,0,0,0.12);
    
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Playfair Display', serif;
}

/* Reset Base */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: var(--font-main);
    color: var(--color-text);
    background: var(--color-white);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-green); text-decoration: none; transition: 0.3s ease; }
a:hover { color: var(--color-green-dark); }
ul { list-style: none; }

/* Utilities */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.bg-light { background: var(--color-bg-light); }
.bg-green { background: var(--color-green); }
.text-white { color: var(--color-white); }
.section-padding { padding: 60px 0; }
.section-padding-small { padding: 30px 0; }
.section-padding-bottom { padding-bottom: 60px; }
.mt-2 { margin-top: 1rem; }
.d-flex-between { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }

/* Typography */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: var(--color-green-dark); line-height: 1.2; margin-bottom: 15px; }
.text-white h1, .text-white h2, .text-white h3 { color: var(--color-white); }
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
.section-subtitle { display: inline-block; font-family: var(--font-main); font-size: 0.875rem; text-transform: uppercase; letter-spacing: 1px; color: var(--color-gold); font-weight: 600; margin-bottom: 10px; }
p { margin-bottom: 15px; color: var(--color-text-light); }

/* Buttons */
.btn {
    display: inline-flex; justify-content: center; align-items: center;
    padding: 12px 24px; font-weight: 600; border-radius: 50px;
    cursor: pointer; transition: 0.3s ease; font-family: var(--font-main);
}
.btn-primary { background: var(--color-green); color: var(--color-white); border: 2px solid var(--color-green); }
.btn-primary:hover { background: var(--color-green-dark); border-color: var(--color-green-dark); color: var(--color-white); }
.btn-outline { background: transparent; color: var(--color-gold); border: 2px solid var(--color-gold); }
.btn-outline:hover { background: var(--color-gold); color: var(--color-white); }
.btn-link { color: var(--color-gold); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.btn-full { width: 100%; text-align: center; display: block; }
.btn-block-link { display: block; padding-top: 15px; border-top: 1px solid #eee; margin-top: 15px; color: var(--color-green); font-weight: 600; text-align: right; }

/* Header */
.site-header { padding: 15px 0; background: var(--color-white); box-shadow: var(--shadow-sm); position: sticky; top: 0; z-index: 1000; }
.header-container { display: flex; justify-content: space-between; align-items: center; }
.site-branding img { max-height: 50px; }
.site-title { font-size: 1.5rem; margin: 0; }
.main-navigation ul { display: none; } /* Mobile first */
.menu-toggle { display: block; background: transparent; border: none; cursor: pointer; padding: 10px; }
.hamburger { display: block; width: 25px; height: 3px; background: var(--color-green-dark); position: relative; transition: 0.3s; }
.hamburger::before, .hamburger::after { content: ''; position: absolute; left: 0; width: 100%; height: 100%; background: var(--color-green-dark); transition: 0.3s; }
.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }
.header-cta { display: none; }

/* Mobile Menu Active */
.main-navigation.toggled ul {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%;
    background: var(--color-white); box-shadow: var(--shadow-md); padding: 20px;
}
.main-navigation.toggled ul li { margin-bottom: 15px; }
.main-navigation.toggled ul li a { color: var(--color-text); font-weight: 500; font-size: 1.1rem; }

/* Hero Section */
.hero-section { position: relative; padding: 120px 0; min-height: 540px; display: flex; align-items: center; background: url('../images/hero-bg.jpg') center/cover no-repeat; background-color: var(--color-green-dark); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 58, 30, 0.92) 0%, rgba(0, 77, 40, 0.75) 50%, rgba(0, 77, 40, 0.45) 100%); z-index: 1; pointer-events: none; }
.hero-content { position: relative; z-index: 2; max-width: 650px; text-align: left; margin: 0 auto 0 0; }
.hero-badge { display: inline-block; background: rgba(255,255,255,0.18); padding: 6px 16px; border-radius: 20px; color: var(--color-white); font-size: 0.85rem; font-weight: 600; margin-bottom: 20px; border: 1px solid rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 0.5px; }
.hero-content h1 { color: var(--color-white); margin-bottom: 20px; font-size: 2.75rem; text-align: left; font-weight: 700; line-height: 1.15; }
.hero-content p { color: rgba(255,255,255,0.92); font-size: 1.15rem; margin-bottom: 30px; text-align: left; line-height: 1.6; }
.hero-actions { display: flex; gap: 15px; justify-content: flex-start; align-items: center; flex-wrap: wrap; }

/* Numbers */
.numbers-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; text-align: center; padding: 40px 20px; }
.number-item h2 { margin-bottom: 5px; }
.number-item p { color: rgba(255,255,255,0.8); margin: 0; }

/* About Preview */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }

/* Courses Grid */
.courses-grid { display: grid; grid-template-columns: 1fr; gap: 30px; margin-top: 30px; }
.card-curso { background: var(--color-white); border-radius: var(--radius-medium); overflow: hidden; box-shadow: var(--shadow-md); transition: transform 0.3s ease, box-shadow 0.3s; display: flex; flex-direction: column; }
.card-curso:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.card-image { position: relative; aspect-ratio: 3/2; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.card-curso:hover .card-image img { transform: scale(1.05); }
.badge-cat { position: absolute; top: 15px; left: 15px; background: var(--color-gold); color: var(--color-white); padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; z-index: 2; }
.card-content { padding: 25px; display: flex; flex-direction: column; flex-grow: 1; }
.card-title { font-size: 1.25rem; margin-bottom: 10px; }
.card-title a { color: var(--color-green-dark); }
.card-excerpt { font-size: 0.95rem; margin-bottom: 20px; flex-grow: 1; }
.card-meta { display: flex; gap: 15px; flex-wrap: wrap; margin-bottom: 20px; font-size: 0.85rem; color: var(--color-text-light); }
.meta-item { display: flex; align-items: center; gap: 5px; }
.card-footer { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.badge-status { padding: 5px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; background: #eee; color: #555; }
.status-inscricoes_abertas { background: #E8F5E9; color: #2E7D32; }
.status-em_breve { background: #FFF8E1; color: #F57F17; }
.status-lista_espera { background: #FFF3E0; color: #E65100; }
.status-em_andamento { background: #E3F2FD; color: #1565C0; }
.status-encerrado { background: #FFEBEE; color: #C62828; }
.cat-link { font-size: 0.85rem; color: var(--color-gold); font-weight: 500; }

/* Single Course */
.course-header { padding: 80px 0; position: relative; background-size: cover; background-position: center; }
.course-header .overlay { position: absolute; inset: 0; background: rgba(0,77,40,0.85); }
.course-header-content { position: relative; z-index: 1; }
.badge-cat-large { display: inline-block; background: var(--color-gold); color: #fff; padding: 5px 15px; border-radius: 20px; margin-bottom: 15px; font-weight: 600; text-transform: uppercase; font-size: 0.85rem; }
.course-meta-large { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 20px; font-size: 1.1rem; }
.single-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
.course-action-card { background: var(--color-white); padding: 30px; border-radius: var(--radius-medium); box-shadow: var(--shadow-md); position: sticky; top: 100px; }
.status-indicator { display: inline-block; width: 100%; text-align: center; padding: 10px; border-radius: var(--radius-small); font-weight: 600; margin-bottom: 20px; }
.details-list { margin-bottom: 20px; }
.details-list li { padding: 10px 0; border-bottom: 1px solid #eee; }
.details-list li:last-child { border-bottom: none; }

/* Footer */
.site-footer { background: var(--color-green-dark); color: rgba(255,255,255,0.8); padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; padding-bottom: 40px; }
.footer-col h3 { color: var(--color-gold); font-size: 1.2rem; margin-bottom: 20px; }
.footer-logo { max-width: 200px; margin-bottom: 20px; background: #fff; padding: 10px; border-radius: var(--radius-small); }
.footer-col a { color: rgba(255,255,255,0.8); }
.footer-col a:hover { color: var(--color-gold); }
.footer-col ul li { margin-bottom: 10px; }
.site-info { padding: 20px 0; background: rgba(0,0,0,0.2); text-align: center; font-size: 0.9rem; }

/* Float WhatsApp */
.float-whatsapp { position: fixed; bottom: 20px; right: 20px; background: #25D366; width: 60px; height: 60px; border-radius: 50%; display: flex; justify-content: center; align-items: center; box-shadow: var(--shadow-md); z-index: 9999; transition: transform 0.3s; }
.float-whatsapp:hover { transform: scale(1.1); }

/* Desktop Breakpoint */
@media (min-width: 768px) {
    h1 { font-size: 3.5rem; }
    .numbers-grid { grid-template-columns: repeat(4, 1fr); }
    .about-grid { grid-template-columns: 1fr 1fr; align-items: center; }
    .courses-grid { grid-template-columns: repeat(2, 1fr); }
    .single-grid { grid-template-columns: 2fr 1fr; }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
    
    .menu-toggle { display: none; }
    .main-navigation ul { display: flex; align-items: center; gap: 30px; }
    .main-navigation ul li a { color: var(--color-text); font-weight: 500; }
    .main-navigation ul li a:hover { color: var(--color-green); }
    .header-cta { display: block; }
    .mobile-only-btn { display: none; }
    .d-none-mobile { display: inline-flex; }
}

@media (min-width: 1024px) {
    .courses-grid { grid-template-columns: repeat(3, 1fr); }
}
