/* ----------------------------------------------------------------
    FONTS
---------------------------------------------------------------- */
@font-face {
    font-family: 'REM';
    src: url('../fonts/REM[wght].ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
}

@font-face {
    font-family: 'REM';
    src: url('../fonts/REM-Italic[wght].ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
}

:root {
    --ipasgo-green: #256a42;
    --ipasgo-green-dark: #12281a;
    --ipasgo-green-light: #8dc63f;
    --ipasgo-gold: #c19d2f;
    --ipasgo-white: #ffffff;
    --ipasgo-grey: #f5f5f5;
    --ipasgo-accent: #83A83E;
    --font-main: 'REM', sans-serif;
}

/* Utilitários para Ícones */
.icon-svg {
    height: 2.3em;
    width: auto;
    vertical-align: middle;
    display: inline-block;
}

/* Reset Standalone */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background-color: var(--ipasgo-grey);
    background-image: url('../images/landing-page/background.png');
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

/* Header Standalone (img1) */
.lp-header {
    background: rgba(250, 246, 240, 0.95);
    backdrop-filter: blur(8px);
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

@media (min-width: 992px) {
    .lp-header {
        position: fixed;
        top: 20px;
        width: 95%;
        max-width: 1200px;
        margin: 0 auto;
        border-radius: 12px;
    }

    #hero {
        margin-top: 80px;
    }
}

.lp-header.menu-open {
    border-radius: 0; /* No mobile barra cheia */
    width: 100%;
}

@media (min-width: 992px) {
    .lp-header.menu-open {
        border-radius: 12px 12px 0 0;
    }
}

.lp-mobile-menu-toggle {
    color: #2b6538;
}

/* Cores Customizadas para Dependentes */
.border-ipasgo-light {
    border-color: #8dc63f !important; /* Verde lima/claro */
}

.bg-ipasgo-light {
    background-color: #8dc63f !important;
}

/* Print Area Styling */
#print-area {
    display: none;
}

.lp-mobile-nav {
    display: none;
    flex-direction: column;
    padding: 20px;
    background: rgba(250, 246, 240, 0.98);
    border-top: 1px solid rgba(0,0,0,0.05);
    border-radius: 0 0 12px 12px;
}

.lp-mobile-nav.active {
    display: flex;
}

.lp-mobile-nav .lp-nav-link {
    padding: 15px 0;
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.lp-logo img {
    height: 60px;
}

.lp-nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

.lp-nav-link {
    color: var(--ipasgo-green);
    text-decoration: none;
    font-weight: 500;
}

/* Global Section Styles */
.lp-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.lp-bg-green {
    background-color: rgba(18, 40, 26, 0.85);
    backdrop-filter: blur(5px);
    color: var(--ipasgo-white);
}

.lp-bg-grey {
    background-color: rgba(245, 245, 245, 0.85);
    backdrop-filter: blur(5px);
}

.bg-white {
    background-color: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(5px);
}

.bg-light {
    background-color: rgba(248, 249, 250, 0.85) !important;
    backdrop-filter: blur(5px);
}

/* ----------------------------------------------------------------
    SECTIONS
---------------------------------------------------------------- */
/* Removed old .lp-section-rede background block */
.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 6rem;
    line-height: 1;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    color: #1c6836;
}

.stat-label {
    font-size: 1.5rem;
    line-height: 1.2;
    color: #1c6836;
}

/* Clube de Vantagens */
.lp-list-vantagens li i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lp-list-vantagens li span {
    letter-spacing: -0.5px;
}

/* Section 1: Hero (Visual Renovado) */
.hero-leads {
    background: transparent;
    padding: 100px 0 50px;
    color: var(--ipasgo-green-dark);
}

.title-hero {
    color: #1c6836 !important;
    line-height: 1.1;
    font-weight: 900;
}

.description-hero {
    font-size: 1.25rem;
    color: #4a5568;
    max-width: 600px;
}

.btn-hero-primary {
    background: linear-gradient(45deg, #8ea427 0%, #006633 100%);
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    border-radius: 12px;
    border: none;
    transition: all 0.3s ease;
}

.btn-hero-primary:hover {
    transform: translateY(-5px);
    filter: brightness(1.1);
    color: white;
}

.hero-family-img {
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.1));
}

.especialista-box {
    background: white;
    border-radius: 20px;
    position: absolute;
    bottom: -20px;
    right: -20px;
    max-width: 320px;
    z-index: 2;
}

.btn-especialista {
    background: linear-gradient(136deg, #c19d2f 0%, #836b1d 100%);
    color: white;
    border: none;
    border-radius: 10px;
}

.btn-especialista:hover {
    filter: brightness(1.2);
    color: white;
}

/* Badges Base */
.hero-badges-row {
    margin-top: 50px;
}

.hero-badge-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease;
}

.hero-badge-card:hover {
    transform: translateY(-10px);
}

.badge-subtitle {
    color: #1c6836;
    font-size: 1.1rem;
    display: block;
}

.badge-accent {
    height: 3px;
    background: #8dc63f;
    margin: 0 auto;
}

.hero-box {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.btn-leads {
    padding: 15px 30px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-leads-green {
    background: linear-gradient(45deg, #8ea427 0%, #006633 100%);
    color: white;
    border: none;
}

.btn-leads-green:hover {
    filter: brightness(1.1);
    transform: translateY(-3px);
    color: white;
}

/* Section 2: Aderir (Design Vertical) */
.badge-tag-oliva {
    background-color: #c1d09b;
    color: white;
    padding: 8px 30px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 2px;
    display: inline-block;
    border-radius: 0 50px 50px 0;
    margin-left: -15px;
}

@media (max-width: 768px) {
    .badge-tag-oliva {
        font-size: 0.9rem;
        padding: 6px 20px;
    }
}

.lp-card-aderir {
    background: white;
    padding: 40px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.lp-card-aderir:hover {
    transform: translateY(-5px);
}

.card-icon-area i {
    color: #8dc63f;
    /* Verde mais claro para o ícone conforme print */
}

.card-divider {
    height: 2px;
    width: 100%;
    background-color: #d6dab8;
}

.card-title-aderir {
    color: #4a5568;
    font-size: 1.2rem;
    line-height: 1.3;
}

/* Section 3: Funcionamento (Passos) */
.lp-card-step {
    background: white;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    text-align: left;
    transition: transform 0.3s ease;
}

.lp-card-step:hover {
    transform: translateY(-5px);
}

.step-number {
    font-size: 6rem;
    font-weight: 800;
    color: #1c6836;
    line-height: 1;
}

.step-title {
    color: #718096;
    font-size: 1.5rem;
    text-transform: none;
    line-height: 1.2;
}

.step-description {
    font-size: 1rem;
    color: #718096;
    line-height: 1.5;
}

/* Reduções de regressão */
.lp-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.lp-step-num {
    font-size: 3rem;
    font-weight: 900;
    color: var(--ipasgo-green-dark);
    margin-bottom: 10px;
}

/* Section 4: Planos (Design de Cards Detalhados) */
.plano-card-detail {
    border-radius: 15px;
    padding: 30px 20px;
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.plano-card-detail:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

.text-ipasgo-dark {
    color: #1c6836 !important;
    /* Verde profundo Ipasgo */
}

/* Reduções de regressão */

.plano-price {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--ipasgo-green-dark);
}

/* Section 4: Rede (img4) */
.rede-stats {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);

    color: var(--ipasgo-green-dark);
    padding: 80px 0;
}

.stat-item h2 {
    font-size: 3.5rem;
    font-weight: 800;
}

/* Section 6 & 8: Carousel */
.carousel-leads img {
    width: 100%;
    border-radius: 15px;
}

/* Section 9: Form (img9) */
.leads-form-container {
    background: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 20px;
}

.form-control-leads {
    height: 50px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.btn-leads-submit {
    background: linear-gradient(45deg, #8ea427 0%, #006633 100%);
    color: white;
    border: none;
    font-size: 1.2rem;
}

/* Section 10: Footer (img10) */
.lp-footer {
    background-color: rgba(18, 40, 26, 0.95);
    backdrop-filter: blur(5px);
    color: white;
    padding: 40px 0;
}

.footer-link {
    color: white;
    text-decoration: none;
    display: block;
    margin: 5px 0;
}

.footer-link:hover {
    color: var(--ipasgo-green-light);
}

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

    .especialista-box {
        position: relative;
        bottom: 0;
        right: 0;
        margin: 20px auto 0;
        max-width: 100%;
    }

    .hero-badges-row {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-leads {
        padding: 40px 0;
        text-align: center;
    }

    .title-hero {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }

    .description-hero {
        margin-left: auto;
        margin-right: auto;
        font-size: 1.1rem;
    }

    .hero-badges-row {
        padding-top: 40px;
        padding-bottom: 30px;
    }
}

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

    .py-150 {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }
    
    .mt-100 {
        margin-top: 40px !important;
    }

    .pb-50 {
        padding-bottom: 20px !important;
    }

    .pt-100 {
        padding-top: 40px !important;
    }
}

.lp-service-card {
    background: #f37623;
    /* Laranja baseado na referência */
    padding: 20px;
    /* Reduzindo padding para a imagem ocupar mais espaço como na referência */
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    max-width: 900px;
    margin: 20px auto 80px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lp-service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 45px 80px rgba(0, 0, 0, 0.5);
}

.lp-service-card img {
    max-height: 280px;
    width: auto !important;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.05));
    transition: transform 0.4s ease;
}

.lp-service-card:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .lp-service-card {
        padding: 30px 20px;
        min-height: auto;
        margin: 20px;
    }

    .lp-service-card img {
        max-height: 300px;
        width: 100% !important;
        height: auto !important;
    }

    .lp-carousel-leads .row {
        min-height: auto !important;
        padding: 40px 15px !important;
    }

    .lp-carousel-leads .item img {
        max-height: 350px !important;
        width: 100% !important;
        height: auto !important;
        object-fit: contain;
    }
}

/* Section 9: Formulário - Imagem Fale Conosco */
.contact-image-wrapper {
    position: relative;
    display: inline-block;
    padding: 10px;
    /* Cria a borda branca */
    background: white;
    border-radius: 5px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.contact-main-img {
    border-radius: 2px;
    display: block;
}

.contact-top-label {
    position: absolute;
    top: -15px;
    left: 10%;
    background-color: #d1d8a8;
    /* Verde/oliva claro da referência */
    color: white;
    padding: 8px 30px;
    font-weight: 900;
    font-size: 1.1rem;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 2px;
}

.btn-float-simular {
    position: absolute;
    bottom: -22px;
    left: 10%;
    background: linear-gradient(130deg, #8ea427 30%, #006633 100%);
    color: white;
    font-weight: 900;
    font-size: 1.1rem;
    padding: 15px 25px;
    border-radius: 8px;
    border: 3px solid white;
    /* Borda branca na imagem */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.btn-float-simular:hover {
    transform: translateY(-5px);
    color: white;
}

.btn-float-simular i {
    font-size: 1.8rem;
    color: #1a1a1a;
}

@media (max-width: 991px) {
    .btn-float-simular {
        left: 50%;
        transform: translateX(-50%);
        width: max-content;
    }

    .btn-float-simular:hover {
        transform: translate(-50%, -5px);
    }
}

/* ----------------------------------------------------------------
    SECTION 9: NOSSAS UNIDADES (Galeria)
---------------------------------------------------------------- */
.unit-thumb {
    cursor: pointer;
    position: relative;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.thumb-wrapper {
    overflow: hidden;
    border-radius: 12px;
    background: #000;
}

.unit-thumb img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    opacity: 0.7;
    transition: all 0.5s ease;
    display: block;
}

.unit-thumb:hover img {
    opacity: 0.9;
    transform: scale(1.05);
}

.unit-thumb.active img {
    opacity: 1;
}

.unit-preview-container {
    background: #fff;
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.unit-preview-container img {
    border-radius: 10px;
    transition: opacity 0.4s ease;
}

#unit-main-image {
    min-height: 450px;
    object-fit: cover;
}

/* Custom Dots for Unit Galery */
.custom-unit-dots {
    gap: 15px;
}

.custom-unit-dots .custom-dot {
    width: 60px;
    height: 4px;
    background: #d1d8a8;
    border-radius: 2px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.custom-unit-dots .custom-dot.active,
.custom-unit-dots .custom-dot:hover {
    background: var(--ipasgo-green);
}

.unit-thumb.active img {
    border: 2px solid var(--ipasgo-green);
    padding: 2px;
}

@media (max-width: 768px) {
    #unit-main-image {
        min-height: 250px;
    }
}

/* ==========================================================================
   CAROUSEL OVERRIDES (Owl Carousel)
   ========================================================================== */
.planos-carousel .owl-stage {
    display: flex;
    align-items: stretch;
}

.planos-carousel .owl-item {
    display: flex;
}

.planos-carousel .item-plano {
    width: 100%;
}

.planos-carousel .owl-dots {
    margin-top: 30px !important;
    text-align: center;
}

.planos-carousel .owl-dot span {
    width: 25px !important;
    height: 5px !important;
    border-radius: 2px !important;
    background: #d1d8a8 !important;
    transition: all 0.3s ease !important;
}

.planos-carousel .owl-dot.active span {
    background: var(--ipasgo-green) !important;
    width: 40px !important;
}

@media (max-width: 991px) {
    .planos-carousel {
        padding-bottom: 20px;
    }

    /* No mobile, items com largura exata — sem stretch que quebraria o layout */
    .planos-carousel .owl-stage {
        align-items: flex-start;
    }
    
    /* Garante que o card ocupa toda a largura do item */
    .planos-carousel .item-plano {
        display: flex;
        width: 100%;
    }

    .planos-carousel .plano-card-detail {
        width: 100%;
    }
}


/* ==========================================================================
   IPASGO SIMULATOR LOGIC
   ========================================================================== */

/* ==========================================================================
   4.1 SIMULADOR DE VALORES - ESTILOS
   ========================================================================== */

.simulator-wrapper {
    background-color: #fff;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.simulator-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.simulator-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.form-control-leads {
    border: 2px solid #eef0e2;
    border-radius: 12px;
    padding: 12px 16px;
    font-family: 'REM', sans-serif;
    transition: all 0.3s ease;
}

.form-control-leads:focus {
    border-color: var(--ipasgo-green);
    box-shadow: 0 0 0 4px rgba(37, 106, 66, 0.1);
    outline: none;
}

.summary-box {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

#cart-items {
    scrollbar-width: thin;
    scrollbar-color: var(--ipasgo-green) #f1f1f1;
}

#cart-items::-webkit-scrollbar {
    width: 6px;
}

#cart-items::-webkit-scrollbar-thumb {
    background: var(--ipasgo-green);
    border-radius: 10px;
}

.cart-item {
    border-bottom: 1px solid #f1f1f1;
    padding: 15px 0;
}

.cart-item:last-child {
    border-bottom: none;
}

.btn-leads-green {
    background: linear-gradient(90deg, #94b22c 0%, #0d4624 100%);
    border: none;
    color: white;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-leads-green:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(148, 178, 44, 0.3);
    color: white;
    filter: brightness(1.1);
}

.btn-leads-info-gradient {
    background: linear-gradient(90deg, #94b22c 0%, #0d4624 100%);
    border: none;
    color: white;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-leads-info-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(148, 178, 44, 0.3);
    color: white;
    filter: brightness(1.1);
}

.simulator-info-tabs .nav-link {
    border: none !important;
    color: #666;
    border-bottom: 3px solid transparent !important;
}

.simulator-info-tabs .nav-link.active {
    background: white !important;
    border-bottom: 3px solid var(--ipasgo-green) !important;
    color: var(--ipasgo-green) !important;
}

/* Área de Impressão */
@media print {
    body * { visibility: hidden; }
    #print-area, #print-area * { visibility: visible; }
    #print-area {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        display: block !important;
    }
}

/* Ajustes Responsivos Simulador */
@media (max-width: 991px) {
    .summary-box {
        position: relative !important;
        top: 0 !important;
        margin-top: 30px;
    }
}

/* ==========================================================================
   RESPONSIVIDADE MOBILE DO SIMULADOR
   ========================================================================== */

/* Botão Fechar Simulador */
.btn-close-simulator {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 50px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    color: #333;
    z-index: 10;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.btn-close-simulator:hover {
    background: #f8f9fa;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-1px);
}

/* No mobile, o simulador precisa de menos espaçamento interno */
@media (max-width: 767px) {
    /* Reduz o padding do wrapper no mobile */
    .simulator-wrapper {
        padding: 50px 16px 20px !important; /* top maior para o botão fechar */
    }

    /* Corrige posição do botão fechar para não sobrepor o conteúdo */
    .btn-close-simulator {
        top: 12px;
        right: 12px;
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    /* Remove o sticky do resumo — em mobile ele fica abaixo */
    .summary-box.sticky-top {
        position: relative !important;
        top: auto !important;
    }

    /* Tabela de carência: forçar layout fixo para colunas sempre visíveis */
    #tab-carencias .table {
        table-layout: fixed;
        width: 100%;
    }

    /* Procedimento ocupa 65%, Prazo ocupa 35% */
    #tab-carencias .table th:first-child,
    #tab-carencias .table td:first-child {
        width: 65%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    #tab-carencias .table th:last-child,
    #tab-carencias .table td:last-child {
        width: 35%;
        text-align: right;
    }

    /* Aba de infos — menos padding no mobile */
    .simulator-info-tabs .tab-content {
        padding: 16px !important;
    }
}

/* Breakpoint tablet: ajusta gap g-5 para g-3 */
@media (max-width: 991px) {
    /* Substitui visualmente o g-5 por g-3 no simulator — sem alterar o HTML */
    #simulator-collapse .row.g-5 {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1rem;
    }

    .simulator-wrapper {
        padding: 50px 20px 24px !important;
    }
}

/* ==========================================================================
   TOAST NOTIFICATIONS (Custom - substitui PNotify)
   ========================================================================== */

.ipasgo-toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
    max-width: 420px;
    width: calc(100% - 48px);
}

.ipasgo-toast {
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    border-radius: 14px;
    background: #fff;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.12),
        0 2px 8px rgba(0, 0, 0, 0.06);
    border-left: 5px solid transparent;
    backdrop-filter: blur(12px);
    transform: translateX(120%);
    opacity: 0;
    animation: ipasgoToastIn 0.4s cubic-bezier(0.21, 1.02, 0.73, 1) forwards;
    position: relative;
    overflow: hidden;
    font-family: var(--font-main);
}

.ipasgo-toast.toast-removing {
    animation: ipasgoToastOut 0.35s cubic-bezier(0.55, 0, 1, 0.45) forwards;
}

/* Progress bar auto-close */
.ipasgo-toast::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: currentColor;
    opacity: 0.25;
    animation: toastProgress var(--toast-duration, 5s) linear forwards;
    border-radius: 0 0 0 14px;
}

/* Ícone */
.ipasgo-toast-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

/* Conteúdo */
.ipasgo-toast-content {
    flex: 1;
    min-width: 0;
}

.ipasgo-toast-title {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 4px;
    line-height: 1.3;
}

.ipasgo-toast-text {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.5;
    word-wrap: break-word;
}

/* Botão Close */
.ipasgo-toast-close {
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    font-size: 1rem;
    padding: 4px;
    line-height: 1;
    opacity: 0.5;
    transition: all 0.2s ease;
    border-radius: 6px;
}

.ipasgo-toast-close:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.05);
}

/* Variantes de Tipo */
.ipasgo-toast--success {
    border-left-color: #22c55e;
    color: #15803d;
}

.ipasgo-toast--success .ipasgo-toast-icon {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    color: #15803d;
}

.ipasgo-toast--success .ipasgo-toast-title {
    color: #14532d;
}

.ipasgo-toast--error {
    border-left-color: #ef4444;
    color: #dc2626;
}

.ipasgo-toast--error .ipasgo-toast-icon {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #dc2626;
}

.ipasgo-toast--error .ipasgo-toast-title {
    color: #7f1d1d;
}

.ipasgo-toast--notice,
.ipasgo-toast--warning {
    border-left-color: #f59e0b;
    color: #d97706;
}

.ipasgo-toast--notice .ipasgo-toast-icon,
.ipasgo-toast--warning .ipasgo-toast-icon {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #b45309;
}

.ipasgo-toast--notice .ipasgo-toast-title,
.ipasgo-toast--warning .ipasgo-toast-title {
    color: #78350f;
}

.ipasgo-toast--info {
    border-left-color: #3b82f6;
    color: #2563eb;
}

.ipasgo-toast--info .ipasgo-toast-icon {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #1d4ed8;
}

.ipasgo-toast--info .ipasgo-toast-title {
    color: #1e3a5f;
}

/* Animações */
@keyframes ipasgoToastIn {
    from {
        transform: translateX(120%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes ipasgoToastOut {
    from {
        transform: translateX(0);
        opacity: 1;
        max-height: 200px;
        margin-bottom: 0;
        padding-top: 18px;
        padding-bottom: 18px;
    }
    to {
        transform: translateX(120%);
        opacity: 0;
        max-height: 0;
        margin-bottom: -12px;
        padding-top: 0;
        padding-bottom: 0;
    }
}

@keyframes toastProgress {
    from { width: 100%; }
    to { width: 0%; }
}

/* Responsividade Mobile */
@media (max-width: 576px) {
    .ipasgo-toast-container {
        top: 12px;
        right: 12px;
        left: 12px;
        width: auto;
        max-width: none;
    }

    .ipasgo-toast {
        padding: 14px 16px;
        gap: 10px;
        border-radius: 12px;
    }

    .ipasgo-toast-icon {
        width: 32px;
        height: 32px;
        font-size: 0.95rem;
    }

    .ipasgo-toast-title {
        font-size: 0.9rem;
    }

    .ipasgo-toast-text {
        font-size: 0.8rem;
    }
}