/* ==========================================================================
   APOBEM - DESIGN SYSTEM PREMIUM & MODERNO (RECONSTRUÇÃO COMPLETA DE UI)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --apobem-orange: #ff6b00;
    --apobem-orange-dark: #ea580c;
    --apobem-gradient: linear-gradient(135deg, #ff6b00 0%, #ea580c 100%);
    --apobem-gradient-subtle: linear-gradient(135deg, rgba(255, 107, 0, 0.08) 0%, rgba(234, 88, 12, 0.08) 100%);
    --whatsapp-color: #10b981;
    --whatsapp-dark: #059669;
    --whatsapp-glow: rgba(16, 185, 129, 0.35);
    
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    
    --bg-page: #f8fafc;
    --bg-white: #ffffff;
    --bg-card: #ffffff;
    
    --border-light: #e2e8f0;
    --border-hover: #cbd5e1;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 10px 30px -5px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 40px -10px rgba(15, 23, 42, 0.15);
    --shadow-orange: 0 12px 30px -5px rgba(249, 115, 22, 0.35);
    --shadow-whatsapp: 0 12px 30px -5px rgba(16, 185, 129, 0.35);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-page);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

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

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================================
   BANNER FLUTUANTE DE COOKIES (CANTO INFERIOR ESQUERDO)
   ========================================================================== */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 25px;
    left: 25px;
    max-width: 400px;
    width: calc(100% - 50px);
    background: var(--primary);
    color: white;
    padding: 18px 22px;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    z-index: 99998;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cookie-banner.active {
    display: block;
    animation: slideInLeft 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px) translateY(20px); }
    to { opacity: 1; transform: translateX(0) translateY(0); }
}

.cookie-banner-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cookie-icon {
    font-size: 26px;
    color: var(--apobem-orange);
    flex-shrink: 0;
}

.cookie-text p {
    font-size: 13.5px;
    line-height: 1.45;
    color: #cbd5e1;
    margin: 0;
}

.btn-accept-cookies {
    background: var(--whatsapp-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 13.5px;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
    box-shadow: var(--shadow-whatsapp);
}

.btn-accept-cookies:hover {
    background: var(--whatsapp-dark);
    transform: scale(1.05);
}

/* ==========================================================================
   POP-UP NOTA DE ESCLARECIMENTO (MODAL PREMIUM EXCLUSIVO HOME)
   ========================================================================== */
.notice-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    z-index: 999999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.notice-modal-overlay.active {
    display: flex;
    animation: modalScaleUp 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes modalScaleUp {
    from { opacity: 0; transform: scale(0.9) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.notice-modal-content {
    background: linear-gradient(145deg, #e11d48 0%, #be123c 100%);
    color: white;
    max-width: 680px;
    width: 100%;
    border-radius: var(--radius-lg);
    padding: 50px 40px 40px 40px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55);
    max-height: 90vh;
    overflow-y: auto;
    border: 3px solid rgba(255, 255, 255, 0.4);
}

.notice-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ffffff;
    color: #be123c;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 28px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.notice-modal-close:hover {
    background: #f8f9fa;
    color: #9f1239;
    transform: rotate(90deg) scale(1.12);
}

.notice-modal-body h2 {
    color: white;
    font-size: 32px;
    text-align: center;
    margin-bottom: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.notice-modal-body p {
    font-size: 18px;
    line-height: 1.75;
    margin-bottom: 22px;
    text-align: center;
    color: #ffffff;
    font-weight: 500;
}

/* ==========================================================================
   HEADER & TOPBAR (CABECALHO MODERNO)
   ========================================================================== */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 10000;
    border-bottom: 1px solid var(--border-light);
}

.top-bar {
    background: var(--primary);
    color: #cbd5e1;
    font-size: 13.5px;
    padding: 10px 0;
    font-weight: 500;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-contact strong {
    color: var(--whatsapp-color);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
}

.header-logo {
    max-height: 52px;
    width: auto;
    transition: var(--transition);
}

.header-logo:hover {
    transform: scale(1.03);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 28px;
    align-items: center;
}

.main-nav a {
    color: var(--text-main);
    font-weight: 600;
    font-size: 15px;
    padding: 8px 0;
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--apobem-orange);
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--apobem-gradient);
    border-radius: var(--radius-full);
}

.btn-whats-header {
    background: var(--whatsapp-color);
    color: white;
    padding: 12px 26px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 14.5px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-whatsapp);
    transition: var(--transition);
}

.btn-whats-header:hover {
    background: var(--whatsapp-dark);
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(16, 185, 129, 0.45);
    color: white;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 26px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 3px;
}

/* ==========================================================================
   HERO BANNER MODERNO (HOME)
   ========================================================================== */
.original-hero {
    background: url('../../img/capa1.jpg') no-repeat center center / cover;
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    padding: 90px 0;
}

.original-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.96) 0%, rgba(248,250,252,0.85) 100%);
    z-index: 1;
}

.original-hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
}

.original-hero-content h1 {
    font-size: 46px;
    color: var(--primary);
    margin-bottom: 22px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.15;
}

.original-hero-content p {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 36px;
    line-height: 1.55;
    font-weight: 500;
}

.btn-hero-action {
    background: var(--apobem-gradient);
    color: white;
    padding: 18px 40px;
    border-radius: var(--radius-md);
    font-size: 17px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-orange);
    transition: var(--transition);
}

.btn-hero-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 35px -5px rgba(249, 115, 22, 0.45);
    color: white;
}

/* ==========================================================================
   GRADE DE PRODUTOS PREMIUM (PRINT 4 RECONSTRUÍDO EM CARDS ELEVADOS)
   ========================================================================== */
.product-cards-section {
    padding: 90px 0;
    background: var(--bg-white);
}

.section-title {
    text-align: center;
    margin-bottom: 56px;
}

.section-title-badge {
    color: var(--apobem-orange);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 13px;
    margin-bottom: 10px;
    display: block;
}

.section-title h2 {
    font-size: 38px;
    color: var(--primary);
    margin-bottom: 14px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.section-title p {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto;
}

.product-orange-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.orange-card {
    background: var(--apobem-gradient);
    color: white;
    padding: 38px 24px;
    border-radius: var(--radius-md);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    box-shadow: var(--shadow-orange);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.orange-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.2) 0%, transparent 70%);
    pointer-events: none;
}

.orange-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 22px 45px -10px rgba(249, 115, 22, 0.5);
}

.orange-card-icon {
    width: 72px;
    height: 72px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border-radius: var(--radius-md);
    margin-bottom: 22px;
    color: white;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.orange-card:hover .orange-card-icon {
    transform: scale(1.1) rotate(5deg);
    background: white;
    color: var(--apobem-orange);
}

.orange-card h3 {
    color: white;
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.orange-card p {
    font-size: 14.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
}

/* ==========================================================================
   CARDS DE PLANOS DE PROTEÇÃO (VIDA COMPLETA, VIDA FÁCIL, VIDA IDEAL)
   ========================================================================== */
.planos-section-original {
    padding: 90px 0;
    background: var(--bg-page);
}

.plans-grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.plan-card-original {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--border-light);
}

.plan-card-original:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(249, 115, 22, 0.4);
}

.plan-card-img {
    height: 230px;
    width: 100%;
    object-fit: cover;
}

.plan-card-content {
    padding: 32px 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
}

.plan-card-content h3 {
    font-size: 26px;
    color: var(--primary);
    margin-bottom: 12px;
    font-weight: 800;
}

.plan-card-content p {
    color: var(--text-muted);
    font-size: 15.5px;
    margin-bottom: 24px;
    line-height: 1.6;
}

.btn-plan-details {
    background: var(--apobem-gradient);
    box-shadow: var(--shadow-orange);
    color: white;
    padding: 14px 24px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 15px;
    display: block;
    text-align: center;
    margin-bottom: 12px;
    transition: var(--transition);
}

.btn-plan-details:hover {
    opacity: 0.92;
    transform: translateY(-2px);
    color: white;
}

.btn-plan-cta {
    background: var(--whatsapp-color);
    color: white;
    padding: 14px 24px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    transition: var(--transition);
    box-shadow: var(--shadow-whatsapp);
}

.btn-plan-cta:hover {
    background: var(--whatsapp-dark);
    color: white;
}

/* ==========================================================================
   REDESIGN TOTAL DA PÁGINA QUEM SOMOS (NOSSOS PILARES E INSTITUCIONAL)
   ========================================================================== */
.page-hero {
    background: var(--apobem-gradient);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.2);
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.page-hero h1 {
    color: white;
    font-size: 44px;
    margin-bottom: 16px;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-hero p {
    font-size: 19px;
    color: rgba(255, 255, 255, 0.95);
    max-width: 650px;
    margin: 0 auto;
}

.page-content {
    padding: 80px 0;
}

.pilares-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.pilar-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.pilar-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(249, 115, 22, 0.3);
}

.pilar-icon-wrapper {
    width: 76px;
    height: 76px;
    margin: 0 auto 24px auto;
    background: var(--apobem-gradient-subtle);
    color: var(--apobem-orange);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    border: 1px solid rgba(249, 115, 22, 0.15);
}

.pilar-card h3 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 14px;
    font-weight: 700;
}

.pilar-card p {
    font-size: 15.5px;
    color: var(--text-muted);
    line-height: 1.65;
}

/* ==========================================================================
   RODAPÉ OFICIAL (PRINT 2 & 3 - COM "NÚMERO DE ATENDIMENTO")
   ========================================================================== */
.site-footer-original {
    background: var(--apobem-gradient);
    color: white;
    padding: 80px 0 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-original-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.2fr 1.2fr;
    gap: 40px;
    padding-bottom: 60px;
}

.footer-col-item h3 {
    color: white;
    font-size: 20px;
    margin-bottom: 24px;
    font-weight: 700;
}

.footer-col-item ul {
    list-style: none;
}

.footer-col-item ul li {
    margin-bottom: 14px;
}

.footer-col-item ul a {
    color: rgba(255, 255, 255, 0.95);
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
}

.footer-col-item ul a:hover {
    color: white;
    padding-left: 4px;
    text-decoration: underline;
}

.footer-whats-big {
    font-size: 19px;
    font-weight: 700;
    color: white;
}

.footer-socket {
    background: #020617;
    padding: 26px 0;
    text-align: center;
    font-size: 14px;
    color: #64748b;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Botão Flutuante de WhatsApp */
.float-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--whatsapp-color);
    color: white;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.45);
    z-index: 99999;
    transition: var(--transition);
}

.float-whatsapp:hover {
    transform: scale(1.15);
    background: var(--whatsapp-dark);
}

/* ==========================================================================
   CLASSES UTILITÁRIAS DE GRID RESPONSIVO & CARDS
   ========================================================================== */
.card-box {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.grid-2col-hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
}

.grid-cards-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* ==========================================================================
   RESPONSIVIDADE PREMIUM
   ========================================================================== */
@media (max-width: 1024px) {
    .product-orange-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pilares-grid {
        grid-template-columns: 1fr;
    }

    .footer-original-grid {
        grid-template-columns: 1fr 1fr;
    }

    .grid-2col,
    .grid-2col-hero {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: var(--shadow-md);
        padding: 24px;
        z-index: 1001;
    }

    .main-nav.open {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header-cta {
        display: none;
    }
}

@media (max-width: 768px) {
    .card-box {
        padding: 24px 20px;
    }

    .grid-cards-2col {
        grid-template-columns: 1fr;
    }

    .top-bar-container {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }

    .top-bar-text {
        font-size: 12px;
    }

    .top-bar-contact {
        font-size: 12px;
    }

    .footer-original-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .notice-modal-content {
        padding: 40px 20px 24px 20px;
    }

    .notice-modal-body h2 {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .notice-modal-body p {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 14px;
    }

    .float-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }

    .cookie-banner {
        left: 15px;
        bottom: 15px;
        width: calc(100% - 30px);
    }

    .product-orange-grid {
        grid-template-columns: 1fr;
    }

    .plans-grid-4 {
        grid-template-columns: 1fr;
    }

    .original-hero-content h1 {
        font-size: 28px;
    }

    .original-hero-content p {
        font-size: 16px;
    }

    .page-hero h1 {
        font-size: 28px;
    }

    .page-hero p {
        font-size: 16px;
    }
}

