:root {
    --senai-blue: #003d7a;
    --senai-light: #005eb8;
    --accent: #00a0e3;
    --bg: #f4f7fb;
    --card: #ffffff;
    --text: #1a1a2e;
    --muted: #5c6b7a;
    --border: #d8e2ec;
    --shadow: 0 8px 30px rgba(0, 61, 122, 0.08);
}

* { box-sizing: border-box; }

body {
    font-family: 'DM Sans', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    margin: 0;
}

.hero {
    background: linear-gradient(135deg, var(--senai-blue) 0%, var(--senai-light) 55%, var(--accent) 100%);
    color: #fff;
}

.badge-vaga {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
}

.hero-name {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.hero-symbol {
    font-weight: 400;
    font-size: 0.72em;
    opacity: 0.88;
    margin-left: 0.15em;
    vertical-align: super;
    letter-spacing: 0;
}

.hero-role {
    font-size: 1.15rem;
    opacity: 0.95;
    margin-bottom: 1rem;
}

.hero-lead {
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 720px;
    opacity: 0.92;
}

.hero-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.25rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.qr-box {
    background: rgba(255,255,255,0.12);
    border-radius: 16px;
    padding: 1rem;
    display: inline-block;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease, transform 0.2s ease;
}

.qr-box:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
    color: #fff;
}

.qr-box img {
    border-radius: 8px;
    background: #fff;
    padding: 6px;
}

.qr-box small {
    display: block;
    margin-top: 0.5rem;
    opacity: 0.85;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--senai-blue);
    margin-bottom: 0.35rem;
}

.section-sub {
    color: var(--muted);
    margin-bottom: 1.25rem;
}

.action-lead {
    max-width: 42rem;
    font-size: 1.02rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.action-panel {
    background: var(--card);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    min-height: 110px;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.action-btn:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 160, 227, 0.15);
    color: var(--senai-blue);
}

.action-btn .icon {
    font-size: 1.6rem;
}

.timeline {
    position: relative;
    padding-left: 28px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: var(--border);
}

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

.timeline-marker {
    position: absolute;
    left: -24px;
    top: 18px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--border);
}

.timeline-item.active .timeline-marker {
    border-color: var(--accent);
    background: var(--accent);
}

.timeline-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    box-shadow: var(--shadow);
}

.timeline-period {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
}

.timeline-card h3 {
    margin: 0.25rem 0;
    font-size: 1.15rem;
    color: var(--senai-blue);
}

.timeline-role {
    color: var(--muted);
    margin-bottom: 0.75rem;
}

.timeline-card ul {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--text);
}

.fiesc-section .match-card {
    background: #fff;
    border-left: 4px solid var(--senai-light);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    height: 100%;
    box-shadow: none;
    border: 1px solid var(--border);
    border-left: 4px solid var(--senai-light);
}

.fiesc-section .action-panel .section-sub {
    margin-bottom: 0;
}

.keyword-band {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.keyword-pill {
    display: inline-block;
    background: var(--senai-blue);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 5px 11px;
    border-radius: 999px;
    line-height: 1.3;
    white-space: nowrap;
}

.skill-tags--wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.5rem;
    margin-bottom: 0.85rem;
}

.skill-tags--wrap span {
    margin: 0;
    white-space: normal;
    line-height: 1.35;
    max-width: 100%;
}

.highlight-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    height: 100%;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.highlight-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    color: #0d6e3f;
    background: #e8f8ef;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    max-width: 100%;
}

.highlight-card h3 {
    font-size: 1.05rem;
    color: var(--senai-blue);
    margin-bottom: 0.85rem;
    line-height: 1.35;
}

.highlight-sub {
    font-size: 0.8rem;
    color: var(--senai-light);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin: 0.65rem 0 0.45rem;
}

.highlight-card .skill-tags span {
    font-size: 0.76rem;
    padding: 4px 9px;
}

.match-card h4 {
    font-size: 1rem;
    color: var(--senai-blue);
    margin-bottom: 0.5rem;
}

.match-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.match-card--featured {
    border-left-color: var(--accent);
    background: linear-gradient(135deg, #fff 0%, #f0f9ff 100%);
    border: 1px solid rgba(0, 160, 227, 0.2);
    position: relative;
}

.match-featured-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--accent);
    background: rgba(0, 160, 227, 0.12);
    padding: 2px 8px;
    border-radius: 999px;
    margin-bottom: 0.5rem;
}

.skill-card, .project-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.25rem;
    height: 100%;
    box-shadow: var(--shadow);
}

.skill-card h4, .project-card h4 {
    color: var(--senai-blue);
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.skill-tags span {
    display: inline-block;
    background: #eef4fa;
    color: var(--senai-blue);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
    margin: 0 6px 6px 0;
}

.project-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s;
}

.project-card:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
}

.project-card p {
    color: var(--muted);
    margin-bottom: 0.5rem;
}

.project-link {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
}

.action-panel .formation-card__heading {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--senai-blue);
    margin: 0 0 0.65rem;
    padding-bottom: 0.35rem;
    border-bottom: 2px solid rgba(0, 160, 227, 0.25);
}

.action-panel .formation-card__heading:not(:first-child) {
    margin-top: 1.5rem;
}

.action-panel .formation-card__text {
    margin: 0;
    color: var(--text);
    line-height: 1.5;
}

.action-panel .formation-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.action-panel .formation-card__list li {
    padding: 0.4rem 0;
    color: var(--text);
    border-bottom: 1px solid var(--border);
}

.action-panel .formation-card__list li:last-child {
    border-bottom: none;
}

.action-panel .formation-card__list--cols {
    display: grid;
    grid-template-columns: 1fr;
    column-gap: 1.5rem;
}

@media (min-width: 576px) {
    .action-panel .formation-card__list--cols {
        grid-template-columns: 1fr 1fr;
    }
}

.site-footer {
    background: var(--senai-blue);
    color: rgba(255,255,255,0.85);
}

.site-footer p { margin: 0.25rem 0; }

.audio-player {
    background: #eef4fa;
    border-radius: 12px;
    padding: 1rem;
}

.logs-table {
    background: var(--card);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.logs-table th {
    background: var(--senai-blue);
    color: #fff;
}

@media (max-width: 576px) {
    .action-btn { min-height: 96px; font-size: 0.82rem; }
    .hero-contact { flex-direction: column; gap: 0.35rem; }
}
