/* Custom CSS for FTD Saber Mais */

/* Color Variables */
:root {
    --primary-blue: #1e3a8a;
    --secondary-blue: #3b82f6;
    --orange: #f97316;
    --red: #dc2626;
    --pink: #ec4899;
    --yellow: #fbbf24;
    --purple: #8b5cf6;
    --gradient-orange: linear-gradient(#fba231, #ff6195);
    --gradient-pink: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
    --gradient-blue: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    --gradient-red: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Typography */
.section-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.text-primary-blue {
    color: var(--primary-blue) !important;
}

.text-orange {
    color: var(--orange) !important;
}

.text-red {
    color: var(--red) !important;
}

.text-pink {
    color: var(--pink) !important;
}

.bg-primary-blue {
    background-color: var(--primary-blue) !important;
}

.bg-orange {
    background-color: var(--orange) !important;
}

.bg-red {
    background-color: var(--red) !important;
}

/* NAVBAR ESCOLA PÚBLICA */
.navbar-escola {
    font-family: "Poppins", system-ui, -apple-system, sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

/* Itens padrão */
.navbar-escola .nav-link {
    position: relative;
    margin: 0 0.9rem;
    padding: 0.5rem 0;
    color: #174089;
    font-weight: 500;
    text-transform: none;
}

.navbar-escola .nav-link:hover,
.navbar-escola .nav-link:focus {
    color: #0b6cf0;
}

/* Underline animado */
.navbar-escola .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ffb200, #ff6b3d);
    transition: width 0.25s ease-out;
}

.navbar-escola .nav-link:hover::after,
.navbar-escola .nav-link.active::after {
    width: 100%;
}

/* Destaque para Revisa ENEM */
.navbar-escola .nav-link-highlight {
    padding: 0.45rem 1.2rem;
    margin-left: 1.5rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #ff8a00, #ff3d6b);
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.navbar-escola .nav-link-highlight::after {
    display: none;
}

.navbar-escola .nav-link-highlight:hover {
    filter: brightness(1.05);
}

.navbar .nav-link {
    white-space: nowrap;
}

.navbar .navbar-nav {
    flex-wrap: nowrap;
}

/* Mobile: diminuir espaçamento */
@media (max-width: 991.98px) {
    .navbar-escola .navbar-nav {
        padding-top: 0.75rem;
        flex-wrap: nowrap;
    }

    .navbar-escola .nav-link {
        margin: 0.25rem 0;
    }

    .navbar-escola .nav-link-highlight {
        margin: 0.5rem 0 0;
        align-self: flex-start;
    }
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.navbar-brand img {
    height: 50px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 1rem;
    color: var(--primary-blue) !important;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    padding: 0.5rem 1rem !important;
    border-radius: 25px;
}

.navbar-nav .nav-link:hover {
    background-color: var(--orange);
    color: white !important;
    border-color: var(--orange);
}


/* ===== CSS INÍCIO: Materiais Complementares ===== */

/* Section base */
.mc-section {
    background: #fff;
    overflow: hidden;
}

/* FUNDO VERMELHO ANCORADO À ESQUERDA */
.mc-bg-left {
    background: #D82F2F;
    width: calc(100% - 120px);
    /* cria o espaço branco à direita */
    border-radius: 0 80px 80px 0;
    /* arredondamento SOMENTE no lado direito */
    padding: 70px 0 90px;
}

/* Conteúdo interno centralizado */
.mc-content {
    max-width: 1200px;
}

/* Título */
.mc-title {
    color: #FFC400;
    font-weight: 900;
    text-transform: uppercase;
}

.mc-title-line1 {
    font-size: clamp(22px, 3vw, 36px);
}

.mc-title-line2 {
    font-size: clamp(20px, 2.6vw, 34px);
}

.mc-play {
    width: 0;
    height: 0;
    border-left: 18px solid #FFC400;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-top: 6px;
}

/* Imagens dos livros */
.mc-books {
    max-width: 100%;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .25));
}

/* Cards azuis */
.mc-card {
    background: #1E4FA3;
    color: #fff;
    border-radius: 16px 16px 48px 16px;
    padding: 18px 20px;
    max-width: 340px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .25);
}

.mc-card-right {
    border: 3px solid #FFC400;
}

/* Texto interno */
.mc-card-title {
    font-style: italic;
    font-weight: 800;
}

.mc-sub {
    font-size: 13px;
    font-weight: 700;
}

.mc-card-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13px;
}

.mc-num {
    font-size: 36px;
    font-weight: 900;
    line-height: 1;
}

/* Responsivo */
@media (max-width: 991px) {
    .mc-bg-left {
        width: 100%;
        border-radius: 0 0 40px 40px;
    }
}

/* ===== CSS FIM: Materiais Complementares ===== */

/* Hero Section */
.hero-section {
    background: var(--gradient-orange);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="dots" x="0" y="0" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="3" fill="%23ffffff" opacity="0.3"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots)"/></svg>');
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 2rem;
}

.hero-badge .badge {
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    padding: 1.5rem;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-decorations {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}



.hero-decorations::before {
    content: '';
    position: absolute;
    bottom: 20%;
    left: 5%;
    width: 100px;
    height: 100px;
    background: var(--pink);
    border-radius: 50%;
    opacity: 0.6;
}

/* Proposta Pedagógica Section */
.proposta-section {
    background: var(--gradient-orange);
    color: white;
}

.video-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-blue);
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-cta {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--red);
    color: white;
    padding: 1rem 2rem;
    border-radius: 15px;
    font-weight: 600;
}

.proposta-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.whatsapp-float {
    position: fixed;
    width: 65px;
    height: 65px;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    border-radius: 50%;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    border: 3px solid #fff;
    transition: all 0.3s ease;
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
    filter: brightness(0) invert(1);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    background-color: #20c25d;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }

    100% {
        transform: scale(1);
    }
}

/*Solução home jon*/
.text {
    width: 100%;
}

.nav-link-home {
    position: relative;
    background-image: url(../img/home.png);
    background-repeat: no-repeat;
    background-position: 6px 16px;
    padding: 0px 17px 45px;
    background-size: 30px;
    padding-left: 28px;
    color: #333;
    text-decoration: none;
    display: unset;
}

nav.navbar-edu {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.navbar-edu-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 10px 0;
}

.navbar-edu-menu .nav-edu-link:hover {
    color: #ffeb3b;
}


.edu-sections {
    display: flex;
    height: 100vh;
}


.edu-column {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    cursor: pointer;
}


.edu-column:hover {
    filter: brightness(1.1);
}


.edu-column img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}


.edu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}


.edu-btn {
    position: absolute;
    padding: 14px 54px;
    font-weight: bold;
    color: #ffffff;
    border: 2px solid white;
    border-radius: 6px;
    background: transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-transform: uppercase;
    background-color: #5f2ded;
}


.edu-btn:hover {
    background: white;
    color: black;
}


@media (max-width: 768px) {
    .edu-sections {
        flex-direction: column;
        height: 100vh;
    }

    .edu-column {
        height: 50vh;
    }
}

/*Fim solução home*/

/* Soluções Educacionais Section */
.solucoes-section {
    background: #f8f9fa;
}

.solucao-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.solucao-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
}

/* Material Didático Section */
.material-section {
    background: linear-gradient(#f18659, #ed6d83);
    color: white;
    text-align: center;
}

/* Anos Iniciais Section */
.anos-iniciais-section {
    background: #f8f9fa;
    position: relative;
}

.material-info {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.material-info h4 {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 1rem;
}

.material-card-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.material-info-card {
    display: flex;
    gap: 2rem;
}

.info-student,
.info-teacher {
    background: var(--gradient-pink);
    color: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    flex: 1;
}

.info-teacher {
    background: var(--gradient-blue);
}

.number {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    margin: 1rem 0;
}

/* Complementares Section */
.complementares-section {
    background: var(--primary-blue);
    color: white;
}

.complementar-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}

.complementar-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.complementar-card h4 {
    color: var(--orange);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.card-info {
    background: var(--gradient-pink);
    padding: 1.5rem;
    border-radius: 15px;
    margin-top: 1rem;
}

/* ===== CSS INÍCIO: saber-mais-section ===== */

.saber-mais-section {
    background: #fff;
    overflow: hidden;
}

/* ---------- TOPO / ESQUERDA ---------- */
.hero-left {
    min-height: 460px;
    max-width: 520px;
}

.student-img {
    width: 78%;
    max-width: 420px;
    height: auto;
    display: block;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 18px 35px rgba(0, 0, 0, .14));
}

.yellow-blob {
    position: absolute;
    right: 10%;
    top: 22%;
    width: 320px;
    height: 260px;
    background: #FFC72C;
    border-radius: 52% 48% 55% 45% / 45% 55% 45% 55%;
    z-index: 1;
}

.launch-badge {
    position: absolute;
    left: 0;
    top: 0;
    width: 150px;
    height: 150px;
    background: #F28C00;
    border-radius: 999px;
    z-index: 3;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transform: translate(8%, 12%);
}

.launch-badge .heart {
    position: absolute;
    top: 16px;
    font-size: 18px;
    opacity: .9;
}

.launch-badge .txt1,
.launch-badge .txt2 {
    font-weight: 800;
    letter-spacing: .5px;
    font-size: 22px;
    line-height: 1;
}

.launch-badge .txt2 {
    margin-top: 2px;
}

.launch-badge .chev {
    margin-top: 8px;
    font-weight: 900;
    opacity: .9;
}

/* ===== SECTION INÍCIO: ionica-section ===== */
.ionica-section {
    position: relative;
    background: #fff;
    overflow: hidden;
}

a.pagina-inicial {
    text-align: center;
    text-decoration: none;
}

/* Define aqui a imagem única (mock + livros) */
.ionica-section {
    --ionica-art-url: url("../img/sistema-particular.png");
    /* <-- ajuste o caminho */
}

/* Coluna da direita vira uma "área de arte" grande */
.ionica-art {
    width: 100%;
    min-height: 420px;
    /* altura base desktop */
    height: 52vh;
    /* cresce com a tela */
    max-height: 560px;
    /* limita pra não ficar gigante demais */
    position: relative;

    background-image: var(--ionica-art-url);
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
    /* NÃO corta a arte; apenas cresce */
}

/* Se quiser preencher mais e aceitar corte, troque contain por cover */
/*
  .ionica-art{ background-size: cover; }
  */

/* Responsivo */
@media (max-width: 991.98px) {
    .ionica-art {
        height: 44vh;
        min-height: 320px;
        background-position: center;
    }
}

@media (max-width: 575.98px) {
    .ionica-art {
        height: 320px;
        min-height: 280px;
    }
}

/* ===== SECTION FIM: ionica-section ===== */
.ionica-pill {
    position: absolute;
    left: 30%;
    bottom: -10px;
    z-index: 4;
    background: #203B8F;
    color: #fff;
    border-radius: 999px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    width: min(360px, 92%);
}

.ionica-pill .icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .12);
    display: grid;
    place-items: center;
    color: #FFC72C;
    flex: 0 0 auto;
}

.ionica-pill .small {
    font-size: 12px;
    line-height: 1.15;
    opacity: .95;
}

.ionica-pill .brand {
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
    margin-top: 2px;
}

.pink-bubbles {
    position: absolute;
    left: 56%;
    bottom: 22px;
    width: 120px;
    height: 56px;
    background:
        radial-gradient(circle at 20% 60%, rgba(255, 105, 180, .28), transparent 52%),
        radial-gradient(circle at 55% 35%, rgba(255, 105, 180, .22), transparent 55%),
        radial-gradient(circle at 85% 60%, rgba(255, 105, 180, .18), transparent 55%);
    z-index: 3;
    pointer-events: none;
}

.red-arrows {
    position: absolute;
    left: 22%;
    bottom: 48px;
    color: #FF3B30;
    font-weight: 900;
    font-size: 28px;
    z-index: 3;
    opacity: .85;
    letter-spacing: -3px;
}

/* ---------- TOPO / DIREITA ---------- */
.hero-right {
    padding-left: 10px;
    max-width: 600px;
}

.hero-title {
    font-weight: 900;
    letter-spacing: .5px;
    color: #FF3B30;
    font-size: clamp(32px, 4vw, 54px);
    line-height: .95;
}

.hero-text {
    color: #6B7280;
    font-size: 15px;
    line-height: 1.6;
    max-width: 520px;
}

.hero-cta {
    color: #FF3B30;
    text-decoration: none;
    font-weight: 900;
    letter-spacing: .5px;
    font-size: 20px;
    line-height: 1.05;
}

.hero-cta:hover {
    text-decoration: underline;
}

.play {
    width: 0;
    height: 0;
    border-left: 14px solid #FF3B30;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    display: inline-block;
    transform: translateY(1px);
}

.purple-x {
    position: absolute;
    right: 10px;
    top: -6px;
    width: 72px;
    height: 72px;
    background:
        linear-gradient(45deg, #2B2166 0 100%),
        linear-gradient(-45deg, #2B2166 0 100%);
    -webkit-mask:
        linear-gradient(#000 0 0) center/100% 28% no-repeat,
        linear-gradient(#000 0 0) center/28% 100% no-repeat;
    mask:
        linear-gradient(#000 0 0) center/100% 28% no-repeat,
        linear-gradient(#000 0 0) center/28% 100% no-repeat;
    border-radius: 10px;
    opacity: .95;
}

/* ---------- PARTE DE BAIXO ---------- */
.bottom-area {
    padding-top: 10px;
}

.books-wrap {
    max-width: 680px;
}

.books-img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .12));
    border-radius: 18px;
}

.bottom-right {
    min-height: 360px;
    max-width: 720px;
}

.purple-chevrons {
    position: absolute;
    top: -10px;
    left: 60px;
    color: #2B2166;
    font-weight: 900;
    letter-spacing: -2px;
    font-size: 28px;
    opacity: .9;
}

.dot-grid {
    position: absolute;
    left: 0;
    top: 20px;
    width: 180px;
    height: 110px;
    background-image: radial-gradient(rgba(120, 120, 120, .35) 1.6px, transparent 1.6px);
    background-size: 12px 12px;
    opacity: .35;
    border-radius: 14px;
}

.yellow-card {
    position: relative;
    background: #F5A300;
    border-radius: 48px;
    padding: 34px 34px;
    margin-left: auto;
    width: 100%;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .08);
}

.card-title {
    color: #fff;
    font-weight: 900;
    letter-spacing: .4px;
    font-size: 13px;
    margin-bottom: 10px;
}

.card-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.num {
    color: #fff;
    font-weight: 900;
    font-size: 46px;
    line-height: 1;
    margin-top: -6px;
    min-width: 30px;
}

.desc {
    color: #fff;
    font-size: 13px;
    line-height: 1.45;
    opacity: .95;
}

.plus {
    font-size: 12px;
    line-height: 1.5;
    opacity: .95;
}

/* clip verde (feito em CSS) */
.paper-clip {
    position: absolute;
    right: 72px;
    bottom: -8px;
    width: 58px;
    height: 58px;
    border: 6px solid #39C65A;
    border-radius: 18px;
    transform: rotate(18deg);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .10);
}

.paper-clip::after {
    content: "";
    position: absolute;
    left: 14px;
    top: 14px;
    width: 26px;
    height: 26px;
    border: 6px solid #39C65A;
    border-radius: 14px;
}

/* ---------- RESPONSIVO ---------- */
@media (max-width: 991.98px) {
    .hero-left {
        min-height: 400px;
    }

    .yellow-blob {
        right: 8%;
        top: 26%;
        width: 280px;
        height: 230px;
    }

    .launch-badge {
        transform: translate(0, 0);
    }

    .ionica-pill {
        left: 12%;
    }

    .bottom-right {
        min-height: unset;
    }

    .dot-grid {
        display: none;
    }

    .paper-clip {
        right: 24px;
        bottom: -18px;
    }
}

/* ===== CSS FIM: saber-mais-section ===== */


/* ===== CSS INÍCIO: iônica section (BG atrás do notebook) ===== */

.ionica-section {
    background: #fff;
    overflow: hidden;
}

/* --------- ESQUERDA --------- */
.ionica-logo {
    font-weight: 900;
    font-size: 44px;
    letter-spacing: -1px;
    line-height: 1;
    background: linear-gradient(90deg, #3B0C95 0%, #B80AD3 45%, #FF4A00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.ionica-text {
    max-width: 380px;
    color: #6B7280;
    font-size: 13px;
    line-height: 1.6;
}

.ionica-btn {
    background: #F6D21A;
    border: none;
    color: #111;
    font-weight: 800;
    border-radius: 999px;
    padding: 10px 22px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
}

.ionica-btn:hover {
    background: #f2c900;
    color: #111;
}

/* cursor azul */
.ionica-cursor {
    position: absolute;
    left: 210px;
    top: 34px;
    width: 22px;
    height: 22px;
    background:
        linear-gradient(#1E40FF, #1E40FF) 10px 2px/2px 14px no-repeat,
        linear-gradient(#1E40FF, #1E40FF) 2px 10px/14px 2px no-repeat;
    transform: rotate(12deg);
    opacity: .9;
}

.ionica-cursor::after {
    content: "";
    position: absolute;
    left: 2px;
    top: 2px;
    width: 18px;
    height: 18px;
    border: 2px solid #1E40FF;
    border-left: 0;
    border-bottom: 0;
    transform: rotate(20deg);
    opacity: .9;
}

/* --------- DIREITA --------- */
.ionica-right {
    min-height: 520px;
}

/* BG “mancha” atrás do notebook (roxo/rosa/laranja) + brilho branco */
.ionica-bg {
    position: absolute;
    right: -120px;
    top: 10px;
    width: 560px;
    height: 560px;
    border-radius: 58% 42% 56% 44% / 44% 54% 46% 56%;
    background:
        radial-gradient(circle at 26% 33%, rgba(255, 255, 255, .95) 0 30%, rgba(255, 255, 255, 0) 55%),
        radial-gradient(circle at 78% 60%, rgba(255, 255, 255, .25) 0 18%, rgba(255, 255, 255, 0) 46%),
        linear-gradient(135deg, #6A00FF 0%, #FF00A8 45%, #FF6A00 100%);
    z-index: 0;
    opacity: .98;
    filter: saturate(1.05);
}

/* pontilhado branco em “cruzinhas” no lado direito do bg */
.ionica-bg-dots {
    position: absolute;
    right: 110px;
    top: 120px;
    width: 190px;
    height: 210px;
    opacity: .55;
    /* padrão de “+” */
    background:
        linear-gradient(rgba(255, 255, 255, .85), rgba(255, 255, 255, .85)) center/2px 10px no-repeat,
        linear-gradient(rgba(255, 255, 255, .85), rgba(255, 255, 255, .85)) center/10px 2px no-repeat;
    background-size: 12px 12px;
    background-repeat: repeat;
    border-radius: 14px;
    mask: radial-gradient(circle at 50% 50%, #000 0 65%, transparent 78%);
}

/* Círculo laranja atrás do notebook */
.ionica-orange-circle {
    position: absolute;
    left: 38%;
    bottom: 78px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle at 40% 35%, #FF7A00 0%, #FF4A00 55%, #FF2F00 100%);
    border-radius: 999px;
    z-index: 1;
    opacity: .98;
}

/* Mockup */
.ionica-mockup {
    width: min(760px, 100%);
    display: block;
    margin-left: auto;
    position: relative;
    z-index: 3;
    filter: drop-shadow(0 24px 55px rgba(0, 0, 0, .22));
}

/* cápsulas gradiente */
.ionica-pill {
    position: absolute;
    border-radius: 999px;
    z-index: 2;
    background: linear-gradient(135deg, #6A00FF, #FF00A8, #FF6A00);
    padding: 6px;
    filter: drop-shadow(0 14px 20px rgba(0, 0, 0, .10));
}

.ionica-pill::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 999px;
    background: #fff;
}

.ionica-pill-1 {
    width: 64px;
    height: 38px;
    left: 38%;
    top: 70px;
}

.ionica-pill-2 {
    width: 78px;
    height: 46px;
    left: 58%;
    top: 18px;
}

.ionica-pill-3 {
    width: 130px;
    height: 74px;
    right: 34px;
    bottom: 30px;
}

/* setinhas amarelas embaixo */
.ionica-bottom-arrows {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    width: 420px;
    height: 20px;
    background:
        linear-gradient(135deg, transparent 55%, #F6D21A 56% 63%, transparent 64%) 0 0/16px 20px repeat-x;
    opacity: .95;
}

/* Responsivo */
@media (max-width: 991.98px) {
    .ionica-right {
        min-height: 420px;
    }

    .ionica-bg {
        right: -180px;
        width: 480px;
        height: 480px;
        top: 0;
    }

    .ionica-orange-circle {
        left: 18%;
        bottom: 60px;
        width: 210px;
        height: 210px;
    }

    .ionica-text {
        max-width: 100%;
    }
}

/* ===== CSS FIM: iônica section (BG atrás do notebook) ===== */


.ionica-logo h2 {
    font-size: 4rem;
    font-weight: 300;
    color: white;
    margin-bottom: 2rem;
}

.btn-primary {
    background: var(--orange);
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--yellow);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Contact Section */
.contact-section {
    background: var(--gradient-orange);
    color: white;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.form-control {
    border: none;
    border-radius: 10px;
    padding: 1rem;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
    border-color: transparent;
}

.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.form-check-label {
    color: white;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 4rem;
    }

    .section-title {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .section-title {
        font-size: 2.8rem;
    }

    .hero-section {
        padding-top: 120px;
        text-align: center;
    }

    .material-card-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .material-info-card {
        flex-direction: column;
        gap: 1rem;
    }

    .estrutura-card {
        flex-direction: column;
        text-align: center;
    }

    .estrutura-info {
        flex-direction: column;
        gap: 1rem;
    }

    .lancamento-badge {
        margin-bottom: 2rem;
    }

    .navbar-nav {
        text-align: center;
        padding: 1rem 0;
    }

    .navbar-nav .nav-link {
        margin: 0.5rem 0;
        display: block;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
        margin-bottom: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }

    .section-title {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    .hero-section {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 3rem;
    }

    .hero-badge .badge {
        font-size: 0.9rem;
        padding: 1rem;
        width: 120px;
        height: 120px;
    }

    .video-container {
        margin-bottom: 2rem;
    }

    .play-button {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .video-cta {
        bottom: 10px;
        left: 10px;
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .solucoes-cards {
        margin-top: 2rem;
    }

    .solucao-card {
        margin-bottom: 1.5rem;
    }

    .card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin: 0 auto 1rem;
    }

    .complementar-card {
        margin-bottom: 2rem;
    }

    .ionica-logo h2 {
        font-size: 3rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .lancamento-badge .badge {
        width: 120px;
        height: 120px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero-section {
        padding-top: 80px;
        padding-bottom: 2rem;
    }

    .hero-badge .badge {
        font-size: 0.8rem;
        padding: 0.8rem;
        width: 100px;
        height: 100px;
    }

    .navbar-nav .nav-link {
        margin: 0.25rem 0;
        padding: 0.75rem 1rem !important;
        font-size: 0.9rem;
    }

    .navbar-brand img {
        height: 40px;
    }

    .proposta-content p,
    .anos-iniciais-section p,
    .anos-finais-section p {
        font-size: 1rem;
    }

    .video-cta h4 {
        font-size: 1rem;
    }

    .video-cta p {
        font-size: 0.8rem;
    }

    .play-button {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .number {
        font-size: 3rem;
    }

    .info-student,
    .info-teacher {
        padding: 1.5rem;
    }

    .complementar-card {
        padding: 1.5rem;
    }

    .card-info {
        padding: 1rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .form-control {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .btn-primary {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .ionica-logo h2 {
        font-size: 2.5rem;
    }

    .lancamento-badge .badge {
        width: 100px;
        height: 100px;
        font-size: 0.9rem;
    }
}

@media (max-width: 400px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .hero-section {
        padding-top: 70px;
    }

    .contact-form {
        padding: 1rem;
    }

    .complementar-card,
    .solucao-card {
        padding: 1rem;
    }

    .info-student,
    .info-teacher {
        padding: 1rem;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .navbar-nav .nav-link:hover {
        background-color: transparent;
        color: var(--primary-blue) !important;
    }

    .navbar-nav .nav-link:active {
        background-color: var(--orange);
        color: white !important;
    }

    .btn-primary:hover {
        background: var(--orange);
        transform: none;
    }

    .btn-primary:active {
        background: var(--yellow);
        transform: scale(0.98);
    }

    .solucao-card:hover,
    .complementar-card:hover {
        transform: none;
    }

    .play-button:hover {
        transform: translate(-50%, -50%);
    }

    .play-button:active {
        transform: translate(-50%, -50%) scale(0.95);
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {

    .hero-decorations::after,
    .hero-decorations::before {
        transform: scale(0.8);
    }
}

/* Landscape orientation on mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        min-height: 70vh;
        padding-top: 80px;
        padding-bottom: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .hero-badge .badge {
        font-size: 0.7rem;
        padding: 0.5rem;
        width: 80px;
        height: 80px;
    }
}

/* Fundo escuro */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Caixa do vídeo */
.video-container {
    position: relative;
    width: 80%;
    max-width: 800px;
}

.video-container iframe {
    width: 100%;
    height: 450px;
    border: none;
    border-radius: 8px;
}

/* Botão de fechar */
.close-btn {
    position: absolute;
    top: 0px;
    right: 6px;
    font-size: 25px;
    color: white;
    cursor: pointer;
    font-weight: bold;
    background: rgb(219 3 3 / 60%);
    border-radius: 50%;
    padding: 0px 11px;
}

/* Thumbnail do vídeo */
.video-thumb {
    position: relative;
    display: inline-block;
    cursor: pointer;
    width: 100%;
    height: 357px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Botão de play central */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 60px;
    color: white;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    padding: 20px;
    pointer-events: none;
    /* deixa clicável em qualquer lugar */
}

section#proposta {
    background-color: linear-gradient(#f6a131, #f1855a) !important;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--orange);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--red);
}