/* ==========================================================================
   COLÉGIO CIDADÃO DO AMANHÃ - DIFERENCIAIS & ROBÓTICA MAKER (CIDAMAKER)
   Estilo Moderno, Responsivo com Google Material Symbols (Full White)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200');

:root {
    --primary: #0a3871;
    --primary-dark: #07254a;
    --primary-light: #1a56a6;
    --accent: #ff770a;
    --accent-hover: #e56600;
    --accent-glow: rgba(255, 119, 10, 0.25);
    --maker-cyan: #00d2ff;
    --maker-purple: #7928ca;
    --success: #10b981;
    --success-bg: #ecfdf5;
    --whatsapp: #25D366;
    --whatsapp-hover: #1eb956;
    
    --bg-page: #f8fafc;
    --bg-card: #ffffff;
    --bg-card-alt: #f1f5f9;
    --border-color: #e2e8f0;
    
    --text-title: #0f172a;
    --text-body: #334155;
    --text-muted: #64748b;
    --text-light: #ffffff;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 20px 35px -8px rgba(15, 23, 42, 0.12), 0 10px 15px -5px rgba(15, 23, 42, 0.06);
    --shadow-maker: 0 12px 30px -5px rgba(255, 119, 10, 0.3);
    
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-page);
    color: var(--text-body);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-title);
    line-height: 1.25;
    font-weight: 700;
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

/* ==========================================================================
   GOOGLE MATERIAL SYMBOLS - FULL WHITE UTILITIES
   ========================================================================== */
.material-symbols-rounded {
    font-family: 'Material Symbols Rounded', sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: 20px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    vertical-align: middle;
    font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24;
    user-select: none;
}

.icon-white {
    color: #ffffff !important;
    fill: #ffffff !important;
}

/* Badge circular com ícone Google Full White dentro */
.icon-circle-badge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.icon-circle-badge .material-symbols-rounded {
    font-size: 16px;
    color: #ffffff !important;
}

.icon-circle-badge.orange { background: linear-gradient(135deg, #ff770a, #ff9500); }
.icon-circle-badge.blue { background: linear-gradient(135deg, #0a3871, #1a56a6); }
.icon-circle-badge.green { background: linear-gradient(135deg, #059669, #10b981); }
.icon-circle-badge.purple { background: linear-gradient(135deg, #6d28d9, #8b5cf6); }
.icon-circle-badge.red { background: linear-gradient(135deg, #dc2626, #ef4444); }

/* Ícone dentro de chips de filtro */
.chip-icon-box {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.chip-icon-box .material-symbols-rounded {
    font-size: 13px;
    color: #ffffff !important;
}

.filter-chip.chip-robotica .chip-icon-box {
    background: var(--accent);
}

.filter-chip.active .chip-icon-box {
    background: rgba(255, 255, 255, 0.25);
}

/* CONTAINER */
.cca-container {
    width: 100%;
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.section-padding {
    padding: 80px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 50px 0;
    }
}

/* HEADER */
.cca-header {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(12px);
}

.cca-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.cca-logo-box {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cca-logo-box img {
    height: 48px;
    width: auto;
    border-radius: var(--radius-sm);
}

.cca-logo-text {
    display: flex;
    flex-direction: column;
}

.cca-logo-text .title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.15;
    letter-spacing: -0.3px;
}

.cca-logo-text .subtitle {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-weight: 600;
}

.cca-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-header-cta {
    background: linear-gradient(135deg, var(--accent) 0%, #ff9500 100%);
    color: #ffffff !important;
    padding: 10px 22px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px var(--accent-glow);
}

.btn-header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-glow);
}

.btn-header-cta .material-symbols-rounded {
    font-size: 18px;
}

/* HERO BANNER */
.cca-hero {
    position: relative;
    background: linear-gradient(135deg, #07254a 0%, #0a3871 60%, #134e8e 100%);
    color: #ffffff;
    padding: 90px 0 70px;
    overflow: hidden;
}

.cca-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 85% 20%, rgba(255, 119, 10, 0.22) 0%, transparent 45%),
                      radial-gradient(circle at 15% 85%, rgba(0, 210, 255, 0.18) 0%, transparent 40%);
    pointer-events: none;
}

.cca-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.badge-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    backdrop-filter: blur(8px);
    margin-bottom: 22px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.badge-hero .pulse-dot {
    width: 9px;
    height: 9px;
    background-color: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(255, 119, 10, 0.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 119, 10, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(255, 119, 10, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 119, 10, 0); }
}

.cca-hero h1 {
    font-size: 3.3rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: #ffffff;
    margin-bottom: 20px;
}

.cca-hero h1 span.gradient-text {
    background: linear-gradient(135deg, #ff9e42 0%, #ffd000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cca-hero p.hero-lead {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #e2e8f0;
    margin-bottom: 35px;
    font-weight: 400;
}

.cca-hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 40px;
}

.stat-pill {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 18px 12px;
    text-align: center;
    transition: var(--transition);
    backdrop-filter: blur(6px);
}

.stat-pill:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent);
}

.stat-pill .icon {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 38px;
}

.stat-pill .icon .material-symbols-rounded {
    font-size: 32px;
    color: #ffffff !important;
}

.stat-pill .val {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    display: block;
}

.stat-pill .desc {
    font-size: 0.78rem;
    color: #cbd5e1;
    font-weight: 500;
}

@media (max-width: 900px) {
    .cca-hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .cca-hero h1 {
        font-size: 2.3rem;
    }
}

@media (max-width: 540px) {
    .cca-hero-stats {
        grid-template-columns: 1fr;
    }
}

/* CATEGORY FILTER BAR (STICKY) */
.cca-category-bar {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 72px;
    z-index: 990;
}

.cca-category-scroll {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 10px;
    padding: 2px 0;
    overflow: visible;
}

@media (max-width: 900px) {
    .cca-category-scroll {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        padding: 4px 6px;
    }
    .cca-category-scroll::-webkit-scrollbar {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
    }
}

.filter-chip {
    white-space: nowrap;
    padding: 7px 16px;
    border-radius: var(--radius-full);
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--text-body);
    background: var(--bg-card-alt);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    user-select: none;
}

.filter-chip:hover {
    background: #e2e8f0;
    color: var(--primary);
    transform: translateY(-1px);
}

.filter-chip.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(10, 56, 113, 0.25);
}

.filter-chip.chip-robotica {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border-color: #fdba74;
    color: #c2410c;
    font-weight: 700;
}

.filter-chip.chip-robotica.active {
    background: linear-gradient(135deg, var(--accent) 0%, #ff9500 100%);
    color: #ffffff;
    border-color: var(--accent);
    box-shadow: 0 4px 14px var(--accent-glow);
}

/* ==========================================================================
   FLAGSHIP SHOWCASE: ROBÓTICA MAKER (CIDAMAKER)
   ========================================================================== */
.robotica-maker-section {
    background: linear-gradient(180deg, #ffffff 0%, #fefaf6 50%, #f8fafc 100%);
    position: relative;
    padding: 85px 0 75px;
    border-bottom: 2px solid #fed7aa;
}

.robotica-maker-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #ff770a, #00d2ff, #7928ca, #ff770a);
    background-size: 200% 100%;
    animation: gradientFlow 6s linear infinite;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.robotica-header {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 45px;
}

.robotica-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border: 1px solid #fdba74;
    color: #c2410c;
    padding: 7px 22px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(251, 146, 60, 0.2);
}

.robotica-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.robotica-header h2 mark {
    background: transparent;
    color: var(--accent);
    text-decoration: underline;
    text-decoration-color: #fdba74;
    text-underline-offset: 6px;
}

.robotica-header p.lead {
    font-size: 1.18rem;
    color: var(--text-body);
    line-height: 1.7;
}

.highlight-free-tag {
    display: inline-block;
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    border-radius: var(--radius-sm);
    padding: 3px 12px;
    font-weight: 700;
}

/* 3 Pilares Cards for Robótica */
.robotica-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 50px;
}

.pillar-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.pillar-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), #ffb703);
    opacity: 0;
    transition: var(--transition);
}

.pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-maker);
    border-color: #fdba74;
}

.pillar-card:hover::after {
    opacity: 1;
}

.pillar-card .pillar-icon-box {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent) 0%, #ff9500 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    box-shadow: 0 4px 12px var(--accent-glow);
}

.pillar-card .pillar-icon-box .material-symbols-rounded {
    font-size: 30px;
    color: #ffffff !important;
}

.pillar-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.pillar-card p {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.6;
    flex-grow: 1;
}

@media (max-width: 900px) {
    .robotica-pillars-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   SHOWCASE DE VÍDEOS DA ROBÓTICA - COMPACTO E ELEGANTE NO PC
   ========================================================================== */
.robotica-media-showcase {
    background: #ffffff;
    border: 1px solid #fed7aa;
    border-radius: var(--radius-lg);
    padding: 26px 30px;
    box-shadow: var(--shadow-md);
    margin: 0 auto 50px;
    max-width: 760px;
    position: relative;
}

.media-showcase-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
}

.media-showcase-title {
    display: flex;
    flex-direction: column;
}

.media-showcase-title h3 {
    font-size: 1.35rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.media-showcase-title span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.video-tabs-nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.video-tab-btn {
    background: var(--bg-card-alt);
    border: 1px solid var(--border-color);
    padding: 7px 14px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-body);
}

.video-tab-btn .material-symbols-rounded {
    font-size: 16px;
    color: var(--primary);
}

.video-tab-btn:hover {
    background: #e2e8f0;
    color: var(--primary);
}

.video-tab-btn.active {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
    box-shadow: 0 4px 12px var(--accent-glow);
}

.video-tab-btn.active .material-symbols-rounded {
    color: #ffffff !important;
}

.video-player-container {
    position: relative;
    background: #000000;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    aspect-ratio: 16 / 9;
    max-width: 700px;
    max-height: 390px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-player-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-caption-bar {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.video-caption-bar .badge-aud {
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--text-body);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.video-caption-bar .badge-aud .material-symbols-rounded {
    font-size: 14px;
    color: var(--primary);
}

@media (max-width: 768px) {
    .robotica-media-showcase {
        padding: 18px 16px;
        max-width: 100%;
    }
    .video-player-container {
        max-height: 270px;
    }
}

/* Photo Gallery Grid */
.robotica-gallery-title {
    text-align: center;
    margin-bottom: 26px;
}

.robotica-gallery-title h3 {
    font-size: 1.55rem;
    color: var(--primary);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.robotica-gallery-title p {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.gallery-interactive-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.gallery-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    aspect-ratio: 4 / 3;
    background: #e2e8f0;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-card .gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(10, 56, 113, 0.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-card .gallery-overlay span.caption {
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
}

.gallery-card .gallery-overlay span.zoom-icon {
    align-self: center;
    margin-bottom: auto;
    margin-top: auto;
    background: rgba(10, 56, 113, 0.85);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.gallery-card .gallery-overlay span.zoom-icon .material-symbols-rounded {
    font-size: 24px;
    color: #ffffff !important;
}

.gallery-card:hover img {
    transform: scale(1.08);
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

@media (max-width: 900px) {
    .gallery-interactive-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .gallery-interactive-grid {
        grid-template-columns: 1fr;
    }
}

/* Call to Action Box for Robótica */
.robotica-cta-box {
    background: linear-gradient(135deg, #0a3871 0%, #174a8a 100%);
    border-radius: var(--radius-lg);
    padding: 36px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 25px;
    box-shadow: var(--shadow-lg);
}

.robotica-cta-text h3 {
    font-size: 1.7rem;
    color: #ffffff;
    margin-bottom: 8px;
}

.robotica-cta-text p {
    color: #e2e8f0;
    font-size: 1.02rem;
    max-width: 650px;
}

.robotica-cta-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-whatsapp-large {
    background: var(--whatsapp);
    color: #ffffff !important;
    padding: 13px 26px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.98rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
    transition: var(--transition);
}

.btn-whatsapp-large:hover {
    background: var(--whatsapp-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
}

.btn-whatsapp-large .material-symbols-rounded {
    font-size: 22px;
    color: #ffffff !important;
}

/* ==========================================================================
   STANDARD DIFFERENTIALS CARDS & SECTIONS
   ========================================================================== */
.differential-block {
    padding: 75px 0;
    border-bottom: 1px solid var(--border-color);
}

.differential-block:nth-of-type(even) {
    background-color: #ffffff;
}

.diff-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.diff-grid-2col.reverse {
    direction: rtl;
}

.diff-grid-2col.reverse > * {
    direction: ltr;
}

.diff-content {
    display: flex;
    flex-direction: column;
}

.diff-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
    align-self: flex-start;
}

.diff-badge.blue {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.diff-badge.green {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.diff-badge.orange {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #fed7aa;
}

.diff-badge.purple {
    background: #f5f3ff;
    color: #6d28d9;
    border: 1px solid #ddd6fe;
}

.diff-content h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 18px;
    letter-spacing: -0.3px;
}

.diff-content p.diff-intro {
    font-size: 1.08rem;
    line-height: 1.7;
    color: var(--text-body);
    margin-bottom: 16px;
}

/* Expandable text / accordion */
.diff-accordion-content {
    position: relative;
    max-height: 155px;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.diff-accordion-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(transparent, #ffffff);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.diff-accordion-content.expanded {
    max-height: 2500px;
}

.diff-accordion-content.expanded::after {
    opacity: 0;
    visibility: hidden;
}

.btn-ver-mais {
    align-self: flex-start;
    margin-top: 15px;
    background: #f1f5f9;
    color: var(--primary);
    border: 1px solid #cbd5e1;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.btn-ver-mais:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.btn-ver-mais.expanded {
    background: #fee2e2;
    color: #b91c1c;
    border-color: #fca5a5;
}

/* Visual media box in 2col grid */
.diff-visual-box {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: #ffffff;
    border: 1px solid var(--border-color);
}

.diff-visual-box img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.diff-visual-box:hover img {
    transform: scale(1.03);
}

.diff-visual-box .visual-badge-overlay {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(10, 56, 113, 0.92);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(8px);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.diff-visual-box .visual-badge-overlay .material-symbols-rounded {
    font-size: 16px;
    color: #ffffff !important;
}

/* Key Points list */
.key-points-list {
    list-style: none;
    margin: 16px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.key-points-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.98rem;
    color: var(--text-body);
}

@media (max-width: 860px) {
    .diff-grid-2col {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .diff-grid-2col.reverse {
        direction: ltr;
    }
    .diff-content h2 {
        font-size: 1.8rem;
    }
}

/* ==========================================================================
   EXTRACURRICULAR SEGMENTED CARDS
   ========================================================================== */
.extracurricular-section {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    padding: 80px 0;
}

.extra-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 40px;
}

.extra-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.extra-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.extra-grade-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.extra-grade-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: #cbd5e1;
}

.extra-grade-card.featured {
    border: 2px solid var(--accent);
    position: relative;
}

.featured-pill {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--accent);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 3px 12px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.extra-grade-card h3 {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
}

.extra-activities-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}

.extra-activities-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.92rem;
    line-height: 1.5;
}

.extra-tag-free {
    background: #ecfdf5;
    color: #047857;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    display: inline-block;
}

.extra-tag-special {
    background: #fff7ed;
    color: #c2410c;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    display: inline-block;
}

@media (max-width: 900px) {
    .extra-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* PDF Download banner */
.pdf-download-card {
    background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
    border: 1px dashed #94a3b8;
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-top: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.pdf-info {
    display: flex;
    align-items: center;
    gap: 18px;
}

.pdf-icon-box {
    width: 54px;
    height: 54px;
    background: #dc2626;
    color: #ffffff !important;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}

.pdf-icon-box .material-symbols-rounded {
    font-size: 30px;
    color: #ffffff !important;
}

.pdf-info h4 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 4px;
}

.pdf-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.btn-pdf {
    background: #dc2626;
    color: #ffffff !important;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.25);
}

.btn-pdf:hover {
    background: #b91c1c;
    transform: translateY(-2px);
}

.btn-pdf .material-symbols-rounded {
    font-size: 20px;
    color: #ffffff !important;
}

/* FOOTER */
.cca-footer {
    background: #07254a;
    color: #cbd5e1;
    padding: 60px 0 30px;
    font-size: 0.92rem;
}

.cca-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.cca-footer h4 {
    color: #ffffff;
    font-size: 1.15rem;
    margin-bottom: 16px;
}

.cca-footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cca-footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

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

.cca-footer-links .material-symbols-rounded {
    font-size: 17px;
    color: var(--accent);
}

.cca-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.cca-footer-bottom .friendly-gif {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
}

.cca-footer-bottom img.tchau {
    height: 50px;
    width: auto;
}

@media (max-width: 768px) {
    .cca-footer-grid {
        grid-template-columns: 1fr;
    }
}

/* FLOATING WHATSAPP BUTTON & MODAL LIGHTBOX */
.floating-whatsapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1050;
    display: flex;
    align-items: center;
    gap: 10px;
}

.floating-whatsapp .tooltip-msg {
    background: #ffffff;
    color: var(--text-title);
    padding: 8px 14px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    display: none;
}

@media (min-width: 768px) {
    .floating-whatsapp .tooltip-msg {
        display: block;
    }
}

.floating-whatsapp a {
    width: 60px;
    height: 60px;
    background: var(--whatsapp);
    color: #ffffff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
}

.floating-whatsapp a .material-symbols-rounded {
    font-size: 32px;
    color: #ffffff !important;
}

.floating-whatsapp a:hover {
    background: var(--whatsapp-hover);
    transform: scale(1.1);
}

/* LIGHTBOX MODAL */
.cca-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.94);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(8px);
}

.cca-lightbox.active {
    display: flex;
}

.cca-lightbox-content {
    max-width: 900px;
    max-height: 85vh;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    background: #000000;
}

.cca-lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    margin: 0 auto;
}

.cca-lightbox-close {
    position: absolute;
    top: 20px;
    right: 25px;
    color: #ffffff;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.6);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 2010;
}

.cca-lightbox-close .material-symbols-rounded {
    font-size: 26px;
    color: #ffffff !important;
}

.cca-lightbox-close:hover {
    background: var(--accent);
}

.cca-lightbox-caption {
    color: #ffffff;
    text-align: center;
    margin-top: 12px;
    font-size: 1rem;
    font-weight: 500;
}

/* ANIMATIONS & REVEAL */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.is-revealed {
    opacity: 1;
    transform: translateY(0);
}
