html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Glassmorphism card */
.glass-card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

/* Home CTA pulse on hover */
.home-cta-link {
    transition: opacity 0.3s;
}
.home-cta-link:hover {
    animation: pulse-fade 1.5s ease-in-out infinite;
}
@keyframes pulse-fade {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c02d76;
}

/* ===== Site Header ===== */
.site-header {
    background: #fff !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    padding: 0 !important;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 70px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.header-logo {
    width: 180px;
    cursor: pointer;
    display: block;
}

.header-logo img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== Responsive: desktop vs mobile ===== */
.desktop-only {
    display: none !important;
}

.mobile-only {
    display: flex !important;
}

@media (min-width: 1200px) {
    .desktop-only {
        display: flex !important;
    }
    .mobile-only {
        display: none !important;
    }
}

/* ===== Mobile Toggle Button ===== */
.mobile-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: #2c3e50;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: background 0.2s;
}

.mobile-toggle:hover {
    background: rgba(76,125,178,0.08);
}

/* ===== Mobile Fullscreen Panel ===== */
.mobile-panel {
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    flex-shrink: 0;
}

/* ===== Mobile Nav (pure HTML) ===== */
.mobile-nav {
    flex: 1;
    padding: 0.5rem 0;
    overflow-y: auto;
}

.mobile-nav-group {
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.mobile-nav-parent {
    display: flex;
    align-items: center;
    color: #2c3e50;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s;
}

/* When parent is a direct <a> (no children, e.g. Sobre Nós) */
a.mobile-nav-parent {
    gap: 0.75rem;
    padding: 0.9rem 1.25rem;
}

a.mobile-nav-parent:hover {
    background: rgba(76,125,178,0.08);
    color: #1a5276;
}

a.mobile-nav-parent > .rzi:first-child {
    color: #4c7db2;
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

/* When parent is a <div> with link + toggle button */
div.mobile-nav-parent {
    padding: 0;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.25rem;
    color: #2c3e50;
    text-decoration: none;
    flex: 1;
    transition: background 0.15s;
}

.mobile-nav-link:hover {
    background: rgba(76,125,178,0.08);
    color: #1a5276;
}

.mobile-nav-link > .rzi {
    color: #4c7db2;
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.mobile-nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    background: none;
    border: none;
    border-left: 1px solid rgba(0,0,0,0.06);
    cursor: pointer;
    color: #999;
    transition: background 0.15s;
    flex-shrink: 0;
}

.mobile-nav-toggle:hover {
    background: rgba(76,125,178,0.08);
    color: #1a5276;
}

.mobile-nav-toggle .rzi {
    font-size: 1.25rem;
}

.mobile-nav-children {
    display: flex;
    flex-direction: column;
    background: rgba(0,0,0,0.02);
}

.mobile-nav-children a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1.25rem 0.7rem 3.25rem;
    color: #444;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.15s, color 0.15s;
}

.mobile-nav-children a:hover {
    background: rgba(76,125,178,0.08);
    color: #1a5276;
}

.mobile-nav-children a .rzi {
    color: #4c7db2;
    font-size: 1.1rem;
    width: 22px;
    text-align: center;
    flex-shrink: 0;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-menu {
    background: transparent !important;
}

.header-menu > .rz-navigation-item > .rz-navigation-item-link {
    font-size: 0.925rem !important;
    font-weight: 500 !important;
    color: #2c3e50 !important;
    padding: 0.5rem 1rem !important;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
    letter-spacing: 0.01em;
}

.header-menu > .rz-navigation-item > .rz-navigation-item-link:hover {
    background: rgba(76,125,178,0.08) !important;
    color: #1a5276 !important;
}

.header-menu > .rz-navigation-item > .rz-navigation-item-link .rz-navigation-item-icon {
    display: none !important;
}

.header-menu .rz-navigation-item .rz-navigation-item-wrapper .rz-navigation-item-link {
    font-size: 0.875rem !important;
    color: #444 !important;
    padding: 0.5rem 1rem !important;
    transition: background 0.15s, color 0.15s;
}

.header-menu .rz-navigation-item .rz-navigation-item-wrapper .rz-navigation-item-link:hover {
    background: rgba(76,125,178,0.06) !important;
    color: #1a5276 !important;
}

.header-menu .rz-navigation-item .rz-navigation-item-wrapper .rz-navigation-item-link .rz-navigation-item-icon {
    color: #4c7db2 !important;
    font-size: 1.15rem !important;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.25rem;
    background: #1a5276;
    color: #fff !important;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.2s, transform 0.15s;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.header-cta:hover {
    background: #14415e;
    transform: translateY(-1px);
}

.rzi.rz-color-white.rz-border-radius-2 {
    background-color: #1a5276;
}

/* Home pages: ícones à esquerda no mobile */
@media (max-width: 767px) {
    .rz-display-flex.rz-justify-content-center:has(> .rzi) {
        justify-content: flex-start !important;
    }
}

.hero-breadcrumb .rz-breadcrumb {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 0.85rem;
}

.hero-breadcrumb .rz-breadcrumb a,
.hero-breadcrumb .rz-breadcrumb .rz-breadcrumb-item,
.hero-breadcrumb .rz-breadcrumb .rz-breadcrumb-item span,
.hero-breadcrumb .rz-breadcrumb .rz-breadcrumb-item a,
.hero-breadcrumb .rz-breadcrumb .rz-breadcrumb-item .rz-link {
    color: rgba(255,255,255,0.65) !important;
}

.hero-breadcrumb .rz-breadcrumb a:hover,
.hero-breadcrumb .rz-breadcrumb .rz-breadcrumb-item a:hover,
.hero-breadcrumb .rz-breadcrumb .rz-breadcrumb-item .rz-link:hover {
    color: rgba(255,255,255,0.95) !important;
}

.hero-breadcrumb .rz-breadcrumb .rz-breadcrumb-separator,
.hero-breadcrumb .rz-breadcrumb .rz-breadcrumb-separator i {
    color: rgba(255,255,255,0.4) !important;
}

.hero-breadcrumb .rz-breadcrumb .rz-breadcrumb-item.rz-breadcrumb-item-active,
.hero-breadcrumb .rz-breadcrumb .rz-breadcrumb-item.rz-breadcrumb-item-active span {
    color: rgba(255,255,255,0.85) !important;
}

/* ===== Breadcrumb: mobile — barra cinza fora do hero ===== */
@media (max-width: 1199px) {
    .hero-breadcrumb {
        background: #245f85;
        margin: -1.5rem -2rem 1rem;
        padding: 0.55rem 1.5rem;
        border-radius: var(--rz-card-border-radius) var(--rz-card-border-radius) 0 0;
    }

    .hero-breadcrumb .rz-breadcrumb a,
    .hero-breadcrumb .rz-breadcrumb .rz-breadcrumb-item,
    .hero-breadcrumb .rz-breadcrumb .rz-breadcrumb-item span,
    .hero-breadcrumb .rz-breadcrumb .rz-breadcrumb-item a,
    .hero-breadcrumb .rz-breadcrumb .rz-breadcrumb-item .rz-link {
        color: rgba(255,255,255,0.6) !important;
    }

    .hero-breadcrumb .rz-breadcrumb a:hover,
    .hero-breadcrumb .rz-breadcrumb .rz-breadcrumb-item a:hover,
    .hero-breadcrumb .rz-breadcrumb .rz-breadcrumb-item .rz-link:hover {
        color: #fff !important;
    }

    .hero-breadcrumb .rz-breadcrumb .rz-breadcrumb-separator,
    .hero-breadcrumb .rz-breadcrumb .rz-breadcrumb-separator i {
        color: rgba(255,255,255,0.35) !important;
    }

    .hero-breadcrumb .rz-breadcrumb .rz-breadcrumb-item.rz-breadcrumb-item-active,
    .hero-breadcrumb .rz-breadcrumb .rz-breadcrumb-item.rz-breadcrumb-item-active span {
        color: rgba(255,255,255,0.8) !important;
    }
}

/* ===== Contact Cards Hover ===== */
.contact-card {
    transition: transform 0.25s, box-shadow 0.25s, filter 0.25s;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    filter: brightness(1.15);
}

/* ===== Detail Cards (pages de detalhe) ===== */
.detail-card {
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.25s, box-shadow 0.25s;
}

.detail-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* ===== About Timeline ===== */
.about-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 64px;
}

.about-timeline::before {
    content: '';
    position: absolute;
    left: 23px;
    top: 24px;
    bottom: 24px;
    width: 3px;
    background: linear-gradient(180deg, #1a5276 0%, #4c7db2 100%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -64px;
    top: 1rem;
    width: 48px;
    height: 48px;
    background: #1a5276;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(26,82,118,0.3);
}

.timeline-content {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    transition: transform 0.25s, box-shadow 0.25s;
}

.timeline-content:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.timeline-year {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #4c7db2;
    background: rgba(76,125,178,0.1);
    padding: 0.2rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

/* ===== Segment Products Header ===== */
.segment-products-header {
    padding: 0 2rem 2.5rem;
    margin: 0;
    text-align: center;
}

.segment-products-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a5276;
    margin: 0 0 0.35rem;
}

.segment-products-subtitle {
    font-size: 0.925rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
}

/* ============================================================
   HOME PAGE — Modernized Sections
   All classes prefixed with home- to avoid collisions
   ============================================================ */

/* --- Shared section base --- */
.home-section {
    padding: 5rem 2rem;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
}

.home-section-light {
    background: #f8f9fa;
}

.home-section-dark {
    background: linear-gradient(135deg, #0e3347 0%, #1a5276 100%);
}

.home-section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.home-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.home-section-overline {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #4c7db2;
    margin-bottom: 0.75rem;
}

.home-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 1rem;
    line-height: 1.25;
}

.home-section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- 1. HERO --- */
/* Remove padding do body do Radzen na home */
.rz-body {
    overflow-x: hidden;
}

.home-hero {
    background: linear-gradient(135deg, rgba(0,40,80,0.92) 0%, rgba(76,125,178,0.85) 100%);
    min-height: 520px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
}

.home-hero-content {
    flex: 1;
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    width: 100%;
    gap: 2rem;
    position: relative;
}

.home-hero-content::before {
    content: '';
    position: absolute;
    top: 0; bottom: 0; left: -30%; right: -30%;
    background: url('../Images/Home/principal_home_1.png') center/cover no-repeat;
    opacity: 0.50;
    pointer-events: none;
}

.home-hero-text {
    flex: 7;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.home-hero-image {
    flex: 5;
    min-width: 0;
}

.home-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    animation: badge-float 3s ease-in-out infinite;
}

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

.home-hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 1.25rem;
}

.home-hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
    margin: 0 0 2rem;
    max-width: 560px;
}

.home-hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.home-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    background: #fff;
    color: #1a5276;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.home-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    color: #1a5276;
}

.home-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

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

.home-hero-stats {
    display: flex;
    background: rgba(0,0,0,0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.home-hero-stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.25rem 1rem;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.home-hero-stat:last-child {
    border-right: none;
}

.home-hero-stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
}

.home-hero-stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

/* --- 2. PRODUTOS (card grid) --- */
.home-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.home-product-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
}

.home-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1a5276, #4c7db2);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.home-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.home-product-card:hover::before {
    transform: scaleX(1);
}

.home-product-icon {
    width: 48px;
    height: 48px;
    background: #1a5276;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.home-product-icon .rzi {
    color: #fff;
    font-size: 1.4rem;
}

.home-product-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 0.75rem;
}

.home-product-card p {
    font-size: 0.925rem;
    color: #6c757d;
    line-height: 1.6;
    margin: 0 0 1rem;
    flex: 1;
}

.home-card-tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(76,125,178,0.1);
    color: #1a5276;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-bottom: 1rem;
}

.home-card-link {
    color: #1a5276;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s;
}

.home-card-link:hover {
    color: #4c7db2;
}

/* --- 3. TECNOLOGIAS (duas colunas) --- */
.home-tech-layout {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.home-tech-image {
    flex: 1;
    min-width: 0;
}

.home-tech-image img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    opacity: 0.5;
}

.home-tech-content {
    flex: 1;
    min-width: 0;
}

.home-tech-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.home-tech-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s;
}

.home-tech-item:hover {
    background: #f8f9fa;
}

.home-tech-icon {
    width: 42px;
    height: 42px;
    background: #1a5276;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.home-tech-icon .rzi {
    color: #fff;
    font-size: 1.2rem;
}

.home-tech-item strong {
    display: block;
    font-size: 0.95rem;
    color: #2c3e50;
    margin-bottom: 0.15rem;
}

.home-tech-item span {
    font-size: 0.85rem;
    color: #6c757d;
}

/* --- 4. SEGMENTOS (glassmorphism cards) --- */
.home-segments-grid {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

.home-segment-card {
    flex: 1;
    min-width: 180px;
    max-width: 220px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    padding: 2rem 1.25rem;
    text-align: center;
    text-decoration: none;
    transition: transform 0.3s, background 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.home-segment-card:hover {
    transform: translateY(-6px);
    background: rgba(255,255,255,0.15);
    box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

.home-segment-card .rzi {
    font-size: 2rem;
    color: rgba(255,255,255,0.9);
}

.home-segment-card strong {
    font-size: 1rem;
    color: #fff;
    font-weight: 600;
}

.home-segment-card span {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.4;
}

/* --- 5. POR QUE A COMPLINE --- */
.home-why-layout {
    display: flex;
    align-items: flex-start;
    gap: 4rem;
}

.home-why-content {
    flex: 1;
    min-width: 0;
}

.home-feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.home-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.home-feature-item > .rzi {
    color: #1a5276;
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.home-feature-item strong {
    display: block;
    font-size: 0.95rem;
    color: #2c3e50;
    margin-bottom: 0.2rem;
}

.home-feature-item span {
    font-size: 0.875rem;
    color: #6c757d;
    line-height: 1.5;
}

.home-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    flex-shrink: 0;
    width: 340px;
}

.home-stat-card {
    background: linear-gradient(135deg, #1a5276 0%, #14415e 100%);
    border-radius: 14px;
    padding: 1.75rem 1.25rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    transition: transform 0.3s;
}

.home-stat-card:nth-child(2) {
    transform: translateY(12px);
}

.home-stat-card:nth-child(3) {
    transform: translateY(-12px);
}

.home-stat-card:hover {
    transform: translateY(-4px);
}

.home-stat-card:nth-child(2):hover {
    transform: translateY(8px);
}

.home-stat-card:nth-child(3):hover {
    transform: translateY(-16px);
}

.home-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
}

.home-stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* --- 6. METODOLOGIA (timeline horizontal) --- */
.home-process-timeline {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    position: relative;
    padding-top: 1rem;
}

.home-process-timeline::before {
    content: '';
    position: absolute;
    top: calc(1rem + 28px);
    left: 15%;
    right: 15%;
    height: 3px;
    background: linear-gradient(90deg, #1a5276, #4c7db2);
    border-radius: 2px;
    z-index: 0;
}

.home-process-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 1rem;
    max-width: 240px;
}

.home-process-number {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #1a5276 0%, #4c7db2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 16px rgba(26,82,118,0.3);
    transition: transform 0.3s;
    border: 4px solid #f8f9fa;
}

.home-process-step:hover .home-process-number {
    transform: scale(1.12);
}

.home-process-step h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 0.5rem;
}

.home-process-step p {
    font-size: 0.875rem;
    color: #6c757d;
    line-height: 1.5;
    margin: 0;
}

/* --- 7. CTA FINAL --- */
.home-cta-banner {
    background: linear-gradient(135deg, #1a5276 0%, #4c7db2 100%);
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
}

.home-cta-banner h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 1rem;
}

.home-cta-banner p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.home-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.home-cta-btn-white {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    background: #fff;
    color: #1a5276;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.home-cta-btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    color: #1a5276;
}

.home-cta-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.home-cta-btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.8);
    transform: translateY(-2px);
    color: #fff;
}

/* --- HOME: Responsividade --- */

/* Tablet: 768px – 1199px */
@media (max-width: 1199px) {
    .home-hero-content {
        flex-direction: column;
        text-align: center;
    }

    .home-hero-text {
        flex: none;
    }

    .home-hero-image {
        display: none;
    }

    .home-hero-title {
        font-size: 2.4rem;
    }

    .home-hero-subtitle {
        max-width: 100%;
    }

    .home-hero-ctas {
        justify-content: center;
    }

    .home-tech-layout {
        flex-direction: column;
        gap: 2.5rem;
    }

    .home-tech-content .home-section-header {
        text-align: center;
    }

    .home-why-layout {
        flex-direction: column;
        gap: 2.5rem;
    }

    .home-why-content .home-section-header {
        text-align: center;
    }

    .home-stats-grid {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .home-stat-card:nth-child(2),
    .home-stat-card:nth-child(3) {
        transform: none;
    }

    .home-stat-card:nth-child(2):hover,
    .home-stat-card:nth-child(3):hover {
        transform: translateY(-4px);
    }
}

/* Mobile: <768px */
@media (max-width: 767px) {
    .home-section {
        padding: 3rem 1.25rem;
    }

    .home-hero {
        min-height: 420px;
    }

    .home-hero-content {
        padding: 2rem 1.25rem;
    }

    .home-hero-title {
        font-size: 1.85rem;
    }

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

    .home-hero-stats {
        flex-direction: column;
    }

    .home-hero-stat {
        flex-direction: row;
        justify-content: center;
        gap: 0.75rem;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding: 0.85rem 1rem;
    }

    .home-hero-stat:last-child {
        border-bottom: none;
    }

    .home-products-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .home-section-title {
        font-size: 1.65rem;
    }

    .home-section-subtitle {
        font-size: 1rem;
    }

    .home-segment-card {
        min-width: calc(50% - 1rem);
        max-width: none;
    }

    .home-process-timeline {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .home-process-timeline::before {
        top: 0;
        bottom: 0;
        left: 28px;
        right: auto;
        width: 3px;
        height: auto;
    }

    .home-process-step {
        flex-direction: row;
        text-align: left;
        max-width: 100%;
        gap: 1rem;
        padding: 0;
    }

    .home-process-number {
        flex-shrink: 0;
        margin-bottom: 0;
        border-color: #f8f9fa;
    }

    .home-process-step h4 {
        margin-bottom: 0.25rem;
    }

    .home-cta-banner {
        padding: 3rem 1.25rem;
    }

    .home-cta-banner h2 {
        font-size: 1.5rem;
    }

    .home-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Tablet Products grid: 2 columns */
@media (min-width: 768px) and (max-width: 1199px) {
    .home-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

