/* Jozyaria — Parcerias & Divulgações
   Direção: amanhecer do sertão — névoa clara, cacau, bronze suave.
   Evita purple, cream+terracotta clássico, dark mode, glow, pills. */

:root {
  --ink: #241c16;
  --ink-soft: #4a3f36;
  --paper: #f4f0ea;
  --mist: #ebe4da;
  --sand: #d8cbb8;
  --bronze: #9a7a4a;
  --bronze-deep: #7a5e35;
  --sage: #8a9a86;
  --sky: #dce4e6;
  --blush: #e2cfc6;
  --blush-deep: #c9a090;
  --line: rgba(36, 28, 22, 0.12);
  --radius: 2px;
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Sora", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.55;
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

button,
.btn {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* ——— Atmosphere helpers ——— */
.ambient {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.ambient__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  will-change: transform;
  animation: drift 18s var(--ease) infinite alternate;
}

.ambient__orb--a {
  width: min(70vw, 520px);
  height: min(70vw, 520px);
  background: radial-gradient(circle, var(--blush) 0%, transparent 70%);
  top: -12%;
  left: -8%;
}

.ambient__orb--b {
  width: min(60vw, 460px);
  height: min(60vw, 460px);
  background: radial-gradient(circle, var(--sky) 0%, transparent 68%);
  bottom: -18%;
  right: -10%;
  animation-delay: -6s;
  animation-duration: 22s;
}

.ambient__orb--c {
  width: min(40vw, 280px);
  height: min(40vw, 280px);
  background: radial-gradient(circle, var(--sand) 0%, transparent 70%);
  top: 38%;
  right: 18%;
  opacity: 0.4;
  animation-delay: -11s;
  animation-duration: 26s;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(3%, -4%, 0) scale(1.06);
  }
}

/* ——— Hero: foto full-bleed + texto em painel sólido (sem sobreposição) ——— */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-rows: minmax(48svh, 1fr) auto;
  padding: 0;
  overflow: hidden;
  color: #f7f3ed;
  background: #241c16;
}

.hero__visual {
  position: relative;
  min-height: 48svh;
  overflow: hidden;
  background: #2a221c;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transform: scale(1.03);
  animation: hero-ken 22s var(--ease) infinite alternate;
}

@media (min-width: 900px) {
  .hero__media img {
    object-position: 48% 22%;
  }
}

@keyframes hero-ken {
  from {
    transform: scale(1.03) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(1%, -0.6%, 0);
  }
}

/* Painel sólido — marca e texto nunca cruzam a foto */
.hero__copy {
  position: relative;
  z-index: 1;
  width: 100%;
  background: #241c16;
  padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.25rem, 3vw, 2rem)
    clamp(2rem, 5vw, 3rem);
  border-top: 1px solid rgba(247, 243, 237, 0.08);
}

.hero__copy > * {
  width: min(100%, var(--max));
  margin-left: auto;
  margin-right: auto;
}

.hero__brand {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3rem, 10vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0 0 0.45em;
  color: #f7f3ed;
}

.hero__tag {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(0.8rem, 1.5vw, 0.95rem);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sand);
  /* Folga abaixo do “y” de Jozyaria */
  margin-top: 0.55em;
  padding-top: 0.45em;
}

.hero__headline {
  font-family: var(--font-display);
  font-weight: 450;
  font-size: clamp(1.4rem, 3vw, 2.05rem);
  line-height: 1.2;
  max-width: 18ch;
  margin: 0 0 0.85rem;
  color: #f7f3ed;
}

.hero__support {
  margin: 0 0 1.5rem;
  max-width: 38ch;
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  color: rgba(247, 243, 237, 0.78);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  align-items: center;
}

.hero .btn--primary {
  background: #f7f3ed;
  color: var(--ink);
}

.hero .btn--primary:hover {
  background: var(--blush);
  color: var(--ink);
}

.hero .btn--ghost {
  color: #f7f3ed;
  border-color: rgba(247, 243, 237, 0.45);
}

.hero .btn--ghost:hover {
  border-color: #f7f3ed;
  background: rgba(247, 243, 237, 0.08);
}

.hero__meta {
  position: static;
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(247, 243, 237, 0.72);
}

.hero__meta a {
  text-decoration: none;
  border-bottom: 1px solid rgba(247, 243, 237, 0.35);
  padding-bottom: 0.1em;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.hero__meta a:hover {
  color: #fff;
  border-color: var(--blush);
}

/* ——— Portrait band (real photos, no cards) ——— */
.portrait-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0;
  background: var(--ink);
}

.portrait-band__frame {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.portrait-band__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 1.1s var(--ease);
}

.portrait-band__frame:hover img {
  transform: scale(1.04);
}

@media (max-width: 640px) {
  .portrait-band {
    grid-template-columns: 1fr;
  }

  .portrait-band__frame {
    aspect-ratio: 4 / 5;
  }
}

/* Reveal on load */
.reveal-load {
  opacity: 0;
  transform: translateY(1.1rem);
  animation: rise 0.9s var(--ease) forwards;
}

.reveal-load:nth-child(1) {
  animation-delay: 0.08s;
}
.reveal-load:nth-child(2) {
  animation-delay: 0.22s;
}
.reveal-load:nth-child(3) {
  animation-delay: 0.36s;
}
.reveal-load:nth-child(4) {
  animation-delay: 0.48s;
}
.reveal-load:nth-child(5) {
  animation-delay: 0.58s;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ambient__orb,
  .reveal-load,
  .reveal,
  .hero__media img {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .hero__media img {
    transform: none !important;
  }
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.45rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.35s var(--ease),
    background 0.35s var(--ease),
    color 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.btn--primary {
  background: var(--ink);
  color: var(--paper);
}

.btn--primary:hover {
  background: var(--bronze-deep);
  transform: translateY(-2px);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn--ghost:hover {
  border-color: var(--ink);
}

.btn__arrow {
  display: inline-block;
  transition: transform 0.35s var(--ease);
}

.btn--primary:hover .btn__arrow {
  transform: translateX(3px);
}

/* ——— Sections ——— */
.section {
  position: relative;
  padding: clamp(4rem, 10vw, 7rem) clamp(1.25rem, 3vw, 2rem);
}

.section--mist {
  background: linear-gradient(180deg, var(--mist) 0%, var(--paper) 100%);
}

.section--ink {
  background: var(--ink);
  color: var(--paper);
}

.section__inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.section__eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bronze);
  margin: 0 0 0.85rem;
}

.section--ink .section__eyebrow {
  color: var(--sand);
}

.section__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.85rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
  max-width: 18ch;
}

.section__lead {
  margin: 0;
  max-width: 42ch;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.section--ink .section__lead {
  color: rgba(244, 240, 234, 0.78);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ——— Presence / stats ——— */
.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 2.5rem);
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-top: clamp(2rem, 4vw, 2.75rem);
  border-top: 1px solid var(--line);
}

@media (min-width: 800px) {
  .stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.stat__value {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0 0 0.45rem;
  color: var(--ink);
}

.stat__label {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
  max-width: 14ch;
}

/* ——— Formats ——— */
.formats {
  display: grid;
  gap: 0;
  margin-top: clamp(2.5rem, 6vw, 3.5rem);
  border-top: 1px solid var(--line);
}

.format {
  display: grid;
  gap: 0.35rem 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 720px) {
  .format {
    grid-template-columns: 10rem 1fr;
    align-items: baseline;
  }
}

.format__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.01em;
}

.format__desc {
  margin: 0;
  color: var(--ink-soft);
  max-width: 52ch;
}

/* ——— Audience ——— */
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

@media (min-width: 860px) {
  .split {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }
}

.audience-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.audience-list li {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  align-items: baseline;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(244, 240, 234, 0.14);
}

.audience-list strong {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
}

.audience-list span {
  color: rgba(244, 240, 234, 0.72);
  font-size: 0.95rem;
}

.segments {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.85rem;
}

.segments li {
  font-size: 0.92rem;
  color: rgba(244, 240, 234, 0.88);
  border-bottom: 1px solid rgba(244, 240, 234, 0.22);
  padding-bottom: 0.1rem;
}

.segments-note {
  margin: 1.25rem 0 0;
  color: rgba(244, 240, 234, 0.65);
  font-size: 0.92rem;
  max-width: 36ch;
}

/* ——— CTA band ——— */
.cta-band {
  padding: clamp(4.5rem, 12vw, 8rem) clamp(1.25rem, 3vw, 2rem);
  background:
    linear-gradient(145deg, #efe7dc 0%, #e4d7c8 55%, #d9e0df 100%);
  position: relative;
  overflow: hidden;
}

.cta-band__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 40rem);
  margin: 0 auto;
  text-align: left;
}

.cta-band__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
  max-width: 14ch;
}

.cta-band__text {
  margin: 0 0 1.75rem;
  color: var(--ink-soft);
  max-width: 34ch;
  font-size: 1.05rem;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 0.85rem;
  align-items: stretch;
}

.cta-band__actions .btn {
  max-width: 100%;
}

#cta-copy-email {
  font-size: 0.92rem;
  word-break: break-all;
  text-align: left;
}

#cta-copy-email.is-copied {
  border-color: var(--bronze-deep);
  color: var(--bronze-deep);
}

@media (max-width: 560px) {
  .cta-band__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-band__actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* ——— Footer ——— */
.footer {
  padding: 1.5rem clamp(1.25rem, 3vw, 2rem) 2rem;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer__inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.footer__brand {
  font-family: var(--font-display);
  color: var(--ink);
  font-size: 1.05rem;
}

.footer a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.footer a:hover {
  color: var(--ink);
  border-color: var(--bronze);
}


/* ——— Ajuste 23/11: rosto sempre inteiro + layout de celular ——— */
.hero__media img {
  object-position: 50% 8%;
  transform: none;
  animation: none;
}

/* Celular: foto alta (retrato) e texto logo abaixo */
@media (max-width: 899px) {
  .hero {
    min-height: 0;
    grid-template-rows: auto auto;
  }

  .hero__visual {
    min-height: 0;
    height: min(72svh, 135vw);
  }

  .hero__media img {
    object-position: 50% 6%;
  }

  .hero__copy {
    padding: 1.5rem 1.25rem 2.25rem;
  }

  .hero__brand {
    font-size: clamp(2.8rem, 15vw, 4rem);
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .hero__actions .btn {
    justify-content: center;
    width: 100%;
    min-height: 3rem;
  }
}

/* Computador: foto à direita ocupando a altura toda, texto à esquerda */
@media (min-width: 900px) {
  .hero {
    min-height: 100svh;
    grid-template-rows: none;
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  }

  .hero__copy {
    order: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top: 0;
    padding: 3rem clamp(2rem, 5vw, 5.5rem);
  }

  .hero__copy > * {
    width: 100%;
    max-width: 34rem;
    margin-left: 0;
    margin-right: 0;
  }

  .hero__visual {
    order: 2;
    min-height: 100svh;
  }

  .hero__media img {
    object-position: 50% 10%;
  }
}

.portrait-band__frame img {
  object-position: 50% 6%;
}
