/* =====================================================================
   site.css — identidade Sinclair Vita (por cima do motion.css)
   Paleta tirada do manifesto/vídeo da marca:
     marfim  #F5EFE4  · areia #EAE0CD · ouro #B08A4E · ouro claro #D6B67C
     bronze  #6B5230  · sálvia #6E7A5D · tinta #22201B
   ===================================================================== */
:root {
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-brand: 'Cinzel', 'Cormorant Garamond', serif;
  --font-mono: 'Manrope', system-ui, sans-serif;

  --ivory: #F5EFE4;
  --sand: #EAE0CD;
  --gold: #B08A4E;
  --gold-l: #D6B67C;
  --bronze: #6B5230;
  --sage: #6E7A5D;
  --ink: #22201B;

  --bg: var(--ivory);
  --bg-2: #FBF8F2;
  --fg: var(--ink);
  --muted: rgba(34, 32, 27, .68);
  --faint: rgba(34, 32, 27, .46);
  --line: rgba(107, 82, 48, .18);
  --glass: rgba(251, 248, 242, .72);
  --accent: var(--ink);
  --accent-ink: var(--ivory);
  --accent-2: var(--gold);
  --radius: 18px;
}
body { font-size: 16.5px; }
::selection { background: rgba(176, 138, 78, .28); }
.display, .display-2, .display-3 { font-weight: 500; letter-spacing: -.01em; }
.display em, .display-2 em, .display-3 em { color: var(--gold); font-style: italic; }
.label { font-weight: 600; color: var(--bronze); letter-spacing: .22em; font-size: .7rem; }
.label::before { content: ''; display: inline-block; width: 26px; height: 1px; background: var(--gold); vertical-align: middle; margin-right: 12px; }
.lead { color: var(--muted); }
.gold { color: var(--gold); }

/* --- marca (logo) --- */
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { width: 34px; height: auto; }
.brand-word { display: grid; line-height: 1; text-align: center; }
.brand-word b { font-family: var(--font-brand); font-weight: 500; font-size: 1.02rem; letter-spacing: .28em; color: var(--bronze); padding-left: .28em; }
.brand-word small { font-family: var(--font-brand); font-size: .52rem; letter-spacing: .6em; color: var(--gold); padding-left: .6em; margin-top: 3px; display: flex; align-items: center; gap: 6px; justify-content: center; }
.brand-word small::before, .brand-word small::after { content: ''; height: 1px; width: 14px; background: var(--gold); opacity: .7; }

/* --- nav sempre clara (fica legível em foto e em marfim) --- */
.nav-inner { background: rgba(251, 248, 242, .78); border: 1px solid rgba(176, 138, 78, .22); }
.nav-links a { font-weight: 500; }
.nav-links a[aria-current] { color: var(--bronze); }
.nav.is-scrolled .nav-inner { background: rgba(251, 248, 242, .9); }
.menu { background: rgba(245, 239, 228, .97); }
.btn { font-weight: 600; letter-spacing: .01em; }
.btn-gold { background: linear-gradient(135deg, var(--gold-l), var(--gold)); color: #1d170d; }
.btn-gold:hover { filter: brightness(1.05); }
.btn-line { border: 1px solid currentColor; }

/* --- secções escuras --- */
.dark { --fg: var(--ivory); --muted: rgba(245, 239, 228, .72); --faint: rgba(245, 239, 228, .5); --line: rgba(214, 182, 124, .22); background: var(--ink); color: var(--fg); }
.dark .label { color: var(--gold-l); }
.dark .btn-line { color: var(--ivory); }
.sand { background: var(--sand); }
.section.dark, .section.sand { padding-top: var(--section) !important; }
.section + .section.dark, .section + .section.sand, .section.dark + .section, .section.sand + .section { padding-top: var(--section); }

/* --- hero com slides em Ken Burns (movimento contínuo) --- */
.hero-sv { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; color: var(--ivory); background: var(--ink); }
.slides { position: absolute; inset: 0; }
.slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: slide 28s linear infinite; will-change: transform, opacity; }
.slides img:nth-child(1) { animation-delay: 0s; }
.slides img:nth-child(2) { animation-delay: 7s; }
.slides img:nth-child(3) { animation-delay: 14s; }
.slides img:nth-child(4) { animation-delay: 21s; }
@keyframes slide {
  0% { opacity: 0; transform: scale(1.14) translate3d(1.5%, 1%, 0); }
  5% { opacity: 1; }
  25% { opacity: 1; }
  32% { opacity: 0; transform: scale(1.02) translate3d(-1%, -.5%, 0); }
  100% { opacity: 0; transform: scale(1.02); }
}
.hero-sv::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 18, 14, .92) 0%, rgba(20, 18, 14, .45) 45%, rgba(20, 18, 14, .25) 100%); }
.hero-sv .container { position: relative; z-index: 2; padding: 140px 0 clamp(48px, 9vh, 96px); }
.hero-sv .display { font-size: clamp(3rem, 8.4vw, 7.4rem); line-height: .98; max-width: 13ch; }
.hero-sv .display em { color: var(--gold-l); }
.hero-sv .lead { color: rgba(245, 239, 228, .82); max-width: 50ch; }
.hero-sv .label { color: var(--gold-l); }
.hero-tree { width: clamp(70px, 9vw, 110px); margin-bottom: 22px; filter: drop-shadow(0 6px 24px rgba(0, 0, 0, .45)); animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: translateY(-6px); filter: drop-shadow(0 12px 30px rgba(214, 182, 124, .35)); } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-actions .btn-line { color: var(--ivory); }
.hero-dots { position: absolute; z-index: 2; right: var(--gutter); bottom: 34px; display: flex; gap: 8px; }
.hero-dots i { width: 28px; height: 2px; background: rgba(245, 239, 228, .25); overflow: hidden; position: relative; }
.hero-dots i::after { content: ''; position: absolute; inset: 0; background: var(--gold-l); transform: scaleX(0); transform-origin: left; animation: dot 28s linear infinite; }
.hero-dots i:nth-child(2)::after { animation-delay: 7s; } .hero-dots i:nth-child(3)::after { animation-delay: 14s; } .hero-dots i:nth-child(4)::after { animation-delay: 21s; }
@keyframes dot { 0% { transform: scaleX(0); } 25% { transform: scaleX(1); } 26%, 100% { transform: scaleX(0); } }

/* hero interno (páginas) */
.page-hero { position: relative; min-height: 72svh; display: grid; align-items: end; overflow: hidden; color: var(--ivory); background: var(--ink); }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kb 22s ease-in-out infinite alternate; }
@keyframes kb { from { transform: scale(1.04); } to { transform: scale(1.16) translate3d(-1.5%, -1%, 0); } }
.page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 18, 14, .9), rgba(20, 18, 14, .3) 70%); }
.page-hero .container { position: relative; z-index: 2; padding: 150px 0 clamp(40px, 8vh, 80px); }
.page-hero .display-2 { max-width: 18ch; }
.page-hero .display-2 em { color: var(--gold-l); }
.page-hero .lead { color: rgba(245, 239, 228, .82); margin-top: 18px; max-width: 56ch; }
.page-hero .label { color: var(--gold-l); }

/* marquee */
.marquee-item { color: var(--bronze); font-style: italic; }
.marquee-item::after { color: var(--gold); }
.band { padding: 28px 0; border-block: 1px solid var(--line); background: var(--bg-2); }

/* manifesto */
.manifesto p.big { font-family: var(--font-display); font-size: clamp(1.8rem, 3.6vw, 3.1rem); line-height: 1.18; font-weight: 500; }
.manifesto p.big em { color: var(--gold); }

/* pilares */
.pilar { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 460px; display: grid; align-items: end; color: var(--ivory); isolation: isolate; }
.pilar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease-out); }
.pilar::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(20, 18, 14, .9), rgba(20, 18, 14, .05) 65%); }
.pilar:hover img { transform: scale(1.06); }
.pilar div { padding: 28px; }
.pilar h3 { font-family: var(--font-display); font-size: 2.4rem; font-weight: 500; }
.pilar p { color: rgba(245, 239, 228, .8); font-size: .96rem; margin-top: 6px; }
.pilar .n { font-family: var(--font-brand); font-size: .72rem; letter-spacing: .3em; color: var(--gold-l); }

/* verticais / cards com foto */
.vcard { display: grid; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out); }
.vcard:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -36px rgba(60, 44, 20, .5); }
.vcard .media { border-radius: 0; aspect-ratio: 4 / 3; }
.vcard .body { padding: 24px 24px 28px; display: grid; gap: 8px; }
.vcard .tag { font-family: var(--font-brand); font-size: .7rem; letter-spacing: .26em; color: var(--gold); }
.vcard h3 { font-family: var(--font-display); font-size: 1.85rem; font-weight: 500; line-height: 1.05; }
.vcard p { color: var(--muted); font-size: .95rem; }
.vcard .more { margin-top: 8px; font-weight: 600; font-size: .9rem; color: var(--bronze); }
.grid-4 { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }

/* passos */
.steps { counter-reset: s; display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); border-top: 1px solid var(--line); }
.step { padding: 30px 26px 10px 0; border-right: 1px solid var(--line); margin-right: 26px; }
.step:last-child { border-right: 0; }
.step::before { counter-increment: s; content: '0' counter(s); font-family: var(--font-display); font-size: 3.2rem; color: var(--gold); line-height: 1; display: block; margin-bottom: 14px; }
.step h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 8px; letter-spacing: 0; font-family: var(--font-body); line-height: 1.3; }
.step p { color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) { .step { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 24px; } }

/* split imagem + texto */
.split { display: grid; gap: clamp(28px, 5vw, 80px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split.rev > :first-child { order: 2; } }
.split .media { aspect-ratio: 5 / 4; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; color: var(--muted); }
.checks li::before { content: ''; position: absolute; left: 0; top: .5em; width: 14px; height: 8px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.checks li b { color: var(--fg); font-weight: 600; }

/* segmentos — índice e blocos */
.seg-index { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.seg-index a { padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(214, 182, 124, .45); color: var(--ivory); font-size: .9rem; transition: background .3s; }
.seg-index a:hover { background: rgba(214, 182, 124, .18); }
.seg { scroll-margin-top: 90px; }
.seg .tag { font-family: var(--font-brand); font-size: .74rem; letter-spacing: .3em; color: var(--gold); }
.seg h2 { margin: 12px 0 16px; }
.seg .who { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.seg .who span { padding: 7px 14px; border-radius: 999px; background: rgba(176, 138, 78, .12); color: var(--bronze); font-size: .82rem; font-weight: 600; }
.dark .seg .who span { background: rgba(214, 182, 124, .14); color: var(--gold-l); }
.seg .actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.example { margin-top: 22px; padding: 18px 20px; border-left: 2px solid var(--gold); background: rgba(176, 138, 78, .08); border-radius: 0 12px 12px 0; font-size: .95rem; color: var(--muted); }
.example b { color: var(--fg); }

/* quote / fundador */
.founder .media { aspect-ratio: 4 / 5; }
.signature { font-family: var(--font-display); font-style: italic; font-size: 1.6rem; color: var(--gold); margin-top: 18px; }

/* formulário */
.form { display: grid; gap: 16px; }
.form .two { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.field { display: grid; gap: 7px; }
.field label, .field legend { font-size: .82rem; font-weight: 600; color: var(--fg); padding: 0; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fffdf9; border: 1px solid rgba(107, 82, 48, .28); border-radius: 12px; padding: 14px 16px; transition: border-color .3s, box-shadow .3s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(176, 138, 78, .18); }
.field input:user-invalid { border-color: #b4533a; }
.form .note { font-size: .8rem; color: var(--faint); }
.form-ok { display: none; text-align: center; padding: 40px 20px; }
.form-ok.show { display: block; }
.form-ok h3 { font-family: var(--font-display); font-size: 2.2rem; font-weight: 500; margin: 12px 0 8px; }
.form-ok p { color: var(--muted); }
.panel { background: var(--bg-2); border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.2); padding: clamp(22px, 4vw, 44px); box-shadow: 0 40px 80px -50px rgba(60, 44, 20, .45); }

/* contato — infos */
.info { display: grid; gap: 22px; }
.info div { border-top: 1px solid var(--line); padding-top: 16px; }
.info small { display: block; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--bronze); font-weight: 700; margin-bottom: 4px; }
.info a, .info p { font-size: 1.1rem; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; }
.map iframe { width: 100%; height: 100%; border: 0; filter: sepia(.25) saturate(.85); }

/* CTA final */
.cta-sv { position: relative; overflow: hidden; border-radius: calc(var(--radius) * 1.6); color: var(--ivory); text-align: center; padding: clamp(60px, 9vw, 120px) var(--gutter); isolation: isolate; }
.cta-sv > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-sv::before { content: ''; position: absolute; inset: 0; background: rgba(22, 20, 16, .66); z-index: -1; }
.cta-sv .display-2 em { color: var(--gold-l); }
.cta-sv p { color: rgba(245, 239, 228, .82); max-width: 54ch; margin: 16px auto 0; }
.cta-sv .row { justify-content: center; margin-top: 30px; }
.cta-sv .btn-line { color: var(--ivory); }

/* footer */
.footer { background: var(--ink); color: rgba(245, 239, 228, .7); border-top: 0; padding-top: 64px; }
.footer h4 { font-family: var(--font-brand); font-size: .72rem; letter-spacing: .26em; color: var(--gold-l); margin-bottom: 14px; }
.footer .cols a, .footer .cols p { display: block; margin-bottom: 8px; }
.footer a:hover { color: var(--ivory); }
.footer .legal { color: rgba(245, 239, 228, .45); border-top: 1px solid rgba(214, 182, 124, .18); padding-top: 22px; }
.footer .brand-word b { color: var(--gold-l); }
.footer .brand img { width: 44px; }
.wa-float { background: #1f8f4e; }
