/* ============================================
   Lucas Piffer — Portfolio
   ============================================ */

:root {
    --bg:           #FFFFFF;
    --bg-alt:       #F7F8F8;
    --primary:      #22403E;
    --primary-dark: #182E2D;
    --primary-light:#E9ECEC;
    --dark:         #222021;
    --text:         #434142;
    --muted:        #5F6260;
    --border:       #DCE0E0;

    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --radius-sm:   8px;
    --radius:      12px;
    --radius-lg:   20px;
    --radius-full: 9999px;

    --shadow:    0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,.08);
    --shadow-lg: 0 20px 48px rgba(0,0,0,.10);

    --section-py: 96px;
}

/* ---- Reset ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* ---- Idioma (PT padrão / EN sob data-lang) ---- */
.i18n-en { display: none; }
html[data-lang="en"] .i18n-pt { display: none; }
html[data-lang="en"] .i18n-en { display: inline; }

/* ---- Container ---- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   NAVEGAÇÃO
   ============================================ */
.nav {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s, box-shadow .25s;
}
.nav--scrolled {
    border-bottom-color: var(--border);
    box-shadow: var(--shadow);
}
.nav__container {
    max-width: none;
    margin: 0;
    padding: 0 16px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav__logo {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -.5px;
    flex-shrink: 0;
    transition: color .2s;
}

.nav__right { display: flex; align-items: center; gap: 14px; }

/* Botão de idioma */
.lang-toggle {
    font-family: var(--font);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .03em;
    padding: 7px 13px;
    border-radius: var(--radius-full);
    border: 1.5px solid var(--border);
    background: none;
    color: var(--text);
    cursor: pointer;
    transition: border-color .2s, color .2s;
}
.lang-toggle:hover { border-color: var(--primary); color: var(--primary); }
.nav--menu-open .lang-toggle { color: #fff; border-color: rgba(255,255,255,.3); }
.nav--menu-open .lang-toggle:hover { border-color: #fff; color: #fff; }

/* Botão hambúrguer */
.nav__toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}
.nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: transform .3s, opacity .3s, background .2s;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav--menu-open { background: transparent; box-shadow: none; }
.nav--menu-open .nav__logo { color: #fff; }
.nav--menu-open .nav__toggle span { background: #fff; }

/* Menu em tela cheia */
.nav__menu {
    position: fixed;
    inset: 0;
    z-index: 150;
    background: var(--dark);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 14px;
    padding: 0 24px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s;
}
.nav__menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity .3s ease, transform .3s ease;
}
.nav__menu-link {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -.03em;
    color: rgba(255,255,255,.55);
    transition: color .2s;
}
.nav__menu-link:hover { color: #fff; }
.nav__menu .btn { margin-top: 20px; }

/* ============================================
   BOTÕES
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-family: var(--font);
    font-weight: 600;
    font-size: .9rem;
    border: none;
    cursor: pointer;
    transition: background .2s, box-shadow .2s, transform .15s, border-color .2s, color .2s;
    text-decoration: none;
    white-space: nowrap;
}
.btn--primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(37,99,235,.28);
}
.btn--primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 6px 20px rgba(37,99,235,.38);
    transform: translateY(-1px);
}
.btn--outline {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border);
}
.btn--outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.btn--ghost {
    background: transparent;
    color: var(--text);
}
.btn--ghost:hover { background: var(--bg-alt); }
.btn--sm { padding: 8px 18px; font-size: .82rem; }
.hero .btn--ghost {
    color: #fff;
    border: 1.5px solid rgba(255,255,255,.2);
}
.hero .btn--ghost:hover { background: rgba(255,255,255,.08); }
.hero .btn--primary {
    background: #71E5A4;
    color: var(--dark);
    box-shadow: 0 4px 12px rgba(113,229,164,.28);
}
.hero .btn--primary:hover {
    background: #80F4B3;
    box-shadow: 0 6px 20px rgba(113,229,164,.38);
}

/* ============================================
   UTILITÁRIOS DE SEÇÃO
   ============================================ */
.section-label {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(1.9rem, 2.6vw + 1.2rem, 3rem);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.15;
    color: var(--dark);
    margin-bottom: 48px;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    background: var(--dark);
    border-radius: 32px;
    margin: 16px 16px 0;
    padding: 96px 0 72px;
    overflow: hidden;
    position: relative;
}
.hero__grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 64px;
    align-items: center;
}

/* Badge pulsante — versão padrão (fundo claro), usada fora do hero escuro */
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .78rem;
    font-weight: 600;
    color: #059669;
    background: #ECFDF5;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
}
.hero__badge::before {
    content: '';
    width: 7px;
    height: 7px;
    background: #10B981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: .35; }
}

.hero__title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1.15;
    color: var(--dark);
    margin-bottom: 10px;
}
.text-accent { color: var(--primary); }

.hero__subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--muted);
    margin-bottom: 20px;
}
.hero__desc {
    font-size: 1.05rem;
    color: var(--muted);
    line-height: 1.75;
    margin-bottom: 36px;
}
.hero__proof {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 32px;
}
.hero__proof-card {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    transition: border-color .2s, background .2s;
}
a.hero__proof-card:hover {
    border-color: rgba(113,229,164,.6);
    background: rgba(255,255,255,.08);
}
.hero__proof-tag {
    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 1px;
}
.hero__proof-num {
    font-size: 1.4rem;
    font-weight: 800;
    color: #71E5A4;
    line-height: 1.1;
}
.hero__proof-label {
    font-size: .72rem;
    color: rgba(255,255,255,.55);
    line-height: 1.35;
}
.hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.hero__meta {
    display: flex;
    gap: 24px;
    font-size: .82rem;
    color: var(--muted);
    flex-wrap: wrap;
}

/* Foto hero */
.hero__photo { display: flex; justify-content: center; position: relative; }
.hero__photo-wrapper {
    position: relative;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: var(--primary-light);
    border: 4px solid var(--border);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero__photo-clip {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero__id-chip {
    position: absolute;
    left: 55.3%;
    bottom: 1.2%;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: #fff;
    font-size: .82rem;
    font-weight: 700;
    padding: 8px 16px 8px 12px;
    border-radius: var(--radius-full);
    border: 3px solid var(--dark);
    box-shadow: 0 8px 24px rgba(0,0,0,.35);
    white-space: nowrap;
    z-index: 2;
}
.hero__id-chip__dot {
    position: relative;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #27A85E;
    flex-shrink: 0;
}
.hero__photo-fallback {
    font-size: 5rem;
    font-weight: 800;
    color: var(--primary);
    opacity: .3;
    position: absolute;
}
.hero__img[src] ~ .hero__photo-fallback { display: none; }

/* Versões escuras — só dentro do card escuro do hero da home */
.hero .hero__badge { color: #71E5A4; background: rgba(113,229,164,.2); }
.hero .hero__badge::before { background: #71E5A4; }
.hero .text-accent { color: #71E5A4; }
.hero .hero__title {
    font-size: clamp(2.25rem, 3vw + 1.2rem, 4.25rem);
    line-height: 1.08;
    color: #fff;
}
.hero .hero__subtitle { color: rgba(255,255,255,.6); }
.hero .hero__desc { color: rgba(255,255,255,.6); }
.hero .hero__desc strong { color: #fff; font-weight: 700; }
.hero .hero__meta { color: rgba(255,255,255,.5); }
.hero .hero__photo-wrapper {
    background: rgba(255,255,255,.06);
    border: 4px solid rgba(255,255,255,.12);
    box-shadow: 0 20px 48px rgba(0,0,0,.35);
}
.hero .hero__photo-fallback { color: rgba(255,255,255,.25); opacity: 1; }

/* ============================================
   EMPRESAS
   ============================================ */
.empresas {
    padding: 64px 0;
    background: var(--bg-alt);
}
.empresas__label {
    text-align: center;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 32px;
}
.empresas__logos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.empresa-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 28px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 88px;
    box-shadow: var(--shadow);
}
.empresas__logos img {
    height: 32px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(.6);
    transition: filter .25s;
}
.empresas__logos img[alt="Refúgios Urbanos"] { height: 60px; }
.empresa-card:hover img { filter: grayscale(0%) opacity(1); }
.logo-txt {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--muted);
    letter-spacing: -.02em;
}

/* ============================================
   SERVIÇOS (acordeão)
   ============================================ */
.servicos { padding: var(--section-py) 0; }
.ia-processo { padding: var(--section-py) 0; background: var(--bg-alt); }
.ia-processo__lead {
    color: var(--muted);
    line-height: 1.75;
    font-size: 1.02rem;
    max-width: 680px;
    margin-top: 4px;
}
.ia-processo .accordion { margin-top: 32px; }
.accordion { border-top: 1px solid var(--border); }
.accordion__item { border-bottom: 1px solid var(--border); }
.accordion__header {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 28px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font);
}
.accordion__num {
    font-size: .85rem;
    font-weight: 700;
    color: var(--muted);
    width: 44px;
    flex-shrink: 0;
}
.accordion__title {
    flex: 1;
    font-size: clamp(1.3rem, 1.5vw + 1rem, 1.8rem);
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--dark);
}
.accordion__icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--muted);
    flex-shrink: 0;
    transition: transform .25s, background .25s, color .25s, border-color .25s;
}
.accordion__item.is-open .accordion__icon {
    background: var(--dark);
    color: #fff;
    border-color: var(--dark);
    transform: rotate(45deg);
}
.accordion__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}
.accordion__item.is-open .accordion__body { max-height: 320px; }
.accordion__body-inner {
    padding: 0 0 32px 68px;
}
.accordion__body-inner p {
    color: var(--muted);
    line-height: 1.75;
    font-size: .97rem;
    max-width: 640px;
    margin-bottom: 16px;
}

/* ============================================
   MODAL DE SUGESTÃO DE IDIOMA (primeira visita)
   ============================================ */
.lang-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(34, 32, 33, .6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}
.lang-modal-overlay.is-open { opacity: 1; pointer-events: auto; }
.lang-modal {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 60px rgba(0,0,0,.3);
    padding: 36px 32px;
    max-width: 360px;
    width: 100%;
    text-align: center;
    transform: translateY(12px) scale(.97);
    transition: transform .25s ease;
}
.lang-modal-overlay.is-open .lang-modal { transform: translateY(0) scale(1); }
.lang-modal h2 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -.01em;
    margin-bottom: 8px;
    line-height: 1.3;
}
.lang-modal__hint {
    font-size: .84rem;
    color: var(--muted);
    margin-bottom: 24px;
    line-height: 1.5;
}
.lang-modal__options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}
.lang-modal__option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: var(--radius);
    border: 2px solid var(--border);
    background: var(--bg-alt);
    font-weight: 600;
    font-size: .95rem;
    color: var(--text);
    cursor: pointer;
    transition: border-color .2s, background .2s;
    font-family: inherit;
    text-align: left;
    width: 100%;
}
.lang-modal__option.is-selected {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary);
}
.lang-modal__confirm {
    width: 100%;
    justify-content: center;
    border: none;
    cursor: pointer;
}

/* ============================================
   SOBRE
   ============================================ */
.sobre { padding: var(--section-py) 0; }
.sobre__grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 80px;
    align-items: center;
}
.sobre__text .section-title { margin-bottom: 24px; }
.sobre__text p {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: .97rem;
}
.sobre__text p:last-of-type { margin-bottom: 0; }
.sobre__text strong { color: var(--text); font-weight: 600; }

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}
.skill-tag {
    background: var(--primary-light);
    color: var(--primary);
    font-size: .8rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    transition: background .2s;
}
.skill-tag:hover { background: #71E5A4; }

.sobre__visual { display: flex; justify-content: center; }
.sobre__photo-wrapper {
    position: relative;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--primary-light);
    border: 4px solid var(--border);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}
.sobre__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sobre__photo-fallback {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    opacity: .3;
    position: absolute;
}
.sobre__img[src] ~ .sobre__photo-fallback { display: none; }

/* ============================================
   PROJETOS
   ============================================ */
.projetos {
    padding: var(--section-py) 0;
    background: var(--bg-alt);
}
.projetos__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Cards */
.projeto-card {
    border-radius: var(--radius-lg);
    transition: transform .25s, box-shadow .25s;
    cursor: default;
}
.projeto-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}
.projeto-card__body {
    padding: 32px 32px 24px;
    height: 360px;
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-lg);
}

/* Cores dos cards */
.projeto-card--blue   { background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%); }
.projeto-card--purple { background: linear-gradient(135deg, #F5F3FF 0%, #EDE9FE 100%); }
.projeto-card--teal   { background: linear-gradient(135deg, #F0FDFA 0%, #CCFBF1 100%); }
.projeto-card--green  { background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%); }
.projeto-card--indigo { background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%); }
.projeto-card--slate  { background: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%); }

/* Tags dentro dos cards */
.projeto-card__tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.tag {
    font-size: .72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    letter-spacing: .02em;
}
.tag--pink   { background: #FDF2F8; color: #9D174D; }
.tag--orange { background: #FFF7ED; color: #C2410C; }
.tag--gray   { background: #F1F5F9; color: #475569; }
.tag--blue   { background: #EFF6FF; color: #1D4ED8; }
.tag--red    { background: #FEF2F2; color: #B91C1C; }

.projeto-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1.3;
}
.projeto-card__desc {
    font-size: .88rem;
    color: var(--muted);
    line-height: 1.65;
    flex: 1;
    margin-bottom: 24px;
    overflow: hidden;
}

/* Projetos secundários: mesma estrutura, bem mais discretos */
.projetos__mini-label {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 40px 0 16px;
}
.projetos__grid--mini { gap: 16px; }
.projeto-card--mini {
    background: var(--bg);
    border: 1px solid var(--border);
    box-shadow: none;
}
.projeto-card--mini:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--primary-light);
}
.projeto-card--mini .projeto-card__body {
    height: auto;
    padding: 22px 24px;
}
.projeto-card--mini .projeto-card__title {
    font-size: .92rem;
    margin-bottom: 6px;
}
.projeto-card--mini .projeto-card__desc {
    font-size: .82rem;
    flex: none;
    margin-bottom: 12px;
}
.projeto-card--mini .inline-link { font-size: .82rem; }

/* Depoimentos (prova social) na página inicial */
.depoimentos { padding: var(--section-py) 0; }
.depoimentos .section-title { margin-bottom: 16px; }
.depoimentos__intro { color: var(--muted); max-width: 620px; margin-top: 0; line-height: 1.7; }
.depoimentos__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}
.depoimentos__grid .case-quote {
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    padding: 26px 24px;
    margin: 0;
}
.depoimentos__cta { margin-top: 28px; }

/* ============================================
   TRAJETÓRIA
   ============================================ */
.trajetoria { padding: var(--section-py) 0; }
.trajetoria__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}
.trajetoria__col-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--primary-light);
}

/* Timeline */
.timeline { display: flex; flex-direction: column; }
.timeline__item {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 20px;
    padding-bottom: 28px;
    position: relative;
}
.timeline__item::before {
    content: '';
    position: absolute;
    left: 26px;
    top: 28px;
    bottom: 0;
    width: 2px;
    background: var(--border);
}
.timeline__item:last-child::before { display: none; }
.timeline__year {
    font-size: .75rem;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-light);
    height: 36px;
    width: 54px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}
.timeline__content {
    padding-top: 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.timeline__content strong {
    font-size: .93rem;
    font-weight: 600;
    color: var(--dark);
}
.timeline__content span {
    font-size: .83rem;
    color: var(--muted);
}

.trajetoria__col--text p {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: .95rem;
}
.trajetoria__col--text strong { color: var(--text); font-weight: 600; }

/* ============================================
   CONTATO
   ============================================ */
.contato {
    padding: var(--section-py) 0;
    background: var(--bg-alt);
}
.contato__grid {
    max-width: 480px;
}
.contato__info {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.contato__item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .92rem;
    color: var(--muted);
}
.contato__item a {
    color: var(--primary);
    font-weight: 500;
    transition: opacity .2s;
}
.contato__item a:hover { opacity: .75; }
.contato__social {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
}
.contato__social .btn { justify-content: flex-start; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,.55);
    padding: 32px 0;
}
.footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.footer p { font-size: .82rem; }
.footer__links { display: flex; gap: 24px; }
.footer__links a {
    font-size: .82rem;
    color: rgba(255,255,255,.55);
    transition: color .2s;
}
.footer__links a:hover { color: #fff; }

/* ============================================
   CASE STUDY (páginas individuais de projeto)
   ============================================ */
.case-nav__container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.case-hero { padding: 64px 0 40px; }
.case-hero .container { max-width: 760px; }
.case-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}
.case-meta__item { display: flex; flex-direction: column; gap: 2px; }
.case-meta__label {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
}
.case-meta__value { font-size: .92rem; font-weight: 600; color: var(--dark); }

.case-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .78rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
}
.case-badge--nda { color: #B45309; background: #FFFBEB; border: 1px solid #FDE68A; }
.case-badge--real { color: #047857; background: #ECFDF5; border: 1px solid #A7F3D0; }
.case-badge--curso { color: #4338CA; background: #EEF2FF; border: 1px solid #C7D2FE; }

.case-body { max-width: 760px; margin: 0 auto; padding: 0 24px 40px; }
.case-section { padding: 36px 0; border-bottom: 1px solid var(--border); }
.case-section:last-of-type { border-bottom: none; }
.case-section h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -.02em;
    margin-bottom: 14px;
}
.case-section h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin: 24px 0 10px;
}
.case-section p {
    color: var(--muted);
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 14px;
}
.case-section p:last-child { margin-bottom: 0; }

.case-list { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.inline-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: currentColor;
    text-underline-offset: 2px;
    transition: color .2s;
}
.inline-link:hover { color: var(--primary-dark); }
.case-list li {
    list-style: none;
    position: relative;
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.6;
    font-size: .95rem;
}
.case-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
}

/* Citações reais de entrevistas */
.case-quote {
    border-left: 3px solid var(--primary);
    padding: 4px 0 4px 20px;
    margin: 20px 0;
}
.case-quote p {
    font-style: italic;
    color: var(--text);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 8px;
}
.case-quote cite {
    display: block;
    font-style: normal;
    font-size: .82rem;
    font-weight: 600;
    color: var(--muted);
}

/* Estatísticas em destaque */
.case-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    margin: 20px 0;
}
.case-stat {
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 18px 16px;
}
.case-stat__num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -.02em;
    display: block;
}
.case-stat__label { font-size: .82rem; color: var(--muted); }

.case-cta {
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    text-align: center;
    margin-top: 8px;
}
.case-cta p { color: var(--muted); margin-bottom: 20px; max-width: 480px; margin-inline: auto; }

/* Bloco de destaque para resultado real (dado de adoção, prova de impacto) */
.case-highlight {
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 36px clamp(24px, 4.5vw, 44px);
    margin-bottom: 12px;
}
.case-highlight h2 { color: #fff; }
.case-highlight > p { color: rgba(255,255,255,.82); }
.case-highlight .case-badge--real {
    background: rgba(255,255,255,.14);
    color: #fff;
    border: 1px solid rgba(255,255,255,.28);
}
.case-highlight .case-stat { background: rgba(255,255,255,.09); }
.case-highlight .case-stat__num { color: #fff; }
.case-highlight .case-stat__label { color: rgba(255,255,255,.68); }
.case-highlight .case-quote { border-left-color: rgba(255,255,255,.4); }
.case-highlight .case-quote p { color: #fff; }
.case-highlight .case-quote cite { color: rgba(255,255,255,.62); }

/* Galeria de telas do projeto */
.case-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}
.case-gallery__item { display: flex; flex-direction: column; gap: 8px; }
.case-gallery__item--wide { grid-column: 1 / -1; }
.case-gallery__item img {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    background: var(--bg-alt);
}
.case-gallery__caption { font-size: .82rem; color: var(--muted); }
@media (max-width: 640px) {
    .case-gallery { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .case-hero .hero__title { font-size: 2.1rem; }
    .case-stats { grid-template-columns: repeat(2, 1fr); }
    .hero__proof { grid-template-columns: 1fr; }
}

/* ============================================
   RESPONSIVO
   ============================================ */
@media (max-width: 1024px) {
    .projetos__grid { grid-template-columns: repeat(2, 1fr); }
    .depoimentos__grid { grid-template-columns: repeat(2, 1fr); }

    .hero__grid {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    .hero__desc    { max-width: 100%; margin-inline: auto; }
    .hero__proof   { max-width: 480px; margin-inline: auto; }
    .hero__actions { justify-content: center; }
    .hero__meta    { justify-content: center; }
    .hero__photo   { order: -1; }
    .hero__photo-wrapper { width: 240px; height: 240px; }
}

@media (max-width: 768px) {
    :root { --section-py: 64px; }

    .hero { margin: 8px; border-radius: 22px; padding: 64px 0 48px; }

    .sobre__grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .sobre__visual { order: -1; }
    .sobre__photo-wrapper { width: 180px; height: 180px; }

    .projetos__grid     { grid-template-columns: 1fr; }
    .depoimentos__grid  { grid-template-columns: 1fr; }
    .trajetoria__grid   { grid-template-columns: 1fr; gap: 48px; }
    .contato__grid      { max-width: 100%; }
    .empresas__logos    { grid-template-columns: repeat(2, 1fr); }

    .contato__social .btn { justify-content: center; }

    .accordion__header      { gap: 16px; }
    .accordion__body-inner  { padding-left: 0; }
    .nav__menu              { align-items: center; text-align: center; }
}

/* Botão flutuante: voltar ao topo */
.back-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .25s ease, transform .25s ease, background .2s ease, visibility 0s linear .25s;
    z-index: 300;
}
.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity .25s ease, transform .25s ease, background .2s ease;
}
.back-to-top:hover { background: var(--primary-dark); }
@media (max-width: 768px) {
    .back-to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}

/* ===== Página de Currículo (CV) ===== */
.cv-header { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.cv-header__photo {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-light);
    box-shadow: var(--shadow);
}
.cv-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.cv-job { padding: 18px 0; }
.cv-job + .cv-job { border-top: 1px solid var(--border); }
.cv-job__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 4px 16px;
    flex-wrap: wrap;
}
.cv-job__company {
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -.01em;
}
.cv-job__period {
    font-size: .82rem;
    font-weight: 600;
    color: var(--muted);
    white-space: nowrap;
}
.cv-job__role {
    display: block;
    font-size: .9rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: 2px;
}
.cv-job .case-list { margin-top: 10px; }
.cv-job .case-list li { margin-bottom: 8px; }

/* Impressão / geração do PDF do currículo */
@page { size: A4; margin: 14mm 12mm; }
@media print {
    .nav, .footer, .case-cta, .cv-noprint, .back-to-top, .lang-modal-overlay { display: none !important; }
    body { background: #fff; }
    .case-hero { padding: 8px 0 8px; }
    .case-section { padding: 18px 0; }
    .cv-job { break-inside: avoid; }
    .skills { break-inside: avoid; }
    .skill-tag { break-inside: avoid; }
    h3 { break-after: avoid; }
    a { text-decoration: none; color: inherit; }
}
