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

:root {
    --primary-blue: #0099ff;
    --secondary-blue: #003366;
    --dark-blue: #001a35;
    --light-blue: #f0f7ff;
    --white: #ffffff;
    --gray-100: #f0f7ff;
    --gray-200: #e0f0ff;
    --gray-500: #adb5bd;
    --gray-800: #343a40;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

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

::selection {
    background-color: #0072ef;
    color: #ffffff;
}

::-moz-selection {
    background-color: #0072ef;
    color: #ffffff;
}

body {
    background-color: var(--white);
    color: var(--secondary-blue);
    overflow-x: hidden;
    line-height: 1.6;
    margin: 0;
    padding: 0 !important;
}

/* ==========================================================================
   UNIFIED HERO PADDING (FLUSH WITH TOP FIXED HEADER)
   ========================================================================== */
.hero,
.partner-hero,
.services-hero,
.bpf-hero,
.fichas-hero,
.haccp-hero,
.food-defense-hero,
.cardapio-hero,
.cardapios-hero,
.rotulagem-hero,
.label-hero,
.pat-hero,
.resp-hero,
.auditoria-hero,
.sobre-hero,
.diag-hero,
.parcerias-hero {
    padding-top: 130px !important;
}

section {
    padding: 80px 10%;
}

@media (max-width: 768px) {
    section {
        padding: 60px 20px;
    }
}

h1, h2, h3 {
    font-weight: 700;
}

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

ul {
    list-style: none;
}

/* ==========================================================================
   GLOBAL FULL-WIDTH HEADER
   ========================================================================== */
/* ==========================================================================
   GLOBAL HEADER WITH TOP BAR & MULTI-LEVEL DROPDOWN
   ========================================================================== */
header.global-header,
body > header.global-header,
body > header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    z-index: 99999 !important;
    background: #ffffff !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    display: flex !important;
    flex-direction: column !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* 1. Top Blue Bar */
header.global-header .top-bar {
    background: #007acc;
    background: linear-gradient(90deg, #005a9c 0%, #007bc4 45%, #0099ff 100%); /* Lighter azure blue matching the alpha logo */
    color: #ffffff;
    font-size: 13px;
    padding: 7px 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

header.global-header .top-bar-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 3%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

header.global-header .top-bar-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    letter-spacing: 0.2px;
    opacity: 0.95;
    white-space: nowrap;
    overflow: visible;
    flex-shrink: 0;
}

header.global-header .top-bar-shield {
    font-size: 16px;
    color: #ffffff;
    opacity: 0.95;
}

header.global-header .top-bar-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
    white-space: nowrap;
}

header.global-header .top-bar-divider {
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, 0.35);
    margin: 0 4px;
}

header.global-header .top-bar-social {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

header.global-header .top-bar-social a {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.8);
    background: transparent;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

header.global-header .top-bar-social a:hover {
    transform: scale(1.1);
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
}

header.global-header .btn-top-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(180deg, #599b22 0%, #4a851b 100%);
    color: #ffffff !important;
    font-size: 13.5px;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
    flex-shrink: 0;
}

header.global-header .btn-top-whatsapp i {
    font-size: 17px;
}

header.global-header .btn-top-whatsapp span {
    white-space: nowrap;
}

header.global-header .btn-top-whatsapp:hover {
    background: linear-gradient(180deg, #64ab26 0%, #53941e 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* 2. Main Navigation Bar */
header.global-header .main-header {
    background: #ffffff;
    height: 82px;
    display: flex;
    align-items: center;
    width: 100%;
}

header.global-header .main-header-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 3%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

header.global-header .logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

header.global-header .logo a {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

header.global-header .logo img {
    height: 72px;
    max-height: 74px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.25s ease, height 0.25s ease;
}

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

header.global-header nav.main-nav {
    display: flex;
    align-items: center;
    margin-left: auto;
}

header.global-header nav.main-nav > ul {
    display: flex;
    align-items: center;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

header.global-header nav.main-nav > ul > li {
    position: relative;
    padding: 10px 0;
    white-space: nowrap;
    flex-shrink: 0;
}

header.global-header nav.main-nav > ul > li > a {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    font-size: 14.5px;
    font-weight: 700;
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 6px;
    white-space: nowrap;
    position: relative;
}

header.global-header nav.main-nav > ul > li > a:hover,
header.global-header nav.main-nav > ul > li.has-dropdown:hover > a {
    color: #0072ef;
}

header.global-header nav.main-nav > ul > li > a.active {
    color: #0072ef;
    font-weight: 800;
}

header.global-header nav.main-nav > ul > li > a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 14px;
    right: 14px;
    height: 3px;
    background: linear-gradient(90deg, #0056b3 0%, #0072ef 100%);
    border-radius: 3px;
}

/* 3. Submenus removed */
header.global-header nav.main-nav .dropdown-menu,
header.global-header nav.main-nav .dropdown-icon {
    display: none !important;
}

/* 4. Header Actions (Área do Cliente & Mobile Toggle) */
header.global-header .header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

header.global-header .btn-client-area {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #012b52 0%, #001a35 100%);
    color: #ffffff !important;
    font-size: 13.5px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(1, 43, 82, 0.25);
    transition: all 0.25s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

header.global-header .btn-client-area:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(1, 43, 82, 0.35);
    background: linear-gradient(135deg, #00386e 0%, #012b52 100%);
}

header.global-header .btn-client-area i {
    font-size: 13px;
}

/* 5. Mobile Responsiveness */
header.global-header .mobile-menu-toggle {
    display: none;
    font-size: 22px;
    color: #012b52;
    cursor: pointer;
}

/* ==========================================================================
   SMARTPHONE & TABLET ADAPTIVE STYLES
   ========================================================================== */

/* Telas Intermediárias / Laptops (1025px a 1240px) - Preserva alinhamento e respiro do menu com logo ampliada */
@media (min-width: 1025px) and (max-width: 1240px) {
    header.global-header .main-header-container {
        padding: 0 2%;
        gap: 14px;
    }
    header.global-header .logo img {
        height: 66px;
        max-height: 68px;
    }
    header.global-header nav.main-nav > ul {
        gap: 6px;
    }
    header.global-header nav.main-nav > ul > li > a {
        padding: 8px 10px;
        font-size: 13.5px;
    }
    header.global-header .btn-client-area {
        padding: 8px 12px;
        font-size: 13px;
        gap: 6px;
    }
}

/* Tablets (iPad, Galaxy Tab, 768px a 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    header.global-header .top-bar-left {
        display: flex;
        font-size: 12px;
    }
    header.global-header .top-bar-left span {
        max-width: 380px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    header.global-header .logo img {
        height: 62px;
        max-height: 64px;
    }
    header.global-header .main-header {
        height: 76px;
    }
}

/* Mobile Navigation Backdrop Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(0, 26, 53, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 99990 !important; /* Stays behind header (99999) so drawer links remain 100% clickable */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s ease;
    pointer-events: none;
}
.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Hide Mobile Drawer specific elements on desktop */
@media (min-width: 1025px) {
    .drawer-header,
    .drawer-footer,
    .drawer-chevron,
    .mobile-nav-overlay {
        display: none !important;
    }
}

/* Smartphones & Tablets Menores (max-width: 1024px) - Modern Responsive Navigation */
@media (max-width: 1024px) {
    /* Header Actions alignment (Square 42x42px buttons) */
    header.global-header .header-actions {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
    }

    header.global-header .btn-client-area {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 42px !important;
        height: 42px !important;
        padding: 0 !important;
        border-radius: 10px !important;
        font-size: 15px !important;
        background: linear-gradient(135deg, #012b52 0%, #001a35 100%) !important;
        box-shadow: 0 3px 10px rgba(1, 43, 82, 0.2) !important;
        color: #ffffff !important;
        flex-shrink: 0 !important;
        border: none !important;
        transition: all 0.2s ease !important;
    }
    header.global-header .btn-client-area:hover {
        transform: translateY(-1px) !important;
        background: linear-gradient(135deg, #00386e 0%, #012b52 100%) !important;
    }
    header.global-header .btn-client-area span {
        display: none !important;
    }

    header.global-header .mobile-menu-toggle {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 42px !important;
        height: 42px !important;
        border-radius: 10px !important;
        background: #f0f7ff !important;
        border: 1px solid #d4e8fc !important;
        color: #003366 !important;
        font-size: 19px !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
        flex-shrink: 0 !important;
        padding: 0 !important;
        pointer-events: auto !important;
        user-select: none !important;
        -webkit-tap-highlight-color: transparent !important;
    }
    header.global-header .mobile-menu-toggle * {
        pointer-events: none !important;
    }
    header.global-header .mobile-menu-toggle:hover {
        background: #e0f0ff !important;
        color: #0072ef !important;
    }

    /* Top Bar on Mobile & Tablet */
    header.global-header .top-bar-left,
    header.global-header .top-bar-divider {
        display: none !important;
    }
    header.global-header .top-bar-container {
        justify-content: space-between !important;
        padding: 0 4% !important;
    }
    header.global-header .top-bar-social {
        gap: 8px !important;
    }
    header.global-header .top-bar-social a {
        width: 26px !important;
        height: 26px !important;
        font-size: 11px !important;
    }
    header.global-header .btn-top-whatsapp {
        padding: 5px 14px !important;
        font-size: 12px !important;
        gap: 6px !important;
        border-radius: 20px !important;
    }
    header.global-header .btn-top-whatsapp i {
        font-size: 14px !important;
    }

    /* Mobile Menu Drawer (nav.main-nav) */
    header.global-header nav.main-nav {
        position: fixed !important;
        top: 0 !important;
        right: -340px !important;
        width: 320px !important;
        max-width: 86vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        background: #ffffff !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
        transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
        box-shadow: -10px 0 40px rgba(0, 26, 53, 0.22) !important;
        z-index: 999999 !important;
        display: flex !important;
    }
    header.global-header nav.main-nav.active {
        right: 0 !important;
    }

    /* Drawer Header */
    .drawer-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 16px 20px !important;
        border-bottom: 1px solid #f1f5f9 !important;
        background: #ffffff !important;
        flex-shrink: 0 !important;
    }
    .drawer-logo img {
        height: 44px !important;
        width: auto !important;
        object-fit: contain !important;
        display: block !important;
    }
    .drawer-close {
        width: 38px !important;
        height: 38px !important;
        border-radius: 50% !important;
        background: #f0f7ff !important;
        border: 1px solid #e0f0ff !important;
        color: #012b52 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 18px !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
        padding: 0 !important;
    }
    .drawer-close:hover {
        background: #e0f0ff !important;
        color: #0072ef !important;
        transform: scale(1.05) !important;
    }

    /* Drawer Menu Links List */
    header.global-header nav.main-nav > ul {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        gap: 4px !important;
        padding: 16px 14px !important;
        margin: 0 !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        flex: 1 !important;
        list-style: none !important;
    }
    header.global-header nav.main-nav > ul > li {
        width: 100% !important;
        border-bottom: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    header.global-header nav.main-nav > ul > li > a {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        padding: 12px 16px !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        color: #2c3e50 !important;
        text-decoration: none !important;
        border-radius: 10px !important;
        transition: all 0.2s ease !important;
        box-sizing: border-box !important;
        position: relative !important;
    }
    header.global-header nav.main-nav > ul > li > a:hover {
        background: #f8fafc !important;
        color: #0072ef !important;
    }
    header.global-header nav.main-nav > ul > li > a.active {
        background: #f0f7ff !important;
        color: #0072ef !important;
        font-weight: 700 !important;
        border-left: 4px solid #0072ef !important;
    }
    header.global-header nav.main-nav > ul > li > a.active::after {
        display: none !important;
    }
    .drawer-chevron {
        font-size: 12px !important;
        opacity: 0.35 !important;
        transition: transform 0.2s ease, opacity 0.2s ease !important;
        pointer-events: none !important;
    }
    header.global-header nav.main-nav > ul > li > a:hover .drawer-chevron,
    header.global-header nav.main-nav > ul > li > a.active .drawer-chevron {
        opacity: 0.8 !important;
        transform: translateX(2px) !important;
    }

    /* Drawer Footer (Ações & Contato) */
    .drawer-footer {
        padding: 16px 18px 24px !important;
        border-top: 1px solid #f1f5f9 !important;
        background: #fafcfe !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        flex-shrink: 0 !important;
    }
    .drawer-btn-client {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        padding: 12px !important;
        background: linear-gradient(135deg, #012b52 0%, #001a35 100%) !important;
        color: #ffffff !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        border-radius: 10px !important;
        text-decoration: none !important;
        box-shadow: 0 4px 12px rgba(1, 43, 82, 0.2) !important;
        transition: all 0.2s ease !important;
    }
    .drawer-btn-client:hover {
        background: linear-gradient(135deg, #00386e 0%, #012b52 100%) !important;
        transform: translateY(-1px) !important;
    }
    .drawer-btn-whatsapp {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        padding: 11px !important;
        background: #25d366 !important;
        color: #ffffff !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        border-radius: 10px !important;
        text-decoration: none !important;
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25) !important;
        transition: all 0.2s ease !important;
    }
    .drawer-btn-whatsapp:hover {
        background: #20ba59 !important;
        transform: translateY(-1px) !important;
    }
}

/* Smartphones (max-width: 768px) */
@media (max-width: 768px) {
    header.global-header .top-bar {
        padding: 5px 0 !important;
    }
    header.global-header .top-bar-container {
        padding: 0 4% !important;
    }
    header.global-header .main-header-container {
        padding: 0 4% !important;
    }
    header.global-header .logo img {
        height: 52px !important;
        max-height: 54px !important;
    }
    header.global-header .main-header {
        height: 68px !important;
    }
    section {
        padding: 60px 5% !important;
    }
}

/* Smartphones Menores (max-width: 576px) */
@media (max-width: 576px) {
    header.global-header .top-bar-right {
        gap: 8px !important;
    }
    header.global-header .top-bar-social {
        gap: 6px !important;
    }
    header.global-header .top-bar-social a {
        width: 24px !important;
        height: 24px !important;
        font-size: 11px !important;
    }
    header.global-header .btn-top-whatsapp {
        padding: 5px 12px !important;
        font-size: 12px !important;
        gap: 6px !important;
    }
    header.global-header .btn-top-whatsapp i {
        font-size: 14px !important;
    }
}

/* Telas Ultra Compactas (max-width: 440px) */
@media (max-width: 440px) {
    header.global-header .btn-top-whatsapp span {
        display: none !important;
    }
    header.global-header .btn-top-whatsapp {
        padding: 5px 9px !important;
        border-radius: 50% !important;
        width: 28px !important;
        height: 28px !important;
        justify-content: center !important;
    }
    header.global-header .main-header-container {
        padding: 0 3% !important;
    }
    header.global-header .logo img {
        height: 48px !important;
        max-height: 50px !important;
    }
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    transition: var(--transition);
}

.btn {
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-blue);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 174, 239, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 174, 239, 0.5);
    background-color: #0099cc;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--secondary-blue);
}

.btn-dark {
    background-color: var(--secondary-blue);
    color: white;
}

.btn-dark:hover {
    background-color: var(--dark-blue);
    transform: translateY(-3px);
}

/* (Old header styles replaced by global-header above) */

.logo img {
    height: 72px;
    width: auto;
    transition: var(--transition);
}

header.sticky .logo img {
    height: 64px;
}

@media (max-width: 768px) {
    .logo img {
        height: 54px;
    }
    header.sticky .logo img {
        height: 46px;
    }
}

nav ul {
    display: flex;
    gap: 40px;
}

/* Legacy fallback styles (only for pages without global-header) */
body:not(:has(header.global-header)) nav.active {
    right: 0;
}

nav ul li a {
    font-weight: 600;
    color: var(--secondary-blue);
    font-size: 15px;
    letter-spacing: 0.3px;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary-blue);
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a.active {
    color: var(--primary-blue);
}

nav ul li a.active::after {
    width: 100%;
}

header.global-header.sticky {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

header.global-header.sticky .main-header {
    height: 74px;
}

header.global-header.sticky .logo img {
    height: 64px;
    max-height: 66px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

@media (max-width: 1024px) {
    .header-right {
        gap: 15px;
    }
    .header-cta {
        display: none;
    }
}

.client-area-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--secondary-blue);
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 50px;
    transition: var(--transition);
}

.client-area-link i {
    font-size: 18px;
    color: var(--primary-blue);
}

.client-area-link:hover {
    background-color: var(--light-blue);
    color: var(--primary-blue);
}

/* Language Switcher */
.language-switcher {
    position: relative;
    cursor: pointer;
}

.lang-selected {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.lang-selected:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.lang-selected img {
    width: 24px;
    height: auto;
    border-radius: 2px;
}

.lang-selected i {
    font-size: 14px;
    color: var(--secondary-blue);
}

.lang-dropdown {
    position: absolute;
    top: 120%;
    right: 0;
    width: 170px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow: hidden;
    z-index: 1001;
    border: 1px solid #eee;
}

.language-switcher:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    transition: var(--transition);
    color: var(--secondary-blue);
    font-size: 14px;
}

.lang-option:hover {
    background-color: #f8f9fa;
    color: var(--primary-blue);
}

.lang-option img {
    width: 20px;
    height: auto;
    border-radius: 1px;
}

.lang-option span {
    font-size: 14px;
    font-weight: 500;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 800px;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 10%;
    background-color: #000c1a;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 65%;
    height: 100%;
    background: linear-gradient(90deg, #000c1a 0%, rgba(0, 12, 26, 0.3) 50%, transparent 100%), url('../images/hero_background.webp');
    background-size: cover;
    background-position: center;
    clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 0% 100%);
    z-index: 1;
    opacity: 0.9;
}

.hero-content {
    max-width: 650px;
    position: relative;
    z-index: 2;
    color: white;
}

.hero h1 {
    font-size: 68px;
    margin-bottom: 30px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -3px;
}

.hero h1 span {
    color: var(--primary-blue);
    background: linear-gradient(to right, var(--primary-blue), #00d2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 20px;
    margin-bottom: 50px;
    opacity: 0.8;
    max-width: 550px;
    line-height: 1.6;
}

.hero-btns {
    display: flex;
    gap: 25px;
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 80vh;
        padding-top: 140px;
        padding-bottom: 80px;
        text-align: center;
        justify-content: center;
    }

    .hero::after {
        width: 100%;
        opacity: 0.3;
        clip-path: none;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .hero-btns .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Trust Bar */
.trust-bar {
    padding: 55px 2%;
    background: #f0f7ff;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 30px;
    flex-wrap: nowrap;
    border-bottom: 1px solid var(--gray-200);
    width: 100%;
}

.trust-logo-item {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    user-select: none;
    cursor: default;
}

.trust-logo-item:hover {
    transform: scale(1.05);
}

.trust-divider {
    width: 1px;
    height: 50px;
    background-color: #cbd5e1;
    flex-shrink: 0;
}

/* Specific logos CSS */
.logo-anvisa-container {
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo-anvisa-icon-svg {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.logo-anvisa-icon-svg svg {
    width: 55px;
    height: 55px;
    display: block;
}
.logo-anvisa-text-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 0.95;
}
.logo-anvisa-title {
    color: #00317b;
    font-size: 38px;
    font-weight: 800;
    font-family: Arial, sans-serif;
    letter-spacing: -0.5px;
}
.logo-anvisa-subtitle {
    color: #00317b;
    font-size: 11.5px;
    font-family: Arial, sans-serif;
    margin-top: 1px;
    font-weight: 500;
    letter-spacing: -0.2px;
}

.logo-fda-container {
    display: flex;
    align-items: center;
    background-color: transparent;
    transition: var(--transition);
}

.logo-fda-icon {
    height: 52px;
    width: auto;
    object-fit: contain;
    filter: brightness(0.4) saturate(2) hue-rotate(15deg);
}

.logo-efsa-container { display: flex; align-items: center; transition: var(--transition); }
.logo-efsa-icon { height: 92px; width: auto; object-fit: contain; }

.logo-fao-container { display: flex; align-items: center; gap: 8px; color: #00317b; }
.logo-fao-icon { height: 55px; width: auto; object-fit: contain; flex-shrink: 0; }
.logo-fao-text { display: flex; flex-direction: column; justify-content: center; line-height: 1.05; font-family: 'Arial', sans-serif; padding-top: 2px;}
.logo-fao-line { font-size: 10.5px; font-weight: 800; letter-spacing: 0.3px; }

.logo-who-container { display: flex; align-items: center; transition: var(--transition); }
.logo-who-icon { height: 82px; width: auto; object-fit: contain; }

/* Responsive Trust Bar: Tablets (<= 1024px) */
@media (max-width: 1024px) {
    .trust-bar {
        padding: 40px 3%;
        gap: 20px;
    }
    .trust-divider {
        height: 38px;
    }
    .logo-anvisa-icon-svg svg {
        width: 44px !important;
        height: 44px !important;
    }
    .logo-anvisa-title {
        font-size: 30px;
    }
    .logo-fda-icon {
        height: 42px !important;
        max-height: 42px !important;
        width: auto !important;
    }
    .logo-efsa-icon {
        height: 70px !important;
        max-height: 70px !important;
        width: auto !important;
    }
    .logo-fao-icon {
        height: 44px !important;
        max-height: 44px !important;
        width: auto !important;
    }
    .logo-who-icon {
        height: 64px !important;
        max-height: 64px !important;
        width: auto !important;
    }
}

/* Responsive Trust Bar: Quebra Suave para Telas Médias (<= 968px) */
@media (max-width: 968px) {
    .trust-bar {
        padding: 32px 4% !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 20px 28px !important;
        overflow: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .trust-divider {
        display: none !important;
    }
    .trust-logo-item {
        flex-shrink: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

/* Responsive Trust Bar: Smartphones (<= 768px) */
@media (max-width: 768px) {
    .trust-bar {
        padding: 26px 16px !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 14px 20px !important;
        overflow: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .trust-divider {
        display: none !important;
    }
    .trust-logo-item {
        flex-shrink: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 6px 12px !important;
        background: rgba(255, 255, 255, 0.75) !important;
        border: 1px solid rgba(0, 49, 123, 0.09) !important;
        border-radius: 10px !important;
        box-shadow: 0 2px 6px rgba(0, 30, 80, 0.04) !important;
        transition: transform 0.2s ease !important;
        max-width: calc(100% - 10px) !important;
        box-sizing: border-box !important;
    }
    .trust-logo-item:hover {
        transform: none !important;
    }

    /* Imagens e SVGs dentro da trust-bar com dimensões estritamente controladas */
    .trust-bar img {
        object-fit: contain !important;
        display: block !important;
        flex-shrink: 0 !important;
    }

    /* ANVISA Mobile */
    .logo-anvisa-container {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }
    .logo-anvisa-icon-svg {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
    }
    .logo-anvisa-icon-svg svg {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        display: block !important;
    }
    .logo-anvisa-text-group {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        line-height: 0.95 !important;
    }
    .logo-anvisa-title {
        font-size: 24px !important;
        font-weight: 800 !important;
        line-height: 1 !important;
        color: #00317b !important;
    }
    .logo-anvisa-subtitle {
        font-size: 8.5px !important;
        line-height: 1.1 !important;
        margin-top: 1px !important;
        color: #00317b !important;
    }

    /* FDA Mobile */
    .logo-fda-container {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .logo-fda-icon {
        height: 32px !important;
        max-height: 32px !important;
        width: auto !important;
        max-width: 80px !important;
    }

    /* EFSA Mobile */
    .logo-efsa-container {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .logo-efsa-icon {
        height: 46px !important;
        max-height: 46px !important;
        width: auto !important;
        max-width: 100px !important;
    }

    /* FAO Mobile */
    .logo-fao-container {
        display: flex !important;
        align-items: center !important;
        gap: 7px !important;
    }
    .logo-fao-icon {
        height: 34px !important;
        max-height: 34px !important;
        width: 34px !important;
        min-width: 34px !important;
        max-width: 34px !important;
    }
    .logo-fao-text {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        line-height: 1.1 !important;
    }
    .logo-fao-line {
        font-size: 8px !important;
        font-weight: 800 !important;
        letter-spacing: 0.2px !important;
        color: #00317b !important;
    }

    /* WHO Mobile */
    .logo-who-container {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .logo-who-icon {
        height: 46px !important;
        max-height: 46px !important;
        width: auto !important;
        max-width: 65px !important;
    }
}

/* Responsive Trust Bar: Smartphones Compactos (<= 480px) */
@media (max-width: 480px) {
    .trust-bar {
        padding: 20px 10px !important;
        gap: 10px 12px !important;
    }
    .trust-logo-item {
        padding: 5px 9px !important;
        border-radius: 8px !important;
    }

    /* ANVISA Compacto */
    .logo-anvisa-container {
        gap: 6px !important;
    }
    .logo-anvisa-icon-svg svg {
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
    }
    .logo-anvisa-title {
        font-size: 20px !important;
    }
    .logo-anvisa-subtitle {
        font-size: 7.2px !important;
    }

    /* FDA Compacto */
    .logo-fda-icon {
        height: 26px !important;
        max-height: 26px !important;
        max-width: 68px !important;
    }

    /* EFSA Compacto */
    .logo-efsa-icon {
        height: 38px !important;
        max-height: 38px !important;
        max-width: 84px !important;
    }

    /* FAO Compacto */
    .logo-fao-container {
        gap: 5px !important;
    }
    .logo-fao-icon {
        height: 28px !important;
        max-height: 28px !important;
        width: 28px !important;
        min-width: 28px !important;
        max-width: 28px !important;
    }
    .logo-fao-line {
        font-size: 6.8px !important;
    }

    /* WHO Compacto */
    .logo-who-icon {
        height: 38px !important;
        max-height: 38px !important;
        max-width: 54px !important;
    }
}

/* Showcase Slider */
.showcase-section {
    background-color: var(--gray-100);
    padding: 100px 10%;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h4 {
    color: var(--primary-blue);
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--secondary-blue);
}

.showcase-slider {
    padding: 40px 0 60px;
}

.showcase-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 100%;
    transition: var(--transition);
}

.showcase-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 40px 80px rgba(0, 51, 102, 0.2);
}

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

.showcase-info {
    padding: 30px;
}

.showcase-info h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--secondary-blue);
}

.showcase-info p {
    color: #666;
    font-size: 16px;
}

/* Swiper Customization */
.swiper-button-next, .swiper-button-prev {
    color: var(--primary-blue);
    background: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.swiper-button-prev::after {
    content: '' !important;
    display: block !important;
    width: 12px !important;
    height: 12px !important;
    border-left: 3px solid var(--primary-blue) !important;
    border-bottom: 3px solid var(--primary-blue) !important;
    transform: rotate(45deg) !important;
    margin-left: 5px !important;
    font-size: 0 !important;
    font-family: inherit !important;
}

.swiper-button-next::after {
    content: '' !important;
    display: block !important;
    width: 12px !important;
    height: 12px !important;
    border-right: 3px solid var(--primary-blue) !important;
    border-top: 3px solid var(--primary-blue) !important;
    transform: rotate(45deg) !important;
    margin-right: 5px !important;
    font-size: 0 !important;
    font-family: inherit !important;
}

@media (max-width: 768px) {
    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
}

.swiper-pagination-bullet-active {
    background: var(--primary-blue);
}

/* Swiper Fallback (if Swiper JS/CSS is not loaded or fails to initialize) */
.showcase-slider:not(.swiper-initialized) .swiper-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.showcase-slider:not(.swiper-initialized) .swiper-slide {
    flex: 1 1 300px;
    max-width: 380px;
    height: auto;
}

/* Services */
.services-section {
    text-align: center;
}

.services-header h2 {
    font-size: 36px;
    margin-bottom: 60px;
    color: var(--secondary-blue);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.service-card {
    background: linear-gradient(135deg, #001a3d 0%, #000c1a 100%);
    padding: 50px 40px;
    border-radius: 24px;
    text-align: left;
    box-shadow: 0 15px 35px rgba(0, 153, 255, 0.15);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    display: block;
    text-decoration: none !important;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 40px 80px rgba(0, 153, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    filter: brightness(1.1);
}

.service-card .service-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    margin-bottom: 30px;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 2px 2px 5px rgba(255, 255, 255, 0.2);
}

.service-card:hover .service-icon {
    background-color: var(--primary-blue);
    color: white;
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 10px 20px rgba(0, 153, 255, 0.3);
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: white;
    font-weight: 800;
}

.service-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
    font-size: 15px;
    line-height: 1.7;
}

.saiba-mais, .link {
    font-weight: 700;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.service-card:hover .saiba-mais,
.service-card:hover .link {
    color: white;
    transform: translateX(10px);
}

/* Badge Styles */
.badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 5;
}

.badge-trending {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.badge-trending i {
    display: inline-block;
    animation: pulse-fire 2s infinite;
}

@keyframes pulse-fire {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

/* Experience Stats Bar */
.experience-stats-bar {
    background: linear-gradient(135deg, #00040a 0%, #000a1a 50%, #00040a 100%), url('../images/food_products_stats_bg.png');
    background-blend-mode: multiply;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 80px 10%;
    color: white;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.experience-stats-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 153, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.experience-stats-bar::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent 45%, 
        rgba(255, 255, 255, 0.03) 48%, 
        rgba(255, 255, 255, 0.08) 50%, 
        rgba(255, 255, 255, 0.03) 52%, 
        transparent 55%);
    pointer-events: none;
    z-index: 1;
    transform: rotate(0deg);
    animation: light-beam-sweep 10s infinite linear;
}

@keyframes light-beam-sweep {
    from { transform: translateX(-30%) translateY(-30%) rotate(0deg); }
    to { transform: translateX(30%) translateY(30%) rotate(0deg); }
}

.experience-stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.experience-stat-item {
    background: rgba(0, 10, 30, 0.6);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition);
}

.experience-stat-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--primary-blue);
    box-shadow: 0 20px 40px rgba(0, 153, 255, 0.15);
}

.experience-stat-item .number {
    font-size: 54px;
    font-weight: 800;
    margin-bottom: 5px;
    letter-spacing: -2px;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    filter: drop-shadow(0 10px 20px rgba(0, 153, 255, 0.4));
    animation: count-up-glow 2s ease-out;
}

@keyframes count-up-glow {
    0% { transform: scale(0.8); opacity: 0; filter: blur(10px); }
    100% { transform: scale(1); opacity: 1; filter: blur(0); }
}

.experience-stat-icon-minimal {
    width: 80px;
    height: 80px;
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    /* Minimalist 3D Effect (Claymorphism) */
    box-shadow: 
        inset 4px 4px 8px rgba(255, 255, 255, 0.1),
        inset -4px -4px 8px rgba(0, 0, 0, 0.3),
        8px 12px 24px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    transition: var(--transition);
    position: relative;
}

/* Aura Pulsante */
.experience-stat-icon-minimal::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    border-radius: 24px;
    box-shadow: 0 0 0 rgba(0, 153, 255, 0.4);
    animation: pulse-aura 2s infinite;
}

@keyframes pulse-aura {
    0% { box-shadow: 0 0 0 0 rgba(0, 153, 255, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(0, 153, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 153, 255, 0); }
}

/* Shine Animation for Sales Titles */
.shine-text {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, #fff, var(--primary-blue), #fff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine-swipe 3s linear infinite;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes shine-swipe {
    0% { background-position: 200% center; }
    100% { background-position: -200% center; }
}

.experience-stat-icon-minimal svg {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    animation: float 4s ease-in-out infinite;
}

.experience-stat-item:hover .experience-stat-icon-minimal {
    transform: scale(1.1) translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    box-shadow: 
        inset 6px 6px 12px rgba(255, 255, 255, 0.2),
        inset -6px -6px 12px rgba(0, 0, 0, 0.4),
        12px 18px 30px rgba(0, 153, 255, 0.3);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.experience-stat-item .number {
    font-size: 54px;
    font-weight: 800;
    margin-bottom: 5px;
    letter-spacing: -2px;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    filter: drop-shadow(0 10px 20px rgba(0, 153, 255, 0.4));
}

.experience-stat-item .label {
    font-size: 14px;
    font-weight: 800;
    color: #ffffff; /* Branco para contraste total */
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 1;
    text-shadow: 0 0 15px rgba(0, 153, 255, 0.6); /* Brilho neon azul */
    margin-top: 10px;
}

@media (max-width: 968px) {
    .experience-stats-container { grid-template-columns: repeat(2, 1fr); gap: 60px; }
    .experience-stat-item .number { font-size: 38px; }
    .experience-stats-bar { padding: 100px 5%; }
    .experience-stats-bar::before { clip-path: polygon(0 0, 70% 0, 0 40%); }
}

@media (max-width: 480px) {
    .experience-stats-container { grid-template-columns: 1fr; gap: 40px; }
}

/* Why Us */
.why-us {
    display: flex;
    align-items: center;
    gap: 80px;
    position: relative;
    overflow: hidden;
    background-color: var(--dark-blue);
    color: white;
}

.why-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.why-image {
    flex: 1;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.why-image img {
    width: 100%;
    display: block;
    transition: var(--transition);
}

.why-image:hover img {
    transform: scale(1.03);
}

.why-us h2 {
    font-size: 38px;
    line-height: 1.25;
    margin-bottom: 30px;
    color: var(--white);
}

.why-decor {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.why-decor-line {
    width: 45px;
    height: 4px;
    background: linear-gradient(90deg, #00aeef, #003366);
    border-radius: 2px;
}

.why-decor-dots {
    display: flex;
    gap: 4px;
}

.why-decor-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #00aeef;
}

.why-decorations {
    position: absolute;
    bottom: -10px;
    left: -20px;
    width: 320px;
    height: 160px;
    pointer-events: none;
    z-index: 1;
}

.why-wave-svg {
    width: 100%;
    height: 100%;
}

.why-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.why-list li {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 16px;
    font-weight: 500;
}

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

.why-icon-circle {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #00aeef 0%, #003366 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 174, 239, 0.25);
}

@media (max-width: 768px) {
    .why-us {
        gap: 40px;
        text-align: left;
    }
    .why-us h2 {
        font-size: 28px;
    }
    .why-decor {
        justify-content: flex-start;
    }
    .why-us .btn {
        width: 100%;
        justify-content: center;
    }
}

.why-us .btn {
    margin-top: 30px;
}

.btn-gradient {
    background: linear-gradient(90deg, #00aeef 0%, #003366 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 174, 239, 0.3);
    border-radius: 50px;
    padding: 14px 35px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 174, 239, 0.5);
    background: linear-gradient(90deg, #003366 0%, #00aeef 100%);
}

/* Technical Section */
.technical-section {
    background: linear-gradient(rgba(240, 247, 255, 0.92), rgba(240, 247, 255, 0.92)), url('../images/world-map.png');
    background-size: cover;
    color: var(--secondary-blue);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    padding: 80px 10%;
}

.tech-info {
    flex: 1.5;
}

.tech-info h4 {
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.tech-info h2 {
    font-size: 32px;
    margin-bottom: 40px;
    max-width: 500px;
}

@media (max-width: 768px) {
    .technical-section {
        padding: 60px 20px;
        text-align: center;
    }
    .tech-info h2 {
        font-size: 26px;
        margin: 0 auto 30px;
    }
    .invest-card {
        width: 100%;
        padding: 30px 20px;
    }
}

.tech-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.tech-item i {
    font-size: 24px;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.tech-item h5 {
    font-size: 18px;
    margin-bottom: 10px;
}

.tech-item p {
    font-size: 14px;
    opacity: 0.7;
}

.invest-card {
    flex: 1;
    background: var(--white);
    backdrop-filter: blur(10px);
    padding: 40px;
    border: 1px solid rgba(0, 51, 102, 0.1);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.invest-card h3 {
    margin-bottom: 15px;
}

.invest-card p {
    opacity: 0.8;
    margin-bottom: 30px;
}

/* Lead Magnet */
.lead-section {
    display: flex;
    gap: 0;
}

.lead-left {
    flex: 1.5;
    background-color: white;
    padding: 60px 5%;
    display: flex;
    gap: 30px;
    box-shadow: 0 0 30px rgba(0,0,0,0.05);
    border-radius: 15px 0 0 15px;
    z-index: 1;
}

.checklist-img {
    width: 150px;
    box-shadow: 10px 10px 20px rgba(0,0,0,0.1);
}

.checklist-form {
    flex: 1;
}

.form-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.form-group input {
    flex: 1;
    min-width: 150px;
    padding: 12px;
    border: 1px solid var(--gray-200);
    border-radius: 5px;
}

.lead-right {
    flex: 1;
    background-color: var(--secondary-blue);
    color: white;
    padding: 60px 40px;
    border-radius: 0 15px 15px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 768px) {
    .lead-left {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }
    .checklist-img {
        margin: 0 auto 20px;
    }
    .form-group {
        flex-direction: column;
    }
    .lead-right {
        padding: 40px 20px;
        text-align: center;
    }
}

.lead-right h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.lead-right p {
    opacity: 0.8;
    margin-bottom: 30px;
}

/* Footer */
footer {
    background-color: var(--dark-blue);
    color: white;
    padding: 80px 10% 40px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-logo img,
img.footer-logo,
.footer-column.footer-logo img,
footer img[src*="logo_alfanutre"] {
    height: 60px;
    max-height: 60px;
    width: auto;
    object-fit: contain;
    margin-bottom: 18px;
}

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

.footer-social a {
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.footer-column h4 {
    margin-bottom: 25px;
    font-size: 18px;
}

.footer-column ul li {
    margin-bottom: 15px;
    opacity: 0.8;
}

.footer-column ul li a:hover {
    color: var(--primary-blue);
    opacity: 1;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    opacity: 0.6;
}

@media (max-width: 768px) {
    footer {
        padding: 60px 5% 30px;
    }
    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .footer-logo {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .footer-logo img,
    img.footer-logo,
    .footer-column.footer-logo img,
    footer img[src*="logo_alfanutre"] {
        height: 48px !important;
        max-height: 48px !important;
        width: auto !important;
        max-width: 140px !important;
        object-fit: contain !important;
        margin-bottom: 14px !important;
    }
    .footer-social {
        justify-content: center;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

@media (max-width: 968px) {
    .why-us {
        flex-direction: column;
    }
    .technical-section {
        flex-direction: column;
    }
    .lead-section {
        flex-direction: column;
    }
    .lead-left, .lead-right {
        border-radius: 15px;
    }
    .hero h1 {
        font-size: 40px;
    }
    .client-area-link span {
        display: none;
    }
    .client-area-link {
        display: none;
    }
}

.diagnostic-page {
    background-color: #f4f8fb;
}

.diag-hero {
    min-height: 100vh;
    padding: 160px 5% 100px;
    background: linear-gradient(rgba(244, 248, 251, 0.94), rgba(244, 248, 251, 0.94)), url('../images/hero_background.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.diag-container {
    max-width: 900px;
    width: 100%;
}

.diag-intro {
    text-align: center;
    color: #001a35;
    margin-bottom: 40px;
}

.diag-intro h1 {
    font-size: 42px;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #001a35;
    font-weight: 800;
}

.diag-intro p {
    font-size: 18px;
    color: #4a5568;
    font-weight: 500;
    max-width: 700px;
    margin: 0 auto;
}

.diag-card {
    background: #001a35;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 26, 53, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.diag-card-header {
    background: #00152c;
    color: #ffffff;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.diag-card-info h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #00aeef;
}

.diag-check-list {
    list-style: none;
}

.diag-check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.92);
}

.diag-check-list li i {
    color: #00aeef;
}

.diag-card-image img {
    height: 180px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 174, 239, 0.3));
    transition: transform 0.4s ease;
}

.diag-card-image img:hover {
    transform: scale(1.05) rotate(2deg);
}

.diag-form {
    padding: 40px;
    background: #001a35;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.icon-input {
    position: relative;
    display: flex;
    align-items: center;
}

.icon-input.textarea-group {
    align-items: flex-start;
}

.icon-input.textarea-group i {
    top: 16px;
}

.icon-input i {
    position: absolute;
    left: 15px;
    color: #00aeef;
}

.icon-input input, .icon-input select, .icon-input textarea {
    width: 100%;
    padding: 14px 15px 14px 45px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    font-size: 15px;
    transition: var(--transition);
    background-color: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

.icon-input input::placeholder, .icon-input textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.icon-input select option {
    background-color: #001a35;
    color: #ffffff;
}

.icon-input input:focus, .icon-input select:focus, .icon-input textarea:focus {
    border-color: #00aeef;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.25);
    background-color: rgba(255, 255, 255, 0.1);
}

.form-section {
    margin-top: 30px;
    margin-bottom: 25px;
}

.form-section label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #00aeef;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.85);
    transition: var(--transition);
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #00aeef;
}

.checkbox-item:hover {
    color: #00aeef;
}

.checkbox-item.privacy {
    margin-bottom: 25px;
}

.btn-submit {
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 18px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #0088ff 0%, #0055cc 100%);
    border: none;
    box-shadow: 0 10px 25px rgba(0, 136, 255, 0.4);
    color: #ffffff;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #0099ff 0%, #0066ee 100%);
    box-shadow: 0 12px 30px rgba(0, 153, 255, 0.6);
    color: #ffffff;
}

.form-footer {
    text-align: center;
    margin-top: 20px;
}

.form-note {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

.footer-cert-logos {
    display: flex;
    gap: 25px;
    font-size: 14px;
    font-weight: 700;
    opacity: 0.6;
    letter-spacing: 2px;
}

@media (max-width: 768px) {
    .diag-card-header {
        flex-direction: column;
        text-align: center;
    }
    .diag-card-image {
        display: none;
    }
    .form-row, .checkbox-grid {
        grid-template-columns: 1fr;
    }
    .diag-intro h1 {
        font-size: 32px;
    }
}

/* Service Hero Premium (HACCP) */
.service-hero-premium {
    min-height: 85vh;
    padding: 180px 10% 120px;
    background: url('../images/haccp_hero_bg.png') center right no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    color: white;
}

.hero-overlay-dark {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, #001a35 0%, rgba(0, 26, 53, 0.9) 30%, rgba(0, 26, 53, 0) 60%, transparent 100%);
    z-index: 1;
}

.service-hero-content-premium {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.text-blue { color: var(--primary-blue); font-weight: 700; }

.service-tag-blue {
    background: #0046ad;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
}

.service-hero-premium h1 { font-size: 110px; font-weight: 900; margin: 10px 0; line-height: 1; }
.service-hero-premium h2 { font-size: 38px; margin-bottom: 25px; font-weight: 600; }
.service-hero-premium p { font-size: 18px; line-height: 1.6; max-width: 600px; margin-bottom: 40px; }

.hero-actions-container { display: flex; align-items: center; gap: 30px; }

.btn-hero-haccp {
    background: #0046ad;
    color: white !important;
    padding: 18px 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 70, 173, 0.3);
    transition: var(--transition);
}

.btn-hero-haccp:hover { transform: translateY(-5px); background: #0056d6; }

.hero-info-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(0, 0, 0, 0.3);
    padding: 15px 25px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.info-card-icon i { font-size: 32px; color: #ffcc00; }
.info-card-text p { font-size: 14px !important; margin: 0 !important; line-height: 1.4 !important; color: rgba(255, 255, 255, 0.9) !important; opacity: 1 !important; }

@media (max-width: 768px) {
    .service-hero-premium h1 { font-size: 60px; }
    .hero-actions-container { flex-direction: column; align-items: flex-start; }
    .hero-info-card { width: 100%; }
}

.section-top { text-align: center; margin-bottom: 30px; }
.section-top h4 { color: var(--primary-blue); letter-spacing: 2px; margin-bottom: 5px; }
.section-top h2 { font-size: 30px; color: var(--secondary-blue); margin-bottom: 15px; }
.section-top p { max-width: 800px; margin: 0 auto; color: #666; font-size: 16px; }

.container-narrow { max-width: 1200px; margin: 0 auto; padding: 40px 5%; }

/* HACCP Premium Flex Layout */
.what-is-section {
    background: linear-gradient(135deg, #001a35 0%, #012b52 100%);
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}

.what-is-section::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 174, 239, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    animation: pulse-slow 15s infinite alternate ease-in-out;
}

@keyframes pulse-slow {
    0% { transform: scale(1) translate(0, 0); opacity: 0.5; }
    100% { transform: scale(1.2) translate(-30px, 30px); opacity: 0.8; }
}

.what-is-flex {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.what-is-content {
    flex: 1;
}

.what-is-content h2 {
    font-size: 42px;
    color: white;
    margin: 15px 0 25px;
    line-height: 1.1;
}

.what-is-content p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: 17px;
}

.haccp-highlight-text {
    color: var(--primary-blue) !important;
    font-weight: 700;
    font-size: 18px;
    margin: 25px 0;
    line-height: 1.4;
    border-left: 3px solid var(--primary-blue);
    padding-left: 20px;
}

.cert-box-mini {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px 25px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.cert-box-mini i {
    font-size: 28px;
    color: var(--primary-blue);
}

.cert-box-mini p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin: 0 !important;
    line-height: 1.4;
}

.small-tag {
    color: var(--primary-blue);
    letter-spacing: 2px;
    font-weight: 700;
}

.haccp-premium-box {
    flex: 1.2;
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
}

.haccp-horizontal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.haccp-mini-item {
    text-align: center;
}

.number-circle {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 16px;
    font-weight: 800;
    color: var(--primary-blue);
    box-shadow: 0 4px 10px rgba(0, 174, 239, 0.1);
    border: 1px solid rgba(0, 174, 239, 0.05);
}

.haccp-mini-item h3 {
    font-size: 18px;
    color: white;
    margin-bottom: 12px;
    font-weight: 700;
}

.haccp-mini-item p {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.6);
}

.methodology-section { background: var(--dark-blue); padding: 80px 10%; }

.methodology-section .section-header h2 { color: white; }
.methodology-section .section-header h4 { color: var(--primary-blue); }

.steps-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.step-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-blue);
}

.step-icon {
    font-size: 28px;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.step-num { font-weight: 800; color: var(--primary-blue); margin-bottom: 8px; font-size: 16px; }
.step-card h3 { font-size: 18px; margin-bottom: 12px; color: white; font-weight: 800; }
.step-card p { font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, 0.7); }

.diff-contact-section { padding: 40px 10%; background: white; }
.diff-container { display: flex; gap: 40px; align-items: flex-start; }
.diff-info { flex: 1; }
.diff-tag { color: var(--primary-blue); letter-spacing: 2px; margin-bottom: 10px; }
.diff-title { font-size: 28px; color: var(--secondary-blue); margin-bottom: 25px; }

.diff-list { list-style: none; }
.diff-list li { display: flex; gap: 15px; margin-bottom: 20px; }
.diff-list li i { font-size: 20px; color: var(--primary-blue); margin-top: 3px; }
.diff-list h5 { font-size: 16px; color: var(--secondary-blue); margin-bottom: 3px; }
.diff-list p { color: #666; font-size: 13px; }

.contact-card-haccp {
    flex: 0.8;
    background: var(--secondary-blue);
    color: white;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(1, 43, 82, 0.15);
}

.haccp-form { margin-top: 20px; }
.haccp-form input, .haccp-form select, .haccp-form textarea {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 10px;
    border-radius: 6px;
    border: none;
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 14px;
}

.haccp-form input::placeholder { color: rgba(255,255,255,0.5); }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }

.checkbox-item-haccp {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    margin-bottom: 20px;
    opacity: 0.8;
}

@media (max-width: 1024px) {
    .steps-grid { grid-template-columns: repeat(3, 1fr); }
    .diff-container { flex-direction: column; }
    .what-is-flex { gap: 40px; }
}

@media (max-width: 968px) {
    .what-is-flex {
        flex-direction: column;
        text-align: center;
    }
    .haccp-highlight-text {
        border-left: none;
        border-top: 3px solid var(--primary-blue);
        padding-left: 0;
        padding-top: 15px;
    }
    .cert-box-mini {
        justify-content: center;
    }
    .haccp-premium-box {
        width: 100%;
        padding: 30px 20px;
    }
}

@media (max-width: 600px) {
    .haccp-horizontal-grid {
        grid-template-columns: 1fr;
    }
    .what-is-content h2 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .steps-grid { grid-template-columns: 1fr; }
    .service-hero h1 { font-size: 48px; }
}

/* CTA Section */
.cta-label-section {
    padding: 80px 10%;
    background: var(--dark-blue);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}
.cta-label-content { display: flex; align-items: center; gap: 30px; }
.cta-label-content .icon-wrap { font-size: 48px; color: var(--primary-blue); opacity: 0.5; }
.cta-label-content h2 { font-size: 32px; margin-bottom: 5px; color: white; font-weight: 800; }
.cta-label-content p { font-size: 16px; opacity: 0.8; margin: 0; color: white; }
@media (max-width: 968px) {
    .cta-label-section { flex-direction: column; text-align: center; }
}

/* CTA Light Section (Padrão Claro) */
.cta-light-section {
    background: var(--light-blue);
    padding: 80px 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.cta-light-content {
    display: flex;
    align-items: center;
    gap: 25px;
}
.cta-light-icon {
    width: 80px;
    height: 80px;
    background: var(--secondary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    color: white;
    flex-shrink: 0;
}
.cta-light-text h2 {
    font-size: 28px;
    color: var(--secondary-blue);
    margin-bottom: 8px;
    font-weight: 700;
}
.cta-light-text p {
    font-size: 16px;
    color: #555;
    margin: 0;
}
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-blue);
}

.step-icon {
    font-size: 28px;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.step-num { font-weight: 800; color: var(--primary-blue); margin-bottom: 8px; font-size: 16px; }
.step-card h3 { font-size: 18px; margin-bottom: 12px; color: white; font-weight: 800; }
.step-card p { font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, 0.7); }

.diff-contact-section { padding: 40px 10%; background: white; }
.diff-container { display: flex; gap: 40px; align-items: flex-start; }
.diff-info { flex: 1; }
.diff-tag { color: var(--primary-blue); letter-spacing: 2px; margin-bottom: 10px; }
.diff-title { font-size: 28px; color: var(--secondary-blue); margin-bottom: 25px; }

.diff-list { list-style: none; }
.diff-list li { display: flex; gap: 15px; margin-bottom: 20px; }
.diff-list li i { font-size: 20px; color: var(--primary-blue); margin-top: 3px; }
.diff-list h5 { font-size: 16px; color: var(--secondary-blue); margin-bottom: 3px; }
.diff-list p { color: #666; font-size: 13px; }

.contact-card-haccp {
    flex: 0.8;
    background: var(--secondary-blue);
    color: white;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(1, 43, 82, 0.15);
}

.haccp-form { margin-top: 20px; }
.haccp-form input, .haccp-form select, .haccp-form textarea {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 10px;
    border-radius: 6px;
    border: none;
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 14px;
}

.haccp-form input::placeholder { color: rgba(255,255,255,0.5); }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }

.checkbox-item-haccp {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    margin-bottom: 20px;
    opacity: 0.8;
}

@media (max-width: 1024px) {
    .steps-grid { grid-template-columns: repeat(3, 1fr); }
    .diff-container { flex-direction: column; }
    .what-is-flex { gap: 40px; }
}

@media (max-width: 968px) {
    .what-is-flex {
        flex-direction: column;
        text-align: center;
    }
    .haccp-highlight-text {
        border-left: none;
        border-top: 3px solid var(--primary-blue);
        padding-left: 0;
        padding-top: 15px;
    }
    .cert-box-mini {
        justify-content: center;
    }
    .haccp-premium-box {
        width: 100%;
        padding: 30px 20px;
    }
}

@media (max-width: 600px) {
    .haccp-horizontal-grid {
        grid-template-columns: 1fr;
    }
    .what-is-content h2 {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .steps-grid { grid-template-columns: 1fr; }
    .service-hero h1 { font-size: 48px; }
}

/* CTA Section */
.cta-label-section {
    padding: 80px 10%;
    background: var(--dark-blue);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}
.cta-label-content { display: flex; align-items: center; gap: 30px; }
.cta-label-content .icon-wrap { font-size: 48px; color: var(--primary-blue); opacity: 0.5; }
.cta-label-content h2 { font-size: 32px; margin-bottom: 5px; color: white; font-weight: 800; }
.cta-label-content p { font-size: 16px; opacity: 0.8; margin: 0; color: white; }
@media (max-width: 968px) {
    .cta-label-section { flex-direction: column; text-align: center; }
}

/* CTA Light Section (Padrão Claro) */
.cta-light-section {
    background: var(--light-blue);
    padding: 80px 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.cta-light-content {
    display: flex;
    align-items: center;
    gap: 25px;
}
.cta-light-icon {
    width: 80px;
    height: 80px;
    background: var(--secondary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    color: white;
    flex-shrink: 0;
}
.cta-light-text h2 {
    font-size: 28px;
    color: var(--secondary-blue);
    margin-bottom: 8px;
    font-weight: 700;
}
.cta-light-text p {
    font-size: 16px;
    color: #555;
    margin: 0;
}
@media (max-width: 968px) {
    .cta-light-section { flex-direction: column; text-align: center; gap: 30px; padding: 60px 5%; }
    .cta-light-content { flex-direction: column; }
}

/* Breadcrumbs */
.breadcrumbs { font-size: 14px; color: rgba(255, 255, 255, 0.7); margin-top: 0; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumbs a { color: rgba(255, 255, 255, 0.7); text-decoration: none; transition: color 0.3s; }
.breadcrumbs a:hover { color: #ffffff; }
.breadcrumbs span { color: #00aeef !important; font-weight: 700 !important; }

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: whatsapp-pulse 2s infinite;
}

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

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}

/* ==========================================================================
   ALFANUTRE MASTER RESPONSIVE & MOBILE OVERFLOW SHIELD
   Garante visualização perfeita em smartphones (320px a 768px),
   eliminando cortes laterais de texto, overflow horizontal e quebras de layout.
   ========================================================================== */

/* 1. Global Viewport & Box Integrity */
html, body {
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
}

*, *::before, *::after {
    box-sizing: border-box !important;
}

/* 2. Universal Mobile Rules (<= 768px) */
@media (max-width: 768px) {
    /* Section & Container Padding Normalization */
    section,
    .section,
    main,
    .container,
    .sobre-hero-container,
    .haccp-hero-container,
    .quem-somos-container,
    .resp-tecnica-container,
    .split-dashboard-container,
    .sobre-cta-container {
        padding-left: 16px !important;
        padding-right: 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* All Heroes Mobile Flush & Unclipped */
    .hero,
    .partner-hero,
    .services-hero,
    .services-hero-v2,
    .bpf-hero,
    .bpf-hero-full,
    .fichas-hero,
    .haccp-hero,
    .defense-hero,
    .food-defense-hero,
    .cardapio-hero,
    .cardapios-hero,
    .rotulagem-hero,
    .label-hero,
    .pat-hero,
    .resp-hero,
    .rt-hero,
    .auditoria-hero,
    .sobre-hero,
    .diag-hero,
    .parcerias-hero,
    .conteudos-hero {
        padding-top: 110px !important;
        padding-bottom: 45px !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
        min-height: auto !important;
        height: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    /* Hero Content Wrappers */
    .hero-content,
    .hero-v2-content,
    .sobre-hero-content,
    .bpf-hero-content,
    .label-hero-content,
    .fichas-hero-content,
    .defense-hero-content,
    .rt-hero-content,
    .pat-hero-content,
    .auditoria-hero-content,
    .hero-text-content,
    .hero-container {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    /* Fluid Typography to Prevent Any Word from Colliding with Screen Edge */
    h1,
    .hero h1,
    .services-hero-v2 h1,
    .hero-v2-content h1,
    .sobre-hero-title,
    .bpf-hero-title,
    .label-hero h1,
    .hero-main-title,
    .pat-hero h1,
    .rt-hero h1,
    .fichas-hero h1,
    .defense-hero h1,
    .auditoria-hero h1,
    .partner-hero h1 {
        font-size: clamp(24px, 7vw, 34px) !important;
        line-height: 1.2 !important;
        letter-spacing: -0.5px !important;
        margin-bottom: 18px !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
    }

    h2,
    .featured-section h2,
    .portfolio-section h2,
    .quem-somos-title,
    .cta-evolve-info h2,
    .section-header h2 {
        font-size: clamp(20px, 5.5vw, 28px) !important;
        line-height: 1.25 !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }

    h3 {
        font-size: clamp(17px, 4.5vw, 22px) !important;
        line-height: 1.3 !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }

    p, .hero p, .hero-v2-content p, .sobre-hero-desc {
        font-size: 15px !important;
        line-height: 1.6 !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }

    /* Frosted-Glass & Highlights (Servicos, Sobre, etc.) */
    .hero-company-about,
    .sobre-hero-company {
        max-width: 100% !important;
        width: 100% !important;
        padding: 16px 14px !important;
        margin: 20px 0 25px !important;
        box-sizing: border-box !important;
        border-radius: 0 12px 12px 0 !important;
    }

    .hero-company-about p,
    .sobre-hero-company p {
        font-size: 14px !important;
        line-height: 1.55 !important;
        margin-bottom: 10px !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }

    /* Flex Containers & Checkmarks: Stacking to Prevent Horizontal Stretch */
    .hero-v2-checks,
    .hero-checks,
    .hero-features-minimal,
    .hero-mini-features,
    .rt-hero-badges,
    .hero-features-bar,
    .market-badges,
    .format-card-header {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .hero-v2-checks span,
    .hero-checks span,
    .hero-mini-features span,
    .hero-features-minimal span {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        font-size: 13.5px !important;
        word-break: break-word !important;
        white-space: normal !important;
    }

    /* Button Rows */
    .hero-v2-btns,
    .hero-btns,
    .hero-actions,
    .hero-buttons,
    .sobre-hero-btns,
    .sobre-cta-btns {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 12px !important;
        margin-bottom: 25px !important;
    }

    .hero-v2-btns a,
    .hero-v2-btns button,
    .hero-btns a,
    .hero-btns button,
    .hero-actions a,
    .hero-actions button,
    .hero-buttons a,
    .hero-buttons button,
    .sobre-hero-btns a,
    .sobre-hero-btns button,
    .sobre-cta-btns a,
    .sobre-cta-btns button {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }

    /* Background Watermarks on Mobile */
    .hero-v2-bg,
    .hero-bg-overlay {
        width: 100% !important;
        opacity: 0.18 !important;
    }

    /* Negative Positioning & Overflow Fixes */
    .gil-markets-card {
        position: static !important;
        width: 100% !important;
        right: auto !important;
        bottom: auto !important;
        margin-top: 20px !important;
        box-sizing: border-box !important;
    }

    .rt-escopo h2::before,
    .rt-escopo h2::after {
        display: none !important;
    }

    .numbers-title::before,
    .numbers-title::after {
        width: 25px !important;
    }

    .numbers-title {
        letter-spacing: 2px !important;
        font-size: 16px !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
    }

    .cta-card-img-wrap {
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 160px !important;
    }

    .pat-cta {
        padding: 25px 18px !important;
        margin: 35px 16px !important;
        flex-direction: column !important;
        text-align: center !important;
        gap: 20px !important;
    }

    .pc-left {
        flex-direction: column !important;
        gap: 15px !important;
        text-align: center !important;
    }

    /* Media & Images (exceto elementos de dimensões rigidamente calculadas como trust-bar e footer-logo) */
    img:not(.trust-bar img):not(.logo-fda-icon):not(.logo-efsa-icon):not(.logo-fao-icon):not(.logo-who-icon):not(.footer-logo img):not(img.footer-logo):not(.footer-column img):not(footer img[src*="logo_alfanutre"]):not(.footer-logo),
    svg:not(.trust-bar svg):not(.logo-anvisa-icon-svg svg),
    video {
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    /* Redução Controlada do Logo Alfanutre no Rodapé em Dispositivos Móveis */
    .footer-logo img,
    img.footer-logo,
    .footer-column.footer-logo img,
    .footer-column img[src*="logo_alfanutre"],
    footer img[src*="logo_alfanutre"] {
        height: 48px !important;
        max-height: 48px !important;
        width: auto !important;
        max-width: 140px !important;
        object-fit: contain !important;
        margin-bottom: 14px !important;
        display: block !important;
    }

    /* Grids to Single Column on Small Devices */
    .featured-grid,
    .especializacao-grid,
    .numbers-row,
    .segments-grid,
    .solutions-grid,
    .rt-escopo-grid,
    .bpf-features-grid,
    .bpf-form,
    .confiam-logos {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        width: 100% !important;
    }

    /* Oculta letras/setas de navegação do carrossel no mobile (usa apenas swipe e pontos) */
    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
}

/* Telas muito pequenas / Smartphones compactos (<= 480px) */
@media (max-width: 480px) {
    .footer-logo img,
    img.footer-logo,
    .footer-column.footer-logo img,
    .footer-column img[src*="logo_alfanutre"],
    footer img[src*="logo_alfanutre"] {
        height: 40px !important;
        max-height: 40px !important;
        width: auto !important;
        max-width: 120px !important;
        object-fit: contain !important;
        margin-bottom: 12px !important;
        display: block !important;
    }
}

