/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #0f62fe;
    --primary-blue-dark: #1337b3;
    --header-shell: rgba(7, 23, 56, 0.88);
    --header-shell-strong: rgba(7, 23, 56, 0.96);
    --header-shell-line: rgba(255, 255, 255, 0.08);
    --header-text: #f8fbff;
    --header-text-soft: #edf3ff;
    --header-hover: #8fd6ff;
    --header-panel-bg: rgba(255, 255, 255, 0.98);
    --header-panel-border: rgba(214, 223, 238, 0.92);
    --accent-soft: #dff5ff;
    --accent-mint: #d9fbf4;
    --accent-amber: #f6b94c;
    --ink-900: #091725;
    --ink-700: #17324c;
    --slate-600: #4c6178;
    --slate-400: #93a7bc;
    --slate-200: #dbe4ef;
    --slate-100: #f3f7fb;
    --white: #ffffff;
    --bg: #edf4fb;
    --shadow-sm: 0 1px 2px 0 rgb(15 23 42 / 0.06);
    --shadow-md: 0 6px 16px -8px rgb(15 23 42 / 0.25);
    --shadow-lg: 0 18px 40px -24px rgb(15 23 42 / 0.35);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
}

html {
    scroll-behavior: smooth;
}

img,
picture,
video,
canvas {
    max-width: 100%;
    height: auto;
    display: block;
}

@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

section[id] {
    scroll-margin-top: 104px;
}

body {
    font-family: 'Manrope', 'Sora', 'Noto Sans', sans-serif;
    line-height: 1.6;
    color: var(--ink-900);
    background-color: var(--bg);
}

h1,
h2,
h3,
h4 {
    font-family: 'Sora', 'Manrope', 'Noto Sans', sans-serif;
    letter-spacing: -0.03em;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Acessibilidade */
:focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: 0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    color: var(--ink-900);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    box-shadow: var(--shadow-md);
    text-decoration: none;
    font-weight: 600;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.skip-link:focus-visible {
    opacity: 1;
    pointer-events: auto;
}

/* ============================================
   HEADER CORRIGIDO
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition:
        background 0.24s ease,
        box-shadow 0.24s ease,
        border-color 0.24s ease,
        padding 0.24s ease;
    padding: 0.75rem 0;
    background:
        linear-gradient(180deg, rgba(10, 25, 58, 0.96) 0%, rgba(7, 23, 56, 0.88) 100%);
    border-bottom: 1px solid var(--header-shell-line);
    box-shadow: 0 18px 50px -32px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
}

/* Estado inicial - transparente */
.site-header:not(.scrolled) {
    background:
        linear-gradient(180deg, rgba(10, 25, 58, 0.96) 0%, rgba(7, 23, 56, 0.88) 100%);
    border-bottom: 1px solid var(--header-shell-line);
    box-shadow: 0 18px 50px -32px rgba(0, 0, 0, 0.7);
    padding: 0.75rem 0;
}

/* Estado após scroll - com fundo */
.site-header.scrolled {
    background:
        linear-gradient(180deg, rgba(8, 21, 50, 0.98) 0%, rgba(7, 23, 56, 0.94) 100%);
    border-bottom: 1px solid var(--header-shell-line);
    box-shadow: 0 18px 50px -32px rgba(0, 0, 0, 0.72);
    padding: 0.75rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    gap: 1rem;
    height: 76px;
}

@media (min-width: 768px) {
    .header-container {
        padding: 0 2rem;
    }
}

/* Logo Container */
.logo-link {
    position: relative;
    display: inline-block;
    width: 160px;
    height: 40px;
    line-height: 0;
    z-index: 1001;
}

/* Estilo base para ambas as logos */
.logo-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
    transition: opacity 0.3s ease;
}

/* Logo branca - visível inicialmente */
.logo-white {
    opacity: 1;
    visibility: visible;
}

/* Logo azul - escondida inicialmente */
.logo-blue {
    opacity: 0;
    visibility: hidden;
}

/* Quando o header tiver a classe 'scrolled' (após rolar) */
.site-header.scrolled .logo-white {
    opacity: 1;
    visibility: visible;
}

.site-header.scrolled .logo-blue {
    opacity: 0;
    visibility: hidden;
}

/* Menu Desktop - APENAS em telas grandes */
.main-nav {
    display: none;
    /* Escondido no mobile */
    align-items: center;
    gap: 1.6rem;
    margin-left: auto;
    margin-right: 0.5rem;
}

@media (min-width: 1120px) {
    .main-nav {
        display: flex;
        /* Visível apenas em desktop */
    }
}

/* Cores dos links do menu desktop */
.site-header:not(.scrolled) .main-nav a,
.site-header:not(.scrolled) .main-nav .nav-dropdown-toggle {
    color: var(--header-text);
}

.site-header.scrolled .main-nav a,
.site-header.scrolled .main-nav .nav-dropdown-toggle {
    color: var(--header-text);
}

.main-nav a,
.main-nav .nav-dropdown-toggle {
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s ease;
    padding: 0.5rem 0;
    position: relative;
}

.main-nav a:hover,
.main-nav .nav-dropdown-toggle:hover {
    color: var(--header-hover);
}

.site-header:not(.scrolled) .main-nav a:hover,
.site-header:not(.scrolled) .main-nav .nav-dropdown-toggle:hover {
    color: var(--header-hover);
}

.main-nav a::after,
.main-nav .nav-dropdown-toggle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #7dd3fc 0%, #2563ea 100%);
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav .nav-dropdown-toggle:hover::after {
    width: 100%;
}

.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: -0.5rem;
    right: -0.5rem;
    height: 18px;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    border: none;
    background: transparent;
    padding: 0.5rem 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
}

.nav-caret {
    width: 0.48rem;
    height: 0.48rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform 0.22s ease;
}

.nav-dropdown-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    min-width: 340px;
    max-width: min(380px, calc(100vw - 2rem));
    padding: 1.1rem;
    border-radius: 24px;
    background: var(--header-panel-bg);
    border: 1px solid var(--header-panel-border);
    box-shadow:
        0 28px 60px -34px rgba(15, 23, 42, 0.32),
        0 14px 24px -20px rgba(37, 99, 234, 0.16);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition:
        opacity 0.22s ease,
        transform 0.22s ease,
        visibility 0.22s ease;
}

.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.nav-dropdown:hover .nav-caret,
.nav-dropdown:focus-within .nav-caret {
    transform: translateY(0) rotate(225deg);
}

.nav-dropdown-section {
    display: grid;
    gap: 0.38rem;
}

.nav-dropdown-section+.nav-dropdown-section {
    padding-top: 0.9rem;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.nav-dropdown-label {
    display: block;
    padding: 0.1rem 0.75rem 0.45rem;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.nav-dropdown-panel a {
    display: block;
    padding: 0.8rem 0.9rem;
    border-radius: 16px;
    color: var(--ink-700);
    font-weight: 700;
    line-height: 1.35;
}

.site-header:not(.scrolled) .main-nav .nav-dropdown-panel a,
.site-header.scrolled .main-nav .nav-dropdown-panel a,
.main-nav .nav-dropdown-panel a {
    color: var(--ink-700);
}

.nav-dropdown-panel a::after {
    display: none;
}

.nav-dropdown-panel a:hover {
    background: var(--slate-100);
    color: var(--primary-blue);
}

.site-header:not(.scrolled) .main-nav .nav-dropdown-panel a:hover,
.site-header.scrolled .main-nav .nav-dropdown-panel a:hover,
.main-nav .nav-dropdown-panel a:hover {
    color: var(--primary-blue);
}

.header-actions {
    display: none;
    align-items: center;
    gap: 0.75rem;
}

.header-whatsapp,
.header-cta {
    display: none;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0ea5e9 100%);
    color: var(--white);
    text-decoration: none;
    font-weight: 800;
    padding: 0.95rem 1.4rem;
    border-radius: 18px;
    box-shadow: 0 18px 30px -20px rgba(59, 130, 246, 0.9);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-whatsapp:hover,
.header-cta:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

@media (min-width: 1024px) {
    .header-actions {
        display: inline-flex;
    }

    .header-whatsapp,
    .header-cta {
        display: inline-flex;
    }
}

/* Botão Hambúrguer - APENAS em mobile */
.menu-toggle {
    display: block;
    /* Visível no mobile */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

@media (min-width: 1120px) {
    .menu-toggle {
        display: none;
        /* Escondido em desktop */
    }
}

/* Cores do botão hambúrguer */
.site-header:not(.scrolled) .menu-toggle svg {
    stroke: var(--white);
}

.site-header.scrolled .menu-toggle svg {
    stroke: var(--white);
}

/* Menu Mobile Dropdown */
.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--header-shell-strong);
    border-top: 1px solid var(--header-shell-line);
    padding: 1.5rem 1rem;
    box-shadow: 0 22px 48px -34px rgba(0, 0, 0, 0.72);
    z-index: 999;
    animation: slideDown 0.3s ease;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav.active {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-nav a {
    text-decoration: none;
    color: var(--header-text-soft);
    font-weight: 600;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    transition: all 0.2s ease;
    text-align: center;
}

.mobile-nav a:hover {
    background-color: rgba(255, 255, 255, 0.06);
    color: var(--white);
}

.mobile-nav-group {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
}

.mobile-nav-summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 0.85rem 1rem;
    color: var(--header-text-soft);
    font-weight: 600;
}

.mobile-nav-summary::-webkit-details-marker {
    display: none;
}

.mobile-nav-summary::after {
    content: '';
    width: 0.52rem;
    height: 0.52rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.22s ease;
}

.mobile-nav-group[open] .mobile-nav-summary {
    color: var(--header-hover);
}

.mobile-nav-group[open] .mobile-nav-summary::after {
    transform: rotate(225deg);
}

.mobile-subnav {
    display: grid;
    gap: 0.35rem;
    padding: 0 0.55rem 0.7rem;
}

.mobile-subnav a {
    text-align: left;
    padding: 0.68rem 0.8rem;
    font-size: 0.97rem;
}

.mobile-nav-cta {
    font-weight: 800;
    background: linear-gradient(135deg, #2f85ff 0%, #2563ea 100%);
    color: var(--white);
    box-shadow: 0 18px 30px -22px rgba(59, 130, 246, 0.48);
}

.mobile-nav a.mobile-nav-cta:hover {
    background: linear-gradient(135deg, #2f85ff 0%, #2563ea 100%);
    color: var(--white);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    min-height: 88svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 70px;
    /* Altura do header */
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(246, 185, 76, 0.22), transparent 32%),
        linear-gradient(135deg, rgba(9, 23, 37, 0.94) 0%, rgba(15, 98, 254, 0.78) 56%, rgba(16, 185, 129, 0.28) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: var(--white);
    padding: 2.5rem 1rem;
    max-width: 60rem;
    z-index: 1;
    animation: fadeUp 0.7s ease both;
}

.hero-title {
    font-size: clamp(1.65rem, 3.2vw, 2.9rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-wrap: balance;
}

.hero-title-line {
    display: block;
}

.hero-highlight {
    display: block;
    color: #d9fbf4;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    line-height: 1.6;
    opacity: 0.92;
    margin-bottom: 2rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle strong {
    font-weight: 600;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.hero-stats .stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
    color: var(--white);
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

@media (min-width: 640px) {
    .hero-cta {
        flex-direction: row;
    }
}

.lead-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1500;
    padding: 1rem;
}

.lead-modal.open {
    display: flex;
}

.lead-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(11, 18, 32, 0.72);
}

.lead-modal-panel {
    position: relative;
    width: min(38rem, 100%);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 1.25rem;
}

.lead-confirm-panel {
    width: min(30rem, 100%);
}

.lead-modal-panel h2 {
    color: var(--ink-900);
    font-size: 1.6rem;
    margin-bottom: 0.35rem;
}

.lead-modal-subtitle {
    color: var(--slate-600);
    margin-bottom: 1rem;
}

.lead-modal-close {
    position: absolute;
    right: 0.75rem;
    top: 0.4rem;
    border: none;
    background: transparent;
    color: var(--slate-600);
    font-size: 1.9rem;
    cursor: pointer;
    line-height: 1;
}

.lead-form {
    width: 100%;
}

.lead-form-grid {
    display: grid;
    gap: 0.75rem;
}

.lead-form input {
    width: 100%;
    border: 1px solid var(--slate-200);
    background: var(--white);
    color: var(--ink-900);
    border-radius: var(--radius-md);
    padding: 0.85rem 0.95rem;
    font: inherit;
}

.lead-form input::placeholder {
    color: var(--slate-600);
}

.lead-form-status {
    min-height: 1.4rem;
    margin-top: 0.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-blue-dark);
}

.lead-submit-btn {
    margin-top: 0.9rem;
    width: 100%;
    justify-content: center;
}

.lead-confirm-actions {
    margin-top: 0.9rem;
}

body.modal-open {
    overflow: hidden;
}

@media (min-width: 900px) {
    .lead-form-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    opacity: 0.7;
    transition: opacity 0.3s ease;
    text-decoration: none;
    animation: float 2.2s ease-in-out infinite;
}

.scroll-indicator:hover {
    opacity: 1;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   BOTÕES
   ============================================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-blue);
    color: var(--white);
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
    background: var(--primary-blue-dark);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: transparent;
    color: var(--ink-900);
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--slate-200);
}

.btn-secondary:hover {
    background-color: var(--slate-100);
    transform: translateY(-1px);
}

.hero-section .btn-secondary {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.35);
    background-color: rgba(255, 255, 255, 0.08);
}

.hero-section .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.16);
}

.page-hero .btn-secondary {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.42);
    background-color: rgba(255, 255, 255, 0.08);
}

.page-hero .btn-secondary:hover {
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.16);
}

.hero-proof-strip {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin: 0 0 2rem;
}

.hero-proof-strip span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}


/* ============================================
   SEÇÕES COMUNS
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-block;
    background-color: var(--accent-soft);
    color: var(--primary-blue-dark);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    margin-bottom: 1rem;
    letter-spacing: 0.04em;
}

.section-header h2 {
    font-size: clamp(1.75rem, 3.2vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-wrap: balance;
}

@media (min-width: 768px) {
    .section-header h2 {
        font-size: 3rem;
    }
}

.highlight {
    color: var(--primary-blue);
}

.section-header p {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--slate-600);
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   CLIENTES
   ============================================ */
.clients-section {
    padding: 4.5rem 0;
    background-color: var(--white);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (min-width: 640px) {
    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) {
    .clients-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {
    .clients-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--slate-200);
    transition: all 0.3s ease;
}

.client-logo:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.client-logo img {
    height: 2rem;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.client-logo:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* ============================================
   SERVIÇOS
   ============================================ */
.services-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

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

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    border: 1px solid var(--slate-200);
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-blue);
}

.service-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

.service-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--slate-100);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--slate-600);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: var(--ink-700);
}

.service-features li::before {
    content: "-";
    color: var(--primary-blue);
    font-weight: bold;
    flex-shrink: 0;
}

.service-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background-color: var(--primary-blue);
    color: var(--white);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.2s ease;
}

.service-cta:hover {
    background-color: var(--primary-blue-dark);
    transform: translateY(-1px);
}





/* ============================================
   PROJETOS
   ============================================ */
.projects-section {
    padding: 5rem 0;
    background-color: var(--slate-100);
}

.featured-project {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    background-color: var(--white);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 4rem;
}

@media (min-width: 1024px) {
    .featured-project {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.project-content {
    padding: 3rem;
}

.project-badge {
    display: inline-block;
    background-color: var(--primary-blue);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.project-content h3 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .project-content h3 {
        font-size: 2.5rem;
    }
}

.project-description {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--slate-600);
    margin-bottom: 2rem;
}

.project-description strong {
    color: var(--primary-blue);
    font-weight: 600;
}

.project-highlights {
    list-style: none;
    margin: 0 0 1.8rem;
}

.project-highlights li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--ink-700);
    margin-bottom: 0.7rem;
}

.project-highlights li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.62rem;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #10b981 100%);
}

.project-stats {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.project-stat {
    text-align: center;
    background-color: var(--slate-100);
    padding: 1rem;
    border-radius: var(--radius-lg);
}

.project-stat .stat-label {
    font-size: 0.875rem;
    color: var(--ink-700);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.project-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: var(--primary-blue);
    color: var(--white);
    font-weight: 500;
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all 0.2s ease;
}

.project-cta:hover {
    background-color: var(--primary-blue-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.project-visual {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.project-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 18, 32, 0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.overlay-content {
    color: var(--white);
}

.overlay-content h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.overlay-content p {
    opacity: 0.9;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

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

    .project-stats {
        display: grid;
    }
}

@media (min-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.project-card {
    background-color: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid var(--slate-200);
}

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

.project-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-card-image img {
    transform: scale(1.05);
}

.project-card-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.project-category {
    background-color: var(--primary-blue);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

.project-card-content {
    padding: 1.5rem;
}

.project-card-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.project-card-content p {
    color: var(--slate-600);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.project-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-status {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
}

.project-status.completed {
    background-color: #d1fae5;
    color: #065f46;
}

.project-duration {
    font-size: 0.875rem;
    color: var(--slate-600);
}

.section-cta {
    text-align: center;
    margin-top: 2.5rem;
}

@media (max-width: 640px) {
    .section-cta {
        margin-top: 2rem;
    }
}

/* ============================================
   SOBRE
   ============================================ */
.about-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

@media (min-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.about-text p {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--slate-600);
    margin-bottom: 1.5rem;
}

.about-text strong {
    color: var(--primary-blue);
    font-weight: 600;
}

.about-stats {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.about-stat {
    text-align: center;
    background-color: var(--slate-100);
    padding: 1rem;
    border-radius: var(--radius-lg);
}

.about-stat .stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.about-stat .stat-label {
    font-size: 0.875rem;
    color: var(--ink-700);
}

.about-image {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .about-stats {
        display: grid;
    }
}

.value-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--slate-200);
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.value-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-blue);
}

.value-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--slate-100);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-blue);
}

.value-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--slate-600);
    line-height: 1.6;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: #0b1220;
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1.1fr 1fr 0.8fr;
        align-items: start;
    }
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.footer-brand-logo {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    margin-bottom: 1rem;
}

.footer-brand-logo img {
    display: block;
    width: min(180px, 100%);
    height: auto;
}

.footer-brand p {
    color: rgba(226, 232, 240, 0.8);
    max-width: 28rem;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 900px) {
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

.footer-column h4 {
    font-size: 1rem;
    margin-bottom: 0.85rem;
}

.footer-link-list {
    display: grid;
    gap: 0.65rem;
}

.footer-link-list a {
    color: rgba(226, 232, 240, 0.82);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link-list a:hover {
    color: var(--white);
}

.footer-contact h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.footer-contact p {
    color: rgba(226, 232, 240, 0.8);
    margin-bottom: 1rem;
}

.footer-social {
    margin-top: 1rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(226, 232, 240, 0.9);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid rgba(226, 232, 240, 0.3);
    padding-bottom: 0.15rem;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-social a:hover {
    color: var(--white);
    border-color: rgba(226, 232, 240, 0.7);
}

.btn-primary.btn-small {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
}

.footer-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 2rem 0;
}

.footer-info {
    text-align: center;
}

.footer-info p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
    font-size: 0.875rem;
}

.footer-shell {
    display: grid;
    gap: 1.8rem;
}

.footer-top {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.95fr) minmax(0, 0.85fr);
    gap: 2rem;
    align-items: start;
    padding: 2rem;
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

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

.footer-logo img {
    display: block;
    width: min(180px, 100%);
    height: auto;
}

.footer-shell .footer-brand p {
    max-width: 360px;
    margin: 1rem 0 1.1rem;
    color: rgba(231, 238, 255, 0.76);
}

.footer-social-link,
.footer-nav a,
.footer-contact-link,
.footer-secondary-link {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.24s ease, transform 0.24s ease, opacity 0.24s ease;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 0.8rem 1.4rem;
}

.footer-contact {
    display: grid;
    gap: 0.8rem;
    justify-items: start;
}

.footer-shell .footer-contact p {
    margin: 0;
    color: rgba(231, 238, 255, 0.76);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    color: rgba(231, 238, 255, 0.72);
    text-align: center;
}

.footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

.footer-social-icon svg {
    display: block;
}

@media (hover: hover) and (pointer: fine) {

    .footer-nav a:hover,
    .footer-social-link:hover,
    .footer-contact-link:hover,
    .footer-secondary-link:hover {
        transform: translateY(-1px);
        color: #8fd6ff;
    }
}

@media (max-width: 1023px) {
    .footer-top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-contact {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {

    .footer-top,
    .footer-nav {
        grid-template-columns: 1fr;
    }

    .footer-top {
        padding: 1.5rem;
    }
}

/* ============================================
   COOKIE ALERT
   ============================================ */
.cookie-alert {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--ink-900);
    color: var(--white);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    box-shadow: var(--shadow-xl);
}

@media (min-width: 640px) {
    .cookie-alert {
        flex-direction: row;
        justify-content: space-between;
    }
}

.cookie-alert p {
    font-size: 0.875rem;
    text-align: center;
}

.cookie-alert a {
    color: #bfdbfe;
    text-decoration: underline;
}

.btn-cookie {
    background-color: var(--primary-blue);
    color: var(--white);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.btn-cookie:hover {
    background-color: var(--primary-blue-dark);
}

/* ============================================
   SWIPER CLIENTES (sempre visível)
   ============================================ */

.clients-swiper {
    position: relative;
    padding: 1rem 0 3rem;
    overflow: hidden;
}

.clients-swiper .swiper-slide {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ajuste dos logos no swiper */
.clients-swiper .client-logo {
    width: 100%;
    height: 100px;
    padding: 1.5rem;
    margin: 0;
}

/* Navegação opcional para clientes */
.clients-swiper .swiper-button-next,
.clients-swiper .swiper-button-prev {
    color: var(--primary-blue);
    background-color: var(--white);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

.clients-swiper .swiper-button-next:after,
.clients-swiper .swiper-button-prev:after {
    font-size: 1rem;
}

.clients-swiper .swiper-pagination-bullet {
    background-color: var(--slate-400);
}

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

/* ============================================
   SWIPER SERVIÇOS (apenas mobile)
   ============================================ */

/* Grid desktop - visível por padrão */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

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

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Swiper mobile - escondido por padrão */
.services-swiper-mobile {
    display: none;
    position: relative;
    padding: 1rem 0 3rem;
    overflow: hidden;
}

.services-swiper-mobile .swiper-slide {
    height: auto;
    padding: 0.5rem;
}

.services-swiper-mobile .service-card {
    height: 100%;
    margin: 0;
}

/* Pagination para mobile */
.services-swiper-mobile .swiper-pagination {
    position: relative;
    bottom: 0;
    margin-top: 1.5rem;
}

.services-swiper-mobile .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background-color: var(--slate-400);
    opacity: 1;
}

.services-swiper-mobile .swiper-pagination-bullet-active {
    background-color: var(--primary-blue);
    transform: scale(1.2);
}

/* Remove a navegação por setas do swiper de serviços mobile */
.services-swiper-mobile .swiper-button-next,
.services-swiper-mobile .swiper-button-prev {
    display: none;
}

.testimonials-section {
    padding: 88px 0;
    background: linear-gradient(180deg, #eff5fb 0%, #ffffff 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 20px;
    margin-top: 26px;
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: 18px;
    padding: 22px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.testimonial-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.avatar {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-weight: 800;
    background: var(--accent-soft);
    color: var(--primary-blue-dark);
}

.testimonial-meta {
    flex: 1;
}

.testimonial-name {
    display: block;
    font-size: 16px;
}

.testimonial-sub {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: .9;
}

.stars {
    letter-spacing: 1px;
    color: #f59e0b;
    font-size: 14px;
}

.testimonial-time {
    font-size: 13px;
    color: var(--slate-600);
}

.testimonial-badge {
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--slate-100);
    color: var(--ink-700);
    border: 1px solid var(--slate-200);
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink-700);
    margin: 10px 0 16px;
}

.testimonial-cta {
    display: flex;
    gap: 10px;
}

.testimonial-side .trust-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: 18px;
    padding: 22px;
    box-shadow: var(--shadow-sm);
}

.trust-card h3 {
    margin: 0 0 8px;
}

.trust-card p {
    margin: 0 0 14px;
    color: var(--slate-600);
}

.trust-list {
    margin: 0;
    padding-left: 16px;
    color: var(--ink-700);
}

.trust-list li {
    margin: 8px 0;
}

@media (max-width: 900px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

.fit-section {
    padding: 5rem 0;
    background: var(--white);
}

.fit-shell {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 1100px) {
    .fit-shell {
        grid-template-columns: 1.1fr 1fr 1fr;
        align-items: start;
    }
}

.fit-intro {
    padding: 0.5rem 0;
}

.fit-intro h2 {
    font-size: clamp(1.9rem, 3vw, 3rem);
    line-height: 1.15;
    margin-bottom: 1rem;
}

.fit-intro p {
    color: var(--slate-600);
    margin-bottom: 1.5rem;
    max-width: 38rem;
}

.fit-panel {
    border-radius: var(--radius-2xl);
    padding: 1.8rem;
    border: 1px solid var(--slate-200);
    box-shadow: var(--shadow-sm);
}

.fit-good {
    background: linear-gradient(180deg, #f7fbff 0%, #eef6ff 100%);
}

.fit-bad {
    background: linear-gradient(180deg, #fffdf7 0%, #fff6dd 100%);
}

.fit-panel h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.fit-list {
    list-style: none;
    margin: 0;
}

.fit-list li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 0.9rem;
    color: var(--ink-700);
}

.fit-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.58rem;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: var(--primary-blue);
}

.process-section {
    padding: 5rem 0;
    background:
        radial-gradient(circle at top left, rgba(15, 98, 254, 0.08), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #eef6ff 100%);
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

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

.process-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-xl);
    padding: 1.8rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.process-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(15, 98, 254, 0.28);
}

.process-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    height: 3rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #11b8c7 100%);
    color: var(--white);
    font-weight: 700;
    margin-bottom: 1rem;
}

.process-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.process-card p {
    color: var(--slate-600);
}

.scenario-section {
    padding: 5rem 0;
    background:
        radial-gradient(circle at top center, rgba(15, 98, 254, 0.08), transparent 28%),
        linear-gradient(180deg, #f7fbff 0%, #edf4fb 100%);
}

.scenario-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

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

.scenario-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-xl);
    padding: 1.7rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.scenario-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(15, 98, 254, 0.28);
}

.scenario-label {
    display: inline-block;
    margin-bottom: 0.9rem;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--primary-blue-dark);
    font-size: 0.82rem;
    font-weight: 700;
}

.scenario-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.7rem;
}

.scenario-card p {
    color: var(--slate-600);
}

.solutions-section {
    padding: 5rem 0;
    background: var(--white);
}

.solutions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

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

@media (min-width: 1100px) {
    .solutions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.solution-link-card {
    display: block;
    padding: 1.35rem 1.4rem;
    border-radius: var(--radius-xl);
    text-decoration: none;
    color: inherit;
    background: linear-gradient(180deg, var(--white) 0%, #f8fbff 100%);
    border: 1px solid var(--slate-200);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.solution-link-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: rgba(15, 98, 254, 0.34);
}

.solution-link-card strong {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 1.05rem;
    color: var(--ink-900);
}

.solution-link-card span {
    color: var(--slate-600);
    font-size: 0.95rem;
}

.faq-section {
    padding: 5rem 0;
    background:
        radial-gradient(circle at bottom right, rgba(16, 185, 129, 0.08), transparent 26%),
        linear-gradient(180deg, #f9fbfd 0%, #edf4fb 100%);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 900px) {
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.faq-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.faq-card h3 {
    font-size: 1.05rem;
    line-height: 1.45;
    margin-bottom: 0.65rem;
}

.faq-card p {
    color: var(--slate-600);
}

.final-cta-section {
    padding: 0 0 5rem;
    background:
        radial-gradient(circle at top right, rgba(15, 98, 254, 0.12), transparent 24%),
        linear-gradient(180deg, #edf4fb 0%, #e8f2fd 100%);
}

.final-cta-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    background: linear-gradient(135deg, #091b34 0%, #103c8f 55%, #0b6ea8 100%);
    color: var(--white);
    padding: 2rem;
    border-radius: 28px;
    box-shadow: var(--shadow-lg);
}

@media (min-width: 900px) {
    .final-cta-card {
        grid-template-columns: 1.25fr 0.75fr;
        align-items: center;
        padding: 2.6rem 2.8rem;
    }
}

.final-cta-card .section-badge {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
}

.final-cta-card h2 {
    font-size: clamp(1.9rem, 3.4vw, 3rem);
    line-height: 1.12;
    margin-bottom: 0.9rem;
    max-width: 16ch;
}

.final-cta-card p {
    color: rgba(255, 255, 255, 0.82);
    max-width: 44rem;
}

.final-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    justify-content: flex-start;
}

@media (min-width: 900px) {
    .final-cta-actions {
        justify-content: flex-end;
    }
}

.final-cta-card .btn-secondary.dark {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.16);
}

.final-cta-card .btn-secondary.dark:hover {
    background: rgba(255, 255, 255, 0.18);
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 9.5rem 0 5.5rem;
    background:
        linear-gradient(135deg, rgba(8, 20, 40, 0.96) 0%, rgba(13, 52, 125, 0.92) 56%, rgba(10, 105, 170, 0.78) 100%),
        url('../img/bg.webp') center/cover no-repeat;
    color: var(--white);
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.08), transparent 28%),
        radial-gradient(circle at 88% 18%, rgba(217, 251, 244, 0.12), transparent 24%);
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .page-hero-grid {
        grid-template-columns: 1.1fr 0.9fr;
        align-items: center;
    }
}

.page-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-hero-copy h1 {
    font-size: clamp(2.5rem, 5.4vw, 4.7rem);
    line-height: 0.98;
    max-width: 11ch;
    margin-bottom: 1.2rem;
}

.page-hero-copy p {
    font-size: clamp(1.05rem, 2vw, 1.18rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 44rem;
    margin-bottom: 1.6rem;
}

.page-hero-pills,
.page-hero-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.page-hero-pills {
    margin-bottom: 1.6rem;
}

.page-hero-pills span {
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-weight: 600;
}

.page-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

@media (max-width: 767px) {
    .page-hero-copy h1 {
        font-size: clamp(1.8rem, 8.8vw, 2.55rem);
        line-height: 1.02;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .page-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .page-hero-actions .btn-primary,
    .page-hero-actions .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

.page-hero-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
    border-radius: 26px;
    padding: 1.8rem;
    box-shadow: var(--shadow-lg);
}

.page-hero-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.9rem;
}

.page-hero-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.metric-card {
    min-width: 9rem;
    padding: 1rem 1.05rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
}

.metric-card strong {
    display: block;
    font-size: 1.45rem;
    line-height: 1;
    margin-bottom: 0.35rem;
}

.metric-card span {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.92rem;
}

.page-role-strip {
    display: grid;
    gap: 0.85rem;
    max-width: 44rem;
    margin: 1.1rem 0 1.4rem;
    padding: 1rem 1.1rem;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
    backdrop-filter: blur(12px);
}

.page-role-strip p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
}

.page-section .page-role-strip,
.page-hero-card .page-role-strip,
.page-role-strip.is-soft {
    background: linear-gradient(135deg, rgba(15, 98, 254, 0.08) 0%, rgba(17, 184, 199, 0.06) 100%);
    border-color: rgba(15, 98, 254, 0.14);
    backdrop-filter: none;
}

.page-section .page-role-strip p,
.page-hero-card .page-role-strip p,
.page-role-strip.is-soft p {
    color: var(--slate-600);
}

.page-role-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 0.44rem 0.82rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.9);
}

.page-role-strip.is-soft .page-role-tag,
.page-section .page-role-tag,
.page-hero-card .page-role-tag {
    background: rgba(37, 99, 234, 0.08);
    color: #1d4ed8;
}

.page-role-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 900px) {
    .page-role-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.page-role-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(247, 250, 255, 0.97) 100%);
}

.page-role-card ul {
    margin-top: 1rem;
}

.page-section {
    padding: 5rem 0;
}

.page-section.is-white {
    background: var(--white);
}

.page-section.is-soft {
    background: linear-gradient(180deg, #f8fbff 0%, #edf4fb 100%);
}

.page-section.is-dark {
    background: #091b34;
    color: var(--white);
}

.page-section.is-dark .section-header p {
    color: rgba(255, 255, 255, 0.75);
}

.page-grid-2,
.page-grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 900px) {
    .page-grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.page-card {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-2xl);
    padding: 1.7rem;
    box-shadow: var(--shadow-sm);
}

.page-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    margin-bottom: 1rem;
    border-radius: 1rem;
    background: linear-gradient(180deg, #f3f8ff 0%, #e7f0ff 100%);
    color: var(--primary-blue);
    border: 1px solid rgba(15, 98, 254, 0.12);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        0 18px 30px -24px rgba(15, 98, 254, 0.26);
}

.page-card-icon svg {
    display: block;
}

.page-card h3,
.page-card h4 {
    margin-bottom: 0.8rem;
}

.page-card p {
    color: var(--slate-600);
}

.page-card ul {
    list-style: none;
    margin-top: 1rem;
}

.page-card ul li {
    position: relative;
    padding-left: 1.5rem;
    color: var(--ink-700);
    margin-bottom: 0.7rem;
}

.page-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.58rem;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #11b8c7 100%);
}

.page-card.highlight {
    background: linear-gradient(180deg, #f7fbff 0%, #eef6ff 100%);
}

.page-card.dark {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
    color: var(--white);
}

.page-card.dark .page-card-icon {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.page-card.dark p {
    color: rgba(255, 255, 255, 0.78);
}

.page-card.dark ul li {
    color: rgba(255, 255, 255, 0.88);
}

.page-card.dark ul li::before {
    background: var(--accent-mint);
}

.page-section-cta {
    display: grid;
    justify-items: center;
    gap: 0.95rem;
    margin-top: 2rem;
    text-align: center;
}

.page-section-cta p {
    max-width: 44rem;
    color: var(--slate-600);
}

.page-section-cta.is-dark p {
    color: rgba(255, 255, 255, 0.78);
}

.page-link-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.page-link-card span {
    display: block;
    margin-top: 0.55rem;
}

.page-featured-case {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

@media (min-width: 1024px) {
    .page-featured-case {
        grid-template-columns: 1.05fr 0.95fr;
    }
}

.page-featured-copy {
    padding: 2rem;
}

@media (min-width: 1024px) {
    .page-featured-copy {
        padding: 2.5rem;
    }
}

.page-featured-media {
    min-height: 340px;
    height: 100%;
}

.page-featured-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mini-case-card .case-tag {
    display: inline-block;
    margin-bottom: 0.85rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: var(--slate-100);
    color: var(--primary-blue-dark);
    font-size: 0.8rem;
    font-weight: 700;
}

.mini-case-card .case-meta {
    margin-top: 1rem;
    color: var(--slate-600);
    font-size: 0.92rem;
}

.check-list {
    list-style: none;
    margin: 1rem 0 0;
}

.check-list li {
    position: relative;
    padding-left: 1.55rem;
    margin-bottom: 0.8rem;
}

.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.58rem;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: var(--accent-mint);
}

.page-inline-cta {
    padding: 1.6rem;
    border-radius: var(--radius-2xl);
    background: linear-gradient(135deg, rgba(15, 98, 254, 0.1) 0%, rgba(16, 185, 129, 0.08) 100%);
    border: 1px solid rgba(15, 98, 254, 0.16);
}

.page-inline-cta p {
    margin-bottom: 1rem;
    color: var(--slate-600);
}

.compact-faq {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 900px) {
    .compact-faq {
        grid-template-columns: repeat(2, 1fr);
    }
}

.btn-secondary.dark {
    background: rgba(30, 58, 138, 0.08);
    border: 1px solid rgba(30, 58, 138, 0.18);
    color: var(--primary-blue);
    backdrop-filter: none;
}

.btn-secondary.dark:hover {
    background: rgba(30, 58, 138, 0.12);
}

/* ============================================
   2026 Design Refinement
   ============================================ */

:root {
    --shadow-xl: 0 34px 80px -40px rgba(15, 23, 42, 0.42);
    --shadow-panel: 0 28px 64px -38px rgba(15, 23, 42, 0.24);
    --shadow-floating: 0 24px 60px -34px rgba(37, 99, 234, 0.32);
    --ring-brand: rgba(37, 99, 234, 0.16);
    --brand-gradient: linear-gradient(135deg, #2f85ff 0%, #2563ea 46%, #1d48c6 100%);
    --brand-gradient-soft: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(246, 250, 255, 0.92) 100%);
}

body {
    background:
        radial-gradient(circle at top left, rgba(37, 99, 234, 0.08), transparent 24%),
        radial-gradient(circle at top right, rgba(17, 184, 199, 0.06), transparent 20%),
        linear-gradient(180deg, #f4f8ff 0%, #edf4fb 52%, #f7fbff 100%);
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

body.menu-open,
body.modal-open {
    overflow: hidden;
}

img,
svg {
    max-width: 100%;
}

::selection {
    background: rgba(37, 99, 234, 0.18);
    color: var(--ink-900);
}

.interactive-surface {
    position: relative;
    transform-style: preserve-3d;
    transform:
        perspective(1400px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translate3d(0, 0, 0);
    transition:
        transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.32s ease,
        border-color 0.32s ease;
    will-change: auto;
}

.interactive-surface::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: var(--glow-opacity, 0);
    background:
        radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 50%),
            rgba(125, 211, 252, 0.2) 0%,
            rgba(125, 211, 252, 0.1) 20%,
            transparent 60%);
    transition: opacity 0.28s ease;
}

.interactive-surface>* {
    position: relative;
    z-index: 1;
}

html.has-motion body:not(.home-page) [data-reveal] {
    opacity: 0;
    transform:
        translate3d(var(--reveal-translate-x, 0), var(--reveal-translate-y, 14px), 0) scale(var(--reveal-scale, 1));
    transition:
        opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
        transform 0.42s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
    will-change: auto;
}

html.has-motion body:not(.home-page) [data-reveal="scale"] {
    --reveal-translate-y: 10px;
    --reveal-scale: 0.985;
}

html.has-motion body:not(.home-page) [data-reveal="left"] {
    --reveal-translate-x: -16px;
    --reveal-translate-y: 0;
}

html.has-motion body:not(.home-page) [data-reveal="right"] {
    --reveal-translate-x: 16px;
    --reveal-translate-y: 0;
}

html.has-motion body:not(.home-page) [data-reveal="fade"] {
    --reveal-translate-y: 0;
}

html.has-motion body:not(.home-page) [data-reveal].is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.site-header,
.site-header.scrolled,
.site-header:not(.scrolled) {
    background:
        radial-gradient(circle at top left, rgba(47, 133, 255, 0.14), transparent 30%),
        linear-gradient(180deg, rgba(9, 25, 58, 0.96) 0%, rgba(7, 23, 56, 0.9) 100%);
}

.site-header.scrolled {
    box-shadow: 0 22px 54px -34px rgba(0, 0, 0, 0.72);
}

.header-container {
    height: 78px;
}

.main-nav a,
.main-nav .nav-dropdown-toggle {
    padding: 0.68rem 0.1rem;
}

.main-nav a::before,
.main-nav .nav-dropdown-toggle::before {
    content: '';
    position: absolute;
    inset: 0.16rem -0.55rem;
    border-radius: 999px;
    background: rgba(143, 214, 255, 0.08);
    opacity: 0;
    transform: scale(0.96);
    transition: opacity 0.24s ease, transform 0.24s ease;
    z-index: -1;
}

.main-nav a:hover::before,
.main-nav .nav-dropdown-toggle:hover::before,
.nav-dropdown:hover .nav-dropdown-toggle::before,
.nav-dropdown:focus-within .nav-dropdown-toggle::before {
    opacity: 1;
    transform: scale(1);
}

.nav-dropdown-panel {
    padding: 1.2rem;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(125, 211, 252, 0.18), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.985) 0%, rgba(248, 251, 255, 0.98) 100%);
    backdrop-filter: blur(18px);
    box-shadow:
        0 34px 72px -40px rgba(15, 23, 42, 0.34),
        0 22px 36px -28px rgba(37, 99, 234, 0.16);
}

.nav-dropdown-panel a {
    border: 1px solid transparent;
    transition:
        transform 0.24s ease,
        border-color 0.24s ease,
        background 0.24s ease,
        color 0.24s ease;
}

.nav-dropdown-panel a:hover {
    transform: translateX(4px);
    border-color: rgba(37, 99, 234, 0.12);
    background: linear-gradient(180deg, rgba(37, 99, 234, 0.08) 0%, rgba(125, 211, 252, 0.08) 100%);
}

.menu-toggle {
    width: 44px;
    height: 44px;
    padding: 0.5rem;
    border-radius: 16px;
    border: 1px solid rgba(145, 185, 255, 0.16);
    background: rgba(255, 255, 255, 0.05);
    transition: background 0.24s ease, border-color 0.24s ease, transform 0.24s ease;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(143, 214, 255, 0.22);
}

.mobile-nav {
    top: calc(100% + 0.55rem);
    left: 1rem;
    right: 1rem;
    padding: 1rem;
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(47, 133, 255, 0.14), transparent 34%),
        rgba(6, 18, 46, 0.97);
    border: 1px solid rgba(145, 185, 255, 0.14);
    box-shadow: 0 28px 60px -44px rgba(0, 0, 0, 0.92);
    max-height: calc(100vh - 104px);
    overflow: auto;
    backdrop-filter: blur(20px);
}

.mobile-nav a,
.mobile-nav-summary {
    border-radius: 14px;
}

.lead-modal-backdrop {
    background: rgba(8, 16, 34, 0.78);
    backdrop-filter: blur(12px);
}

.lead-modal-panel {
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background:
        radial-gradient(circle at top right, rgba(125, 211, 252, 0.2), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(247, 250, 255, 0.98) 100%);
    box-shadow:
        0 38px 90px -44px rgba(15, 23, 42, 0.42),
        0 22px 42px -30px rgba(37, 99, 234, 0.18);
    padding: 1.45rem;
}

.lead-modal-panel h2 {
    font-size: clamp(1.55rem, 4vw, 2rem);
    letter-spacing: -0.04em;
}

.lead-modal-subtitle {
    color: var(--slate-600);
    max-width: 30rem;
}

.lead-modal-close {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.04);
    transition: background 0.24s ease, color 0.24s ease;
}

.lead-modal-close:hover {
    background: rgba(15, 23, 42, 0.08);
    color: var(--ink-900);
}

.lead-form input {
    min-height: 54px;
    border-radius: 16px;
    border-color: rgba(148, 163, 184, 0.24);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(246, 249, 255, 0.88) 100%);
    transition:
        border-color 0.24s ease,
        box-shadow 0.24s ease,
        background 0.24s ease,
        transform 0.24s ease;
}

.lead-form input:focus {
    outline: none;
    border-color: rgba(37, 99, 234, 0.34);
    box-shadow: 0 0 0 4px rgba(37, 99, 234, 0.12);
    background: #ffffff;
}

.btn-primary,
.btn-secondary {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    min-height: 52px;
    border-radius: 18px;
    font-weight: 800;
    letter-spacing: -0.01em;
    transition:
        transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.28s ease,
        border-color 0.28s ease,
        background 0.28s ease,
        color 0.28s ease;
}

.btn-primary::before,
.btn-secondary::before {
    content: '';
    position: absolute;
    inset: -1px;
    pointer-events: none;
    opacity: 0.55;
    transform: translateX(-130%) skewX(-18deg);
    background: linear-gradient(115deg,
            transparent 18%,
            rgba(255, 255, 255, 0.04) 36%,
            rgba(255, 255, 255, 0.32) 50%,
            rgba(255, 255, 255, 0.04) 64%,
            transparent 82%);
    transition: transform 0.72s ease, opacity 0.36s ease;
}

.btn-primary {
    background: var(--brand-gradient);
    box-shadow:
        0 24px 52px -30px rgba(37, 99, 234, 0.72),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #3a8eff 0%, #2563ea 42%, #1742bb 100%);
    box-shadow:
        0 28px 60px -30px rgba(37, 99, 234, 0.78),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.btn-secondary {
    color: var(--ink-900);
    border-color: rgba(147, 167, 188, 0.34);
    background: var(--brand-gradient-soft);
    box-shadow:
        0 18px 38px -34px rgba(15, 23, 42, 0.48),
        inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.btn-secondary:hover {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(239, 246, 255, 0.92) 100%);
    border-color: rgba(37, 99, 234, 0.24);
    box-shadow:
        0 22px 42px -34px rgba(15, 23, 42, 0.52),
        inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

@media (hover: hover) and (pointer: fine) {

    .btn-primary:hover,
    .btn-secondary:hover {
        transform: translateY(-2px) scale(1.01);
    }

    .btn-primary:hover::before,
    .btn-secondary:hover::before {
        transform: translateX(130%) skewX(-18deg);
    }
}

@media (hover: none),
(pointer: coarse) {

    .interactive-surface,
    .btn-primary,
    .btn-secondary,
    .header-whatsapp,
    .header-cta,
    .client-logo,
    .service-card,
    .project-card,
    .value-card,
    .process-card,
    .scenario-card,
    .solution-link-card,
    .page-featured-case,
    .page-card,
    .page-link-card,
    .page-inline-cta,
    .menu-toggle,
    .nav-dropdown-panel a,
    .footer-nav a,
    .footer-social-link,
    .footer-contact-link,
    .footer-secondary-link {
        transition: none !important;
    }

    .interactive-surface::after,
    .btn-primary::before,
    .btn-secondary::before {
        transition: none !important;
    }

    .scroll-indicator {
        animation: none !important;
    }

    .btn-primary:hover,
    .btn-secondary:hover,
    .header-whatsapp:hover,
    .header-cta:hover,
    .client-logo:hover,
    .service-card:hover,
    .project-card:hover,
    .value-card:hover,
    .process-card:hover,
    .scenario-card:hover,
    .solution-link-card:hover,
    .page-featured-case:hover,
    .page-card:hover,
    .page-link-card:hover,
    .page-inline-cta:hover,
    .menu-toggle:hover,
    .nav-dropdown-panel a:hover,
    .main-nav a:hover,
    .main-nav .nav-dropdown-toggle:hover,
    .footer-nav a:hover,
    .footer-social-link:hover,
    .footer-contact-link:hover,
    .footer-secondary-link:hover,
    .lead-modal-close:hover,
    .scroll-indicator:hover {
        transform: none !important;
        filter: none !important;
    }

    .site-header,
    .site-header.scrolled,
    .site-header:not(.scrolled),
    .mobile-nav,
    .lead-modal-backdrop,
    .lead-modal-panel,
    .page-hero-card,
    .page-role-strip,
    .footer-top {
        backdrop-filter: none !important;
    }

    .site-header.scrolled,
    .site-header:not(.scrolled),
    .mobile-nav,
    .lead-modal-panel,
    .footer-top {
        box-shadow: 0 18px 40px -32px rgba(15, 23, 42, 0.34) !important;
    }
}

@supports (content-visibility: auto) {
    body:not(.home-page) .footer-top {
        content-visibility: auto;
        contain-intrinsic-size: 1px 720px;
    }
}

.hero-section .btn-secondary,
.page-hero .btn-secondary {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.22);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 18px 36px -30px rgba(0, 0, 0, 0.64);
}

.hero-section .btn-secondary:hover,
.page-hero .btn-secondary:hover {
    color: var(--white);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.08) 100%);
}

.section-header {
    max-width: 54rem;
    margin: 0 auto 3.3rem;
}

.section-badge {
    border: 1px solid rgba(37, 99, 234, 0.12);
    background: linear-gradient(180deg, rgba(223, 245, 255, 0.82) 0%, rgba(233, 244, 255, 0.92) 100%);
    box-shadow: 0 16px 34px -26px rgba(37, 99, 234, 0.28);
}

.section-header h2 {
    letter-spacing: -0.05em;
    text-wrap: balance;
}

.section-header p {
    text-wrap: pretty;
}

.site-footer {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top center, rgba(47, 133, 255, 0.12), transparent 28%),
        linear-gradient(180deg, #08152e 0%, #071127 100%);
}

.site-footer::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 220px;
    background:
        radial-gradient(circle at 18% 18%, rgba(125, 211, 252, 0.18), transparent 24%),
        radial-gradient(circle at 80% 0%, rgba(37, 99, 234, 0.16), transparent 26%);
    pointer-events: none;
}

.footer-shell,
.footer-top,
.footer-bottom {
    position: relative;
    z-index: 1;
}

.footer-top {
    background:
        radial-gradient(circle at top right, rgba(125, 211, 252, 0.1), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.03) 100%);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 26px 56px -42px rgba(0, 0, 0, 0.74);
    backdrop-filter: blur(16px);
}

.footer-nav a,
.footer-contact-link,
.footer-secondary-link,
.footer-social-link {
    opacity: 0.86;
}

.page-hero {
    padding: 10rem 0 5.9rem;
    background:
        radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.08), transparent 26%),
        radial-gradient(circle at 84% 18%, rgba(125, 211, 252, 0.12), transparent 22%),
        linear-gradient(135deg, rgba(5, 16, 36, 0.98) 0%, rgba(13, 52, 125, 0.94) 56%, rgba(10, 105, 170, 0.82) 100%),
        url('../img/bg.webp') center/cover no-repeat;
}

.page-hero::before {
    background:
        radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.08), transparent 28%),
        radial-gradient(circle at 88% 18%, rgba(217, 251, 244, 0.12), transparent 24%),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 120px 120px,
        linear-gradient(0deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 120px 120px;
    opacity: 0.9;
}

.page-kicker {
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 16px 34px -30px rgba(0, 0, 0, 0.72);
}

.page-hero-copy h1 {
    letter-spacing: -0.06em;
    line-height: 0.94;
}

.page-hero-copy p {
    text-wrap: pretty;
}

.page-hero-pills span {
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.page-hero-card,
.metric-card,
.page-role-strip {
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.page-hero-card {
    background:
        radial-gradient(circle at top right, rgba(125, 211, 252, 0.18), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.08) 100%);
    border-color: rgba(255, 255, 255, 0.16);
}

.metric-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.page-section {
    position: relative;
    padding: 5.6rem 0;
}

.page-section.is-soft {
    background: linear-gradient(180deg, #f7fbff 0%, #edf4fb 54%, #f7fbff 100%);
}

.page-card,
.page-featured-case,
.page-inline-cta {
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-panel);
    transition:
        transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.32s ease,
        border-color 0.32s ease,
        background 0.32s ease;
}

.page-card::before,
.page-featured-case::before,
.page-inline-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(125, 211, 252, 0.18), transparent 34%);
    pointer-events: none;
}

.page-card>*,
.page-featured-case>*,
.page-inline-cta>* {
    position: relative;
    z-index: 1;
}

.page-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.page-card.highlight {
    background:
        radial-gradient(circle at top right, rgba(125, 211, 252, 0.18), transparent 30%),
        linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
}

.page-link-card span {
    color: var(--primary-blue-dark);
    font-weight: 700;
}

.page-featured-case:hover,
.page-card:hover,
.page-link-card:hover,
.page-inline-cta:hover {
    transform: translateY(-6px);
    border-color: rgba(37, 99, 234, 0.18);
    box-shadow: 0 34px 72px -42px rgba(15, 23, 42, 0.26);
}

.page-featured-media img {
    transition: transform 0.55s ease;
}

.page-featured-case:hover .page-featured-media img {
    transform: scale(1.04);
}

.page-inline-cta {
    background:
        radial-gradient(circle at top right, rgba(125, 211, 252, 0.18), transparent 30%),
        linear-gradient(135deg, rgba(15, 98, 254, 0.1) 0%, rgba(16, 185, 129, 0.08) 100%);
}

@media (max-width: 767px) {
    .site-footer {
        padding-top: 4.5rem;
    }

    .section-header {
        margin-bottom: 2.6rem;
    }

    .page-hero {
        padding: 8.9rem 0 4.6rem;
    }
}

/* ============================================
   Internal Hero Standard
   ============================================ */

.page-hero .container {
    width: 100%;
    max-width: 1280px;
    margin-inline: auto;
}

.page-hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
    width: 100%;
    max-width: none;
}

@media (min-width: 1024px) {
    .page-hero-grid {
        grid-template-columns: 1fr;
    }
}

.page-kicker,
.page-hero-card,
.page-role-strip,
.page-hero-actions .btn-secondary {
    display: none;
}

.page-hero-copy {
    width: 100%;
    max-width: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-hero-copy h1 {
    max-width: 17.5ch;
    margin-bottom: 1.1rem;
}

.page-hero-copy p {
    max-width: 46rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.7rem;
}

.page-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    max-width: 52rem;
    margin-bottom: 1.8rem;
}

.page-hero-pills span {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-height: 58px;
    width: fit-content;
    max-width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    font-weight: 600;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.92);
}

.page-hero-pills span::before {
    content: "";
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 12px;
    background:
        rgba(255, 255, 255, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/16px 16px no-repeat;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.page-hero-actions {
    justify-content: center;
    gap: 0.9rem;
    max-width: 52rem;
    width: 100%;
}

.page-hero-actions .btn-primary {
    min-height: 58px;
    padding-inline: 1.5rem;
    min-width: 280px;
    justify-content: center;
}

.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 76px;
    /* header */
}

.error-page .container {
    width: 100%;
}

.error-page .hero-content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

@media (max-width: 767px) {
    .page-hero-copy h1 {
        max-width: 11.5ch;
    }

    .page-hero-pills {
        max-width: none;
    }

    .page-hero-pills span {
        width: 100%;
        min-height: 0;
    }
}

/* Scroll reveal tuning */
section[id] {
    scroll-margin-top: 140px;
}

html.has-motion body:not(.home-page) [data-reveal] {
    --reveal-translate-y: 10px;
    transition:
        opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
        transform 0.32s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
}

html.has-motion body:not(.home-page) [data-reveal="scale"] {
    --reveal-translate-y: 8px;
    --reveal-scale: 0.99;
}

html.has-motion body:not(.home-page) [data-reveal="left"] {
    --reveal-translate-x: -10px;
}

html.has-motion body:not(.home-page) [data-reveal="right"] {
    --reveal-translate-x: 10px;
}