/* =====================================================================
   Simone Brazil Concept — site estático
   Recriado a partir do handoff do Claude Design (HTML/CSS/JS puro).
   Paleta:
     bg areia    #F0E3DA   ink escuro   #573239
     branco      #FEFEFE   ink-light    #6E444B  (placeholder escuro)
     blush       #E9C5B7   (placeholder claro)
     accent      #B68580   accent claro #F5D4C1
   ===================================================================== */

/* --------------------------- Reset / base --------------------------- */
* { box-sizing: border-box; }

body {
  margin: 0;
  background: #F0E3DA;
  color: #573239;
  font-family: Archivo, sans-serif;
  font-variation-settings: 'wdth' 112;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

html { scroll-behavior: smooth; }

a { color: inherit; text-decoration: none; }
a:hover { color: #B68580; }

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

/* Itálico decorativo Fraunces usado em <em> por todo o site */
em {
  font-family: Fraunces, serif;
  font-style: italic;
  font-weight: 200;
  font-variation-settings: "SOFT" 30, "WONK" 1;
  letter-spacing: -0.015em;
  font-size: 1.26em;
  line-height: 1.05;
}

/* ----------------------------- Grão (textura) ----------------------- */
.grain { position: relative; }
.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.11;
  background-image: url("../assets/grain.png");
  background-size: 256px 256px;
  background-repeat: repeat;
}
.grain--soft::after { opacity: 0.05; }

/* ----------------------------- Placeholders ------------------------- */
/* Blocos sólidos que ficam à espera de imagens reais.
   ph--blush = #E9C5B7 (claro) · ph--ink = #6E444B (escuro) */
.ph { width: 100%; }
.ph--blush { background: #E9C5B7; }
.ph--ink { background: #6E444B; }
.ph--4x5 { aspect-ratio: 4 / 5; }
.ph--4x3 { aspect-ratio: 4 / 3; }

/* ----------------------------- Tipografia --------------------------- */
.h2 {
  margin: 0;
  font-family: Manrope, sans-serif;
  font-weight: 200;
  font-size: clamp(36px, 4.2vw, 64px);
  line-height: 1.18;
  letter-spacing: -0.025em;
}
.h3 {
  margin: 0 0 20px;
  font-family: Manrope, sans-serif;
  font-weight: 200;
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.34;
  letter-spacing: -0.025em;
}
.prose {
  margin: 0 0 22px;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(87, 50, 57, 0.78);
  max-width: 52ch;
}
.prose:last-child { margin-bottom: 0; }
.prose--narrow { max-width: 44ch; color: rgba(87, 50, 57, 0.75); }
.prose--light { color: rgba(254, 254, 254, 0.92); max-width: 48ch; }

.section-index {
  margin: 0 0 40px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #B68580;
  font-weight: 500;
}
.section-index--light { color: #F5D4C1; }

.caption {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
}
.caption--accent { color: #B68580; }
.caption--light { color: rgba(254, 254, 254, 0.75); }

/* ----------------------------- Botões ------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background 500ms ease, color 500ms ease, border-color 500ms ease,
              transform 160ms cubic-bezier(0.22, 1, 0.36, 1);
}
.btn:active { transform: scale(0.98); }
.btn__arrow {
  display: inline-block;
  font-size: 17px;
  letter-spacing: 0;
  transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1);
}
/* Seta desliza para a direita no hover (só em ponteiros finos) */
@media (hover: hover) and (pointer: fine) {
  .btn:hover .btn__arrow { transform: translateX(4px); }
}

.btn--solid {
  padding: 19px 36px;
  background: #FEFEFE;
  color: #573239;
}
.btn--solid:hover { background: #573239; color: #FEFEFE; }

.btn--outline {
  margin-top: 44px;
  padding: 18px 34px;
  border: 1px solid rgba(254, 254, 254, 0.7);
  color: #F0E3DA;
}
.btn--outline:hover { background: #FEFEFE; color: #573239; }

/* =============================== NAV =============================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 12px;
  column-gap: 32px;
  padding: 16px 48px;
  background: rgba(87, 50, 57, 0.14);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  border-bottom: 1px solid rgba(254, 254, 254, 0.22);
  color: #FEFEFE;
  transition: background 500ms ease, border-color 500ms ease, color 500ms ease;
}
/* Estado após sair do hero (aplicado via JS com a classe .nav--past) */
.nav--past {
  background: rgba(254, 254, 254, 0.6);
  border-bottom-color: rgba(87, 50, 57, 0.12);
  color: #573239;
}

.nav__logo { position: relative; display: block; flex: 0 0 auto; height: 72px; }
.nav__logo-img { height: 72px; width: auto; transition: opacity 500ms ease; }
.nav__logo-img--dark { position: absolute; top: 0; left: 0; opacity: 0; }
.nav--past .nav__logo-img { opacity: 0; }
.nav--past .nav__logo-img--dark { opacity: 1; }

.nav__links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  row-gap: 12px;
  column-gap: clamp(18px, 2.4vw, 34px);
}
.nav__links > a {
  font-size: 11px;
  letter-spacing: clamp(0.1em, 0.5vw, 0.18em);
  text-transform: uppercase;
  font-weight: 400;
}
.nav__cta {
  padding: 12px 26px;
  background: #FEFEFE;
  border-radius: 999px;
  color: #573239;
  font-weight: 500;
  transition: background 500ms ease, color 500ms ease;
}
.nav__cta:hover { background: #573239; color: #FEFEFE; }
.nav--past .nav__cta { background: #573239; color: #FEFEFE; }
.nav--past .nav__cta:hover { background: #FEFEFE; color: #573239; }

/* Botão hamburger — só aparece no mobile (regras em @media) */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit; /* segue a cor da nav (clara no hero, escura depois) */
  cursor: pointer;
}
.nav__toggle-bar {
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 250ms cubic-bezier(0.22, 1, 0.36, 1),
              opacity 200ms ease;
}
/* Hamburger -> X quando o menu está aberto */
.nav--open .nav__toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav--open .nav__toggle-bar:nth-child(2) { opacity: 0; }
.nav--open .nav__toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================== HERO =============================== */
.hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 130px 48px 44px; /* padding-top é ajustado por JS para caber a nav */
  background: #F0E3DA;
  overflow: hidden;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 26%;
  animation: sbe-drift 22s ease-in-out infinite alternate;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(87, 50, 57, 0.68) 0%,
    rgba(87, 50, 57, 0.44) 45%,
    rgba(87, 50, 57, 0.16) 78%);
}
.hero__head { position: relative; z-index: 2; max-width: 1180px; }
.hero__eyebrow {
  margin: 0 0 18px;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #FEFEFE;
  font-weight: 500;
}
.hero__title {
  margin: 0;
  font-family: Manrope, sans-serif;
  font-weight: 200;
  font-size: clamp(44px, 7.4vw, 108px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
  color: #FEFEFE;
}
.hero__row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-top: 56px;
  flex-wrap: wrap;
}
.hero__lead {
  margin: 0;
  max-width: 380px;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(254, 254, 254, 0.88);
}
.hero__ticker {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 64px;
  padding-top: 22px;
  border-top: 1px solid rgba(254, 254, 254, 0.28);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(254, 254, 254, 0.82);
}

/* ============================= MANIFESTO ============================ */
.manifesto { padding: 110px 48px 96px; background: #FEFEFE; }
.manifesto__text {
  margin: 0 auto;
  max-width: 24ch;
  text-align: center;
  font-family: Manrope, sans-serif;
  font-weight: 200;
  font-size: clamp(26px, 3.4vw, 46px);
  line-height: 1.28;
  letter-spacing: -0.025em;
}

/* ============================== SOBRE ============================== */
.about {
  padding: 0 48px 120px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: start;
  background: #FEFEFE;
}
.about__media { display: flex; flex-direction: column; gap: 18px; }
.about__body .h2 { margin-bottom: 32px; }

/* ============================ ESTATÍSTICAS ========================= */
.stats { background: #F0E3DA; padding: 96px 48px; }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  align-items: end;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 1px solid rgba(87, 50, 57, 0.18);
  padding-top: 28px;
}
.stat__num {
  margin: 0;
  font-size: clamp(48px, 6vw, 82px);
  font-family: Manrope, sans-serif;
  font-weight: 200;
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.stat__label {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(87, 50, 57, 0.6);
  font-weight: 500;
}

/* =========================== ESPECIALIDADES ======================= */
.specs { padding: 120px 48px; background: #FEFEFE; }
.specs__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 80px;
  flex-wrap: wrap;
}
.specs__title { max-width: 18ch; }
.specs__head .section-index { margin: 0; }

.spec {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 96px;
}
.spec:last-child { margin-bottom: 0; }
.spec--reverse { grid-template-columns: 1fr 1.15fr; }
.spec--reverse .spec__body { order: 1; }
.spec--reverse .spec__media-right { order: 2; }
.spec__body .caption { margin-bottom: 18px; }

/* ============================== FORMAÇÃO ========================== */
.training {
  background: #573239;
  color: #FEFEFE;
  padding: 130px 48px;
}
.training__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}
.training__body .h2 { margin-bottom: 30px; }
.training__body .section-index { margin-bottom: 40px; }
.training__body .prose { margin-bottom: 52px; }

.training__list { display: flex; flex-direction: column; }
.training__item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 24px;
  padding: 26px 0;
  border-top: 1px solid rgba(254, 254, 254, 0.35);
}
.training__item--last { border-bottom: 1px solid rgba(254, 254, 254, 0.35); }
.training__item p {
  margin: 0;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(254, 254, 254, 0.95);
}
.training__num { font-size: 22px; color: #F5D4C1; }

.training__media { display: flex; flex-direction: column; gap: 16px; }

/* ========================== TRANSFORMAÇÕES ======================== */
.gallery { padding: 130px 48px; background: #FEFEFE; }
.gallery__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}
.gallery__head .section-index { margin: 0; }
.gallery__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 32px;
}
.gallery__item { margin: 0; display: flex; flex-direction: column; gap: 18px; }
.gallery__item--bottom { align-self: end; }
.gallery__cap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}
.gallery__cap-muted { color: rgba(87, 50, 57, 0.5); }

/* ============================ DEPOIMENTOS ========================= */
.quotes { padding: 120px 48px; background: #F0E3DA; }
.quotes__head {
  margin-bottom: 56px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}
.quotes__head .section-index { margin: 0; }
.quotes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.quote {
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  min-height: 330px;
  padding: 40px;
  background: #FEFEFE;
}
.quote__text {
  margin: 0;
  font-size: 23px;
  font-family: Manrope, sans-serif;
  font-weight: 200;
  line-height: 1.4;
  letter-spacing: -0.015em;
}
.quote__foot {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}
.quote__tag { color: #B68580; }

/* ========================== CONTACTO / FOOTER ===================== */
.foot {
  background: #573239;
  color: #FEFEFE;
  padding: 120px 48px 44px;
}
.foot__cta,
.foot__cols,
.foot__bar { position: relative; z-index: 2; }

.foot__cta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 56px;
  flex-wrap: wrap;
  padding-bottom: 90px;
  border-bottom: 1px solid rgba(254, 254, 254, 0.35);
}
.foot__title {
  margin: 0;
  font-family: Manrope, sans-serif;
  font-weight: 200;
  font-size: clamp(38px, 5.6vw, 82px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  max-width: 15ch;
}

.foot__cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 64px 0 80px;
}
.foot__brand img { width: 100%; max-width: 240px; height: auto; }
.foot__label {
  margin: 0 0 16px;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(254, 254, 254, 0.75);
  font-weight: 500;
}
.foot__text {
  margin: 0;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(254, 254, 254, 0.94);
}
.foot__contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
  font-weight: 300;
  color: rgba(254, 254, 254, 0.94);
}
.foot__bar {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(254, 254, 254, 0.7);
  font-weight: 500;
}

/* ============================= ANIMAÇÕES ========================== */
@keyframes sbe-drift {
  from { transform: scale(1.06); }
  to   { transform: scale(1.14) translate3d(-1.2%, -1%, 0); }
}
@keyframes sbe-rise {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: none; }
}
.rise { animation: sbe-rise 1000ms cubic-bezier(.16, .7, .24, 1) both; }
.rise--delay { animation-duration: 1200ms; animation-delay: 120ms; }

/* Elementos revelados no scroll (marcados via JS) */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1000ms cubic-bezier(.16, .7, .24, 1),
              transform 1000ms cubic-bezier(.16, .7, .24, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================== RESPONSIVO ========================== */
@media (max-width: 900px) {
  .nav { padding: 14px 24px; column-gap: 20px; flex-wrap: nowrap; }
  .nav__logo,
  .nav__logo-img { height: 52px; }

  /* Mostra o hamburger e transforma o menu num painel descendente */
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 16px 24px 26px;
    background: #573239;
    border-bottom: 1px solid rgba(254, 254, 254, 0.16);
    box-shadow: 0 24px 48px -24px rgba(87, 50, 57, 0.5);
    /* Estado fechado — animado com transform/opacity, não layout */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 250ms cubic-bezier(0.22, 1, 0.36, 1),
                transform 250ms cubic-bezier(0.22, 1, 0.36, 1),
                visibility 250ms;
  }
  .nav--open .nav__links {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
  /* Dentro do painel o texto é sempre claro (fundo escuro), mesmo com nav--past */
  .nav--past .nav__links { color: #FEFEFE; }
  .nav__links > a {
    color: #FEFEFE;
    padding: 14px 2px;
    font-size: 13px;
    border-bottom: 1px solid rgba(254, 254, 254, 0.12);
  }
  .nav__cta,
  .nav--past .nav__cta {
    margin-top: 16px;
    padding: 16px 26px;
    text-align: center;
    background: #FEFEFE;
    color: #573239;
    border-bottom: 0;
  }

  .hero { padding-left: 24px; padding-right: 24px; }
  .manifesto,
  .about,
  .stats,
  .specs,
  .training,
  .gallery,
  .quotes,
  .foot { padding-left: 24px; padding-right: 24px; }

  .about,
  .spec,
  .spec--reverse,
  .training__grid { grid-template-columns: 1fr; gap: 48px; }

  .spec--reverse .spec__body { order: 2; }
  .spec--reverse .spec__media-right { order: 1; }

  .quotes__grid { grid-template-columns: 1fr; }
  .foot__cols { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 560px) {
  .stats__grid { grid-template-columns: 1fr; gap: 32px; }
  .gallery__grid { grid-template-columns: 1fr; }
  .gallery__item--bottom { align-self: auto; }
  .foot__cols { grid-template-columns: 1fr; }
  .foot__cta { gap: 32px; }
  .hero__row { gap: 28px; }
  .btn--solid { width: 100%; justify-content: center; }
  /* Ticker do hero: coluna alinhada à esquerda em vez de espalhar */
  .hero__ticker {
    flex-direction: column;
    gap: 12px;
    margin-top: 44px;
  }
  /* Padding vertical um pouco menor nas secções altas */
  .specs,
  .training,
  .gallery,
  .quotes,
  .foot { padding-top: 80px; padding-bottom: 80px; }
}

/* Respeita quem prefere menos movimento */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
