/* Tipografia do manual: Berrys Christmas (institucional), Alvaro Condensed (rótulos), Goldplay (texto) */
@font-face { font-family: "Berrys Christmas"; src: url("assets/fonts/berrys-christmas.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0020, U+0030-0039, U+0041-005A, U+0061-007A, U+00C0-00FF; }
/* Berrys (versão demo) troca a pontuação por um aviso; a pontuação cai neste serif de desenho próximo */
@font-face { font-family: "Baskervville"; src: url("assets/fonts/baskervville-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Alvaro Condensed"; src: url("assets/fonts/alvaro-condensed.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Goldplay"; src: url("assets/fonts/goldplay-Light.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Goldplay"; src: url("assets/fonts/goldplay-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Goldplay"; src: url("assets/fonts/goldplay-RegularIt.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Goldplay"; src: url("assets/fonts/goldplay-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Goldplay"; src: url("assets/fonts/goldplay-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  /* Cores do manual (4.2 e 4.3) */
  --graphite: #5D606F;
  --graphite-700: #464853;
  --graphite-900: #2E3038;
  --graphite-400: #868893;
  --graphite-300: #AEB0B7;
  --graphite-100: #D6D7DB;
  --sand: #A99A84;
  --sand-700: #544D42;
  --sand-500: #7F7463;
  --sand-300: #BEB3A3;
  --sand-200: #D4CCC2;
  --sand-50: #EAE6E0;
  --cream: #FAF7F1;
  --ink: var(--graphite-900);
  --sand-ink: #6B6150; /* derivado de #7F7463, escurecido para contraste AA em texto pequeno */
  --on-dark: #F4F1EC;
  --serif: "Berrys Christmas", "Baskervville", "Times New Roman", serif;
  --sans: "Goldplay", "Segoe UI", Arial, sans-serif;
  --label: "Alvaro Condensed", "Arial Narrow", sans-serif; /* só numerais e detalhes grandes */
  --ui: "Goldplay", "Segoe UI", Arial, sans-serif; /* menu, botões e rótulos */
  --radius: 4px;
  --wrap: 1120px;
  --gutter: clamp(20px, 5vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(1rem, 1rem + 0.25vw, 1.1875rem);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0; color: var(--ink); text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
em { font-style: normal; color: var(--sand-ink); }
strong { font-weight: 600; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--graphite); color: var(--on-dark); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

.label, .eyebrow {
  font-family: var(--ui);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.81rem;
  color: var(--sand-ink);
  margin: 0 0 1.1rem;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid color-mix(in srgb, var(--sand) 35%, transparent);
}
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; flex-shrink: 0; }
.brand img { height: 62px; width: auto; flex-shrink: 0; }
.nav { display: flex; gap: 28px; }
.nav a {
  font-family: var(--ui); font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.12em; font-size: 0.87rem; text-decoration: none; color: var(--graphite);
  padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color .2s;
}
.nav a:hover { border-color: var(--sand); }

/* Menu toggle (mobile) */
.menu-toggle { display: none; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0; background: none; border: 1px solid var(--sand); border-radius: var(--radius); cursor: pointer; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 18px; height: 2px; background: var(--graphite); position: relative; transition: transform .2s, background .2s; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--graphite); color: var(--on-dark);
  font-family: var(--ui); font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.12em; font-size: 0.94rem; text-decoration: none;
  padding: 16px 28px; border: 1px solid var(--graphite); border-radius: var(--radius);
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--ink); border-color: var(--ink); }
.btn-small { padding: 10px 18px; font-size: 0.8125rem; }
.btn-ghost { background: transparent; color: var(--graphite); border-color: var(--sand); }
.btn-ghost:hover { background: var(--sand-50); color: var(--ink); border-color: var(--sand); }
.btn-light { background: var(--on-dark); color: var(--graphite); border-color: var(--on-dark); }
.btn-light:hover { background: var(--sand-50); border-color: var(--sand-50); color: var(--ink); }
:focus-visible { outline: 2px solid var(--sand-ink); outline-offset: 3px; }
.dark :focus-visible { outline-color: var(--on-dark); }

/* Hero */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(8px, 2vw, 24px); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 1.5rem + 3.4vw, 4rem); letter-spacing: -0.01em; }
.lead { font-size: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem); color: var(--graphite); margin: 1.6rem 0 2rem; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.facts { list-style: none; padding: 0; margin: 2.4rem 0 0; display: flex; flex-wrap: wrap; gap: 8px 24px;
  font-family: var(--ui); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; color: var(--sand-ink); font-weight: 500; }
.facts li { position: relative; }
.facts li + li::before { content: ""; position: absolute; left: -14px; top: 50%; width: 4px; height: 4px; background: var(--sand); border-radius: 50%; transform: translateY(-50%); }
.hero-mark { position: relative; }
.hero-mark img { position: relative; z-index: 1; width: 100%; max-width: 520px; margin-inline: auto; }

/* Destaque: sessões online */
.online-badge { display: inline-flex; align-items: center; gap: 16px; margin: 0 0 1.8rem; padding: 14px 28px 14px 14px; border-radius: 999px; background: var(--graphite); color: var(--on-dark); box-shadow: 0 8px 24px rgba(46, 48, 56, 0.16); }
.online-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--sand); color: var(--graphite-900); flex-shrink: 0; }
.online-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.online-badge strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.7rem; line-height: 1.05; color: var(--on-dark); }
.online-badge small { display: block; margin-top: 4px; font-family: var(--ui); font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.72rem; color: var(--sand-200); }

/* Sections */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-sand { background: var(--sand-50); }
.section-head { margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2, .about-copy h2, .contact-copy h2 { font-size: clamp(1.9rem, 1.4rem + 2.2vw, 3rem); }
.section-sub { font-family: var(--serif); color: var(--sand-ink); font-size: 1.75rem; margin: 0.6rem 0 0; }

/* Method */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.step { border-top: 2px solid var(--sand); padding-top: 22px; }
.step-num { font-family: var(--label); font-weight: 400; letter-spacing: 0.14em; font-size: 1.137rem; color: var(--sand-ink); }
.step h3 { font-size: 1.75rem; margin: 0.5rem 0 0.8rem; }
.step p { color: var(--graphite); margin: 0; }

/* Band */
.band { background: var(--graphite); color: var(--on-dark); padding: clamp(56px, 8vw, 104px) 0; text-align: center; position: relative; overflow: hidden; }
.band::before {
  content: ""; position: absolute; inset: 0; background: url("assets/simbolo-branco.svg") center / min(620px, 90%) no-repeat;
  opacity: 0.05; pointer-events: none;
}
.band-inner { position: relative; }
.band-quote { font-family: var(--serif); font-size: clamp(2.2rem, 1.4rem + 4vw, 4.2rem); line-height: 1.05; margin: 0 0 1.2rem; color: var(--on-dark); }
.band-text { max-width: 36em; margin: 0 auto; color: var(--sand-200); font-size: 1.125rem; }

/* Themes */
.themes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid color-mix(in srgb, var(--sand) 55%, transparent); border-left: 1px solid color-mix(in srgb, var(--sand) 55%, transparent); }
.themes li {
  display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 28px;
  border-right: 1px solid color-mix(in srgb, var(--sand) 55%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--sand) 55%, transparent);
  font-size: 1.1875rem; line-height: 1.35; color: var(--graphite); transition: background .25s;
}
.themes li { position: relative; }
.themes li:hover { background: var(--sand-50); }
.themes .ico { position: absolute; top: 20px; right: 22px; width: 30px; height: 30px; fill: none; stroke: var(--sand-ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke .25s; }
.themes li:hover .ico { stroke: var(--graphite); }
.themes li span { font-family: var(--label); font-weight: 400; letter-spacing: 0.14em; font-size: 1.056rem; color: var(--sand-ink); }
.themes-note { margin-top: 2rem; font-style: italic; color: var(--sand-ink); max-width: 36em; }

/* About */
.about { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.about-copy h2 { margin-bottom: 1.4rem; }
.about-copy p { color: var(--graphite); }
.about-copy blockquote {
  margin: 2rem 0; padding: 0 0 0 22px; border-left: 2px solid var(--sand);
  font-family: var(--serif); font-size: 1.75rem; line-height: 1.25; color: var(--ink);
}
.values { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.values li { font-family: var(--ui); font-weight: 500; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.81rem; color: var(--graphite); border: 1px solid var(--sand); padding: 7px 14px; border-radius: 999px; }
.about-right { display: grid; gap: 24px; }
.about-photo { margin: 0; background: var(--sand-200); border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; aspect-ratio: 1 / 1.05; display: flex; align-items: flex-end; }
.about-photo img { width: 100%; height: auto; }
.about-side { background: var(--cream); border: 1px solid color-mix(in srgb, var(--sand) 55%, transparent); padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); }
.about-side h3 { font-size: 1.5rem; margin-bottom: 0.8rem; }
.about-side p { color: var(--graphite); font-size: 1.0625rem; }
.how { list-style: none; counter-reset: s; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 16px; }
.how li { counter-increment: s; position: relative; padding-left: 44px; font-size: 1.0625rem; line-height: 1.45; color: var(--graphite); }
.how li::before {
  content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--graphite); color: var(--on-dark);
  font-family: var(--label); font-weight: 400; font-size: 1.219rem;
}
.how strong { display: block; font-family: var(--ui); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.81rem; color: var(--sand-ink); }

/* Contact */
.dark { background: var(--graphite); color: var(--on-dark); }
.dark h2, .dark h3 { color: var(--on-dark); }
.dark .label { color: var(--sand-300); }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact-copy p { color: var(--sand-200); margin: 1.2rem 0 2rem; }
.contact-copy h2 { max-width: 12em; }
.contact-list { margin: 0; display: grid; gap: 0; }
.contact-list > div { padding: 18px 0; border-top: 1px solid rgba(244, 238, 227, 0.25); }
.contact-list > div:last-child { border-bottom: 1px solid rgba(244, 238, 227, 0.25); }
.contact-list dt { font-family: var(--ui); font-weight: 500; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.81rem; color: var(--sand-300); margin-bottom: 4px; }
.contact-list dd { margin: 0; font-size: 1.1875rem; line-height: 1.5; }
.contact-list a { text-decoration: none; border-bottom: 1px solid rgba(244, 238, 227, 0.4); }
.contact-list a:hover { border-color: var(--on-dark); }

/* Footer */
.site-footer { padding: 48px 0 96px; background: var(--cream); }
.footer-inner { display: flex; align-items: center; gap: clamp(24px, 5vw, 64px); flex-wrap: wrap; }
.footer-inner img { width: 240px; height: auto; }
.crisis { color: var(--graphite); font-size: 1rem; max-width: 40em; margin-bottom: 0.6rem; }
.copy { font-size: 0.9375rem; color: var(--sand-ink); margin: 0; }

/* WhatsApp float */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; display: inline-flex; align-items: center; gap: 10px;
  background: var(--graphite); color: var(--on-dark); text-decoration: none; padding: 13px 20px; border-radius: 999px;
  font-family: var(--ui); font-weight: 500; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.87rem;
  box-shadow: 0 6px 20px rgba(46, 48, 56, 0.28); transition: transform .2s, background .2s;
}
.wa-float:hover { background: var(--ink); transform: translateY(-2px); }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .about, .contact { grid-template-columns: 1fr; }
  .hero-mark { max-width: 220px; margin-inline: auto; }
  .steps { grid-template-columns: 1fr; }
  .themes { grid-template-columns: repeat(2, 1fr); }
  .menu-toggle { display: inline-flex; }
  .header-inner { position: relative; gap: 12px; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px;
    background: var(--cream); border-bottom: 1px solid color-mix(in srgb, var(--sand) 35%, transparent);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid color-mix(in srgb, var(--sand) 25%, transparent); }
}
@media (max-width: 560px) {
  .facts { flex-direction: column; gap: 6px; }
  .facts li + li::before { display: none; }
  .themes { grid-template-columns: 1fr; }
  .brand img { height: 46px; }
  .btn { width: 100%; }
  .btn-small { width: auto; }
  .cta-row { flex-direction: column; }
  .online-badge { display: flex; border-radius: 20px; padding: 14px 18px 14px 14px; }
  .wa-float span { display: none; }
  .wa-float { padding: 14px; }
  .footer-inner img { width: 190px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
