/* Schuweb | GS Advocacia - estilos do site */
:root {
  --navy: #173160;
  --navy-2: #172e5b;
  --navy-card: #294374;
  --ink: #1e1e1e;
  --line: #eaeaea;
  --ghost: #e8e8e8;
  --white: #fff;
  --serif: "Merriweather", Georgia, serif;
  --sans: "Roboto", "Helvetica Neue", Arial, sans-serif;
  --gutter: 5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; font-size: 10px; overflow-x: clip; }
/* Desktop: tudo escala com a largura da tela, como o frame de 1440 do Figma */
@media (min-width: 1200px) { html { font-size: calc(var(--vw, 1vw) * 100 / 144); } }
body { margin: 0; font-size: 1.6rem; font-family: var(--sans); color: var(--ink); background: var(--white); line-height: 1.25; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }

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

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 2rem 3rem; border-radius: 1.2rem; font: 400 1.6rem/1 var(--sans); white-space: nowrap; transition: background .2s, color .2s, border-color .2s, transform .2s; border: 1px solid transparent; }
.btn--bold { font-weight: 700; }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: #0f2348; }
.btn--outline { border-color: #182f5d; color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--white { background: var(--white); color: var(--navy); }
.btn--white:hover { background: #eef1f7; }

/* Cabeçalho */
.site-header { position: absolute; top: 1.9rem; left: 0; right: 0; z-index: 20; }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; height: 5.9rem; }
.site-header__logo img { width: 26rem; height: auto; }
.site-nav { display: flex; align-items: center; gap: 0; }
.site-nav ul { list-style: none; display: flex; gap: 3.4rem; margin: 0 15.7rem 0 0; padding: 0; }
.site-nav a { font: 400 1.4rem/1 var(--sans); color: var(--white); opacity: .95; }
.site-nav a:hover, .site-nav .is-current a { opacity: 1; text-decoration: underline; text-underline-offset: 0.6rem; }
.btn-header { border: 1px solid var(--white); border-radius: 0.6rem; padding: 1rem 2rem; font: 500 1.4rem/1.2 var(--sans); color: var(--white); white-space: nowrap; transition: background .2s, color .2s; }
.btn-header:hover { background: var(--white); color: var(--navy); }
.menu-toggle { display: none; background: none; border: 0; padding: 0.8rem; cursor: pointer; }
.menu-toggle span { display: block; width: 2.6rem; height: 0.2rem; background: var(--white); margin: 0.6rem 0; transition: transform .25s, opacity .25s; }

/* Cabeçalho claro (páginas internas com topo branco) */
.site-header--light { top: 2.2rem; }
.site-header--light .site-nav a { color: var(--navy-card); }
.site-header--light .btn-header, .site-header--light .site-nav .btn-header { border: 0; color: var(--white); background: linear-gradient(101deg, #173160 1%, #294374 100%); }
.site-header--light .site-nav .btn-header:hover { background: var(--navy); color: var(--white); }
.site-header--light .menu-toggle span { background: var(--navy); }
.menu-open .site-header--light .menu-toggle span { background: var(--white); }
@media (max-width: 1199px) { .site-header--light .site-nav a { color: var(--white); } }

/* Hero */
.hero { position: relative; min-height: 83rem; color: var(--white); background: #222; }
.hero { overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(17, 17, 17, .7); z-index: 1; }
.hero__inner { z-index: 2; }
.hero__inner { position: relative; min-height: 83rem; padding-top: 17.3rem; padding-bottom: 7.5rem; display: flex; flex-direction: column; }
.hero__title { font: 300 6.5rem/6.5rem var(--serif); max-width: 63rem; }
.hero__subtitle { font: italic 400 3rem/3rem var(--serif); margin-top: 1.2rem; max-width: 62.4rem; }
.hero__text { font-size: 1.4rem; line-height: 2rem; max-width: 50.1rem; margin-top: 1rem; }
.hero__quote { margin-top: auto; font-size: 1.4rem; line-height: 2rem; max-width: 29.3rem; padding-left: 1px; }
.hero__quote p { font-style: italic; }
.hero__quote strong { display: block; font-weight: 700; }

/* Sobre (Direito, estratégia...) */
.about { padding: 11.3rem 0 0; }
.about__grid { display: grid; grid-template-columns: 34.6rem 1fr; gap: 4rem; }
.about__text { display: flex; flex-direction: column; }
.section-title { font: 400 3rem/3.5rem var(--serif); color: var(--navy-2); text-transform: uppercase; }
.about__body { margin-top: 3rem; font-size: 1.6rem; line-height: 2rem; max-width: 32.9rem; }
.about__body p + p { margin-top: 2rem; }
.about__text .btn { margin-top: auto; align-self: flex-start; }
.about__cards { display: grid; grid-template-columns: 31.4rem 31.4rem; gap: 1rem; justify-content: end; }
.about__photo { height: 54.4rem; border-radius: 1.2rem; overflow: hidden; background: #111; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__quote { height: 54.4rem; border-radius: 1.2rem; background: var(--navy-card); color: var(--white); padding: 3.4rem 3rem 2.4rem; display: flex; flex-direction: column; }
.about__quote img { width: 5.8rem; height: 5.8rem; }
.about__quote blockquote { margin: auto 0 0; font-size: 1.4rem; line-height: 2rem; max-width: 20.1rem; }
.about__quote cite { display: block; font-style: normal; font-weight: 700; margin-top: 4rem; }

/* Faixa de valores */
.values { padding: 8.8rem 0 0; overflow: hidden; }
.values p { font: 300 4rem/3.5rem var(--serif); color: var(--ghost); text-transform: uppercase; text-align: center; white-space: nowrap; }
.values em { font-style: italic; }

/* Foto larga */
.wide-photo { padding-top: 8.8rem; }
.wide-photo img { width: 100%; height: 48.5rem; object-fit: cover; }

/* Parceiros */
.partners { padding: 13rem 0 0; text-align: center; }
.partners__title { font: 400 3rem/3.5rem var(--serif); color: #1c3463; text-transform: uppercase; }
.partners__text { font-size: 1.6rem; line-height: 2rem; margin-top: 2rem; }
.partners__logos { list-style: none; margin: 5rem auto 0; padding: 0; max-width: 106rem; display: grid; grid-template-columns: repeat(6, 1fr); row-gap: 2.5rem; align-items: center; }
.partners__logos li { display: flex; align-items: center; justify-content: center; height: 5.1rem; }
.partners__logos img { max-height: 5.1rem; max-width: 17.7rem; width: auto; height: auto; object-fit: contain; }
.partners__logos li:nth-child(12n+7) { grid-column-start: 1; }
.partners .btn { margin-top: 8.4rem; }

/* Informativos */
.news { padding: 10.9rem 0 0; }
.news__head { display: flex; justify-content: space-between; align-items: flex-start; padding: 0 1.2rem; }
.news__title { font: 400 4.5rem/5.5rem var(--serif); color: var(--navy); text-transform: uppercase; max-width: 49.4rem; }
.news__intro { font-size: 1.6rem; line-height: 2rem; max-width: 37.6rem; margin-top: 2.3rem; }
.news__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 4.9rem; }
.news-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 2rem; padding: 1.5rem 1.2rem 3rem; min-height: 46.3rem; transition: box-shadow .25s, transform .25s; }
.news-card:hover { box-shadow: 0 1.2rem 3rem rgba(23, 49, 96, .10); transform: translateY(-2px); }
.news-card__img { height: 23.2rem; border-radius: 1.5rem; overflow: hidden; }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; }
.news-card__body { padding: 2rem 2rem 0; display: flex; flex-direction: column; flex: 1; }
.news-card__title { font: 500 2rem/2rem var(--sans); }
.news-card__excerpt { font-size: 1.4rem; line-height: 2rem; margin-top: 2rem; }
.news-card__foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 1.6rem; font-size: 1.4rem; line-height: 2rem; margin-left: -2px; }
.read-more { display: inline-flex; align-items: center; gap: 1rem; color: var(--navy); font-weight: 700; font-style: italic; }
.read-more img { width: 2.8rem; height: auto; transform: scaleY(-1); margin-top: 0.6rem; transition: transform .2s; }
.news-card:hover .read-more img { transform: scaleY(-1) translateX(0.4rem); }
.news__more { display: flex; justify-content: flex-end; margin-top: 5rem; padding-right: 12.2rem; }

/* Chamada final */
.cta { position: relative; margin-top: 14rem; isolation: isolate; }
.cta::after { content: ""; position: absolute; left: 0; right: 0; top: 26rem; bottom: 0; background: var(--navy); z-index: -1; }
.cta__grid { display: grid; grid-template-columns: 39.5rem 38.7rem; grid-template-rows: auto 1fr; column-gap: 1px; justify-content: center; padding-left: 0; margin-left: -1px; }
.cta__title { font: 400 5.5rem/6.5rem var(--serif); color: var(--navy); text-transform: uppercase; padding-top: 1.5rem; }
.cta__copy { grid-column: 1; color: var(--white); padding-top: 8rem; }
.cta__copy p { font-size: 1.6rem; line-height: 2rem; max-width: 28rem; }
.cta__copy .btn { margin-top: 3.4rem; }
.cta__photo { grid-column: 2; grid-row: 1 / span 2; height: 57rem; border-radius: 1.5rem; overflow: hidden; }
.cta__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 50%; }

/* Texto só para leitores de tela */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Formulários: campo-isca e mensagem de envio */
.sw-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status:empty { display: none; }
.form-status { margin-top: 1.6rem; font-size: 1.4rem; line-height: 2rem; min-height: 2rem; }
.form-status.is-ok { color: #1f7a4d; }
.form-status.is-error { color: #b42318; }

/* Rodapé */
.site-footer { background: var(--navy); color: var(--white); padding-top: 7rem; }
.site-footer__line { border: 0; border-top: 1px solid rgba(255, 255, 255, .9); margin: 0; }
.site-footer__main { display: grid; grid-template-columns: 60.4rem 24.5rem 29.2rem 1fr; padding-top: 8rem; }
.site-footer__logo img { width: 41.1rem; height: auto; }
.site-footer h3 { font: 700 1.4rem/1.8rem var(--serif); margin-bottom: 2rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { font-size: 1.4rem; line-height: 1.6rem; margin-bottom: 1rem; }
.site-footer li a:hover { text-decoration: underline; }
.site-footer__social { display: flex; align-items: center; gap: 1.7rem; margin-top: 8.8rem; }
.site-footer__social h3 { margin: 0; }
.site-footer__social a { display: inline-flex; }
.site-footer__social img { width: 2.3rem; height: 2.3rem; }
.site-footer__social a + a img { width: 2.1rem; height: 2.1rem; }
.site-footer__bottom { display: grid; grid-template-columns: 60.4rem 24.5rem 1fr auto; align-items: center; padding: 7.4rem 0 2.6rem; font-size: 0.9rem; }
.site-footer__bottom a:hover { text-decoration: underline; }
.site-footer__nefi img { width: 4rem; height: auto; }

/* ---------- Animações ----------
   Só agem quando o JS marca <html class="js">; sem JS tudo aparece normalmente. */
:root { --ease: cubic-bezier(.22, .61, .36, 1); --ease-soft: cubic-bezier(.33, 0, .2, 1); }

/* Bloco que sobe e aparece */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 2.8rem, 0); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); will-change: opacity, transform; }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="fade"] { transform: none; }

/* Títulos: palavra por palavra, com leve desfoque */
.js [data-reveal="words"] { opacity: 1; transform: none; }
.js [data-reveal="words"] .w { display: inline-block; opacity: 0; filter: blur(6px); transform: translate3d(0, .35em, 0); transition: opacity .9s var(--ease), transform 1s var(--ease), filter .9s var(--ease); transition-delay: calc(var(--d, 0s) + var(--i) * 55ms); }
.js [data-reveal="words"].is-in .w { opacity: 1; filter: blur(0); transform: none; }

/* Imagens: entram com um zoom lento */
.js [data-reveal="image"] { opacity: 0; transform: none; overflow: hidden; transition: opacity 1.2s var(--ease-soft); }
.js [data-reveal="image"] img { transform: scale(1.07); transition: transform 2s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="image"].is-in { opacity: 1; }
.js [data-reveal="image"].is-in img { transform: scale(1); }

/* Linha do rodapé se desenha da esquerda para a direita */
.js [data-reveal="line"] { opacity: 1; transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease); }
.js [data-reveal="line"].is-in { transform: scaleX(1); }

/* Faixa de valores: as palavras clareiam em sequência */
.js .values [data-reveal="words"] .w { filter: none; transform: none; transition-duration: 1.4s; transition-delay: calc(var(--i) * 140ms); }

/* Cabeçalho entra junto com o hero */
.js .site-header { opacity: 0; transform: translate3d(0, -1.2rem, 0); transition: opacity 1s var(--ease) .2s, transform 1s var(--ease) .2s; }
.js.is-loaded .site-header { opacity: 1; transform: none; }

/* Hero: imagem de fundo assenta devagar */
.hero__bg { position: absolute; inset: 0; background: #222 center/cover no-repeat; }
.js .hero__bg { transform: scale(1.06); transition: transform 2.6s var(--ease); }
.js.is-loaded .hero__bg { transform: scale(1); }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js [data-reveal] img, .js [data-reveal="words"] .w, .js .site-header, .js .hero__bg { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1199px) {
  :root { --gutter: 2.4rem; }
  .container--inner { padding: 0 var(--gutter); }
  .menu-toggle { display: block; position: relative; z-index: 31; }
  .site-nav { position: fixed; inset: 0; background: var(--navy); flex-direction: column; justify-content: center; gap: 3.6rem; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; z-index: 30; }
  .site-nav ul { flex-direction: column; align-items: center; gap: 2.6rem; margin: 0; }
  .site-nav a { font-size: 2rem; }
  .menu-open .site-nav { opacity: 1; visibility: visible; }
  .menu-open .menu-toggle span:nth-child(1) { transform: translateY(0.8rem) rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .menu-open { overflow: hidden; }
  .site-header__logo img { width: 20rem; }

  .about__grid { grid-template-columns: 1fr; gap: 5rem; }
  .about__body { max-width: 56rem; }
  .about__text .btn { margin-top: 4rem; }
  .about__cards { grid-template-columns: 1fr 1fr; }
  .values p { white-space: normal; font-size: 2.6rem; line-height: 3.8rem; padding: 0 var(--gutter); }
  .partners__logos { grid-template-columns: repeat(3, 1fr); }
  .partners__logos li:nth-child(12n+7) { grid-column-start: auto; }
  .news__head { flex-direction: column; gap: 1rem; padding: 0; }
  .news__grid { grid-template-columns: 1fr 1fr; }
  .news__more { justify-content: flex-start; }
  .cta__grid { grid-template-columns: 1fr 1fr; column-gap: 3rem; padding: 0 var(--gutter); margin: 0; }
  .cta::after { top: 23rem; }
  .cta__title { font-size: 4.2rem; line-height: 5rem; }
  .site-footer__main { grid-template-columns: 1fr 1fr 1fr; row-gap: 4rem; }
  .site-footer__logo { grid-column: 1 / -1; }
  .site-footer__bottom { grid-template-columns: 1fr 1fr 1fr auto; gap: 1rem; }
}

@media (max-width: 720px) {
  .hero, .hero__inner { min-height: 64rem; }
  .hero__inner { padding-top: 14rem; padding-bottom: 4rem; }
  .hero__title { font-size: 4rem; line-height: 4.4rem; }
  .hero__subtitle { font-size: 2.1rem; line-height: 2.6rem; margin-top: 1.4rem; }
  .hero__quote { margin-top: 6rem; }
  .about { padding-top: 7rem; }
  .section-title, .partners__title { font-size: 2.4rem; line-height: 3rem; }
  .about__cards { grid-template-columns: 1fr 1fr; }
  .about__photo, .about__quote { height: 38rem; }
  .about__quote { padding: 2.2rem 1.8rem; }
  .values { padding-top: 6rem; }
  .values p { font-size: 2rem; line-height: 3rem; }
  .wide-photo { padding-top: 5rem; }
  .wide-photo img { height: 26rem; }
  .partners { padding-top: 8rem; }
  .partners__logos { grid-template-columns: repeat(3, 1fr); row-gap: 1.4rem; column-gap: 1rem; }
  .partners__logos li { height: 4rem; }
  .partners__logos img { max-width: 100%; max-height: 3.6rem; }
  .partners .btn { margin-top: 5rem; }
  .news { padding-top: 8rem; }
  .news__title { font-size: 3.2rem; line-height: 4rem; }
  .news__grid { grid-template-columns: 1fr; }
  .news-card { min-height: 0; }
  .news-card__foot { padding-top: 2.6rem; }
  .news__more .btn { width: 100%; white-space: normal; }
  .cta { margin-top: 9rem; overflow: hidden; }
  .cta::after { display: none; }
  .cta__photo { position: relative; overflow: visible; }
  .cta__photo img { border-radius: 1.5rem; position: relative; }
  .cta__photo::before { content: ""; position: absolute; left: -100vmax; right: -100vmax; top: 55%; bottom: 0; background: var(--navy); }
  .cta__copy { background: var(--navy); box-shadow: 0 0 0 100vmax var(--navy); clip-path: inset(0 -100vmax); }
  .cta__grid { grid-template-columns: 1fr; }
  .cta__title { font-size: 3.4rem; line-height: 4rem; padding-top: 0; }
  .cta__photo { grid-column: 1; grid-row: auto; height: 42rem; margin-top: 2.4rem; order: 2; }
  .cta__copy { order: 3; padding-top: 3rem; }
  .cta__copy p { max-width: none; }
  .cta__title { order: 1; }
  .cta__grid { display: flex; flex-direction: column; }
  .site-footer { padding-top: 5rem; }
  .site-footer__main { grid-template-columns: 1fr 1fr; padding-top: 5rem; }
  .site-footer__logo img { width: 26rem; }
  .site-footer__main > div:last-child { grid-column: 1 / -1; }
  .site-footer__bottom { grid-template-columns: 1fr 1fr; padding-top: 5rem; row-gap: 1.4rem; }
  .site-footer__nefi { justify-self: end; }
  .btn { padding: 1.8rem 2.6rem; }
}
