/* paytek - style.css ordem: reset , base , layout , navbar , hero , parceiros , about , compliance , plataformas , solucoes , developers , blog , contactos , footer , animacoes , responsivo */


/* reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
    font-size: 16px;
}
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background var(--ease), color var(--ease);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
address { font-style: normal; }
textarea { resize: vertical; }


/* base typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
    overflow-wrap: break-word;
}
h1 { font-size: clamp(2rem,   5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.1rem,  2vw, 1.3rem); }
h4 { font-size: 1rem; }


/* layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.section       { padding: 5rem 0; }
.section-alt   { background: var(--bg2); }


/* section header */
.section-label {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: .875rem;
}
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3.5rem;
}
.section-header h2  { margin-bottom: .75rem; }
.section-header p   { color: var(--text2); font-size: 1.05rem; }


/* buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.75rem;
    border-radius: var(--radius-sm);
    font-size: .95rem;
    font-weight: 600;
    transition: all var(--ease);
    cursor: pointer;
    white-space: nowrap;
}
.btn-primary {
    background: var(--primary);
    color: #fff;
}
.btn-primary:hover {
    background: var(--primary-h);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 86, 219, .38);
}
.btn:active { transform: scale(.97); }
.btn-outline {
    border: 2px solid rgba(255, 255, 255, .4);
    color: #fff;
    backdrop-filter: blur(6px);
}
.btn-outline:hover {
    border-color: rgba(255, 255, 255, .9);
    background: rgba(255, 255, 255, .12);
    transform: translateY(-2px);
}
.btn-full {
    width: 100%;
    justify-content: center;
}


/* navbar */
#navbar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    transition: background var(--ease), box-shadow var(--ease), backdrop-filter var(--ease);
}
#navbar {
    background: rgba(30, 33, 40, .92);
}
#navbar.scrolled {
    background: rgba(30, 33, 40, .72);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 72px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.nav-logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -.03em;
    flex-shrink: 0;
    color: var(--text);
}
.logo-accent { color: var(--accent); }

.nav-links {
    display: flex;
    align-items: center;
    gap: .125rem;
    margin-left: auto;
}
.nav-links a {
    display: block;
    padding: .45rem .7rem;
    border-radius: var(--radius-sm);
    font-size: .8rem;
    font-weight: 500;
    color: var(--text2);
    white-space: nowrap;
    transition: color var(--ease), background var(--ease);
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
    background: var(--card);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-shrink: 0;
}
.nav-lang {
    position: relative;
}
.lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .65rem .9rem;
    min-height: 44px;
    border-radius: 999px;
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--text2);
    font-size: .9rem;
    font-weight: 600;
    transition: all var(--ease);
}
.lang-toggle:hover,
.lang-toggle:focus {
    color: var(--text);
    border-color: var(--border-h);
}
.lang-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    font-size: 1rem;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}
.lang-flag-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.lang-arrow {
    font-size: .8rem;
    color: var(--text2);
}
.lang-menu {
    position: absolute;
    top: calc(100% + .6rem);
    right: 0;
    min-width: 190px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform-origin: top right;
    transform: translateY(.5rem) scale(.95);
    transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s var(--ease);
    z-index: 1002;
}
.lang-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}
.lang-option {
    display: flex;
    align-items: center;
    gap: .75rem;
    width: 100%;
    padding: .85rem 1rem;
    color: var(--text);
    font-size: .92rem;
    cursor: pointer;
    transition: background .2s;
}
.lang-option:hover,
.lang-option[aria-selected="true"] {
    background: rgba(204,41,41,.08);
}
.lang-option .lang-flag {
    width: 24px;
    height: 24px;
    font-size: 1rem;
}


/* hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px 8px;
    border-radius: var(--radius-sm);
    background: var(--card);
    border: 1px solid var(--border);
}
.hamburger span {
    display: block;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all var(--ease);
    transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile nav */
@media (max-width: 1023px) {
    .hamburger { display: flex; }
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: .25rem;
        padding: 1rem 1.5rem 1.5rem;
        background: var(--nav-bg);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border);
        margin-left: 0;
        transform: translateY(-110%);
        opacity: 0;
        visibility: hidden;
        transition: transform .35s cubic-bezier(.4, 0, .2, 1),
                    opacity    .35s cubic-bezier(.4, 0, .2, 1),
                    visibility .35s cubic-bezier(.4, 0, .2, 1);
        pointer-events: none;
    }
    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    .nav-links a {
        padding: .75rem 1rem;
        font-size: .95rem;
    }
}


/* hero - carrossel */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

/* slides */
.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    z-index: 0;
    transition: opacity .9s cubic-bezier(.4, 0, .2, 1);
}
.hero-slide.active  { opacity: 1; z-index: 2; }
.hero-slide.leaving { opacity: 0; z-index: 1; }

/* fundos gradiente animados (sem depender de imagens externas) */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg--1 { background: linear-gradient(135deg, #1e2128 0%, #2d3341 50%, #cc2929 100%); }
.hero-bg--2 { background: linear-gradient(135deg, #1e2128 0%, #003d32 45%, #00c896 100%); }
.hero-bg--3 { background: linear-gradient(135deg, #1e2128 0%, #2a0f5a 45%, #a855f7 100%); }

/* orbe animado por slide */
.hero-bg::before,
.hero-bg::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: heroFloat 10s ease-in-out infinite alternate;
    pointer-events: none;
}
.hero-bg::before {
    width: 55vmin; height: 55vmin;
    opacity: .3;
    top: 5%; right: 8%;
}
.hero-bg--1::before { background: #cc2929; }
.hero-bg--2::before { background: #00c896; }
.hero-bg--3::before { background: #a855f7; }

.hero-bg::after {
    width: 35vmin; height: 35vmin;
    opacity: .2;
    bottom: 15%; left: 5%;
    animation-delay: -3s;
}
.hero-bg--1::after { background: #00c896; }
.hero-bg--2::after { background: #cc2929; }
.hero-bg--3::after { background: #cc2929; }

@keyframes heroFloat {
    from { transform: scale(1)    translate(0, 0); }
    to   { transform: scale(1.15) translate(3%, 3%); }
}

/* grade decorativa */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 52px 52px;
}

/* conteudo do slide */
.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    padding-top: 80px; /* espaco para a navbar */
}

.hero-badge {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--primary-h);
    margin-bottom: 1.25rem;
    animation: fadeUp .6s .15s both;
}
.hero-title {
    font-size: clamp(2rem, 5.5vw, 3.75rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.12;
    margin-bottom: 1.25rem;
    max-width: 720px;
    text-shadow: 0 2px 32px rgba(0,0,0,.4);
    animation: fadeUp .6s .3s both;
}
.hero-desc {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: rgba(255,255,255,.75);
    max-width: 520px;
    line-height: 1.75;
    margin-bottom: 2.25rem;
    animation: fadeUp .6s .45s both;
}
.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeUp .6s .6s both;
}

/* setas */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    transition: all var(--ease);
}
.hero-arrow:hover {
    background: rgba(255,255,255,.22);
    transform: translateY(-50%) scale(1.08);
}
.hero-arrow svg { width: 22px; height: 22px; }
.hero-prev { left: 1.5rem; }
.hero-next { right: 1.5rem; }

/* pontos */
.hero-dots {
    position: absolute;
    bottom: 5.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: .5rem;
}
.hero-dot {
    height: 8px;
    width: 8px;
    border-radius: 4px;
    background: rgba(255,255,255,.3);
    transition: all var(--ease);
}
.hero-dot.active {
    width: 28px;
    background: #fff;
}
.hero-dot:hover { background: rgba(255,255,255,.6); }

/* scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 1.75rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: rgba(255,255,255,.45);
    display: flex;
    animation: scrollBounce 2.2s ease-in-out infinite;
    transition: color var(--ease);
}
.hero-scroll:hover { color: rgba(255,255,255,.9); }
.hero-scroll svg { width: 26px; height: 26px; }

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(7px); }
}


/* parceiros - ticker */
.partners {
    background: var(--bg);
    border-top:    1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 1.25rem 0;
    overflow: hidden;
}
.partners-header {
    text-align: center;
    margin-bottom: .75rem;
}
.partners-header span {
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
}
.partners-track-wrapper {
    overflow: hidden;
    -webkit-mask: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
    mask:          linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}
.partners-track {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    width: max-content;
    padding: .5rem 0;
    animation: ticker 28s linear infinite;
}
.partners-track:hover { animation-play-state: paused; }

.partner-item {
    display: flex;
    align-items: center;
    padding: .55rem 1.4rem;
    border-radius: var(--radius-sm);
    background: var(--card);
    border: 1px solid var(--border);
    white-space: nowrap;
    flex-shrink: 0;
    transition: all var(--ease);
}
.partner-item:hover {
    border-color: var(--border-h);
    background: var(--card-h);
    transform: translateY(-2px);
}
.partner-item span {
    font-size: .875rem;
    font-weight: 600;
    color: var(--text2);
}

@keyframes ticker {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}


/* sobre nos */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-text .section-label { margin-bottom: .875rem; }
.about-text h2 {
    font-weight: 700;
    margin-bottom: 1.25rem;
}
.about-text p {
    color: var(--text2);
    line-height: 1.8;
    margin-bottom: .875rem;
}
.about-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}
.stat-item { display: flex; flex-direction: column; gap: .25rem; }
.stat-num {
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}
.stat-label {
    font-size: .75rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .08em;
}

.about-cards { display: flex; flex-direction: column; gap: 1rem; }
.about-card {
    padding: 1.5rem;
    border-radius: var(--radius);
    background: var(--card);
    border: 1px solid var(--border);
    transition: all var(--ease);
}
.about-card:hover {
    border-color: var(--border-h);
    transform: translateX(5px);
    box-shadow: var(--shadow);
}
.about-card-icon { font-size: 1.5rem; margin-bottom: .625rem; }
.about-card h3   { font-size: 1rem; margin-bottom: .375rem; }
.about-card p    { font-size: .875rem; color: var(--text2); line-height: 1.65; }


/* compliance */
.compliance-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.compliance-card {
    padding: 2rem;
    border-radius: var(--radius);
    background: var(--card);
    border: 1px solid var(--border);
    transition: all var(--ease);
}
.compliance-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary), var(--shadow);
    transform: translateY(-4px);
}
.compliance-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: rgba(26, 86, 219, .1);
    border: 1px solid rgba(26, 86, 219, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 1.25rem;
}
.compliance-icon svg { width: 24px; height: 24px; }
.compliance-card h3 { font-size: 1.05rem; margin-bottom: .75rem; }
.compliance-card p  { color: var(--text2); font-size: .9rem; line-height: 1.7; }


/* plataformas */
.platforms-wrapper { position: relative; }

.platforms-carousel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.platform-card {
    position: relative;
    padding: 2rem;
    border-radius: var(--radius);
    background: var(--card);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all var(--ease);
}
.platform-card:hover {
    border-color: var(--border-h);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}
.platform-card--featured {
    background: linear-gradient(135deg,
        rgba(26, 86, 219, .12),
        rgba(0, 200, 150, .08));
    border-color: rgba(26, 86, 219, .3);
}
.platform-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    padding: .2rem .7rem;
    background: var(--accent);
    color: #000;
    font-size: .68rem;
    font-weight: 700;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.platform-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.platform-icon svg { width: 26px; height: 26px; }
.platform-icon--blue   { background: rgba(204,41,41,.1);  border: 1px solid rgba(204,41,41,.2);  color: var(--primary); }
.platform-icon--accent { background: rgba(0,200,150,.1);  border: 1px solid rgba(0,200,150,.2);  color: var(--accent);  }
.platform-icon--purple { background: rgba(168,85,247,.1); border: 1px solid rgba(168,85,247,.2); color: var(--purple);  }

.platform-card h3 { font-size: 1.1rem; }
.platform-card p  { color: var(--text2); font-size: .9rem; line-height: 1.7; flex: 1; }

.platform-cta {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .875rem;
    font-weight: 600;
    color: var(--primary);
    transition: gap var(--ease);
    width: fit-content;
}
.platform-cta:hover { gap: .75rem; }
.platform-cta svg { width: 15px; height: 15px; }

/* setas (visiveis so em mobile) */
.platforms-arrow {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--text);
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: all var(--ease);
}
.platforms-arrow:hover {
    border-color: var(--border-h);
    box-shadow: var(--shadow-lg);
    transform: translateY(-50%) scale(1.05);
}
.platforms-arrow svg { width: 20px; height: 20px; }
.platforms-prev { left:  -1.25rem; }
.platforms-next { right: -1.25rem; }


/* solucoes */
.solution-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    padding: 3.5rem 0;
    border-bottom: 1px solid var(--border);
}
.solution-block:last-child { border-bottom: none; }

.solution-block--reverse .solution-text   { order: 2; }
.solution-block--reverse .solution-visual { order: 1; }

.solution-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(26, 86, 219, .12);
    line-height: 1;
    margin-bottom: .25rem;
    letter-spacing: -.03em;
}
.solution-text h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.6rem);
    font-weight: 700;
    margin-bottom: 1rem;
}
.solution-text p {
    color: var(--text2);
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* cartao-mockup generico */
.mockup-card {
    border-radius: var(--radius);
    padding: 1.5rem;
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}
.mockup-header {
    display: flex;
    align-items: center;
    gap: .4rem;
    margin-bottom: 1rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid var(--border);
}
.mockup-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--border-h);
}
.mockup-title {
    font-size: .75rem;
    font-weight: 600;
    color: var(--muted);
    margin-left: auto;
}

/* mockup pagamentos */
.mockup-body { display: flex; flex-direction: column; gap: .625rem; }
.mockup-row {
    display: flex;
    align-items: center;
    gap: .875rem;
    padding: .75rem 1rem;
    border-radius: var(--radius-sm);
    background: var(--bg);
    border: 1px solid var(--border);
    font-size: .875rem;
    transition: all var(--ease);
}
.mockup-row:hover { border-color: var(--border-h); }
.mockup-icon-cell { font-size: 1.1rem; width: 24px; text-align: center; }
.mockup-row span:nth-child(2) { flex: 1; }
.mockup-check { color: var(--accent); font-size: .9rem; }

/* mockup qr */
.mockup-card--qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}
.qr-container {
    padding: 1.25rem;
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    display: inline-block;
}
.qr-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
    margin-bottom: .625rem;
}
.qr-cell {
    width: 22px;
    height: 22px;
    border-radius: 2px;
    background: var(--border);
}
.qr-d { background: var(--text); }
.qr-label {
    text-align: center;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
}
.qr-status {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .85rem;
    color: var(--text2);
}
.status-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 200, 150, .25);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(0, 200, 150, .25); }
    50%       { box-shadow: 0 0 0 7px rgba(0, 200, 150, .08); }
}

/* mockup formacao */
.mockup-card--training { padding: 1.5rem; }
.training-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
}
.training-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    padding: 1.25rem 1rem;
    border-radius: var(--radius-sm);
    background: var(--bg);
    border: 1px solid var(--border);
    text-align: center;
    font-size: .82rem;
    font-weight: 500;
    cursor: default;
    transition: all var(--ease);
}
.training-item:hover {
    border-color: var(--primary);
    background: rgba(26, 86, 219, .06);
    transform: translateY(-2px);
}
.training-item span:first-child { font-size: 1.75rem; }


/* developers */
.dev-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

/* janela de codigo */
.code-window {
    border-radius: var(--radius);
    background: #0d1117;
    border: 1px solid rgba(255,255,255,.09);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.code-header {
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .875rem 1.25rem;
    background: rgba(255,255,255,.03);
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.code-dot        { width: 12px; height: 12px; border-radius: 50%; }
.code-dot--red   { background: #ff5f57; }
.code-dot--yellow{ background: #febc2e; }
.code-dot--green { background: #28c840; }
.code-filename {
    margin-left: auto;
    font-size: .75rem;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    color: rgba(255,255,255,.3);
}
.code-body {
    padding: 1.5rem 1.75rem;
    overflow-x: auto;
    font-size: .82rem;
    line-height: 1.85;
    font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
}
code { color: #e6edf3; }
.c-keyword { color: #ff7b72; }
.c-var     { color: #79c0ff; }
.c-string  { color: #a5d6ff; }
.c-num     { color: #79c0ff; }
.c-comment { color: #8b949e; font-style: italic; }

/* lista de features */
.dev-features { display: flex; flex-direction: column; gap: 1.5rem; }
.dev-feature  { display: flex; gap: 1rem; align-items: flex-start; }
.dev-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--card);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}
.dev-feature h4 { font-size: .95rem; margin-bottom: .25rem; }
.dev-feature p  { font-size: .875rem; color: var(--text2); line-height: 1.65; }


/* blog */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.blog-card {
    border-radius: var(--radius);
    background: var(--card);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all var(--ease);
}
.blog-card:hover {
    border-color: var(--border-h);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.blog-card-img {
    height: 185px;
    background-size: cover;
    background-position: center;
}
.blog-card-img--1 { background: linear-gradient(135deg, #cc2929 0%, #00c896 100%); }
.blog-card-img--2 { background: linear-gradient(135deg, #00c896 0%, #2d3341 100%); }
.blog-card-img--3 { background: linear-gradient(135deg, #a855f7 0%, #cc2929 100%); }
.blog-card-body { padding: 1.5rem; }
.blog-tag {
    display: inline-block;
    padding: .2rem .7rem;
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    background: rgba(204,41,41,.1);
    color: var(--primary);
    border: 1px solid rgba(204,41,41,.2);
    margin-bottom: .75rem;
}
.blog-card-body h3 {
    font-size: .95rem;
    line-height: 1.5;
    margin-bottom: .5rem;
}
.blog-card-body p {
    font-size: .85rem;
    color: var(--text2);
    line-height: 1.65;
    margin-bottom: 1rem;
}
.blog-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.blog-meta time {
    font-size: .78rem;
    color: rgba(255,255,255,.68);
}
.blog-link {
    font-size: .82rem;
    font-weight: 600;
    color: #cc2929;
    transition: letter-spacing var(--ease);
}
.blog-link:hover { letter-spacing: .02em; color: #ff4f4f; }

/* blog page - sem azul escuro */
.blog-page .hero-main-bg::after {
    background: linear-gradient(
        90deg,
        rgba(13,16,27,.96) 0%,
        rgba(13,16,27,.72) 48%,
        rgba(13,16,27,.32) 100%
    );
}
.blog-page .hero-main-desc,
.blog-page .hero-link-more,
.blog-page .section-header p,
.blog-page .blog-card-body p {
    color: rgba(255,255,255,.72);
}
.blog-page .section-header h2,
.blog-page .blog-card-body h3 {
    color: #fff;
}
.blog-page .blog-card {
    background: #12141d;
    border-color: rgba(255,255,255,.08);
}
.blog-page .blog-card-img {
    background: #0d1019;
}
.blog-page .section {
    background: #0b0f17;
}
.blog-page {
    background: #0b0f17;
}
.blog-page .nav-links a {
    color: rgba(255,255,255,.78);
}
.blog-page .nav-links a:hover,
.blog-page .nav-links a.active {
    color: #fff;
    background: rgba(255,255,255,.06);
}
.blog-page .nav-globe {
    color: rgba(255,255,255,.72);
    background: #11131d;
    border: 1px solid rgba(255,255,255,.08);
}


/* contactos */
.contact-info { display: flex; flex-direction: column; gap: 1.75rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-icon {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-sm);
    background: rgba(204,41,41,.1);
    border: 1px solid rgba(204,41,41,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-item h4 {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: .3rem;
}
.contact-item address,
.contact-item p,
.contact-item a {
    font-size: .925rem;
    color: var(--text2);
    line-height: 1.65;
}
.contact-item a:hover { color: var(--primary); }

/* formulario */
.contact-form {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.form-group { display: flex; flex-direction: column; gap: .45rem; }
.form-group label {
    font-size: .8rem;
    font-weight: 600;
    color: var(--text2);
}
.form-group input,
.form-group textarea {
    padding: .75rem 1rem;
    border-radius: var(--radius-sm);
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text);
    font: inherit;
    font-size: .925rem;
    transition: border-color var(--ease), box-shadow var(--ease);
    width: 100%;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 86, 219, .15);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); }

/* protecao anti-bot / honeypot invisivel */
.cform-honeypot {
    display: none !important;
    position: absolute !important;
    left: -9999px !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
}


/* footer */
#footer {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    padding: 4.5rem 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border);
}

/* marca */
.footer-brand p {
    font-size: .9rem;
    color: var(--text2);
    margin-top: .875rem;
    line-height: 1.75;
    max-width: 280px;
}
.footer-meta {
    font-size: .78rem !important;
    color: var(--muted) !important;
    margin-top: .4rem !important;
}

.footer-social {
    display: flex;
    gap: .625rem;
    margin-top: 1.25rem;
}
.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: var(--card);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text2);
    transition: all var(--ease);
}
.footer-social a:hover {
    color: var(--text);
    border-color: var(--border-h);
    background: var(--card-h);
    transform: translateY(-3px);
}
.footer-social svg { width: 16px; height: 16px; }

/* navegacao footer */
.footer-nav h4,
.footer-contact h4 {
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--text);
    margin-bottom: 1rem;
}
.footer-nav ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-nav a {
    font-size: .875rem;
    color: var(--text2);
    transition: color var(--ease);
}
.footer-nav a:hover { color: var(--text); }

/* contactos footer */
.footer-contact p {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    font-size: .875rem;
    color: var(--text2);
    margin-bottom: .875rem;
    line-height: 1.65;
}
.footer-contact svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    margin-top: .2rem;
    color: var(--primary);
}
.footer-contact a {
    color: var(--text2);
    transition: color var(--ease);
}
.footer-contact a:hover { color: var(--primary); }

/* rodape inferior */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    font-size: .82rem;
    color: var(--muted);
}


/* paginas internas - page hero, breadcrumb, timeline, team, sandbox, reg cards, cta */

/* page hero (sobre nos / compliance) */
.page-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 4rem;
    overflow: hidden;
}
.page-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.page-hero--about .page-hero-bg {
    background: linear-gradient(135deg, #1e2128 0%, #2d3341 50%, #cc2929 100%);
}
.page-hero--compliance .page-hero-bg {
    background: linear-gradient(135deg, #0d0d0d 0%, #1e0b0b 50%, #cc2929 100%);
}
.page-hero--eregisto .page-hero-bg,
.page-hero--ica .page-hero-bg {
    background: linear-gradient(135deg, #0d0f13 0%, #1e2128 55%, #454a56 100%);
}
/* orbe decorativo */
.page-hero-bg::before {
    content: '';
    position: absolute;
    width: 50vmin; height: 50vmin;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .25;
    top: 5%; right: 8%;
    animation: heroFloat 10s ease-in-out infinite alternate;
}
.page-hero--about .page-hero-bg::before    { background: #cc2929; }
.page-hero--compliance .page-hero-bg::before { background: #cc2929; }
.page-hero--eregisto .page-hero-bg::before,
.page-hero--ica .page-hero-bg::before { background: #8a8f9c; }

/* galeria de fotos (3 colunas, usada em paginas de projecto) */
.platform-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 3rem;
}
@media (max-width: 767px) {
    .platform-gallery { grid-template-columns: 1fr; }
}

/* paginas de projecto: substitui o acento azul por defeito por coral (ja usado em .btn-red), mantendo a paleta grafite sem azul pedida para estas paginas. */
.proj-page .compliance-icon {
    background: rgba(204, 41, 41, .1);
    border-color: rgba(204, 41, 41, .2);
    color: #cc2929;
}
.proj-page .compliance-card:hover {
    border-color: #cc2929;
    box-shadow: 0 0 0 1px #cc2929, var(--shadow);
}
.proj-page .section-label { color: #cc2929; }
.proj-page .about-card-icon { color: #cc2929; }
/* .sn-timeline foi concebida para seccoes sempre-escuras (sn-section--dark); nas paginas de projecto e usada dentro de .section, que muda com o tema. */
.proj-page .section .sn-tl-item h3 { color: var(--text); }
.proj-page .section .sn-tl-item p  { color: var(--text2); }

/* variante de 3 colunas para compliance-grid / reg-grid (paginas de projecto) */
.compliance-grid--3col,
.reg-grid--3col { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1023px) {
    .compliance-grid--3col,
    .reg-grid--3col { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .compliance-grid--3col,
    .reg-grid--3col { grid-template-columns: 1fr; }
}
/* grid decorativa */
.page-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 52px 52px;
}
.page-hero--contact .page-hero-overlay,
.page-hero--compliance .page-hero-overlay { background-image: none; }
.page-hero-content {
    position: relative;
    z-index: 2;
    padding-top: 120px;
    text-align: left;
    width: 100%;
}
.page-hero-content .breadcrumb { justify-content: flex-start; }
.page-hero-content .hero-badge { animation: none; }
.page-hero-content h1 {
    color: #fff;
    font-weight: 700;
    font-size: clamp(1.6rem, 3.8vw, 2.5rem);
    margin: 1rem 0;
    text-shadow: 0 2px 24px rgba(0,0,0,.3);
    max-width: 700px;
}
.page-hero-content p {
    color: rgba(255,255,255,.75);
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    max-width: 560px;
    line-height: 1.75;
}

/* page hero - stagger na entrada da pagina (breadcrumb -> h1 -> subtitulo) */
.page-hero-content .breadcrumb { animation: fadeUp .5s ease-out both; }
.page-hero-content h1           { animation: fadeUp .5s .1s ease-out both; }
.page-hero-content > p          { animation: fadeUp .5s .2s ease-out both; }

/* breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .8rem;
    color: rgba(255,255,255,.5);
    margin-bottom: .75rem;
}
.breadcrumb a {
    color: rgba(255,255,255,.6);
    transition: color var(--ease);
}
.breadcrumb a:hover { color: #fff; }
.breadcrumb span[aria-current] { color: rgba(255,255,255,.9); font-weight: 600; }

/* timeline */
.timeline {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 88px;
    top: 0; bottom: 0;
    width: 2px;
    background: var(--border);
}
.timeline-item {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 2rem;
    padding: 0 0 2.5rem 0;
    position: relative;
}
.timeline-item:last-child { padding-bottom: 0; }
/* ponto na linha */
.timeline-item::after {
    content: '';
    position: absolute;
    left: calc(88px - 5px);
    top: 6px;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid var(--bg);
    box-shadow: 0 0 0 2px var(--primary);
    z-index: 1;
}
.timeline-year {
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary);
    text-align: right;
    padding-top: 2px;
    flex-shrink: 0;
}
.timeline-content h3 {
    font-size: 1rem;
    margin-bottom: .5rem;
}
.timeline-content p {
    font-size: .9rem;
    color: var(--text2);
    line-height: 1.7;
}

/* team cards */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.team-card {
    padding: 2rem;
    border-radius: var(--radius);
    background: var(--card);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: all var(--ease);
}
.team-card:hover {
    border-color: var(--border-h);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.team-avatar {
    width: 64px; height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -.02em;
    flex-shrink: 0;
}
.team-avatar--1 { background: rgba(204,41,41,.15); color: var(--primary); border: 2px solid rgba(204,41,41,.3); }
.team-avatar--2 { background: rgba(0,200,150,.15); color: var(--accent);  border: 2px solid rgba(0,200,150,.3); }
.team-avatar--3 { background: rgba(168,85,247,.15); color: var(--purple); border: 2px solid rgba(168,85,247,.3); }
.team-info h3  { font-size: 1.05rem; margin-bottom: .25rem; }
.team-role {
    display: inline-block;
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--primary);
    margin-bottom: .625rem;
}
.team-info p { font-size: .875rem; color: var(--text2); line-height: 1.65; }

/* reg cards (compliance) */
.reg-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.reg-card {
    padding: 2rem;
    border-radius: var(--radius);
    background: var(--card);
    border: 1px solid var(--border);
    transition: all var(--ease);
}
.reg-card:hover {
    border-color: rgba(0,200,150,.35);
    box-shadow: 0 0 0 1px rgba(0,200,150,.2), var(--shadow);
    transform: translateY(-4px);
}
.reg-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: .875rem;
}
.reg-icon {
    width: 44px; height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(0,200,150,.1);
    border: 1px solid rgba(0,200,150,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}
.reg-icon svg { width: 22px; height: 22px; }
.reg-card h3  { font-size: 1rem; }
.reg-card > p { font-size: .9rem; color: var(--text2); line-height: 1.7; }

/* sandbox block */
.sandbox-block {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem;
    align-items: center;
}
.sandbox-card {
    padding: 2rem;
    border-radius: var(--radius);
    background: var(--card);
    border: 1px solid rgba(0,200,150,.25);
    box-shadow: 0 0 40px rgba(0,200,150,.08);
}
.sandbox-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.sandbox-card h3 { margin-bottom: 1.25rem; font-size: 1.1rem; }
.sandbox-checks { display: flex; flex-direction: column; gap: .625rem; }
.sandbox-check {
    display: flex;
    gap: .75rem;
    font-size: .875rem;
    color: var(--text2);
    align-items: center;
}
.sandbox-check span:first-child { color: var(--accent); font-weight: 700; flex-shrink: 0; }
.sandbox-text h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 1rem; }
.sandbox-text p  { color: var(--text2); line-height: 1.8; margin-bottom: .875rem; }
.sandbox-text .btn { margin-top: .5rem; }

/* cta section */
.cta-section { background: var(--bg); }
.cta-box {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
    padding: 4rem 2rem;
    border-radius: var(--radius);
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}
.cta-box h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 700;
    margin: .75rem 0;
}
.cta-box p {
    color: var(--text2);
    margin-bottom: 2rem;
    line-height: 1.75;
}
.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-outline-dark {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.75rem;
    border-radius: var(--radius-sm);
    font-size: .95rem;
    font-weight: 600;
    border: 2px solid var(--border-h);
    color: var(--text);
    transition: all var(--ease);
    cursor: pointer;
}
.btn-outline-dark:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* responsivo paginas internas */
@media (max-width: 1023px) {
    .team-grid     { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .reg-grid      { grid-template-columns: 1fr; }
    .sandbox-block { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 767px) {
    /* codigo antigo:
    .page-hero { min-height: 360px; padding-bottom: 3rem; }
    */
    .page-hero { min-height: 300px; padding-top: 130px; padding-bottom: 2.5rem; }
    .page-hero-content { padding-top: 0; }
    .timeline::before { left: 70px; }
    .timeline-item { grid-template-columns: 70px 1fr; }
    .timeline-item::after { left: calc(70px - 5px); }
    .cta-box { padding: 2.5rem 1.5rem; }
}


/* animacoes de reveal (intersection observer) */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition:
        opacity  .7s cubic-bezier(.4, 0, .2, 1),
        transform .7s cubic-bezier(.4, 0, .2, 1);
}
.reveal-left  { transform: translateX(-36px); }
.reveal-right { transform: translateX(36px); }

.reveal.visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* stagger delays - use alongside .reveal */
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
.reveal-d4 { transition-delay: .4s; }

/* keyframe utilitario para hero */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0);    }
}

/* floating orb keyframe - usado em seccoes escuras */
@keyframes floatOrb {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(30px, 40px) scale(1.08); }
}

/* ken burns - slide activo */
@keyframes kenBurns {
    from { transform: scale(1); }
    to   { transform: scale(1.07); }
}


/* responsivo */

/* tablet largo */
@media (max-width: 1200px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

/* tablet */
@media (max-width: 1023px) {
    .about-grid      { grid-template-columns: 1fr; gap: 2.5rem; }
    .compliance-grid { grid-template-columns: 1fr; }
    .dev-grid        { grid-template-columns: 1fr; }
    .contact-grid    { grid-template-columns: 1fr; }
    .blog-grid       { grid-template-columns: repeat(2, 1fr); }
    .footer-grid     { grid-template-columns: 1fr 1fr; }

    /* plataformas: slider em mobile */
    .platforms-carousel {
        display: flex;
        overflow: hidden;
        scroll-snap-type: x mandatory;
    }
    .platform-card {
        min-width: 100%;
        scroll-snap-align: start;
        display: none;
    }
    .platform-card.visible { display: flex; }
    .platforms-arrow { display: flex; }

    /* solucoes empilhadas */
    .solution-block {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .solution-block--reverse .solution-text,
    .solution-block--reverse .solution-visual { order: unset; }
}

/* mobile */
@media (max-width: 767px) {
    .section { padding: 3.5rem 0; }

    .hero-arrow { display: none; }
    .hero-title { font-size: clamp(1.75rem, 7vw, 2.5rem); }
    .hero-desc  { font-size: 1rem; }
    .hero-actions .btn { padding: .65rem 1.25rem; font-size: .875rem; }

    .about-stats { gap: 1.5rem; flex-wrap: wrap; }
    .compliance-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: .5rem; text-align: center; }
    .section-header { margin-bottom: 2.5rem; }
}


/* pagina de contactos */

/* hero accent vermelho */
.page-hero--contact .page-hero-bg {
    background: linear-gradient(135deg, #0d0d0d 0%, #1e0b0b 50%, #cc2929 100%);
}
.page-hero--contact .page-hero-bg::before { background: #cc2929; }
/* seccao de contacto: fundo quente escuro */
.section--contact {
    background: linear-gradient(150deg, #12141c 0%, #1e2128 40%, #171a20 100%);
    position: relative;
    overflow: hidden;
    padding-bottom: 8rem;
}
.section--contact::before {
    content: '';
    position: absolute;
    top: -15%;
    left: 50%;
    transform: translateX(-50%);
    width: 900px; height: 700px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(255,255,255,.04) 0%, transparent 65%);
    animation: floatOrb 22s ease-in-out infinite alternate;
    pointer-events: none;
}

/* alinhamento a esquerda - contactos */
.section--contact .section-header {
    text-align: left;
    margin: 0;
    max-width: none;
}
.section--contact .contact-form-wrap,
.section--contact .contact-side { align-items: flex-start; }

/* texto e labels no fundo escuro */
.section--contact .section-header h2 {
    color: #fff;
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
}
.section--contact .section-header p   { color: rgba(255,255,255,.6); }

/* left: espacamento controlado entre titulo -> cards -> mapa */
.section--contact .contact-side { gap: .75rem; }
.section--contact .contact-side .section-header { margin-bottom: 1.25rem; }

/* right: reduzir espaco entre cabecalho e campos */
.section--contact .contact-form-wrap { gap: 1rem; }
.section--contact .cform-field label  { color: rgba(255,255,255,.55); }

/* campos de formulario no fundo escuro - vidro liquido */
.section--contact .cform-field input,
.section--contact .cform-field select,
.section--contact .cform-field textarea {
    background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-color: rgba(255,255,255,.14);
    color: #fff;
}
.section--contact .cform-field select,
.cform-field select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: 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='rgba(255,255,255,0.65)' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.35rem center;
    background-size: 16px 16px;
    padding-right: 3rem;
    cursor: pointer;
}
.section--contact .cform-field input::placeholder,
.section--contact .cform-field textarea::placeholder { color: rgba(255,255,255,.3); }
.section--contact .cform-field input:focus,
.section--contact .cform-field select:focus,
.section--contact .cform-field textarea:focus {
    border-color: rgba(255, 255, 255, .5);
    background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.03));
}
.section--contact .cform-field select:focus,
.cform-field select:focus {
    background-image: 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='rgba(255,255,255,0.95)' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.35rem center;
    background-size: 16px 16px;
}
.section--contact .cform-field input:-webkit-autofill,
.section--contact .cform-field input:-webkit-autofill:hover,
.section--contact .cform-field input:-webkit-autofill:focus {
    -webkit-text-fill-color: #fff;
    -webkit-box-shadow: 0 0 0 1000px #201014 inset;
    transition: background-color 9999s ease-in-out 0s;
}
.section--contact .cform-field select option { background: #1e2128; color: #fff; }

/* painel de vidro por tras do formulario inteiro */
.section--contact .contact-form-wrap {
    background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 20px 60px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.06);
    border-radius: 20px;
    padding: 2rem;
}

/* faixa de contacto directo no fundo escuro: botoes ligue-nos e escreva-nos com cor e comportamento de bordas do card do formulario */
/* codigo antigo:
.section--contact .contact-direct-link { border-color: rgba(255,255,255,.14); }
.section--contact .contact-direct-link:hover {
    border-color: #cc2929;
    background: rgba(204,41,41,.08);
}
*/
.section--contact .contact-direct-link {
    background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 20px 60px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.06);
    border-radius: 20px;
    padding: 1rem 1.5rem;
    transition: border-color var(--ease), background var(--ease), transform var(--ease), box-shadow var(--ease);
}
.section--contact .contact-direct-link:hover {
    border-color: rgba(255,255,255,.24);
    background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.025));
    box-shadow: 0 24px 64px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.1);
    transform: translateY(-2px);
}
.section--contact .contact-direct-text small { color: rgba(255,255,255,.45); }
.section--contact .cib-status { color: rgba(255,255,255,.5); }
.section--contact .cib-status.is-open { color: #4ade80; }

/* factos (morada, horario) no fundo escuro */
.section--contact .contact-fact dt { color: rgba(255,255,255,.45); }
.section--contact .contact-fact dd { color: rgba(255,255,255,.85); }

/* mapa no fundo escuro - moldura em vidro liquido com um veu de cor por cima do iframe (mix-blend-mode), para o mapa claro do google nao destoar do resto da seccao escura */
.section--contact .contact-map-wrap {
    position: relative;
    border-color: rgba(255,255,255,.12);
    background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
    box-shadow: 0 20px 60px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.06);
    transition: border-color .3s ease;
}
.section--contact .contact-map-wrap:hover { border-color: rgba(204,41,41,.4); }

/* stagger dos cards ao revelar o painel */
.section--contact .contact-info-card {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .5s cubic-bezier(.4,0,.2,1), transform .5s cubic-bezier(.4,0,.2,1),
                border-color .2s, box-shadow .2s;
}
.contact-side.visible .contact-info-card:nth-child(1) { opacity: 1; transform: none; transition-delay: .15s; }
.contact-side.visible .contact-info-card:nth-child(2) { opacity: 1; transform: none; transition-delay: .25s; }
.contact-side.visible .contact-info-card:nth-child(3) { opacity: 1; transform: none; transition-delay: .35s; }
.contact-side.visible .contact-info-card:nth-child(4) { opacity: 1; transform: none; transition-delay: .45s; }

/* faixa de contacto directo: telefone + email como links tipograficos grandes, nao cartoes. o unico elemento "boxed" e o estado ao vivo, que e informacao (aberto/fechado agora), nao decoracao. */
.contact-direct {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem 2.5rem;
    margin-bottom: 4rem;
    padding-bottom: 2.25rem;
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 1;
}
.contact-direct-link {
    display: inline-flex;
    align-items: center;
    gap: .85rem;
    padding: .75rem 1.25rem;
    border-radius: 10px;
    border: 1px solid transparent;
    transition: border-color var(--ease), background-color var(--ease), transform var(--ease);
}
@media (hover: hover) and (pointer: fine) {
    .contact-direct-link:hover {
        border-color: var(--border-h);
        background: var(--card);
        transform: translateY(-2px);
    }
    .contact-direct-link:hover .contact-direct-icon { transform: scale(1.1) rotate(-4deg); }
}
.contact-direct-icon {
    width: 22px; height: 22px;
    flex-shrink: 0;
    transition: transform var(--ease);
}
.contact-direct-text {
    display: flex;
    flex-direction: column;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
}
.contact-direct-text small {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted);
    margin-bottom: .15rem;
}
/* codigo antigo:
.cib-status {
    font-size: .82rem;
    font-weight: 600;
    color: var(--muted);
    margin-left: auto;
    animation: cibStatusPulse 2.4s ease-in-out infinite;
}
*/
.cib-status {
    font-size: .82rem;
    font-weight: 600;
    color: var(--muted);
    margin-left: auto;
    text-align: right;
    line-height: 1.35;
    animation: cibStatusPulse 2.4s ease-in-out infinite;
}
.cib-status.is-open { color: #4ade80; }
@keyframes cibStatusPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}
@media (prefers-reduced-motion: reduce) {
    .cib-status { animation: none; }
}

/* factos de contacto (morada, horario): definicao simples com icone uma vez junto ao rotulo - sem repetir caixas por linha. */
.contact-facts {
    display: grid;
    gap: 1.25rem;
    margin: 0 0 1.5rem;
    width: 100%;
}
.contact-fact dt {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted);
    margin-bottom: .35rem;
}
.contact-fact dt img { width: 16px; height: 16px; opacity: .8; }
.contact-fact dd {
    margin: 0;
    font-size: .96rem;
    color: var(--text);
    line-height: 1.6;
}
.cform-optional { font-weight: 400; opacity: .6; }

/* layout principal: mapa + formulario */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: stretch;
    position: relative;
    z-index: 1;
}

/* formulario em card arredondado elegante */
.contact-form-wrap {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.75rem 2.5rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    align-items: stretch;
    transition: all var(--ease);
}
.contact-form-wrap:hover {
    border-color: var(--border-h);
}
.contact-form-wrap h2 {
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: .25rem;
    letter-spacing: -.02em;
}
.contact-form-wrap > p {
    font-size: .94rem;
    color: var(--text2);
    line-height: 1.7;
    margin-top: .35rem;
    margin-bottom: 0;
}

.cform {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    width: 100%;
    align-items: stretch;
}
.cform-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem;
}
.cform-row--3 { grid-template-columns: 1fr 1fr 1fr; }
.cform-field {
    display: flex;
    flex-direction: column;
    gap: .45rem;
}
.cform-field label {
    font-size: .78rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .06em;
}
.cform-field-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.cform-field-header label {
    margin-bottom: 0;
}
.cform-counter {
    font-size: .75rem;
    color: rgba(255, 255, 255, .45);
    font-variant-numeric: tabular-nums;
    font-weight: 500;
    letter-spacing: 0;
    transition: color var(--ease);
}
.cform-field input,
.cform-field select,
.cform-field textarea {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: .85rem 1.1rem;
    font-size: .92rem;
    color: var(--text);
    font-family: inherit;
    transition: all var(--ease);
    outline: none;
    width: 100%;
}
.cform-field input:disabled,
.cform-field select:disabled {
    opacity: .5;
    cursor: not-allowed;
    background: rgba(255, 255, 255, .02);
    border-color: rgba(255, 255, 255, .06);
}
.cform-field input:focus,
.cform-field select:focus,
.cform-field textarea:focus {
    border-color: rgba(255, 255, 255, .5);
    box-shadow: none;
    background: var(--card-h);
}
.cform-field textarea {
    resize: vertical;
    min-height: 130px;
    line-height: 1.6;
}
.cform-field select option { background: var(--bg); color: var(--text); }

/* autofill do browser (chrome/edge): forca o mesmo fundo/borda do campo normal em vez do amarelo/azul por omissao, para o estado ficar sempre igual, quer se escreva, cole ou seleccione automaticamente. */
.cform-field input:-webkit-autofill,
.cform-field input:-webkit-autofill:hover,
.cform-field input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--text);
    -webkit-box-shadow: 0 0 0 1000px var(--bg) inset;
    transition: background-color 9999s ease-in-out 0s;
}
.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .9rem 2.5rem;
    background: var(--primary-gradient);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: .95rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 160ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow var(--ease), background-color var(--ease), opacity var(--ease);
    align-self: flex-start;
    box-shadow: 0 4px 14px var(--primary-glow);
}
.btn-submit:hover {
    background: linear-gradient(135deg, #e53935 0%, #b82328 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(184, 35, 40, 0.45);
}
.btn-submit:active:not(:disabled) { transform: scale(.97); }
.btn-submit:disabled { opacity: .65; transform: none; cursor: default; }

/* painel esquerdo: localizacao + mapa */
.contact-side {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: stretch;
    width: 100%;
}

/* mapa */
.contact-map-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    background: var(--card);
    width: 100%;
    flex: 1;
    min-height: 320px;
    cursor: pointer;
}
.contact-map-wrap iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 320px;
    border: none;
    pointer-events: none;
}
/* clicar em qualquer parte do mapa abre as direccoes - em vez de manipular o iframe do google (pan/zoom), vai-se logo a morada real. */
.contact-map-open {
    position: absolute;
    inset: 0;
}

/* responsivo */
@media (max-width: 1023px) {
    .contact-grid        { grid-template-columns: 1fr; gap: 3rem; align-items: start; }
    .contact-info-bar    { grid-template-columns: repeat(2, 1fr); }
    .contact-map-wrap    { flex: none; min-height: 280px; }
    .contact-map-wrap iframe { height: 280px; min-height: 0; }
}
@media (max-width: 767px) {
    .cform-row, .cform-row--3 { grid-template-columns: 1fr; }
    .btn-submit          { align-self: stretch; width: 100%; }
    .contact-info-bar    { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .contact-info-bar    { grid-template-columns: 1fr; }
}


/* sobre nos - pagina */

/* fundo unificado da pagina sobre nos (#1e2027) */
body.page-sobre-nos {
    background-color: #1e2027;
}

/* codigo antigo:
.sn-hero {
    position: relative;
    height: 72vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #1e2128;
}
.sn-section--dark {
    background: var(--bg);
    border-bottom: 1px solid var(--border-subtle);
}
.sn-section--white {
    background: var(--bg);
    border-bottom: 1px solid var(--border-subtle);
}
*/
.sn-hero {
    position: relative;
    height: 72vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #1e2027;
}
.sn-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    animation: kenBurns 14s ease-out infinite alternate;
}
.sn-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(30,32,39,.88) 0%, rgba(30,32,39,.65) 55%, rgba(30,32,39,.25) 100%);
}
.sn-hero-inner {
    position: relative;
    z-index: 2;
    padding: 5rem 0 4rem;
    width: 100%;
}
.sn-hero-inner .breadcrumb { margin-bottom: .75rem; }
.sn-hero-inner h1 {
    font-size: clamp(1.6rem, 3.2vw, 2.4rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    max-width: 640px;
    margin-bottom: 1.25rem;
    animation: fadeUp .7s .1s both;
}
.sn-hero-inner > .container > p {
    font-size: 1rem;
    color: rgba(255,255,255,.7);
    max-width: 520px;
    line-height: 1.75;
    animation: fadeUp .7s .25s both;
}

/* seccoes */
.sn-section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    background: #1e2027;
}
.sn-section--dark {
    background: #1e2027;
    /* codigo antigo:
    border-bottom: 1px solid var(--border-subtle);
    */
    border-bottom: none;
}
.sn-section--dark::before {
    content: '';
    position: absolute;
    top: -120px; right: -100px;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(184,35,40,.06) 0%, transparent 70%);
    animation: floatOrb 18s ease-in-out infinite alternate;
    pointer-events: none;
}
.sn-section--white {
    background: #1e2027;
    /* codigo antigo:
    border-bottom: 1px solid var(--border-subtle);
    */
    border-bottom: none;
}

/* cabecalho centrado */
.sn-hdr {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3.5rem;
    position: relative;
    z-index: 1;
}
.sn-hdr h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    font-weight: 800;
    margin-bottom: .85rem;
    color: var(--text);
    letter-spacing: -.025em;
}
.sn-section--white .sn-hdr h2 { color: var(--text); }
.sn-section--dark  .sn-hdr h2 { color: var(--text); }
.sn-section--white .sn-hdr p  { color: var(--text2); font-size: .98rem; line-height: 1.75; }
.sn-section--dark  .sn-hdr p  { color: var(--text2); font-size: .98rem; line-height: 1.75; }

/* split layout - quem somos */
.sn-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}
.sn-split-text h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    letter-spacing: -.02em;
}
.sn-split-text p {
    font-size: .96rem;
    color: var(--text2);
    line-height: 1.8;
    margin-bottom: 1rem;
}
/* codigo antigo:
.sn-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}
.sn-stats--centered {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    text-align: center;
}
.sn-stats--centered .sn-stat {
    align-items: center;
    flex: 1;
}
.sn-stat { display: flex; flex-direction: column; gap: .25rem; }
*/
/* codigo antigo:
.sn-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2.25rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--border);
    text-align: left;
}
.sn-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: .35rem;
}
.sn-stat-num {
    text-align: left;
}
.sn-stat-label {
    text-align: left;
}
*/
/* codigo antigo:
.sn-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2.25rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--border);
}
*/
.sn-stats {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    margin-top: 2.25rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--border);
}
.sn-stats--centered {
    justify-content: center;
    text-align: center;
}
.sn-stats--centered .sn-stat {
    align-items: center;
    text-align: center;
}
.sn-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .35rem;
}
/* codigo antigo:
.sn-stat-num {
    font-size: 2.2rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
    font-family: var(--font-mono);
}
*/
.sn-stat-num {
    font-size: 2.2rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
    font-family: 'Inter', var(--font-sans);
    font-feature-settings: 'tnum' on, 'lnum' on;
    text-align: center;
}
.sn-stat-label {
    font-family: 'Inter', var(--font-sans);
    font-size: .75rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .08em;
    text-wrap: balance;
    text-align: center;
}
/* codigo antigo:
.sn-about-img {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius);
    object-fit: cover;
    object-position: center 35%;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    display: block;
}
*/
.sn-about-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    object-fit: cover;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    display: block;
}

/* icones reais (solar, via mask-image) que herdam a cor do container por currentcolor - substituem os svgs desenhados a mao nas seccoes abaixo. */
.icon-svg {
    display: block;
    width: 100%;
    height: 100%;
    background-color: currentColor;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

/* icones em imagem png/svg para cards da pagina sobre nos */
.sn-icon-img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* missao/visao/valores - lista editorial dividida por hairlines, sem cartoes (evita repetir o mesmo padrao de 3 cartoes iguais usado em pilares/lideranca). */
/* codigo antigo:
.sn-mvv-list {
    max-width: 820px;
    margin: 0 auto;
}
.sn-mvv-row {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 1.75rem;
    align-items: start;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border);
}
.sn-mvv-row:last-child { border-bottom: none; padding-bottom: 0; }
.sn-mvv-row:first-child { padding-top: 0; }
.sn-mvv-icon {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    color: #f87171;
    flex-shrink: 0;
}
.sn-mvv-icon .icon-svg,
.sn-mvv-icon .sn-icon-img { width: 32px; height: 32px; object-fit: contain; }
.sn-mvv-text h3 { font-size: 1.2rem; font-weight: 700; color: #ffffff; margin-bottom: .5rem; }
.sn-mvv-text p  { font-size: .95rem; color: var(--text2); line-height: 1.75; max-width: 60ch; }
@media (max-width: 640px) {
    .sn-mvv-row { grid-template-columns: 1fr; gap: 1rem; }
}
*/
.sn-mvv-list {
    max-width: 760px;
    margin: 0 auto;
}
.sn-mvv-row {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 1.5rem;
    align-items: start;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border);
}
.sn-mvv-row:last-child { border-bottom: none; padding-bottom: 0; }
.sn-mvv-row:first-child { padding-top: 0; }
.sn-mvv-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f87171;
    flex-shrink: 0;
    margin-top: -2px;
}
.sn-mvv-icon .icon-svg,
.sn-mvv-icon .sn-icon-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}
.sn-mvv-text h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: .5rem;
}
.sn-mvv-text p {
    font-size: .95rem;
    color: var(--text2);
    line-height: 1.75;
    max-width: 62ch;
}
@media (max-width: 640px) {
    .sn-mvv-row {
        grid-template-columns: 36px 1fr;
        gap: 1rem;
    }
}

/* timeline */
.sn-timeline {
    list-style: none;
    padding: 0;
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.sn-timeline::before {
    content: '';
    position: absolute;
    left: 0; top: .4rem; bottom: 0;
    width: 2px;
    background: var(--border);
    border-radius: 1px;
}
.sn-tl-item {
    padding-left: 2.75rem;
    position: relative;
    margin-bottom: 2.75rem;
}
.sn-tl-item:last-child { margin-bottom: 0; }
.sn-tl-item::before {
    content: '';
    position: absolute;
    left: -6px; top: .35rem;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--primary);
}
.sn-tl-year {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    color: var(--primary-soft);
    text-transform: uppercase;
    letter-spacing: .1em;
    font-family: var(--font-mono);
    margin-bottom: .4rem;
}
.sn-tl-item h3 { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: .4rem; }
.sn-tl-item p  { font-size: .92rem; color: var(--text2); line-height: 1.7; }

/* lideranca - ceo em destaque e departamentos com alinhamento centralizado */
/* codigo antigo:
.sn-leader-featured {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 720px;
    margin: 0 auto 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--border);
}
.sn-dept-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}
.sn-dept-item { display: flex; gap: 1.25rem; align-items: flex-start; }
.sn-dept-icon {
    width: 36px; height: 36px;
    color: var(--primary-h);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.sn-dept-item p { font-size: .88rem; color: var(--text2); line-height: 1.65; }
*/
.sn-leader-featured {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
    max-width: 680px;
    margin: 0 auto 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--border);
}
.sn-leader-avatar {
    width: 96px; height: 96px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 1.6rem;
    font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 14px var(--primary-glow);
}
.sn-leader-info h3 { font-size: 1.3rem; font-weight: 700; color: #ffffff; margin-bottom: .25rem; }
.sn-leader-info .sn-team-role {
    display: block;
    font-size: .78rem;
    font-weight: 600;
    color: #f87171;
    text-transform: uppercase;
    letter-spacing: .07em;
}
.sn-leader-info p { font-size: .95rem; color: var(--text2); line-height: 1.7; margin-top: .5rem; }

.sn-dept-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 860px;
    margin: 0 auto;
    justify-content: center;
}
.sn-dept-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}
.sn-dept-icon {
    width: 44px; height: 44px;
    color: var(--primary-h);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    margin: 0 auto;
}
/* codigo antigo:
.sn-dept-icon .icon-svg { width: 26px; height: 26px; }
*/
.sn-dept-icon .icon-svg,
.sn-dept-icon .sn-icon-img { width: 26px; height: 26px; object-fit: contain; }
.sn-dept-item h4 { font-size: 1.05rem; font-weight: 700; color: #ffffff; margin-bottom: .2rem; }
.sn-dept-role {
    display: block;
    font-size: .74rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: .6rem;
}
.sn-dept-item p { font-size: .88rem; color: var(--text2); line-height: 1.65; max-width: 360px; margin: 0 auto; }

@media (max-width: 640px) {
    .sn-leader-featured { flex-direction: column; text-align: center; gap: 1.25rem; }
    .sn-dept-row { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* pilares */
.sn-pillar-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}
/* codigo antigo:
.sn-pillar-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.25rem 2rem;
    transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease), background var(--ease);
    box-shadow: var(--shadow-sm);
}
.sn-pillar-card:hover {
    border-color: var(--border-h);
    background: var(--card-h);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
*/
/* codigo antigo:
.sn-pillar-card {
    background: #22242a;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.25rem 2rem;
    transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease), background var(--ease);
    box-shadow: var(--shadow-sm);
}
.sn-pillar-card:hover {
    border-color: var(--border-h);
    background: #282b32;
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.sn-pillar-icon {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    color: #f87171;
    margin-bottom: 1.25rem;
}
.sn-pillar-icon .icon-svg { width: 32px; height: 32px; }
.sn-pillar-card h3 { font-size: 1.15rem; font-weight: 700; color: #fff; margin-bottom: .5rem; }
.sn-pillar-card p  { font-size: .92rem; color: var(--text2); line-height: 1.7; }
*/
/* codigo antigo:
.sn-pillar-card {
    background: #22242a;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.25rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease), background var(--ease);
    box-shadow: var(--shadow-sm);
}
.sn-pillar-card:hover {
    border-color: var(--border-h);
    background: #282b32;
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.sn-pillar-icon {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    color: #f87171;
    margin: 0 auto 1.25rem;
}
.sn-pillar-icon .icon-svg { width: 32px; height: 32px; }
.sn-pillar-card h3 { font-size: 1.15rem; font-weight: 700; color: #fff; margin-bottom: .5rem; }
.sn-pillar-card p  { font-size: .92rem; color: var(--text2); line-height: 1.7; max-width: 420px; margin: 0 auto; }
.sn-pillar-grid .sn-pillar-card:not(.visible):nth-child(2) { transition-delay: .1s; }
.sn-pillar-grid .sn-pillar-card:not(.visible):nth-child(3) { transition-delay: .2s; }
.sn-pillar-grid .sn-pillar-card:not(.visible):nth-child(4) { transition-delay: .3s; }
*/

/* codigo antigo: [UI/UX] Código anterior com gradientes e SVGs de base comentado:
.sn-pillar-card {
    --p-color: #e53e3e;
    --p-rgb: 229, 62, 62;
    background: #151b26;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 0 1.5rem 2rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, background 0.35s ease;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}
.sn-pillar-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 52px;
    background: linear-gradient(145deg, var(--p-color), rgba(var(--p-rgb), 0.82));
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 800;
    font-family: inherit;
    letter-spacing: -0.02em;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 8px 18px rgba(var(--p-rgb), 0.38);
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.sn-pillar-base-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(var(--p-rgb), 0.12);
    border: 1px solid rgba(var(--p-rgb), 0.28);
    color: var(--p-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
} */

/* estilos infograficos - os nossos pilares (cores solidas, sem brilho, sem badges/chips) */
.sn-pillar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

/* codigo antigo:
.sn-pillar-card {
    --p-color: #b82328;
    background: #181c24;
    border: 1px solid #262c38;
    border-radius: 12px;
    padding: 0 1.5rem 1.75rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: transform var(--ease), border-color var(--ease), background var(--ease);
}
*/
.sn-pillar-card {
    --p-color: #b82328;
    background: #181c24;
    border: 1px solid #262c38;
    border-radius: 12px;
    padding: 0 1.5rem 1.75rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: transform var(--ease);
}

/* codigo antigo:
.sn-pillar--01 { --p-color: #b82328; }
.sn-pillar--02 { --p-color: #2563eb; }
.sn-pillar--03 { --p-color: #059669; }
.sn-pillar--04 { --p-color: #d97706; }
*/
/* codigo antigo:
.sn-pillar--01 { --p-color: #b82328; }
.sn-pillar--02 { --p-color: #c92a2f; }
.sn-pillar--03 { --p-color: #d32f2f; }
.sn-pillar--04 { --p-color: #e53935; }
*/
/* variacao de vermelhos fiel aos chevrons do logo paytek (#ed1c24 ate #7d1115) */
.sn-pillar--01 { --p-color: #ed1c24; } /* vermelho vivo (ponta inicial do logo - #ed1c24) */
.sn-pillar--02 { --p-color: #c91a20; } /* vermelho intermedio (chevron central) */
.sn-pillar--03 { --p-color: #a3151b; } /* vermelho profundo */
.sn-pillar--04 { --p-color: #7d1115; } /* vermelho escuro / bordo (base do logo) */

/* slot superior do infografico (solido, flat) */
.sn-pillar-slot-wrap {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    padding-top: 0;
    margin-bottom: 0.5rem;
}

.sn-pillar-slot-cut {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--p-color);
    border-radius: 0 0 4px 4px;
}

.sn-pillar-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 44px;
    background: var(--p-color);
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 800;
    font-family: inherit;
    letter-spacing: -0.02em;
    border-radius: 0 0 10px 10px;
    position: relative;
    z-index: 2;
}

/* corpo editorial do pilar */
.sn-pillar-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    width: 100%;
}

.sn-pillar-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-top: 1.2rem;
    margin-bottom: 0.65rem;
    line-height: 1.35;
}

.sn-pillar-desc {
    font-size: 0.88rem;
    color: var(--text2);
    line-height: 1.65;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

/* icone original (sem badges / chips) */
.sn-pillar-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    flex-shrink: 0;
}

.sn-pillar-icon .icon-svg,
.sn-pillar-icon .sn-icon-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* codigo antigo:
.sn-pillar-card:hover {
    border-color: var(--p-color);
    background: #1e2430;
    transform: translateY(-4px);
}
*/
.sn-pillar-card:hover {
    border-color: #262c38;
    background: #181c24;
    transform: translateY(-4px);
}

/* delays de animacao reveal */
.sn-pillar-grid .sn-pillar-card:not(.visible):nth-child(1) { transition-delay: 0.05s; }
.sn-pillar-grid .sn-pillar-card:not(.visible):nth-child(2) { transition-delay: 0.12s; }
.sn-pillar-grid .sn-pillar-card:not(.visible):nth-child(3) { transition-delay: 0.19s; }
.sn-pillar-grid .sn-pillar-card:not(.visible):nth-child(4) { transition-delay: 0.26s; }

/* responsividade dos pilares */
@media (max-width: 1024px) {
    .sn-pillar-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    .sn-pillar-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .sn-pillar-card {
        padding: 0 1.25rem 1.5rem 1.25rem;
    }
}

.sn-compliance .sn-hdr h2 {
    color: #ffffff;
}
.sn-compliance .sn-hdr p {
    color: var(--text2);
}

/* award cards - reconhecimentos section */
.sn-award-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.sn-award-card {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.75rem;
    border-radius: var(--radius);
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: all var(--ease);
}
.sn-award-card:hover {
    border-color: var(--border-h);
    transform: translateY(-4px);
    background: var(--card-h);
    box-shadow: var(--shadow);
}
.sn-award-icon {
    flex-shrink: 0;
    width: 48px; height: 48px;
    border-radius: 12px;
    background: rgba(184,35,40,.12);
    border: 1px solid rgba(184,35,40,.25);
    display: flex; align-items: center; justify-content: center;
    color: #f87171;
}
.sn-award-icon svg { width: 22px; height: 22px; }
.sn-award-body { display: flex; flex-direction: column; gap: .35rem; }
.sn-award-year {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #f87171;
    font-family: var(--font-mono);
}
.sn-award-card h3 { font-size: 1.05rem; font-weight: 700; color: #ffffff; }
.sn-award-card p  { font-size: .9rem; color: var(--text2); line-height: 1.65; }
.sn-award-grid .sn-award-card:not(.visible):nth-child(2) { transition-delay: .1s; }
.sn-award-grid .sn-award-card:not(.visible):nth-child(3) { transition-delay: .2s; }

/* team dept cards - section without fake individual names */
.sn-team-card--dept {
    background: #f8fafc;
    border: 1px dashed rgba(0,0,0,.12);
}
.sn-team-card--dept:hover {
    border-color: rgba(204,41,41,.25);
    background: #fff;
}
.sn-team-dept-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: rgba(204,41,41,.08);
    border: 1px solid rgba(204,41,41,.15);
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
    margin: 0 auto 1rem;
}
.sn-team-dept-icon svg { width: 22px; height: 22px; }

/* codigo antigo:
@media (max-width: 1023px) {
    .sn-split       { grid-template-columns: 1fr; gap: 3rem; }
    .sn-dept-row    { gap: 1.5rem; }
    .sn-pillar-grid { grid-template-columns: 1fr; }
}
*/
@media (max-width: 1023px) {
    .sn-split {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .sn-split > div:nth-child(2) {
        order: 1;
        max-width: 520px;
        margin: 0 auto;
    }
    .sn-split-text {
        order: 2;
    }
    .sn-dept-row    { gap: 1.5rem; }
    .sn-pillar-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
    .sn-hero {
        height: auto;
        min-height: 380px;
        padding: 130px 0 3.5rem;
    }
    .sn-hero-inner { padding: 0; }
    .sn-hero-inner h1 { font-size: clamp(1.5rem, 6vw, 2.1rem); }
    .sn-section { padding: 4rem 0; }
    .sn-stats { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; text-align: center; }
    .sn-stat { padding: 0.5rem 0; align-items: center; text-align: center; }
    /* codigo antigo:
    .sn-mvv-row { grid-template-columns: 1fr; gap: 1rem; padding: 1.5rem 0; }
    */
    .sn-mvv-row { grid-template-columns: 36px 1fr; gap: 1rem; padding: 1.5rem 0; }
}
/* codigo antigo:
@media (max-width: 600px) {
    .sn-hero      { min-height: 560px; height: auto; }
    .sn-team-grid { grid-template-columns: 1fr; }
    .sn-award-card { flex-direction: column; }
}
*/
@media (max-width: 600px) {
    .sn-team-grid { grid-template-columns: 1fr; }
    .sn-award-card { flex-direction: column; }
}
@media (max-width: 480px) {
    .sn-stats { grid-template-columns: repeat(2, 1fr); gap: 1rem; text-align: center; }
    .sn-stat { width: 100%; align-items: center; text-align: center; }
}


/* gradientes entre seccoes */
.sec-fade {
    height: 90px;
    display: block;
    pointer-events: none;
    line-height: 0;
    font-size: 0;
}
.sec-fade--dark-white { background: linear-gradient(to bottom, #1e2128 0%, #ffffff 100%); }
.sec-fade--white-dark { background: linear-gradient(to bottom, #ffffff 0%, #1e2128 100%); }
.sec-fade--dark-red   { background: linear-gradient(to bottom, #1e2128 0%, #cc2929  100%); }
.sec-fade--red-dark   { background: linear-gradient(to bottom, #cc2929  0%, #1e2128 100%); }


/* home page - navbar v2 */
.navbar-dark {
    background: var(--nav-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: none;
    transition: all var(--ease);
}
.navbar-dark.scrolled {
    background: rgba(12, 15, 23, 0.95);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
    border-bottom: none;
}

/* logo */
.nav-logo-v2 {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 1.45rem;
    font-weight: 900;
    letter-spacing: -.02em;
    flex-shrink: 0;
    color: #fff;
    text-decoration: none;
}

/* logo paytek na navbar */
/* codigo antigo:
.nlv-logo-img {
    height: 42px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: filter .25s ease;
}
*/
.nlv-logo-img {
    height: 42px;
    width: auto;
    max-width: 100%;
    flex-shrink: 0;
    display: block;
    object-fit: contain;
    transition: filter .25s ease;
}
/* logo dinamico */
#navbar.on-light .nlv-logo-img {
    filter: brightness(0) saturate(100%);
}

/* logo paytek no footer */
/* codigo antigo:
.fv2-logo-img {
    height: 46px;
    width: auto;
    display: block;
    object-fit: contain;
}
*/
.fv2-logo-img {
    height: 46px;
    width: auto;
    max-width: 100%;
    flex-shrink: 0;
    display: block;
    object-fit: contain;
}
.nlv-pay { color: #fff; }
.nlv-arrows {
    color: var(--primary);
    font-size: 1.1rem;
    letter-spacing: -.05em;
}
.nlv-tek { color: #fff; }

/* nav links on dark navbar */
.navbar-dark .nav-links {
    gap: .25rem;
}
.navbar-dark .nav-links a {
    padding: .5rem 1.1rem;
    font-size: .875rem;
    font-weight: 500;
    color: var(--text2);
    border-radius: var(--radius-sm);
    position: relative;
    transition: all var(--ease);
}
.navbar-dark .nav-links a:hover {
    color: #fff;
    background: rgba(255, 255, 255, .06);
}
/* link activo */
.navbar-dark .nav-links a.active {
    color: #fff;
    font-weight: 700;
    font-size: .875rem;
    background: none;
}
.navbar-dark .nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}


/* globe button */
.nav-globe {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 50%;
    color: rgba(255,255,255,.6);
    background: none;
    border: none;
    cursor: pointer;
    transition: color .2s;
}
.nav-globe:hover { color: #fff; }
.nav-globe svg { width: 20px; height: 20px; }

/* sign in / sign up */
.nav-signin {
    padding: .45rem 1rem;
    font-size: .85rem;
    font-weight: 600;
    color: rgba(255,255,255,.8);
    border-radius: 6px;
    transition: color .2s;
    white-space: nowrap;
}
.nav-signin:hover { color: #fff; }

.nav-signup {
    display: inline-flex;
    align-items: center;
    padding: .45rem 1.1rem;
    font-size: .85rem;
    font-weight: 700;
    color: #fff;
    background: #cc2929;
    border-radius: 6px;
    transition: background .2s, transform .15s;
    white-space: nowrap;
}
.nav-signup:hover {
    background: #b52222;
    transform: translateY(-1px);
}


/* navbar flutuante (pagina inicial) - tres ilhas de vidro liquido logo | links | idioma, cada uma um cartao translucido separado. aplicada apenas a #navbar.navbar-float, nao afecta outras paginas. */
#navbar.navbar-float,
#navbar.navbar-float.scrolled {
    top: 1.1rem;
    left: 0; right: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}
/* codigo antigo:
.navbar-float .nav-container {
    max-width: none;
    height: auto;
    background: none;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    padding: 0 2rem;
    justify-content: space-between;
    gap: 1rem;
}
*/
/* codigo antigo:
.navbar-float .nav-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    height: auto;
    background: none;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    padding: 0 1.5rem;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
*/
.navbar-float .nav-container {
    max-width: 100%;
    width: 100%;
    height: auto;
    background: none;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    padding: 0 clamp(1.5rem, 3.5vw, 3.5rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    position: relative;
}

/* ilha base: vidro liquido - so as ilhas de links e idioma. o espaco entre elas e o logo ficam completamente vazios, sem fundo nem blur. */
.navbar-float .nlv-island,
.navbar-float .nav-links,
.navbar-float .nav-lang {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    box-shadow: 0 4px 16px rgba(0,0,0,.15), inset 0 1px 0 rgba(255,255,255,.12);
    transition: background var(--ease), box-shadow var(--ease), border-color var(--ease);
}
#navbar.navbar-float.scrolled .nlv-island,
#navbar.navbar-float.scrolled .nav-links,
#navbar.navbar-float.scrolled .nav-lang {
    background: rgba(18, 22, 34, 0.9);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* logo - sem vidro, sem fundo, encostado a margem esquerda do container */
/* codigo antigo:
.navbar-float .nav-logo-v2 {
    background: none;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    padding: 0;
    margin-left: 1cm;
    flex-shrink: 0;
}
*/
.navbar-float .nav-logo-v2 {
    background: none;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    padding: 0;
    margin-left: 0;
    flex-shrink: 0;
}
.navbar-float .nlv-logo-img { height: 38px; }

/* ilha central dos links - as paginas ao meio */
.navbar-float .nav-links {
    gap: .25rem;
    padding: .35rem;
    margin: 0 auto;
}
.navbar-float .nav-links a {
    padding: .5rem 1.15rem;
    border-radius: 999px;
    color: rgba(255,255,255,.8);
    transition: all var(--ease);
}
.navbar-float .nav-links a:hover {
    color: #fff;
    background: rgba(255,255,255,.12);
}
/* codigo antigo:
.navbar-float .nav-links a.active {
    color: #ffffff;
    background: var(--primary);
    font-weight: 700;
}
*/
.navbar-float .nav-links a.active {
    color: #0c0f17;
    background: #ffffff;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}
.navbar-float .nav-links a.active:hover {
    color: #0c0f17;
    background: #ffffff;
}
.navbar-float .nav-links a.active::after { display: none; }

/* ilha da direita - apenas mudanca de idioma */
.navbar-float .nav-actions { flex-shrink: 0; }
.navbar-float .nav-lang { display: block; }
.navbar-float .lang-toggle {
    background: none;
    border: none;
    color: rgba(255,255,255,.9);
    padding: .55rem .95rem;
    min-height: auto;
}
.navbar-float .lang-toggle:hover,
.navbar-float .lang-toggle:focus { color: #fff; }
.navbar-float .lang-arrow { color: rgba(255,255,255,.6); }

/* sem botao de menu: em ecras estreitos a ilha central de links empilha por baixo das ilhas de logo/idioma e permite scroll horizontal em vez de se esconder. */
@media (max-width: 1023px) {
    /* codigo antigo:
    .navbar-float .nav-container { flex-wrap: wrap; row-gap: .6rem; }
    .navbar-float .nav-links {
        position: static;
        order: 3;
        width: 100%;
        margin: 0;
        overflow-x: auto;
        justify-content: flex-start;
        scrollbar-width: none;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        background: rgba(255,255,255,.06);
        border: 1px solid rgba(255,255,255,.14);
        backdrop-filter: blur(12px) saturate(140%);
    }
    .navbar-float .nav-links::-webkit-scrollbar { display: none; }
    .navbar-float .nav-links a { white-space: nowrap; }
    */
    /* codigo antigo:
    .navbar-float .nav-container {
        flex-wrap: wrap;
        row-gap: .6rem;
        padding: 0 1rem;
    }
    .navbar-float .nav-links {
        position: static;
        order: 3;
        width: 100%;
        margin: 0;
        overflow-x: auto;
        justify-content: flex-start;
        scrollbar-width: none;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        background: rgba(255,255,255,.06);
        border: 1px solid rgba(255,255,255,.14);
        backdrop-filter: blur(12px) saturate(140%);
        -webkit-backdrop-filter: blur(12px) saturate(140%);
        -webkit-overflow-scrolling: touch;
        padding: .35rem .5rem;
    }
    */
    /* codigo antigo:
    .navbar-float .nav-container {
        flex-wrap: wrap;
        row-gap: .6rem;
        padding: 0 1rem;
    }
    .navbar-float .nav-logo-v2 {
        margin-left: 0;
    }
    .navbar-float .nlv-logo-img {
        height: 34px;
    }
    .navbar-float .nav-links {
        position: static;
        order: 3;
        width: 100%;
        margin: 0;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: flex-start;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        white-space: nowrap;
        scrollbar-width: none;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        border-radius: 999px;
        background: rgba(18, 22, 34, 0.92);
        border: 1px solid rgba(255,255,255,.18);
        backdrop-filter: blur(16px) saturate(140%);
        -webkit-backdrop-filter: blur(16px) saturate(140%);
        -webkit-overflow-scrolling: touch;
        padding: .35rem .5rem;
        gap: .3rem;
        height: auto;
        min-height: 42px;
        box-shadow: 0 4px 20px rgba(0,0,0,.35);
    }
    .navbar-float .nav-links::-webkit-scrollbar { display: none; }
    .navbar-float .nav-links li {
        display: inline-flex !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .navbar-float .nav-links a {
        white-space: nowrap !important;
        padding: .45rem .9rem;
        font-size: .82rem;
        border-radius: 999px;
        display: inline-flex;
        align-items: center;
    }
    */
    .navbar-float .nav-container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0 1.25rem !important;
        flex-wrap: nowrap !important;
        height: 64px !important;
    }
    .navbar-float .nav-logo-v2 {
        margin-left: 0 !important;
    }
    .navbar-float .nlv-logo-img {
        height: 32px !important;
    }
    .navbar-float .nav-actions {
        display: flex !important;
        align-items: center !important;
        gap: .5rem !important;
    }
    .hamburger {
        display: flex !important;
    }
    .navbar-float .nav-links,
    .nav-links {
        position: fixed !important;
        top: 76px !important;
        left: 1rem !important;
        right: 1rem !important;
        width: auto !important;
        max-width: 480px !important;
        margin: 0 auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: .35rem !important;
        padding: 1.25rem 1rem !important;
        background: rgba(18, 22, 34, 0.98) !important;
        border: 1px solid rgba(255, 255, 255, 0.18) !important;
        border-radius: 20px !important;
        backdrop-filter: blur(24px) saturate(150%) !important;
        -webkit-backdrop-filter: blur(24px) saturate(150%) !important;
        box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6) !important;
        transform: translateY(-20px) scale(0.96) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transition: transform .28s cubic-bezier(.16, 1, .3, 1),
                    opacity .28s cubic-bezier(.16, 1, .3, 1),
                    visibility .28s cubic-bezier(.16, 1, .3, 1) !important;
        z-index: 1001 !important;
        overflow-y: auto !important;
        max-height: calc(100vh - 95px) !important;
    }
    .navbar-float .nav-links.open,
    .nav-links.open {
        transform: translateY(0) scale(1) !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
    .navbar-float .nav-links li,
    .nav-links li {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .navbar-float .nav-links a,
    .nav-links a {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        padding: .75rem 1.15rem !important;
        font-size: .95rem !important;
        font-weight: 600 !important;
        color: rgba(255, 255, 255, 0.85) !important;
        border-radius: 12px !important;
        white-space: nowrap !important;
        transition: background .2s ease, color .2s ease !important;
    }
    .navbar-float .nav-links a:hover,
    .nav-links a:hover {
        color: #ffffff !important;
        background: rgba(255, 255, 255, 0.1) !important;
    }
    .navbar-float .nav-links a.active,
    .nav-links a.active {
        color: #ffffff !important;
        background: var(--primary) !important;
        font-weight: 700 !important;
    }
}

@media (max-width: 480px) {
    /* codigo antigo:
    .navbar-float .nav-container {
        padding: 0 .75rem;
        row-gap: .45rem;
    }
    .navbar-float .nlv-logo-img {
        height: 30px;
    }
    .navbar-float .lang-toggle {
        padding: .45rem .75rem;
        font-size: .82rem;
    }
    .navbar-float .nav-links {
        padding: .3rem .45rem;
        gap: .25rem;
    }
    .navbar-float .nav-links a {
        padding: .4rem .8rem;
        font-size: .78rem;
    }
    */
    .navbar-float .nav-container {
        padding: 0 .75rem !important;
    }
    .navbar-float .nlv-logo-img {
        height: 28px !important;
    }
    .navbar-float .lang-toggle {
        padding: .4rem .7rem !important;
        font-size: .8rem !important;
    }
    .navbar-float .nav-links,
    .nav-links {
        top: 68px !important;
        left: .75rem !important;
        right: .75rem !important;
        padding: 1rem .75rem !important;
    }
}


/* home page - hero main */
/* wrapper que da "comprimento" ao scroll - o hero fica fixo (sticky) enquanto se percorre esta altura; a troca de slide e controlada por js consoante a posicao do scroll, nao por temporizador. */
.hero-main-wrap {
    position: relative;
    height: 400vh; /* 3 slides x 100vh de scroll + 100vh de viewport fixo */
}

.hero-main {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    background: #16182a;
}

.hero-main-track { position: relative; height: 100%; }

/* slides */
.hero-main .hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    z-index: 0;
    transition: opacity .9s cubic-bezier(.4,0,.2,1);
}
.hero-main .hero-slide.active  { opacity: 1; z-index: 2; }
.hero-main .hero-slide.leaving { opacity: 0; z-index: 1; }

/* background photo - inline style="background-image:url(...)" no html */
.hero-main-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: #16182a;
    background-size: cover;
    background-position: center;
    /* fundo de marca por defeito enquanto nao ha fotografia real do produto/equipa: gradiente radial na paleta institucional, nunca uma imagem de stock generica. */
    background-image:
        radial-gradient(ellipse 70% 60% at 80% 20%, rgba(211, 47, 47, .22), transparent 60%),
        radial-gradient(ellipse 60% 50% at 15% 85%, rgba(59, 130, 246, .14), transparent 60%),
        linear-gradient(160deg, #0c0f17 0%, #16182a 55%, #1c1330 100%);
}
.hero-slide:nth-child(2) .hero-main-bg {
    background-image:
        radial-gradient(ellipse 65% 55% at 20% 15%, rgba(16, 185, 129, .18), transparent 60%),
        radial-gradient(ellipse 55% 55% at 85% 80%, rgba(211, 47, 47, .18), transparent 60%),
        linear-gradient(160deg, #0c0f17 0%, #101a22 55%, #16182a 100%);
}
.hero-slide:nth-child(3) .hero-main-bg {
    background-image:
        radial-gradient(ellipse 65% 55% at 85% 75%, rgba(59, 130, 246, .18), transparent 60%),
        radial-gradient(ellipse 55% 50% at 10% 20%, rgba(211, 47, 47, .16), transparent 60%),
        linear-gradient(160deg, #0c0f17 0%, #141628 55%, #1c1330 100%);
}
.hero-slide:nth-child(4) .hero-main-bg {
    background-image:
        radial-gradient(ellipse 65% 55% at 25% 80%, rgba(245, 158, 11, .16), transparent 60%),
        radial-gradient(ellipse 55% 50% at 80% 15%, rgba(16, 185, 129, .14), transparent 60%),
        linear-gradient(160deg, #0c0f17 0%, #16182a 55%, #101a22 100%);
}
.hero-main .hero-slide.active .hero-main-bg {
    animation: kenBurns 8s ease-out forwards;
}
/* dark gradient overlay para legibilidade do texto */
.hero-main-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(22, 24, 42, .90) 0%,
        rgba(22, 24, 42, .65) 48%,
        rgba(22, 24, 42, .25) 100%
    );
}

/* inner layout: conteudo centrado pelo align-items:center do slide pai */
.hero-main-inner {
    position: relative;
    z-index: 3;
    padding: 5rem 0 4rem; /* top compensa navbar fixa */
    width: 100%;
}

/* codigo antigo:
.hero-main-content { display: flex; flex-direction: column; gap: 1.5rem; }

.hero-main-title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.18;
    max-width: 420px;
}

.hero-main-desc {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    font-size: 1rem;
    color: rgba(255,255,255,.65);
    line-height: 1.75;
    max-width: 420px;
}
*/
.hero-main-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 540px;
    margin-left: clamp(1.25rem, 5.5vw, 4.75rem);
}

.hero-main-title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.18;
    max-width: 520px;
}

.hero-main-desc {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    font-size: 1rem;
    color: rgba(255,255,255,.75);
    line-height: 1.75;
    max-width: 500px;
}
.hero-main-desc .hero-line { display: block; }


.hero-main-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* slide content - anima em cada troca de slide (class .hero-anim e adicionada/removida pelo js num ciclo forcado, para garantir que a animacao corre sempre, incluindo no primeiro slide ao carregar a pagina). titulo, cada linha do corpo e cada botao entram em sequencia, com um movimento bem visivel. */
/* ambito restrito ao hero da homepage (.hero-main-wrap) - nao afecta o hero estatico de outras paginas (ex. blog.html), que nao tem esta classe nem corre o js que adiciona .hero-anim. */
.hero-main-wrap .hero-main-title,
.hero-main-wrap .hero-main-desc .hero-line,
.hero-main-wrap .hero-main-actions > * {
    opacity: 0;
}

.hero-main-wrap .hero-slide.active.hero-anim .hero-main-title {
    animation: heroFadeUp .7s cubic-bezier(.16,.9,.3,1) both;
}
.hero-main-wrap .hero-slide.active.hero-anim .hero-main-desc .hero-line:nth-child(1) {
    animation: heroFadeUp .65s .16s cubic-bezier(.16,.9,.3,1) both;
}
.hero-main-wrap .hero-slide.active.hero-anim .hero-main-desc .hero-line:nth-child(2) {
    animation: heroFadeUp .65s .30s cubic-bezier(.16,.9,.3,1) both;
}
.hero-main-wrap .hero-slide.active.hero-anim .hero-main-desc .hero-line:nth-child(3) {
    animation: heroFadeUp .65s .44s cubic-bezier(.16,.9,.3,1) both;
}
.hero-main-wrap .hero-slide.active.hero-anim .hero-main-actions > *:nth-child(1) {
    animation: heroFadeUp .6s .56s cubic-bezier(.16,.9,.3,1) both;
}
.hero-main-wrap .hero-slide.active.hero-anim .hero-main-actions > *:nth-child(2) {
    animation: heroFadeUp .6s .68s cubic-bezier(.16,.9,.3,1) both;
}
.hero-main-wrap .hero-slide.active.hero-anim .hero-main-actions > *:nth-child(3) {
    animation: heroFadeUp .6s .8s  cubic-bezier(.16,.9,.3,1) both;
}

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

/* hero visual (imagem do lado direito) */
.hero-main-visual {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
    border-radius: 16px;
}

.hero-visual-img {
    width: 100%;
    max-width: 520px;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 24px 64px rgba(0,0,0,.5);
    /* substituir src por assets/img/hero-visual-n.jpg para imagem real */
}

/* codigo antigo:
.btn-red {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .78rem 1.7rem;
    background: var(--primary-gradient);
    color: #fff;
    border-radius: var(--radius-sm);
    font-size: .92rem;
    font-weight: 700;
    transition: all var(--ease);
    white-space: nowrap;
    border: none;
    box-shadow: 0 4px 14px var(--primary-glow);
    cursor: pointer;
}
.btn-red:hover {
    background: linear-gradient(135deg, #e53935 0%, #b82328 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(184, 35, 40, 0.45);
    color: #fff;
}
.btn-red:active { transform: scale(.97); }

.hero-link-more {
    font-size: .92rem;
    font-weight: 600;
    color: var(--text2);
    transition: color var(--ease);
    white-space: nowrap;
}
.hero-link-more:hover { color: #fff; }
*/
.btn-red {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .78rem 1.7rem;
    background: var(--primary-gradient);
    color: #fff;
    border-radius: 999px;
    font-size: .92rem;
    font-weight: 700;
    transition: all var(--ease);
    white-space: nowrap;
    border: none;
    box-shadow: 0 4px 14px var(--primary-glow);
    cursor: pointer;
}
.btn-red:hover {
    background: linear-gradient(135deg, #e53935 0%, #b82328 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(184, 35, 40, 0.45);
    color: #fff;
}
.btn-red:active { transform: scale(.97); }

.hero-main-actions .btn,
.hero-main-actions .btn-red,
.hero-actions .btn,
.hero-actions .btn-primary,
.hero-actions .btn-outline {
    border-radius: 999px !important;
}

/* "learn more" ghost link in hero com formato redondo */
.hero-link-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .75rem 1.6rem;
    border-radius: 999px;
    font-size: .92rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all var(--ease);
    white-space: nowrap;
}
.hero-link-more:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* dots */
.hero-main .hero-dots {

    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: .5rem;
}
.hero-main .hero-dot {
    width: 10px; height: 10px;
    border-radius: 5px;
    background: rgba(255,255,255,.25);
    transition: width .35s var(--ease), background .35s var(--ease);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: none;
    padding: 0;
}
.hero-main .hero-dot.active {
    width: 28px;
    background: rgba(255,255,255,.15);
}
.hero-main .hero-dot.active::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary);
    border-radius: inherit;
}

/* indicador de scroll */
.hero-scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    right: 2.5rem;
    z-index: 10;
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255,255,255,.3);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    padding-top: 7px;
    opacity: 1;
    transition: opacity var(--ease);
}
.hero-main-wrap.hero-at-end .hero-scroll-hint { opacity: 0; pointer-events: none; }
.hero-scroll-hint span {
    width: 4px;
    height: 8px;
    border-radius: 2px;
    background: #fff;
    animation: heroScrollHintMove 1.6s ease-in-out infinite;
}
@keyframes heroScrollHintMove {
    0%   { transform: translateY(0);   opacity: 1; }
    60%  { transform: translateY(12px); opacity: 0; }
    61%  { transform: translateY(0);   opacity: 0; }
    100% { transform: translateY(0);   opacity: 1; }
}
@media (max-width: 1023px) {
    .hero-scroll-hint { display: none; }
}

/* codigo antigo:
@media (max-width: 768px) {
    .hero-main-inner {
        padding: 5rem 1.25rem 3.5rem;
    }
    .hero-main-title {
        font-size: clamp(1.4rem, 6vw, 1.85rem);
        max-width: 100%;
    }
    .hero-main-desc {
        font-size: .95rem;
        line-height: 1.6;
        max-width: 100%;
    }
    .hero-main-actions {
        gap: .85rem;
    }
    .hero-main .hero-dots {
        bottom: 1.5rem;
    }
}
*/
@media (max-width: 768px) {
    .hero-main-bg {
        background-position: 70% 30% !important;
        background-size: cover !important;
    }
    .hero-slide:nth-child(1) .hero-main-bg {
        background-position: 80% center !important;
    }
    .hero-slide:nth-child(2) .hero-main-bg {
        background-position: 68% 20% !important;
    }
    .hero-slide:nth-child(3) .hero-main-bg {
        background-position: 72% center !important;
    }
    .hero-main-bg::after {
        background: linear-gradient(
            to top,
            rgba(22, 24, 42, 0.96) 0%,
            rgba(22, 24, 42, 0.82) 48%,
            rgba(22, 24, 42, 0.50) 100%
        ) !important;
    }
    .hero-main-inner {
        padding: 4.5rem 1.25rem 3.5rem;
    }
    .hero-main-title {
        font-size: clamp(1.35rem, 5.8vw, 1.75rem);
        max-width: 100%;
        line-height: 1.2;
    }
    .hero-main-desc {
        font-size: .92rem;
        line-height: 1.6;
        max-width: 100%;
    }
    .hero-main-actions {
        gap: .85rem;
    }
    .hero-main-actions .btn-red {
        padding: .7rem 1.35rem;
        font-size: .88rem;
    }
    .hero-main .hero-dots {
        bottom: 1.5rem;
    }

    /* redimensionamento e proporcao de imagens em mobile */
    .sol-card-media {
        max-width: 240px !important;
        max-height: 220px !important;
        aspect-ratio: auto !important;
    }
    .sol-img-real {
        max-height: 180px !important;
        width: auto !important;
        object-fit: contain !important;
    }
    .sol-img-real--phone {
        max-height: 180px !important;
    }
    .sol-img-real--dashboard {
        max-height: 150px !important;
    }

    .plat3-card-img {
        max-height: 180px !important;
        aspect-ratio: 16 / 10 !important;
    }

    .sn-about-img {
        max-height: 240px !important;
        width: auto !important;
        max-width: 100% !important;
        object-fit: contain !important;
        margin: 0 auto !important;
    }

    .pr-hero-visual img,
    .pr-eco-phone img,
    .pr-flip-photo img {
        max-width: 220px !important;
        max-height: 220px !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
        margin: 0 auto !important;
    }

    .ms-hero-img,
    .er-photo,
    .er-photo img {
        max-height: 200px !important;
        object-fit: contain !important;
    }
}


/* home page - o que fazemos (3 eixos de negocio) */
.sec-servicos {
    background: var(--bg);
    padding: 6rem 0;
    border-bottom: 1px solid var(--border-subtle);
}
.sec-servicos .sec-center-hdr h2 { color: var(--text); }
.sec-servicos .sec-center-hdr p  { color: var(--text2); }

.serv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-top: .5rem;
}
.serv-card {
    padding: 2.25rem 2rem;
    border-radius: var(--radius);
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: all var(--ease);
}
.serv-card:hover {
    border-color: var(--border-h);
    background: var(--card-h);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.serv-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: rgba(184,35,40,.12);
    border: 1px solid rgba(184,35,40,.25);
    display: flex; align-items: center; justify-content: center;
    color: #f87171;
    margin-bottom: 1.5rem;
}
.serv-icon svg { width: 24px; height: 24px; }
.serv-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: .75rem;
    letter-spacing: -.015em;
}
.serv-card p {
    font-size: .92rem;
    color: var(--text2);
    line-height: 1.75;
}
.serv-grid .serv-card:not(.visible):nth-child(2) { transition-delay: .1s; }
.serv-grid .serv-card:not(.visible):nth-child(3) { transition-delay: .2s; }

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



/* home page - section helpers */
.sec-center-hdr {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3.5rem;
    position: relative;
    z-index: 1;
}
.sec-center-hdr h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    font-weight: 800;
    color: var(--text);
    margin-bottom: .85rem;
    letter-spacing: -.025em;
}
.sec-center-hdr p {
    font-size: .98rem;
    color: var(--text2);
    line-height: 1.75;
}
.sec-center-hdr--white h2 { color: #fff; }
.sec-center-hdr--white p  { color: var(--text2); }

/* section label pill */
.sec-label {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .35rem 1rem;
    border-radius: 999px;
    margin-bottom: 1rem;
    background: rgba(184, 35, 40, 0.12);
    border: 1px solid rgba(184, 35, 40, 0.25);
    color: #f87171;
}
.sec-label--light {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .16);
    color: rgba(255, 255, 255, .9);
}

.sec-parceiros .sec-center-hdr h2 { color: var(--text); }
.sec-parceiros .sec-center-hdr p  { color: var(--text2); }


/* home page - plataformas (spec figma: 3 cartoes iguais, painel translucido escuro, imagem recortada no topo, "saber mais" ancorado ao fundo do cartao). node-id 1001:2 do ficheiro paytek-website. */
.sec-plataformas {
    background: #1E2027;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

/* decoracao de marca: 3 laminas diagonais nas cores do logotipo paytek, atras do cabecalho. aproximacao das formas "vector" do figma (a forma exacta e um path irregular so disponivel dentro do ficheiro figma). */
.plat-brand-slashes {
    position: absolute;
    top: -10%;
    right: -6%;
    width: 60%;
    height: 130%;
    z-index: 0;
    pointer-events: none;
    opacity: .5;
}
.plat-brand-slashes span {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 12%;
    transform: skewX(-12deg);
}
.plat-brand-slashes span:nth-child(1) { left: 36%; background: #E30613; }
.plat-brand-slashes span:nth-child(2) { left: 49%; background: #AE1A18; }
.plat-brand-slashes span:nth-child(3) { left: 62%; background: #89181E; }

.sec-plataformas .sec-center-hdr,
.plat3-grid { position: relative; z-index: 1; }

.plat3-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1214px;
    margin: .5rem auto 0;
}

.plat3-card {
    background: linear-gradient(155deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,.03) 55%, rgba(227,6,19,.06) 100%);
    backdrop-filter: blur(6px) saturate(140%);
    -webkit-backdrop-filter: blur(6px) saturate(140%);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 32px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 8px 28px rgba(0,0,0,.3);
    transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease), background var(--ease);
}
.plat3-card:hover {
    transform: translateY(-4px);
    background: linear-gradient(155deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,.04) 55%, rgba(227,6,19,.1) 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 14px 36px rgba(0,0,0,.38);
}
/* sem suporte a transparencia: painel solido, sem blur */
@media (prefers-reduced-transparency: reduce) {
    .plat3-card { background: #23262f; backdrop-filter: none; -webkit-backdrop-filter: none; }
}

.plat3-card-img {
    aspect-ratio: 355 / 253;
    border-radius: 24px;
    background: #fff;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.plat3-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px 8px 24px;
}
.plat3-card-body h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -.015em;
    margin-bottom: .75rem;
}
.plat3-card-body p {
    font-size: .92rem;
    color: rgba(255,255,255,.78);
    line-height: 1.75;
    max-width: 34ch;
}
.plat3-link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-top: auto;
    padding-top: 1.5rem;
    font-size: .88rem;
    font-weight: 700;
    color: #ffffff;
    width: fit-content;
    transition: gap var(--ease), color var(--ease);
}
.plat3-link svg { width: 16px; height: 16px; transition: transform var(--ease); }
.plat3-link:hover { gap: .7rem; color: #f87171; }

@media (max-width: 1023px) {
    .plat3-grid { grid-template-columns: 1fr; max-width: 480px; }
    .plat-brand-slashes { display: none; }
}

/* "learn more" button */
.btn-learn {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-top: .75rem;
    padding: 0;
    min-height: 24px;
    font-size: .88rem;
    font-weight: 700;
    color: #f87171;
    width: fit-content;
    transition: gap var(--ease), color var(--ease);
}
.btn-learn svg { width: 16px; height: 16px; transition: transform var(--ease); }
.btn-learn:hover { gap: .7rem; color: #ffffff; }
.btn-learn:hover svg { transform: translateX(3px); }


/* home page - parceiros (ticker infinito no fundo branco escuro) */
.sec-parceiros {
    background: #e9edf4;
    padding: 3.5rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
}

.sec-parceiros .sec-center-hdr {
    margin-bottom: 1.5rem;
}
.sec-parceiros .sec-center-hdr h2 {
    color: #0c0f17;
}
.sec-parceiros .sec-center-hdr p {
    color: #475569;
}

/* faixa com overflow hidden + fade lateral */
.parc-ticker-outer {
    overflow: hidden;
    position: relative;
    margin-top: 1.5rem;
}
.parc-ticker-outer::before,
.parc-ticker-outer::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 140px;
    z-index: 2;
    pointer-events: none;
}
.parc-ticker-outer::before { left: 0;  background: linear-gradient(to right, #e9edf4 20%, transparent); }
.parc-ticker-outer::after  { right: 0; background: linear-gradient(to left,  #e9edf4 20%, transparent); }

/* track animado */
.parc-ticker {
    display: flex;
    width: max-content;
    animation: parcTicker 26s linear infinite;
    will-change: transform;
}
.parc-ticker:hover { animation-play-state: paused; }

.parc-track {
    display: flex;
}

.parc-ticker-item {
    flex: 0 0 20vw;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
}

/* logo do parceiro */
.parc-logo-img {
    max-height: 75px;
    max-width: 160px;
    width: auto;
    object-fit: contain;
    filter: contrast(1.05);
    opacity: 0.88;
    transition: opacity var(--ease), transform var(--ease);
}
.parc-ticker-item:hover .parc-logo-img {
    opacity: 1;
    transform: scale(1.08);
}

@keyframes parcTicker {
    from { transform: translateX(0); }
    to   { transform: translateX(-33.3333%); }
}

@media (prefers-reduced-motion: reduce) {
    .parc-ticker {
        animation: none;
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
    }
    .parc-track[aria-hidden="true"] { display: none; }
}


/* home page - solucoes (1x1 card images & minimal sleek dark) */
/* home page - solucoes (card unificado com imagem 1x1 + descricao) */
/* codigo antigo:
.sec-solucoes {
    background: #1e2027;
    padding: 6rem 0;
    position: relative;
    border-bottom: 1px solid var(--border-subtle);
}

.sol-card {
    background: #22242a;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
    margin-bottom: 2.5rem;
    transition: all var(--ease);
}
.sol-card:last-child {
    margin-bottom: 0;
}
.sol-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-h);
    box-shadow: var(--shadow-lg);
}
.sol-card--reverse .sol-card-media   { order: 1; }
.sol-card--reverse .sol-card-content { order: 2; }

.sol-card-media {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
}

.sol-img-real {
    width: 100%;
    height: 100%;
    object-fit: contain;
    aspect-ratio: 1 / 1;
    display: block;
    transition: transform var(--ease);
    animation: sol-img-float 5s ease-in-out infinite;
    will-change: transform;
}
.sol-card:hover .sol-img-real {
    transform: scale(1.04);
    animation-play-state: paused;
}

@keyframes sol-img-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) {
    .sol-img-real { animation: none; }
}

.sol-img-real--phone {
    max-width: 82%;
    max-height: 88%;
    filter: drop-shadow(0 20px 36px rgba(0,0,0,.6));
}

.sol-img-real--dashboard {
    max-width: 95%;
    max-height: 95%;
}

.sol-card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.sol-card-content h3 {
    font-size: clamp(1.45rem, 2.5vw, 1.95rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: -.02em;
}
.sol-card-content p {
    font-size: .96rem;
    color: var(--text2);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.sol-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.sol-link-more {
    font-size: .92rem;
    font-weight: 600;
    color: var(--text2);
    transition: color var(--ease);
}
.sol-link-more:hover { color: #fff; }
.sn-compliance-link { display: inline-block; margin-top: .75rem; text-decoration: underline; text-underline-offset: 3px; }

.sol-store-badges {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    background: #090c12;
    color: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: .55rem 1rem;
    text-decoration: none;
    transition: all var(--ease);
    line-height: 1;
}
.store-badge:hover {
    border-color: var(--border-h);
    background: #121622;
    transform: translateY(-2px);
}
.store-badge svg { width: 22px; height: 22px; flex-shrink: 0; }
.store-badge-text { display: flex; flex-direction: column; gap: .1rem; }
.store-badge-sub  { font-size: .6rem; font-weight: 400; opacity: .75; }
.store-badge-name { font-size: .85rem; font-weight: 700; white-space: nowrap; }
*/
/* codigo antigo:
.sec-solucoes {
    background: var(--bg);
    padding: 6.5rem 0;
    position: relative;
    border-bottom: 1px solid var(--border-subtle);
}

.sol-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 3.5rem;
    box-shadow: 0 16px 36px -12px rgba(0, 0, 0, 0.45);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all var(--ease);
}
.sol-card:last-child {
    margin-bottom: 0;
}
.sol-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-h);
    box-shadow: 0 24px 52px -16px rgba(0, 0, 0, 0.6);
}
.sol-card--reverse .sol-card-media   { order: 1; }
.sol-card--reverse .sol-card-content { order: 2; }

.sol-card-media {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    aspect-ratio: 1 / 1;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
}
...
@media (max-width: 1023px) {
    .sol-card {
        grid-template-columns: 1fr;
        padding: 2rem 1.5rem;
        gap: 2rem;
        text-align: center;
    }
}
*/
/* codigo antigo:
.sec-solucoes {
    background: var(--bg);
    padding: 6.5rem 0;
    position: relative;
    border-bottom: 1px solid var(--border-subtle);
}
*/
/* codigo antigo:
.sec-solucoes {
    background: #1E2027;
    padding: 6.5rem 0;
    position: relative;
    border-bottom: 1px solid var(--border-subtle);
}

.sol-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.75rem 2.5rem 2.25rem;
    ...
}
.sol-card-stage {
    height: 380px;
}
*/
.sec-solucoes {
    background: #1E2027;
    padding: 3.5rem 0;
    position: relative;
    border-bottom: 1px solid var(--border-subtle);
}

.sec-solucoes .sec-center-hdr {
    margin-bottom: 1.75rem;
}

/* grelha dual console: 2 colunas simetricas em desktop */
.sol-dual-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
    align-items: stretch;
}

/* codigo antigo:
.sol-card {
    background: var(--card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 1.75rem 1.75rem 1.35rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 28px -10px rgba(0, 0, 0, 0.45);
    transition: border-color var(--ease);
}
.sol-card-header h3 {
    font-size: clamp(1.2rem, 1.6vw, 1.45rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.35rem;
    letter-spacing: var(--ls-title);
    line-height: var(--lh-tight);
}
.sol-card-header p {
    font-size: 0.88rem;
    color: var(--text2);
    line-height: 1.55;
    margin-bottom: 0.75rem;
    min-height: 2.75rem;
}
*/
.sol-card {
    background: #14161D;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius);
    padding: 1.75rem 1.75rem 1.35rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 28px -10px rgba(0, 0, 0, 0.45);
    transition: border-color var(--ease);
}

.sol-card-header {
    text-align: center;
}

.sol-card-header h3 {
    font-size: clamp(1.2rem, 1.6vw, 1.45rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.35rem;
    letter-spacing: var(--ls-title);
    line-height: var(--lh-tight);
    text-align: center;
}

.sol-card-header p {
    font-size: 0.88rem;
    color: var(--text2);
    line-height: 1.55;
    margin-bottom: 0.75rem;
    min-height: 2.75rem;
    text-align: center;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

/* palco visual compacto para caber no ecra sem scroll */
.sol-card-stage {
    position: relative;
    width: 100%;
    height: 230px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto 0 0.85rem;
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
}

/* halos focais sutis no interior do palco */
.sol-card--app .sol-card-stage::before {
    content: '';
    position: absolute;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.14) 0%, transparent 70%);
    pointer-events: none;
    filter: blur(18px);
}

.sol-card--gateway .sol-card-stage::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
    pointer-events: none;
    filter: blur(18px);
}

/* composicao duo de telefones (imali app) */
.sol-phones-duo {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.sol-img-phone {
    position: absolute;
    max-height: 195px;
    width: auto;
    object-fit: contain;
    will-change: transform;
}

/* animacoes de movimento suave flutuante */
@keyframes solPhoneBackFloat {
    0%, 100% {
        transform: translate(-30px, -10px) scale(0.92) rotate(0deg);
    }
    50% {
        transform: translate(-30px, -18px) scale(0.92) rotate(-0.5deg);
    }
}

@keyframes solPhoneFrontFloat {
    0%, 100% {
        transform: translate(26px, 10px) scale(1.02) rotate(0deg);
    }
    50% {
        transform: translate(26px, -2px) scale(1.02) rotate(0.5deg);
    }
}

@keyframes solDeskFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-9px) scale(1.005);
    }
}

.sol-img-phone--back {
    transform: translate(-30px, -10px) scale(0.92);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
    opacity: 0.92;
    z-index: 1;
    animation: solPhoneBackFloat 6s ease-in-out infinite;
}

.sol-img-phone--front {
    transform: translate(26px, 10px) scale(1.02);
    filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.6));
    z-index: 2;
    animation: solPhoneFrontFloat 5.2s ease-in-out infinite 0.35s;
}

/* imagens em repouso dinamico (gateway) */
.sol-img-stage {
    position: relative;
    z-index: 1;
    max-height: 200px;
    width: auto;
    max-width: 95%;
    object-fit: contain;
    display: block;
    will-change: transform;
}

.sol-img-stage--dashboard {
    max-height: 185px;
    max-width: 96%;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.45));
    animation: solDeskFloat 5.8s ease-in-out infinite;
}

.sol-card-footer {
    margin-top: auto;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* codigo antigo:
.sol-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem;
}
.sol-link-more {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.5rem 1.1rem;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 600;
    color: #ffffff;
    background: #14171e;
    border: 1px solid rgba(255, 255, 255, 0.10);
    text-decoration: none;
    transition: background var(--ease), border-color var(--ease), transform var(--ease);
}
.sol-link-more:hover {
    background: #1c202a;
    border-color: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    transform: translateY(-1px);
}
.sol-store-badges {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
}
.store-badge {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: #14171e;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--radius-sm);
    padding: 0.42rem 0.95rem;
    text-decoration: none;
    transition: background var(--ease), border-color var(--ease), transform var(--ease);
    line-height: 1;
}
.store-badge:hover {
    background: #1c202a;
    border-color: rgba(255, 255, 255, 0.16);
    transform: translateY(-1px);
}
*/
.sol-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.65rem;
}

/* padrao de botoes: cores solidas/foscas, sem sombras brilhantes, sem bordas que acendem */
.sol-actions .btn-red {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.88rem;
    background: var(--primary);
    color: #ffffff;
    border: none;
    text-decoration: none;
    transition: background var(--ease), transform var(--ease);
}
.sol-actions .btn-red:hover {
    background: #9e1c21;
    transform: translateY(-1px);
}

/* botoes secundarios: fundo fosco integrado harmonizado com o cinza escuro da seccao */
.sol-link-more {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.5rem 1.1rem;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 600;
    color: #ffffff;
    background: #181B22;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    transition: background var(--ease), border-color var(--ease), transform var(--ease);
}
.sol-link-more:hover {
    background: #222630;
    border-color: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    transform: translateY(-1px);
}

.sol-btn-icon {
    display: inline-block;
    flex-shrink: 0;
}

/* codigo antigo:
.sn-compliance-link { display: inline-block; margin-top: .75rem; text-decoration: underline; text-underline-offset: 3px; }
*/
.sn-compliance-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 1.15rem;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    min-height: auto !important;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: rgba(255, 255, 255, 0.4);
    transition: color var(--ease), text-decoration-color var(--ease);
}
.sn-compliance-link:hover {
    color: var(--primary-soft);
    text-decoration-color: var(--primary-soft);
    background: transparent !important;
    border: none !important;
    transform: none !important;
}

/* store download badges: centralizados, discretos, solidos e harmonizados */
.sol-store-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.store-badge {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    background: #181B22;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 0.42rem 0.95rem;
    text-decoration: none;
    transition: background var(--ease), border-color var(--ease), transform var(--ease);
    line-height: 1;
}
.store-badge:hover {
    background: #222630;
    border-color: rgba(255, 255, 255, 0.14);
    transform: translateY(-1px);
}
.store-badge-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}
.store-badge-text {
    display: flex;
    flex-direction: column;
    gap: .1rem;
}
.store-badge-sub {
    font-size: .54rem;
    font-weight: 500;
    opacity: .80;
    letter-spacing: .02em;
    text-transform: uppercase;
}
.store-badge-name {
    font-size: .82rem;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: -.01em;
    color: #fff;
}

/* reducao de movimento acessivel */
@media (prefers-reduced-motion: reduce) {
    .sol-img-phone--back,
    .sol-img-phone--front,
    .sol-img-stage--dashboard {
        animation: none !important;
    }
}

/* responsividade dual console */
@media (max-width: 1023px) {
    .sol-dual-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .sol-card {
        padding: 1.5rem 1.25rem;
    }
    .sol-card-header p {
        min-height: auto;
        margin-bottom: 0.75rem;
    }
    .sol-card-stage {
        height: 220px;
        margin-bottom: 0.75rem;
    }
    .sol-img-phone {
        max-height: 185px;
    }
    .sol-img-stage {
        max-height: 190px;
    }
    .sol-img-stage--dashboard {
        max-height: 175px;
    }
    /* codigo antigo:
    .sol-actions {
        justify-content: flex-start;
        gap: 0.55rem;
        width: 100%;
    }
    */
    .sol-actions {
        justify-content: center;
        gap: 0.55rem;
        width: 100%;
    }
    .sol-actions .btn-red {
        padding: .45rem 1.15rem;
        font-size: .85rem;
    }
    .sol-store-badges {
        justify-content: center;
        width: auto;
        gap: .45rem;
    }
    .store-badge {
        padding: .38rem .85rem;
    }
    .store-badge-icon {
        width: 18px;
        height: 18px;
    }
}



/* solution mockups - css-only placeholder visuals */

/* shared wrapper */
.sol-mockup {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* phone mockup (imali app) */
.mock-phone {
    width: 220px;
    background: #12151b;
    border-radius: 32px;
    border: 2px solid rgba(255,255,255,.1);
    box-shadow: 0 32px 64px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.08);
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}
.mock-phone-notch {
    width: 72px;
    height: 18px;
    background: #12151b;
    border-radius: 0 0 14px 14px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    border: 2px solid rgba(255,255,255,.08);
    border-top: none;
}
.mock-phone-screen {
    padding: 0 14px 18px;
    background: #181c24;
}
.mock-app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0 8px;
}
.mock-app-logo {
    font-size: .75rem;
    font-weight: 800;
    color: #cc2929;
    letter-spacing: -.01em;
}
.mock-app-avatar {
    width: 24px;
    height: 24px;
    background: #cc2929;
    border-radius: 50%;
    font-size: .5rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mock-balance {
    background: linear-gradient(135deg, #cc2929 0%, #8a1a1a 100%);
    border-radius: 12px;
    padding: 12px 12px 10px;
    margin-bottom: 12px;
}
.mock-balance-label {
    display: block;
    font-size: .52rem;
    color: rgba(255,255,255,.7);
    margin-bottom: 3px;
    letter-spacing: .03em;
}
.mock-balance-amount {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.mock-balance-amount sup {
    font-size: .55rem;
    font-weight: 500;
    vertical-align: super;
}
.mock-quick-actions {
    display: flex;
    justify-content: space-around;
    margin-bottom: 14px;
}
.mock-qa-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.mock-qa-item span {
    font-size: .48rem;
    color: rgba(255,255,255,.55);
}
.mock-qa-icon {
    width: 32px;
    height: 32px;
    background: rgba(204,41,41,.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cc2929;
}
.mock-qa-icon svg {
    width: 14px;
    height: 14px;
}
.mock-txlist { }
.mock-txlist-label {
    display: block;
    font-size: .5rem;
    color: rgba(255,255,255,.35);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 6px;
}
.mock-tx {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,.05);
}
.mock-tx:last-child { border-bottom: none; }
.mock-tx-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    flex-shrink: 0;
}
.mock-tx-icon--in  { background: rgba(34,197,94,.2); }
.mock-tx-icon--out { background: rgba(204,41,41,.2); }
.mock-tx-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.mock-tx-info span:first-child {
    font-size: .55rem;
    font-weight: 600;
    color: rgba(255,255,255,.8);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mock-tx-date {
    font-size: .45rem;
    color: rgba(255,255,255,.35);
}
.mock-tx-amount {
    font-size: .55rem;
    font-weight: 700;
    white-space: nowrap;
}
.mock-tx-amount--in  { color: #22c55e; }
.mock-tx-amount--out { color: #cc2929; }

/* dashboard mockup (imali way) */
.mock-dash {
    width: 100%;
    background: #12151b;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.09);
    box-shadow: 0 24px 56px rgba(0,0,0,.5);
    overflow: hidden;
    font-size: .6rem;
}
.mock-dash-header {
    background: #1a1e28;
    border-bottom: 1px solid rgba(255,255,255,.07);
    padding: 8px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.mock-dash-logo {
    font-size: .65rem;
    font-weight: 800;
    color: #cc2929;
}
.mock-dash-status {
    font-size: .5rem;
    color: #22c55e;
    font-weight: 600;
}
.mock-dash-body {
    display: flex;
    height: 180px;
}
.mock-dash-sidebar {
    width: 80px;
    flex-shrink: 0;
    background: #13161f;
    border-right: 1px solid rgba(255,255,255,.06);
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.mock-dash-nav {
    padding: 5px 10px;
    font-size: .5rem;
    color: rgba(255,255,255,.4);
    border-radius: 4px;
    margin: 0 4px;
    cursor: default;
}
.mock-dash-nav--active {
    background: rgba(204,41,41,.15);
    color: #cc2929;
    font-weight: 700;
}
.mock-dash-main {
    flex: 1;
    padding: 10px 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.mock-dash-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}
.mock-dash-card {
    background: #1e2230;
    border-radius: 8px;
    padding: 7px 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.mock-dash-card-label {
    font-size: .46rem;
    color: rgba(255,255,255,.4);
}
.mock-dash-card-value {
    font-size: .75rem;
    font-weight: 800;
    color: #fff;
}
.mock-api-bar {
    background: #0d0f16;
    border-radius: 6px;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.mock-api-method {
    background: #cc2929;
    color: #fff;
    font-size: .45rem;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 3px;
}
.mock-api-path {
    font-size: .48rem;
    color: rgba(255,255,255,.5);
    font-family: monospace;
}
.mock-dash-rows {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.mock-dash-row {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 0;
    border-bottom: 1px solid rgba(255,255,255,.04);
}
.mock-dash-row:last-child { border-bottom: none; }
.mock-row-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}
.mock-row-dot--ok { background: #22c55e; }
.mock-row-id {
    flex: 1;
    font-size: .5rem;
    color: rgba(255,255,255,.6);
    font-family: monospace;
}
.mock-row-amt {
    font-size: .5rem;
    font-weight: 700;
    color: rgba(255,255,255,.8);
}

/* home page - cta vermelho */
.sec-cta-red {
    position: relative;
    background: linear-gradient(135deg, #090c12 0%, #1a0b0d 45%, #b82328 100%);
    padding: 6rem 0;
    overflow: hidden;
    text-align: center;
}

/* decorative blob */
.cta-red-blob {
    position: absolute;
    width: 340px; height: 340px;
    border-radius: 50%;
    background: rgba(0,0,0,.18);
    left: -80px; bottom: -100px;
    pointer-events: none;
}
.sec-cta-red::after {
    content: '';
    position: absolute;
    top: -60%; right: -5%;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,.08) 0%, transparent 60%);
    animation: floatOrb 12s ease-in-out infinite alternate-reverse;
    pointer-events: none;
}

.cta-red-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}
.cta-red-inner h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 900;
    color: #fff;
    letter-spacing: -.02em;
}
.cta-red-inner p {
    font-size: 1rem;
    color: rgba(255,255,255,.85);
    max-width: 500px;
    line-height: 1.75;
}

.btn-cta-outline {
    display: inline-flex;
    align-items: center;
    padding: .85rem 2.25rem;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: var(--radius-sm);
    font-size: .95rem;
    font-weight: 700;
    color: #fff;
    transition: all var(--ease);
    margin-top: .5rem;
    background: rgba(255, 255, 255, 0.04);
}
.btn-cta-outline:hover {
    background: #ffffff;
    color: #0c0f17;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}


/* home page - footer v2 */
/* codigo antigo:
.footer-v2 {
    background: var(--bg);
    padding: 4.5rem 0 0;
    border-top: 1px solid var(--border-subtle);
}
*/
.footer-v2 {
    background: var(--bg);
    padding: 4.5rem 0 0;
    border-top: 1px solid var(--border-subtle);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.footer-v2 .container {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 3.5rem);
}

/* codigo antigo:
.fv2-grid {
    display: grid;
    grid-template-columns: 160px repeat(4, 1fr);
    gap: 2.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-subtle);
    align-items: start;
}
*/
.fv2-grid {
    display: grid;
    grid-template-columns: minmax(180px, 1.3fr) repeat(4, minmax(130px, 1fr));
    gap: clamp(2rem, 3.5vw, 4rem);
    padding-bottom: 3.5rem;
    border-bottom: 1px solid var(--border-subtle);
    align-items: start;
}

/* logo e marca no footer - alinhados a esquerda com espacamento fluido */
/* codigo antigo:
.fv2-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
}

.fv2-logo {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
    text-decoration: none;
    gap: 0;
}
*/
.fv2-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
}

.fv2-logo {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    line-height: 1;
    text-decoration: none;
    gap: 0;
}
.fv2-logo-inner {
    display: flex;
    align-items: baseline;
    gap: 1px;
}
.fv2-pay {
    font-size: 1.6rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -.02em;
    font-family: 'Inter', sans-serif;
}
.fv2-arrows {
    font-size: 1.2rem;
    color: #cc2929;
    letter-spacing: -.08em;
}
.fv2-tek {
    font-size: 1.6rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -.02em;
    margin-top: -4px;
    font-family: 'Inter', sans-serif;
}

/* columns */
.fv2-col h4 {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #fff;
    margin-bottom: .875rem;
    font-family: 'Inter', sans-serif;
}
.fv2-col-h4-mt { margin-top: 1.75rem; }

.fv2-col ul {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.fv2-col ul a {
    display: block;
    padding: .4rem 0;
    font-size: .875rem;
    color: rgba(255,255,255,.55);
    transition: color .2s;
    font-family: 'Inter', sans-serif;
}
.fv2-col ul a:hover { color: rgba(255,255,255,.9); }

/* contact column */
.fv2-contact { font-style: normal; }
.fv2-contact p {
    font-size: .85rem;
    color: rgba(255,255,255,.55);
    line-height: 1.6;
    margin-bottom: .625rem;
    font-family: 'Inter', sans-serif;
}
.fv2-contact a {
    color: rgba(255,255,255,.55);
    transition: color .2s;
    font-family: 'Inter', sans-serif;
}
.fv2-contact a:hover { color: rgba(255,255,255,.9); }

/* icones sociais - sem chips de fundo, alinhados a esquerda com o logo */
/* codigo antigo:
.fv2-social {
    display: flex;
    gap: 1.1rem;
    margin-top: 1.25rem;
    align-items: center;
    justify-content: center;
    width: 100%;
}
*/
.fv2-social {
    display: flex;
    gap: 1.1rem;
    margin-top: 1.25rem;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}
.fv2-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border-radius: 0;
    width: auto;
    height: auto;
    padding: 0;
    color: rgba(255,255,255,.65);
    transition: color .2s, transform .2s;
}
.fv2-social a:hover {
    background: none;
    color: #fff;
    transform: translateY(-2px);
}
.fv2-social svg {
    width: 18px;
    height: 18px;
}

/* bottom row - copyright centrado */
.fv2-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 0;
}

.fv2-copy {
    font-size: .8rem;
    color: rgba(255,255,255,.35);
    text-align: center;
    font-family: 'Inter', sans-serif;
}


/* home page - responsivo */
/* codigo antigo:
@media (max-width: 1200px) {
    .fv2-grid { grid-template-columns: 160px 1fr 1fr 1fr; gap: 2rem; }
    .fv2-grid > .fv2-col:last-child { grid-column: 2 / -1; }
}

@media (max-width: 1100px) {
    .fv2-grid  { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .fv2-grid > .fv2-col:last-child { grid-column: unset; }
    .fv2-grid > .fv2-brand { grid-column: 1 / -1; }
}
*/
@media (max-width: 1200px) {
    .fv2-grid {
        grid-template-columns: minmax(160px, 1.2fr) repeat(4, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 1023px) {
    .hero-main-inner { grid-template-columns: 1fr; padding-top: 120px; }
    .hero-main-visual { display: none; }
    .sol-block { grid-template-columns: 1fr; gap: 2.5rem; }
    .sol-text { padding: 2rem; }
    .sol-block--reverse .sol-text,
    .sol-block--reverse .sol-img { order: unset; }
    .fv2-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2.5rem 1.5rem;
    }
    .fv2-grid > .fv2-brand {
        grid-column: 1 / -1;
        align-items: flex-start;
        text-align: left;
        margin-bottom: 0.5rem;
        padding-bottom: 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
}

/* codigo antigo:
@media (max-width: 767px) {
    .fv2-grid    { grid-template-columns: 1fr; gap: 1.75rem; }
    .fv2-bottom  { text-align: center; }
    .hero-main-title { font-size: clamp(1.6rem, 7vw, 2.2rem); }
    .sec-cta-red { padding: 3.5rem 0; }
    .parc-ticker-item { flex: 0 0 33vw; }
    .parc-logo-img { max-height: 60px; max-width: 120px; }

    .hero-main-bg::after {
        background: linear-gradient(
            to top,
            rgba(22, 24, 42, .96) 0%,
            rgba(22, 24, 42, .82) 42%,
            rgba(22, 24, 42, .45) 100%
        );
    }
    .hero-main .hero-dots { bottom: 2.25rem; }
    .hero-main-inner { padding-bottom: 5rem; }
}
*/
@media (max-width: 767px) {
    /* footer responsivo moderno: marca no topo com separador sutil, e 4 colunas de navegacao distribuidas numa grelha 2x2 limpa e ergonomica */
    .fv2-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2.25rem 1.25rem;
        padding-bottom: 2.5rem;
    }
    .fv2-grid > .fv2-brand {
        grid-column: 1 / -1;
        margin-bottom: 0.75rem;
        padding-bottom: 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .fv2-logo-img {
        height: clamp(38px, 9vw, 44px);
    }
    .fv2-col h4 {
        font-size: .8rem;
        margin-bottom: .75rem;
    }
    .fv2-col ul {
        gap: .35rem;
    }
    .fv2-col ul a {
        padding: .45rem 0;
        font-size: .85rem;
        color: rgba(255, 255, 255, 0.65);
        word-break: break-word;
    }
    .fv2-bottom {
        text-align: center;
        padding: 1.5rem 0 2rem;
    }

    /* hero mobile: viewport dinamico estavel, tipografia escalavel, contraste 100% legivel */
    .hero-main-wrap {
        height: 350vh;
    }
    .hero-main {
        height: 100svh;
        min-height: 100svh;
    }
    .hero-main-inner {
        padding-top: 100px;
        padding-bottom: 5.5rem;
    }
    .hero-main-title {
        font-size: clamp(1.4rem, 6.2vw, 2rem);
        line-height: 1.22;
        max-width: 100%;
    }
    .hero-main-desc {
        font-size: clamp(0.88rem, 3.6vw, 0.98rem);
        line-height: 1.65;
        max-width: 100%;
        color: rgba(255, 255, 255, 0.8);
    }
    .hero-main-actions {
        gap: .85rem;
        width: 100%;
    }
    .hero-main-actions .btn {
        padding: .75rem 1.4rem;
        font-size: .9rem;
    }
    .hero-main-bg::after {
        background: linear-gradient(
            to top,
            rgba(22, 24, 42, .96) 0%,
            rgba(22, 24, 42, .85) 45%,
            rgba(22, 24, 42, .55) 100%
        );
    }
    .hero-main .hero-dots {
        bottom: 2rem;
        gap: .65rem;
    }
    .hero-dot {
        width: 28px;
        height: 4px;
        padding: 4px 0;
        background-clip: content-box;
    }
    .hero-dot.active {
        width: 44px;
    }

    .sec-cta-red { padding: 3.5rem 0; }
    .parc-ticker-item { flex: 0 0 33vw; }
    .parc-logo-img { max-height: 60px; max-width: 120px; }
}

@media (max-width: 480px) {
    /* codigo antigo:
    .sol-actions { flex-direction: column; align-items: flex-start; }
    .sn-stats--centered .sn-stat { min-width: 120px; }
    */
    /* codigo antigo:
    .sol-actions { flex-direction: column; align-items: stretch; width: 100%; gap: .75rem; }
    .sol-actions .btn { width: 100%; justify-content: center; }
    .sol-store-badges { flex-direction: column; width: 100%; }
    .sol-store-badges .store-badge { width: 100%; justify-content: center; }
    .sn-stats--centered .sn-stat { min-width: 100%; }
    .sec-cta-actions { flex-direction: column; width: 100%; }
    .sec-cta-actions .btn { width: 100%; justify-content: center; }
    */
    .sol-actions {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: .75rem;
    }
    .sol-actions .btn-red {
        width: auto;
        min-width: 200px;
        max-width: 280px;
        justify-content: center;
        padding: .7rem 1.4rem;
        font-size: .88rem;
    }
    .sol-store-badges {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: .5rem;
    }
    .sol-store-badges .store-badge {
        width: auto;
        min-width: 200px;
        max-width: 280px;
        justify-content: center;
    }
    .sn-stats--centered .sn-stat { min-width: 100%; }
    .sec-cta-actions {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: .75rem;
    }
    .sec-cta-actions .btn {
        width: auto;
        min-width: 200px;
        max-width: 280px;
        justify-content: center;
    }
}


/* skip link */
.skip-link {
    position: absolute;
    top: -9999px; left: -9999px;
    width: 1px; height: 1px;
    overflow: hidden;
}
.skip-link:focus {
    position: fixed;
    top: 1rem; left: 1rem;
    width: auto; height: auto;
    overflow: visible;
    padding: .75rem 1.5rem;
    background: var(--primary);
    color: #fff;
    font-size: .9rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    z-index: 9999;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0,0,0,.4);
    outline: 3px solid #fff;
    outline-offset: 2px;
}


/* cookie consent banner */
/* codigo antigo:
.cookie-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 9990;
    background: #0e1420;
    border-top: 1px solid rgba(255,255,255,.12);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    justify-content: space-between;
    box-shadow: 0 -4px 24px rgba(0,0,0,.4);
    transform: translateY(100%);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner-text {
    flex: 1;
    min-width: 200px;
    font-size: .85rem;
    color: rgba(255,255,255,.7);
    line-height: 1.5;
}
.cookie-banner-text a {
    color: #6fa3ef;
    text-decoration: underline;
}
.cookie-banner-actions {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    flex-shrink: 0;
}
.cookie-btn {
    padding: .55rem 1.1rem;
    border-radius: 6px;
    font-size: .875rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: background .2s, border-color .2s, color .2s;
}
.cookie-btn-accept { background: var(--primary); color: #fff; }
.cookie-btn-accept:hover { background: var(--primary-h); }
.cookie-btn-reject {
    background: transparent;
    color: rgba(255,255,255,.6);
    border: 1px solid rgba(255,255,255,.2);
}
.cookie-btn-reject:hover { border-color: rgba(255,255,255,.5); color: #fff; }
*/
.cookie-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 9990;
    background: #1e2027;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 1.1rem 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: space-between;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transform: translateY(100%);
    transition: transform .35s cubic-bezier(.4, 0, .2, 1);
}
.cookie-banner.visible {
    transform: translateY(0);
}
.cookie-banner-text {
    flex: 1;
    min-width: 220px;
    font-size: .88rem;
    color: var(--text2, #94a3b8);
    line-height: 1.55;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}
.cookie-banner-text a {
    color: #f87171;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color .2s;
}
.cookie-banner-text a:hover {
    color: #ffffff;
}
.cookie-banner-actions {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
    flex-shrink: 0;
}
.cookie-btn {
    padding: .55rem 1.35rem;
    border-radius: 999px !important;
    font-size: .85rem;
    font-weight: 600;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
}
.cookie-btn-accept {
    background: var(--primary, #b82328);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(184, 35, 40, 0.35);
}
.cookie-btn-accept:hover {
    background: var(--primary-h, #d32f2f);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(184, 35, 40, 0.45);
}
.cookie-btn-reject {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.18);
}
.cookie-btn-reject:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.35);
    color: #ffffff;
    transform: translateY(-1px);
}



/* paginas legais (termos / privacidade / cookies) */
.page-hero--legal .page-hero-bg {
    background: #1e2128;
}
.page-hero--legal .page-hero-bg::before { display: none; }
.page-hero--legal .page-hero-overlay { background-image: none; }

.page-hero--help .page-hero-bg {
    background: linear-gradient(135deg, #0d0d0d 0%, #1e0b0b 50%, #cc2929 100%);
}
.page-hero--help .page-hero-bg::before { background: #cc2929; }
.page-hero--help .page-hero-overlay { background-image: none; }

/* prose container - herda estilos globais, apenas restringe largura */
.legal-prose {
    max-width: 760px;
    margin: 0 auto;
}
.legal-prose h2 {
    margin-top: 2.5rem;
    margin-bottom: .75rem;
    font-size: clamp(1.1rem, 2vw, 1.3rem);
}
.legal-prose h2:first-child { margin-top: 0; }
.legal-prose p {
    color: var(--text2);
    line-height: 1.8;
    margin-bottom: .875rem;
}
.legal-prose ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: .875rem;
}
.legal-prose ul li {
    color: var(--text2);
    line-height: 1.75;
    margin-bottom: .4rem;
}
.legal-prose a { color: var(--primary); text-decoration: underline; }
.legal-prose strong { color: var(--text); }


/* pagina 404 */
.not-found-section {
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1.5rem;
}
.not-found-inner {
    display: flex;
    align-items: center;
    gap: clamp(2rem, 6vw, 5rem);
    max-width: 760px;
    text-align: left;
}
.not-found-code {
    font-size: clamp(5rem, 20vw, 9rem);
    font-weight: 900;
    line-height: 1;
    color: #cc2929;
    display: block;
}
.not-found-inner h1 { font-size: clamp(1.5rem, 4vw, 2rem); margin-bottom: 1rem; }
.not-found-inner p { color: var(--text2); margin-bottom: 2rem; line-height: 1.6; }
@media (max-width: 640px) { .not-found-inner { flex-direction: column; align-items: flex-start; gap: 1rem; } }


/* pagina de ajuda - faq accordion + categorias */
.help-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 3rem;
    align-items: start;
}
.help-nav {
    position: sticky;
    top: 96px;
}
.help-nav-title {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--muted);
    margin-bottom: 1rem;
}
.help-nav ul { list-style: none; display: flex; flex-direction: column; gap: .25rem; }
/* codigo antigo:
.help-nav a {
    display: block;
    padding: .45rem .75rem;
    border-radius: 8px;
    font-size: .875rem;
    color: var(--text2);
    transition: background var(--ease), color var(--ease);
    border-left: 2px solid transparent;
}
.help-nav a:hover,
.help-nav a.active {
    background: rgba(204,41,41,.08);
    color: var(--text);
    border-left-color: var(--primary);
}
*/
.help-nav a {
    display: block;
    padding: .45rem .75rem;
    border-radius: 8px;
    font-size: .875rem;
    color: var(--text2);
    transition: background var(--ease), color var(--ease);
    border-left: none;
}
.help-nav a:hover,
.help-nav a.active {
    background: rgba(204,41,41,.08);
    color: var(--text);
    border-left: none;
}

.help-section { margin-bottom: 3rem; }
.help-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
    padding-bottom: .6rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: .6rem;
}
.help-section-title svg { width: 18px; height: 18px; color: var(--primary); flex-shrink: 0; }

.faq-item {
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: .5rem;
    overflow: hidden;
    transition: border-color var(--ease);
}
.faq-item:hover { border-color: var(--border-h); }
.faq-item[open] { border-color: rgba(204,41,41,.3); }
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    cursor: pointer;
    font-size: .9rem;
    font-weight: 600;
    color: var(--text);
    list-style: none;
    user-select: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-chevron {
    width: 18px; height: 18px;
    flex-shrink: 0;
    color: var(--muted);
    transition: transform var(--ease);
}
.faq-item[open] .faq-chevron { transform: rotate(180deg); color: var(--primary); }
.faq-answer {
    padding: 0 1.25rem 1rem;
    font-size: .875rem;
    color: var(--text2);
    line-height: 1.75;
    border-top: 1px solid var(--border);
    padding-top: .875rem;
}
.faq-answer a { color: var(--primary); text-decoration: underline; }
.faq-answer strong { color: var(--text); }

.help-cta {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    text-align: center;
    margin-top: 1rem;
}
.help-cta h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .5rem; }
.help-cta p { color: var(--text2); font-size: .9rem; margin-bottom: 1.5rem; line-height: 1.7; }

@media (max-width: 900px) {
    .help-layout { grid-template-columns: 1fr; }
    .help-nav { position: static; display: none; }
}


/* footer - nota legal (licencas / nuit) */
.fv2-legal-note {
    font-size: .75rem;
    color: rgba(255,255,255,.25);
    text-align: center;
    margin-top: .375rem;
    line-height: 1.5;
}


/* botao "em breve" - app download */
.btn-soon {
    opacity: .5;
    cursor: not-allowed;
    position: relative;
}
.btn-soon::after {
    content: attr(data-soon);
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,.85);
    color: #fff;
    font-size: .75rem;
    font-weight: 500;
    padding: .3rem .6rem;
    border-radius: 4px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity .2s;
}
.btn-soon:hover::after { opacity: 1; }


/* ancoras - scroll-margin para navbar fixa (72 px + 8 px folga) */
section[id],
footer[id] {
    scroll-margin-top: 80px;
}


/* legal.html - layout de documento com sidebar */
.legal-doc-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 3rem;
    align-items: start;
}

.legal-doc-sidebar {
    position: sticky;
    top: 96px;
}

.legal-doc-nav-title {
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: .75rem;
}

.legal-doc-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

/* codigo antigo:
.legal-doc-nav-link {
    display: block;
    padding: .625rem 1rem;
    border-radius: 8px;
    color: var(--text2);
    text-decoration: none;
    font-size: .875rem;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: color .2s, background .2s, border-color .2s;
}

.legal-doc-nav-link:hover {
    color: #fff;
    background: rgba(255,255,255,.05);
}

.legal-doc-nav-link.active {
    color: #fff;
    background: rgba(204,41,41,.12);
    border-left-color: var(--primary);
}
*/
.legal-doc-nav-link {
    display: block;
    padding: .625rem 1rem;
    border-radius: 8px;
    color: var(--text2);
    text-decoration: none;
    font-size: .875rem;
    font-weight: 500;
    border-left: none;
    transition: color .2s, background .2s;
}

.legal-doc-nav-link:hover {
    color: #fff;
    background: rgba(255,255,255,.05);
}

.legal-doc-nav-link.active {
    color: #fff;
    background: rgba(204,41,41,.12);
    border-left: none;
}

/* remover contorno/borda branca nos titulos em foco */
.legal-panel h2:focus,
.legal-panel h3:focus,
.legal-prose h2:focus,
.legal-prose h3:focus,
.legal-panel:focus,
.legal-doc-content h2:focus,
.legal-doc-content h3:focus,
.legal-panel h2,
.legal-prose h2 {
    outline: none !important;
    box-shadow: none !important;
}

/* abas mobile (ocultas em desktop) */
.legal-doc-tabs {
    display: none;
    gap: .5rem;
    overflow-x: auto;
    padding-bottom: .5rem;
    margin-bottom: 2rem;
    scrollbar-width: none;
}
.legal-doc-tabs::-webkit-scrollbar { display: none; }

.legal-doc-tab {
    flex: 0 0 auto;
    padding: .5rem 1rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    color: var(--text2);
    font-size: .8125rem;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none;
    transition: color .2s, background .2s, border-color .2s;
}

.legal-doc-tab.active {
    color: #fff;
    background: var(--primary);
    border-color: var(--primary);
}

/* paineis de conteudo */
.legal-panel {
    display: none;
}

.legal-panel.active {
    display: block;
    animation: panelFadeIn .5s ease-out;
}

@keyframes panelFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: none; }
}

.legal-panel-meta {
    font-size: .8125rem;
    color: var(--muted);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.legal-panel-stub {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
}

.legal-panel-stub h3 {
    font-size: 1.1rem;
    margin-bottom: .5rem;
}

.legal-panel-stub p {
    color: var(--text2);
    font-size: .9rem;
    margin-bottom: 1.25rem;
}

.legal-panel-stub .btn-link {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    font-size: .9rem;
}

.legal-panel-stub .btn-link:hover { text-decoration: underline; }

@media (max-width: 900px) {
    .legal-doc-layout {
        grid-template-columns: 1fr;
    }
    .legal-doc-sidebar { display: none; }
    .legal-doc-tabs    { display: flex; }
}


/* logotipos.html - brand guidelines */
.brand-section { margin-bottom: 3.5rem; }

.brand-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid var(--border);
}

/* showcase de logotipos */
.brand-logo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.brand-logo-card {
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.brand-logo-card--dark  { background: #1e2128; }
.brand-logo-card--light { background: #f4f5f7; }

.brand-logo-card img { max-width: 180px; height: auto; }

.brand-logo-label {
    font-size: .75rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 600;
}

.brand-logo-card--dark  .brand-logo-label { color: rgba(255,255,255,.4); }
.brand-logo-card--light .brand-logo-label { color: rgba(0,0,0,.4); }

/* paleta de cores */
.brand-palette-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.brand-swatch {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.brand-swatch-color {
    height: 80px;
}

.brand-swatch-info {
    padding: .75rem;
    background: var(--card);
}

.brand-swatch-name {
    display: block;
    font-size: .8125rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: .2rem;
}

.brand-swatch-hex {
    display: block;
    font-size: .75rem;
    color: var(--muted);
    font-family: monospace;
}

/* o que nao fazer */
.brand-dont-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.brand-dont-card {
    border: 1px solid rgba(204,41,41,.3);
    border-radius: var(--radius);
    overflow: hidden;
}

.brand-dont-demo {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card);
    position: relative;
}

.brand-dont-demo img {
    max-height: 40px;
    max-width: 120px;
}

.brand-dont-demo--stretch img { transform: scaleX(1.8); }
.brand-dont-demo--rotate  img { transform: rotate(-30deg); }
.brand-dont-demo--color   img { filter: hue-rotate(200deg) saturate(2); }
.brand-dont-demo--contrast { background: #888; }

.brand-dont-badge {
    position: absolute;
    top: .5rem;
    right: .5rem;
    background: #cc2929;
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    padding: .2rem .45rem;
    border-radius: 4px;
    letter-spacing: .05em;
}

.brand-dont-label {
    padding: .75rem 1rem;
    font-size: .8125rem;
    color: var(--text2);
    background: var(--card);
    border-top: 1px solid var(--border);
}

/* tipografia */
.brand-type-sample {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
}

.brand-type-name {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--muted);
    margin-bottom: 1rem;
    font-weight: 600;
}

.brand-type-display {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: .5rem;
}

.brand-type-weights {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.brand-type-weight {
    font-size: .9rem;
    color: var(--text2);
}

/* download kit */
.brand-download-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.brand-download-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .75rem;
    background: var(--card);
    text-decoration: none;
    transition: border-color .2s, background .2s;
}

.brand-download-card:hover {
    border-color: var(--primary);
    background: var(--card-h);
}

.brand-download-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(204,41,41,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.brand-download-icon svg { width: 20px; height: 20px; }

.brand-download-title {
    font-size: .9rem;
    font-weight: 600;
    color: #fff;
}

.brand-download-desc {
    font-size: .8rem;
    color: var(--muted);
}

.brand-legal-note {
    background: var(--card);
    border-left: 3px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 1.25rem 1.5rem;
    font-size: .875rem;
    color: var(--text2);
    line-height: 1.7;
}

.brand-legal-note a { color: var(--primary); }

/* proteccao / tamanho minimo */
.brand-clearspace-box {
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card);
    position: relative;
    margin-bottom: 1rem;
}

.brand-clearspace-box img { max-width: 140px; }

.brand-clearspace-caption {
    font-size: .8125rem;
    color: var(--text2);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .brand-logo-grid      { grid-template-columns: 1fr; }
    .brand-palette-grid   { grid-template-columns: repeat(2, 1fr); }
    .brand-dont-grid      { grid-template-columns: 1fr; }
    .brand-download-grid  { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .brand-palette-grid { grid-template-columns: 1fr 1fr; }
}


/* reduced motion - cobre todas as animacoes do projecto */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
    /* reveal - mostrar directamente sem movimento */
    .reveal,
    .reveal-left,
    .reveal-right {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    /* sol-block child animations */
    .sol-block .sol-text,
    .sol-block .sol-img {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    /* hero - conteudo visivel imediatamente */
    .hero-badge,
    .hero-main-title,
    .hero-main-desc,
    .hero-main-desc .hero-line,
    .hero-main-actions > * {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    /* page hero - conteudo visivel sem atraso */
    .page-hero-content .breadcrumb,
    .page-hero-content h1,
    .page-hero-content > p {
        animation: none !important;
        opacity: 1 !important;
    }
    /* ken burns e hero background */
    .hero-main-bg,
    .sn-hero-bg,
    .page-hero-bg { animation: none !important; }
    /* ticker - grid estatico */
    .parc-ticker {
        animation: none !important;
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
    }
    .parc-track[aria-hidden="true"] { display: none !important; }
    /* contact info bar */
    .cib-item {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* tooltip ao copiar email */
.email-tip {
    position: absolute;
    z-index: 2000;
    transform: translate(-50%, -100%);
    padding: .4rem .7rem;
    border-radius: 8px;
    background: var(--card-h, #1c2435);
    border: 1px solid rgba(255, 255, 255, .12);
    color: var(--text, #f8fafc);
    font-size: .8125rem;
    font-weight: 600;
    white-space: nowrap;
    pointer-events: none;
    animation: email-tip-in .15s ease-out;
}
@keyframes email-tip-in { from { opacity: 0; margin-top: 4px; } }

/* navbar fina (~38 px) - todas as paginas com #navbar.navbar-float desktop: menos padding, links 13.5px, logo 30px, mais perto do topo. mobile mantem as regras existentes (alvos de toque de 44 px). */
@media (min-width: 1024px) {
    #navbar.navbar-float { top: 0.75rem; }
    #navbar.navbar-float .nlv-logo-img { height: 30px; }
    #navbar.navbar-float .nav-links { padding: 3px; gap: 2px; }
    #navbar.navbar-float .nav-links a { padding: 0.4rem 0.95rem; font-size: 0.84375rem; line-height: 1.3; }
    #navbar.navbar-float .nav-links a.active::after { bottom: 2px; }
    #navbar.navbar-float .lang-toggle { padding: 0.4rem 0.8rem; font-size: 0.8125rem; min-height: 0; }
}

/* bandeiras completas (sem recorte circular), na proporcao original de cada bandeira */
.lang-flag { width: auto; height: 16px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18); }
.lang-flag-img { width: auto; height: 100%; object-fit: contain; }
.lang-option .lang-flag { width: auto; height: 16px; }

/* footer - cor padrao do site (#0c0f17) em todas as paginas. espaco livre bem visivel antes do footer: e dado ao elemento que o precede (padding-bottom), para ficar na cor da ultima seccao e contrastar claramente com o footer. linha de separacao nitida. */
.footer-v2 { background: #0c0f17; margin-top: 0; border-top: 1px solid rgba(255, 255, 255, 0.1); }
body > :has(+ .footer-v2), #root > :has(+ .footer-v2), #root > * > :has(+ .footer-v2) { padding-bottom: clamp(6rem, 10vw, 9rem) !important; }

/* espaco antes do footer igual ao da pagina sobre nos (~200px visiveis a 1440px): cada pagina tem espaco proprio diferente no fim da ultima seccao, por isso o valor e ajustado por pagina. */
@media (min-width: 1024px) {
    body > section.sec-solucoes:has(+ .footer-v2) { padding-bottom: 212px !important; }
    body > main.soon-wrap:has(+ .footer-v2) { padding-bottom: 164px !important; }
    body > section.sn-section:has(+ .footer-v2) { padding-bottom: 144px !important; }
    body > section.section:has(+ .footer-v2) { padding-bottom: 200px !important; }
    body > main.cp-page:has(+ .footer-v2) { padding-bottom: 128px !important; }
    body > main:has(.help-cta):has(+ .footer-v2) { padding-bottom: 72px !important; }
    body > main:has(.er-cta):has(+ .footer-v2) { padding-bottom: 132px !important; }
}

/* cartoes de solucoes (pagina inicial): mais espaco entre o titulo e o texto */
.sol-card-header h3 { margin-bottom: 0.875rem; }

/* plataformas e solucoes: a seccao tem de caber no ecra quando se chega pela ancora a seccao tinha ~880px e o scroll-margin de 80px empurrava a base para fora do ecra (em janelas de ~860px). agora a ancora alinha a seccao ao topo (o padding de cima ja passa a navbar) e a seccao e mais compacta. */
#plataformas, #solucoes { scroll-margin-top: 0; }
.sec-plataformas { padding: 4.5rem 0 3.5rem; }
.sec-plataformas .sec-center-hdr { margin-bottom: 2rem; }
.sec-plataformas .plat3-grid { gap: 28px; margin-top: 0; }
.sec-plataformas .plat3-card-img { max-height: 30vh; }
.sec-plataformas .plat3-card-body { padding: 16px 8px 18px; }
.sec-plataformas .plat3-card-body p { line-height: 1.6; }
.sec-plataformas .plat3-link { padding-top: 1rem; }
.sec-solucoes { padding-top: 4.5rem; }
@media (min-width: 1024px) and (max-height: 700px) {
    .sec-plataformas { padding-top: 4rem; padding-bottom: 2.5rem; }
    .sec-plataformas .sec-center-hdr { margin-bottom: 1.25rem; }
    .sec-plataformas .plat3-card-img { max-height: 24vh; }
    .sec-solucoes { padding-top: 4rem; }
    .sec-solucoes .sec-center-hdr { margin-bottom: 1.5rem; }
    .sec-solucoes .sol-card { padding: 1.75rem 2rem; }
}

/* mama soko: o espaco antes do footer fica na cor da seccao do cta (nao do body) */
body > main:has(.ms-cta):has(+ .footer-v2) { padding-bottom: 0 !important; }
.ms-page main > section:last-child { padding-bottom: 6rem; }
@media (min-width: 1024px) { .ms-page main > section:last-child { padding-bottom: 8.75rem; } }

/* rodape: cores com contraste e hierarquia (fundo #0c0f17 mantido) titulos em sentence case, links a 8.8:1, copyright a 6.3:1, linhas finas neutras. */
.footer-v2 .fv2-col h4 { text-transform: none; letter-spacing: -0.005em; font-size: 0.9375rem; font-weight: 700; color: #f8fafc; margin-bottom: 0.75rem; }
.footer-v2 .fv2-col ul a { color: #a8b0be; font-size: 0.9375rem; padding: 0.3rem 0; }
.footer-v2 .fv2-col ul a:hover, .footer-v2 .fv2-col ul a:focus-visible { color: #ffffff; }
.footer-v2 .fv2-grid { border-bottom-color: rgba(255, 255, 255, 0.1); }
.footer-v2 .fv2-social a { color: #a8b0be; }
.footer-v2 .fv2-social a:hover { color: #ffffff; }
.footer-v2 .fv2-copy { color: #8b94a5; font-size: 0.8125rem; }

/* plataformas: descricao equilibrada, sem gradientes vermelhos, cartao inteiro clicavel */
.sec-plataformas .sec-center-hdr p { max-width: 52ch; margin-inline: auto; text-wrap: balance; }
.plat3-card { background: linear-gradient(155deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,.03) 100%); }
.plat3-card:hover { background: linear-gradient(155deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,.04) 100%); }
.btn-red { background: var(--primary); }
.btn-red:hover { background: #d32f2f; }

.plat3-card { position: relative; }
.plat3-link::after { content: ''; position: absolute; inset: 0; border-radius: 32px; }
.plat3-card:has(.plat3-link:focus-visible) { outline: 2px solid #ffffff; outline-offset: 3px; }
.plat3-link:focus-visible { outline: none; }
.plat3-card:has(.plat3-link:hover) { border-color: rgba(255, 255, 255, 0.4); }
/* brilho vermelho so no cartao do eregisto */
.plat3-card:nth-child(3) { background: linear-gradient(155deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,.03) 55%, rgba(227,6,19,.06) 100%); }
.plat3-card:nth-child(3):hover { background: linear-gradient(155deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,.04) 55%, rgba(227,6,19,.1) 100%); }

/* hero da inicio: 3 scrolls curtos (um por slide) e texto bem quebrado */
.hero-main-wrap { --hero-step: 35vh; height: calc(100vh + 3 * var(--hero-step)); }
@media (max-width: 1023px) { .hero-main-wrap { --hero-step: 35svh; height: calc(100svh + 3 * var(--hero-step)); } }
.hero-main-content { max-width: 600px; }
.hero-main-title { max-width: 600px; text-wrap: balance; }
.hero-main-desc { max-width: 560px; }
.hero-main-desc .hero-line { text-wrap: balance; }
@media (min-width: 1024px) { .hero-main-content { max-width: 500px; } .hero-main-title { max-width: 500px; } .hero-main-desc { max-width: 480px; } }

/* redes sociais do footer com borda circular */
.footer-v2 .fv2-social { gap: 0.75rem; }
.footer-v2 .fv2-social a { width: 36px; height: 36px; padding: 0; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; transition: color 0.2s, border-color 0.2s; }
.footer-v2 .fv2-social a:hover { border-color: rgba(255, 255, 255, 0.6); transform: none; }
.footer-v2 .fv2-social svg { width: 16px; height: 16px; }

/* responsividade: parceiros e logotipo do rodape */
.parc-ticker-outer::before,
.parc-ticker-outer::after { width: clamp(24px, 8vw, 140px); }
@media (max-width: 767px) {
    .parc-ticker-item { flex: 0 0 46vw; padding: 0.5rem 1rem; }
    .parc-logo-img { max-height: 44px; max-width: 100%; }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .parc-ticker-item { flex: 0 0 28vw; padding: 0.75rem 1.25rem; }
    .parc-logo-img { max-height: 56px; max-width: 150px; }
}
.fv2-logo-img { height: 34px; }
@media (max-width: 767px) { .fv2-logo-img { height: 30px; } }

/* hamburguer no padrao da navbar: ilha arredondada como o seletor de idioma; linhas absolutas (iOS antigo nao centra spans em button flex) */
.navbar-float .hamburger {
    position: relative;
    display: none;
    width: 35px;
    height: 35px;
    padding: 0;
    flex-shrink: 0;
    cursor: pointer;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;
    box-shadow: 0 4px 16px rgba(0,0,0,.15), inset 0 1px 0 rgba(255,255,255,.12);
    -webkit-appearance: none;
    appearance: none;
}
#navbar.navbar-float.scrolled .hamburger {
    background: rgba(18, 22, 34, 0.9);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.navbar-float .hamburger span {
    position: absolute;
    left: 50%;
    width: 16px;
    height: 2px;
    margin-left: -8px;
    background: #fff;
    border-radius: 2px;
}
.navbar-float .hamburger span:nth-child(1) { top: calc(50% - 6px); }
.navbar-float .hamburger span:nth-child(2) { top: calc(50% - 1px); }
.navbar-float .hamburger span:nth-child(3) { top: calc(50% + 4px); }
.navbar-float .hamburger.open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.navbar-float .hamburger.open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.navbar-float .hamburger:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 1023px) { .navbar-float .hamburger { display: block !important; } }
@media (min-width: 768px) and (max-width: 1023px) { .navbar-float .hamburger { width: 42px; height: 42px; } }

/* sobre-nos: responsividade de "Quem somos" (colunas da grelha nao podem alargar com o conteudo; estatisticas em grelha 2x2 no telemovel) */
@media (max-width: 1023px) {
    .sn-split > * { min-width: 0; }
}
@media (max-width: 767px) {
    .sn-stats,
    .sn-stats--centered {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem 1rem;
        justify-content: stretch;
    }
    .sn-stats--centered .sn-stat { min-width: 0; flex: none; }
}

/* contactos: cartoes de contacto com a largura da coluna e formulario com menos margem no telemovel */
@media (max-width: 767px) {
    .contact-direct { flex-direction: column; align-items: stretch; gap: 0.75rem; margin-bottom: 2.5rem; }
    .contact-direct-link { display: flex; width: 100%; box-sizing: border-box; }
    .contact-direct-text { min-width: 0; overflow-wrap: anywhere; }
    .section--contact .contact-form-wrap { padding: 1.5rem 1.125rem; }
}

/* contactos: estado (aberto/fechado) sempre centrado no telemovel */
@media (max-width: 767px) {
    .cib-status { text-align: center; align-self: center; width: 100%; margin-left: 0; margin-right: 0; }
}
