/* ==========================================================================
   Axia Minerals — Landing page
   Mobile-first · breakpoints: 640px (sm) · 900px (md) · 1100px (lg)
   ========================================================================== */

/* ---------- Tokens (extraídos do Figma) ---------- */
:root {
  --ink:        #141f2e;
  --ink-2:      #101925;
  --ink-3:      #1c2a3b;
  --ink-strip:  #142030;
  --cream:      #fffef6;
  --sand:       #f2f4ec;
  --mint-bg:    #eef3e8;
  --mint-soft:  #e6f2e3;

  --green-900:  #0e3310;
  --green-700:  #245e23;
  --green-500:  #58c85a;
  --green-400:  #76d674;
  --green-300:  #a0ea9e;

  --text:       #2b3646;
  --muted:      #4a5563;
  --placeholder:#7a8494;
  --on-dark:    #d5dde5;
  --on-dark-2:  #c9d2dc;
  --on-dark-3:  #b9c4cf;
  --on-green:   #e6f2e4;

  --border:     #e4e9df;
  --input-bd:   #d6dcd0;
  --input-bg:   #fafbf7;

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1240px;
  --gutter: 20px;
  --section-y: 72px;
  --radius-card: 22px;
}
@media (min-width: 640px)  { :root { --gutter: 32px; --section-y: 88px; } }
@media (min-width: 1100px) { :root { --section-y: 110px; } }

/* ---------- Reset enxuto ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button, input, textarea { font: inherit; color: inherit; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--green-300); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--green-300); color: var(--green-900);
  padding: 10px 16px; border-radius: 999px; font-weight: 500;
}
.skip-link:focus { top: 16px; }

/* ---------- Layout ---------- */
.container {
  width: min(var(--container), 100% - 2 * var(--gutter));
  margin-inline: auto;
}
.section { position: relative; padding-block: var(--section-y); }

/* ---------- Tipografia ---------- */
.eyebrow {
  font-size: 13px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase;
  line-height: 1.5; color: var(--green-700); margin-bottom: 13px;
}
.eyebrow--light { color: var(--green-300); }

.h2 {
  font-size: clamp(30px, 1.2rem + 2.6vw, 44px);
  font-weight: 500; line-height: 1.1; letter-spacing: -0.8px;
  color: var(--ink); text-wrap: balance;
}
.h2--light { color: var(--cream); }

.prose { margin-top: 14px; }
.prose p {
  font-size: clamp(16px, 0.9rem + 0.3vw, 17px);
  font-weight: 300; line-height: 1.7; color: var(--text);
}
.prose p + p { margin-top: 4px; }
.prose strong { font-weight: 600; }
.prose--light p { color: var(--on-dark); }
.prose--sm p { font-size: 14px; line-height: 1.6; }
.prose--sm p + p { margin-top: 22px; }

.hl { color: var(--green-300); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 50px; border-radius: 999px;
  font-size: 15px; font-weight: 500; line-height: 1.2;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
  cursor: pointer; border: 0;
}
.btn:hover { transform: translateY(-1px); }
.btn--pill { padding: 7px 7px 7px 26px; background: var(--green-300); color: var(--green-900); }
.btn--pill:hover { background: #b4f0b2; }
.btn__icon {
  display: grid; place-items: center; flex: none;
  width: 36px; height: 36px; border-radius: 50%; background: var(--green-900);
}
.btn--sm { min-height: 44px; padding: 6px 6px 6px 22px; gap: 10px; font-size: 14px; }
.btn--sm .btn__icon { width: 32px; height: 32px; }
.btn--ghost {
  padding: 0 26px; color: var(--cream); font-weight: 400;
  border: 1px solid rgba(255, 254, 246, .4);
}
.btn--ghost:hover { border-color: var(--cream); }
.btn--cream { background: var(--cream); }
.btn--cream:hover { background: #fff; }
.btn--cream .btn__icon { background: var(--green-700); }
.btn--dark { background: var(--green-700); color: var(--cream); }
.btn--dark:hover { background: #2b6f2a; }
.btn--dark .btn__icon { background: var(--green-300); }

/* ---------- Brilhos radiais decorativos ---------- */
.glow { position: absolute; border-radius: 50%; pointer-events: none; }

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.site-header {
  position: absolute; inset: 0 0 auto; z-index: 20;
  padding-top: 16px;
}
@media (min-width: 640px) { .site-header { padding-top: 28px; } }

.nav {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 10px 10px 20px;
  background: rgba(255, 254, 246, .12);
  border: 1px solid rgba(255, 254, 246, .14);
  border-radius: 999px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
@media (min-width: 640px) { .nav { padding: 13px 13px 13px 29px; } }

.nav__logo img { width: 110px; height: auto; }
@media (min-width: 640px) { .nav__logo img { width: 131px; } }

.nav__menu {
  display: none;
  font-size: 14px; color: var(--cream);
}
.nav__menu a { padding-block: 4px; transition: color .2s; }
.nav__menu a:hover { color: var(--green-300); }

.nav__toggle {
  order: 3; display: grid; gap: 4px; place-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 254, 246, .1); border: 1px solid rgba(255, 254, 246, .2);
  cursor: pointer;
}
.nav__toggle span { display: block; width: 18px; height: 2px; background: var(--cream); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav .btn--sm { margin-left: auto; }

/* Menu aberto (mobile/tablet) */
.nav__menu.is-open {
  display: flex; flex-direction: column; gap: 4px;
  position: absolute; top: calc(100% + 10px); left: 0; right: 0;
  padding: 16px; border-radius: 24px;
  background: rgba(20, 31, 46, .97);
  border: 1px solid rgba(255, 254, 246, .14);
  font-size: 16px;
}
.nav__menu.is-open a { display: block; padding: 12px 8px; }

@media (max-width: 479px) { .nav .btn--sm { padding-left: 16px; font-size: 13px; } }

@media (min-width: 1100px) {
  .nav__toggle { display: none; }
  .nav__menu { display: flex; flex-wrap: wrap; gap: 8px 32px; }
  .nav .btn--sm { margin-left: 0; }

  /* Header fixo: some ao rolar p/ baixo, volta ao rolar p/ cima (JS) */
  .site-header {
    position: fixed;
    transition: transform .35s cubic-bezier(.4, 0, .2, 1);
  }
  .site-header.is-hidden { transform: translateY(calc(-100% - 8px)); }
  .site-header .nav { transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease; }
  .site-header.is-scrolled .nav {
    background: rgba(20, 31, 46, .92);
    border-color: rgba(255, 254, 246, .1);
    box-shadow: 0 12px 32px rgba(20, 31, 46, .18);
  }
  /* Âncoras não ficam escondidas atrás do header */
  [id] { scroll-margin-top: 120px; }
}
@media (min-width: 1100px) and (prefers-reduced-motion: reduce) {
  .site-header { transition: none; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--cream);
}
.hero__bg { position: absolute; inset: 0; }
.hero__photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero__bg::before { /* degradê da esquerda p/ direita */
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(20,31,46,.97) 0%, rgba(20,31,46,.9) 42%, rgba(20,31,46,.55) 100%);
}
.hero__bg::after { /* linhas topográficas */
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: url("../img/topo-lines.png") center / cover no-repeat;
}
@media (max-width: 899px) {
  .hero__bg::before { background: linear-gradient(180deg, rgba(20,31,46,.95) 0%, rgba(20,31,46,.85) 55%, rgba(20,31,46,.7) 100%); }
}

.glow--hero-r {
  width: 900px; height: 900px; right: -220px; bottom: -260px;
  background: radial-gradient(closest-side, rgba(88,200,90,.32), rgba(36,94,35,.12) 55%, rgba(36,94,35,0));
}
.glow--hero-l {
  width: 640px; height: 640px; left: -200px; top: -240px;
  background: radial-gradient(closest-side, rgba(58,160,216,.16), rgba(58,160,216,0));
}

.hero__inner {
  position: relative; z-index: 3;
  display: grid; gap: 56px; align-items: center;
  padding-top: 128px; padding-bottom: 64px;
}
@media (min-width: 640px) { .hero__inner { padding-top: 172px; padding-bottom: 96px; } }
@media (min-width: 1100px) {
  .hero__inner { grid-template-columns: 630px 1fr; gap: 40px; padding-top: 169px; }
}

.hero__eyebrow { font-size: 13px; line-height: 1.5; color: var(--green-400); margin-bottom: 14px; }
.hero__title {
  font-size: clamp(38px, 1.4rem + 4.2vw, 60px);
  font-weight: 500; line-height: 1.05; letter-spacing: -1.2px;
  max-width: 630px;
}
.hero__lead {
  margin-top: 26px; max-width: 520px;
  font-size: clamp(16px, .9rem + .4vw, 18px); font-weight: 300; line-height: 1.6;
  color: var(--on-dark);
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

/* Visual: foto + badges flutuantes (posições em % do quadro 570×560) */
.hero__visual {
  position: relative;
  width: min(100%, 570px); aspect-ratio: 570 / 560;
  justify-self: center;
}
.hero__person {
  position: absolute; inset: 2% 4% 16% 24%;
  border-radius: 200px 32px 32px 32px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
}
.hero__person img { width: 100%; height: 100%; object-fit: cover; object-position: 87% 50%; } /* recorte do Figma: left -42.68% */
.hero__arc { position: absolute; left: 2.26%; top: 71.81%; width: 45.99%; height: auto; }

.badge {
  position: absolute; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 18px 12px;
  background: var(--ink); border: 1px solid rgba(255,254,246,.16);
  border-radius: 24px;
  font-size: 12px; font-weight: 500; white-space: nowrap;
}
.badge img { width: 24px; height: 24px; }
@media (min-width: 640px) {
  .badge { padding: 27px 17px; border-radius: 34px; font-size: 14px; }
  .badge img { width: 33px; height: 33px; }
}
/* coordenadas = centro de cada badge no Figma */
.badge--b1 { left: 27.6%;  top: 18.6%; }  /* Reaproveitar */
.badge--b2 { left: 95.8%;  top: 18.2%; }  /* Transformar  */
.badge--b3 { left: 20%;    top: 53.4%; }  /* Sustentar    */
.badge--b4 { left: 90.8%;  top: 80.4%; }  /* Inovar       */
@media (max-width: 639px) {
  .badge--b2 { left: 88%; }
  .badge--b4 { left: 86%; }
}

/* Faixa de temas */
.hero__strip {
  position: relative; z-index: 3;
  background: var(--ink-strip);
  border-top: 1px solid rgba(255,254,246,.12);
}
.strip {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-block: 22px;
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase; line-height: 1.5;
  color: var(--on-dark-3); white-space: nowrap;
  overflow-x: auto; scrollbar-width: none;
}
.strip::-webkit-scrollbar { display: none; }
.strip__sep { color: var(--green-500); }

/* ==========================================================================
   QUEM SOMOS
   ========================================================================== */
.qs__top { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1100px) {
  .qs__top { grid-template-columns: 578px 1fr; gap: 64px; }
}

.qs-visual { position: relative; }
.qs-visual__media { position: relative; aspect-ratio: 578 / 447; }
.qs-visual__bg { position: absolute; inset: 0 18% 0 0; background: var(--mint-bg); border-radius: 32px; }
.qs-visual__arc { position: absolute; left: 2%; top: 9.3%; width: 100%; }

.qs-card {
  position: relative;
  width: min(300px, 88%); margin: -64px 0 0 auto;
  padding: 24px; border-radius: 22px;
  background: var(--ink); color: var(--cream);
}
@media (min-width: 1100px) {
  .qs-visual { height: 520px; }
  .qs-card { position: absolute; right: 0; bottom: -1px; margin: 0; width: 300px; }
}
.qs-card__title {
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase; line-height: 1.5;
  color: var(--green-300); margin-bottom: 14px;
}
.qs-card__list { display: grid; gap: 10px; font-size: 14px; }
.qs-card__list li { display: flex; align-items: center; gap: 10px; }
.qs-card__icon {
  display: grid; place-items: center; flex: none;
  width: 30px; height: 30px; border-radius: 9px; background: var(--green-700);
}

.qs__text { max-width: 598px; }
@media (min-width: 1100px) { .qs__text { padding-right: 32px; } }

.qs__bottom { margin-top: 64px; }
@media (min-width: 1100px) { .qs__bottom { margin-top: 88px; } }
.qs__intro {
  max-width: 760px; margin-bottom: 28px;
  font-size: clamp(18px, 1rem + .4vw, 20px); line-height: 1.5; color: var(--ink);
}
.qs__list { display: grid; gap: 20px; }
@media (min-width: 640px)  { .qs__list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .qs__list { grid-template-columns: repeat(4, 1fr); } }

.num-card {
  display: flex; flex-direction: column; gap: 17px;
  min-height: 180px; padding: 29px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-card);
}
@media (min-width: 1100px) { .num-card { min-height: 232px; } }
.num-card__n { font-size: 40px; font-weight: 500; line-height: 1.5; color: var(--green-700); }
.num-card__txt { font-size: 18px; font-weight: 500; line-height: 1.35; color: var(--ink); }
.num-card--featured { background: var(--green-700); border-color: var(--green-700); }
.num-card--featured .num-card__n { color: var(--green-300); }
.num-card--featured .num-card__txt { color: var(--cream); }

/* ==========================================================================
   JORNADA
   ========================================================================== */
.jornada { background: var(--sand); overflow: hidden; }
.jornada::before { /* linhas topográficas claras + fade */
  content: ""; position: absolute; inset: 0 0 auto; height: 69%;
  background: url("../img/topo-lines-light.png") center top / cover no-repeat;
  -webkit-mask-image: linear-gradient(180deg, #000 43%, transparent 93%);
          mask-image: linear-gradient(180deg, #000 43%, transparent 93%);
}
.jornada .container { position: relative; }

.jornada__head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
}
.jornada__titles { max-width: 698px; }
.jornada__lead {
  max-width: 478px;
  font-size: clamp(16px, .9rem + .3vw, 17px); font-weight: 300; line-height: 1.7; color: var(--text);
}
.jornada__figure { margin-top: 8px; }
.jornada__figure img { width: 100%; }

.jornada__steps { display: grid; gap: 16px; margin-top: 8px; }
@media (min-width: 900px) { .jornada__steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.step {
  display: flex; flex-direction: column; gap: 13px;
  padding: 27px 29px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-card);
}
.step__head {
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; line-height: 1.5;
}
.step__n {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  letter-spacing: 0;
}
.step__txt { font-size: 16px; line-height: 1.55; color: var(--ink); }
.step--earth .step__head { color: #6e573f; } .step--earth .step__n { background: #e8dccb; }
.step--navy  .step__head { color: #22344d; } .step--navy  .step__n { background: #dce3ec; }
.step--green .step__head { color: var(--green-700); } .step--green .step__n { background: #ddf3da; }

.jornada__quote {
  display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: flex-start;
  padding-top: 64px;
}
.jornada__quote img { flex: none; }
.jornada__quote p {
  flex: 1 1 280px;
  font-size: clamp(20px, 1rem + 1.2vw, 28px); font-weight: 300; line-height: 1.4; color: var(--ink);
}

/* ==========================================================================
   MISSÃO, VISÃO E VALORES
   ========================================================================== */
.mv__cards { display: grid; gap: 24px; margin-top: 48px; }
@media (min-width: 900px) { .mv__cards { grid-template-columns: repeat(2, 1fr); } }

.mv-card {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; gap: 16px;
  min-height: 440px; padding: 140px 28px 36px;
  border-radius: 28px; color: var(--cream);
}
@media (min-width: 640px) { .mv-card { min-height: 520px; padding: 200px 44px 48px; } }
.mv-card__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.mv-card::before { content: ""; position: absolute; inset: 0; z-index: -1; }
.mv-card--missao { background: var(--ink); }
.mv-card--missao::before { background: linear-gradient(180deg, rgba(20,31,46,.35) 0%, rgba(20,31,46,.94) 62%); }
.mv-card--visao  { background: var(--green-900); }
.mv-card--visao::before  { background: linear-gradient(180deg, rgba(14,51,16,.45) 0%, rgba(14,51,16,.94) 62%); }

.mv-card__icon {
  display: grid; place-items: center;
  width: 84px; height: 84px; border-radius: 23px; background: var(--green-300);
}
.mv-card__icon img { width: 42px; height: 42px; }
@media (min-width: 640px) {
  .mv-card__icon { width: 102px; height: 102px; border-radius: 27.5px; }
  .mv-card__icon img { width: 51px; height: 51px; }
}
.mv-card__title { margin-top: 13px; font-size: 28px; font-weight: 500; line-height: 1.5; }
.mv-card__txt { font-size: clamp(16px, .9rem + .3vw, 17px); font-weight: 300; line-height: 1.65; color: var(--on-dark); }
.mv-card--visao .mv-card__txt { color: var(--on-green); }

.mv__photos {
  display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 16px;
  margin-top: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.mv__photos::-webkit-scrollbar { display: none; }
.mv__photos img {
  width: 100%; height: 220px; object-fit: cover; border-radius: 24px; scroll-snap-align: start;
}
@media (min-width: 900px) {
  .mv__photos { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); gap: 20px; overflow: visible; }
  .mv__photos img { height: 240px; }
}
@media (min-width: 1100px) { .mv__photos img { height: 300px; } }

.mv__subtitle { margin-top: 64px; font-size: 28px; font-weight: 500; line-height: 1.5; color: var(--ink); }
@media (min-width: 1100px) { .mv__subtitle { margin-top: 80px; } }

.mv__valores { display: grid; gap: 20px; margin-top: 28px; }
@media (min-width: 640px)  { .mv__valores { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .mv__valores { grid-template-columns: repeat(3, 1fr); } }

.valor {
  padding: 33px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-card);
}
.valor__head { display: flex; align-items: center; justify-content: space-between; }
.valor__icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--mint-soft);
}
.valor__n { font-size: 14px; font-weight: 500; color: var(--green-700); }
.valor__title { margin-top: 25px; font-size: 19px; font-weight: 500; line-height: 1.5; color: var(--ink); }
.valor__txt { margin-top: 9px; font-size: 15px; font-weight: 300; line-height: 1.65; color: var(--text); }

/* ==========================================================================
   SOLUÇÕES
   ========================================================================== */
.sol {
  overflow: hidden; color: var(--cream);
  background: var(--ink-2);
  padding-block: calc(var(--section-y) + 10px);
}
.sol::before { /* topo + fade para #101925 */
  content: ""; position: absolute; inset: 0 0 auto; height: 68%;
  background: url("../img/topo-lines.png") center top / cover no-repeat, var(--ink);
  -webkit-mask-image: linear-gradient(180deg, #000 7%, transparent 87%);
          mask-image: linear-gradient(180deg, #000 7%, transparent 87%);
}
.glow--sol {
  width: 900px; height: 900px; top: 120px; left: 50%;
  background: radial-gradient(closest-side, rgba(88,200,90,.18), rgba(88,200,90,0));
}
.sol .container { position: relative; }

.sol__head { display: grid; gap: 88px; align-items: center; }
@media (min-width: 1100px) { .sol__head { grid-template-columns: 602px 1fr; gap: 56px; } }

.cycle {
  position: relative; justify-self: center;
  width: min(100% - 48px, 500px); aspect-ratio: 1;
}
.cycle__ring { width: 100%; height: 100%; }
.cycle__logo { position: absolute; top: 27%; left: 25%; width: 50%; height: auto; }
.cycle__tag {
  position: absolute;
  padding: 10px 16px; border-radius: 999px;
  background: var(--ink-3); border: 1px solid rgba(160,234,158,.4);
  font-size: 12px; font-weight: 500; line-height: 1.5; white-space: nowrap;
}
@media (min-width: 640px) { .cycle__tag { padding: 11px 19px; font-size: 14px; } }
.cycle__tag.is-active { background: var(--green-300); border-color: var(--green-300); color: var(--green-900); font-weight: 600; }
.cycle__tag--1 { top: 0;   left: 50%; transform: translate(-50%, -78%); }
.cycle__tag--2 { top: 50%; right: 0;  transform: translate(25%, -50%); }
.cycle__tag--3 { bottom: 0; left: 50%; transform: translate(-50%, 78%); }
.cycle__tag--4 { top: 50%; left: 0;   transform: translate(-25%, -50%); }

/* Animação do ciclo (10s): o anel gira 90° por etapa e a tag seguinte acende.
   Para ajustar a velocidade, mude só --cycle-dur. */
.cycle { --cycle-dur: 10s; }
.cycle__tag { transition: none; }

@media (prefers-reduced-motion: no-preference) {
  .cycle__ring { animation: cycle-spin var(--cycle-dur) infinite; }
  .cycle__tag  { animation: cycle-tag var(--cycle-dur) infinite both; }
  /* cada tag acende quando a seta chega nela (fim de cada giro = 8% de cada quarto) */
  .cycle__tag--1 { animation-delay: calc(var(--cycle-dur) * -0.17); }
  .cycle__tag--2 { animation-delay: calc(var(--cycle-dur) *  0.08); }
  .cycle__tag--3 { animation-delay: calc(var(--cycle-dur) *  0.33); }
  .cycle__tag--4 { animation-delay: calc(var(--cycle-dur) *  0.58); }
  .cycle__tag--2, .cycle__tag--3, .cycle__tag--4 { animation-fill-mode: none; }
  .cycle.is-paused .cycle__ring,
  .cycle.is-paused .cycle__tag { animation-play-state: paused; }
}

@keyframes cycle-spin {
  0%   { transform: rotate(0deg);   animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
  8%   { transform: rotate(90deg); }
  25%  { transform: rotate(90deg);  animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
  33%  { transform: rotate(180deg); }
  50%  { transform: rotate(180deg); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
  58%  { transform: rotate(270deg); }
  75%  { transform: rotate(270deg); animation-timing-function: cubic-bezier(.65, 0, .35, 1); }
  83%  { transform: rotate(360deg); }
  100% { transform: rotate(360deg); }
}
@keyframes cycle-tag {
  0%, 22% { background: var(--green-300); border-color: var(--green-300); color: var(--green-900); font-weight: 600; }
  26%, 100% { background: var(--ink-3); border-color: rgba(160,234,158,.4); color: var(--cream); font-weight: 500; }
}

.sol__cards { display: grid; gap: 20px; margin-top: 88px; }
@media (min-width: 640px)  { .sol__cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .sol__cards { grid-template-columns: repeat(4, 1fr); } }

.sol-card {
  overflow: hidden;
  background: var(--ink-3); border: 1px solid rgba(255,254,246,.08); border-radius: var(--radius-card);
}
.sol-card__img { width: 100%; height: 180px; object-fit: cover; }
.sol-card__body { position: relative; padding: 0 28px 32px; margin-top: -24px; }
.sol-card__icon {
  display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--green-300); border: 8px solid var(--ink-3);
}
.sol-card__title {
  margin-top: 25px;
  font-size: 15px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; line-height: 1.5;
}
.sol-card__txt { margin-top: 11px; font-size: 15px; font-weight: 300; line-height: 1.65; color: var(--on-dark-2); }
.sol-card--featured { background: var(--green-700); border-color: var(--green-700); }
.sol-card--featured .sol-card__icon { border-color: var(--green-700); }
.sol-card--featured .sol-card__txt { color: var(--on-green); }

.sol__statement {
  margin-top: 56px;
  font-size: clamp(18px, 1rem + .6vw, 22px); font-weight: 300; line-height: 1.5;
}
.sol__esp {
  margin-top: 56px; padding-top: 64px;
  border-top: 1px solid rgba(255,254,246,.12);
}
.sol__esp .eyebrow { margin-bottom: 24px; }
.tags { display: flex; flex-wrap: wrap; gap: 12px; }
.tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px 12px 15px; border-radius: 999px;
  background: rgba(255,254,246,.06); border: 1px solid rgba(255,254,246,.16);
  font-size: 15px; line-height: 1.5;
}
.tag img { flex: none; }
@media (max-width: 639px) { .tag { font-size: 14px; } }

/* ==========================================================================
   BANNER PROPOSTA
   ========================================================================== */
.banner-section {
  /* faixa escura no topo continua a seção Soluções */
  background: linear-gradient(180deg, var(--ink-2) 0 180px, var(--cream) 180px);
  padding-bottom: 130px;
}
.banner { position: relative; }
.banner__card {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid;
  background: var(--green-700); border-radius: 32px;
}
@media (min-width: 900px) { .banner__card { grid-template-columns: 1fr 41.45%; min-height: 360px; } }

.glow--banner {
  z-index: -1; width: 620px; height: 620px; right: -120px; top: -160px;
  background: radial-gradient(closest-side, rgba(160,234,158,.3), rgba(160,234,158,0));
}
.banner__content { padding: 40px 28px; color: var(--cream); }
@media (min-width: 640px) { .banner__content { padding: 56px; } }
.banner__title {
  max-width: 614px; margin-bottom: 32px;
  font-size: clamp(28px, 1.1rem + 2.2vw, 40px); font-weight: 500; line-height: 1.15; letter-spacing: -.6px;
  text-wrap: balance;
}
.banner__media img {
  width: 100%; height: 260px; object-fit: cover; border-top-left-radius: 120px;
}
@media (min-width: 900px) {
  .banner__media img { height: 100%; min-height: 320px; border-top-left-radius: 160px; }
}
.banner__arc {
  position: absolute; pointer-events: none;
  width: 55%; left: 4%; bottom: -60px;
}
@media (min-width: 900px) { .banner__arc { width: 29%; left: 50.2%; bottom: auto; top: 67.1%; } }

/* ==========================================================================
   CLIENTES
   ========================================================================== */
.clientes { padding-top: 0; }
.clientes__grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1100px) { .clientes__grid { grid-template-columns: 568px 1fr; gap: 64px; } }
.clientes__img {
  width: 100%; aspect-ratio: 568 / 560; max-height: 560px;
  object-fit: cover; border-radius: 32px;
}
.clientes__text .prose p + p { margin-top: 14px; }

/* ==========================================================================
   TRABALHE CONOSCO
   ========================================================================== */
.tc {
  position: relative; overflow: hidden;
  background: url("../img/topo-lines.png") left top / 1560px auto, var(--green-900);
  color: var(--cream);
}
.tc__grid { display: grid; gap: 24px; align-items: end; }
@media (min-width: 1100px) { .tc__grid { grid-template-columns: 646px 1fr; gap: 48px; } }
.tc__text { padding-top: var(--section-y); }
@media (min-width: 1100px) { .tc__text { padding-bottom: 100px; } }
.prose--tc p { font-size: 15px; line-height: 1.8; color: #ddebda; }
.tc__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 36px; }
.tc__mail { font-size: 16px; }
.tc__mail:hover { color: var(--green-300); }

.tc__visual {
  position: relative; justify-self: center;
  width: min(100%, 546px); aspect-ratio: 546 / 560;
}
.tc__circle {
  position: absolute; left: 57.3%; bottom: -3.56%; transform: translateX(-50%);
  width: 102.5%; aspect-ratio: 1; border-radius: 50%; background: var(--green-700);
}
.tc__photo { position: absolute; left: -14.49%; top: -9.22%; width: 112.09%; height: auto; max-width: none; }

/* ==========================================================================
   CONTATO
   ========================================================================== */
.contato__grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1100px) { .contato__grid { grid-template-columns: 1fr 1fr; gap: 64px; } }

.ct-list { display: grid; gap: 18px; margin-top: 27px; }
.ct-item { display: flex; gap: 16px; align-items: flex-start; }
.ct-item__icon {
  display: grid; place-items: center; flex: none;
  width: 46px; height: 46px; border-radius: 14px; background: var(--green-700);
}
.ct-item__label { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; line-height: 1.6; color: var(--muted); }
.ct-item__value { display: block; font-size: 15px; font-weight: 500; line-height: 1.5; color: var(--ink); }
a.ct-item__value:hover, .ct-phones a:hover { color: var(--green-700); }
.ct-phones { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; min-height: 32px; }

.form {
  display: grid; gap: 18px;
  padding: 28px 22px;
  background: #fff; border: 1px solid var(--border); border-radius: 28px;
  box-shadow: 0 24px 30px rgba(20,31,46,.08);
}
@media (min-width: 640px) { .form { grid-template-columns: 1fr 1fr; padding: 40px; } }
.form__title, .field--full, .form__legal, .form .btn { grid-column: 1 / -1; }
.form__title { font-size: 22px; font-weight: 500; line-height: 1.5; color: var(--ink); margin-bottom: 4px; }

.field { display: grid; gap: 9px; }
.field__label { font-size: 13px; font-weight: 500; line-height: 1.5; color: var(--text); }
.field__input {
  width: 100%; min-height: 55px; padding: 14px 16px;
  background: var(--input-bg); border: 1px solid var(--input-bd); border-radius: 14px;
  font-size: 15px; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field__input::placeholder { color: var(--placeholder); }
.field__input:focus { outline: none; border-color: var(--green-700); box-shadow: 0 0 0 3px rgba(36,94,35,.15); }
.field__textarea { min-height: 147px; resize: vertical; }

.form__legal { font-size: 15px; line-height: 1.5; color: var(--placeholder); }
.form__legal a { color: var(--green-900); text-decoration: underline; }
.form .btn { justify-self: start; margin-top: 4px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  position: relative; color: var(--on-dark-3);
  background: url("../img/topo-lines.png") center / cover no-repeat, var(--ink);
  padding: 72px 0 32px;
}
.footer__top { display: grid; gap: 40px; }
@media (min-width: 900px) {
  .footer__top { grid-template-columns: 1fr auto auto; }
  .footer__nav, .footer__contact { padding-left: 40px; }
}
.footer__brand img { width: 150px; }
@media (min-width: 640px) { .footer__brand img { width: 179px; } }
.footer__tagline {
  margin-top: 23px; max-width: 380px;
  font-size: clamp(19px, 1rem + .4vw, 22px); line-height: 1.35; color: var(--cream);
}
.footer__nav ul { display: grid; gap: 12px; }
.footer__contact { display: grid; gap: 14px; align-content: start; }
.footer__nav a, .footer__contact a { font-size: 15px; transition: color .2s; }
.footer__nav a:hover, .footer__contact a:hover { color: var(--green-300); }
.footer__social {
  display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 12px; background: var(--green-700);
}

.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  margin-top: 56px; padding-top: 25px;
  border-top: 1px solid rgba(255,254,246,.12);
  font-size: 13px;
}
.footer__bottom a { color: var(--green-300); text-decoration: underline; }

/* ==========================================================================
   AJUSTES MOBILE (< 640px)
   ========================================================================== */
@media (max-width: 639px) {
  /* Hero: CTAs em largura total */
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .hero__ctas .btn--pill { padding-left: 50px; } /* compensa o ícone p/ o texto ficar no centro */

  /* Trabalhe conosco: botão + e-mail centralizados, foto sem sobrepor */
  .tc__ctas { flex-direction: column; align-items: center; gap: 20px; margin-top: 40px; }
  .tc__visual { margin-top: 80px; }

  /* Rodapé: copyright centralizado */
  .footer__bottom { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
}

/* ==========================================================================
   PÁGINAS INTERNAS (page.php)
   ========================================================================== */

/* Header: barra escura 100%, estática, sem animação */
.site-header--page {
  position: relative; inset: auto;
  padding: 0;
  background: var(--ink);
  border-bottom: 1px solid rgba(255, 254, 246, .1);
  transform: none !important; transition: none !important;
}
.site-header--page .nav {
  background: none; border: 0; border-radius: 0; box-shadow: none !important;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  padding: 14px 0;
}
@media (min-width: 1100px) {
  .site-header--page { position: relative; }
  .site-header--page .nav { padding: 20px 0; }
}

/* Layout da página */
.container--narrow { width: min(800px, 100% - 2 * var(--gutter)); }
.page { background: var(--cream); padding-bottom: var(--section-y); }
.page__head { padding: clamp(48px, 8vw, 88px) 0 clamp(28px, 4vw, 40px); }
.page__title {
  font-size: clamp(34px, 1.3rem + 3.2vw, 52px);
  font-weight: 500; line-height: 1.1; letter-spacing: -1px;
  color: var(--ink); text-wrap: balance;
}
.page__lead {
  margin-top: 16px;
  font-size: clamp(17px, .95rem + .4vw, 20px); font-weight: 300; line-height: 1.6; color: var(--text);
}
.page__cover { margin-bottom: 40px; }
.page__cover img { width: 100%; border-radius: 28px; }

/* Conteúdo do editor (the_content) */
.entry { color: var(--text); font-size: clamp(16px, .9rem + .3vw, 17px); font-weight: 300; line-height: 1.75; }
.entry > * + * { margin-top: 1.1em; }

.entry h1, .entry h2, .entry h3, .entry h4, .entry h5, .entry h6 {
  color: var(--ink); font-weight: 500; line-height: 1.25; text-wrap: balance;
}
.entry h1 { font-size: clamp(32px, 1.2rem + 2.6vw, 44px); letter-spacing: -.8px; }
.entry h2 { font-size: clamp(26px, 1.1rem + 1.6vw, 34px); letter-spacing: -.5px; margin-top: 1.8em; }
.entry h3 { font-size: clamp(22px, 1rem + 1vw, 28px); margin-top: 1.6em; }
.entry h4 { font-size: 19px; margin-top: 1.5em; }
.entry h5 { font-size: 17px; margin-top: 1.4em; }
.entry h6 {
  font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--green-700); margin-top: 1.4em;
}
.entry h1 + *, .entry h2 + *, .entry h3 + *, .entry h4 + *, .entry h5 + *, .entry h6 + * { margin-top: .6em; }

.entry strong, .entry b { font-weight: 600; color: var(--ink); }
.entry a { color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; font-weight: 400; }
.entry a:hover { color: var(--green-900); }

.entry ul, .entry ol { padding-left: 1.4em; }
.entry ul { list-style: disc; }
.entry ol { list-style: decimal; }
.entry li + li { margin-top: .4em; }
.entry li::marker { color: var(--green-700); }

.entry blockquote {
  padding: 4px 0 4px 24px; border-left: 3px solid var(--green-500);
  font-size: clamp(19px, 1rem + .6vw, 22px); line-height: 1.5; color: var(--ink);
}
.entry hr { border: 0; border-top: 1px solid var(--border); margin-block: 2.4em; }

.entry img, .entry figure img { border-radius: 22px; }
.entry figure { margin-inline: 0; }
.entry figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }

.entry table { width: 100%; border-collapse: collapse; font-size: 15px; }
.entry th, .entry td { padding: 12px 14px; border-bottom: 1px solid var(--border); text-align: left; }
.entry th { font-weight: 500; color: var(--ink); background: var(--mint-bg); }

.entry code { font-size: .9em; padding: 2px 6px; border-radius: 6px; background: var(--mint-bg); color: var(--green-900); }
.entry pre { overflow-x: auto; padding: 20px; border-radius: 16px; background: var(--ink); color: var(--cream); font-size: 14px; }
.entry pre code { padding: 0; background: none; color: inherit; }

/* Classes padrão do editor do WP */
.entry .alignleft  { float: left;  margin: .3em 1.5em 1em 0; }
.entry .alignright { float: right; margin: .3em 0 1em 1.5em; }
.entry .aligncenter { margin-inline: auto; }
.entry::after { content: ""; display: table; clear: both; }
.entry .wp-block-button__link, .entry .wp-element-button {
  display: inline-flex; align-items: center; min-height: 50px; padding: 0 26px;
  border-radius: 999px; background: var(--green-700); color: var(--cream);
  text-decoration: none; font-weight: 500;
}
.entry__pages { display: flex; gap: 8px; margin-top: 2em; font-weight: 500; }

/* Rodapé: link da política */
.footer__sep { margin-inline: 6px; opacity: .6; }
@media (max-width: 639px) {
  .footer__bottom p:first-child { display: flex; flex-direction: column; gap: 4px; }
  .footer__sep { display: none; }
}

/* Rodapé sempre no fim da tela, mesmo em páginas curtas */
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
body > main { flex: 1 0 auto; }
body > .site-footer { flex-shrink: 0; }
