/* =============================================
   LETLIBRAS - IDENTIDADE VISUAL
   Cores extraídas do logotipo oficial:
   - Azul principal (globo): #4AABE3
   - Azul escuro (texto):    #2B7CB5
   - Verde:                  #2E9E3E
   - Roxo:                   #6B2D8B
   - Laranja:                #F5941E
   - Rosa:                   #F8BBD0
   - Amarelo:                #FDD835
   - Magenta:                #E91E8C
   - Vermelho:               #E53935
   - Azul marinho (centro):  #2D2B6B
   ============================================= */

:root {
    --brand-blue: #4AABE3;
    --brand-blue-dark: #2B7CB5;
    --brand-blue-deeper: #1a6fb0;
    --brand-green: #2E9E3E;
    --brand-purple: #6B2D8B;
    --brand-orange: #F5941E;
    --brand-pink: #F8BBD0;
    --brand-yellow: #FDD835;
    --brand-magenta: #E91E8C;
    --brand-red: #E53935;
    --brand-navy: #2D2B6B;
    --text-dark: #212529;
    --text-muted: #6c757d;
    --whatsapp-color: #25D366;
    --whatsapp-hover: #1EBE5D;
    --bg-light: #f8fafe;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background-color: #fff;
}

/* =============================================
   OVERRIDE BOOTSTRAP PRIMARY
   ============================================= */
.text-primary {
    color: var(--brand-blue-dark) !important;
}
.bg-primary {
    background-color: var(--brand-blue) !important;
}
.bg-light-blue {
    background-color: #e8f4fd;
}

/* =============================================
   NAVBAR
   ============================================= */
.line-top {
    border-top: 4px solid var(--brand-blue);
}
.navbar {
    transition: box-shadow 0.3s ease;
}
.navbar-nav .nav-link {
    color: #333;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--brand-blue-dark) !important;
}
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -2px;
    left: 50%;
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-green));
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 70%;
}

/* Logo no header */
.navbar-brand img {
    max-height: 55px;
    width: auto;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn-primary {
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
    border: none;
    transition: all 0.3s;
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--brand-blue-dark), var(--brand-blue-deeper));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(43, 124, 181, 0.35);
}

.btn-whatsapp {
    background-color: var(--whatsapp-color);
    border-color: var(--whatsapp-color);
    color: white;
    transition: all 0.3s;
}
.btn-whatsapp:hover {
    background-color: var(--whatsapp-hover);
    border-color: var(--whatsapp-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.btn-outline-primary {
    color: var(--brand-blue-dark);
    border-color: var(--brand-blue);
}
.btn-outline-primary:hover {
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
    border-color: var(--brand-blue);
    color: white;
}

/* =============================================
   HERO / SLIDER
   ============================================= */
.hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    color: white;
    height: 520px;
    overflow: hidden;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(
        120deg,
        rgba(27, 111, 176, 0.92) 0%,
        rgba(74, 171, 227, 0.7) 50%,
        rgba(43, 124, 181, 0.5) 100%
    );
}
.hero-content {
    position: relative;
    z-index: 2;
}

/* Sem banners? Hero estático */
.hero-static {
    background: linear-gradient(135deg, var(--brand-blue-deeper) 0%, var(--brand-blue) 50%, var(--brand-blue-dark) 100%);
    min-height: 420px;
}

/* =============================================
   SEÇÃO TITLES
   ============================================= */
.section-tag {
    color: var(--brand-blue);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
}
.section-title {
    font-weight: 800;
    color: var(--brand-navy);
}
.section-title span {
    color: var(--brand-blue);
}

/* Linha decorativa multicolorida (inspirada no globo da logo) */
.divider-rainbow {
    height: 4px;
    width: 80px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-green), var(--brand-purple), var(--brand-orange), var(--brand-magenta));
    margin: 0 auto;
}

/* =============================================
   CARDS DE CURSOS
   ============================================= */
.card-curso {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.35s ease;
    overflow: hidden;
    height: 100%;
    background: #fff;
}
.card-curso:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(74, 171, 227, 0.15);
}
.card-curso .img-wrapper {
    height: 200px;
    overflow: hidden;
    position: relative;
}
.card-curso .img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.card-curso:hover .img-wrapper img {
    transform: scale(1.08);
}
.badge-ch {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255,255,255,0.95);
    color: var(--brand-blue-dark);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* =============================================
   TABS PROFESSORES
   ============================================= */
.nav-pills .nav-link {
    color: var(--text-dark);
    background-color: #f0f4f8;
    border-radius: 50px;
    margin: 5px;
    padding: 10px 28px;
    transition: all 0.3s;
    font-weight: 500;
}
.nav-pills .nav-link.active {
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(74, 171, 227, 0.35);
}
.prof-image {
    width: 100%;
    max-width: 380px;
    border-radius: 1rem;
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}
.prof-card-bg {
    background: linear-gradient(135deg, #e8f4fd 0%, #f0f8ff 100%);
    border: 1px solid rgba(74, 171, 227, 0.15);
}

/* =============================================
   DEPOIMENTOS
   ============================================= */
.depoimento-card {
    background-color: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    height: 100%;
    position: relative;
    border-left: 4px solid var(--brand-blue);
    transition: all 0.3s;
}
.depoimento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(74, 171, 227, 0.12);
}
.quote-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2.5rem;
    color: rgba(74, 171, 227, 0.15);
}
.depoimento-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--brand-blue);
}

/* =============================================
   FOOTER
   ============================================= */
footer {
    background: linear-gradient(180deg, #1a2940 0%, #0d1b2a 100%);
}
footer .social-icon:hover {
    background-color: var(--brand-blue) !important;
    transform: translateY(-3px);
}
footer .hover-opacity-100:hover {
    opacity: 1 !important;
}

/* =============================================
   SOBRE - MISSÃO/VISÃO/VALORES
   ============================================= */
.mvv-card {
    border-radius: 1rem;
    transition: all 0.3s;
    border: none;
}
.mvv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.mvv-missao { border-top: 4px solid var(--brand-blue); }
.mvv-visao { border-top: 4px solid var(--brand-green); }
.mvv-valores { border-top: 4px solid var(--brand-orange); }

/* =============================================
   CONTATO
   ============================================= */
.contato-info-bg {
    background: linear-gradient(135deg, var(--brand-blue-deeper) 0%, var(--brand-blue) 100%);
    color: white;
}

/* =============================================
   ANIMAÇÕES
   ============================================= */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   RESPONSIVIDADE
   ============================================= */
@media (max-width: 768px) {
    .hero-section {
        height: 400px;
    }
    .hero-section h1 {
        font-size: 2rem !important;
    }
    .prof-image {
        max-width: 250px;
    }
    .section-title {
        font-size: 1.7rem;
    }
}
