:root {
  --black: #01598B;
  --black-soft: #01598B;
  --black-card: #01598B;
  --yellow: #fff500;
  --yellow-soft: #fff96a;
  --white: #ffffff;
  --off-white: #f4f3ee;
  --gray: #b8b8b8;
  --gray-dark: #5d5d5d;
  --line-dark: rgba(255, 255, 255, 0.10);
  --line-light: rgba(0, 0, 0, 0.10);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
  --header-height: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

svg {
  display: block;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.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;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
  transform: translateY(-150%);
  background: var(--yellow);
  color: var(--black);
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(1, 89, 139, 0.82);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(1, 89, 139, 0.96);
  border-color: var(--line-dark);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

.brand-mark {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  display: grid;
  place-items: center;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none;
}

.brand-copy {
  min-width: 0;
  display: grid;
}

.brand-copy strong {
  overflow: hidden;
  color: var(--white);
  font-size: 0.96rem;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--gray);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav > a {
  position: relative;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  font-weight: 700;
  transition: color 0.2s ease;
}

.main-nav > a:not(.nav-button)::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.main-nav > a:hover,
.main-nav > a:focus-visible {
  color: var(--white);
}

.main-nav > a:hover::after,
.main-nav > a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--black) !important;
}

.menu-button {
  width: 48px;
  height: 48px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line-dark);
  border-radius: 15px;
  background: var(--black-card);
  cursor: pointer;
}

.menu-button span:not(.sr-only) {
  width: 21px;
  height: 2px;
  border-radius: 999px;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-button[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(7px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:nth-child(3) {
  opacity: 0;
}

.menu-button[aria-expanded="true"] span:nth-child(4) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: calc(var(--header-height) + 72px) 0 54px;
  background:
    linear-gradient(90deg, rgba(1, 89, 139, 0.97) 0%, rgba(1, 89, 139, 0.90) 30%, rgba(1, 89, 139, 0.62) 53%, rgba(1, 89, 139, 0.18) 78%, rgba(1, 89, 139, 0.06) 100%),
    url("images/hero-background.webp") 60% center / cover no-repeat;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.24;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
}

.hero-glow-one {
  top: 14%;
  right: -160px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 245, 0, 0.28);
  box-shadow:
    0 0 0 40px rgba(255, 245, 0, 0.025),
    0 0 0 90px rgba(255, 245, 0, 0.02);
}

.hero-glow-two {
  bottom: -180px;
  left: -180px;
  width: 380px;
  height: 380px;
  background: rgba(255, 245, 0, 0.07);
  filter: blur(70px);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: block;
  min-height: 610px;
}

.hero-content {
  max-width: 710px;
  padding: 72px 0 34px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 22px;
  color: var(--yellow);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.kicker > span {
  width: 34px;
  height: 2px;
  display: inline-block;
  background: currentColor;
}

.kicker-dark {
  color: #171717;
}

.kicker-black {
  color: var(--black);
}

.hero h1,
.section h2,
.project-section h2,
.contact-section h2 {
  margin: 0;
  font-size: clamp(2.7rem, 5.7vw, 5.55rem);
  font-weight: 850;
  letter-spacing: -0.058em;
  line-height: 0.98;
}

.hero h1 em {
  color: var(--yellow);
  font-style: normal;
}

.hero-lead {
  max-width: 650px;
  margin: 28px 0 0;
  color: #c5c5c5;
  font-size: clamp(1rem, 1.5vw, 1.17rem);
  line-height: 1.82;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 850;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button svg,
.text-link svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
}

.button-primary {
  background: var(--yellow);
  color: var(--black);
  box-shadow: 0 15px 38px rgba(255, 245, 0, 0.16);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 19px 46px rgba(255, 245, 0, 0.25);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.045);
  color: var(--white);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: rgba(255, 245, 0, 0.55);
  background: rgba(255, 245, 0, 0.07);
}

.button-black {
  background: var(--black);
  color: var(--white);
  box-shadow: 0 15px 36px rgba(0, 0, 0, 0.16);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.hero-points span {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
  color: #d5d5d5;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-points span::before {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  content: "";
  border-radius: 50%;
  background: var(--yellow);
}

.hero-portrait {
  position: relative;
}

.portrait-frame {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 42px;
  background: #01598B;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.42);
}

.portrait-frame::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(to top, rgba(1,89,139,.88), transparent 48%),
    linear-gradient(120deg, rgba(255,245,0,.08), transparent 42%);
}

.portrait-frame > img {
  width: 100%;
  height: 590px;
  object-fit: cover;
  object-position: center 28%;
  filter: saturate(0.92) contrast(1.04);
}

.portrait-orbit {
  position: absolute;
  z-index: 2;
  border-radius: 50%;
  pointer-events: none;
}

.portrait-orbit-one {
  top: -90px;
  right: -80px;
  width: 330px;
  height: 330px;
  border: 18px solid rgba(255, 245, 0, 0.8);
  box-shadow: 0 0 0 2px rgba(255,255,255,.5) inset;
}

.portrait-orbit-two {
  top: -45px;
  right: -35px;
  width: 250px;
  height: 250px;
  border: 2px solid rgba(255,255,255,.7);
}

.portrait-badge {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(1, 89, 139, 0.88);
  box-shadow: 0 18px 40px rgba(0,0,0,.25);
  backdrop-filter: blur(16px);
}

.portrait-badge img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.portrait-badge div {
  display: grid;
}

.portrait-badge strong {
  color: var(--white);
  font-size: 0.82rem;
}

.portrait-badge span {
  color: #b9b9b9;
  font-size: 0.69rem;
}

.portrait-badge-top {
  top: 24px;
  left: 24px;
}

.portrait-badge-bottom {
  right: 24px;
  bottom: 24px;
}

.status-dot {
  width: 12px;
  height: 12px;
  border: 3px solid rgba(255,245,0,.25);
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 7px rgba(255,245,0,.08);
}

.hero-strip {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-top: 72px;
  border: 1px solid var(--line-dark);
  border-radius: 22px;
  background: var(--line-dark);
}

.hero-strip > div {
  min-height: 105px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 22px;
  background: rgba(1, 89, 139, 0.91);
}

.hero-strip strong {
  color: var(--white);
  font-size: 0.93rem;
}

.hero-strip span {
  color: #9f9f9f;
  font-size: 0.77rem;
}

.section {
  position: relative;
  padding: 112px 0;
}

.section-light {
  background: var(--off-white);
  color: #171717;
}

.section-dark {
  overflow: hidden;
  background:
    radial-gradient(circle at 0 0, rgba(255,245,0,.055), transparent 25%),
    #01598B;
}

.section-dark::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: .16;
  pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.21) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(120deg, black, transparent 43%);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(380px, .96fr);
  align-items: start;
  gap: 74px;
}

.section h2,
.project-section h2,
.contact-section h2 {
  font-size: clamp(2.35rem, 4.3vw, 4.3rem);
  color: inherit;
}

.about-copy p,
.founder-copy p {
  margin: 0 0 18px;
  color: #565656;
}

.text-large {
  margin-top: 27px !important;
  color: #252525 !important;
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  font-weight: 650;
  line-height: 1.66;
}

.about-panel {
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.09);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.09);
}

.about-panel-head {
  display: grid;
  gap: 5px;
  padding: 30px;
  background: var(--yellow);
  color: var(--black);
}

.about-panel-head span {
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.about-panel-head strong {
  font-size: 1.3rem;
}

.about-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 27px 30px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.about-item:last-child {
  border-bottom: 0;
}

.about-number {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #01598B;
  color: var(--yellow);
  font-size: .77rem;
  font-weight: 900;
}

.about-item h3 {
  margin: 0 0 5px;
  font-size: 1.02rem;
}

.about-item p {
  margin: 0;
  color: #666;
  font-size: .89rem;
  line-height: 1.65;
}

.section-heading {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(330px, .6fr);
  align-items: end;
  justify-content: space-between;
  gap: 70px;
  margin-bottom: 48px;
}

.section-heading h2 {
  color: var(--white);
}

.section-heading > p {
  margin: 0 0 5px;
  color: #a9a9a9;
}

.section-heading-center {
  grid-template-columns: 1fr;
  max-width: 850px;
  margin-inline: auto;
  text-align: center;
}

.section-heading-center .kicker {
  justify-content: center;
}

.services-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  position: relative;
  min-height: 345px;
  overflow: hidden;
  padding: 33px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255,255,255,.085), rgba(255,255,255,.025)),
    #01598B;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.service-card::after {
  position: absolute;
  right: -60px;
  bottom: -75px;
  width: 180px;
  height: 180px;
  content: "";
  border: 25px solid rgba(255,245,0,.04);
  border-radius: 50%;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,245,0,.3);
  background:
    linear-gradient(145deg, rgba(255,245,0,.07), rgba(255,255,255,.018)),
    #01598B;
}

.service-card-featured {
  background:
    linear-gradient(145deg, rgba(255,245,0,.13), rgba(255,255,255,.02)),
    #01598B;
}

.service-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,245,0,.2);
  border-radius: 17px;
  background: rgba(255,245,0,.09);
  color: var(--yellow);
}

.service-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-index {
  position: absolute;
  top: 31px;
  right: 31px;
  color: rgba(255,255,255,.18);
  font-size: 1.05rem;
  font-weight: 900;
}

.service-card h3 {
  max-width: 390px;
  margin: 32px 0 13px;
  color: var(--white);
  font-size: 1.42rem;
  line-height: 1.2;
}

.service-card p {
  max-width: 520px;
  margin: 0;
  color: #a9a9a9;
}

.service-tag {
  position: absolute;
  right: 29px;
  bottom: 26px;
  left: 29px;
  color: var(--yellow-soft);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.project-section {
  position: relative;
  overflow: hidden;
  padding: 112px 0;
  background: #01598B;
  color: var(--white);
  isolation: isolate;
}

.project-background {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(1,89,139,.97) 0%, rgba(1,89,139,.90) 46%, rgba(1,89,139,.76) 100%),
    url("images/cleiton-retrato.webp") center 34% / cover no-repeat;
  filter: saturate(.65) contrast(1.05);
  transform: scale(1.035);
}

.project-section::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    radial-gradient(circle at 18% 45%, rgba(255,245,0,.12), transparent 26%),
    linear-gradient(90deg, rgba(1,89,139,.34), rgba(1,89,139,.12));
  pointer-events: none;
}

.project-section::after {
  position: absolute;
  right: -160px;
  bottom: -260px;
  z-index: -1;
  width: 520px;
  height: 520px;
  content: "";
  border: 1px solid rgba(255,245,0,.22);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(255,245,0,.025), 0 0 0 115px rgba(255,245,0,.014);
  pointer-events: none;
}

.project-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(300px, .78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: 82px;
}

.project-logo {
  position: relative;
  width: 100%;
  max-width: 390px;
  margin-inline: auto;
}

.project-logo-card {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 390px;
  padding: 44px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 36px;
  background: linear-gradient(145deg, rgba(1,89,139,.94), rgba(1,89,139,.80));
  box-shadow: 0 34px 90px rgba(0,0,0,.48);
  backdrop-filter: blur(8px);
}

.project-logo-card::before {
  position: absolute;
  inset: 15%;
  content: "";
  border: 1px solid rgba(255,245,0,.18);
  border-radius: 50%;
  box-shadow: 0 0 0 24px rgba(255,245,0,.022);
}

.project-logo img {
  position: relative;
  z-index: 2;
  width: min(100%, 290px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 32px rgba(0,0,0,.38));
}

.project-copy h2 {
  max-width: 760px;
  color: var(--white);
}

.project-copy p {
  max-width: 690px;
  margin: 21px 0 0;
  color: rgba(255,255,255,.72);
}

.project-lead {
  color: var(--white) !important;
  font-size: 1.13rem;
  font-weight: 700;
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
}

.project-section .text-link {
  color: var(--white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .91rem;
  font-weight: 850;
}

.book-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 22%, rgba(168,103,52,.12), transparent 24%),
    linear-gradient(135deg, #f6f3ed 0%, #ece7dc 100%);
  color: #171717;
}

.book-section::before {
  position: absolute;
  top: -180px;
  right: -140px;
  width: 430px;
  height: 430px;
  content: "";
  border: 1px solid rgba(121,77,39,.16);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(121,77,39,.025);
}

.book-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(330px, .86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: 84px;
}

.book-cover-wrap {
  position: relative;
  width: 100%;
  max-width: 510px;
  margin-inline: auto;
}

.book-cover-wrap a {
  position: relative;
  z-index: 2;
  display: block;
}

.book-cover-wrap img {
  width: 100%;
  height: auto;
  border-radius: 30px;
  box-shadow: 0 34px 75px rgba(65,38,18,.24);
  transition: transform .28s ease, box-shadow .28s ease;
}

.book-cover-wrap a:hover img,
.book-cover-wrap a:focus-visible img {
  transform: translateY(-6px) rotate(-1deg);
  box-shadow: 0 42px 90px rgba(65,38,18,.3);
}

.book-cover-glow {
  position: absolute;
  inset: 12% -8% -8% 12%;
  border-radius: 38px;
  background: linear-gradient(135deg, #d1a362, #6c3d22);
  opacity: .28;
  filter: blur(28px);
}

.book-copy h2 {
  max-width: 740px;
  color: #151515;
}

.book-copy p {
  max-width: 700px;
  color: #59534c;
}

.book-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 27px 0 30px;
}

.book-features span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid rgba(74,48,29,.13);
  border-radius: 999px;
  background: rgba(255,255,255,.52);
  color: #3c332c;
  font-size: .77rem;
  font-weight: 800;
}

.book-features span::before {
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 50%;
  background: #a46736;
}

.book-button {
  margin-top: 2px;
}

.founder-grid {
  display: grid;
  grid-template-columns: minmax(350px, .82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: 82px;
}

.founder-media {
  position: relative;
  width: 100%;
  max-width: 470px;
  padding: 0 24px 24px 0;
}

.founder-media::before {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 70%;
  height: 58%;
  content: "";
  border-radius: 28px;
  background: var(--yellow);
}

.founder-photo {
  position: relative;
  z-index: 2;
  height: 470px;
  overflow: hidden;
  border-radius: 31px;
  box-shadow: 0 30px 70px rgba(0,0,0,.18);
}

.founder-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.founder-note {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 55px;
  width: min(290px, 74%);
  display: grid;
  gap: 3px;
  padding: 17px 20px;
  border-radius: 17px 0 0 17px;
  background: #01598B;
  color: var(--white);
  box-shadow: 0 15px 40px rgba(0,0,0,.23);
}

.founder-note strong {
  font-size: .88rem;
}

.founder-note span {
  color: #b8b8b8;
  font-size: .72rem;
}

.founder-copy h2 {
  margin-bottom: 26px;
}

.founder-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.founder-tags span {
  padding: 9px 13px;
  border: 1px solid rgba(0,0,0,.09);
  border-radius: 999px;
  background: var(--white);
  color: #232323;
  font-size: .76rem;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(0,0,0,.04);
}

.values-section {
  overflow: hidden;
  background:
    radial-gradient(circle at center top, rgba(255,245,0,.07), transparent 32%),
    #01598B;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.value-card {
  min-height: 315px;
  padding: 31px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.035);
}

.value-card > span {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--yellow);
  color: var(--black);
  font-size: .75rem;
  font-weight: 900;
}

.value-card h3 {
  margin: 28px 0 12px;
  font-size: 1.38rem;
}

.value-card p {
  margin: 0;
  color: #a5a5a5;
}

.social-section {
  background: #01598B;
}

.social-grid {
  display: grid;
  grid-template-columns: minmax(280px, .7fr) minmax(0, 1.3fr);
  align-items: start;
  gap: 80px;
}

.social-copy {
  position: sticky;
  top: calc(var(--header-height) + 35px);
}

.social-copy h2 {
  font-size: clamp(2.3rem, 4vw, 3.9rem);
}

.social-copy p:last-child {
  margin: 24px 0 0;
  color: #aaa;
}

.social-cards {
  display: grid;
  gap: 14px;
}

.social-card {
  display: grid;
  grid-template-columns: 58px 1fr 24px;
  align-items: center;
  gap: 17px;
  min-height: 112px;
  padding: 20px 22px;
  border: 1px solid var(--line-dark);
  border-radius: 22px;
  background: rgba(255,255,255,.035);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.social-card:hover,
.social-card:focus-visible {
  transform: translateX(6px);
  border-color: rgba(255,245,0,.32);
  background: rgba(255,245,0,.05);
}

.social-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 17px;
}

.social-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-youtube {
  background: #ff1e1e;
  color: white;
}

.social-youtube svg path:first-child {
  fill: currentColor;
  stroke: none;
}

.social-youtube .fill-dark {
  fill: #ff1e1e;
  stroke: white;
  stroke-width: 1.7;
}

.social-instagram {
  background: linear-gradient(145deg, #6f36d9, #e43c71 55%, #f7a33a);
  color: white;
}

.social-email {
  background: var(--yellow);
  color: var(--black);
}

.social-card > div {
  min-width: 0;
  display: grid;
}

.social-card small {
  color: #8f8f8f;
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.social-card strong {
  overflow: hidden;
  margin-top: 3px;
  color: var(--white);
  font-size: 1rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.social-card span:not(.social-icon) {
  margin-top: 3px;
  color: #aaa;
  font-size: .8rem;
}

.social-arrow {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #777;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-section {
  padding: 86px 0;
  background: #01598B;
}

.contact-box {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .76fr);
  align-items: center;
  gap: 68px;
  padding: 54px;
  border-radius: 34px;
  background: var(--yellow);
  color: var(--black);
}

.contact-box::before {
  position: absolute;
  top: -140px;
  right: -100px;
  width: 340px;
  height: 340px;
  content: "";
  border: 42px solid rgba(0,0,0,.055);
  border-radius: 50%;
}

.contact-copy,
.contact-action {
  position: relative;
  z-index: 2;
}

.contact-copy p:last-child {
  max-width: 610px;
  margin: 22px 0 0;
  color: rgba(1,47,74,.88);
}

.contact-action {
  display: grid;
  gap: 10px;
  padding: 26px;
  border: 1px solid rgba(0,0,0,.11);
  border-radius: 22px;
  background: rgba(255,255,255,.37);
  box-shadow: 0 20px 45px rgba(0,0,0,.08);
}

.contact-action > span {
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.contact-action > a {
  overflow-wrap: anywhere;
  font-size: clamp(1rem, 1.8vw, 1.28rem);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}


.site-footer {
  padding: 58px 0 24px;
  border-top: 1px solid var(--line-dark);
  background: #01598B;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding-bottom: 42px;
}

.footer-brand {
  max-width: 520px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-brand img {
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-brand strong {
  font-size: 1.06rem;
}

.footer-brand p {
  margin: 6px 0 0;
  color: #999;
  font-size: .84rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 21px;
}

.footer-nav a {
  color: #b8b8b8;
  font-size: .82rem;
  font-weight: 700;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--yellow);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
}

.footer-bottom p {
  margin: 0;
  color: #747474;
  font-size: .74rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .72s ease, transform .72s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay,
.reveal-delay-small,
.reveal-delay-medium,
.reveal-delay-large {
  transition-delay: .12s;
}

.reveal-delay-small { transition-delay: .08s; }
.reveal-delay-medium { transition-delay: .16s; }
.reveal-delay-large { transition-delay: .24s; }

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

@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr);
    gap: 40px;
  }

  .portrait-frame,
  .portrait-frame > img {
    min-height: 520px;
    height: 520px;
  }

  .about-grid,
  .founder-grid,
  .project-grid,
  .book-grid {
    gap: 50px;
  }

  .social-grid {
    gap: 45px;
  }
}

@media (max-width: 920px) {
  :root { --header-height: 76px; }

  .brand-copy small { display: none; }

  .menu-button { display: flex; }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    right: 18px;
    left: 18px;
    display: grid;
    gap: 0;
    overflow: hidden;
    padding: 10px;
    border: 1px solid var(--line-dark);
    border-radius: 22px;
    background: rgba(1,89,139,.98);
    box-shadow: 0 25px 70px rgba(0,0,0,.45);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px) scale(.98);
    transform-origin: top;
    transition: opacity .22s ease, transform .22s ease;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(8px) scale(1);
  }

  .main-nav > a {
    padding: 15px 15px;
    border-radius: 13px;
  }

  .main-nav > a::after { display: none; }

  .main-nav > a:hover { background: rgba(255,255,255,.05); }

  .nav-button {
    margin-top: 6px;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 54px);
  }

  .hero-grid,
  .about-grid,
  .project-grid,
  .book-grid,
  .founder-grid,
  .social-grid,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .hero-content {
    max-width: 800px;
  }

  .hero-portrait {
    max-width: 620px;
    width: 100%;
    margin-inline: auto;
  }

  .hero-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid {
    gap: 46px;
  }

  .project-logo {
    max-width: 360px;
  }

  .project-logo-card {
    min-height: 350px;
    padding: 34px;
  }

  .book-cover-wrap {
    max-width: 470px;
  }

  .founder-media {
    max-width: 470px;
    width: 100%;
    margin-inline: auto;
  }

  .social-copy {
    position: static;
  }

  .contact-box {
    gap: 35px;
  }

  .footer-main {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section,
  .project-section {
    padding: 82px 0;
  }

  .project-background {
    background-position: 64% 34%;
  }

  .project-logo-card {
    min-height: 320px;
  }

  .founder-photo {
    height: 460px;
  }

  .hero h1,
  .section h2,
  .project-section h2,
  .contact-section h2 {
    letter-spacing: -.045em;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .portrait-frame,
  .portrait-frame > img {
    min-height: 480px;
    height: 480px;
  }

  .portrait-badge-top {
    top: 16px;
    left: 16px;
  }

  .portrait-badge-bottom {
    right: 16px;
    bottom: 16px;
  }

  .portrait-badge {
    padding: 10px 12px;
  }

  .portrait-badge-top span { display: none; }

  .hero-strip {
    grid-template-columns: 1fr;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .services-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 310px;
  }

  .founder-note {
    right: 0;
    bottom: 40px;
  }

  .contact-box {
    padding: 34px 24px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .brand-mark {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }

  .brand-copy strong {
    max-width: 190px;
    font-size: .86rem;
  }

  .hero {
    padding-top: calc(var(--header-height) + 40px);
  }

  .hero h1 {
    font-size: 2.55rem;
  }

  .portrait-frame,
  .portrait-frame > img {
    min-height: 420px;
    height: 420px;
  }

  .portrait-badge-bottom {
    left: 16px;
    right: auto;
  }

  .portrait-orbit-one {
    width: 250px;
    height: 250px;
  }

  .portrait-orbit-two {
    width: 180px;
    height: 180px;
  }

  .about-panel-head,
  .about-item,
  .service-card,
  .value-card {
    padding: 24px;
  }

  .about-item {
    grid-template-columns: 44px 1fr;
    gap: 13px;
  }

  .service-index {
    top: 24px;
    right: 24px;
  }

  .service-tag {
    right: 24px;
    left: 24px;
  }

  .project-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .text-link {
    justify-content: center;
  }

  .founder-media {
    padding: 0 17px 17px 0;
  }

  .founder-photo {
    height: 400px;
  }

  .project-logo-card {
    min-height: 285px;
    padding: 28px;
    border-radius: 26px;
  }

  .project-logo img {
    width: min(100%, 230px);
  }

  .founder-note {
    position: relative;
    right: auto;
    bottom: auto;
    width: calc(100% - 20px);
    margin: -55px 0 0 auto;
    border-radius: 17px;
  }

  .social-card {
    grid-template-columns: 51px minmax(0, 1fr) 20px;
    gap: 13px;
    padding: 17px;
  }

  .social-icon {
    width: 50px;
    height: 50px;
  }

  .social-card strong {
    font-size: .88rem;
  }

  .contact-action {
    padding: 21px;
  }

  .footer-brand {
    align-items: flex-start;
  }

  .footer-brand img {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
  }
}


/* Ajustes finais: hero com imagem de fundo e retrato do fundador */
@media (max-width: 1080px) {
  .hero-grid {
    min-height: 560px;
  }

  .hero-content {
    max-width: 640px;
    padding-top: 54px;
  }
}

@media (max-width: 920px) {
  .hero {
    background:
      linear-gradient(90deg, rgba(1,89,139,.97) 0%, rgba(1,89,139,.91) 43%, rgba(1,89,139,.64) 72%, rgba(1,89,139,.34) 100%),
      url("images/hero-background.webp") 64% center / cover no-repeat;
  }

  .hero-grid {
    min-height: 540px;
  }

  .hero-content {
    max-width: 620px;
    padding: 40px 0 28px;
  }
}

@media (max-width: 720px) {
  .hero {
    background:
      linear-gradient(90deg, rgba(1,89,139,.98) 0%, rgba(1,89,139,.93) 54%, rgba(1,89,139,.68) 100%),
      url("images/hero-background.webp") 68% center / cover no-repeat;
  }

  .hero-grid {
    min-height: auto;
  }

  .hero-content {
    max-width: 100%;
    padding: 24px 0 10px;
  }

  .founder-photo {
    height: 420px;
  }
}

@media (max-width: 480px) {
  .hero {
    background:
      linear-gradient(90deg, rgba(1,89,139,.99) 0%, rgba(1,89,139,.95) 58%, rgba(1,89,139,.76) 100%),
      url("images/hero-background.webp") 70% center / cover no-repeat;
  }

  .hero-content {
    padding-top: 18px;
  }

  .founder-photo {
    height: 360px;
  }
}

/* Ajuste final de contraste: textos brancos sobre todos os fundos azuis */
.site-header .main-nav > a,
.hero .hero-lead,
.hero .hero-points span,
.hero .portrait-badge span,
.hero .hero-strip span,
.section-dark .section-heading > p,
.section-dark .service-card p,
.project-section .project-copy p,
.section-light .founder-note span,
.values-section .section-heading > p,
.values-section .value-card p,
.social-section .social-copy p,
.social-section .social-card small,
.social-section .social-card span:not(.social-icon),
.site-footer .footer-brand p,
.site-footer .footer-nav a,
.site-footer .footer-bottom p {
  color: #ffffff;
}

.social-section .social-arrow {
  stroke: #ffffff;
}

/* Mantém o texto do botão amarelo em azul e os conteúdos das áreas claras inalterados */
.site-header .nav-button,
.contact-section .contact-box,
.contact-section .contact-box p,
.contact-section .contact-action,
.contact-section .contact-action a,
.contact-section .contact-action span {
  color: #01598B;
}
