/* ==========================================================================
   Divane Bello — Sucessão Empresarial através de Liderança
   Design system. Paleta extraída da logo oficial (#3E5A85 / #92A1BD).
   ========================================================================== */

:root {
  /* marca */
  --navy: #3e5a85;
  --navy-dark: #2e4566;
  --navy-deep: #1f2f47;
  --blue: #92a1bd;
  --blue-soft: #b8c3d6;
  --blue-wash: #eef1f6;

  /* neutros */
  --cream: #faf8f5;
  --cream-deep: #f3efe9;
  --white: #ffffff;
  --ink: #1e2a3a;
  --body: #4a5568;
  --muted: #7b8794;
  --line: #e6e2dc;
  --line-soft: #f0ece6;

  /* tipografia */
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* ritmo */
  --wrap: 1180px;
  --wrap-narrow: 780px;
  --gut: clamp(1.25rem, 5vw, 2.5rem);
  --section: clamp(4.5rem, 11vw, 8.5rem);

  --radius: 4px;
  --radius-lg: 10px;
  --shadow: 0 1px 2px rgba(30, 42, 58, 0.04), 0 8px 30px rgba(30, 42, 58, 0.06);
  --shadow-lift: 0 2px 4px rgba(30, 42, 58, 0.05), 0 18px 50px rgba(30, 42, 58, 0.1);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------- reset -- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(1rem, 0.97rem + 0.15vw, 1.075rem);
  line-height: 1.75;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, picture { max-width: 100%; display: block; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.05rem, 1.5rem + 2.3vw, 3.1rem); }
h2 { font-size: clamp(1.8rem, 1.35rem + 1.9vw, 2.55rem); }
h3 { font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.65rem); }
h4 { font-size: clamp(1.08rem, 1rem + 0.4vw, 1.2rem); font-family: var(--sans); font-weight: 500; }

p { margin: 0 0 1.15em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--navy-dark); }

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 0.8rem 1.4rem;
  z-index: 200;
}
.skip:focus { left: 0; color: #fff; }

/* ------------------------------------------------------------- layout -- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(3rem, 7vw, 5rem); }
.section--cream { background: var(--cream); }
.section--wash { background: var(--blue-wash); }
.section--navy { background: var(--navy-deep); color: rgba(255, 255, 255, 0.82); }
.section--navy h2,
.section--navy h3 { color: #fff; }

/* -------------------------------------------------------------- tipos -- */

.eyebrow {
  font-family: var(--sans);
  font-size: 0.735rem;
  font-weight: 500;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.eyebrow::after {
  content: "";
  height: 1px;
  width: 46px;
  background: currentColor;
  opacity: 0.5;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::before {
  content: "";
  height: 1px;
  width: 46px;
  background: currentColor;
  opacity: 0.5;
}

.lead {
  font-size: clamp(1.13rem, 1.05rem + 0.42vw, 1.36rem);
  line-height: 1.65;
  color: var(--body);
  font-weight: 300;
}

.kicker {
  font-family: var(--display);
  font-size: clamp(1.35rem, 1.15rem + 0.9vw, 1.8rem);
  line-height: 1.4;
  color: var(--navy);
  font-style: italic;
}

.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .eyebrow::before {
  content: "";
  height: 1px;
  width: 46px;
  background: currentColor;
  opacity: 0.5;
}

.muted { color: var(--muted); }
.reg { font-size: 0.62em; vertical-align: super; letter-spacing: 0; }

/* ------------------------------------------------------------ botões -- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  padding: 0.95rem 1.9rem;
  border: 1px solid var(--navy);
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease),
    color 0.25s var(--ease), transform 0.25s var(--ease);
}
.btn:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  color: #fff;
  transform: translateY(-1px);
}
.btn svg { width: 15px; height: 15px; flex: none; }

.btn--ghost { background: transparent; color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }

.btn--light { background: #fff; border-color: #fff; color: var(--navy-deep); }
.btn--light:hover { background: rgba(255, 255, 255, 0.88); border-color: transparent; color: var(--navy-deep); }

.btn--outline-light { background: transparent; border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; color: #fff; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.1rem;
}
.center .btn-row { justify-content: center; }

/* ------------------------------------------------------------- header -- */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 20px rgba(30, 42, 58, 0.05);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 76px;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.brand { display: block; flex: none; }
.brand img { height: 42px; width: auto; }

.nav { display: none; }

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 1.9vw, 1.85rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  font-size: 0.845rem;
  font-weight: 300;
  letter-spacing: 0.025em;
  color: var(--body);
  padding-block: 0.4rem;
  position: relative;
  white-space: nowrap;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: var(--navy);
  transition: width 0.28s var(--ease);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { width: 100%; }
.nav__link[aria-current="page"] { color: var(--navy); }

.header__cta { display: none; }

.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
  margin-right: -10px;
}
.burger span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.drawer {
  position: fixed;
  inset: 76px 0 0;
  background: var(--white);
  padding: 1.5rem var(--gut) 3rem;
  overflow-y: auto;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.35s var(--ease), visibility 0.35s;
  z-index: 99;
}
.drawer.is-open { transform: none; visibility: visible; }

.drawer__list { list-style: none; margin: 0 0 2rem; padding: 0; }
.drawer__list li + li { border-top: 1px solid var(--line-soft); }
.drawer__list a {
  display: block;
  padding: 1.05rem 0;
  font-size: 1.08rem;
  font-weight: 300;
  color: var(--ink);
}
.drawer__list a[aria-current="page"] { color: var(--navy); }
.drawer .btn { width: 100%; }

body.no-scroll { overflow: hidden; }

/* --------------------------------------------------------------- hero -- */

.hero {
  position: relative;
  background: var(--cream);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
  padding-block: clamp(3.5rem, 9vw, 6.5rem);
}
.hero__title {
  margin-bottom: 0.4em;
  font-size: clamp(2rem, 1.45rem + 2.2vw, 2.95rem);
  line-height: 1.16;
}
.hero__role {
  font-family: var(--sans);
  font-size: clamp(0.86rem, 0.82rem + 0.2vw, 0.95rem);
  font-weight: 400;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1.6rem;
  line-height: 1.7;
}
.hero__media { position: relative; justify-self: center; max-width: 460px; }
.hero__media::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 76%;
  background: linear-gradient(180deg, var(--blue-soft), var(--blue));
  border-radius: 200px 200px var(--radius-lg) var(--radius-lg);
}
.hero__media img { position: relative; width: 100%; }

/* -------------------------------------------------------------- cards -- */

.grid { display: grid; gap: clamp(1.1rem, 2.5vw, 1.6rem); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }

.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3.4vw, 2.3rem);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
  border-color: var(--blue-soft);
}
.card h3 { margin-bottom: 0.5rem; }
.card__tag {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
  margin-bottom: 0.9rem;
}
.card p { font-size: 0.985rem; }
.card__link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.45rem;
  margin-top: auto;
  padding-top: 1.35rem;
  font-size: 0.87rem;
  letter-spacing: 0.03em;
  color: var(--navy);
}
.card__link svg { width: 14px; height: 14px; transition: transform 0.25s var(--ease); }
.card__link:hover svg { transform: translateX(3px); }

.card--flat { background: transparent; border: 0; padding: 0; }
.card--flat:hover { transform: none; box-shadow: none; }

/* ------------------------------------------------------------- pilares -- */

.pillar {
  border-top: 2px solid var(--navy);
  padding-top: 1.6rem;
}
.pillar__num {
  font-family: var(--display);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--blue-soft);
  display: block;
  margin-bottom: 0.6rem;
}
.pillar h3 { margin-bottom: 0.45rem; }
.pillar p { font-size: 0.97rem; }

/* -------------------------------------------------- dimensões VERSADO -- */

.dims { display: grid; gap: 0.5rem; counter-reset: dim; }
.dim {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  gap: clamp(0.9rem, 2.4vw, 1.6rem);
  padding: clamp(0.95rem, 2.2vw, 1.3rem) clamp(1rem, 2.4vw, 1.6rem);
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.dim:nth-child(odd) { background: var(--navy); border-color: var(--navy); }
.dim:nth-child(odd) .dim__letter,
.dim:nth-child(odd) h4 { color: #fff; }
.dim:nth-child(odd) p { color: rgba(255, 255, 255, 0.75); }
.dim__letter {
  font-family: var(--display);
  font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.6rem);
  line-height: 1;
  color: var(--navy);
  text-align: center;
}
.dim h4 { margin: 0 0 0.15rem; }
.dim p { margin: 0; font-size: 0.93rem; line-height: 1.55; }

/* --------------------------------------------------------------- list -- */

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.ticks li {
  position: relative;
  padding-left: 1.9rem;
  font-size: 0.99rem;
  line-height: 1.6;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1.5px solid var(--blue);
}
.ticks--check li::before {
  border: 0;
  width: 15px;
  height: 8px;
  border-left: 1.5px solid var(--navy);
  border-bottom: 1.5px solid var(--navy);
  transform: rotate(-45deg);
  top: 0.5em;
  border-radius: 0;
}
.section--navy .ticks li::before { border-color: var(--blue-soft); }

.results {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.results li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.45rem);
  color: var(--ink);
}
.section--navy .results { border-color: rgba(255, 255, 255, 0.16); }
.section--navy .results li { border-color: rgba(255, 255, 255, 0.16); color: #fff; }

/* ---------------------------------------------------------- split rows -- */

.split {
  display: grid;
  gap: clamp(2rem, 5.5vw, 4.5rem);
  align-items: center;
}
.split__media img { border-radius: var(--radius-lg); width: 100%; }
.split__media--soft {
  background: var(--blue-wash);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

/* ---------------------------------------------------------- depoimentos -- */

.quote {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.7rem, 3.6vw, 2.4rem);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  height: 100%;
}
.quote__stars { color: var(--blue); letter-spacing: 0.18em; font-size: 0.82rem; }
.quote__text {
  font-family: var(--display);
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.22rem);
  line-height: 1.6;
  color: var(--ink);
  flex: 1;
  margin: 0;
}
.quote__who {
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.03em;
  margin: 0;
}
.quote__who strong { color: var(--ink); font-weight: 500; display: block; }

/* --------------------------------------------------------------- CTA -- */

.cta {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta h2 { color: #fff; }
.cta::before {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(146, 161, 189, 0.16), transparent 68%);
  top: -46%;
  right: -14%;
  pointer-events: none;
}
.cta .wrap { position: relative; }

/* ------------------------------------------------------------- contato -- */

.channels { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.channels li { border-bottom: 1px solid var(--line); }
.channels a,
.channels span {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1.05rem 0;
  color: var(--ink);
  font-size: 1.02rem;
}
.channels .ch__label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  min-width: 92px;
  flex: none;
}
.channels a:hover { color: var(--navy); }

.note {
  background: var(--cream);
  border-left: 2px solid var(--blue);
  padding: 1.3rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.96rem;
}

/* -------------------------------------------------------------- footer -- */

.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.62);
  padding-block: clamp(3rem, 7vw, 4.5rem) 2rem;
  font-size: 0.92rem;
}
.footer__grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 2.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer__brand { max-width: 42ch; }
.footer__brand img { height: 62px; width: auto; margin-bottom: 1.3rem; }
.footer__role {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 0.9rem;
}
.footer h4 {
  color: #fff;
  font-size: 0.74rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 1.1rem;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer a { color: rgba(255, 255, 255, 0.62); }
.footer a:hover { color: #fff; }
.footer__bottom {
  padding-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.6rem;
  justify-content: space-between;
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ------------------------------------------------------------- reveal -- */

/* só esconde quando o JS está ativo — sem JS o conteúdo aparece normalmente */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

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

/* --------------------------------------------------------- breakpoints -- */

@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .dim { grid-template-columns: 64px 1fr; }
  /* rodapé: marca em cima, as 3 colunas de links lado a lado */
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
}

@media (min-width: 900px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .hero__inner { grid-template-columns: 1.12fr 0.88fr; }
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-text { grid-template-columns: 1.15fr 0.85fr; }
  /* marca à esquerda + 3 colunas de links */
  .footer__grid { grid-template-columns: 1.7fr 1fr 1fr 1.25fr; gap: 3rem 2rem; }
  .footer__brand { grid-column: auto; }
}

@media (min-width: 1060px) {
  .nav { display: block; }
  .header__cta { display: inline-flex; }
  .burger { display: none; }
  .drawer { display: none; }
}
