:root {
    --bg: #0b1224;
    --panel: rgba(255, 255, 255, 0.04);
    --panel-strong: rgba(255, 255, 255, 0.07);
    --border: rgba(255, 255, 255, 0.12);
    --text: #e2e8f0;
    --muted: #a0aec0;
    --accent: #22d3ee;
    --accent-2: #fbbf24;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    background: #0b1224;
    color: var(--text);
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 20% 10%, rgba(34, 211, 238, 0.16), transparent 50%),
        radial-gradient(circle at 85% 15%, rgba(251, 191, 36, 0.08), transparent 55%);
}


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

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

.page-shell {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px 80px;
}

.nav-shell {
    position: sticky;
    top: 0;
    z-index: 11;
    padding: 18px 0;
    margin-bottom: 20px;
    background: linear-gradient(180deg, rgba(11, 18, 36, 0.9) 0%, rgba(11, 18, 36, 0.75) 60%, transparent 100%);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.brand-mark {
    font-weight: 700;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
}

.brand-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 0 18px rgba(34, 211, 238, 0.8);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    font-weight: 600;
    color: var(--muted);
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    padding: 10px 0 !important;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--text);
    border-color: var(--accent);
    transform: translateY(-1px);
}

.nav-link.active {
    color: var(--text) !important;
    border-color: var(--accent);
}

.hero {
    padding: 48px 0 32px;
}

.hero-small {
    padding-top: 42px;
}

.eyebrow {
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.hero-title {
    font-family: 'Space Grotesk', 'Manrope', sans-serif;
    font-weight: 700;
    font-size: clamp(2.2rem, 3.6vw, 3.2rem);
    line-height: 1.1;
    margin-bottom: 16px;
}

.hero-lead {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 760px;
    margin-bottom: 26px;
}

.hero-title .highlight {
    color: var(--accent);
    text-shadow: 0 10px 30px rgba(34, 211, 238, 0.28);
}

.btn-cta {
    padding: 12px 18px;
    border-radius: 12px;
    border: 1px solid var(--accent);
    background: linear-gradient(135deg, var(--accent), #14b8a6);
    color: #0b1224;
    font-weight: 700;
    box-shadow: 0 12px 35px rgba(34, 211, 238, 0.28);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-cta .cta-text-short {
    display: none;
}

.btn-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 45px rgba(34, 211, 238, 0.36);
    color: #0b1224;
}

.btn-ghost {
    padding: 12px 18px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--panel);
    color: var(--text);
    font-weight: 700;
    transition: border-color 0.18s ease, transform 0.18s ease;
}

.btn-ghost:hover {
    border-color: var(--accent);
    transform: translateY(-1px);
    color: var(--text);
}

.btn-ghost.btn-youtube {
    border-color: #ff5f6d;
    color: #ff8b95;
    background: linear-gradient(135deg, rgba(255, 95, 109, 0.16), rgba(255, 95, 109, 0.06));
    box-shadow: 0 10px 28px rgba(255, 95, 109, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-ghost.btn-youtube::before {
    content: "";
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 10px solid currentColor;
    filter: drop-shadow(0 4px 10px rgba(255, 95, 109, 0.35));
}

.btn-ghost.btn-youtube:hover {
    border-color: #ff7a85;
    color: #ff9ba5;
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 16px 40px rgba(255, 95, 109, 0.32);
}

.chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    min-width: 160px;
    max-width: 160px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--panel);
    color: var(--muted);
    font-weight: 600;
    gap: 8px;
    margin: 4px;
    font-size: 0.95rem;
}

.chip-list .chip {
    margin: 0;
}

.chip .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 10px rgba(34, 211, 238, 0.65);
}

.chip svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.glass-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 20px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

.licencas-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.licencas-hero-copy {
    max-width: 760px;
}

.licencas-hero-actions {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    padding-top: 4px;
}

.btn-ghost.btn-logout {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-right: 14px;
}

.btn-ghost.btn-logout svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.licencas-card {
    position: relative;
    overflow: hidden;
    padding: 0;
    border-radius: 22px;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.licencas-card:hover {
    transform: translateY(-3px);
    border-color: rgba(34, 211, 238, 0.55);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
    color: var(--text);
}

.licencas-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(34, 211, 238, 0.14), transparent 42%),
        linear-gradient(225deg, rgba(251, 191, 36, 0.08), transparent 38%);
    pointer-events: none;
}

.licencas-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 20px 20px 0;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(34, 211, 238, 0.12);
    border: 1px solid rgba(34, 211, 238, 0.22);
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    width: fit-content;
}

.licencas-card-content {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 18px 20px 20px;
    min-height: 126px;
}

.licencas-card-title {
    font-family: 'Space Grotesk', 'Manrope', sans-serif;
    font-size: clamp(1.35rem, 2.2vw, 1.8rem);
    line-height: 1.12;
    margin-bottom: 10px;
}

.licencas-card-description {
    color: var(--muted);
    max-width: 52ch;
}

.licencas-card-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text);
    flex: 0 0 auto;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.licencas-card-arrow svg {
    width: 20px;
    height: 20px;
}

.login-page .page-shell {
    max-width: none;
    width: 100%;
}

.login-page .login-shell {
    width: min(100%, 768px);
    margin: 0 auto;
}

.login-page .login-hero {
    text-align: left;
    padding: 32px 40px 10px;
    margin-bottom: 0;
}

.login-page .login-hero .hero-title,
.login-page .login-hero .hero-lead {
    margin-left: 0;
    margin-right: 0;
}

.login-page .login-hero .eyebrow,
.login-page .login-hero .hero-title {
    text-align: left;
}

.login-page .login-hero .hero-title {
    font-size: clamp(1.75rem, 2.1vw, 2.35rem);
    line-height: 1.05;
}

.login-card {
    width: 100%;
    max-width: none;
    padding: 32px 40px;
    box-sizing: border-box;
}

.login-page .login-card {
    display: block;
    margin-top: 0;
}

.login-card form {
    width: 100%;
}

.login-card .form-control {
    width: 100%;
    min-width: 0;
}

@media (max-width: 575.98px) {
    .login-page .login-hero {
        text-align: left;
        padding: 16px 16px 14px;
    }

    .login-page .login-hero .eyebrow {
        margin-bottom: 10px;
    }

    .login-page .login-hero .hero-title {
        text-align: left;
        margin-top: 0;
        margin-bottom: 0;
    }

    .login-page .login-card {
        margin-top: 10px;
    }
}

.glass-card .text-muted {
    color: var(--text) !important;
}

.glass-card .chip {
    width: auto;
    min-width: 0;
    max-width: 100%;
    justify-content: flex-start;
}

.availability {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    align-self: flex-start;
    width: 100%;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: var(--panel-strong);
    border: 1px solid var(--border);
    font-weight: 700;
    text-align: left;
    color: var(--text);
}

.availability .pulse {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0.15);
}

.stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.98rem;
}

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

.stat strong {
    color: var(--text);
    font-size: 1.1rem;
}

.tiles {
    margin-top: 36px;
}

.tile {
    height: 100%;
    border: 1px solid var(--border);
    background: var(--panel);
    border-radius: 16px;
    padding: 18px;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.tile:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.tile h5 {
    margin-bottom: 6px;
    font-weight: 700;
}

.tile p {
    color: var(--muted);
    margin: 0;
}

.cta-strip {
    margin-top: 42px;
    padding: 18px 20px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.14), rgba(11, 18, 36, 0.9));
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.cta-strip strong {
    color: var(--text);
}

.cta-strip span {
    color: var(--muted);
}

.project-card {
    position: relative;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(11, 18, 36, 0.92));
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.32);
    display: grid;
    gap: 12px;
    overflow: hidden;
    transition: border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
    isolation: isolate;
}

.project-card::before {
    content: "";
    position: absolute;
    inset: -10%;
    background: radial-gradient(circle at 20% 20%, rgba(34, 211, 238, 0.18), transparent 35%),
        radial-gradient(circle at 80% 15%, rgba(251, 191, 36, 0.15), transparent 40%);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
    z-index: 0;
    filter: blur(14px);
}

.project-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid transparent;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.35), rgba(251, 191, 36, 0.2));
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
    z-index: 0;
}

.project-card > * {
    position: relative;
    z-index: 1;
}

.project-card:hover {
    border-color: rgba(34, 211, 238, 0.4);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.38);
    transform: translateY(-4px);
}

.project-card:hover::before,
.project-card:hover::after {
    opacity: 1;
}

.project-thumb {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: #0f172a;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.32);
    line-height: 0;
    height: 280px;
}

.project-thumb img {
    display: block;
    width: 100%;
    height: 100% !important;
    transition: transform 0.24s ease;
    object-fit: cover;
}

.project-thumb a {
    display: block;
    height: 100%;
}

.project-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-card:hover .project-thumb img {
    transform: scale(1.03);
}

.project-card h5 {
    margin: 4px 0 2px;
    letter-spacing: 0.01em;
}

.project-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
    text-align: justify;
    text-indent: 14px;
}

.project-card .pill:not(.pill-icon) {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: #e5edf7;
}

.cta-dual {
    width: 100%;
}

.cta-equal .btn-cta,
.cta-equal .btn-ghost.btn-youtube {
    flex: 0 0 auto;
    min-width: 0;
}

.cta-spread {
    justify-content: space-between;
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--panel-strong);
    color: var(--muted);
    font-weight: 600;
}

.tech-pill,
.pill-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    padding: 10px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: radial-gradient(circle at 30% 30%, rgba(34, 211, 238, 0.18), rgba(255, 255, 255, 0.04));
    color: var(--accent);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.32);
}

.tech-pill.alt,
.pill-icon.alt {
    color: var(--accent-2);
}

.leaflet-pill {
    width: 52px;
    height: 52px;
    padding: 10px;
}

.tech-icon,
.pill-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.tech-icon .accent-2,
.pill-icon svg .accent-2 {
    stroke: var(--accent-2);
}

.tech-icon .fill {
    fill: currentColor;
}

.tech-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.32));
}

.timeline {
    display: grid;
    gap: 16px;
}

.step {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px 18px;
    box-shadow: var(--shadow);
}

.step p {
    margin: 6px 0 0;
    color: var(--muted);
}

.legal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.legal-grid .step {
    height: 100%;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-links a {
    color: var(--muted);
    font-weight: 600;
}

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

.bio-photo {
    width: 160px;
    height: 160px;
    border-radius: 28px;
    border: 1px solid var(--border);
    object-fit: cover;
    background: #0f172a;
    display: block;
}

.contact-links img {
    width: 30px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.contact-links .icon-linkedin {
    filter: grayscale(1) brightness(1.4);
    opacity: 0.8;
}

@media (max-width: 575.98px) {
    .contact-links {
        font-size: 0.95rem;
    }

    .contact-links a,
    .contact-links strong,
    .contact-links span {
        font-size: 0.95rem;
        color: rgba(226, 232, 240, 0.65);
    }

    .form-actions-mobile .btn-cta,
    .form-actions-mobile .btn-ghost {
        font-size: 0.9rem;
    }
}

label {
    font-weight: 600;
}

.form-control,
textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: #fff !important;
    caret-color: #fff;
}

.form-control::placeholder,
textarea::placeholder {
    color: rgba(226, 232, 240, 0.65) !important;
}

.form-control:focus,
textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 0.2rem rgba(34, 211, 238, 0.15);
    background: rgba(255, 255, 255, 0.06);
    color: #fff !important;
}

footer {
    padding: 26px 0 14px;
    color: var(--muted);
    border-top: 1px solid var(--border);
    margin-top: 48px;
    text-align: center;
}

.footer-break::before {
    content: " — ";
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--panel);
    color: var(--text);
    align-items: center;
    justify-content: center;
}

.nav-toggle svg {
    width: 22px;
    height: 22px;
}

@media (max-width: 991px) {
    .hero {
        padding-top: 26px;
    }

    .licencas-hero {
        flex-direction: column;
    }

    .licencas-hero-actions {
        width: 100%;
        justify-content: flex-start;
        padding-top: 0;
    }

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

@media (max-width: 575.98px) {
    .nav-shell .container {
        position: relative;
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 14px 16px;
        background: linear-gradient(180deg, rgba(11, 18, 36, 0.98) 0%, rgba(11, 18, 36, 0.96) 100%);
        border: 1px solid var(--border);
        border-radius: 16px;
        box-shadow: var(--shadow);
        width: 100%;
        z-index: 12;
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .nav-link {
        display: block;
        padding: 12px 0 !important;
        border-bottom: 1px solid var(--border);
        width: 100%;
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .hero {
        text-align: center;
    }

    .hero-title {
        text-align: center;
        font-size: clamp(1.6rem, 5.2vw, 2.2rem);
    }

    .hero-lead {
        margin-left: auto;
        margin-right: auto;
        font-size: clamp(0.98rem, 4.2vw, 1.05rem);
    }

    .licencas-hero {
        text-align: left;
    }

    .licencas-hero-copy {
        width: 100%;
    }

    .licencas-hero-actions {
        justify-content: center;
    }

    .btn-ghost.btn-logout {
        width: 100%;
        justify-content: center;
    }

    .licencas-card-badge {
        margin: 16px 16px 0;
    }

    .licencas-card-content {
        flex-direction: column;
        align-items: flex-start;
        min-height: 0;
        padding: 16px;
    }

    .licencas-card-arrow {
        width: 44px;
        height: 44px;
        margin-top: 6px;
    }

    .d-flex.flex-wrap.gap-3 {
        justify-content: center;
        flex-direction: row;
        align-items: stretch;
    }

    .form-actions-mobile .btn-cta,
    .form-actions-mobile .btn-ghost {
        width: 100%;
        min-width: 0;
        justify-content: center;
    }

    .d-flex.flex-wrap.gap-3 .btn-cta,
    .d-flex.flex-wrap.gap-3 .btn-ghost {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 1 1 48%;
        min-width: 140px;
        max-width: 200px;
        width: auto;
        text-align: center;
        padding: 10px 14px;
        font-size: 0.95rem;
    }

    .chip {
        flex: 0 0 160px;
        text-align: center;
    }

    .glass-card .chip {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        flex: 1 1 100%;
    }

    /* Center tech pills on small screens */
    .project-card .d-flex.flex-wrap.gap-2 {
        justify-content: center;
    }

    .cta-dual {
        justify-content: center;
        gap: 10px;
    }

    .cta-spread {
        justify-content: center;
    }

    .cta-dual .btn-cta,
    .cta-dual .btn-ghost.btn-youtube {
        flex: 1 1 100%;
        max-width: 320px;
        width: 100%;
        min-width: 0;
        justify-content: center;
        text-align: center;
        padding: 10px 14px;
        font-size: 0.95rem;
    }

    .cta-equal .btn-cta,
    .cta-equal .btn-ghost.btn-youtube {
        min-width: 0;
        max-width: 100%;
    }

    .entulho-cta .btn-cta,
    .entulho-cta .btn-ghost.btn-youtube {
        max-width: 320px;
    }

    .availability {
        font-size: 0.95rem;
    }

    .stat {
        font-size: 0.9rem;
    }

    .stat strong {
        font-size: 1rem;
    }

    .tile h5 {
        font-size: 1.05rem;
    }

    .tile p {
        font-size: 0.95rem;
    }

    .tiles {
        margin-top: 16px;
    }

    .cta-strip {
        margin-top: 12px;
    }

    .cta-strip strong {
        font-size: 1rem;
    }

    .cta-strip span {
        font-size: 0.95rem;
    }

    .cta-strip .btn-cta {
        padding: 10px 14px;
        font-size: 0.95rem;
    }

    .footer-break {
        display: block;
        margin-top: 4px;
    }

    .footer-break::before {
        content: "" !important;
    }

footer {
        margin-top: 16px;
        padding-top: 14px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .cta-dual {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
    }

    .cta-dual .btn-cta,
    .cta-dual .btn-ghost.btn-youtube {
        flex: 0 0 auto;
        width: 100%;
        max-width: 320px;
        justify-content: center;
        text-align: center;
    }

    .cta-equal .btn-cta,
    .cta-equal .btn-ghost.btn-youtube {
        flex: 1 1 100%;
        width: 100%;
        max-width: 320px;
        min-width: 0;
        justify-content: center;
    }

    .cta-spread {
        justify-content: center;
        gap: 14px;
    }

    .cta-spread .btn-cta,
    .cta-spread .btn-ghost.btn-youtube {
        flex: 0 0 auto;
        width: auto;
    }
}

@media (max-width: 555px) {
    .chip-list {
        justify-content: center;
    }

    .chip-list .chip {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
        width: calc(50% - 10px);
        min-width: 0;
        margin: 0;
        text-align: center;
    }

    .glass-card .chip {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 460px) {
    .d-flex.flex-wrap.gap-3 .btn-cta,
    .d-flex.flex-wrap.gap-3 .btn-ghost {
        flex: 1 1 100%;
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }
}

@media (max-width: 462px) {
    .cta-dual .btn-cta,
    .cta-dual .btn-ghost.btn-youtube,
    .entulho-cta .btn-cta,
    .entulho-cta .btn-ghost.btn-youtube {
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 457px) {
    .cta-dual .btn-cta,
    .cta-dual .btn-ghost.btn-youtube {
        flex: 1 1 100%;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 393px) {
    .chip {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        flex: 1 1 100%;
    }

    .glass-card .chip {
        width: 100%;
    }
}

@media (max-width: 360px) {
    body {
        overflow-x: hidden;
    }

    .page-shell {
        padding: 0 12px 80px;
    }

    .login-page .login-shell {
        width: 100%;
    }

    .login-page .login-hero {
        padding: 12px 12px 12px;
    }

    .login-page .login-hero .eyebrow {
        margin-bottom: 10px;
    }

    .login-page .login-hero .hero-title {
        text-align: left;
        margin-top: 0;
        margin-bottom: 0;
    }

    .login-page .login-card {
        padding: 18px 12px;
        margin-top: 10px;
    }

    .login-page .login-card .mb-3 {
        margin-bottom: 0.55rem !important;
    }

    .login-page .login-card .mb-4 {
        margin-bottom: 0.7rem !important;
    }

    .login-page .login-card .form-label {
        margin-bottom: 0.25rem;
        font-size: 0.92rem;
    }

    .login-page .login-card .form-control {
        padding: 0.45rem 0.65rem;
        font-size: 0.95rem;
        border-radius: 10px;
    }

    .login-page .login-card .btn-cta {
        padding: 0.55rem 0.9rem;
        font-size: 0.95rem;
    }

    .hero-title {
        font-size: clamp(1.35rem, 6vw, 1.75rem);
    }

    .hero-lead {
        font-size: 0.95rem;
    }

    .d-flex.flex-wrap.gap-3 .btn-cta,
    .d-flex.flex-wrap.gap-3 .btn-ghost {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .chip-list {
        gap: 8px;
    }

    .chip-list .chip {
        flex: 1 1 100%;
        width: 100%;
        min-width: 0;
        margin: 0;
    }
}

@media (max-width: 348px) {
    .login-page .login-hero {
        padding: 10px 10px 10px;
    }

    .login-page .login-hero .eyebrow {
        margin-bottom: 10px;
    }

    .login-page .login-hero .hero-title {
        text-align: left;
        margin-top: 0;
        margin-bottom: 0;
    }

    .login-page .login-card {
        padding: 16px 10px;
        margin-top: 10px;
    }

    .login-page .login-card .mb-3 {
        margin-bottom: 0.45rem !important;
    }

    .login-page .login-card .mb-4 {
        margin-bottom: 0.55rem !important;
    }

    .login-page .login-card .form-control {
        padding: 0.4rem 0.55rem;
        font-size: 0.92rem;
    }

    .login-page .login-card .btn-cta {
        padding: 0.5rem 0.8rem;
    }

    .btn-cta .cta-text-full {
        display: none;
    }

    .btn-cta .cta-text-short {
        display: inline;
    }
}
