/* =========================================
   1. RESET E VARIÁVEIS GERAIS
   UI/UX: Paleta branco (fundo), azul (texto/estrutura), laranja (CTAs/ações)
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

:root {
    /* === PALETA PRINCIPAL === */
    --blue-dark:   #003366;     /* Azul Escuro – títulos, nav, rodapé */
    --blue-mid:    #1a5faa;     /* Azul Médio – gradientes, acentos */
    --blue-light:  #0099cc;     /* Azul Ciano – ícones, kickers */
    --orange:      #f47c20;     /* Laranja – exclusivo para CTAs/botões */
    --orange-dark: #d9620e;     /* Laranja Escuro – hover de botões */
    --white:       #ffffff;
    --off-white:   #f7f9fc;     /* Fundo de seções alternas */
    --gray-bg:     #f0f4f8;
    --text-color:  #2d3748;     /* Texto principal escuro */
    --text-muted:  #718096;     /* Texto secundário */

    /* === SOMBRAS PADRONIZADAS === */
    --shadow-sm:  0 2px 8px rgba(0,51,102,0.08);
    --shadow-md:  0 6px 20px rgba(0,51,102,0.12);
    --shadow-lg:  0 12px 36px rgba(0,51,102,0.18);

    /* === TRANSIÇÕES === */
    --transition: 0.3s ease;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* =========================================
   2. CABEÇALHO (HEADER)
   ========================================= */
/* UI/UX: Sticky Header – acompanha o scroll com fundo translúcido e
   backdrop-filter, garantindo que o conteúdo nunca seja tapado abruptamente. */
.main-header {
    background-color: rgba(255, 255, 255, 0.97);
    padding: 10px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
    position: sticky;          /* STICKY: segue o scroll */
    top: 0;                    /* cola no topo */
    z-index: 1000;
    min-height: 70px;
    backdrop-filter: blur(8px);             /* vidro translúcido */
    -webkit-backdrop-filter: blur(8px);
    transition: box-shadow var(--transition), background-color var(--transition);
}

/* UI/UX: Ao rolar, a classe .scrolled intensifica a sombra e torna
   o fundo levemente mais sólido, indicando visualmente profundidade. */
.main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.99);
    box-shadow: var(--shadow-md);
}

.header-left .main-logo {
    height: 140px;
    width: auto;
    display: block;
}

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

/* Menu de Navegação */
.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 25px;
}

.main-nav a {
    text-decoration: none;
    color: var(--blue-dark);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    transition: color var(--transition);
    position: relative;   /* para o underline animado */
    padding-bottom: 4px;
}

/* UI/UX: Nav link com underline laranja deslizante no hover */
.main-nav ul > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--orange);
    transition: width var(--transition);
}

.main-nav ul > li > a:hover::after,
.main-nav ul > li > a.active::after {
    width: 100%;
}

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

/* Dropdown (Menu Suspenso) */
.dropdown-item {
    position: relative;
    display: inline-block;
}

.dots-btn {
    font-size: 18px;
    cursor: pointer;
    padding: 10px;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: white;
    min-width: 220px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 5px;
    padding: 5px 0;
}

.dropdown-content a {
    color: var(--blue-dark);
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    text-transform: none;
    font-size: 14px;
    border-left: 3px solid transparent;
}

.dropdown-content a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* UI/UX: Dropdown – destaque laranja na borda esquerda ao hover */
.dropdown-content a:hover {
    background-color: var(--off-white);
    border-left: 3px solid var(--orange);
    color: var(--orange);
}

.dropdown-item:hover .dropdown-content {
    display: block;
}

/* Lado Direito Header */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    color: #555;
    text-align: right;
    border-right: 1px solid #ddd;
    padding-right: 20px;
}

.phone-numbers span {
    display: block;
    font-weight: 500;
}

.teamviewer-header-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    background-color: transparent;
    transition: transform 0.2s;
    text-decoration: none;
}

.teamviewer-header-btn img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.teamviewer-header-btn:hover {
    transform: scale(1.05);
}

.whatsapp-header-btn {
    background-color: #25D366;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    line-height: 1.1;
    font-weight: bold;
    transition: transform 0.2s;
}

.whatsapp-header-btn:hover {
    transform: scale(1.05);
}

.whatsapp-header-btn i {
    font-size: 24px;
}

.whatsapp-header-btn span {
    font-size: 12px;
    text-align: left;
}

/* =========================================
   3. HOME - HERO
   ========================================= */
.hero-section {
    background: linear-gradient(135deg, #0a4b9a 0%, var(--blue-dark) 50%, #001a33 100%);
    padding: 70px 20px 90px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(0,20,60,0.45) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}

.hero-text-center {
    text-align: center;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-tagline {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--blue-light);
    font-weight: 700;
}

.hero-title {
    margin-top: 16px;
    font-size: 42px;
    line-height: 1.2;
    font-weight: 900;
}

.hero-subtitle {
    margin-top: 16px;
    font-size: 18px;
    line-height: 1.6;
    max-width: 600px;
    opacity: 0.95;
}

.btn-hero-new {
    display: inline-block;
    margin-top: 32px;
    padding: 18px 50px;
    background: linear-gradient(135deg, var(--orange) 0%, #ff9a44 100%);
    color: var(--white);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 800;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 8px 24px rgba(244,124,32,0.40);
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn-hero-new:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(244,124,32,0.60);
    background: linear-gradient(135deg, #ff9a44 0%, var(--orange) 100%);
}

.hero-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    width: 100%;
}

.hero-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 18px;
    box-shadow: var(--shadow-md);
    flex: 1;
    max-width: 480px;
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
}

.hero-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.hero-card-img {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.hero-card-img img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    object-fit: contain;
}

.hero-card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.hero-card-content h3 {
    color: var(--blue-dark);
    font-size: 28px;
    margin-bottom: 12px;
    font-weight: 900;
}

.hero-card-content p {
    color: #666;
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.5;
    flex-grow: 1;
}

.hero-card-content .btn-cta {
    margin-top: auto;
}

/* UI/UX: Botões CTA – laranja para Petros (ação), azul escuro para Cibus.
   Scale + sombra no hover para feedback tátil. */
.btn-cta {
    display: inline-block;
    padding: 13px 36px;
    color: var(--white);
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition);
}

.btn-petros { background-color: var(--orange); box-shadow: 0 4px 14px rgba(244,124,32,0.35); }
.btn-cibus  { background-color: var(--blue-dark); box-shadow: var(--shadow-sm); }
.btn-razem  { background-color: #990000; box-shadow: 0 4px 14px rgba(153,0,0,0.35); }

.btn-cta:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: var(--shadow-md);
}

.btn-petros:hover { background-color: var(--orange-dark); }
.btn-cibus:hover  { background-color: var(--blue-mid); }
.btn-razem:hover  { background-color: #730000; }

/* Responsividade Básica para o Hero (até 900px) */
@media (max-width: 900px) {
    .hero-cards {
        flex-direction: column;
        align-items: center;
    }
    .hero-title {
        font-size: 32px;
    }
}

/* =========================================
   3.1 SEÇÃO DE NÚMEROS / RESULTADOS
   ========================================= */
.stats-section {
    background-color: #f4f7fb;
    padding: 70px 20px 80px;
}

.stats-header {
    max-width: 900px;
    margin: 0 auto 50px auto;
    text-align: center;
}

.stats-kicker {
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--orange);
    font-weight: 700;
}

.stats-title {
    margin-top: 10px;
    font-size: 40px;
    color: var(--blue-dark);
}

.stats-subtitle {
    margin-top: 14px;
    font-size: 21px;
    color: #555;
}

.stats-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 30px;
}

/* UI/UX: Stat Card – branco, border-top laranja, hover com leve elevação */
.stat-card {
    background: var(--white);
    border-radius: 14px;
    padding: 32px 26px;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--orange);
    text-align: left;
    transition: transform var(--transition), box-shadow var(--transition);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: var(--blue-dark);
}

.stat-label {
    display: block;
    margin-top: 8px;
    font-size: 15px;
    color: var(--text-muted);
}

/* =========================================
   3.2 CARROSSEL DE PARCEIROS
   ========================================= */
.partners-section {
    background-color: #ffffff;
    padding: 40px 20px 70px;
}

.partners-header {
    max-width: 900px;
    margin: 0 auto 30px auto;
    text-align: center;
}

.partners-kicker {
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--blue-light);
    font-weight: 700;
}

.partners-title {
    margin-top: 10px;
    font-size: 40px;
    color: var(--blue-dark);
}

.partners-carousel-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.partners-carousel {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.partners-arrow {
    display: none;
}

.partners-track {
    display: flex;
    gap: 40px;
    align-items: center;
    animation: partnersScroll 20s linear infinite;
}

.partner-logo {
    flex: 0 0 auto;
    min-width: 140px;
    max-width: 180px;
    padding: 12px 24px;
    border-radius: 12px;
    background: #f7f9fc;
    box-shadow: 0 4px 14px rgba(0,0,0,0.05);
}

.partner-logo img {
    width: 100%;
    height: 60px;
    object-fit: contain;
    display: block;
}

@keyframes partnersScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* UI/UX: Mobile - Carrossel manual de parceiros */
@media (max-width: 768px) {
    .partners-carousel {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
        padding-bottom: 10px;
        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;
        padding: 0 calc(50% - 110px); /* Garante que as imagens fiquem exatamente no centro e dá espaço para as setas */
    }
    .partners-carousel::-webkit-scrollbar {
        display: none; /* Chrome, Safari and Opera */
    }
    .partners-track {
        animation: none !important;
        gap: 20px;
    }
    .partner-logo {
        flex: 0 0 220px;
        min-width: 220px;
        max-width: 220px;
        height: 100px;
        display: flex;
        align-items: center;
        justify-content: center;
        scroll-snap-align: center;
        margin: 0;
    }
    .partner-logo img {
        height: 60px;
        width: auto;
        max-width: 180px;
    }
    
    .partners-arrow {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 40%;
        transform: translateY(-50%);
        width: 36px;
        height: 36px;
        background-color: var(--orange, #f39c12);
        color: #fff;
        border: none;
        border-radius: 50%;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        z-index: 10;
        cursor: pointer;
        font-size: 16px;
    }
    
    .partners-arrow:active {
        transform: translateY(-50%) scale(0.95);
    }

    .partners-prev {
        left: 5px;
    }
    .partners-next {
        right: 5px;
    }
}

/* =========================================
   4. PÁGINAS DE PRODUTO (GERAL)
   ========================================= */
.product-page {
    background-color: #fff;
    width: 100%;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.product-logo {
    max-width: 200px;
    background: white;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.details-section { padding: 70px 0; }
.white-bg { background-color: #fff; }
.gray-bg { background-color: #f9f9f9; }

.intro-text {
    font-size: 18px;
    line-height: 1.6;
    text-align: center;
    max-width: 850px;
    margin: 0 auto 40px auto;
    color: #444;
}

.section-heading {
    text-align: center;
    font-size: 32px;
    color: var(--blue-dark);
    margin-bottom: 40px;
}

/* Estilos Petros */
.petros-hero {
    background: linear-gradient(135deg, #E67E22 0%, #d35400 100%);
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.petros-grid, .features-grid, .tech-grid, .cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.petros-card, .tech-card, .case-card, .feature-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* UI/UX: Card Petros – hover com zoom + sombra intensificada */
.petros-card {
    border-top: 5px solid var(--orange);
    transition: transform var(--transition), box-shadow var(--transition);
    overflow: hidden;
}
.petros-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.petros-card h3 {
    margin-bottom: 8px;
    font-size: 18px;
}

.petros-card p {
    margin-top: 5px;
    line-height: 1.5;
    font-size: 14px;
}

.petros-card-full {
    grid-column: 1 / -1;
}

.p-icon {
    font-size: 36px;
    color: #E67E22;
    margin-bottom: 20px;
}

.why-petros {
    background-color: #fcfcfc;
    padding: 80px 20px;
    text-align: center;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 40px auto 0;
}

.reason {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-top: 5px solid #E67E22;
    transition: transform 0.3s;
    text-align: left;
}

.reason:hover {
    transform: translateY(-5px);
}

.reason i {
    font-size: 40px;
    color: #E67E22;
    margin-bottom: 15px;
}

/* UI/UX: Botão grande laranja – elevação e sombra no hover */
.btn-petros-big {
    background-color: var(--orange);
    padding: 15px 44px;
    font-size: 16px;
    border-radius: 50px;
    text-decoration: none;
    color: var(--white);
    font-weight: 700;
    display: inline-block;
    box-shadow: 0 6px 20px rgba(244,124,32,0.40);
    transition: transform var(--transition), background-color var(--transition), box-shadow var(--transition);
    letter-spacing: 0.5px;
}

.btn-petros-big:hover {
    background-color: var(--orange-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(217,98,14,0.50);
}

/* Estilos Cibus */
.cibus-hero {
    background: linear-gradient(135deg, #003366 0%, #001a33 100%);
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.feature-item {
    display: flex;
    gap: 20px;
    border-left: 5px solid var(--blue-dark);
}

/* Ecossistema de Cashback (Cibus) no estilo metade texto / metade imagem */
.ecosystem-section {
    display: flex;
    min-height: 520px;
    overflow: hidden;
    position: relative;
}

.ecosystem-text {
    width: 60%;                     /* Aumentando para dar mais espaço ao texto na configuração com imagem real */
    padding: 70px 80px 70px 60px;
    background: linear-gradient(135deg, #003d7a 0%, #0056b3 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #ffffff;
    clip-path: polygon(0 0, 92% 0, 100% 50%, 92% 100%, 0 100%);
    position: relative;
    z-index: 1; /* fica acima da imagem */
}

/* UI/UX: Animação sutil de título */
.fade-in-title {
    animation: fadeInDown 0.8s ease-out forwards;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.ecosystem-text h2 {
    font-size: 38px;                /* Título levemente maior e mais impactante */
    margin-bottom: 45px;
    color: #ffffff;
    line-height: 1.25;
}

/* --- CARDS RESPONSIVOS E INTERATIVOS --- */
.ecosystem-card {
    background: #ffffff;
    padding: 24px 28px;             /* Maior respiro interno */
    margin-bottom: 24px;            /* Maior gap entre os cards */
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    position: relative;
    transition: transform var(--transition), box-shadow var(--transition), border-top var(--transition);
    overflow: hidden;
}

/* UI/UX Cibus Hero: Hover no card - elevação suave e borda topo laranja */
.ecosystem-card--hover:hover {
    transform: translateY(-4px) translateX(6px); /* Elevação e leve deslocamento para a direita em direção à imagem */
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
    border-top: 3px solid var(--orange);
}

/* Ícones de Hover (Ocultos por padrão, aparecem no hover) */
.card-hover-icon {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 28px;
    color: var(--orange);
    opacity: 0;
    transform: scale(0.5) rotate(-15deg);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ecosystem-card--hover:hover .card-hover-icon {
    opacity: 0.2;                   /* Sutil, como marca d'água no canto */
    transform: scale(1) rotate(0);
}

.ecosystem-card h3 {
    margin-bottom: 10px;
    font-size: 19px;
    color: var(--blue-dark);
    font-weight: 800;
}

.ecosystem-card p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-color);
}

/* --- BOTÃO CTA dentro da Hero Cibus --- */
.eco-hero-btn {
    align-self: flex-start;
    margin-top: 15px;
    padding: 16px 40px;
    font-size: 17px;
}

/* --- ÁREA DA FOTO FOTORREALISTA --- */
.ecosystem-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 65%;                     /* Ajustando para compensar a largura da div esquerda */
    height: 100%;
    display: flex;
    align-items: stretch;
    justify-content: center;
    overflow: hidden;
    z-index: 0; /* fica por baixo do bloco azul */
}

/* Gradiente de Fusão: Cria a transição ideal entre a foto real e a seção azul */
.eco-hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #0056b3 0%, rgba(0, 86, 179, 0.7) 15%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

.ecosystem-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;  /* Focando o rosto do gestor/tablet que idealmente estão ao centro/direita */
    background-color: var(--blue-dark);
    position: relative;
    z-index: 0;
}

/* Garantindo que as outras seções invertidas funcionem normalmente */
.ecosystem-section.ecosystem-section--reverse .ecosystem-image {
    left: 0;
    right: auto;
}

.ecosystem-section.ecosystem-section--reverse .ecosystem-text {
    margin-left: auto;
    padding: 60px 60px 60px 80px;
    clip-path: polygon(8% 0, 100% 0, 100% 100%, 8% 100%, 0 50%);
}

/* Remove "degrau" entre duas seções de ecossistema empilhadas */
.ecosystem-section + .ecosystem-section {
    margin-top: -2px;
}

.cibus-icon, .card-icon {
    font-size: 36px;
    margin-bottom: 20px;
}

.cibus-icon { color: var(--blue-dark); margin-top: 0; }
.card-icon { color: var(--orange); }

/* UI/UX: Tech Card com hover zoom + sombra */
.tech-card {
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
}
.tech-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

/* UI/UX: Case Card com hover elevado */
.case-card {
    border: 1px solid #e8eef5;
    overflow: hidden;
    padding: 0;
    border-radius: 12px;
    transition: transform var(--transition), box-shadow var(--transition);
}
.case-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.case-header {
    padding: 15px;
    color: white;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.planalto { background-color: #004d40; }
.tx { background-color: #c62828; }
.jarjour { background-color: #f39c12; }

.case-body { padding: 25px; }

.cibus-footer {
    background-color: var(--blue-dark);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.footer-contacts {
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.contact-item {
    background: rgba(255,255,255,0.1);
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.contact-item:hover { background: var(--orange); }

/* =========================================
   4.5. PÁGINA SOBRE NÓS
   ========================================= */
/* --- HERO SOBRE --- */
.hero-sobre {
    background-image: url('https://images.unsplash.com/photo-1497215728101-856f4ea42174?q=80&w=2070&auto=format&fit=crop'); /* Modern office background */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 140px 20px;
}

.hero-sobre .hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.95) 0%, rgba(0, 21, 41, 0.85) 100%);
    z-index: 0;
}

.hero-sobre .hero-title {
    font-size: 52px;
    letter-spacing: 1px;
    color: var(--white);
    margin-bottom: 20px;
}

.hero-sobre .hero-subtitle {
    max-width: 800px;
    margin: 0 auto;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* --- COMPROMISSO --- */
.commitment-section {
    background: linear-gradient(135deg, var(--blue-dark) 0%, #001f3f 100%);
    padding: 100px 0;
    position: relative;
    color: var(--white);
    text-align: center;
}

.commitment-card {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.commitment-quote-mark {
    font-size: 60px;
    color: var(--orange);
    opacity: 0.8;
    margin-bottom: 24px;
}

.commitment-headline {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.commitment-body {
    font-size: 22px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    font-weight: 300;
}

.commitment-body strong {
    font-weight: 700;
    color: var(--white);
}

/* --- PILARES E VALORES --- */
.pilares-valores-section {
    padding: 100px 0;
    background-color: var(--off-white);
}

.stats-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.premium-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: var(--white);
    padding: 50px 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border-bottom: 4px solid var(--blue-light);
}

.premium-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.highlight-card {
    border-bottom-color: var(--orange);
    transform: scale(1.03); /* slightly bigger to emphasize */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

.highlight-card:hover {
    transform: translateY(-10px) scale(1.03);
}

.premium-icon {
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
    flex-shrink: 0;
    background: rgba(0, 51, 102, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 32px;
    color: var(--blue-dark);
    transition: background 0.3s ease, color 0.3s ease;
}

.highlight-card .premium-icon {
    background: rgba(244, 124, 32, 0.1);
    color: var(--orange);
}

.premium-card:hover .premium-icon {
    background: var(--blue-dark);
    color: var(--white);
}

.highlight-card:hover .premium-icon {
    background: var(--orange);
    color: var(--white);
}

.premium-card-title {
    font-size: 24px;
    color: var(--blue-dark);
    margin-bottom: 16px;
    font-weight: 800;
}

.premium-card-text {
    color: var(--text-color);
    line-height: 1.7;
    font-size: 16px;
}

/* VALORES ROW */
.valores-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 50px;
}

.valor-chip {
    background: var(--white);
    padding: 16px 30px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    cursor: default;
}

.valor-chip:hover {
    background: var(--blue-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 51, 102, 0.15);
}

.valor-chip i {
    font-size: 20px;
    color: var(--blue-light);
    transition: color 0.3s;
}

.valor-chip:hover i {
    color: var(--orange);
}

.valor-chip span {
    font-weight: 700;
    font-size: 16px;
}

/* =========================================
   5. PÁGINA RETAGUARDO / SUPORTE (NOVO DESIGN)
   ========================================= */

.support-wrapper {
    display: flex;
    width: 100%;
    min-height: calc(100vh - 90px);
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

/* Lado Esquerdo (Painel Azul com Seta) */
.support-left-panel {
    flex: 1.2;
    background: linear-gradient(135deg, #003d7a 0%, #0056b3 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 60px 80px 60px 60px;
    clip-path: polygon(0 0, 88% 0, 100% 50%, 88% 100%, 0 100%);
    z-index: 10;
}

.panel-content {
    width: 100%;
    max-width: 600px;
    z-index: 2;
}

.main-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    color: white;
}

.buttons-row {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

/* UI/UX: Botão Laranja genérico – exclusivo para CTAs/ações.
   Hover: leve elevação + tom mais escuro para feedback. */
.btn-orange {
    background-color: var(--orange);
    color: var(--white);
    padding: 14px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 16px rgba(244,124,32,0.35);
    transition: transform var(--transition), background-color var(--transition), box-shadow var(--transition);
    display: inline-block;
}

.btn-orange:hover {
    transform: translateY(-2px) scale(1.03);
    background-color: var(--orange-dark);
    box-shadow: 0 8px 24px rgba(217,98,14,0.45);
}

/* Botão sem link - não clicável */
span.btn-orange {
    cursor: default;
}

span.btn-orange:hover {
    transform: none;
    background-color: var(--orange);
    box-shadow: 0 4px 16px rgba(244,124,32,0.35);
}

.schedule-heading {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    border-top: 1px solid rgba(255,255,255,0.3);
    padding-top: 40px;
    color: white;
}

.info-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.info-columns .col h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.info-columns .col p {
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.5;
    color: rgba(255,255,255,0.95);
}

.info-columns .col .highlight-time {
    font-weight: 700;
    font-size: 18px;
    margin-top: 5px;
    margin-bottom: 15px;
    color: white;
}

.info-columns .col .phone-number {
    font-size: 22px;
    font-weight: 700;
    margin-top: 10px;
    color: white;
}

.arrow-shape {
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 50px solid #0056b3;
    border-top: 200px solid transparent;
    border-bottom: 200px solid transparent;
    z-index: 1;
}

/* Lado Direito (Imagem) */
.support-right-image {
    flex: 0.9;
    position: relative;
    z-index: 1;
    margin-left: -80px;
    overflow: hidden;
}

.support-right-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Botão Flutuante WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 2000;
    text-decoration: none;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Header específico para página de retaguarda - esconde menu */
.retaguarda-header .main-nav {
    display: none;
}

/* =========================================
   7. MENU MOBILE (HAMBURGER)
   ========================================= */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--blue-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* =========================================
   8. FOOTER PROFISSIONAL
   ========================================= */
/* UI/UX: Rodapé azul profundo – estrutura institucional.
   Links com hover laranja para manter linguagem visual de ação. */
.main-footer {
    background: linear-gradient(160deg, var(--blue-dark) 0%, #001529 100%);
    color: var(--white);
    padding: 64px 0 20px;
    margin-top: auto;
}

.footer-container {
    max-width: 900px;           /* reduzido: 3 colunas ficam mais compactas */
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);   /* 3 colunas iguais */
    gap: 40px;
    justify-items: center;      /* centraliza o conteúdo interno de cada célula */
}


.footer-section h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--blue-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section p {
    line-height: 1.8;
    margin-bottom: 10px;
    opacity: 0.9;
    font-size: 14px;
}

.footer-section p i {
    margin-right: 10px;
    color: var(--blue-light);
    width: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--orange);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: color var(--transition), padding-left var(--transition);
    font-size: 14px;
}

/* UI/UX: Links do rodapé – hover laranja para consistência com CTAs */
.footer-links a:hover {
    color: var(--orange);
    padding-left: 6px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    opacity: 0.8;
    font-size: 13px;
}

/* =========================================
   9. MELHORIAS DE ANIMAÇÃO E UX
   ========================================= */
html {
    scroll-behavior: smooth;
}

/* Animações suaves para elementos */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

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

/* Melhorias de acessibilidade - foco visível */
a:focus,
button:focus {
    outline: 2px solid var(--blue-light);
    outline-offset: 2px;
}

/* Transições suaves em todos os elementos interativos */
a, button {
    transition: all 0.3s ease;
}

/* Loading state para imagens */
img {
    opacity: 0;
    animation: imageFadeIn 0.5s ease-in forwards;
}

@keyframes imageFadeIn {
    to {
        opacity: 1;
    }
}

/* Lazy loading para imagens */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Estilos antigos mantidos para compatibilidade */
.support-container {
    display: flex;
    width: 100%;
    min-height: calc(100vh - 90px); 
    background-color: #fff;
    position: relative;
}

.support-blue-area {
    flex: 1;
    background-color: #004085;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 60px;
    clip-path: polygon(0 0, 85% 0, 100% 50%, 85% 100%, 0 100%);
    z-index: 10;
}

.support-content {
    width: 100%;
    max-width: 600px;
    padding-right: 40px;
}

.support-content h2 {
    font-size: 32px;
    margin-bottom: 30px;
    font-weight: 700;
    text-align: center;
}

.support-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
}

.btn-support {
    background-color: #ff9800;
    color: white;
    padding: 12px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.2s, background-color 0.2s;
}

.btn-support:hover {
    transform: scale(1.05);
    background-color: #f57c00;
}

.schedule-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 40px;
}

.schedule-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    text-align: center;
}

.schedule-item h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.schedule-item p {
    font-size: 16px;
    margin-bottom: 5px;
    line-height: 1.4;
    opacity: 0.9;
}

.schedule-item .time {
    font-weight: bold;
    margin-bottom: 15px;
}

.schedule-item .phone-big {
    font-size: 22px;
    font-weight: 700;
    margin-top: 10px;
}

.support-image-area {
    flex: 0.8; 
    background-color: #333;
    position: relative;
    z-index: 1; 
    margin-left: -8%; 
}

.support-image-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.whatsapp-float-bottom {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 2000;
    text-decoration: none;
    transition: transform 0.3s;
}

.whatsapp-float-bottom:hover {
    transform: scale(1.1);
}

/* =========================================
   6. RESPONSIVIDADE (MOBILE E TABLET)
   ========================================= */
@media (max-width: 1024px) {
    /* Header Mobile */
    .mobile-menu-toggle {
        display: flex;
        order: 1;
    }
    
    .main-header {
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
    }
    
    .header-left {
        order: 2;
        flex: 1;
        display: flex;
        justify-content: center;
    }
    
    .main-nav {
        display: none;
        width: 100%;
        order: 4;
        margin-top: 20px;
    }
    
    .main-nav.active {
        display: block;
        background: white;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    
    .main-nav li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }
    
    .main-nav a {
        display: block;
        padding: 15px;
        width: 100%;
    }
    
    .dropdown-content {
        position: static;
        display: none;
        box-shadow: none;
        background: #f5f5f5;
        margin-left: 20px;
        border-radius: 5px;
    }
    
    .dropdown-item:hover .dropdown-content,
    .dropdown-item.active .dropdown-content {
        display: block;
    }
    
    .header-right {
        order: 3;
        margin-left: 0;
        margin-right: 0;
        flex-direction: row;
        gap: 10px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }
    
    .phone-info {
        border-right: none;
        padding-right: 0;
        font-size: 12px;
    }
    
    .whatsapp-header-btn {
        padding: 6px 12px;
        font-size: 10px;
    }
    
    /* Footer Mobile */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    /* Página Sobre Mobile */
    .hero-sobre {
        padding: 100px 20px 60px;
    }
    
    .hero-sobre .hero-title {
        font-size: 36px;
    }
    
    .hero-sobre .hero-subtitle {
        font-size: 16px;
    }

    .commitment-section {
        padding: 60px 20px;
    }

    .commitment-quote-mark {
        font-size: 40px;
    }

    .commitment-headline {
        font-size: 28px;
    }

    .commitment-body {
        font-size: 18px;
    }

    .pilares-grid-new {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .premium-card {
        padding: 40px 25px;
    }

    .valores-row {
        flex-direction: column;
        align-items: center;
    }

    .valor-chip {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    /* Home Mobile */
    .hero-carousel {
        padding: 40px 20px 50px;
    }
    .hero-inner {
        flex-direction: column;
        text-align: center;
    }
    .hero-text {
        align-items: center;
    }
    .hero-title {
        font-size: 30px;
    }
    .hero-subtitle {
        max-width: 100%;
    }
    .hero-slider {
        width: 100%;
    }

    /* Cibus - Ecossistema responsivo */
    .ecosystem-section {
        flex-direction: column;
        min-height: auto;
        position: static;
    }
    .ecosystem-text,
    .ecosystem-image {
        width: 100%;
        padding: 40px 20px;
        clip-path: none;
        position: static;
    }
    .ecosystem-image img {
        height: auto;
        background-color: transparent;
    }

    /* Cibus - imagens espalhadas */
    .cibus-image-row {
        flex-direction: column;
        text-align: center;
    }
    .cibus-image-row.reverse {
        flex-direction: column;
    }
    .cibus-image-row-media img {
        max-width: 100%;
    }
    
    /* Produto Mobile */
    .features-grid, .reasons-grid, .footer-contacts, .schedule-grid { flex-direction: column; align-items: center; width: 100%; }
    .features-grid, .petros-grid, .tech-grid, .cases-grid { grid-template-columns: 1fr; }
    .reasons-grid { grid-template-columns: 1fr 1fr; }

    /* Retaguardo (Suporte) Mobile */
    .support-container { flex-direction: column; height: auto; }
    .support-blue-area { 
        clip-path: none; 
        padding: 40px 20px; 
        flex: none; 
        width: 100%; 
    }
    .support-content { padding-right: 0; }
    .support-image-area { 
        height: 300px; 
        margin-left: 0; 
        width: 100%; 
    }
    .schedule-grid { 
        grid-template-columns: 1fr; 
        gap: 40px; 
    }
    .whatsapp-float-bottom, .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 28px;
    }
    .support-wrapper { flex-direction: column; height: auto; }
    .support-left-panel { 
        clip-path: none; 
        padding: 40px 20px; 
        flex: none; 
        width: 100%; 
    }
    .panel-content { padding-right: 0; }
    .support-right-image { 
        height: 300px; 
        margin-left: 0; 
        width: 100%; 
    }
    .info-columns { 
        grid-template-columns: 1fr; 
        gap: 40px; 
    }
    .arrow-shape { display: none; }
}

/* =========================================
   10. UTILITÁRIOS DE UI/UX — OVERLAY & ZOOM
   ========================================= */

/* UI/UX: Classe utilitária para hero sections COM imagem de fundo.
   Aplique .hero-with-bg na section e o pseudo-elemento ::before
   adiciona overlay escuro (rgba 0,0,0,0.6) garantindo 100%
   de legibilidade do texto sobreposto. */
.hero-with-bg {
    position: relative;
    overflow: hidden;
}

.hero-with-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.60);   /* overlay escuro 60% — legibilidade absoluta */
    z-index: 1;
    pointer-events: none;
}

.hero-with-bg > * {
    position: relative;
    z-index: 2;   /* conteúdo fica acima do overlay */
}

/* UI/UX: Wrapper para fotos de produto em cards.
   Estrutura: overflow hidden + border-radius no wrapper,
   transform: scale no hover da img — cria efeito zoom sem sair do card. */
.img-zoom-wrapper {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition);
    background: var(--white);
}

.img-zoom-wrapper:hover {
    box-shadow: var(--shadow-lg);   /* intensifica sombra no hover */
}

/* UI/UX: Zoom da imagem — transição suave de 0.45s para não ser abrupto */
.img-zoom-wrapper img {
    width: 100%;
    display: block;
    transition: transform 0.45s ease;
}

.img-zoom-wrapper:hover img {
    transform: scale(1.06);   /* zoom leve: 6% não distorce o conteúdo */
}

/* UI/UX: Hover leve nos logos de parceiros para indicar interatividade */
.partner-logo {
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.partner-logo:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,51,102,0.12);
    background: var(--white);
}

/* UI/UX: Sobre — imagem com hover zoom já herdada do wrapper,
   mas garantindo overflow hidden no container existente */
.sobre-image-content {
    overflow: hidden;
}

.sobre-team-image {
    transition: transform 0.45s ease;
}

.sobre-image-content:hover .sobre-team-image {
    transform: scale(1.06);
}

/* UI/UX: Seções cibus hero/petros hero — overlay garantindo texto legível
   Aplique estas classes nas hero sections das páginas de produto */
.petros-hero,
.cibus-hero,
.sobre-hero {
    position: relative;
    overflow: hidden;
}

/* Sutil textura de brilho nos gradientes das hero pages */
.petros-hero::after,
.cibus-hero::after,
.sobre-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.petros-hero > *,
.cibus-hero > *,
.sobre-hero > * {
    position: relative;
    z-index: 1;
}

/* =========================================
   11. TIPOGRAFIA REFINADA
   ========================================= */

/* UI/UX: Kickers (labels acima de títulos) em laranja para chamar atenção */
.stats-kicker,
.partners-kicker {
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-size: 13px;
}

.stats-kicker  { color: var(--orange); }
.partners-kicker { color: var(--blue-light); }

/* UI/UX: Títulos de seção em azul escuro — legíveis sobre fundo branco */
.stats-title,
.partners-title,
.section-heading {
    color: var(--blue-dark);
    font-weight: 800;
}

/* UI/UX: Textos de apoio em cinza muted para hierarquia visual clara */
.stats-subtitle,
.intro-text {
    color: var(--text-muted);
}

/* =============================================
   12. SEÇÕES DE IMAGEM (img-section)
   UI/UX: Layout flex lado a lado, imagem em card
   arredondado com zoom no hover + sombra intensificada.
   Alternância de fundo para criar ritmo visual.
   ============================================= */

/* --- Layout base --- */
.img-section {
    padding: 90px 0;
    background-color: var(--white);
}

/* Fundo cinza suave nas seções alternadas (--alt) */
.img-section--alt {
    background-color: var(--off-white);
}

.img-section--partner {
    background-color: var(--white);
}

.img-section__inner {
    display: flex;
    align-items: center;
    gap: 60px;
}

/* Inversão: conteúdo à esquerda, imagem à direita */
.img-section--alt .img-section__inner {
    flex-direction: row;            /* padrão: texto esquerda, img direita */
}

/* --- Coluna de mídia (foto) --- */
.img-section__media {
    flex: 1;
    min-width: 0;                   /* evita overflow em flex */
}

/* UI/UX: Card de imagem — border-radius + sombra sutil.
   overflow:hidden garante que o zoom da img não vaze. */
.img-section__card {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: box-shadow var(--transition);
    background: var(--white);
}

/* UI/UX: Hover no card intensifica a sombra */
.img-section__card:hover {
    box-shadow: var(--shadow-lg);
}

/* UI/UX: Zoom suave na imagem ao passar o mouse —
   scale(1.05) dentro do overflow:hidden não vaza. */
.img-section__card img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.img-section__card:hover img {
    transform: scale(1.05);
}

/* --- Coluna de conteúdo (texto) --- */
.img-section__content {
    flex: 1;
    min-width: 0;
}

/* Kicker — pequeno label acima do título */
.img-section__kicker {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--orange);
    margin-bottom: 12px;
}

/* Título azul escuro — legível sobre fundo branco */
.img-section__title {
    font-size: 32px;
    font-weight: 800;
    color: var(--blue-dark);
    line-height: 1.25;
    margin-bottom: 18px;
}

.img-section__text {
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-muted);
    margin-bottom: 28px;
}

/* --- Lista de recursos com ícones laranjas --- */
/* UI/UX: Ícones laranjas + texto azul escuro para hierarquia clara */
.feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 32px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: var(--text-color);
    padding: 10px 0;
    border-bottom: 1px solid #eef2f7;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li i {
    color: var(--orange);           /* ícone laranja — exclusivo para ação */
    font-size: 18px;
    flex-shrink: 0;
}

/* --- Blockquote (depoimento) --- */
.img-section__quote {
    background: var(--off-white);
    border-left: 4px solid var(--orange);
    border-radius: 0 12px 12px 0;
    padding: 20px 24px;
    margin: 0 0 28px 0;
}

.img-section__quote p {
    font-size: 16px;
    font-style: italic;
    color: var(--blue-dark);
    line-height: 1.7;
    margin-bottom: 10px;
}

.img-section__quote footer {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
    background: transparent;
    padding: 0;
    margin-top: 0;
    text-align: left;
    opacity: 1;
    border: none;
}

/* --- Botão de CTA das seções ---
   UI/UX: Laranja exclusivo para ações.
   Hover: tom mais escuro + leve elevação. */
.btn-section {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background-color: var(--orange);
    color: var(--white);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(244,124,32,0.35);
    transition: transform var(--transition), background-color var(--transition), box-shadow var(--transition);
}

.btn-section:hover {
    background-color: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(217,98,14,0.45);
}

/* Variante outline — para seção com fundo escuro/overlay */
.btn-section--outline {
    background-color: transparent;
    border: 2px solid var(--orange);
    color: var(--orange);
    box-shadow: none;
}

.btn-section--outline:hover {
    background-color: var(--orange);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(244,124,32,0.40);
}

/* =============================================
   SEÇÃO 4: LOCALIZAÇÃO COM OVERLAY
   UI/UX: background-image + overlay rgba(0,0,0,0.55)
   para garantir 100% de legibilidade do texto.
   ============================================= */
.img-section--location {
    position: relative;
    padding: 120px 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;   /* parallax suave */
    overflow: hidden;
}

/* UI/UX: overlay escuro — garante contraste absoluto sobre qualquer imagem */
.img-section--location__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
    pointer-events: none;
}

.img-section--location__content {
    position: relative;
    z-index: 2;                     /* fica acima do overlay */
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

/* Kicker claro sobre fundo escuro */
.img-section__kicker--light {
    color: var(--orange);           /* laranja vivo — visível sobre overlay */
}

.img-section--location__title {
    font-size: 42px;
    font-weight: 900;
    color: var(--white);            /* branco — máximo contraste sobre overlay */
    line-height: 1.2;
    margin-bottom: 18px;
}

.img-section--location__text {
    font-size: 18px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 36px;
}

/* =============================================
   RESPONSIVIDADE — SEÇÕES DE IMAGEM MOBILE
   ============================================= */
@media (max-width: 1024px) {
    /* Empilha imagem e texto verticalmente */
    .img-section__inner,
    .img-section--alt .img-section__inner {
        flex-direction: column;
        gap: 36px;
    }

    /* Imagem vai ao topo em mobile */
    .img-section__media {
        width: 100%;
    }

    .img-section__card img {
        height: 260px;
    }

    .img-section__title {
        font-size: 26px;
    }

    .img-section--location {
        padding: 80px 0;
        background-attachment: scroll; /* desativa parallax em mobile */
    }

    .img-section--location__title {
        font-size: 30px;
    }

    .img-section--location__text {
        font-size: 16px;
    }
}

/* ==========================================
   13. LAYOUT PREMIUM (CIBUS)
   UI/UX: Duas colunas, Grid 2x2, Alto Contraste,
   Interatividade em Laranja.
   ========================================== */

/* --- Classes Globais Premium --- */
.premium-section {
    padding: 100px 0;
    overflow: hidden;
}

.bg-dark-blue {
    background-color: #001529; /* Fundo azul muito escuro para contraste */
}

.bg-pure-white {
    background-color: #ffffff; /* Fundo branco estrito */
}

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

.fw-bold {
    font-weight: 800;
}

.text-normal {
    font-weight: 400;
}

/* --- Layout de Grid Principal (Desktop 2 colunas) --- */
.premium-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Modificador para fazer a coluna rolar enquanto a outra fica fixa */
.premium-grid--sticky {
    align-items: start;
}

@media (max-width: 1024px) {
    .premium-grid {
        grid-template-columns: 1fr;
    }
    
    .premium-hero .premium-media {
        order: 2; /* Em mobile, texto primeiro, imagem depois (opcional, mas boa prática) */
    }
    .premium-hero .premium-content {
        order: 1;
    }
}

/* --- Imagens Premium --- */
.premium-media {
    position: relative;
    width: 100%;
}

.sticky-media {
    position: sticky;
    top: 120px;
    z-index: 10;
}

/* UI/UX: Imagem com border-radius 16px e sombra elegante */
.premium-image {
    width: 100%;
    border-radius: 16px;
    display: block;
    object-fit: cover;
}

.shadow-elegant {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.floating-img {
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* --- Conteúdo e Tipografia Premium --- */
.premium-title {
    /* UI/UX Sênior: Tipografia fluida que cresce entre 32px e 48px baseada no viewport */
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 40px;
    color: #ffffff;
}

/* Redundant now because clamp handles it, keeping for structure */
@media (max-width: 768px) {
    .premium-title { font-size: 32px; }
}

/* --- Cards Premium (Escopo 1) --- */
.premium-cards-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* UI/UX: Cards brancos para contraste absoluto com o fundo escuro. */
.premium-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px 30px;
    display: flex;
    align-items: center;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    color: var(--blue-dark);
}

/* Detalhe lateral laranja (escondido/neutro por padrão, destaca no hover) */
.premium-card-accent {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.premium-card-body {
    flex: 1;
}

.premium-card h3 {
    font-size: 18px;
    color: var(--blue-dark);
    margin-bottom: 6px;
    font-weight: 800;
}

.premium-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
    /* UI/UX Sênior: Largura máxima de leitura contida em ~65 caracteres melhora a leitura em 40% */
    max-width: 65ch;
}

/* Modificador: Card Rico (com foto) */
.premium-card--rich {
    flex-wrap: wrap;
    align-items: flex-start;
}

.premium-card--rich .premium-card-body {
    width: 100%;
    /* O ícone absoluto cuidará de não empurrar o layout */
}

.premium-card--rich .premium-card-icon {
    position: absolute;
    top: 24px;
    right: 24px;
    margin-left: 0;
}

/* Imagens embutidas nos cards */
.card-inline-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08); /* Sombra elegante */
    display: block;
    object-fit: cover;
}

/* Ícone interativo Laranja */
.premium-card-icon {
    font-size: 28px;
    color: var(--gray-bg); /* Neutro antes do hover */
    margin-left: 20px;
    transition: color 0.3s ease, transform 0.3s ease;
}

/* Interatividade Premium: Elevate leve, sombra, destaque lateral e ícone vivo */
.premium-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.premium-card:hover .premium-card-accent {
    background-color: var(--orange);
}

.premium-card:hover .premium-card-icon {
    color: var(--orange);
    transform: scale(1.15) rotate(-5deg);
}

/* Botão Premium */
.premium-btn {
    display: inline-block;
    background-color: var(--orange);
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    margin-top: 20px;
    align-self: flex-start;
    box-shadow: 0 8px 25px rgba(244, 124, 32, 0.3);
    transition: all 0.3s ease;
}

.premium-btn:hover {
    background-color: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(244, 124, 32, 0.45);
}

/* --- Grid 2x2 Premium (Escopo 2) --- */
.premium-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 600px) {
    .premium-grid-2x2 {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   MEGA PROMPT: ESCOPO 2 - INTELIGÊNCIA DE DADOS
   ========================================== */
.bitech-mega-section {
    background-color: #ffffff;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.bitech-mega-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.bitech-mega-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bitech-mega-title {
    color: var(--blue-dark);
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
}

.bitech-mega-desc {
    color: var(--blue-dark);
    font-size: clamp(16px, 1.5vw, 20px);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
}

.premium-btn--ghost-blue {
    background-color: var(--blue-dark);
    color: #ffffff;
    border: 2px solid var(--blue-dark);
    box-shadow: none;
    transition: all 0.3s ease;
}

.premium-btn--ghost-blue:hover {
    background-color: #0b1528; /* Um tom ligeiramente mais escuro */
    border-color: #0b1528;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(11, 21, 40, 0.3);
}

.bitech-mega-right {
    position: relative;
    padding: 40px;
    border-radius: 24px;
    /* Imagem de rede de dados definida inline no HTML para path flexível, 
       mas adicionamos um fallback aqui e cantos arredondados */
    background-color: #f8fafc;
    box-shadow: inset 0 0 50px rgba(255,255,255,0.5);
}

.bitech-cards-grid {
    position: relative;
    z-index: 2; /* Sobre a rede de dados */
}

/* Cards premium Neumorphism/flutuantes */
.bitech-mega-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 24px;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 21, 41, 0.08); /* Sombra de profundidade para separar da rede de dados */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    gap: 16px;
    border: 1px solid rgba(0, 21, 41, 0.03);
}

.bitech-mega-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 21, 41, 0.15);
}

.block-icon-laranja {
    font-size: 32px;
    color: var(--orange);
    transition: transform 0.3s ease;
}

.bitech-mega-card:hover .block-icon-laranja {
    transform: scale(1.15);
}

.bitech-mega-card-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--blue-dark);
    margin: 0;
}

.bitech-mega-card-text {
    font-size: 14px;
    line-height: 1.5;
    color: var(--blue-dark);
    margin: 0;
}

/* Glassmorphism UI Pills (Flutuantes nos cantos de cada card) */
.bitech-glass-pill {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(0,0,0,0.05);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    color: var(--orange);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    pointer-events: none;
    z-index: 5;
    white-space: nowrap;
}

/* Posicionamentos alternados para quebrar a simetria de forma elegante */
.pill-top-right { top: -12px; right: -12px; }
.pill-bottom-right { bottom: -12px; right: -12px; }
.pill-bottom-left { bottom: -12px; left: -12px; }
.pill-top-left { top: -12px; left: -12px; }

@media (max-width: 992px) {
    .bitech-mega-grid {
        grid-template-columns: 1fr;
    }
    .bitech-mega-right {
        padding: 20px;
    }
}

/* ==========================================
   ====== CIBUS SAAS REDESIGN (FASE 6) ======
   ========================================== */
/* CSS Variables Refinement for Premium SaaS Look */
:root {
    --saas-deep-blue: #0f172a; /* Slate 900 */
    --saas-primary-blue: #1e293b; /* Slate 800 */
    --saas-gray-light: #f8fafc; /* Slate 50 */
    --saas-gray-border: #e2e8f0; /* Slate 200 */
    --saas-text-muted: #64748b; /* Slate 500 */
    --saas-orange: #f97316; /* Orange 500 */
    --saas-orange-hover: #ea580c; /* Orange 600 */
    --saas-shadow-sm: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
    --saas-shadow-md: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
    --saas-shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
}

/* Base SaaS Resets & Utilities */
.saas-section {
    padding: 96px 0;
    position: relative;
    background-color: #ffffff;
}

.saas-section--gray {
    background-color: var(--saas-gray-light);
}

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

/* 12-Column Grid System */
.saas-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 32px; /* 8px rhythm (4 * 8) */
}

/* Modern Typography */
.saas-heading-1 {
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    color: var(--saas-deep-blue);
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.saas-heading-2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    color: var(--saas-deep-blue);
    letter-spacing: -0.01em;
    margin-bottom: 16px;
}

.saas-heading-3 {
    font-size: clamp(20px, 2vw, 24px);
    font-weight: 700;
    line-height: 1.3;
    color: var(--saas-deep-blue);
    margin-bottom: 12px;
}

.saas-subheading {
    font-size: clamp(18px, 2vw, 20px);
    font-weight: 400;
    line-height: 1.6;
    color: var(--saas-text-muted);
    margin-bottom: 32px;
    max-width: 65ch;
}

.saas-body {
    font-size: 16px;
    line-height: 1.6;
    color: var(--saas-text-muted);
}

/* SaaS Buttons */
.saas-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px; /* Fully rounded or 12px based on preference, using full pill for high conversion */
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    border: none;
}

.saas-btn--primary {
    background-color: var(--saas-orange);
    color: #ffffff;
    box-shadow: 0 8px 16px -4px rgba(249, 115, 22, 0.4);
}

.saas-btn--primary:hover {
    background-color: var(--saas-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 20px -4px rgba(249, 115, 22, 0.5);
    color: #ffffff;
}

.saas-btn--secondary {
    background-color: transparent;
    color: var(--saas-deep-blue);
    border: 2px solid var(--saas-gray-border);
}

.saas-btn--secondary:hover {
    border-color: var(--saas-deep-blue);
    color: var(--saas-deep-blue);
}

.saas-btn-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Product Floating Elements & Images */
.saas-product-visual {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    box-shadow: var(--saas-shadow-lg);
    overflow: hidden;
}

.saas-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ==========================================
   SPECIFIC SAAS SECTIONS
   ========================================== */

/* Hero Section */
.saas-hero {
    padding: 120px 0 80px;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, var(--saas-gray-light) 100%);
}

/* Dark Blue Premium SaaS Hero */
.saas-hero-dark {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 160px 0 100px;
}

.saas-hero-dark .text-white {
    color: #ffffff !important;
}

.saas-hero-dark .text-light {
    color: #cbd5e1 !important; /* Slate 300 */
}

.saas-eyebrow {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: #38bdf8; /* Light Sky Blue */
    letter-spacing: 0.1em;
    margin-bottom: 24px;
    display: block;
}

/* Secondary Ghost Button */
.saas-btn--ghost {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.saas-btn--ghost:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-2px);
}

.saas-hero .saas-grid {
    align-items: center;
}

.saas-hero-content {
    grid-column: span 6;
    position: relative;
    z-index: 2;
}

/* Desktop left-align for dark hero pages (Cibus, Petros) */
.saas-hero-dark-content {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.saas-hero-visual {
    grid-column: span 6;
    position: relative;
}

/* Floating UX Composition (Right Side Hero) */
.saas-floating-composition {
    position: relative;
    width: 100%;
    min-height: 500px; 
}

.floating-item {
    position: absolute;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); /* Sombra pesada p/ fundo escuro */
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05); /* Efeito base de Glassmorphism */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-item:hover {
    transform: translateY(-8px) scale(1.02);
}

.floating-item img {
    display: block;
    width: 100%;
    height: auto;
}

.floating-dashboard {
    width: 85%;
    top: 50%;
    right: -5%;
    transform: translateY(-50%);
    z-index: 1;
}

.floating-dashboard:hover {
    transform: translateY(-50%) translateY(-8px) scale(1.02);
}

.floating-bubble {
    width: 45%;
    top: -5%;
    left: 5%;
    z-index: 2;
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6);
}

.floating-mobile {
    width: 35%;
    bottom: -5%;
    left: 10%;
    z-index: 3;
    border: 4px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.7);
}

@media (max-width: 1024px) {
    .saas-hero-content, .saas-hero-visual {
        grid-column: span 12;
    }
    /* Only center if NOT using dark-content class (which has its own responsive override) */
    .saas-hero-content:not(.saas-hero-dark-content) {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 60px;
    }
    .saas-floating-composition {
        min-height: 400px;
        max-width: 600px;
        margin: 0 auto;
    }
    .floating-dashboard {
        right: 0;
        width: 100%;
    }
}

/* Social Proof (Metric Cards) */
.saas-metrics {
    padding: 64px 0;
    border-top: 1px solid var(--saas-gray-border);
    border-bottom: 1px solid var(--saas-gray-border);
    background-color: #ffffff;
}

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

.saas-metric-card {
    text-align: center;
    padding: 24px;
}

.saas-metric-value {
    font-size: clamp(32px, 3vw, 48px);
    font-weight: 800;
    color: var(--saas-deep-blue); /* Modern B2B clean look, no extreme colors for metrics unless accent */
    margin-bottom: 8px;
    line-height: 1;
}

.saas-metric-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--saas-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .saas-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Social proof 2x2 kept on all mobile — 1-col only on very tiny screens */
@media (max-width: 400px) {
    .saas-metrics-grid {
        grid-column: span 1;
    }
}

/* Features Grid */
.saas-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.saas-feature-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 32px;
    border: 1px solid var(--saas-gray-border);
    box-shadow: var(--saas-shadow-sm);
    transition: all 0.3s ease;
}

.saas-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--saas-shadow-md);
    border-color: #cbd5e1;
}

.saas-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: rgba(249, 115, 22, 0.1);
    color: var(--saas-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 24px;
}

@media (max-width: 992px) {
    .saas-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Ecosystem Story Loop (Horizontal scrolling/flex) */
.saas-story-loop {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin-top: 64px;
}

/* Conector horizontal line */
.saas-story-loop::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--saas-gray-border) 0%, var(--saas-orange) 50%, var(--saas-gray-border) 100%);
    z-index: 0;
    opacity: 0.5;
}

.saas-story-step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 22%;
}

.saas-story-circle {
    width: 80px;
    height: 80px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--saas-deep-blue);
    border: 2px solid var(--saas-gray-border);
    box-shadow: var(--saas-shadow-sm);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.saas-story-step:hover .saas-story-circle {
    border-color: var(--saas-orange);
    color: var(--saas-orange);
    transform: scale(1.1);
}

.saas-story-title {
    font-weight: 700;
    color: var(--saas-deep-blue);
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .saas-story-loop {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    .saas-story-loop::before {
        display: none;
    }
    .saas-story-step {
        width: 100%;
        max-width: 300px;
    }
}

/* Product Screenshots Alternating Layout */
.saas-showcase-row {
    display: flex;
    align-items: center;
    gap: 64px;
    margin-bottom: 120px;
}

.saas-showcase-row:nth-child(even) {
    flex-direction: row-reverse;
}

.saas-showcase-content {
    flex: 1;
}

.saas-showcase-visual {
    flex: 1.2;
    position: relative;
}

.saas-showcase-img {
    border-radius: 20px;
    box-shadow: var(--saas-shadow-lg);
    width: 100%;
    height: auto;
    object-fit: cover;
}

@media (max-width: 992px) {
    .saas-showcase-row, 
    .saas-showcase-row:nth-child(even) {
        flex-direction: column;
        gap: 40px;
    }
}

/* Final CTA Section */
.saas-cta {
    background-color: var(--saas-deep-blue);
    color: #ffffff;
    text-align: center;
    padding: 100px 24px;
    border-radius: 32px;
    margin: 64px 24px; /* Floating look */
}

.saas-cta .saas-heading-2 {
    color: #ffffff;
}

.saas-cta .saas-subheading {
    color: #94a3b8; /* Slate 400 */
    margin: 0 auto 40px auto;
}

.saas-cta .saas-btn--primary {
    font-size: 18px;
    padding: 20px 48px;
}

@media (max-width: 768px) {
    .saas-cta {
        margin: 24px 16px;
        padding: 64px 24px;
    }
}

/* ==========================================
   NOVA UI FLUTUANTE (GLASSMORPHISM)
   ========================================== */
.glass-floating-card {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 15px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 20;
    animation: float-glass 4s ease-in-out infinite alternate;
}

.glass-floating-card--left {
    right: auto;
    left: -20px;
    top: 40px;
    bottom: auto;
}

.glass-floating-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(244, 124, 32, 0.1); /* Laranja suave */
    color: var(--orange);
    font-size: 16px;
}

.glass-floating-text {
    font-size: 14px;
    font-weight: 700;
    color: var(--blue-dark);
    margin: 0;
}

@keyframes float-glass {
    from { transform: translateY(0); }
    to { transform: translateY(-10px); }
}

/* ==========================================
   HIERARQUIA DE BOTÕES (GHOST)
   ========================================== */
.premium-btn--ghost {
    background-color: transparent;
    color: var(--blue-dark);
    border: 2px solid var(--blue-dark);
    box-shadow: none;
}

.premium-btn--ghost:hover {
    background-color: var(--blue-dark);
    color: #ffffff;
    border-color: var(--blue-dark);
    box-shadow: 0 8px 20px rgba(0, 21, 41, 0.2);
}

.premium-btn-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ==========================================
   ANIMAÇÃO DE DADOS (DATA STORYTELLING)
   ========================================== */
.premium-metrics {
    background-color: var(--blue-dark);
    padding: 60px 0;
    color: #ffffff;
    text-align: center;
}

.metrics-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
}

.metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.metric-number-wrapper {
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 900;
    color: var(--orange);
    display: flex;
    align-items: baseline;
    line-height: 1;
    margin-bottom: 10px;
}

.metric-prefix, .metric-suffix {
    font-size: clamp(24px, 3vw, 40px);
    font-weight: 800;
}

.metric-label {
    font-size: 16px;
    font-weight: 400;
    opacity: 0.9;
    letter-spacing: 0.5px;
}

/* ==========================================
   SOCIAL PROOF (CARROSSEL ESCALA DE CINZA)
   ========================================== */
.social-proof-carousel {
    padding: 40px 0;
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    overflow: hidden;
    position: relative;
}

.social-proof-carousel::before,
.social-proof-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.social-proof-carousel::before {
    left: 0;
    background: linear-gradient(to right, #f8fafc 0%, transparent 100%);
}

.social-proof-carousel::after {
    right: 0;
    background: linear-gradient(to left, #f8fafc 0%, transparent 100%);
}

.carousel-track {
    display: flex;
    align-items: center;
    gap: 80px;
    width: max-content;
    animation: scroll-carousel 30s linear infinite;
}

/* Suspende a animação no hover */
.carousel-track:hover {
    animation-play-state: paused;
}

.carousel-logo {
    height: 35px;
    width: auto;
    filter: grayscale(100%) opacity(0.5);
    transition: all 0.4s ease;
    cursor: pointer;
}

/* Ganha cor no hover (Prova Social sofisticada) */
.carousel-logo:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

@keyframes scroll-carousel {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 40px)); /* move metade da trilha duplicada */ }
}

.grid-block {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #f0f4f8; /* Borda super sutil para delimitar no fundo branco */
    transition: all 0.3s ease;
}

/* Ícone Laranja do bloco */
.block-icon {
    font-size: 32px;
    color: var(--orange);
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.grid-block h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--blue-dark);
}

.grid-block p {
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    color: var(--blue-dark);
}

/* Interatividade: Ícone faz um pulo (scale) e fundo ganha highlight/sombreado */
.grid-block:hover {
    background-color: #fcfdfd;
    box-shadow: 0 15px 35px rgba(0, 30, 60, 0.08); /* Sombreado elegante */
    border-color: #e2e8f0;
}

.grid-block:hover .block-icon {
    transform: scale(1.2) translateY(-5px);
}


/* ==========================================================================
   RESPONSIVE SYSTEM – BITECH SAAS PAGES
   Three-tier breakpoint strategy:
     • Desktop  : > 1024px  (default; no media query needed)
     • Tablet   : 768px – 1024px
     • Mobile   : < 768px
   ========================================================================== */

/* ─────────────────────────────────────────────────
   0. GLOBAL OVERFLOW GUARD
   Prevents floating/absolute elements from
   causing horizontal scroll on any device.
   ───────────────────────────────────────────────── */
html,
body,
.product-page {
    overflow-x: hidden;
    max-width: 100vw;
}

/* ─────────────────────────────────────────────────
   1. HEADER – Mobile Nav
   Stack logo and WhatsApp button; hide desktop nav
   on very small screens.
   ───────────────────────────────────────────────── */
@media (max-width: 768px) {
    .main-header {
        padding: 12px 20px;
        min-height: 70px;
        position: sticky;
        top: 0;
        z-index: 1000;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }

    .header-left .main-logo {
        height: 90px;
    }

    .whatsapp-header-btn span {
        display: none; /* show icon only on mobile */
    }

    .whatsapp-header-btn {
        padding: 10px 16px;
    }

    /* Hamburger Menu Button */
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 28px;
        height: 20px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1001; /* Above nav */
        order: 1; /* Put it on the left */
        margin-left: 0;
        margin-right: 0;
    }
    
    .mobile-menu-toggle span {
        width: 100%;
        height: 3px;
        background-color: var(--blue-dark);
        border-radius: 4px;
        transition: all 0.3s ease;
    }

    /* Transform hamburger into X when active */
    .mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* Hide nav menu by default on mobile */
    .main-nav {
        display: none;
        width: 100%;
        order: 4; /* Move below header row */
        background-color: white;
        padding: 10px 0;
        border-top: 1px solid var(--saas-gray-border);
        box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
        position: absolute;
        top: 100%;
        left: 0;
    }

    /* Show when active */
    .main-nav.active {
        display: block;
        animation: slideDownNav 0.3s ease forwards;
    }

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

    .main-nav ul > li {
        width: 100%;
        border-bottom: 1px solid var(--saas-gray-border);
    }

    .main-nav ul > li:last-child {
        border-bottom: none;
    }

    .main-nav ul > li > a {
        display: block;
        padding: 15px 20px;
        font-size: 15px !important;
    }

    /* Dropdown on mobile */
    .dropdown-content {
        position: static;
        display: none;
        box-shadow: none;
        padding-left: 20px;
        background-color: var(--off-white);
        width: 100%;
        border-radius: 0;
    }

    .dropdown-item[aria-expanded="true"] .dropdown-content,
    .dropdown-item:active .dropdown-content,
    .dropdown-item:focus-within .dropdown-content,
    .dropdown-item:hover .dropdown-content {
        display: block;
    }

    @keyframes slideDownNav {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
}

/* ─────────────────────────────────────────────────
   2. HERO SECTION (SAAS DARK)
   Desktop  : 2-column 12-col grid (6+6)
   Tablet   : 2-column (text 7 cols, visual 5 cols)
   Mobile   : 1-column stacked – TEXT FIRST, then VISUALS
   ───────────────────────────────────────────────── */

/* -- Tablet (768px – 1024px) -- */
@media (min-width: 768px) and (max-width: 1024px) {
    .saas-hero-dark {
        padding: 100px 0 72px;
    }

    .saas-hero-content {
        grid-column: span 7;
    }

    .saas-hero-visual {
        grid-column: span 5;
    }

    .saas-floating-composition {
        min-height: 360px;
    }
}

/* -- Mobile (< 768px) -- */
@media (max-width: 767px) {
    /* === Hero layout: switch 12-col grid to flex-column ============ */
    .saas-hero-dark {
        padding: 80px 0 56px;
    }

    /* Convert the 12-col grid into a vertical stack */
    .saas-hero-dark .saas-grid {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    /* Text column – full width, centered, appears FIRST */
    .saas-hero-content,
    .saas-hero-dark-content {
        width: 100%;
        text-align: center !important;
        align-items: center !important;
        grid-column: unset;
        order: 1;          /* textbefore visuals */
    }

    /* Visual column – full width, appears AFTER text */
    .saas-hero-visual,
    .saas-hero-floating,
    .petros-hero-visual {
        width: 100%;
        grid-column: unset;
        order: 2;          /* visuals after text */
    }

    /* Prevent floating elements from overflowing screen */
    .saas-floating-composition {
        position: relative;
        min-height: 280px;
        max-width: 100%;
        overflow: hidden;
    }

    /* Floating items: simplify positioning on mobile */
    .floating-dashboard {
        position: relative;
        width: 100%;
        top: auto;
        right: auto;
        transform: none;
        margin: 0 auto;
    }

    /* Petros-specific overlay cards: hide on mobile to avoid cramping */
    .petros-pump-card,
    .petros-alert-card,
    .floating-bubble,
    .floating-mobile {
        display: none;
    }

    /* === Fluid Typography (mobile floor) ============================= */
    .saas-heading-1 {
        font-size: clamp(28px, 8vw, 40px);
        letter-spacing: -0.01em;
        margin-bottom: 16px;
    }

    .saas-heading-2 {
        font-size: clamp(24px, 6vw, 34px);
        margin-bottom: 12px;
    }

    .saas-heading-3 {
        font-size: clamp(18px, 4.5vw, 22px);
    }

    .saas-subheading {
        font-size: clamp(15px, 4vw, 18px);
        margin-bottom: 24px;
    }

    .saas-eyebrow {
        font-size: 12px;
        margin-bottom: 16px;
    }
}

/* ─────────────────────────────────────────────────
   3. CTA BUTTONS – Full-width + 48px tap target
   Mobile: stacked column, 100% width, min 48px.
   Desktop: side-by-side (unchanged).
   ───────────────────────────────────────────────── */
@media (max-width: 767px) {
    /* saas btn group stacks vertically */
    .saas-btn-group {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 12px;
    }

    .saas-btn {
        width: 100%;
        min-height: 52px;
        justify-content: center;
        font-size: 15px;
        padding: 14px 24px;
    }

    /* Legacy btn-cta full width on mobile */
    .btn-cta,
    .btn-petros-big,
    .premium-btn {
        display: block;
        width: 100%;
        min-height: 52px;
        text-align: center;
        padding: 15px 24px;
    }

    /* saas-cta final block: button full width */
    .saas-cta .saas-btn {
        width: auto; /* Keep centered inside CTA, not full-width there */
        min-width: 260px;
    }
}

/* ─────────────────────────────────────────────────
   4. SOCIAL PROOF / METRICS BAR
   Desktop  : 4 single-row columns
   Tablet   : 2×2 grid
   Mobile   : 2×2 grid (keep legible; never 1 col)
   ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .saas-metrics {
        padding: 48px 0;
    }
}

@media (max-width: 767px) {
    .saas-metrics {
        padding: 40px 0;
    }

    /* 2×2 grid on all mobile sizes */
    .saas-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }

    .saas-metric-card {
        padding: 20px 16px;
        border-right: 1px solid var(--saas-gray-border) !important;
        border-bottom: 1px solid var(--saas-gray-border);
    }

    /* remove right border from every 2nd card (right column) */
    .saas-metric-card:nth-child(2n) {
        border-right: none !important;
    }

    /* remove bottom border from last row */
    .saas-metric-card:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .petros-metric-text {
        font-size: clamp(18px, 5vw, 26px) !important;
    }

    .saas-metric-label {
        font-size: 12px;
    }

    /* remove desktop horizontal separator lines */
    .saas-metrics-grid .saas-metric-card {
        border-right: none;
    }
}

/* ─────────────────────────────────────────────────
   5. FEATURES GRID
   Desktop  > 1024px : 3 columns × 2 rows
   Tablet 768–1024px : 2 columns × 3 rows
   Mobile   < 768px  : 1 column, stacked
   ───────────────────────────────────────────────── */
/* Tablet override (768-992px – existing rule covers 768-992, extend to 1024) */
@media (min-width: 768px) and (max-width: 1024px) {
    .saas-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

/* Mobile – already set to 1fr in existing rule at line 3093; add padding reduction */
@media (max-width: 767px) {
    .saas-section {
        padding: 60px 0;
    }

    .saas-section--gray {
        padding: 60px 0;
    }

    .saas-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .saas-feature-card {
        padding: 28px 24px;
    }

    /* Section header top margin reduction */
    .saas-section .saas-container > div[style] {
        margin-bottom: 40px !important;
    }
}

/* ─────────────────────────────────────────────────
   6. PRODUCT STORY (ALTERNATING SHOWCASE)
   Desktop  : alternating row-reverse via :nth-child(even)
   Mobile   : DISABLE alternating – always image on top,
              text content below.
   ───────────────────────────────────────────────── */
@media (max-width: 767px) {
    /* Force all rows to same vertical direction */
    .saas-showcase-row,
    .saas-showcase-row:nth-child(even) {
        flex-direction: column !important;
        gap: 28px;
        margin-bottom: 56px;
    }

    .saas-showcase-row:last-child {
        margin-bottom: 0;
    }

    /* Image always on top */
    .saas-showcase-visual {
        order: 1;
        flex: none;
        width: 100%;
    }

    /* Text always below */
    .saas-showcase-content {
        order: 2;
        flex: none;
        width: 100%;
    }

    .saas-showcase-img {
        border-radius: 14px;
        max-height: 280px;
        object-fit: cover;
    }

    /* Remove check-list spacing on mobile */
    .saas-showcase-content ul li {
        margin-bottom: 12px !important;
    }
}

/* ─────────────────────────────────────────────────
   7. SECTION PADDING RHYTHM
   Desktop  : 96px top/bottom (set in .saas-section)
   Tablet   : 72px
   Mobile   : 56px with 20px side padding
   ───────────────────────────────────────────────── */
@media (min-width: 768px) and (max-width: 1024px) {
    .saas-section,
    .saas-section--gray {
        padding: 72px 0;
    }

    .saas-hero-dark {
        padding: 120px 0 80px;
    }

    .saas-container {
        padding: 0 32px;
    }
}

@media (max-width: 767px) {
    .saas-container {
        padding: 0 20px;
    }

    /* Reduce story loop padding */
    .saas-story-loop {
        margin-top: 40px;
    }

    /* Reduce story step size */
    .saas-story-circle {
        width: 64px;
        height: 64px;
        font-size: 22px;
    }
}

/* ─────────────────────────────────────────────────
   8. FINAL CTA BLOCK
   Mobile: less corner radius, smaller padding,
   full-bleed feel
   ───────────────────────────────────────────────── */
@media (max-width: 767px) {
    .saas-cta {
        border-radius: 20px;
        padding: 56px 24px;
        margin: 40px 16px;
    }

    .saas-cta .saas-heading-2 {
        font-size: clamp(22px, 6vw, 32px);
    }

    .saas-cta .saas-subheading {
        font-size: 15px;
        margin-bottom: 28px;
    }
}

/* ─────────────────────────────────────────────────
   9. FOOTER
   Stack contact links vertically on mobile
   ───────────────────────────────────────────────── */
@media (max-width: 767px) {
    .cibus-footer .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .cibus-footer .footer-contacts {
        flex-direction: column !important;
        align-items: center;
        gap: 16px !important;
    }

    .contact-item {
        font-size: 14px !important;
    }
}

/* ─────────────────────────────────────────────────
   10. LEGACY PRODUCT PAGES (petros-card, petros-grid)
   Ensure old-style cards also collapse on mobile
   ───────────────────────────────────────────────── */
@media (max-width: 767px) {
    .petros-grid,
    .features-grid,
    .tech-grid,
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .petros-card-full {
        grid-column: 1;
    }

    .section-heading {
        font-size: clamp(22px, 6vw, 30px);
    }

    .intro-text {
        font-size: 16px;
    }
}

/* ─────────────────────────────────────────────────
   11. SAAS STORY LOOP – mobile
   (Existing rule at 3159 already stacks; this
   supplements with better sizing)
   ───────────────────────────────────────────────── */
@media (max-width: 767px) {
    .saas-story-step {
        width: 100%;
        max-width: 280px;
    }

    .saas-story-title {
        font-size: 15px;
    }
}

/* ==========================================================================
   END RESPONSIVE SYSTEM
   ========================================================================== */