:root {
    --bg-dark: #0a1f3d;
    --bg-darker: #061428;
    --bg-card: #0c2d5e;
    --bg-light: #f0f5fb;

    --accent: #007aff;
    --accent-hover: #0046b8;
    --accent-glow: rgba(0, 122, 255, 0.35);
    --accent-border: rgba(0, 122, 255, 0.3);
    --brand: #007aff;
    --brand-light: #007aff;
    --bg-brand: #1b437a;

    --text-light: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.72);
    --text-dark: #171f26;

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    --border-radius: 8px;
    --border-radius-lg: 16px;
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.highlight {
    color: var(--accent);
}

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

.center {
    text-align: center;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 2rem;
    letter-spacing: -0.5px;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}

.section-intro {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 100%;
    margin-bottom: 2rem;
}

.section-intro.text-dark {
    color: var(--text-dark);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(12, 84, 180, 0.1);
    box-shadow: 0 2px 12px rgba(12, 84, 180, 0.06);
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 72px;
    padding: 0.75rem 1.5rem;
}

.site-header-logo img {
    height: 56px;
    width: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem 1.75rem;
}

.site-nav-link {
    color: var(--bg-card);
    font-size: 0.88rem;
    font-weight: 600;
    white-space: nowrap;
}

.site-nav-link:hover {
    color: var(--brand);
}

.site-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(12, 84, 180, 0.2);
    border-radius: 10px;
    background: rgba(12, 84, 180, 0.04);
    color: var(--brand);
    cursor: pointer;
}

.site-nav-toggle-bar {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--brand) 100%);
    color: #fff;
    box-shadow: 0 8px 24px var(--accent-glow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-hover) 0%, #083a7a 100%);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.15rem 2.25rem;
    font-size: 1rem;
}

/* Hero */
.hero-section {
    position: relative;
    min-height: clamp(520px, 85vh, 900px);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-image: url('../images/Foto%20Banner%20Topo.png');
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to right, rgba(2, 6, 15, 0.95) 0%, rgba(2, 6, 15, 0.7) 45%, rgba(2, 6, 15, 0) 100%);
}

.hero-banner-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
}

.hero-logo {
    margin-bottom: 2rem;
}

.hero-logo img {
    height: 48px;
    width: auto;
}

.hero-title {
    font-size: clamp(1.4rem, 4vw, 2.75rem);
    color: #ffffff;
    max-width: 900px;
    margin-bottom: 1.25rem;
    letter-spacing: -0.5px;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

.hero-subtitle {
    font-size: clamp(1.15rem, 2.5vw, 1.4rem);
    font-weight: 500;
    color: #ffffff;
    max-width: 720px;
    margin-bottom: 1.5rem;
}

.hero-text {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 700px;
    margin-bottom: 2rem;
}

.hero-bullets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.85rem 1.5rem;
    margin-bottom: 2.5rem;
    max-width: 800px;
}

.hero-bullet {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.hero-bullet i {
    color: var(--accent);
    flex-shrink: 0;
}

.hero-cta-note {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    max-width: 640px;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    overflow-wrap: break-word;
}

.hero-cta-note span:last-child {
    min-width: 0;
}

.hero-cta-note .cta-emoji {
    font-size: 1.25rem;
    line-height: 1;
    flex-shrink: 0;
}

.hero-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.hero-badges img {
    height: 40px;
    width: auto;
    opacity: 0.95;
}

/* Why / Problem section */
.why-section {
    padding: 7rem 0;
    background:
        radial-gradient(ellipse 70% 50% at 10% 20%, rgba(12, 84, 180, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 90% 80%, rgba(0, 122, 255, 0.05) 0%, transparent 55%),
        var(--bg-light);
    color: var(--text-dark);
    clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
    margin: -2rem 0;
    position: relative;
    z-index: 5;
    overflow: hidden;
}

.why-section-glow {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(12, 84, 180, 0.08) 0%, transparent 70%);
    top: -10%;
    right: -5%;
    pointer-events: none;
}

.why-header {
    max-width: 100%;
    margin-bottom: 3rem;
}

.why-highlight {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--brand);
    margin-top: 0.5rem;
}

.why-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.why-card {
    background: #eef2f6;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    border: 1px solid rgba(12, 84, 180, 0.05);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0) 0%, rgba(12, 84, 180, 0.03) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.why-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(12, 84, 180, 0.15);
    border-color: rgba(12, 84, 180, 0.2);
}

.why-card:hover::before {
    opacity: 1;
}



.why-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--brand);
    color: #fff;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 20px rgba(12, 84, 180, 0.25);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-card:hover .why-card-icon {
    transform: scale(1.1) rotate(-5deg);
}



.why-card-icon i,
.why-card-icon svg {
    width: 32px;
    height: 32px;
    stroke-width: 2.5;
}



.why-card p {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-dark);
    margin: 0;
    position: relative;
    z-index: 2;
}



.why-card-bg-icon {
    position: absolute;
    bottom: -20px;
    right: -20px;
    opacity: 0.04;
    color: var(--brand);
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 0;
}

.why-card-bg-icon i,
.why-card-bg-icon svg {
    width: 140px;
    height: 140px;
    stroke-width: 1.5;
}

.why-card:hover .why-card-bg-icon {
    transform: scale(1.1) translate(-10px, -10px);
    opacity: 0.08;
}



.why-closing-box {
    background: linear-gradient(135deg, rgba(12, 84, 180, 0.06) 0%, rgba(0, 122, 255, 0.04) 100%);
    border: 1px solid rgba(12, 84, 180, 0.12);
    border-left: 4px solid var(--brand);
    border-radius: var(--border-radius-lg);
    padding: 1.75rem 2rem;
    max-width: 100%;
}

.why-closing {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--brand);
    line-height: 1.65;
}

/* Loader de abertura — mapa múndi pontilhado com aviões voando entre destinos */
body.is-loading-lock {
    overflow: hidden;
    height: 100vh;
}

.page-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    overflow: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.page-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-map-wrap {
    position: relative;
    width: 900px;
    height: 450px;
    isolation: isolate;
    transform: scale(var(--loader-scale, 1));
    /* compensa o layout box pro tamanho visual (transform não reduz o espaço reservado) */
    margin-block: calc((450px * var(--loader-scale, 1) - 450px) / 2);
    margin-inline: calc((900px * var(--loader-scale, 1) - 900px) / 2);
}

.loader-map {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.loader-continents path {
    fill: url(#mapDots);
}

.dest-arrow {
    fill: none;
    stroke: var(--brand);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-dasharray: 900;
    stroke-dashoffset: 900;
    opacity: 0;
    vector-effect: non-scaling-stroke;
}

.arrow-head {
    fill: var(--brand);
}

.page-loader.is-flying .dest-arrow {
    animation: drawArrow 0.8s cubic-bezier(0.45, 0, 0.4, 1) forwards;
}

.page-loader.is-flying #da1 { animation-delay: 0.58s; }
.page-loader.is-flying #da2 { animation-delay: 0.73s; }
.page-loader.is-flying #da3 { animation-delay: 0.88s; }
.page-loader.is-flying #da4 { animation-delay: 1.03s; }
.page-loader.is-flying #da5 { animation-delay: 1.18s; }

@keyframes drawArrow {
    0% {
        stroke-dashoffset: 900;
        opacity: 1;
    }
    100% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

.loader-hub-dot {
    fill: var(--brand);
    opacity: 0;
    transition: opacity 0.25s ease 0.44s;
}

.page-loader.is-flying .loader-hub-dot {
    opacity: 1;
}

.loader-dest-dots circle {
    fill: var(--brand);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.page-loader.is-flying .loader-dest-dots circle:nth-child(1) { opacity: 0.9; transition-delay: 1.38s; }
.page-loader.is-flying .loader-dest-dots circle:nth-child(2) { opacity: 0.9; transition-delay: 1.53s; }
.page-loader.is-flying .loader-dest-dots circle:nth-child(3) { opacity: 0.9; transition-delay: 1.68s; }
.page-loader.is-flying .loader-dest-dots circle:nth-child(4) { opacity: 0.9; transition-delay: 1.83s; }
.page-loader.is-flying .loader-dest-dots circle:nth-child(5) { opacity: 0.9; transition-delay: 1.98s; }

.loader-logo {
    position: relative;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.35s ease 2.1s;
}

.page-loader.is-flying .loader-logo {
    opacity: 1;
}

.loader-logo img {
    height: 84px;
    width: auto;
}

.loader-plane {
    position: absolute;
    top: 0;
    left: 0;
    width: 144px;
    height: 60.75px;
    opacity: 0;
    offset-distance: 0%;
    offset-rotate: auto;
    offset-anchor: 95% 45%;
    z-index: 5;
}

.loader-plane-icon {
    display: block;
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.25));
}

.loader-plane-icon path {
    fill: var(--brand);
}

.page-loader.is-flying .loader-plane {
    animation: planeFlight 1.3s cubic-bezier(0.45, 0, 0.4, 1) forwards;
}

@keyframes planeFlight {
    0% {
        offset-distance: 0%;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        offset-distance: 100%;
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-loader {
        display: none;
    }
}

@media (max-width: 980px) {
    .loader-map-wrap {
        --loader-scale: 0.72;
    }
}

@media (max-width: 700px) {
    .loader-map-wrap {
        --loader-scale: 0.5;
    }

    .loader-logo img {
        height: 60px;
    }
}

@media (max-width: 480px) {
    .loader-map-wrap {
        --loader-scale: 0.36;
    }
}

/* Solution section */
.solution-section {
    padding: 7rem 0;
}

.bg-brand {
    background-color: var(--bg-brand) !important;
    color: var(--text-light) !important;
}
.bg-light {
    background-color: var(--bg-light) !important;
    color: var(--text-dark) !important;
}
.bg-white {
    background-color: #ffffff !important;
    color: var(--text-dark) !important;
}
.bg-brand p, .bg-brand h1, .bg-brand h2, .bg-brand h3, .bg-brand h4, .bg-brand li, .bg-brand span, .bg-brand .section-subtitle, .bg-brand .section-title {
    color: var(--text-light) !important;
}
.bg-brand p {
    color: rgba(255, 255, 255, 0.9) !important;
}
.bg-white p, .bg-white h1, .bg-white h2, .bg-white h3, .bg-white h4, .bg-white li, .bg-white span, .bg-white .section-subtitle, .bg-white .section-title,
.bg-light p, .bg-light h1, .bg-light h2, .bg-light h3, .bg-light h4, .bg-light li, .bg-light span, .bg-light .section-subtitle, .bg-light .section-title {
    color: var(--text-dark) !important;
}
.bg-white p, .bg-light p {
    color: var(--text-dark) !important;
    opacity: 0.85;
}

.solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-subtitle {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 500;
    margin-bottom: 2rem;
}

.solution-content p {
    font-size: 1.05rem;
    margin-bottom: 1.25rem;
}

.check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    font-weight: 600;
    font-size: 1.05rem;
}

.check-list li span {
    min-width: 0;
    overflow-wrap: break-word;
    margin-top: 2px;
}

.check-list li i {
    color: var(--brand);
    flex-shrink: 0;
    transform: scale(1.15);
}

.solution-visual {
    padding: 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.solution-visual i {
    width: 80px;
    height: 80px;
    color: var(--brand-light);
    margin: 0 auto 1.5rem;
}

.solution-img {
    max-width: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.solution-visual h3 {
    font-size: 1.5rem;
    color: var(--accent);
    text-transform: uppercase;
}

/* Features grid */
.features-section {
    padding: 7rem 0;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.feature-card {
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    padding: 2.5rem 1.5rem;
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: none;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(12, 29, 61, 0.8) 0%, rgba(12, 29, 61, 0.4) 100%);
    z-index: 1;
    transition: background 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.feature-card:hover::before {
    background: linear-gradient(135deg, rgba(12, 29, 61, 0.9) 0%, rgba(12, 29, 61, 0.5) 100%);
}

.feature-card-content {
    position: relative;
    z-index: 2;
    transform: translateY(0);
    transition: transform 0.4s ease;
}

.feature-card:hover .feature-card-content {
    transform: translateY(-5px);
}

.feature-card p {
    font-weight: 700;
    font-size: 1.15rem;
    margin: 0;
    line-height: 1.3;
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* Sobreposição dos cards de serviço (Rildi) igual à dos destinos */
#servicos .feature-card::before {
    background: rgba(6, 20, 40, 0.4);
}

#servicos .feature-card:hover::before {
    background: rgba(6, 20, 40, 0.2);
}

/* Segments */
.segments-section {
    padding: 7rem 0;
    background: var(--bg-light);
    color: var(--text-dark);
}

.segments-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.segment-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 200px;
    max-width: 280px;
    min-height: 180px;
    background-color: rgba(12, 84, 180, 0.1);
    background-size: cover;
    background-position: center;
    position: relative;
    isolation: isolate;
    border-radius: var(--border-radius);
    padding: 1rem 1.25rem;
    font-weight: 700;
    text-align: center;
    font-size: 1.25rem;
    line-height: 1.3;
    color: #fff;
    box-shadow: 0 4px 16px rgba(12, 84, 180, 0.15);
    overflow: hidden;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

/* Grid de destinos (Rildi) — 6 colunas / 2 linhas em telas largas */
#destinos .segments-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}

#destinos .segment-tag {
    max-width: none;
    min-height: 150px;
}

@media (max-width: 900px) {
    #destinos .segments-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    #destinos .segments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.segment-tag::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(6, 20, 40, 0.4);
    z-index: -1;
    transition: background-color 0.3s ease;
}

.segment-tag:hover::before {
    background-color: rgba(6, 20, 40, 0.2);
}

.segments-closing {
    font-size: 1.1rem;
    font-weight: 500;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: rgba(23, 31, 38, 0.85);
}

/* Assistant section */
.assistant-section {
    padding: 7rem 0;
    background: var(--bg-dark);
}

.assistant-box {
    background: linear-gradient(135deg, var(--bg-card) 0%, #0e3a6e 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: 3.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.assistant-box p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.assistant-topics {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.assistant-topics li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
}

.assistant-topics li i {
    color: var(--accent);
    flex-shrink: 0;
}

.assistant-cta {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    background: rgba(0, 122, 255, 0.1);
    border: 1px solid var(--accent-border);
    border-radius: var(--border-radius);
    font-weight: 600;
    overflow-wrap: break-word;
}

.assistant-cta span:last-child {
    min-width: 0;
}

/* Services */
.services-section {
    padding: 7rem 0;
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem 2rem;
    transition: border-color 0.2s ease;
}

.service-card:hover {
    border-color: rgba(0, 122, 255, 0.35);
}

.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.85rem;
    color: var(--brand-light);
    text-transform: uppercase;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.98rem;
}

.services-closing {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    max-width: 1000px;
    margin: 0 auto;
}

/* FAQ */
.faq-section {
    padding: 7rem 0;
    background: var(--bg-light);
    color: var(--text-dark);
}

.faq-list {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: #fff;
    border: 1px solid rgba(12, 84, 180, 0.1);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(12, 84, 180, 0.06);
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 1.35rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--brand);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem 1.35rem;
    color: rgba(23, 31, 38, 0.82);
    line-height: 1.7;
    border-top: 1px solid rgba(12, 84, 180, 0.08);
    padding-top: 1rem;
    margin: 0 1.5rem 1.35rem;
}

/* CTA */
.cta-section {
    padding: 6rem 0;
}

.cta-box {
    background: linear-gradient(135deg, var(--bg-card) 0%, #0e3a6e 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: 5rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    pointer-events: none;
    opacity: 0.5;
}

.cta-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    color: #ffffff !important;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: #ffffff !important;
    margin-bottom: 2rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

div.cta-box h2, div.cta-box p {
    color: #ffffff !important;
}

.cta-box .btn,
.cta-note {
    position: relative;
    z-index: 2;
}

.cta-note {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    max-width: 100%;
    overflow-wrap: break-word;
    text-align: left;
}

.cta-note span:last-child {
    min-width: 0;
}

/* Floating assistant */
.floating-assistant {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.floating-assistant-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 1rem 1.35rem;
    background: linear-gradient(135deg, var(--accent) 0%, var(--brand) 100%);
    color: #fff;
    border: none;
    border-radius: 999px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(12, 84, 180, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-assistant-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(12, 84, 180, 0.55);
}

.floating-assistant-btn i {
    width: 20px;
    height: 20px;
}

/* Footer */
.main-footer {
    padding: 3rem 0 2rem;
    background: var(--bg-darker);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.footer-logo img {
    height: 56px;
    width: auto;
}

.footer-badges {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.footer-badges img {
    height: 32px;
    width: auto;
    opacity: 0.9;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    font-size: 0.88rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7) !important;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-copy {
    width: 100%;
    text-align: center;
    padding-top: 1.5rem;
    margin-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.85rem;
}

.footer-copy p {
    color: rgba(255, 255, 255, 0.45) !important;
}

/* Privacy page */
.privacy-page {
    padding: 5rem 0 4rem;
    background: var(--bg-light);
    color: var(--text-dark);
    min-height: 80vh;
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-content h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    color: var(--brand);
}

.privacy-content .privacy-date {
    font-size: 0.9rem;
    color: rgba(23, 31, 38, 0.6);
    margin-bottom: 2rem;
}

.privacy-content h2 {
    font-size: 1.1rem;
    margin: 2rem 0 0.75rem;
    text-transform: uppercase;
    color: var(--brand);
}

.privacy-content p {
    margin-bottom: 1rem;
    line-height: 1.75;
}

.privacy-content ul {
    margin: 0 0 1rem 1.25rem;
}

.privacy-content li {
    margin-bottom: 0.4rem;
    line-height: 1.65;
}

.privacy-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
    color: var(--brand);
}

.privacy-back:hover {
    color: var(--accent);
}

/* Hero with image */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-visual img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

/* Emoji feature cards */
.feature-emoji {
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 1rem;
}

.features-grid-8 .feature-card {
    flex: 1 1 220px;
    max-width: 280px;
    min-height: 130px;
}

/* About section */
.about-section {
    padding: 7rem 0;
    background: var(--bg-dark);
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 4rem;
    align-items: center;
}

.about-visual {
    position: relative;
    min-width: 0;
}

.about-visual .pri-swiper {
    width: 100%;
    padding-bottom: 2rem;
    padding-right: 20px;
    overflow: hidden; /* Fix layout bug from visible overflow */
}

.about-visual .pri-swiper .swiper-slide img {
    width: 100%;
    border-radius: var(--border-radius-lg);
    object-fit: cover;
    aspect-ratio: 3 / 4;
    height: auto;
    box-shadow: 20px 20px 0px rgba(0, 122, 255, 0.12); /* Sombra sólida deslocada */
}

/* Swiper Navigation Buttons */
.about-visual .pri-swiper .swiper-button-next,
.about-visual .pri-swiper .swiper-button-prev {
    color: var(--brand);
    background: #ffffff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    top: 45%;
}

.about-visual .pri-swiper .swiper-button-next::after,
.about-visual .pri-swiper .swiper-button-prev::after {
    font-size: 1.1rem;
    font-weight: 800;
}

.about-content p {
    color: var(--text-dark);
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
    line-height: 1.55;
}

.about-tagline {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--brand);
    margin-top: 2.5rem;
    padding: 1.25rem;
    background: #ffffff;
    border-left: 4px solid var(--brand);
    border-radius: 0 8px 8px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

/* Comparison section */
.comparison-section {
    padding: 7rem 0;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 950px;
    margin: 0 auto;
}

.comparison-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--border-radius-lg);
    padding: 3rem 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.comparison-card:not(.negative) {
    background: var(--bg-light);
    border: 1px solid var(--accent-border);
    box-shadow: 0 8px 30px rgba(0, 122, 255, 0.1);
    transform: scale(1.05);
    position: relative;
    z-index: 2;
}

.comparison-card h3 {
    font-size: 1.15rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    color: var(--brand);
    font-weight: 800;
}

.comparison-card.negative h3 {
    color: #64748B;
}

.comparison-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.comparison-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    font-size: 1.05rem;
    color: var(--text-dark);
}

.comparison-list.negative li {
    color: #64748B;
}

.comparison-list.negative li::before {
    content: '✕';
    color: #EF4444;
    flex-shrink: 0;
    font-weight: bold;
}

.comparison-list.positive li::before {
    content: '✔';
    color: var(--brand);
    flex-shrink: 0;
    font-weight: bold;
}

@media (max-width: 768px) {
    .comparison-card:not(.negative) {
        transform: scale(1);
    }
}

/* Steps section */
.steps-section {
    padding: 7rem 0;
    background: var(--bg-light);
    color: var(--text-dark);
}

.steps-list {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.step-item {
    text-align: center;
    padding: 1rem 1.5rem;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    margin-bottom: 0.85rem;
}

.step-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.step-item p {
    color: rgba(23, 31, 38, 0.75);
    font-size: 0.95rem;
    max-width: 520px;
    margin: 0 auto;
}

.step-arrow {
    text-align: center;
    font-size: 1.5rem;
    color: var(--brand);
    padding: 0.25rem 0;
}

@media (min-width: 900px) {
    .steps-list {
        max-width: 1000px;
        flex-direction: row;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .step-item {
        padding: 0;
        flex: 1;
    }
    
    .step-arrow {
        padding: 0;
        margin-top: 0.75rem;
        transform: rotate(-90deg);
    }
}

/* Testimonials */
.testimonials-section {
    padding: 7rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

.testimonial-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-image:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.85);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
}

.lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.lightbox-image {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
}

.testimonial-placeholder {
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    font-style: italic;
}

.important-note {
    margin-top: 1.5rem;
    padding: 1.25rem 1.5rem;
    background: rgba(0, 122, 255, 0.08);
    border: 1px solid var(--accent-border);
    border-radius: var(--border-radius);
    font-size: 0.95rem;
    color: inherit;
}

.important-note strong {
    color: var(--brand);
}

/* Responsive */
@media (max-width: 900px) {
    .why-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-card-wide {
        grid-column: span 2;
    }

    .hero-grid,
    .about-grid,
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-visual {
        order: -1;
    }

    .hero-visual img {
        min-height: 280px;
    }

    .about-visual img {
        min-height: 300px;
    }

    .solution-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .solution-visual {
        order: -1;
    }
}

@media (max-width: 768px) {
    .site-nav-toggle {
        display: flex;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        padding: 1rem 1.5rem 1.5rem;
        background: rgba(255, 255, 255, 0.99);
        border-bottom: 1px solid rgba(12, 84, 180, 0.1);
    }

    .site-header.is-nav-open .site-nav {
        display: flex;
    }

    .site-header-inner {
        position: relative;
        flex-wrap: nowrap;
        padding: 0.75rem 0;
        gap: 1rem;
    }

    .site-header-logo img {
        height: 44px;
        max-width: min(180px, 55vw);
    }

    .assistant-box {
        padding: 2rem 1.25rem;
    }

    .cta-box {
        padding: 3rem 1.25rem;
    }

    .cta-note {
        display: flex;
        width: 100%;
        justify-content: center;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-badges {
        justify-content: center;
        flex-wrap: wrap;
    }

    .container {
        padding: 0 1.5rem;
        max-width: 100%;
    }

    .hero-banner-inner {
        padding-top: 3.5rem;
        padding-bottom: 3rem;
    }

    .hero-section {
        min-height: auto;
        padding-top: 0.5rem;
    }

    .hero-glow {
        width: 280px;
        height: 280px;
        right: -40%;
    }

    .hero-bullets {
        grid-template-columns: 1fr;
    }

    .hero-cta-note {
        padding: 1rem 1.15rem;
        font-size: 0.9rem;
    }

    .why-section, .solution-section, .features-section, .segments-section, .assistant-section, .services-section, .faq-section, .cta-section, .about-section, .comparison-section, .steps-section, .testimonials-section {
        padding: 4rem 0;
    }

    .why-section {
        clip-path: none;
        margin: 0;
    }

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

    .why-card-wide {
        grid-column: span 1;
    }

    .why-closing-box {
        padding: 1.25rem 1.5rem;
    }

    .why-closing {
        font-size: 1rem;
    }

    .section-title {
        font-size: clamp(1.35rem, 5.5vw, 1.75rem);
        letter-spacing: 0;
    }

    .section-intro {
        font-size: 1rem;
    }

    .segments-grid {
        flex-direction: column;
        align-items: stretch;
    }

    .segment-tag {
        max-width: 100%;
        min-height: 240px;
        font-size: 1.25rem;
        flex: 1 1 auto;
    }

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

    .service-card {
        padding: 1.75rem 1.25rem;
    }

    .services-closing {
        font-size: 1rem;
        padding: 0 0.25rem;
    }

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

    .feature-card {
        max-width: 100%;
        flex: 1 1 auto;
    }

    .assistant-topics {
        grid-template-columns: 1fr;
    }

    .assistant-topics li span {
        min-width: 0;
        overflow-wrap: break-word;
    }

    .faq-item summary {
        font-size: 0.95rem;
        padding: 1.15rem 1.15rem;
    }

    .faq-answer {
        margin: 0 1.15rem 1.15rem;
        padding: 0 0 1.15rem;
        font-size: 0.95rem;
    }

    .solution-img {
        max-width: 100%;
    }

    .btn {
        width: 100%;
        max-width: 100%;
        white-space: normal;
        text-align: center;
    }

    .footer-logo img {
        height: 44px;
        max-width: min(200px, 70vw);
        margin: 0 auto;
    }
}
