/* ECN One Page */
:root {
    --primary: #1e40af;
    --primary-dark: #1e3a8a;
    --primary-light: #3b82f6;
    --orange: #f97316;
    --orange-dark: #ea580c;
    --orange-light: #fb923c;
    --secondary: var(--orange);
    --accent: var(--orange-light);
    --dark: #0f172a;
    --dark-2: #1e293b;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--orange) 100%);
    --gradient-dark: linear-gradient(135deg, #0c1929 0%, #1e3a8a 50%, #172554 100%);
    --shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 50px rgba(30, 64, 175, 0.18);
    --radius: 16px;
    --radius-lg: 24px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Plus Jakarta Sans', system-ui, sans-serif;
    --header-h: 76px;
    --toolbar-h: 40px;
    --top-h: calc(var(--toolbar-h) + var(--header-h));
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.875rem 1.75rem; border-radius: 12px; font-weight: 600;
    font-size: 0.95rem; border: none; cursor: pointer; transition: var(--transition);
    font-family: var(--font);
}
.btn-primary {
    background: var(--gradient); color: var(--white);
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(249, 115, 22, 0.45); }

/* Toolbar + Header */
.site-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
}
.toolbar {
    height: var(--toolbar-h);
    background: linear-gradient(90deg, var(--orange-dark), var(--orange));
    color: var(--white);
    display: flex;
    align-items: center;
}
.toolbar .container {
    height: 100%;
    width: 100%;
}
.toolbar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    height: 100%;
    font-size: 0.85rem;
    font-weight: 500;
}
.toolbar-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--white);
    transition: var(--transition);
}
.toolbar-item:hover { opacity: 0.88; }
.toolbar-item svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}
.toolbar-sep {
    color: rgba(255, 255, 255, 0.55);
    font-weight: 300;
    user-select: none;
}

/* Header */
.header {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    z-index: 1;
    height: var(--header-h);
    padding: 0;
    transition: var(--transition);
    background: transparent;
    border-bottom: none;
}
.header.scrolled {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 var(--gray-200);
    border-bottom-color: transparent;
}
.header .container {
    height: 100%;
    max-width: 1140px;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 1.5rem;
}
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    line-height: 0;
}
.logo-img {
    height: 52px;
    width: auto;
    display: block;
}
.header.scrolled .logo-img { height: 48px; }
.nav {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    margin-left: auto;
}
.nav-link {
    padding: 0.45rem 0.85rem;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.88rem;
    color: var(--gray-600);
    white-space: nowrap;
}
.header:not(.scrolled) .nav-link { color: var(--gray-600); }
.header:not(.scrolled) .nav-link:hover {
    color: var(--primary);
    background: rgba(30, 64, 175, 0.08);
}
.header.scrolled .nav-link { color: var(--gray-600); }
.header.scrolled .nav-link:hover {
    color: var(--primary);
    background: rgba(30, 64, 175, 0.08);
}
.nav-social {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-left: 0.5rem;
    padding-left: 0.75rem;
    border-left: 1px solid var(--gray-200);
}
.nav-social-link {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    transition: var(--transition);
}
.nav-social-link svg { width: 18px; height: 18px; }
.nav-social-link[aria-label*="Facebook"]:hover {
    background: #1877f2;
    color: var(--white);
    transform: translateY(-1px);
}
.nav-social-link[aria-label*="Instagram"]:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: var(--white);
    transform: translateY(-1px);
}
.nav-social-link[aria-label*="Webmail"]:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-1px);
}
.menu-toggle {
    display: none;
    flex-shrink: 0;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
    margin-left: auto;
}
.header.scrolled .menu-toggle {
    background: var(--gray-100);
    border-color: var(--gray-200);
}
.menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    margin: 0 auto;
    transition: var(--transition);
}
.header.scrolled .menu-toggle span { background: var(--dark); }

/* Hero Slider Principal */
.hero-slider {
    position: relative;
    width: 100%;
    margin-top: var(--top-h);
    min-height: calc(100vh - var(--top-h));
    height: calc(100vh - var(--top-h));
    padding: 0;
    background: transparent;
    overflow: hidden;
}
.hero-slider-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-slide {
    display: none;
    width: 100%;
    height: 100%;
}
.hero-slide.active {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}
.hero-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.92);
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    z-index: 2;
}
.hero-slider-btn:hover {
    background: var(--white);
    color: var(--orange);
    transform: translateY(-50%) scale(1.05);
}
.hero-slider-btn svg { width: 22px; height: 22px; }
.hero-slider-prev { left: 1rem; }
.hero-slider-next { right: 1rem; }
.hero-slider-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 2;
}
.hero-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: var(--transition);
}
.hero-slider-dot.active {
    background: var(--orange);
    width: 28px;
    border-radius: 5px;
}
.hero-slider.is-single .hero-slider-btn,
.hero-slider.is-single .hero-slider-dots { display: none; }

/* Sections */
section { padding: 5.5rem 0; }
.section-header { text-align: center; max-width: 560px; margin: 0 auto 3rem; }
.section-tag {
    display: inline-block; background: rgba(30, 64, 175, 0.1); color: var(--primary);
    padding: 0.35rem 0.9rem; border-radius: 50px; font-size: 0.75rem;
    font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.85rem;
}
.section-header h2 { font-size: clamp(1.75rem, 3vw, 2.35rem); font-weight: 800; margin-bottom: 0.75rem; }
.section-header p { color: var(--gray-500); font-size: 1rem; }

/* Slider */
.sobre { background: var(--gray-50); }
.slider { position: relative; }
.slider-track { position: relative; min-height: 420px; }
.slide {
    display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
    opacity: 0; visibility: hidden; position: absolute; inset: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: translateX(30px);
}
.slide.active {
    opacity: 1; visibility: visible; position: relative;
    transform: translateX(0);
}
.slide-image {
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-lg); aspect-ratio: 4/3;
    background: var(--gray-200);
}
.slide-image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s ease;
}
.slide.active .slide-image img { transform: scale(1.02); }
.slide-number {
    display: inline-block; font-size: 0.8rem; font-weight: 700;
    color: var(--orange-dark); background: rgba(249, 115, 22, 0.12);
    padding: 0.3rem 0.75rem; border-radius: 8px; margin-bottom: 1rem;
}
.slide-content h3 { font-size: 1.75rem; font-weight: 800; margin-bottom: 1rem; }
.slide-content p { color: var(--gray-600); font-size: 1.02rem; line-height: 1.75; }

.slider-controls {
    display: flex; align-items: center; justify-content: center;
    gap: 1.5rem; margin-top: 2.5rem;
}
.slider-btn {
    width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--gray-200);
    background: var(--white); color: var(--dark); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.slider-btn:hover { border-color: var(--orange); color: var(--orange); background: rgba(249, 115, 22, 0.06); }
.slider-btn svg { width: 22px; height: 22px; }
.slider-dots { display: flex; gap: 0.5rem; }
.slider-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--gray-200); border: none; cursor: pointer;
    transition: var(--transition); padding: 0;
}
.slider-dot.active { background: linear-gradient(90deg, var(--primary), var(--orange)); width: 28px; border-radius: 5px; }

/* Calendário */
.calendario { background: var(--white); }
.calendario-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
    align-items: stretch;
}
.calendario-visual {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 320px;
}
.calendario-visual img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    display: block;
}
.calendario-eventos {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.evento-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.25rem;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    transition: var(--transition);
}
.evento-item:hover {
    border-color: rgba(30, 64, 175, 0.25);
    box-shadow: var(--shadow);
    transform: translateX(4px);
}
.evento-data {
    flex-shrink: 0;
    width: 72px;
    text-align: center;
    padding: 0.75rem 0.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.1;
}
.evento-dia {
    font-size: 1.5rem;
    font-weight: 800;
}
.evento-mes {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 0.15rem;
    opacity: 0.9;
}
.evento-ano {
    font-size: 0.68rem;
    margin-top: 0.2rem;
    opacity: 0.75;
}
.evento-info { flex: 1; min-width: 0; }
.evento-titulo {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.4rem;
}
.evento-descricao {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* Buscador IA */
.busca-section {
    background: linear-gradient(160deg, #eff6ff 0%, #f8fafc 50%, #fff7ed 100%);
}
.busca-card {
    max-width: 760px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}
.busca-input-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.5rem 0.5rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 14px;
    transition: var(--transition);
}
.busca-input-wrap:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.1);
}
.busca-icon {
    width: 22px;
    height: 22px;
    color: var(--orange);
    flex-shrink: 0;
}
.busca-input {
    flex: 1;
    border: none;
    outline: none;
    font-family: var(--font);
    font-size: 0.95rem;
    color: var(--dark);
    background: transparent;
    min-width: 0;
}
.busca-input::placeholder { color: var(--gray-400); }
.busca-btn {
    flex-shrink: 0;
    padding: 0.7rem 1.25rem;
    font-size: 0.88rem;
}
.busca-btn.is-loading { opacity: 0.7; pointer-events: none; }
.busca-sugestoes {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
}
.busca-sugestoes-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-500);
}
.busca-chip {
    padding: 0.4rem 0.85rem;
    border-radius: 50px;
    border: 1px solid var(--gray-200);
    background: var(--gray-50);
    color: var(--gray-600);
    font-family: var(--font);
    font-size: 0.78rem;
    cursor: pointer;
    transition: var(--transition);
}
.busca-chip:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(30, 64, 175, 0.06);
}
.busca-materias {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--gray-200);
}
.busca-materias-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gray-500);
    margin-right: 0.25rem;
}
.busca-materia-tag {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    background: rgba(249, 115, 22, 0.1);
    color: var(--orange-dark);
}
.busca-resultado {
    margin-top: 1.5rem;
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    min-height: 80px;
}
.busca-placeholder {
    color: var(--gray-500);
    font-size: 0.9rem;
    text-align: center;
    margin: 0.5rem 0;
}
.busca-resultado.is-loading {
    display: flex;
    align-items: center;
    justify-content: center;
}
.busca-loading {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--primary);
    font-weight: 500;
    font-size: 0.9rem;
}
.busca-loading span {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(30, 64, 175, 0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: busca-spin 0.7s linear infinite;
}
@keyframes busca-spin { to { transform: rotate(360deg); } }
.busca-resultado.is-error {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}
.busca-resultado.is-success {
    background: #f0fdf4;
    border-color: #bbf7d0;
}
.busca-modo {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--primary);
    background: rgba(30, 64, 175, 0.1);
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    margin-bottom: 0.75rem;
}
.busca-resposta {
    font-size: 0.92rem;
    color: var(--gray-600);
    line-height: 1.7;
}
.busca-resposta p { margin-bottom: 0.65rem; }
.busca-resposta p:last-child { margin-bottom: 0; }
.busca-resposta strong { color: var(--dark); }

/* Map Section */
.map-section {
    padding: 0;
    background: var(--gray-50);
}
.map-header {
    padding: 3.5rem 0 2rem;
    text-align: center;
}
.map-header h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--primary);
    margin: 0.75rem 0 0.5rem;
}
.map-header p {
    color: var(--gray-600);
    margin-bottom: 0.5rem;
}
.map-address {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary) !important;
    margin-bottom: 0.35rem !important;
}
.map-desc { margin-bottom: 1rem !important; }
.map-link {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--orange-dark);
}
.map-link:hover { color: var(--primary); }
.map-wrap {
    width: 100%;
    line-height: 0;
}
.map-wrap iframe {
    width: 100%;
    height: clamp(320px, 50vh, 520px);
    border: 0;
    display: block;
}

/* App Section */
.app-section {
    background: linear-gradient(135deg, #9a3412 0%, #ea580c 50%, #f97316 100%);
    color: var(--white);
    overflow: hidden;
}
.app-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.app-phone-wrap {
    display: flex;
    justify-content: center;
    padding: 2rem 0;
}
.app-phone {
    position: relative;
    width: min(280px, 72vw);
    padding: 12px;
    background: linear-gradient(145deg, #2d3748, #1a202c);
    border-radius: 40px;
    box-shadow:
        0 40px 80px rgba(0, 0, 0, 0.45),
        inset 0 0 0 2px rgba(255, 255, 255, 0.08);
}
.app-phone-notch {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 22px;
    background: #1a202c;
    border-radius: 0 0 14px 14px;
    z-index: 2;
}
.app-phone-screen {
    border-radius: 30px;
    overflow: hidden;
    background: #000;
    aspect-ratio: 9/19;
}
.app-phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}
.app-content .section-tag {
    background: rgba(255, 255, 255, 0.2);
    color: #fff7ed;
}
.app-content h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    margin: 0.75rem 0 1rem;
    line-height: 1.15;
    color: var(--white);
}
.app-content > p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    max-width: 480px;
}
.app-features {
    list-style: none;
    margin-bottom: 2rem;
}
.app-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.65rem;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
}
.app-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.35);
}
.store-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}
.store-badge {
    display: block;
    transition: var(--transition);
    border-radius: 10px;
    overflow: hidden;
}
.store-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}
.store-badge img {
    height: 52px;
    width: auto;
    display: block;
}

/* Painéis */
.acesso {
    background: linear-gradient(160deg, #dbeafe 0%, #f1f5f9 48%, #ffedd5 100%);
    position: relative;
}
.acesso::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(30, 64, 175, 0.18) 0%, transparent 50%),
        radial-gradient(circle at 85% 80%, rgba(249, 115, 22, 0.22) 0%, transparent 50%);
    pointer-events: none;
}
.acesso .container { position: relative; z-index: 1; }
.painel-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.painel-card {
    display: block; padding: 2.5rem; border-radius: var(--radius-lg);
    border: 2px solid var(--gray-200); background: var(--white);
    transition: var(--transition); position: relative; overflow: hidden;
}
.painel-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    transform: scaleX(0); transform-origin: left; transition: var(--transition);
}
.painel-professor::before { background: linear-gradient(90deg, var(--primary), var(--primary-light)); }
.painel-aluno::before { background: linear-gradient(90deg, var(--orange-dark), var(--orange)); }
.painel-card:hover {
    transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent;
}
.painel-card:hover::before { transform: scaleX(1); }
.painel-icon {
    width: 64px; height: 64px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem;
}
.painel-professor .painel-icon { background: rgba(30, 64, 175, 0.1); color: var(--primary); }
.painel-aluno .painel-icon { background: rgba(249, 115, 22, 0.12); color: var(--orange-dark); }
.painel-icon svg { width: 32px; height: 32px; }
.painel-card h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 0.75rem; }
.painel-card p { color: var(--gray-500); font-size: 0.95rem; margin-bottom: 1.5rem; line-height: 1.65; }
.painel-link { font-weight: 700; font-size: 0.9rem; }
.painel-professor .painel-link { color: var(--primary); }
.painel-aluno .painel-link { color: var(--orange-dark); }

/* Footer */
.footer {
    background: linear-gradient(135deg, #0c1929, #172554);
    color: var(--gray-400);
    padding: 1.5rem 0;
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.footer .logo-img { height: 52px; }
.footer-copy {
    font-size: 0.78rem;
    line-height: 1.5;
    margin: 0;
}
/* Cookie Banner / LGPD */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 300;
    background: var(--white);
    border-top: 3px solid var(--orange);
    box-shadow: 0 -8px 30px rgba(15, 23, 42, 0.15);
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s ease, opacity 0.4s ease, visibility 0.4s;
}
.cookie-banner.is-visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}
.cookie-banner-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: flex-end;
    gap: 1.5rem;
}
.cookie-banner-content { flex: 1; min-width: 0; }
.cookie-banner h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.25rem;
}
.cookie-lgpd {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--orange-dark);
    margin-bottom: 0.65rem;
}
.cookie-text {
    max-height: 120px;
    overflow-y: auto;
    padding-right: 0.5rem;
}
.cookie-text p {
    font-size: 0.8rem;
    color: var(--gray-600);
    line-height: 1.55;
    margin-bottom: 0.5rem;
}
.cookie-text p:last-child { margin-bottom: 0; }
.cookie-accept {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-slider {
        margin-top: var(--top-h);
        height: auto;
        min-height: auto;
    }
    .hero-slider-track,
    .hero-slide.active {
        height: auto;
    }
    .hero-slide img {
        width: 100%;
        height: auto;
        max-height: none;
    }
    .slide {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        position: relative;
        inset: auto;
        transform: none;
        height: 0;
        overflow: hidden;
        margin: 0;
        padding: 0;
    }
    .slide.active {
        height: auto;
        overflow: visible;
    }
    .slider-track { min-height: 0; }
    .calendario-grid { grid-template-columns: 1fr; gap: 2rem; }
    .calendario-visual { min-height: 240px; }
    .calendario-visual img { min-height: 240px; }
    .busca-input-wrap { flex-wrap: wrap; padding: 0.75rem; }
    .busca-btn { width: 100%; }
    .painel-grid { grid-template-columns: 1fr; }
    .app-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .app-content > p { margin-left: auto; margin-right: auto; }
    .app-features { display: inline-block; text-align: left; }
    .store-badges { justify-content: center; }
}
@media (max-width: 768px) {
    :root {
        --header-h: 68px;
        --toolbar-h: 56px;
    }
    .toolbar { padding: 0; }
    .toolbar-inner {
        flex-direction: column;
        gap: 0.2rem;
        font-size: 0.78rem;
    }
    .toolbar-sep { display: none; }
    .logo-img { height: 44px; }
    .header.scrolled .logo-img { height: 42px; }
    .hero-slider-btn { width: 38px; height: 38px; }
    .hero-slider-prev { left: 0.5rem; }
    .hero-slider-next { right: 0.5rem; }
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(280px, 85vw);
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: calc(var(--top-h) + 1.25rem) 1.5rem 2rem;
        box-shadow: -8px 0 30px rgba(0, 0, 0, 0.12);
        transition: var(--transition);
        z-index: 150;
    }
    .nav-link {
        padding: 0.85rem 1rem;
        font-size: 1rem;
        color: var(--gray-600) !important;
        background: transparent !important;
    }
    .nav-link:hover,
    .nav-link:active {
        color: var(--primary) !important;
        background: rgba(30, 64, 175, 0.08) !important;
    }
    .nav-social {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--gray-200);
        justify-content: flex-start;
        gap: 0.75rem;
    }
    .nav-social-link {
        width: 42px;
        height: 42px;
    }
    .nav-social-link svg { width: 20px; height: 20px; }
    .nav.open { right: 0; }
    .menu-toggle { display: flex; }
    .footer-brand {
        flex-direction: column;
        text-align: center;
        gap: 0.65rem;
    }
    .footer .logo-img { height: 44px; }
    .footer-copy { font-size: 0.72rem; }
    .cookie-banner-inner {
        flex-direction: column;
        align-items: stretch;
        padding: 1rem 1.25rem;
    }
    .cookie-text { max-height: 100px; }
    .cookie-accept { width: 100%; }
}
