/* ============================================
   Rafael Demeni - Design System & Styles
   Mídia para Vender
   ============================================ */

/* ===== Custom Fonts ===== */
@font-face {
    font-family: 'Liebling';
    src: url('../assets/fonts/Liebling.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Liebling';
    src: url('../assets/fonts/Liebling Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Liebling';
    src: url('../assets/fonts/Liebling Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'New Science';
    src: url('../assets/fonts/New Science Regular (Open Type).otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'New Science';
    src: url('../assets/fonts/New Science Bold (Open Type).otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ===== CSS Variables (Design Tokens) ===== */
:root {
    /* Colors */
    --bg-primary: #001935;
    --bg-secondary: #00254d;
    --bg-tertiary: #003366;
    --accent: #1B97C0;
    --accent-hover: #23b8e8;
    --accent-dark: #157a9c;
    --text-primary: #F7F7F7;
    --text-secondary: #a8c5d8;
    --text-muted: #6b8fa8;
    --border-color: rgba(27, 151, 192, 0.3);
    --card-bg: rgba(0, 37, 77, 0.6);
    --overlay: rgba(0, 25, 53, 0.85);

    /* Typography */
    --font-main: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'New Science', 'Liebling', Georgia, serif;

    /* Spacing */
    --section-padding: 80px 0;
    --container-max: 1200px;
    --container-padding: 20px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 30px rgba(27, 151, 192, 0.3);

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ===== Container ===== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ===== Typography ===== */
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 3rem;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--text-primary);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent) 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(27, 151, 192, 0.5);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-secondary {
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
}

.btn-secondary:hover {
    background: var(--accent);
    color: var(--text-primary);
    transform: translateY(-3px) scale(1.02);
}

.btn-secondary:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-success {
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    color: var(--text-primary);
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.3);
}

.btn-success:hover {
    background: linear-gradient(135deg, #66BB6A 0%, #43A047 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(76, 175, 80, 0.5);
}

.btn-large {
    padding: 18px 48px;
    font-size: 1.1rem;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 15px;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    backdrop-filter: none;
    border-bottom: none;
    transition: all var(--transition-normal);
}

/* Header com fundo quando rola a página */
.header.header-scrolled {
    top: 0;
    background: rgba(0, 25, 53, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px var(--container-padding);
}

.logo img {
    height: 28px;
    width: auto;
    filter: brightness(0) invert(1);
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Menu Toggle (Mobile) */
.menu-toggle {
    display: none;
    width: 30px;
    height: 24px;
    position: relative;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    position: absolute;
    width: 100%;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

.hamburger {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger::before {
    content: '';
    top: -8px;
}

.hamburger::after {
    content: '';
    top: 8px;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    background-color: var(--bg-primary);
}

.hero-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    min-width: 1920px;
    min-height: 100vh;
    height: auto;
    z-index: 0;
    pointer-events: none;
}

.hero-freud {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    object-fit: cover;
    object-position: center top;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--container-max);
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.hero-title-hover {
    transition: all 0.3s ease;
}

.hero-title-hover:hover {
    text-shadow: 0 0 20px rgba(11, 0, 121, 0.5), 0 0 40px rgba(75, 64, 201, 0.3);
    transform: scale(1.02);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 400;
}

/* ===== INTRO SECTION ===== */
.intro {
    padding: var(--section-padding);
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.intro-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ===== CURSOS SECTION ===== */
.cursos {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.cursos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.curso-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.curso-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.curso-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.curso-content {
    padding: 1.5rem;
}

.curso-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.curso-duration {
    font-size: 0.9rem;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.curso-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.curso-price {
    margin-bottom: 1.5rem;
}

.price-old {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.price-current {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
}

.price-installment {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.price-promo {
    color: #4CAF50;
}

.price-installment-main {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
}

.price-total {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

/* ===== BENEFÍCIOS SECTION ===== */
.beneficios {
    padding: var(--section-padding);
    background: var(--bg-primary);
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.beneficio-card {
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
}

.beneficio-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
}

.beneficio-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(27, 151, 192, 0.1);
    border-radius: 50%;
}

.beneficio-icon img {
    max-width: 50px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.beneficio-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--accent);
}

.beneficio-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== REQUISITOS SECTION ===== */
.requisitos {
    padding: var(--section-padding);
    background: linear-gradient(180deg, #1a2a3a 0%, #2a3a4a 100%);
}

.requisitos-content {
    max-width: 700px;
    margin: 0 auto;
}

.requisito-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.requisito-item:last-child {
    border-bottom: none;
}

.requisito-check {
    color: #4CAF50;
    font-size: 1.5rem;
    font-weight: bold;
}

.requisito-item p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.requisito-item strong {
    color: var(--text-primary);
}

/* ===== DEPOIMENTOS SECTION ===== */
.depoimentos {
    padding: var(--section-padding);
    background: var(--bg-primary);
}

.depoimentos-slider {
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 50px;
}

.depoimento-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    text-align: center;
}

.depoimento-stars {
    margin-bottom: 1.5rem;
}

.depoimento-stars span {
    font-size: 1.5rem;
    color: #FFD700;
    margin: 0 2px;
}

.depoimento-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.depoimento-author-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.depoimento-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--accent);
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.depoimento-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.depoimento-author-info {
    text-align: left;
}

.depoimento-author {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.depoimento-role {
    font-size: 0.85rem;
    color: var(--accent);
}

.swiper-pagination-bullet {
    background: var(--text-secondary);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: var(--accent);
    opacity: 1;
}

/* ===== BADGE MEC ===== */
.curso-image {
    position: relative;
}

.badge-mec {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #2E7D32 0%, #1B5E20 100%);
    color: white;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

/* ===== FAQ SECTION ===== */
.faq {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    text-align: left;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--accent);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--accent);
    transition: transform var(--transition-normal);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal), padding var(--transition-normal);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 1.5rem;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== CTA SECTION ===== */
.cta {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-primary) 100%);
    text-align: center;
}

.cta--highlight {
    background: linear-gradient(135deg, #1B97C0 0%, #0d5a75 100%);
}

.cta--highlight .cta-title,
.cta--highlight .cta-text {
    color: #fff;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* ===== CTA BANNER (Image Background) ===== */
.cta-banner {
    position: relative;
    height: 300px;
    width: 100%;
    overflow: hidden;
}

.cta-banner-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.cta-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 25, 53, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.cta-banner .cta-title {
    color: #fff;
    margin-bottom: 0.5rem;
}

.cta-banner .cta-text {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

/* ===== ABOUT GRID ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding-top: 60px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.footer-brand {
    max-width: 280px;
}

.footer-logo {
    width: 60px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-contact p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all var(--transition-normal);
}

.social-links a:hover {
    background: var(--accent);
    color: var(--text-primary);
    transform: translateY(-3px);
}

/* Footer Newsletter */
.footer-newsletter {
    background: var(--bg-tertiary);
    padding: 2.5rem 0;
    margin-top: 2rem;
    text-align: center;
}

.footer-newsletter h4 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.footer-newsletter>.container>p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.footer-newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.footer-bottom {
    margin-top: 0;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: var(--shadow-md);
    z-index: 999;
    transition: all 0.3s ease, opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.5);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ===== SCROLL TO TOP BUTTON ===== */
.scroll-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero {
        background-image: url('../assets/images/Primeira-dobra-2.webp');
        background-position: center center;
        align-items: flex-end;
        padding-bottom: 80px;
    }

    .hero-bg {
        width: 100%;
        opacity: 0.15;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
        padding-left: 0;
        padding-top: 0;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    /* Mobile Menu */
    .menu-toggle {
        display: block;
        z-index: 1001;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--bg-primary);
        padding: 100px 30px 30px;
        transition: right var(--transition-normal);
        border-left: 1px solid var(--border-color);
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 1.5rem;
    }

    .nav-link {
        font-size: 1.1rem;
    }

    /* Menu toggle animation */
    .menu-toggle.active .hamburger {
        background: transparent;
    }

    .menu-toggle.active .hamburger::before {
        top: 0;
        transform: rotate(45deg);
    }

    .menu-toggle.active .hamburger::after {
        top: 0;
        transform: rotate(-45deg);
    }

    /* Cursos */
    .cursos-grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        max-width: 100%;
    }

    .social-links {
        justify-content: center;
    }

    /* About Grid - Stack on tablet/mobile */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-grid .about-photo {
        order: -1;
        min-height: 300px;
        max-height: 400px;
    }

    /* WhatsApp float */
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.85rem;
    }

    .curso-content {
        padding: 1rem;
    }

    .beneficio-card {
        padding: 1.5rem;
    }

    /* About Grid - Stack on mobile */
    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .about-grid .about-photo {
        order: -1;
        min-height: 280px;
    }

    /* CTA Section - Stack buttons vertically */
    .cta .container>div[style*="display: flex"] {
        flex-direction: column !important;
        gap: 0.75rem !important;
    }

    .cta .btn {
        width: 100%;
    }

    /* About Section - Stack on mobile */
    .about-content[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .about-photo {
        order: -1;
        min-height: 300px !important;
    }

    /* Portfolio Grid - 2 columns on mobile */
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }

    .portfolio-item {
        min-height: 100px !important;
        padding: 1rem !important;
    }

    .portfolio-item img {
        max-width: 90% !important;
        max-height: 90% !important;
    }

    /* Numbers Section - Smaller cards */
    .numeros-section {
        padding: 3rem 0 !important;
    }

    .numeros-section .container>div {
        gap: 1rem !important;
    }

    .numero-card {
        padding: 1.5rem !important;
    }

    .numero-valor {
        font-size: 2rem !important;
    }

    .numero-label {
        font-size: 0.85rem !important;
    }

    /* Services Grid - Full width cards */
    .services-grid {
        grid-template-columns: 1fr !important;
    }

    .service-card .service-image {
        height: 150px !important;
    }
}

/* ===== PAGE HERO (Internal Pages) ===== */
.page-hero {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 100px;
    padding-bottom: 40px;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    text-align: center;
}

.page-hero--compact {
    min-height: auto;
    padding-top: 60px;
    padding-bottom: 60px;
}

/* ===== CONTACT BANNER ===== */
.contact-banner {
    position: relative;
    height: 200px;
    width: 100%;
    overflow: hidden;
    margin-top: 80px;
}

.contact-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.contact-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 25, 53, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-banner-logo {
    width: 100px;
    filter: drop-shadow(0 4px 20px rgba(27, 151, 192, 0.5));
}

.page-hero .hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    opacity: 0.15;
}

.page-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.text-accent {
    color: var(--accent);
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.about-text p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* ===== METODOLOGIA SECTION ===== */
.metodologia-section {
    padding: var(--section-padding);
    background: var(--bg-primary);
}

.metodologia-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.metodologia-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all var(--transition-normal);
}

.metodologia-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}

.metodologia-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.metodologia-icon img {
    max-width: 50px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.metodologia-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.metodologia-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== CERTIFICAÇÃO SECTION ===== */
.certificacao-section {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.certificacao-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.certificacao-text p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.certificacao-selo img {
    max-width: 220px;
    border-radius: var(--radius-md);
}

@media (max-width: 768px) {
    .certificacao-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .certificacao-selo {
        order: -1;
        margin: 0 auto;
    }
}

/* ===== EQUIPE SECTION ===== */
.equipe-section {
    padding: var(--section-padding);
    background: var(--bg-primary);
}

.equipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.membro-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all var(--transition-normal);
}

.membro-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}

.membro-foto {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent);
}

.membro-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter var(--transition-normal);
}

.membro-card:hover .membro-foto img {
    filter: grayscale(0%);
}

.membro-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.membro-cargo {
    display: block;
    font-size: 0.9rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.membro-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.membro-social {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.membro-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--bg-tertiary);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all var(--transition-normal);
}

.membro-social a:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-3px);
}

/* ===== CURSOS PAGE ===== */
.cursos-page {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.cursos-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.curso-detail-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.curso-detail-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}

.curso-detail-image {
    position: relative;
}

.curso-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 250px;
}

.curso-detail-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.curso-badge {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 1rem;
    width: fit-content;
}

.curso-detail-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.curso-features {
    margin-bottom: 1rem;
}

.curso-features li {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.curso-requirement {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.curso-pricing {
    margin-bottom: 1.5rem;
}

.price-from {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.price-to {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
}

.price-parcel {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .curso-detail-card {
        grid-template-columns: 1fr;
    }

    .curso-detail-image img {
        min-height: 200px;
    }
}

/* ===== MASTERCLASSES SECTION ===== */
.masterclasses-section {
    padding: var(--section-padding);
    background: var(--bg-primary);
}

.masterclasses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.masterclass-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: all var(--transition-normal);
}

.masterclass-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
}

.masterclass-card h3 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-intro {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
}

.contact-card-content h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.contact-card-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.contact-card-content a {
    color: var(--accent);
}

.contact-card-content a:hover {
    text-decoration: underline;
}

.contact-social {
    margin-top: 2rem;
}

.contact-social h4 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.social-links--large a {
    width: 52px;
    height: 52px;
}

.social-whatsapp:hover {
    background: #25D366 !important;
}

.social-instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888) !important;
}

.social-facebook:hover {
    background: #1877F2 !important;
}

/* Contact Form Wrapper */
.contact-form-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-form-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    text-align: center;
}

.contact-form-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.contact-form-card>p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
}

.btn-whatsapp:hover {
    background: #1ea952;
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.4);
}

.contact-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.contact-divider::before,
.contact-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.contact-divider span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Newsletter Card */
.newsletter-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    text-align: center;
}

.newsletter-card h4 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.newsletter-card>p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    gap: 0.75rem;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
}

.newsletter-form input::placeholder {
    color: var(--text-muted);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent);
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 480px) {
    .newsletter-form {
        flex-direction: column;
    }
}

/* ===== MAP SECTION ===== */
.map-section {
    padding: var(--section-padding);
    padding-bottom: 0;
    background: linear-gradient(180deg, #d0d8e0 0%, #b8c4d0 100%);
}

.map-section .section-title {
    color: #1a2a3a;
    background: none;
    -webkit-text-fill-color: #1a2a3a;
}

.map-wrapper {
    width: 100%;
    height: 400px;
    filter: none;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    overflow: hidden;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.1);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
}