/* =========================================================
   ALNAY — Desenvolvimento Humano Integrativo
   Identidade visual: Verde Profundo #173F38 · Dourado #B8924B
   Marfim #F4F0E7 · Verde Sálvia #91A99B · Grafite #292D2C
   Títulos: serifada elegante (Cormorant Garamond)
   Textos: sem serifa (Jost)
   ========================================================= */

:root {
  --verde: #173F38;
  --verde-escuro: #10302a;
  --dourado: #B8924B;
  --dourado-claro: #d4b67c;
  --marfim: #F4F0E7;
  --marfim-2: #EDE6D8;
  --salvia: #91A99B;
  --grafite: #292D2C;
  --texto: #3d4341;

  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --container: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 84px;
  --radius: 2px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--marfim);
  color: var(--texto);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
strong { font-weight: 500; color: var(--verde); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--verde);
  line-height: 1.12;
  margin: 0 0 .5em;
  letter-spacing: -.005em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(2.1rem, 3.8vw, 3.1rem); }
h3 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); }
h4 { font-size: 1.6rem; margin-bottom: .25em; }
p  { margin: 0 0 1.1em; text-wrap: pretty; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--verde); color: var(--marfim); padding: 8px 14px;
}
.skip:focus { left: 8px; }

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

/* ---------- elementos de marca ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--dourado);
  margin-bottom: 1.1rem;
  display: flex; align-items: center; gap: 14px;
}
.eyebrow::before {
  content: ""; width: 34px; height: 1px; background: currentColor; flex: none;
}
.eyebrow-light { color: var(--dourado-claro); }

.rule { display: block; width: 56px; height: 1px; background: var(--dourado); margin: 1.6rem 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans);
  font-size: .82rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  padding: 1.05rem 2.2rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--verde); color: var(--marfim); }
.btn-primary:hover { background: var(--verde-escuro); }
.btn-gold { background: var(--dourado); color: #fff; }
.btn-gold:hover { background: transparent; border-color: var(--dourado-claro); color: var(--dourado-claro); }

/* ---------- cabeçalho ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.site-header.scrolled {
  background: rgba(244, 240, 231, .94);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  box-shadow: 0 1px 0 rgba(184, 146, 75, .28);
  --header-h: 70px;
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 52px; width: auto; transition: height .4s var(--ease); }
.site-header.scrolled .brand img { height: 44px; }

.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav a {
  font-size: .8rem; font-weight: 400; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; color: var(--grafite); position: relative; padding: 6px 0;
  white-space: nowrap;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: var(--dourado); transition: right .35s var(--ease);
}
.nav a:hover::after, .nav a.active::after { right: 0; }
.nav a.nav-cta {
  border: 1px solid var(--dourado); padding: 9px 18px; color: var(--verde);
  transition: background .3s var(--ease), color .3s var(--ease);
}
.nav a.nav-cta::after { display: none; }
.nav a.nav-cta:hover { background: var(--verde); border-color: var(--verde); color: var(--marfim); }

.nav-toggle {
  display: none; width: 44px; height: 44px; background: none; border: 0; padding: 10px; cursor: pointer;
}
.nav-toggle span { display: block; height: 1.5px; background: var(--verde); margin: 5px 0; transition: transform .35s var(--ease), opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- hero / início ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 40%, #faf7f0 0%, rgba(250,247,240,0) 60%),
    var(--marfim);
}
.hero-shadow {
  position: absolute; top: -40px; left: -60px;
  width: min(30vw, 400px); aspect-ratio: 390 / 1230;
  background: url("../img/sombra-folhas.webp") no-repeat top left / contain;
  opacity: .42; pointer-events: none;
  animation: sway 14s ease-in-out infinite alternate;
  transform-origin: top left;
}
@keyframes sway { from { transform: rotate(0deg); } to { transform: rotate(1.6deg) translateX(8px); } }

.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 90px); align-items: center;
}
.hero-text .lead { font-size: 1.2rem; color: var(--grafite); font-weight: 300; }
.hero-text h1 { margin-bottom: .6em; }
.formats-line {
  font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--verde);
  margin: 1.8rem 0 2.2rem;
}
.formats-line span { color: var(--dourado); padding: 0 .35em; font-style: normal; }

.hero-art { position: relative; display: grid; place-items: center; aspect-ratio: 1; }
.hero-art .arcs { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--dourado); }
.hero-art img { position: relative; width: 80%; }

/* ---------- seções ---------- */
.section { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.section-soft { background: var(--marfim-2); }
.section-dark { background: var(--verde); color: rgba(244, 240, 231, .86); overflow: hidden; }
.section-dark h2 { color: var(--marfim); }
.section-dark strong { color: var(--marfim); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-intro { font-size: 1.15rem; color: var(--grafite); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split-top { align-items: start; }
.prose-light p { font-size: 1.125rem; }

.section-symbol {
  position: absolute; right: -80px; bottom: -60px; width: 420px; opacity: .07; pointer-events: none;
}

/* ---------- diferencial / DHI ---------- */
.dhi {
  background: #fbf9f4;
  border: 1px solid rgba(184, 146, 75, .35);
  padding: clamp(28px, 4vw, 48px);
  position: relative;
}
.dhi::before {
  content: ""; position: absolute; inset: 10px; border: 1px solid rgba(184, 146, 75, .15); pointer-events: none;
}
.dhi-title {
  font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: var(--grafite);
  display: flex; flex-direction: column; gap: 4px; margin-bottom: 1.8rem;
}
.dhi-title span {
  font-family: var(--serif); font-size: 3.2rem; letter-spacing: .08em; color: var(--verde); line-height: 1; font-weight: 500;
}
.pillars { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(184, 146, 75, .3); }
.pillars li {
  background: #fbf9f4; padding: 20px 18px;
  font-family: var(--serif); font-size: 1.5rem; color: var(--verde); line-height: 1.2;
}
.pillars .num {
  display: block; font-family: var(--sans); font-size: .72rem; letter-spacing: .2em; color: var(--dourado); margin-bottom: 6px;
}
.movements {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--verde); font-weight: 400;
}
.movements i {
  flex: 1; height: 1px; background: linear-gradient(90deg, var(--salvia), var(--dourado)); position: relative;
}
.movements i::after {
  content: ""; position: absolute; right: -1px; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--dourado);
}

/* ---------- o que fazemos ---------- */
.subhead { margin-bottom: 1.4rem; }
.themes {
  list-style: none; padding: 0; margin: 0 0 1.6rem;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(23, 63, 56, .12);
  border: 1px solid rgba(23, 63, 56, .12);
}
.themes li {
  background: var(--marfim-2); padding: 26px 24px 26px 58px; position: relative;
  font-family: var(--serif); font-size: 1.32rem; line-height: 1.3; color: var(--verde);
  transition: background .35s var(--ease);
}
.themes li:hover { background: #f5f0e5; }
.themes li::before {
  /* folha estilizada */
  content: ""; position: absolute; left: 24px; top: 32px; width: 18px; height: 10px;
  border-radius: 0 100% 0 100%; background: linear-gradient(135deg, var(--verde) 0 50%, var(--dourado) 50% 100%);
  transform: rotate(-20deg);
}
.note { font-size: .98rem; color: #5b615f; max-width: 820px; }

.callout {
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center;
  margin: 48px 0 clamp(64px, 8vw, 100px);
  padding: 28px 32px; background: var(--marfim);
  border-left: 3px solid var(--salvia);
}
.callout p { margin: 0; }
.callout-tag {
  font-family: var(--serif); font-size: 2.2rem; color: var(--verde); line-height: 1;
  padding-right: 28px; border-right: 1px solid rgba(184, 146, 75, .5);
}

.formats-block { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.photo-training { margin: 0; position: relative; isolation: isolate; }
.photo-training img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 30% 50%; }
.photo-training::after {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--dourado); z-index: -1;
}
.format {
  display: grid; grid-template-columns: 56px 1fr; gap: 12px;
  padding: 24px 0; border-top: 1px solid rgba(184, 146, 75, .4);
}
.format:last-of-type { border-bottom: 1px solid rgba(184, 146, 75, .4); }
.format p { margin: 0; }
.format-num { font-family: var(--serif); font-size: 1.1rem; color: var(--dourado); padding-top: 8px; }
.formats-close { margin-top: 1.8rem; font-family: var(--serif); font-style: italic; font-size: 1.3rem; line-height: 1.45; color: var(--verde); }

/* ---------- quem está à frente ---------- */
.founder { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.founder-photo { margin: 0; position: relative; isolation: isolate; }
.founder-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.founder-photo::before {
  content: ""; position: absolute; inset: -18px 18px 18px -18px; background: var(--verde); z-index: -1;
}
.founder-photo::after {
  content: ""; position: absolute; width: 120px; height: 120px; right: -30px; bottom: -30px;
  border: 1px solid var(--dourado); border-radius: 50%;
}
.founder h2 { margin-bottom: .2em; }
.role { font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; color: var(--dourado); font-weight: 400; }
.role span { color: var(--salvia); padding: 0 .4em; }
.link-inline {
  display: inline-flex; gap: 8px; margin-top: .6rem;
  font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500;
  color: var(--verde); text-decoration: none; border-bottom: 1px solid var(--dourado); padding-bottom: 4px;
}
.link-inline span { transition: transform .3s var(--ease); }
.link-inline:hover span { transform: translateX(4px); }

/* ---------- contato ---------- */
.contact { text-align: center; }
.contact::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 120%, rgba(184, 146, 75, .22), transparent 55%),
    radial-gradient(circle at 10% 0%, rgba(145, 169, 155, .14), transparent 45%);
  pointer-events: none;
}
.contact-inner { position: relative; max-width: 760px; }
.contact .eyebrow { justify-content: center; }
.contact .eyebrow::after { content: ""; width: 34px; height: 1px; background: currentColor; }
.contact-lead { font-size: 1.15rem; margin-bottom: 2.4rem; }
.contact-list {
  list-style: none; padding: 0; margin: 3.4rem 0 0;
  display: flex; justify-content: center; flex-wrap: wrap; gap: 20px 56px;
}
.contact-list li { display: flex; flex-direction: column; gap: 4px; }
.contact-list .label { font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: var(--salvia); }
.contact-list a { color: var(--marfim); text-decoration: none; font-size: 1.05rem; border-bottom: 1px solid transparent; transition: border-color .3s; }
.contact-list a:hover { border-color: var(--dourado); }

/* ---------- rodapé ---------- */
.site-footer { background: var(--verde-escuro); color: rgba(244, 240, 231, .6); padding: 64px 0 40px; text-align: center; }
.footer-inner { display: flex; flex-direction: column; align-items: center; }
.footer-logo { width: 200px; margin-bottom: 1.4rem; }
.footer-motto { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--dourado-claro); }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin: 1.2rem 0 2rem; }
.footer-nav a { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: rgba(244, 240, 231, .75); }
.footer-nav a:hover { color: var(--dourado-claro); }
.copy { font-size: .8rem; margin: 0; padding-top: 1.6rem; border-top: 1px solid rgba(184, 146, 75, .25); width: 100%; max-width: 520px; }

/* ---------- animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-shadow { animation: none; }
}

/* ---------- responsivo ---------- */
@media (max-width: 1080px) {
  .nav { gap: 16px; }
  .nav a { font-size: .74rem; letter-spacing: .08em; }
  .themes { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 940px) {
  :root { --header-h: 70px; }
  .brand img { height: 44px; }
  .nav-toggle { display: block; position: relative; z-index: 60; }
  .nav {
    position: fixed; inset: 0; z-index: 55;
    flex-direction: column; justify-content: center; gap: 22px;
    background: var(--marfim);
    opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
  }
  .nav.open { opacity: 1; visibility: visible; }
  .nav a { font-size: 1rem; letter-spacing: .16em; }
  body.menu-open { overflow: hidden; }

  .hero { min-height: auto; padding-top: calc(var(--header-h) + 32px); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; width: min(78%, 400px); margin: 0 auto; }
  .hero-text { text-align: left; }

  .split, .formats-block, .founder { grid-template-columns: 1fr; }
  .founder-photo { max-width: 460px; margin: 0 auto 24px; width: calc(100% - 20px); margin-left: 20px; }
  .photo-training { max-width: 520px; width: calc(100% - 18px); }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .themes { grid-template-columns: 1fr; }
  .formats-line { font-size: 1.2rem; white-space: nowrap; }
  .formats-line span { padding: 0 .2em; }
  .themes li { font-size: 1.22rem; padding: 20px 20px 20px 54px; }
  .themes li::before { top: 27px; left: 22px; }
  .callout { grid-template-columns: 1fr; gap: 14px; padding: 24px; }
  .callout-tag { border-right: 0; padding-right: 0; }
  .pillars li { font-size: 1.25rem; padding: 16px 14px; }
  .movements { font-size: .68rem; letter-spacing: .14em; }
  .section-symbol { width: 260px; }
  .founder-photo::after { width: 80px; height: 80px; right: -10px; bottom: -20px; }
  .btn { width: 100%; }
}

/* ---------- ajustes da versão de textos atualizada ---------- */
#sobre .split { align-items: start; }
#sobre .prose-light p { font-size: 1.06rem; }
.callout div p + p { margin-top: .7em; }
.formats-block { align-items: start; }
.format h4 { font-size: 1.5rem; }
.format p { font-size: .98rem; }
.formats-cta { margin-top: 2rem; }
@media (min-width: 941px) {
  .photo-training { position: sticky; top: calc(var(--header-h) + 32px); }
}
@media (max-width: 640px) { .format { grid-template-columns: 34px 1fr; } .formats-cta { padding-left: 1.2rem; padding-right: 1.2rem; letter-spacing: .12em; text-align: center; line-height: 1.5; } }
