@font-face {
  font-family: Manrope;
  src: url("manrope.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --paper: #f6f5ef;
  --ink: #161929;
  --muted: #4c5063;
  --blue: #2447d9;
  --blue-deep: #1839b6;
  --yellow: #ffdc78;
  --line: #cdced7;
  --display: Manrope, Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.65 system-ui, sans-serif; }
::selection { color: var(--ink); background: var(--yellow); }
a { color: inherit; text-underline-offset: .22em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
p, h1, h2, figure { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 800; letter-spacing: -.04em; line-height: 1.06; }
h1 { font-size: clamp(2.8rem, 5.8vw, 5.85rem); max-width: 11.4ch; }
h2 { font-size: clamp(2.25rem, 4.1vw, 4.15rem); max-width: 16ch; }
.wrap { width: min(1240px, calc(100% - clamp(2rem, 8vw, 8rem))); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: .5rem; padding: .65rem; background: var(--yellow); transform: translateY(-150%); z-index: 2; }
.skip:focus { transform: translateY(0); }
.header { border-bottom: 1px solid var(--line); }
.navigation, .footer { display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; min-height: 77px; }
.brand { display: inline-flex; align-items: center; gap: .45rem; font: 650 1.35rem/1 var(--display); text-decoration: none; white-space: nowrap; }
.brand svg { color: var(--blue); }
.brand strong { font-weight: 800; }
nav { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: clamp(.7rem, 2.8vw, 2.5rem); }
nav a { text-decoration: none; font-size: .9rem; font-weight: 600; padding-block: .6rem; }
nav a:hover { text-decoration: underline; }
.button, .text-link { display: inline-flex; align-items: center; gap: .7rem; width: fit-content; font-size: .94rem; font-weight: 700; }
.button { min-height: 48px; padding: .65rem 1.02rem; border: 1px solid currentColor; text-decoration: none; transition: background-color 180ms ease, color 180ms ease; }
.button svg, .text-link svg { flex: none; }
.button:hover { color: var(--blue-deep); background: #e5eaff; }
.primary { color: #fff; background: var(--blue-deep); border-color: var(--blue-deep); }
.primary:hover { background: #102888; color: #fff; }
.text-link:hover { text-decoration-thickness: 2px; }
.hero { display: grid; grid-template-columns: 1.12fr .88fr; align-items: stretch; gap: clamp(1.75rem, 4vw, 4.5rem); padding-block: clamp(2.3rem, 6vw, 5.8rem); }
.hero-copy { align-self: center; }
.hero-copy > p { margin-block: 1.4rem 1.65rem; max-width: 37ch; font-size: clamp(1.04rem, 1.6vw, 1.24rem); color: var(--muted); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .9rem 1.5rem; }
.hero-figure { display: grid; align-content: center; min-width: 0; background: var(--blue); color: #fff; padding: clamp(.8rem, 2vw, 1.65rem); }
.hero-symbol { width: 100%; height: auto; display: block; animation: assemble 620ms cubic-bezier(.16, 1, .3, 1) both; }
@keyframes assemble { from { transform: translateY(10px); } to { transform: translateY(0); } }
figcaption { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .45rem; border-top: 1px solid #a7b7ff; padding-top: .7rem; font-size: clamp(.68rem, 1.1vw, .82rem); font-weight: 650; }
.services { display: grid; grid-template-columns: .83fr 1.17fr; gap: clamp(1.65rem, 6vw, 6.5rem); padding-block: clamp(2.7rem, 6vw, 5.5rem) clamp(3.3rem, 8vw, 7rem); border-top: 1px solid var(--line); }
.section-intro > p { color: var(--muted); margin-top: 1.25rem; max-width: 33ch; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: .8rem; align-items: center; padding: 1.12rem 0; }
summary::-webkit-details-marker { display: none; }
summary:hover .service-name strong, details[open] .service-name strong { color: var(--blue-deep); }
.service-name { display: grid; gap: .18rem; }
.service-name strong { font: 800 clamp(1.16rem, 2vw, 1.58rem)/1.2 var(--display); letter-spacing: -.02em; }
.service-name span, .service-body p { color: var(--muted); }
.toggle { width: 26px; height: 26px; flex: 0 0 26px; display: grid; place-items: center; position: relative; border: 1px solid var(--line); border-radius: 50%; }
.toggle::before, .toggle::after { content: ""; position: absolute; width: 10px; height: 1px; background: currentColor; }
.toggle::after { transform: rotate(90deg); }
details[open] .toggle::after { display: none; }
.service-body { padding: 0 1rem 1.3rem 0; }
.service-body p { max-width: 56ch; margin-bottom: .6rem; }
.service-body a { color: var(--blue-deep); }
.training { background: var(--yellow); }
.training-grid { display: grid; grid-template-columns: 1fr .9fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; padding-block: clamp(3rem, 7vw, 6.5rem); }
.training-copy p { margin-block: 1.15rem; max-width: 49ch; }
.proof { border-block: 1px solid #9d782c; display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding-block: 1.15rem; }
.proof p { display: grid; gap: .45rem; }
.proof strong { font: 800 clamp(4.1rem, 9vw, 7.6rem)/1 var(--display); letter-spacing: -.04em; }
.proof span { font-size: .94rem; font-weight: 700; max-width: 18ch; }
.proof svg { width: min(40%, 180px); color: #6d531d; }
.about { display: grid; grid-template-columns: .83fr 1.17fr; gap: clamp(1.2rem, 6vw, 6.5rem); padding-block: clamp(3rem, 8vw, 7rem); }
.about p { max-width: 62ch; }
.about .lead { font: 750 clamp(1.35rem, 2.65vw, 2.15rem)/1.28 var(--display); margin-bottom: .85rem; letter-spacing: -.025em; }
.about p:not(.lead) { color: var(--muted); }
.contact { background: #171e3c; color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 2rem; align-items: end; padding-block: clamp(2.8rem, 6vw, 5.3rem); }
.contact h2 { max-width: 20ch; }
.contact p { color: #d9e0ff; margin-top: 1rem; }
.contact-action { display: grid; justify-items: start; gap: .55rem; }
.contact-action .primary { color: var(--ink); background: var(--yellow); border-color: var(--yellow); }
.contact-action .primary:hover { background: #fff0b8; }
.contact :focus-visible { outline-color: var(--yellow); }
.footer { padding-block: 1rem; flex-wrap: wrap; }
.footer p { color: var(--muted); font-size: .87rem; }

@media (max-width: 820px) {
  .hero { gap: 1.35rem; }
  .hero h1 { font-size: clamp(2.55rem, 6.8vw, 4.1rem); }
  .services, .about, .training-grid { gap: 1.6rem; }
}
@media (max-width: 650px) {
  .navigation { display: grid; grid-template-columns: 1fr auto; gap: .25rem .7rem; padding-block: .8rem .3rem; }
  nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; }
  .header-contact { grid-column: 2; grid-row: 1; min-height: 42px; }
  .hero, .services, .training-grid, .about, .contact-grid { grid-template-columns: 1fr; }
  .hero-figure { padding: .75rem 1rem; }
  .hero-symbol { max-height: 290px; }
  .contact-grid { align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
/* Identidade Consult IVO */
:root {
  --paper: #fbfaf7;
  --ink: #071e39;
  --muted: #38495c;
  --blue: #0c3669;
  --blue-deep: #08254c;
  --yellow: #ffad23;
  --line: #ced7e1;
}
.header { background: #071e46; color: white; border-bottom: 0; }
.header :focus-visible { outline-color: var(--yellow); }
.brand img { object-fit: cover; border-radius: 4px; }
.brand small { display: block; font: 500 .67rem/1.15 system-ui, sans-serif; margin-top: .26rem; }
.header-contact { border-color: var(--yellow); color: var(--yellow); }
.header-contact:hover { background: var(--yellow); color: var(--ink); }
.hero { grid-template-columns: 1.12fr .88fr; }
.hero-figure { justify-items: center; align-content: center; background: #071e46; padding: clamp(1.1rem, 3vw, 2.6rem); }
.portrait-frame {
  width: min(100%, 350px);
  aspect-ratio: 1;
  border-radius: 50%;
  padding: clamp(.38rem, 1.1vw, .76rem);
  background: conic-gradient(from -30deg, #ffad23 0deg 55deg, #fff 55deg 62deg, #2c70bb 62deg 155deg, #ffad23 155deg 225deg, #fff 225deg 232deg, #2c70bb 232deg 360deg);
}
.portrait { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 4px solid white; }
.hero-figure figcaption { display: grid; text-align: center; justify-content: center; gap: .1rem; width: 100%; margin-top: 1.25rem; border-color: #5374a1; }
.hero-figure figcaption strong { font: 800 1.25rem/1.15 var(--display); }
.hero-figure figcaption span { color: #e2ebfc; font-size: .85rem; }
.hiring { background: #071e46; color: white; }
.hiring-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.1rem 2rem; padding-block: clamp(1.8rem, 4vw, 3.2rem); }
.hiring h2 { max-width: 24ch; font-size: clamp(1.9rem, 4vw, 3.5rem); }
.hiring h2 span { color: var(--yellow); }
.hiring .button { color: white; border-color: #849bc0; }
.hiring .button:hover { background: #173a68; }
.hiring :focus-visible { outline-color: var(--yellow); }
.services { border-top: 0; }
.training { background: #fff0d3; }
.proof { border-color: #b07818; }
.contact { background: #071e46; }
@media (max-width: 650px) {
  .hero { grid-template-columns: 1fr; }
  .portrait-frame { width: min(100%, 285px); }
  .brand small { display: none; }
}
