/* Reset, base e variáveis */
:root {
  --color-primary: #06479f;
  --color-accent: #0aa7ff;
  --color-navy: #031b43;
  --color-dark: #020d22;
  --color-deep: #00102a;
  --color-light: #f5f8fc;
  --color-white: #ffffff;
  --color-text: #071a3f;
  --color-muted: #526078;
  --color-border: #d9e1ec;
  --color-green: #17c76f;
  --shadow-soft: 0 14px 38px rgba(2, 25, 63, 0.13);
  --shadow-card: 0 9px 28px rgba(2, 25, 63, 0.09);
  --radius-lg: 16px;
  --radius-md: 11px;
  --container: 1180px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; color: var(--color-text); background: #fff; font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, figure, blockquote { margin-top: 0; }
h1, h2, h3 { color: var(--color-text); font-family: var(--serif); line-height: 1.1; }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.section { padding: 62px 0; }
.eyebrow { margin: 0 0 17px; color: var(--color-primary); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.075em; text-transform: uppercase; }
.eyebrow-light { color: #f2f6ff; }
.title-line { display: block; width: 56px; height: 3px; margin: 24px 0 27px; background: var(--color-accent); }
.section-heading.centered { text-align: center; }
.section-heading.centered .eyebrow { display: inline-block; margin-bottom: 26px; }

/* Cabeçalho */
.site-header { position: relative; z-index: 1000; height: 92px; color: #fff; background: #020b1e; border-bottom: 1px solid rgba(255,255,255,.06); }
.header-inner { display: flex; align-items: center; height: 100%; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 13px; min-width: 310px; color: #fff; }
.brand-icon { display: grid; width: 52px; height: 52px; place-items: center; color: #fff; font-size: 2.1rem; border-right: 1px solid rgba(255,255,255,.22); padding-right: 12px; }
.brand-copy { display: flex; flex-direction: column; }
.brand-copy strong { font-family: var(--serif); font-size: 1.28rem; font-weight: 700; line-height: 1.15; }
.brand-copy small { margin-top: 4px; font-size: .64rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; white-space: nowrap; }
.main-nav a { position: relative; padding: 35px 0 31px; font-size: .81rem; font-weight: 700; transition: color .25s ease; }
.main-nav a::after { position: absolute; bottom: 19px; left: 50%; width: 0; height: 2px; background: var(--color-accent); content: ""; transition: .25s ease; transform: translateX(-50%); }
.main-nav a:hover, .main-nav a.active { color: #5dc9ff; }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.header-cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 1px solid rgba(255,255,255,.85); border-radius: 9px; font-family: var(--serif); font-weight: 700; white-space: nowrap; transition: .25s ease; }
.header-cta:hover { color: #02132e; background: #fff; transform: translateY(-2px); }
.menu-toggle { display: none; width: 44px; height: 44px; margin-left: auto; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.4); border-radius: 8px; font-size: 1.2rem; }

/* Hero */
.hero { position: relative; min-height: 650px; overflow: hidden; color: #fff; background: #031b43; }
.hero::after { position: absolute; right: -165px; bottom: -220px; width: 500px; height: 500px; border: 1px solid rgba(55,149,255,.32); border-radius: 48%; content: ""; box-shadow: 0 0 0 42px rgba(1,82,188,.15), 0 0 0 84px rgba(1,82,188,.08); transform: rotate(-24deg); }
.hero-photo { position: absolute; inset: 0 56% 0 0; background-image: linear-gradient(90deg, transparent 72%, #031b43 100%), url("../img/anselmo-hero.webp"); background-repeat: no-repeat; background-position: 49% 18%; background-size: cover; }
.hero-content-wrap { position: relative; z-index: 2; width: min(calc(100% - 48px), var(--container)); min-height: 650px; margin: 0 auto; }
.hero-content { width: 56%; margin-left: auto; padding: 60px 0 106px 26px; }
.hero .eyebrow { margin-bottom: 18px; font-size: .75rem; }
.hero h1 { max-width: 680px; margin: 0; color: #fff; font-size: clamp(2.5rem, 3.55vw, 3.65rem); font-weight: 400; letter-spacing: -.025em; }
.hero-intro { max-width: 570px; margin-bottom: 27px; color: #e5eaf4; font-size: .96rem; line-height: 1.55; }
.hero-contacts { display: grid; max-width: 620px; grid-template-columns: 1fr 1fr; gap: 20px 32px; }
.contact-item { display: flex; align-items: center; gap: 13px; color: #fff; }
a.contact-item { transition: color .2s ease; }
a.contact-item:hover { color: #63cfff; }
.contact-icon { display: grid; width: 44px; height: 44px; flex: 0 0 44px; place-items: center; border: 1px solid rgba(255,255,255,.38); border-radius: 9px; font-size: 1.3rem; }
.contact-item span:last-child { display: flex; min-width: 0; flex-direction: column; }
.contact-item strong { font-family: var(--serif); font-size: .95rem; line-height: 1.2; }
.contact-item small { margin-top: 4px; color: #d6deeb; font-size: .69rem; }

/* Pilares */
.pillars-wrap { position: relative; z-index: 4; height: 0; }
.pillars { display: grid; overflow: hidden; min-height: 156px; background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-soft); grid-template-columns: repeat(4, 1fr); transform: translateY(-62px); }
.pillar { display: flex; gap: 18px; padding: 30px 27px; }
.pillar + .pillar { border-left: 1px solid var(--color-border); }
.pillar > i { flex: 0 0 39px; margin-top: 4px; color: var(--color-primary); font-size: 2rem; text-align: center; }
.pillar h2 { margin: 0 0 12px; font-size: 1.04rem; line-height: 1.18; }
.pillar p { margin: 0; color: var(--color-muted); font-size: .77rem; line-height: 1.55; }

/* Sobre */
.about { position: relative; overflow: hidden; padding-top: 124px; background: linear-gradient(120deg, #fff 0%, #fff 65%, #f4f7fb 100%); }
.about::before, .about::after { position: absolute; width: 420px; height: 1px; background: #e8edf4; content: ""; transform: rotate(-31deg); }
.about::before { left: -150px; bottom: 45px; box-shadow: 0 12px 0 #edf1f6, 0 24px 0 #f2f4f8; }
.about::after { right: -160px; bottom: 120px; box-shadow: 0 12px 0 #edf1f6, 0 24px 0 #f2f4f8; }
.about-grid { position: relative; z-index: 1; display: grid; align-items: center; grid-template-columns: .88fr 1.12fr; gap: 66px; }
.about-copy h2 { margin: 0; font-size: 2.3rem; font-weight: 600; }
.about-copy > p:not(.eyebrow) { max-width: 510px; margin-bottom: 25px; color: var(--color-muted); font-size: .87rem; }
.about-badges { display: flex; flex-wrap: wrap; gap: 24px; color: #12346b; font-family: var(--serif); font-size: .83rem; font-weight: 700; }
.about-badges i { margin-right: 8px; color: var(--color-primary); }
.about-resume-link { display: inline-flex; min-height: 48px; align-items: center; gap: 13px; margin-top: 28px; padding: 0 20px; color: #fff; background: var(--color-primary); border-radius: 8px; box-shadow: 0 8px 20px rgba(6,71,159,.18); font-family: var(--serif); font-size: .87rem; font-weight: 700; transition: .25s ease; }
.about-resume-link:hover { background: #043b86; box-shadow: 0 12px 25px rgba(6,71,159,.25); transform: translateY(-3px); }
.about-resume-link i { color: #65cfff; transition: transform .25s ease; }
.about-resume-link:hover i { transform: translateX(4px); }
.quote-card { position: relative; overflow: hidden; height: 325px; margin: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.quote-card img { width: 100%; height: 100%; object-fit: cover; object-position: 55% center; }
.quote-card::after { position: absolute; inset: 0; background: linear-gradient(108deg, rgba(1,18,49,.98) 0%, rgba(1,18,49,.92) 31%, rgba(1,18,49,0) 58%); content: ""; }
.quote-card blockquote { position: absolute; z-index: 2; top: 40px; left: 44px; width: 175px; margin: 0; color: #fff; }
.quote-card blockquote i { margin-bottom: 12px; color: #0ca7ff; font-size: 2rem; }
.quote-card blockquote p { font-size: .95rem; line-height: 1.48; }

/* Serviços */
.services { position: relative; padding-top: 50px; padding-bottom: 34px; background: linear-gradient(#fff, #fafcff); }
.service-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 13px; }
.service-card { min-height: 245px; padding: 25px 15px 19px; text-align: center; background: #fff; border: 1px solid #edf1f6; border-radius: var(--radius-md); box-shadow: var(--shadow-card); transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover { box-shadow: 0 16px 34px rgba(2, 25, 63, .14); transform: translateY(-6px); }
.service-card > i { min-height: 50px; color: var(--color-primary); font-size: 2.55rem; }
.service-card h3 { min-height: 48px; margin: 10px 0 11px; font-size: .96rem; line-height: 1.15; }
.service-card p { margin: 0; color: var(--color-muted); font-size: .67rem; line-height: 1.55; }

/* Processo */
.process { padding-top: 29px; padding-bottom: 24px; background: #fff; }
.process-grid { display: grid; margin: 0; padding: 0; list-style: none; background: #fff; border: 1px solid #edf1f6; border-radius: var(--radius-md); box-shadow: var(--shadow-card); grid-template-columns: repeat(5, 1fr); }
.process-step { position: relative; display: flex; min-height: 157px; align-items: center; gap: 13px; padding: 32px 19px 19px; }
.process-step:not(:last-child)::after { position: absolute; z-index: 3; top: 26px; right: -16px; width: 32px; border-top: 1px dashed #72b6eb; content: ""; }
.step-number { position: absolute; top: -11px; left: 18px; display: grid; width: 34px; height: 34px; place-items: center; color: #fff; background: var(--color-primary); border: 4px solid #fff; border-radius: 50%; box-shadow: 0 2px 5px rgba(0,0,0,.1); font-weight: 800; }
.process-step > i { flex: 0 0 45px; color: var(--color-primary); font-size: 2.35rem; text-align: center; }
.process-step h3 { margin: 0 0 7px; font-size: .92rem; }
.process-step p { margin: 0; color: var(--color-muted); font-size: .66rem; line-height: 1.5; }

/* Diferenciais e números */
.differentials { padding: 0 0 11px; background: #fff; }
.split-panel { display: grid; overflow: hidden; border-radius: var(--radius-md); box-shadow: var(--shadow-card); grid-template-columns: 1.4fr 1fr; }
.difference-panel { padding: 31px 42px 27px; color: #fff; background: linear-gradient(120deg, #020d22, #04265e); }
.difference-panel .eyebrow { margin-bottom: 25px; }
.difference-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.difference-grid article { display: flex; gap: 12px; }
.difference-grid article > i { flex: 0 0 26px; margin-top: 2px; color: #22aaff; font-size: 1.35rem; }
.difference-grid h3 { margin: 0 0 14px; color: #fff; font-size: .9rem; }
.difference-grid p { margin: 0; color: #d6e1f3; font-size: .65rem; line-height: 1.55; }
.stats-panel { position: relative; overflow: hidden; padding: 35px 45px; background: linear-gradient(120deg, #eff5fd, #dcecff); }
.stats-panel::after { position: absolute; right: -28px; bottom: -90px; color: rgba(3,54,125,.09); content: "\f610"; font-family: "Font Awesome 5 Free"; font-size: 13rem; font-weight: 900; transform: rotate(-10deg); }
.stats-panel h2 { position: relative; z-index: 1; margin: 0 0 29px; font-size: 1.35rem; }
.stats-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 19px; text-align: center; }
.stats-grid div { display: flex; flex-direction: column; }
.stats-grid strong { color: var(--color-primary); font-family: var(--serif); font-size: 2rem; line-height: 1; }
.stats-grid strong i { font-size: 1.65rem; }
.stats-grid span { margin-top: 8px; color: #173661; font-size: .62rem; line-height: 1.45; }

/* CTA */
.cta { padding: 0 0 8px; background: #fff; }
.cta-inner { position: relative; overflow: hidden; min-height: 203px; color: #fff; background-color: #021b45; background-image: linear-gradient(90deg, rgba(2,17,46,.99) 0%, rgba(2,27,69,.97) 44%, rgba(2,27,69,.3) 67%, rgba(2,27,69,.04) 100%), url("../img/laboratorio-justica.webp"); background-repeat: no-repeat; background-position: center, center; background-size: cover; border-radius: var(--radius-md); box-shadow: var(--shadow-card); }
.cta-copy { max-width: 665px; padding: 27px 54px; }
.cta-copy h2 { margin-bottom: 7px; color: #fff; font-size: 1.75rem; font-weight: 400; }
.cta-copy > p { max-width: 590px; margin-bottom: 21px; color: #e4ecf8; font-size: .79rem; }
.cta-actions { display: flex; gap: 21px; }
.btn { display: inline-flex; min-height: 58px; align-items: center; gap: 14px; border-radius: 8px; transition: .25s ease; }
.btn:hover { transform: translateY(-3px); }
.btn > i { font-size: 1.45rem; }
.btn span { display: flex; flex-direction: column; line-height: 1.15; }
.btn strong { font-family: var(--serif); font-size: .92rem; }
.btn small { margin-top: 5px; font-size: .64rem; }
.btn-whatsapp { min-width: 225px; padding: 0 20px; color: #fff; background: var(--color-green); }
.btn-whatsapp:hover { background: #10b863; }
.btn-outline { min-width: 305px; padding: 0 25px; color: #fff; border: 1px solid rgba(255,255,255,.85); }
.btn-outline:hover { color: #021b45; background: #fff; }

/* Rodapé */
.site-footer { color: #e7edf7; background: #020c20; }
.footer-grid { display: grid; padding-top: 31px; padding-bottom: 28px; grid-template-columns: 1.3fr .7fr 1.1fr 1.15fr; }
.footer-grid > div { padding: 0 34px; }
.footer-grid > div:first-child { padding-left: 0; }
.footer-grid > div:last-child { padding-right: 0; }
.footer-grid > div + div { border-left: 1px solid rgba(255,255,255,.13); }
.footer-brand .brand { min-width: 0; margin-bottom: 15px; }
.footer-brand .brand-icon { width: 45px; height: 45px; font-size: 1.65rem; }
.footer-brand .brand-copy strong { font-size: 1.08rem; }
.footer-brand .brand-copy small { font-size: .53rem; }
.footer-brand > p, .footer-message p { max-width: 300px; margin-bottom: 11px; color: #cbd5e5; font-size: .69rem; line-height: 1.55; }
.footer-crf { font-family: var(--serif); font-size: .77rem; }
.footer-crf i { margin-right: 7px; }
.footer-column, .footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.footer-grid h2 { margin: 3px 0 10px; color: #fff; font-family: var(--sans); font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-column a, .footer-column span { color: #d3dceb; font-size: .66rem; transition: color .2s ease; }
.footer-column a:hover { color: #4cc4ff; }
.footer-contact { gap: 12px; }
.footer-contact i { width: 18px; color: #fff; text-align: center; }
.signature { display: block; margin-top: 20px; color: #dbe8fa; font-family: "Segoe Script", "Brush Script MT", cursive; font-size: 1.45rem; font-style: italic; transform: rotate(-3deg); }
.footer-bottom { padding: 12px 0; border-top: 1px solid rgba(255,255,255,.08); text-align: center; }
.footer-bottom p { margin: 0; color: #8492a9; font-size: .62rem; }
.floating-whatsapp { position: fixed; z-index: 900; right: 24px; bottom: 24px; display: none; width: 56px; height: 56px; place-items: center; color: #fff; background: var(--color-green); border: 3px solid #fff; border-radius: 50%; box-shadow: 0 8px 24px rgba(0,0,0,.27); font-size: 1.65rem; }

/* Página de currículo */
.resume-page { background: #f7f9fc; }
.resume-hero { position: relative; overflow: hidden; min-height: 660px; color: #fff; background: linear-gradient(125deg, #020d22 0%, #031b43 62%, #06479f 140%); }
.resume-hero::before { position: absolute; top: -260px; right: -150px; width: 650px; height: 650px; border: 1px solid rgba(91,188,255,.22); border-radius: 50%; box-shadow: 0 0 0 58px rgba(10,167,255,.06), 0 0 0 116px rgba(10,167,255,.035); content: ""; }
.resume-hero-grid { position: relative; z-index: 1; display: grid; min-height: 660px; align-items: center; grid-template-columns: 1.12fr .58fr; gap: 88px; padding-top: 58px; padding-bottom: 58px; }
.resume-back { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 48px; color: #b8cae4; font-size: .73rem; font-weight: 700; letter-spacing: .02em; transition: color .2s ease; }
.resume-back:hover { color: #65cfff; }
.resume-hero-copy .eyebrow { margin-bottom: 15px; }
.resume-hero-copy h1 { max-width: 720px; margin: 0; color: #fff; font-size: clamp(2.8rem, 4.25vw, 4.25rem); font-weight: 400; letter-spacing: -.03em; }
.resume-hero-copy > p:not(.eyebrow) { max-width: 670px; margin-bottom: 28px; color: #dce6f4; font-size: .97rem; }
.resume-hero-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.resume-hero-tags span { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px; color: #eaf3ff; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: 20px; font-size: .73rem; font-weight: 700; }
.resume-hero-tags i { color: #4ac3ff; }
.resume-portrait-card { position: relative; overflow: hidden; height: 490px; background: #061936; border: 1px solid rgba(255,255,255,.16); border-radius: 18px; box-shadow: 0 28px 60px rgba(0,0,0,.3); }
.resume-portrait-card img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; }
.resume-portrait-card::after { position: absolute; inset: 40% 0 0; background: linear-gradient(0deg, rgba(1,13,34,.98) 0%, rgba(1,13,34,.74) 45%, transparent 100%); content: ""; }
.resume-portrait-caption { position: absolute; z-index: 1; right: 28px; bottom: 25px; left: 28px; display: flex; flex-direction: column; }
.resume-portrait-caption strong { font-family: var(--serif); font-size: 1.15rem; }
.resume-portrait-caption span { margin-top: 4px; color: #cdd9e9; font-size: .75rem; }
.resume-portrait-caption small { margin-top: 13px; color: #6bcbff; font-size: .69rem; font-weight: 700; }

.resume-overview { position: relative; z-index: 3; height: 0; }
.resume-overview-grid { display: grid; overflow: hidden; min-height: 128px; background: #fff; border-radius: 12px; box-shadow: var(--shadow-soft); grid-template-columns: repeat(4, 1fr); transform: translateY(-40px); }
.resume-overview article { display: flex; align-items: center; justify-content: center; gap: 13px; padding: 27px; }
.resume-overview article + article { border-left: 1px solid var(--color-border); }
.resume-overview strong, .resume-overview i { color: var(--color-primary); font-family: var(--serif); font-size: 2.25rem; line-height: 1; }
.resume-overview span { max-width: 150px; color: #193963; font-family: var(--serif); font-size: .84rem; font-weight: 700; line-height: 1.35; }

.resume-section { padding: 88px 0; }
.resume-heading { max-width: 700px; margin: 0 auto 42px; text-align: center; }
.resume-heading h2, .resume-profile h2, .resume-skills h2 { margin: 0; font-size: clamp(2rem, 3vw, 2.75rem); font-weight: 500; letter-spacing: -.02em; }
.resume-profile { padding-top: 145px; background: #fff; }
.resume-profile-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; }
.resume-prose { padding-left: 42px; border-left: 3px solid #159eea; }
.resume-prose p { color: var(--color-muted); font-size: .95rem; line-height: 1.8; }
.resume-prose p:last-child { margin-bottom: 0; }

.resume-experience { background: linear-gradient(180deg, #f5f8fc, #fff); }
.career-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.career-card { display: grid; min-height: 385px; grid-template-columns: 66px 1fr; gap: 24px; padding: 42px 38px; background: #fff; border: 1px solid #e4eaf2; border-radius: 14px; box-shadow: var(--shadow-card); }
.career-card-featured { color: #fff; background: linear-gradient(135deg, #031b43, #06479f); border-color: transparent; }
.career-icon { display: grid; width: 62px; height: 62px; place-items: center; color: var(--color-primary); background: #edf6ff; border-radius: 12px; font-size: 1.65rem; }
.career-card-featured .career-icon { color: #54c7ff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); }
.career-label { margin-bottom: 9px; color: var(--color-primary); font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.career-card-featured .career-label { color: #76d2ff; }
.career-card h3 { margin-bottom: 7px; font-size: 1.42rem; }
.career-card-featured h3 { color: #fff; }
.career-place { min-height: 40px; margin-bottom: 24px; color: #6a7890; font-size: .75rem; font-weight: 700; }
.career-card-featured .career-place { color: #c6d8ee; }
.career-card ul { margin: 0; padding: 0; list-style: none; }
.career-card li { position: relative; margin-top: 12px; padding-left: 20px; color: var(--color-muted); font-size: .82rem; line-height: 1.55; }
.career-card li::before { position: absolute; top: .58em; left: 0; width: 7px; height: 7px; background: #159eea; border-radius: 50%; content: ""; }
.career-card-featured li { color: #e1e9f4; }

.resume-education { color: #fff; background: #020f28; }
.resume-education .resume-heading h2 { color: #fff; }
.education-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 25px; }
.education-column { padding: 34px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.12); border-radius: 13px; }
.education-column h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 25px; color: #fff; font-size: 1rem; }
.education-column h3 i { color: #42bdff; }
.education-item { display: flex; min-height: 76px; flex-direction: column; justify-content: center; padding: 16px 19px; background: rgba(255,255,255,.055); border-left: 3px solid #159eea; border-radius: 0 8px 8px 0; }
.education-item + .education-item { margin-top: 12px; }
.education-item span { margin-bottom: 4px; color: #8fcff4; font-size: .62rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.education-item strong { color: #f4f8ff; font-family: var(--serif); font-size: .95rem; line-height: 1.35; }
.postgrad-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.postgrad-list .education-item { margin: 0; }
.postgrad-list .education-item:last-child { grid-column: 1 / -1; }

.resume-skills { background: #fff; }
.resume-skills-grid { display: grid; align-items: center; grid-template-columns: .75fr 1.25fr; gap: 75px; }
.resume-skills-intro { margin-top: 22px; color: var(--color-muted); font-size: .87rem; line-height: 1.7; }
.skill-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.skill-card-grid article { display: flex; min-height: 100px; align-items: center; gap: 17px; padding: 21px; background: #f7faff; border: 1px solid #e7edf5; border-radius: 10px; }
.skill-card-grid i { display: grid; width: 44px; height: 44px; flex: 0 0 44px; place-items: center; color: var(--color-primary); background: #e7f3ff; border-radius: 9px; font-size: 1.15rem; }
.skill-card-grid span { color: #17365e; font-family: var(--serif); font-size: .84rem; font-weight: 700; line-height: 1.35; }

.resume-courses { background: #f2f6fb; }
.course-list { display: flex; max-width: 1060px; flex-wrap: wrap; justify-content: center; gap: 11px; margin: 0 auto; }
.course-list span { display: inline-flex; min-height: 43px; align-items: center; padding: 9px 16px; color: #17375f; background: #fff; border: 1px solid #dbe5f0; border-radius: 22px; box-shadow: 0 4px 13px rgba(2,25,63,.05); font-size: .74rem; font-weight: 700; }
.course-list span::before { width: 6px; height: 6px; margin-right: 9px; background: #159eea; border-radius: 50%; content: ""; }

.resume-contact { padding: 58px 0; color: #fff; background: linear-gradient(115deg, #031b43, #06479f); }
.resume-contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.resume-contact h2 { margin: 0 0 11px; color: #fff; font-size: 2rem; font-weight: 500; }
.resume-contact p:not(.eyebrow) { max-width: 580px; margin: 0; color: #d7e4f4; font-size: .85rem; }
.resume-contact-actions { display: flex; flex: 0 0 auto; gap: 13px; }
.resume-contact-actions .btn-outline { min-width: 270px; }

/* Responsividade */
@media (max-width: 1180px) {
  .brand { min-width: 270px; }
  .main-nav { gap: 17px; }
  .main-nav a { font-size: .72rem; }
  .header-cta { padding: 0 15px; font-size: .8rem; }
  .hero-photo { right: 54%; }
  .pillar { padding: 27px 19px; }
  .pillar > i { flex-basis: 32px; font-size: 1.65rem; }
  .service-grid { gap: 8px; }
  .service-card { padding-inline: 10px; }
  .difference-panel { padding-inline: 28px; }
  .difference-grid { gap: 14px; }
  .resume-hero-grid { gap: 50px; }
  .resume-contact-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 980px) {
  html { scroll-padding-top: 76px; }
  .site-header { height: 76px; }
  .header-inner { justify-content: space-between; }
  .brand { min-width: 0; }
  .brand-icon { width: 44px; height: 44px; font-size: 1.65rem; }
  .brand-copy strong { font-size: 1.05rem; }
  .menu-toggle { display: grid; place-items: center; }
  .header-cta { display: none; }
  .main-nav { position: fixed; z-index: 1001; inset: 76px 0 auto 0; display: flex; visibility: hidden; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 15px 24px 25px; background: rgba(2,11,30,.98); opacity: 0; box-shadow: 0 18px 30px rgba(0,0,0,.25); transition: .25s ease; transform: translateY(-15px); }
  .main-nav.open { visibility: visible; opacity: 1; transform: translateY(0); }
  .main-nav a { padding: 14px 8px; border-bottom: 1px solid rgba(255,255,255,.09); font-size: .87rem; }
  .main-nav a::after { display: none; }
  .hero { min-height: 850px; }
  .hero-photo { inset: 0 42% 0 0; background-position: 50% 10%; }
  .hero-photo::after { position: absolute; inset: 0; background: linear-gradient(90deg, transparent 30%, rgba(3,27,67,.6) 65%, #031b43 100%); content: ""; }
  .hero-content-wrap { min-height: 850px; }
  .hero-content { width: 60%; padding-top: 64px; }
  .hero h1 { font-size: 2.7rem; }
  .hero-contacts { grid-template-columns: 1fr; }
  .pillars-wrap { height: auto; padding: 24px 0; background: #f6f8fb; }
  .pillars { min-height: 0; grid-template-columns: 1fr 1fr; transform: none; }
  .pillar:nth-child(3) { border-left: 0; }
  .pillar:nth-child(n+3) { border-top: 1px solid var(--color-border); }
  .about { padding-top: 70px; }
  .about-grid { gap: 35px; }
  .quote-card { height: 300px; }
  .service-grid { grid-template-columns: repeat(4, 1fr); gap: 15px; }
  .service-card { min-height: 225px; }
  .service-card:last-child { grid-column: 2 / 4; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 0; }
  .process-step { min-height: 145px; }
  .process-step:not(:last-child)::after { display: none; }
  .process-step:nth-child(n+3) { border-top: 1px solid #edf1f6; }
  .process-step:nth-child(even) { border-left: 1px solid #edf1f6; }
  .process-step:last-child { grid-column: 1 / -1; }
  .split-panel { grid-template-columns: 1fr; }
  .difference-grid { gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 0; }
  .footer-grid > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .footer-message { padding-right: 0 !important; }
  .floating-whatsapp { display: grid; }
  .resume-hero-grid { grid-template-columns: 1fr .55fr; gap: 30px; }
  .resume-hero-copy h1 { font-size: 3rem; }
  .resume-portrait-card { height: 430px; }
  .resume-overview { height: auto; padding: 24px 0; background: #eef3f9; }
  .resume-overview-grid { grid-template-columns: 1fr 1fr; transform: none; }
  .resume-overview article:nth-child(3) { border-left: 0; }
  .resume-overview article:nth-child(n+3) { border-top: 1px solid var(--color-border); }
  .resume-profile { padding-top: 80px; }
  .resume-profile-grid, .resume-skills-grid { gap: 45px; }
  .career-card { grid-template-columns: 52px 1fr; gap: 17px; padding: 32px 25px; }
  .career-icon { width: 50px; height: 50px; }
  .education-grid { grid-template-columns: 1fr; }
  .resume-contact-actions { flex-wrap: wrap; }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 30px), var(--container)); }
  .section { padding: 48px 0; }
  .brand-copy small { font-size: .5rem; }
  .hero { display: flex; min-height: 0; flex-direction: column; background: #031b43; }
  .hero-photo { position: relative; inset: auto; order: 1; width: 100%; height: 440px; background-image: linear-gradient(0deg, #031b43 0%, transparent 38%), url("../img/anselmo-hero.webp"); background-position: 50% 17%; background-size: cover; }
  .hero-content-wrap { order: 2; width: 100%; min-height: 0; }
  .hero-content { width: min(calc(100% - 30px), 570px); margin: -64px auto 0; padding: 0 0 54px; }
  .hero .eyebrow { font-size: .66rem; }
  .hero h1 { font-size: clamp(2.05rem, 9vw, 2.85rem); }
  .hero-intro { font-size: .87rem; }
  .hero-contacts { grid-template-columns: 1fr; }
  .contact-item strong { font-size: .88rem; }
  .pillars { grid-template-columns: 1fr; }
  .pillar + .pillar { border-top: 1px solid var(--color-border); border-left: 0; }
  .pillar { padding: 25px 24px; }
  .about { padding-top: 53px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-copy h2 { font-size: 2rem; }
  .about-copy > p:not(.eyebrow) { font-size: .82rem; }
  .about-badges { flex-direction: column; gap: 11px; }
  .quote-card { height: 365px; }
  .quote-card::after { background: linear-gradient(0deg, rgba(1,18,49,.97) 0%, rgba(1,18,49,.83) 45%, rgba(1,18,49,0) 78%); }
  .quote-card blockquote { top: auto; right: 28px; bottom: 22px; left: 28px; width: auto; }
  .quote-card blockquote p { margin-bottom: 0; }
  .service-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .service-card { min-height: 235px; }
  .service-card:last-child { grid-column: 1 / -1; min-height: 205px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step, .process-step:nth-child(even), .process-step:nth-child(n+3) { min-height: 128px; border-top: 1px solid #edf1f6; border-left: 0; }
  .process-step:first-child { border-top: 0; }
  .process-step:last-child { grid-column: auto; }
  .difference-panel { padding: 31px 24px; }
  .difference-grid { grid-template-columns: 1fr 1fr; }
  .stats-panel { padding: 32px 24px; }
  .stats-panel h2 { font-size: 1.25rem; }
  .cta { padding-inline: 0; }
  .cta-inner { width: calc(100% - 30px); min-height: 445px; background-image: linear-gradient(0deg, rgba(2,17,46,.99) 0%, rgba(2,27,69,.94) 53%, rgba(2,27,69,.2) 100%), url("../img/laboratorio-justica.webp"); background-position: 68% center; }
  .cta-copy { position: absolute; right: 0; bottom: 0; left: 0; padding: 30px 24px; }
  .cta-copy h2 { font-size: 1.55rem; }
  .cta-actions { flex-direction: column; gap: 12px; }
  .btn, .btn-whatsapp, .btn-outline { width: 100%; min-width: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 0; }
  .footer-grid > div { padding: 25px 0; border-top: 1px solid rgba(255,255,255,.13); border-left: 0 !important; }
  .footer-grid > div:first-child { border-top: 0; }
  .resume-hero-grid { min-height: 0; grid-template-columns: 1fr; gap: 38px; padding-top: 36px; padding-bottom: 54px; }
  .resume-back { margin-bottom: 32px; }
  .resume-hero-copy h1 { font-size: clamp(2.3rem, 10vw, 3rem); }
  .resume-portrait-card { width: 100%; height: 480px; max-width: 400px; margin: 0 auto; }
  .resume-overview-grid { grid-template-columns: 1fr; }
  .resume-overview article { min-height: 98px; justify-content: flex-start; padding: 22px 30px; }
  .resume-overview article + article, .resume-overview article:nth-child(3) { border-top: 1px solid var(--color-border); border-left: 0; }
  .resume-section { padding: 62px 0; }
  .resume-profile { padding-top: 65px; }
  .resume-profile-grid, .resume-skills-grid { grid-template-columns: 1fr; gap: 30px; }
  .resume-prose { padding-left: 24px; }
  .resume-heading { margin-bottom: 32px; text-align: left; }
  .career-grid { grid-template-columns: 1fr; }
  .career-card { min-height: 0; }
  .postgrad-list { grid-template-columns: 1fr; }
  .postgrad-list .education-item:last-child { grid-column: auto; }
  .skill-card-grid { grid-template-columns: 1fr; }
  .resume-contact-actions { width: 100%; flex-direction: column; }
  .resume-contact-actions .btn, .resume-contact-actions .btn-outline { width: 100%; min-width: 0; }
}

@media (max-width: 440px) {
  .brand { gap: 9px; }
  .brand-icon { width: 37px; height: 39px; padding-right: 8px; font-size: 1.35rem; }
  .brand-copy strong { font-size: .88rem; }
  .brand-copy small { letter-spacing: .035em; }
  .hero-photo { height: 390px; }
  .hero-content { margin-top: -46px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card, .service-card:last-child { min-height: 0; grid-column: auto; }
  .difference-grid { grid-template-columns: 1fr; }
  .stats-grid { gap: 8px; }
  .stats-grid strong { font-size: 1.55rem; }
  .stats-grid span { font-size: .56rem; }
  .resume-portrait-card { height: 420px; }
  .career-card { display: block; }
  .career-icon { margin-bottom: 22px; }
  .education-column { padding: 25px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
