:root {
  --ink: #0b2035;
  --muted: #607083;
  --navy: #061b32;
  --navy-2: #0b3154;
  --green: #087b49;
  --green-bright: #0ea668;
  --green-soft: #e8f7ef;
  --gold: #f4bf20;
  --red: #d92332;
  --surface: #fff;
  --canvas: #f3f6f8;
  --line: #dce5ea;
  --shadow: 0 18px 50px rgba(6, 27, 50, .1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: "DM Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.dialog-open { overflow: hidden; }
button, input, select { font: inherit; }
button, select, a { -webkit-tap-highlight-color: transparent; }
a, button { transition: .2s ease; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 88px;
  padding: 0 max(28px, 5.6vw);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
  color: var(--ink);
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid #e8edf0;
  box-shadow: 0 8px 28px rgba(6,27,50,.055);
  backdrop-filter: blur(14px);
}
.brand { width: 174px; height: 74px; display: flex; align-items: center; overflow: hidden; }
.brand img { width: 100%; height: 100%; object-fit: contain; }
.topbar nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(13px, 1.45vw, 25px); }
.topbar nav a { position: relative; color: #44596d; text-decoration: none; font-size: clamp(.74rem, .82vw, .84rem); font-weight: 750; white-space: nowrap; }
.topbar nav a:not(.nav-cta)::after { content: ""; position: absolute; right: 0; bottom: -9px; left: 0; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: center; transition: transform .2s ease; }
.topbar nav a:hover, .topbar nav a:focus-visible { color: var(--green); }
.topbar nav a:hover::after, .topbar nav a:focus-visible::after { transform: scaleX(1); }
.topbar nav .nav-cta { min-height: 42px; padding: 0 17px; display: inline-flex; align-items: center; color: #fff; background: var(--navy); border-radius: 9px; }
.topbar nav .nav-cta:hover, .topbar nav .nav-cta:focus-visible { color: #fff; background: var(--green); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; place-items: center; background: #f1f5f6; border: 1px solid var(--line); border-radius: 9px; cursor: pointer; }
.menu-toggle span { display: block; width: 19px; height: 2px; margin: 2px 0; background: var(--navy); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  color: #fff;
  background: var(--navy);
}
.hero-image { position: absolute; inset: 0; background: url("assets/hero-professionnels.webp") center right 18% / cover no-repeat; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 20, 38, .98) 0%, rgba(3, 20, 38, .92) 42%, rgba(3, 20, 38, .3) 73%, rgba(3, 20, 38, .15) 100%),
    linear-gradient(0deg, rgba(3, 20, 38, .42), transparent 50%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1440px;
  min-height: 560px;
  margin: 0 auto;
  padding: 76px max(28px, 5.6vw) 62px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-copy { max-width: 720px; }
.eyebrow, .section-kicker {
  margin: 0 0 17px;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .74rem;
  font-weight: 800;
}
.eyebrow { color: #cbd7e1; }
.eyebrow span { display: inline-block; width: 29px; height: 3px; margin-right: 9px; vertical-align: middle; background: var(--gold); }
h1 {
  max-width: 710px;
  margin: 0;
  font: 800 clamp(2.65rem, 5vw, 4.75rem)/1.02 Manrope, sans-serif;
  letter-spacing: -.058em;
}
h1 em { color: #f7ca3f; font-style: normal; }
.hero-text { max-width: 650px; margin: 23px 0 0; color: #d3dde6; font-size: 1.06rem; line-height: 1.68; }
.hero-actions { margin-top: 29px; display: flex; align-items: center; gap: 25px; }
.primary-cta {
  min-height: 49px;
  padding: 0 21px;
  display: inline-flex;
  align-items: center;
  color: var(--navy);
  background: var(--gold);
  border-radius: 9px;
  text-decoration: none;
  font-size: .87rem;
  font-weight: 800;
}
.primary-cta:hover { background: #ffd34b; transform: translateY(-1px); }
.hero-actions span { display: flex; flex-direction: column; gap: 3px; }
.hero-actions b { font-size: .79rem; }
.hero-actions small { color: #9fb2c2; font-size: .72rem; }
.hero-stats {
  width: min(620px, 100%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(7, 28, 48, .72);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  backdrop-filter: blur(12px);
}
.hero-stats div { padding: 19px 23px; border-right: 1px solid rgba(255,255,255,.13); }
.hero-stats div:last-child { border: 0; }
.hero-stats strong { display: block; font: 800 1.7rem/1 Manrope, sans-serif; }
.hero-stats span { display: block; margin-top: 6px; color: #b8c7d3; font-size: .73rem; }

.workspace { max-width: 1340px; margin: 0 auto; padding: 78px 28px 90px; scroll-margin-top: 102px; }
.section-intro { margin-bottom: 28px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: end; }
.section-kicker { color: var(--green); margin-bottom: 9px; }
.section-intro h2, .method-heading h2 { margin: 0; font: 800 clamp(1.8rem, 3.4vw, 2.9rem)/1.1 Manrope, sans-serif; letter-spacing: -.045em; }
.section-intro > p { max-width: 560px; margin: 0 0 4px; color: var(--muted); font-size: .91rem; line-height: 1.65; }
.portal-tabs {
  margin: 0 0 18px;
  padding: 7px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  background: #e8eef1;
  border-radius: 14px;
}
.portal-tab {
  min-height: 54px;
  padding: 8px 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #52677a;
  background: transparent;
  border: 0;
  border-radius: 10px;
  font-size: .86rem;
  font-weight: 800;
  cursor: pointer;
}
.portal-tab:hover { color: var(--navy); background: rgba(255,255,255,.55); }
.portal-tab.active { color: #fff; background: var(--navy); box-shadow: 0 7px 20px rgba(6,27,50,.16); }
.portal-tab.linkedin-tab.active { background: #0a66c2; }
.portal-tab b {
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  display: inline-grid;
  place-items: center;
  color: #42596c;
  background: rgba(255,255,255,.78);
  border-radius: 999px;
  font-size: .72rem;
}
.portal-tab.active b { color: var(--navy); background: #fff; }
.filter-panel {
  padding: 21px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.search-wrap { position: relative; }
.search-wrap svg { position: absolute; left: 17px; top: 50%; width: 21px; transform: translateY(-50%); fill: none; stroke: #718095; stroke-width: 1.8; }
.search-wrap input {
  width: 100%;
  height: 57px;
  padding: 0 18px 0 51px;
  color: var(--ink);
  background: #f5f8f9;
  border: 1px solid transparent;
  border-radius: 11px;
  outline: none;
}
.search-wrap input:focus, select:focus { background: #fff; border-color: #64b995; box-shadow: 0 0 0 4px rgba(14,166,104,.1); }
.filters { margin-top: 15px; display: grid; grid-template-columns: 1.15fr 1fr 1.1fr auto; gap: 12px; align-items: end; }
.filters label > span { display: block; margin: 0 0 7px 3px; color: var(--muted); font-size: .69rem; font-weight: 800; text-transform: uppercase; letter-spacing: .065em; }
select {
  width: 100%;
  height: 44px;
  padding: 0 36px 0 13px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  outline: none;
}
.reset-button, .empty-state button {
  min-height: 44px;
  padding: 0 18px;
  color: var(--navy-2);
  background: #edf2f5;
  border: 0;
  border-radius: 9px;
  font-weight: 700;
  cursor: pointer;
}
.reset-button:hover, .empty-state button:hover { background: #e2eaee; }
.results-head { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.results-head p { margin: 0; color: var(--muted); font-size: .9rem; }
.results-head p strong { color: var(--ink); }
.sort-label { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: .78rem; }
.sort-label select { width: 157px; height: 38px; background-color: transparent; }

.job-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.job-card {
  min-height: 466px;
  padding: 23px;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: 0 7px 24px rgba(6,27,50,.035);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.job-card:hover { transform: translateY(-3px); border-color: #c5d4db; box-shadow: 0 18px 38px rgba(6,27,50,.09); }
.card-topline, .company-identity { display: flex; align-items: center; }
.card-topline { justify-content: space-between; gap: 12px; }
.company-identity { min-width: 0; gap: 10px; }
.company-mark { flex: 0 0 auto; width: 10px; height: 10px; border-radius: 50%; background: var(--company-color, var(--green)); box-shadow: 0 0 0 5px var(--company-soft, #e7f5ef); }
.company { overflow: hidden; color: #52677a; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .075em; white-space: nowrap; text-overflow: ellipsis; }
.verified { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 4px; color: #087044; background: var(--green-soft); padding: 5px 7px; border-radius: 999px; font-size: .64rem; font-weight: 800; }
.verified svg { width: 13px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.job-title { margin: 23px 0 13px; font: 750 1.2rem/1.32 Manrope, sans-serif; letter-spacing: -.027em; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { padding: 5px 8px; color: #445d70; background: #eff4f6; border-radius: 6px; font-size: .67rem; font-weight: 700; }
.meta { margin: 19px 0 0; display: grid; grid-template-columns: 1.13fr .9fr .9fr; gap: 9px; padding: 14px 0; border-top: 1px solid #edf1f3; border-bottom: 1px solid #edf1f3; }
.meta div { min-width: 0; }
.meta dt { color: #8895a1; font-size: .61rem; text-transform: uppercase; letter-spacing: .035em; }
.meta dd { margin: 5px 0 0; color: #2b4358; font-size: .72rem; font-weight: 700; }
.deadline.urgent { color: #bd5d1e; }
.summary { margin: 15px 0 10px; display: -webkit-box; overflow: hidden; color: var(--muted); font-size: .79rem; line-height: 1.53; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.apply-route { margin: 0 0 16px; color: #718092; font-size: .69rem; }
.apply-route.has-email { color: #087044; font-weight: 700; }
.card-actions { margin-top: auto; display: grid; grid-template-columns: 1fr auto auto; gap: 7px; }
.detail-button, .source-link, .save-button { min-height: 42px; border-radius: 8px; font-size: .74rem; font-weight: 800; }
.detail-button { padding: 0 12px; color: var(--navy); background: #fff; border: 1px solid #cdd9df; cursor: pointer; }
.detail-button:hover { background: #f4f7f8; }
.source-link { padding: 0 13px; display: inline-flex; align-items: center; gap: 9px; color: #fff; background: var(--navy); text-decoration: none; }
.source-link:hover { background: var(--green); }
.save-button { width: 42px; display: grid; place-items: center; color: #65788b; background: #fff; border: 1px solid var(--line); cursor: pointer; }
.save-button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.save-button:hover { background: #f5f8f9; }
.save-button.saved { color: #a97300; background: #fff8df; border-color: #ead078; }
.save-button.saved svg { fill: currentColor; }
.load-more-wrap { padding-top: 27px; text-align: center; }
.load-more { min-height: 47px; padding: 0 24px; color: #fff; background: var(--navy); border: 0; border-radius: 9px; font-weight: 800; cursor: pointer; }
.load-more:hover { background: var(--green); }
.empty-state { padding: 70px 20px; text-align: center; background: #fff; border: 1px dashed #cbd7dd; border-radius: 16px; }
.empty-state > div { font-size: 3rem; color: #92a2af; }
.empty-state h2 { margin: 9px 0 6px; font: 800 1.35rem Manrope, sans-serif; }
.empty-state p { margin: 0 0 19px; color: var(--muted); }

.support { padding: 86px max(28px, calc((100vw - 1284px) / 2)); color: #fff; background: var(--navy); scroll-margin-top: 86px; }
.support-heading { max-width: 760px; }
.support .section-kicker { color: #f5c52d; }
.support-heading h2 { margin: 0; font: 800 clamp(1.8rem, 3.4vw, 2.9rem)/1.1 Manrope, sans-serif; letter-spacing: -.045em; }
.support-heading > p:last-child { max-width: 680px; margin: 17px 0 0; color: #b8c8d5; font-size: .93rem; line-height: 1.65; }
.support-grid { margin-top: 38px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.support-grid article { min-height: 290px; padding: 26px; display: flex; flex-direction: column; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; }
.support-icon { width: 44px; height: 44px; display: grid; place-items: center; color: var(--navy); background: var(--gold); border-radius: 11px; font: 800 .78rem Manrope, sans-serif; }
.support-icon.whatsapp-icon { color: #fff; background: #19a760; }
.support-grid h3 { margin: 22px 0 10px; font: 750 1.08rem Manrope, sans-serif; }
.support-grid p { margin: 0 0 22px; color: #b9c8d4; font-size: .82rem; line-height: 1.62; }
.support-button { width: 100%; min-height: 46px; margin-top: auto; padding: 0 15px; display: flex; align-items: center; justify-content: space-between; color: var(--navy); background: #fff; border: 0; border-radius: 9px; text-decoration: none; font-size: .77rem; font-weight: 800; cursor: pointer; }
.support-button:hover { transform: translateY(-1px); background: var(--gold); }
.support-button.whatsapp-button { color: #fff; background: #169c59; }
.support-button.whatsapp-button:hover { background: #118149; }

footer { padding: 32px max(28px, 5.6vw); display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 30px; align-items: center; background: #fff; border-top: 1px solid #e2e9ed; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand img { width: 94px; height: 65px; object-fit: contain; }
.footer-brand p, footer > p { margin: 0; }
.footer-brand p { max-width: 210px; color: #65768a; font-size: .72rem; line-height: 1.45; }
.footer-links { max-width: 520px; font-size: .76rem; }
.footer-links a { color: #0a66c2; font-weight: 800; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.copyright { color: #8c99a5; font-size: .68rem; }
.whatsapp-float { position: fixed; z-index: 18; right: 22px; bottom: 22px; min-height: 50px; padding: 0 17px 0 9px; display: flex; align-items: center; gap: 9px; color: #fff; background: #149b55; border-radius: 999px; box-shadow: 0 13px 32px rgba(6,65,35,.28); text-decoration: none; font-size: .75rem; }
.whatsapp-float span { width: 34px; height: 34px; display: grid; place-items: center; background: rgba(255,255,255,.17); border-radius: 50%; font-weight: 800; }
.whatsapp-float b { font-weight: 800; }
.whatsapp-float:hover { background: #0f8247; transform: translateY(-2px); }
.assistant-dialog { width: min(760px, calc(100% - 28px)); max-height: calc(100vh - 28px); padding: 0; color: var(--ink); background: #fff; border: 0; border-radius: 19px; box-shadow: 0 30px 90px rgba(0,0,0,.3); }
.assistant-dialog::backdrop { background: rgba(3,17,31,.76); backdrop-filter: blur(5px); }
.assistant-close { position: absolute; z-index: 2; top: 16px; right: 17px; width: 38px; height: 38px; color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); border-radius: 50%; font-size: 1.4rem; cursor: pointer; }
.assistant-head { padding: 32px 68px 28px 31px; color: #fff; background: var(--navy); }
.assistant-head > span { color: var(--gold); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.assistant-head h2 { margin: 8px 0 9px; font: 800 clamp(1.4rem, 3.4vw, 2rem)/1.18 Manrope, sans-serif; letter-spacing: -.035em; }
.assistant-head p { max-width: 610px; margin: 0; color: #bfd0dc; font-size: .82rem; line-height: 1.55; }
.assistant-form { padding: 27px 31px 31px; }
.assistant-fields { display: grid; gap: 13px; }
.assistant-fields.two-columns { grid-template-columns: 1fr 1fr; }
.assistant-form > label { display: block; margin-top: 15px; }
.assistant-form label > span { display: block; margin: 0 0 7px 2px; color: #4d6275; font-size: .72rem; font-weight: 800; }
.assistant-form input, .assistant-form textarea { width: 100%; padding: 12px 13px; color: var(--ink); background: #f6f8f9; border: 1px solid var(--line); border-radius: 9px; outline: none; resize: vertical; }
.assistant-form input { height: 46px; }
.assistant-form input:focus, .assistant-form textarea:focus { background: #fff; border-color: #64b995; box-shadow: 0 0 0 4px rgba(14,166,104,.1); }
.assistant-privacy { margin: 10px 0 0; color: #7b8996; font-size: .68rem; }
.assistant-submit { min-height: 48px; margin-top: 20px; padding: 0 17px; display: flex; align-items: center; justify-content: space-between; color: #fff; background: var(--green); border: 0; border-radius: 9px; font-size: .8rem; font-weight: 800; cursor: pointer; }
.assistant-submit:hover { background: var(--navy); }
.assistant-submit.secondary { width: 100%; background: var(--navy); }
.assistant-submit.secondary:hover { background: var(--green); }
.assistant-results { padding: 0 31px 31px; }
.assistant-results-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-top: 24px; border-top: 1px solid var(--line); }
.assistant-results-head h3 { margin: 0; font: 800 1rem Manrope, sans-serif; }
.assistant-results-head span { color: var(--muted); font-size: .72rem; }
.assistant-match { margin-top: 10px; padding: 14px; display: grid; grid-template-columns: 1fr auto; gap: 10px; background: #f5f8f9; border: 1px solid var(--line); border-radius: 10px; }
.assistant-match strong { display: block; font-size: .83rem; }
.assistant-match small { display: block; margin-top: 4px; color: var(--muted); font-size: .7rem; }
.assistant-match a { align-self: center; color: var(--green); font-size: .73rem; font-weight: 800; text-decoration: none; }

.job-dialog {
  width: min(960px, calc(100% - 32px));
  max-height: min(790px, calc(100vh - 32px));
  padding: 0;
  color: var(--ink);
  background: #fff;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 30px 90px rgba(0,0,0,.3);
}
.job-dialog::backdrop { background: rgba(3, 17, 31, .74); backdrop-filter: blur(5px); }
.dialog-close { position: absolute; z-index: 2; top: 16px; right: 18px; width: 38px; height: 38px; color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 50%; font-size: 1.45rem; line-height: 1; cursor: pointer; }
.dialog-close:hover { background: rgba(255,255,255,.22); }
.dialog-head { padding: 34px 70px 31px 35px; color: #fff; background: var(--navy); }
.dialog-company { margin: 0 0 8px; color: #f2c53b; font-size: .73rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.dialog-head h2 { max-width: 710px; margin: 0; font: 800 clamp(1.45rem, 3vw, 2.15rem)/1.2 Manrope, sans-serif; letter-spacing: -.035em; }
.dialog-tags { margin-top: 15px; display: flex; flex-wrap: wrap; gap: 7px; }
.dialog-tags .tag { color: #dce6ed; background: rgba(255,255,255,.1); }
.dialog-body { display: grid; grid-template-columns: 1.55fr .85fr; }
.dialog-main { padding: 31px 35px 39px; }
.dialog-main section + section { margin-top: 28px; }
.dialog-main h3 { margin: 0 0 11px; font: 800 .92rem Manrope, sans-serif; }
.dialog-main p, .dialog-main li { color: #566b7d; font-size: .84rem; line-height: 1.68; }
.dialog-main p { margin: 0; }
.dialog-main ul { margin: 0; padding-left: 19px; }
.dialog-main li + li { margin-top: 6px; }
.dialog-body aside { padding: 30px; background: #f3f7f8; border-left: 1px solid #e0e8ec; }
.dialog-body aside dl { margin: 0; }
.dialog-body aside dl div { padding: 11px 0; border-bottom: 1px solid #dce5e9; }
.dialog-body aside dt { color: #85939f; font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.dialog-body aside dd { margin: 4px 0 0; color: #263d51; font-size: .78rem; font-weight: 700; line-height: 1.4; overflow-wrap: anywhere; }
.dialog-apply-link { margin-top: 22px; min-height: 47px; padding: 0 15px; display: flex; align-items: center; justify-content: space-between; color: #fff; background: var(--green); border-radius: 8px; text-decoration: none; font-size: .76rem; font-weight: 800; }
.dialog-apply-link:hover { background: var(--navy); }
.dialog-source { margin: 11px 0 0; color: #8795a1; font-size: .65rem; line-height: 1.45; }

@media (max-width: 1080px) {
  .topbar { padding-inline: 28px; }
  .topbar nav { gap: 13px; }
  .topbar nav a { font-size: .72rem; }
  .topbar nav .nav-cta { padding-inline: 12px; }
  .job-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .support-grid { grid-template-columns: repeat(2, 1fr); }
  footer { grid-template-columns: 1fr 1.4fr; }
  .copyright { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .topbar { min-height: 76px; grid-template-columns: 1fr auto; gap: 16px; }
  .brand { width: 148px; height: 67px; }
  .menu-toggle { display: grid; }
  .topbar nav { position: absolute; top: calc(100% + 1px); right: 17px; left: 17px; padding: 12px; display: none; align-items: stretch; flex-direction: column; gap: 3px; background: #fff; border: 1px solid var(--line); border-radius: 0 0 14px 14px; box-shadow: 0 20px 42px rgba(6,27,50,.16); }
  .topbar nav.open { display: flex; }
  .topbar nav a { width: 100%; min-height: 44px; padding: 0 13px; display: flex; align-items: center; border-radius: 8px; font-size: .86rem; }
  .topbar nav a:not(.nav-cta)::after { display: none; }
  .topbar nav a:hover, .topbar nav a:focus-visible { background: #f2f7f5; }
  .topbar nav .nav-cta { margin-top: 5px; justify-content: center; }
  .hero { min-height: 620px; }
  .hero-image { background-position: 62% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(3,20,38,.98) 0%, rgba(3,20,38,.9) 67%, rgba(3,20,38,.6) 100%); }
  .hero-inner { min-height: 620px; padding-top: 60px; }
  .hero-copy { max-width: 570px; }
  .hero-stats { width: 100%; }
  .section-intro { grid-template-columns: 1fr; gap: 15px; }
  .portal-tabs { grid-template-columns: 1fr 1fr; }
  .filters { grid-template-columns: 1fr 1fr; }
  .reset-button { width: 100%; }
  .dialog-body { grid-template-columns: 1fr; }
  .dialog-body aside { border-top: 1px solid #e0e8ec; border-left: 0; }
  footer { grid-template-columns: 1fr; }
  .copyright { grid-column: auto; }
}

@media (max-width: 590px) {
  .topbar { padding: 0 17px; }
  .brand { width: 126px; }
  .hero-inner { padding: 54px 20px 34px; }
  h1 { font-size: clamp(2.35rem, 12vw, 3.35rem); }
  .hero-text { font-size: .95rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 15px; }
  .hero-stats div { padding: 15px 10px; }
  .hero-stats strong { font-size: 1.35rem; }
  .hero-stats span { font-size: .61rem; }
  .workspace { padding: 58px 16px 68px; }
  .portal-tab { min-height: 49px; padding: 7px 9px; font-size: .77rem; }
  .filters, .job-grid { grid-template-columns: 1fr; }
  .results-head { align-items: flex-start; flex-direction: column; padding: 21px 0 15px; }
  .job-card { min-height: 445px; }
  .support { padding: 67px 20px; }
  .support-grid { grid-template-columns: 1fr; }
  .support-grid article { min-height: 260px; }
  .whatsapp-float { right: 14px; bottom: 14px; }
  .whatsapp-float b { display: none; }
  .whatsapp-float { width: 52px; padding: 0; justify-content: center; }
  .dialog-head { padding: 30px 60px 27px 24px; }
  .dialog-main, .dialog-body aside { padding: 25px 23px; }
  .assistant-head { padding: 28px 58px 24px 22px; }
  .assistant-form, .assistant-results { padding-right: 22px; padding-left: 22px; }
  .assistant-fields.two-columns { grid-template-columns: 1fr; }
  footer { padding: 27px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
