/* ==========================================================
   RESET / BASE
   ========================================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: "Mouris";
  src: url("../assets/fonts/Mouris.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Agency FB Bold";
  src: url("../assets/fonts/AgencyFB-Bold.ttf") format("truetype");
  font-weight: 100 900; /* arquivo já é o Bold: evita negrito sintético */
  font-style: normal;
  font-display: swap;
}

:root {
  --preto: #000000;
  --grafite: #0d0d0d;
  --branco: #ffffff;
  --cinza: #b3b6d6;

  /* Degradê azul dos criativos (fundo de algumas seções) */
  --degrade-azul: linear-gradient(125deg, #111f92 0%, #0f0f65 45%, #0c0942 100%);
  /* Identidade do Instagram: azul = marca (superfícies), vermelho = ação/destaque */
  --vermelho: #f40a0a;
  --azul: #0505d9;

  --font-title: "Agency FB Bold", "Agency FB", Impact, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-support: "Poppins", system-ui, sans-serif; /* textos de apoio */
  --font-serif: "Mouris", "Times New Roman", serif; /* só nos destaques, sempre itálico */

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.18, 1);

  --container: 1280px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--preto);
  color: var(--branco);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================
   COMPONENTES
   ========================================================== */
.section {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

/* Seção com o degradê azul dos criativos */
.section--azul {
  background: var(--degrade-azul);
}

.section > .container {
  position: relative;
  z-index: 1;
}

.tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--vermelho);
  margin-bottom: 20px;
}

.title {
  font-family: var(--font-title);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(44px, 7vw, 104px);
  line-height: 1.1; /* espaço para os acentos (É, Ó, Ã) não encostarem na linha de cima */
  text-transform: uppercase;
}

/* Palavra-destaque: serifada itálica contrastando com a Anton */
.title em,
.modal__title em {
  font-family: var(--font-title);
  font-style: normal;
  color: var(--vermelho);
}

.lead {
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--cinza);
}

/* Textos de abertura das seções na serifada itálica */
.lead,
.campo__head p,
.fora__head p,
.comissao__text p,
.cta p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.85);
}

/* Toda a serifada itálica em caixa alta */
.modal__title em,
.bg-word,
.lema__palavra,
.pilar__num,
.painel__num,
.retrato__destaque {
  text-transform: uppercase;
}

/* Textos de apoio: Poppins, reta e sem caixa alta.
   Fica no fim do arquivo (ver "TEXTOS DE APOIO") para vencer as regras de cada seção. */

/* Botão em pílula com degradê e ícone num círculo branco à direita.
   Detalhes (texto e círculo) sempre brancos; o ícone pega a cor do botão.
   <a class="btn"><span class="btn__ico">svg</span>Texto</a> */
.btn {
  --c: var(--vermelho);
  --c-claro: #ff5a3c;
  --c-escuro: #c40707;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 7px 7px 7px 26px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: linear-gradient(100deg, var(--c-claro) 0%, var(--c) 55%, var(--c-escuro) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 10px 30px color-mix(in srgb, var(--c) 35%, transparent);
  color: var(--branco);
  font-family: var(--font-support);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease, filter 0.3s ease;
}

.btn:hover,
.js .btn.reveal.is-visible:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 14px 36px color-mix(in srgb, var(--c) 50%, transparent);
}

/* Ícone no círculo branco, à direita do texto */
.btn__ico {
  order: 2;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--branco);
  color: var(--c);
  transition: transform 0.3s var(--ease-out);
}

.btn:hover .btn__ico {
  transform: rotate(45deg);
}

.btn__ico svg {
  width: 18px;
  height: 18px;
}

.btn--azul {
  --c: var(--azul);
  --c-claro: #4a5bff;
  --c-escuro: #03039a;
}

/* Botão principal do CTA, um pouco maior */
.cta .btn {
  gap: 16px;
  padding: 8px 8px 8px 30px;
  font-size: 18px;
}

.cta .btn .btn__ico {
  width: 46px;
  height: 46px;
}

.btn--sm {
  gap: 10px;
  padding: 5px 5px 5px 18px;
  font-size: 14px;
}

.btn--sm .btn__ico {
  width: 30px;
  height: 30px;
}

.btn--sm .btn__ico svg {
  width: 14px;
  height: 14px;
}

/* Anel pulsando em volta do botão principal */
.btn--pulse::before {
  content: "";
  position: absolute;
  inset: -1.5px;
  border-radius: inherit;
  border: 2px solid rgba(255, 255, 255, 0.8);
  animation: pulse 2.2s var(--ease-out) infinite;
  pointer-events: none;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(1.18, 1.5); opacity: 0; }
}

/* Palavra gigante vazada no fundo, se move com a rolagem (js/main.js) */
.bg-word {
  position: absolute;
  top: -160px;
  left: 0;
  z-index: 0;
  font-family: var(--font-title);
  font-style: italic;
  font-size: clamp(200px, 34vw, 560px);
  line-height: 1;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.06); /* letra preenchida, sutil */
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.16);
  pointer-events: none;
  user-select: none;
  will-change: transform;
}

.bg-word--right {
  left: auto;
  right: 0;
}

/* Forma da marca: pílula com dois meios-círculos no meio (igual ao Instagram)
   <span class="forma"><i></i><i></i><i></i></span>  — --s = altura */
.forma {
  --s: 80px;
  --cor: var(--azul);
  --fundo: transparent;
  display: inline-flex;
  gap: calc(var(--s) * 0.05);
  height: var(--s);
  pointer-events: none;
}

.forma i {
  display: block;
  width: calc(var(--s) / 2);
  height: 100%;
  background: var(--cor);
  transition: transform 0.8s var(--ease-out);
  transition-delay: inherit;
}

.forma i:first-child {
  border-radius: var(--s) 0 0 var(--s);
  transform-origin: right;
}

.forma i:last-child {
  border-radius: 0 var(--s) var(--s) 0;
  transform-origin: left;
}

.forma i:nth-child(2) {
  position: relative;
  width: var(--s);
  background: var(--fundo);
}

.forma i:nth-child(2)::before,
.forma i:nth-child(2)::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--cor);
}

.forma i:nth-child(2)::before {
  top: 0;
  border-radius: 0 0 calc(var(--s) / 2) calc(var(--s) / 2);
  transform-origin: 50% 100%;
}

.forma i:nth-child(2)::after {
  bottom: 0;
  border-radius: calc(var(--s) / 2) calc(var(--s) / 2) 0 0;
  transform-origin: 50% 0;
}

/* Meios-círculos giram 90° e voltam (horizontal ↔ vertical) */
.forma--gira i:nth-child(2)::before,
.forma--gira i:nth-child(2)::after {
  animation: forma-gira 6s var(--ease-in-out) infinite;
}

@keyframes forma-gira {
  0%, 40% { transform: rotate(0); }
  50%, 90% { transform: rotate(90deg); }
  100% { transform: rotate(180deg); }
}

/* Entrada: as partes "nascem" do lado reto */
.js .forma.reveal i {
  transform: scaleX(0);
}

.js .forma.reveal i:nth-child(2) {
  transform: scale(0);
}

.js .forma.reveal.is-visible i {
  transform: none;
}

/* ==========================================================
   ANIMAÇÕES DE ENTRADA (ativadas via js/main.js)
   ========================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Palavra vermelha do título "acende" depois que o título entra */
.js .title.reveal em {
  color: var(--branco);
  transition: color 0.6s ease 0.5s;
}

.js .title.reveal.is-visible em {
  color: var(--vermelho);
}

/* Imagens entram com efeito cortina (o recorte fica na img: com clip-path
   no próprio elemento observado, o IntersectionObserver nunca dispara) */
.js .reveal--clip,
.js .reveal--clip.is-visible {
  opacity: 1;
  transform: none;
}

.js .reveal--clip img {
  clip-path: inset(100% 0 0 0);
  transform: scale(1.25);
  transition: clip-path 1.1s var(--ease-in-out), transform 1.4s var(--ease-out);
}

.js .reveal--clip.is-visible img {
  clip-path: inset(0 0 0 0);
  transform: scale(1);
}

/* Imagem com parallax: o JS controla o transform a cada scroll */
.js .reveal--clip img[data-parallax] {
  transition: clip-path 1.1s var(--ease-in-out);
}

/* ==========================================================
   BARRA DE PROGRESSO
   ========================================================== */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  height: 3px;
  background: var(--vermelho);
  transform: scaleX(0);
  transform-origin: left;
}

/* ==========================================================
   HEADER
   ========================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  padding: 24px 0;
  transition: transform 0.45s var(--ease-out), background 0.4s ease, padding 0.4s ease;
}

.header.is-scrolled {
  padding: 12px 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header.is-hidden {
  transform: translateY(-100%);
}

/* Header ocupa a tela toda: logo no canto esquerdo, botão no direito */
.header__inner {
  max-width: none;
  padding: 0 clamp(20px, 3vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo img {
  height: 104px;
  width: auto;
  transition: height 0.4s ease;
}

.header.is-scrolled .header__logo img {
  height: 56px;
}

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* O degradê da direita já está aplicado na arte (hero-desktop.jpg) */
.hero__img {
  width: 100%;
  height: auto;
  animation: hero-zoom 1.8s var(--ease-out) both;
}

/* Escurece mais o lado direito, onde fica o texto */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0) 58%, rgba(0, 0, 0, 0.55) 72%, rgba(0, 0, 0, 0.7) 100%);
  pointer-events: none;
}

/* Texto da hero (medidas em vw porque a arte ocupa a largura toda) */
.hero__texto {
  position: absolute;
  top: 28%;
  right: 3.3%;
  z-index: 1;
  width: 31vw;
  text-align: right;
}

.hero__title {
  font-family: var(--font-title);
  font-style: italic;
  font-weight: 400;
  font-size: 4.6vw;
  white-space: nowrap;
  line-height: 1.1;
  text-transform: uppercase;
  animation: hero-texto 1s var(--ease-out) 0.5s both;
}

.hero__title em {
  font-style: inherit;
  color: var(--vermelho);
}

.hero__sub {
  margin-top: 1.2vw;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.75vw;
  line-height: 1.25;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
  animation: hero-texto 1s var(--ease-out) 0.75s both;
}

@keyframes hero-texto {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: none; }
}

@keyframes hero-zoom {
  from { transform: scale(1.08); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: 26px;
  height: 42px;
  margin-left: -13px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
}

.hero__scroll span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  background: var(--branco);
  border-radius: 2px;
  animation: scroll 1.6s infinite;
}

@keyframes scroll {
  0% { opacity: 0; transform: translateY(0); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ==========================================================
   LEMA (faixa branca em esteira, logo entre as palavras)
   ========================================================== */
.lema {
  position: relative;
  z-index: 2;
  padding: 12px 24px;
  background: var(--branco);
  text-align: center;
}

/* Esteira: 8 grupos iguais; anda -50% (4 grupos) e recomeça sem emenda */
.lema {
  overflow: hidden;
  padding-inline: 0;
}

.lema__trilho {
  display: flex;
  width: max-content;
  animation: lema-esteira 34s linear infinite;
}

.lema:hover .lema__trilho {
  animation-play-state: paused;
}

.lema__grupo {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
}

/* Palavras em Agency FB azul-escuro, separadas pela logo da FAAC */
.lema__palavra {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: var(--font-title);
  font-style: italic;
  font-size: clamp(28px, 2.6vw, 40px);
  line-height: 1.2;
  white-space: nowrap;
  color: #0c0942;
}

.lema__palavra::after {
  content: "";
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  background: url("../assets/logo/logo.png") center / contain no-repeat;
}
@keyframes lema-esteira {
  to { transform: translateX(-50%); }
}

/* ==========================================================
   01 METODOLOGIA
   ========================================================== */
.metodo {
  padding-top: 160px;
}

/* Grid quadriculado no fundo da metodologia, sumindo nas bordas */
.metodo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.01) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center top;
  -webkit-mask-image:
    linear-gradient(to right, transparent, #000 18%, #000 82%, transparent),
    linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent, #000 18%, #000 82%, transparent),
    linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent);
  mask-composite: intersect;
}

.metodo__grid {
  margin-top: 48px;
}

.metodo__grid .lead {
  max-width: 760px;
}

/* Pilares: cards brancos limpos. Foto encostada nas bordas no topo;
   embaixo, número pequeno como rótulo, título, texto e botão compacto,
   tudo alinhado à esquerda */
.pilares {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
  align-items: stretch;
}

.pilar {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  aspect-ratio: 3 / 4; /* card inteiro em 3:4; a foto ocupa o que sobra do texto */
  padding: 0 0 26px;
  background: var(--branco);
  color: #0c0942;
  text-align: left;
  transition: transform 0.4s var(--ease-out), opacity 0.9s var(--ease-out);
}

.pilar:hover,
.js .pilar.reveal.is-visible:hover {
  transform: translateY(-6px);
}

.pilar__foto {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  overflow: hidden;
  background: #e6e8f5;
}

.pilar__foto img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: grayscale(0.25);
  transition: filter 0.3s ease;
}

.pilar:hover .pilar__foto img {
  filter: none;
}

/* Número pequeno como rótulo, com um tracinho vermelho depois */
.pilar__num {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 24px 26px 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--vermelho);
}

.pilar__num::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.pilar h3 {
  margin: 8px 26px 0;
  font-family: var(--font-title);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 2.4vw, 34px);
  line-height: 1.05;
  text-transform: uppercase;
  color: #0c0942;
}

.pilar p {
  min-height: 4.5em; /* 3 linhas: os botões ficam alinhados entre os cards */
  margin: 10px 26px 22px;
  color: #5a5f80;
}

/* Botão compacto, alinhado à esquerda (não ocupa a largura toda) */
.pilar__btn {
  margin: auto 26px 0;
  gap: 10px;
  padding: 5px 5px 5px 18px;
  font-size: 14px;
}

.pilar__btn .btn__ico {
  width: 30px;
  height: 30px;
}

.pilar__btn .btn__ico svg {
  width: 14px;
  height: 14px;
}

/* ==========================================================
   02 DENTRO DE CAMPO
   ========================================================== */
.campo {
  background: var(--grafite);
}

.campo__head {
  max-width: 640px;
  margin: 0 auto 64px;
  text-align: center;
}

.campo__head .tag {
  display: block;
}

.campo__head p {
  margin-top: 24px;
}

/* Acordeão de painéis */
.paineis {
  display: flex;
  gap: 0;
  height: clamp(440px, 42vw, 600px);
}

.painel {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: var(--preto);
  color: var(--branco);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: flex 0.8s var(--ease-in-out), opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.painel.is-active {
  flex: 5;
  cursor: default;
}

/* A regra .js .reveal é mais específica e apagava a transição do flex:
   aqui a largura volta a animar, esticando suave */
.js .painel.reveal {
  transition:
    flex 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out);
}

.painel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Fechado: a foto preenche a faixa, apagada. Aberto: a mesma foto nítida e colorida, sem desfoque */
.painel__fundo {
  object-fit: cover;
  filter: grayscale(0.85) brightness(0.55);
  transition: filter 0.25s ease; /* sem zoom: só a cor muda */
}

.painel:hover .painel__fundo,
.painel.is-active .painel__fundo {
  filter: none;
}

/* Segunda cópia da foto (antiga versão "inteira, sem cortes"): não é mais usada */
.painel__foto {
  display: none;
}

/* Sombra embaixo para a legenda */
.painel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 45%);
  pointer-events: none;
}

/* Barrinha vermelha que corre enquanto o painel está aberto */
.painel::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  width: 100%;
  height: 3px;
  background: var(--vermelho);
  transform: scaleX(0);
  transform-origin: left;
}

.paineis.is-auto .painel.is-active::before {
  animation: painel-tempo var(--painel-tempo, 4.5s) linear forwards;
}

@keyframes painel-tempo {
  to { transform: scaleX(1); }
}

.painel__info {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
  /* Fechado: legenda na vertical, lida de baixo para cima */
  writing-mode: vertical-rl;
  transform: translateX(-50%) rotate(180deg);
}

.painel.is-active .painel__info {
  left: 28px;
  bottom: 28px;
  writing-mode: horizontal-tb;
  transform: none;
  animation: painel-info 0.25s var(--ease-out) 0.08s both;
}

@keyframes painel-info {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.painel__num {
  font-family: var(--font-title);
  font-style: italic;
  font-size: 30px;
  line-height: 1;
  color: var(--vermelho);
}

.painel__txt {
  font-family: var(--font-title);
  font-style: italic;
  font-size: clamp(18px, 2vw, 34px);
  line-height: 1.1;
  text-transform: uppercase;
}

/* ==========================================================
   03 FORA DE CAMPO
   ========================================================== */
.fora__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 0;
}

.fora__head p {
  max-width: 420px;
}

/* Esteira de fotos da viagem: ocupa a largura toda da tela e anda sozinha
   para a esquerda (js/main.js); desacelera no hover. Foto um pouco apagada, ganha cor no hover;
   número + legenda em Agency FB na base (mesmo estilo dos painéis) */
.viagens {
  position: relative;
  z-index: 1;
  margin-top: 56px;
  overflow: hidden;
}

.viagens__trilho {
  display: flex;
  gap: 0;
  width: max-content;
  will-change: transform;
}

.viagem {
  position: relative;
  flex: 0 0 auto;
  width: clamp(220px, 20vw, 300px);
  aspect-ratio: 3 / 4.2;
  overflow: hidden;
  background: #0c0942;
}

.viagem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.35) brightness(0.85);
  transition: filter 0.25s ease;
}

.viagem:hover img {
  filter: none;
}

/* Sombra embaixo para a legenda */
.viagem::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 5, 20, 0.85) 0%, rgba(5, 5, 20, 0) 50%);
  pointer-events: none;
}

.viagem figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: transform 0.25s var(--ease-out);
}

.viagem:hover figcaption {
  transform: translateY(-4px);
}

.viagem__num {
  font-family: var(--font-title);
  font-size: 22px;
  line-height: 1;
  color: var(--vermelho);
}

.viagem__txt {
  font-family: var(--font-title);
  font-style: italic;
  font-size: clamp(20px, 1.7vw, 26px);
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--branco);
}

/* ==========================================================
   04 COMISSÃO
   ========================================================== */
.comissao {
  padding-top: 40px;
}

/* Acordeão de retratos: cards lado a lado com o nome na vertical.
   No hover (js/main.js) o card estica: a foto encolhe para a esquerda
   e o painel de informações (fundo escuro) aparece à direita */
.retratos {
  display: flex;
  gap: 0;
  max-width: 1232px;
  height: clamp(440px, 40vw, 560px);
  margin: 64px auto 0;
  /* Linhas horizontais no topo e na base dos cards, atravessando a tela
     (mesmo tom das linhas-guia verticais) */
  border-block: 1px solid transparent;
  border-image: linear-gradient(rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.12)) 1 / 1px 0 / 0 100vw;
}

.retrato {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  border-radius: 0;
  background: #0d0d0d; /* um pouco mais escuro que o fundo da seção, sem os pontinhos */
  cursor: pointer;
  outline: none;
}

.retrato.is-active {
  flex: 2.8;
  cursor: default;
}

/* A regra .js .reveal sobrescreve a transição: aqui a largura volta a animar */
.js .retrato.reveal {
  transition:
    flex 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out);
}

.retrato > img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
  filter: grayscale(0.6) brightness(0.7);
  transition: width 0.32s cubic-bezier(0.22, 1, 0.36, 1), filter 0.25s ease;
}

.retrato:hover > img,
.retrato.is-active > img {
  filter: none;
}

.retrato.is-active > img {
  width: 48%;
}

/* Nome grande na vertical, encostado na lateral direita do card fechado */
.retrato__nome {
  position: absolute;
  top: 18px;
  right: 10px;
  z-index: 1;
  writing-mode: vertical-rl;
  font-family: var(--font-title);
  font-style: italic;
  font-size: clamp(34px, 3.4vw, 54px);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--branco);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
  transition: opacity 0.2s ease;
}

/* Card aberto: o nome vertical some (o título já aparece no painel) */
.retrato.is-active .retrato__nome {
  opacity: 0;
}

/* Painel de informações à direita (só no card aberto) */
.retrato__info {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 52%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
  padding: 32px 30px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(16px);
  transition: opacity 0.2s ease, transform 0.25s var(--ease-out), visibility 0s linear 0.2s;
}

.retrato.is-active .retrato__info {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.25s ease 0.12s, transform 0.3s var(--ease-out) 0.12s, visibility 0s;
}

.retrato__num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.7);
}

.retrato__info h3 {
  font-family: var(--font-title);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(30px, 2.8vw, 42px);
  line-height: 1.05;
  text-transform: uppercase;
}

.retrato__info p {
  color: rgba(255, 255, 255, 0.85);
}

/* Destaque em número, como as estatísticas da referência */
.retrato__destaque {
  font-family: var(--font-title);
  font-size: 34px;
  line-height: 1;
  color: var(--branco);
}

.retrato__info .btn {
  margin-top: 6px;
}

/* Setas do carrossel: escondidas no desktop */
.setas {
  display: none;
  justify-content: center;
  gap: 14px;
  margin-top: 8px;
}

.setas__btn {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
  color: var(--branco);
  cursor: pointer;
  transition: background 0.3s ease, opacity 0.3s ease, transform 0.2s ease;
}

.setas__btn svg {
  width: 22px;
  height: 22px;
}

.setas__btn:active {
  transform: scale(0.92);
}

.setas__btn:hover {
  background: var(--vermelho);
}

/* No começo/fim do carrossel a seta daquele lado apaga */
.setas__btn:disabled {
  opacity: 0.3;
  cursor: default;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05));
}

/* Frase de fechamento: linha fina em cima + texto em caixa alta pequena */
.retrato__assinatura {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--branco);
}

/* ==========================================================
   CONQUISTAS (mosaico)
   ========================================================== */
.conquistas__head {
  margin-bottom: 48px;
  text-align: center;
}

.conquistas__head .tag {
  display: block;
}

.comissao__text {
  text-align: center;
}

/* Desktop: título sempre em 2 linhas ("Quem orienta" / "faz diferença.") */
@media (min-width: 1025px) {
  .comissao__text .title {
    font-size: clamp(56px, 5.5vw, 88px);
    white-space: nowrap;
  }
}

.comissao__text p {
  margin: 28px auto 0;
  max-width: 480px;
}

/* ==========================================================
   CTA FINAL
   ========================================================== */
/* Faixa da marca: esteira em movimento sobre azul-escuro, com a forma da marca
   em vermelho separando palavras em Agency FB branca. Linhas finas em cima e embaixo */
.faixa-formas {
  overflow: hidden;
  padding: 18px 0;
  background: #0c0942;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.faixa__trilho {
  display: flex;
  width: max-content;
  animation: faixa-esteira 40s linear infinite reverse; /* anda para a direita */
}

/* Logo da FAAC entre as palavras */
.faixa__logo {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  background: url("../assets/logo/logo.png") center / contain no-repeat;
}

.faixa__grupo {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
}

.faixa-formas .forma {
  --s: 30px;
  --cor: var(--vermelho);
  flex: 0 0 auto;
}

/* Uma sim, uma não com os meios-círculos na vertical */
.faixa__grupo .forma:nth-child(4n+3) i:nth-child(2)::before,
.faixa__grupo .forma:nth-child(4n+3) i:nth-child(2)::after {
  transform: rotate(90deg);
}

.faixa__txt {
  font-family: var(--font-title);
  font-style: italic;
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--branco);
}

@keyframes faixa-esteira {
  to { transform: translateX(-50%); }
}

/* CTA: foto do elenco tingida + degradê azul dos criativos por cima */
.cta {
  position: relative;
  padding: 160px 0;
  overflow: hidden;
  text-align: center;
  background: #0c0942;
}

/* Foto vertical num espaço largo: mira no grupo (cabeças ficam a ~30% da altura) */
.cta__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  opacity: 0.28;
  filter: grayscale(1);
  mix-blend-mode: luminosity;
}

.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--degrade-azul);
  opacity: 0.6;
}

.cta__inner {
  position: relative;
  z-index: 2;
}

/* Sobre o azul a palavra-destaque ganha um bloco vermelho que "pinta" da esquerda */
.cta .title em,
.js .cta .title.reveal.is-visible em {
  color: var(--branco);
  padding: 0 0.08em;
  background: linear-gradient(var(--vermelho), var(--vermelho)) no-repeat 0 75% / 100% 80%;
}

.js .cta .title.reveal em {
  background-size: 0% 80%;
  transition: background-size 0.7s var(--ease-out) 0.5s;
}

.js .cta .title.reveal.is-visible em {
  background-size: 100% 80%;
}

.cta p {
  margin: 28px auto 40px;
  max-width: 480px;
}

/* ==========================================================
   POP-UP AULA EXPERIMENTAL
   ========================================================== */
html.modal-aberto {
  overflow: hidden;
}

.modal {
  width: min(460px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--branco);
  overflow: visible;
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: modal-fundo 0.4s ease both;
}

.modal__box {
  position: relative;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: 44px 40px 40px;
  background: var(--degrade-azul);
  border-top: 4px solid var(--vermelho);
  border-radius: 0;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
  animation: modal-entra 0.55s var(--ease-out) both;
}

.modal.is-closing .modal__box {
  animation: modal-sai 0.3s ease both;
}

.modal.is-closing::backdrop {
  animation: modal-fundo 0.3s ease reverse both;
}

@keyframes modal-entra {
  from { opacity: 0; transform: translateY(40px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

@keyframes modal-sai {
  to { opacity: 0; transform: translateY(24px) scale(0.97); }
}

@keyframes modal-fundo {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--branco);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.3s var(--ease-out);
}

.modal__close:hover {
  background: var(--vermelho);
  transform: rotate(90deg);
}

/* Anel de foco só para quem navega pelo teclado */
.modal__close:focus {
  outline: none;
}

.modal__close:focus-visible {
  outline: 2px solid var(--vermelho);
  outline-offset: 2px;
}

.modal__box {
  text-align: center;
}

.modal__logo {
  width: 96px;
  height: auto;
  margin: 0 auto 22px;
}

.modal__title {
  font-family: var(--font-title);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(38px, 5vw, 50px);
  line-height: 1.1;
  text-transform: uppercase;
}

/* Em caixa alta a serifada fica larga: um pouco menor para caber numa linha */
.modal__title em {
  font-size: 0.98em;
  white-space: nowrap;
}

.modal__btn {
  width: 100%;
  margin-top: 32px;
}

/* ==========================================================
   05 LOCALIZAÇÃO
   ========================================================== */
.local__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}

.local__text .title {
  font-size: clamp(44px, 5.5vw, 84px);
}

.local__endereco {
  margin: 28px 0 36px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.85);
}

.local__mapa {
  overflow: hidden;
  border-radius: 0;
  border-left: 6px solid var(--vermelho);
  aspect-ratio: 4 / 3;
}

/* Mapa no tom escuro do site */
.local__mapa iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: invert(0.9) hue-rotate(180deg) saturate(0.8) contrast(0.95);
}

/* ==========================================================
   INSTAGRAM
   ========================================================== */
.insta {
  padding: 110px 0;
  background: var(--degrade-azul);
}

/* Texto à esquerda, mini feed de fotos à direita */
.insta__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 64px;
}

.insta__desc {
  max-width: 420px;
  margin-top: 22px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

/* Mini feed: grade 3x2 de fotos quadradas, encostadas */
.feed {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.feed__item {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.feed__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: grayscale(0.3);
  transition: filter 0.25s ease;
}

/* Hover: escurece em azul e mostra o ícone do Instagram */
.feed__ico {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(12, 9, 66, 0.55);
  color: var(--branco);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.feed__ico svg {
  width: 34px;
  height: 34px;
}

.feed__item:hover img {
  filter: none;
}

.feed__item:hover .feed__ico {
  opacity: 1;
}

/* Botão em pílula com degradê vermelho e seta num círculo escuro */
.insta__link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 7px 7px 7px 26px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: linear-gradient(100deg, #ff5a3c 0%, var(--vermelho) 55%, #c40707 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 10px 30px rgba(244, 10, 10, 0.35);
  font-family: var(--font-support);
  font-weight: 400;
  font-size: 18px;
  line-height: 1;
  color: var(--branco);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease, filter 0.3s ease;
}

.insta__seta {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--branco);
  color: var(--vermelho);
  transition: transform 0.3s var(--ease-out);
}

.insta__seta svg {
  width: 20px;
  height: 20px;
}

.insta__link:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 14px 36px rgba(244, 10, 10, 0.5);
}

.insta__link:hover .insta__seta {
  transform: rotate(45deg);
}

.insta__redes {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 36px;
}

.insta__redes .social {
  gap: 18px;
}

.insta__redes .social__btn {
  --s: 34px;
}

/* ==========================================================
   REDES SOCIAIS — só os ícones
   (--glow = cor da rede, vira brilho no hover)
   ========================================================== */
.social {
  display: flex;
  gap: 22px;
}

/* Só o ícone, sem círculo de fundo (--s = tamanho do ícone) */
.social__btn {
  --s: 48px;
  display: grid;
  place-items: center;
  color: var(--branco); /* ícones de linha, monocromáticos */
  width: var(--s);
  height: var(--s);
  transition: transform 0.3s var(--ease-out), filter 0.3s ease;
}

.social__btn svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.social__btn:hover {
  transform: translateY(-4px) scale(1.08);
}

.social__btn:hover svg {
  filter: drop-shadow(0 6px 16px var(--glow));
}

.social--sm {
  gap: 14px;
}

.social--sm .social__btn {
  --s: 26px;
}

/* ==========================================================
   FOOTER
   ========================================================== */
.footer {
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  color: var(--cinza);
}

.footer__inner {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer__inner p:last-child {
  margin-left: auto;
}

.footer__inner p:nth-of-type(1) {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 20px;
  color: var(--branco);
}

/* ==========================================================
   RESPONSIVO
   ========================================================== */
@media (max-width: 1024px) {
  .metodo__grid,
  .local__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .painel__txt {
    font-size: 20px;
  }

  /* Tablet e celular: um card por linha, com largura confortável */
  .pilares {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-inline: auto;
    gap: 24px;
  }

  .pilar p {
    min-height: 0;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 80px 0;
  }

  .header {
    padding: 16px 0;
  }

  .header__logo img {
    height: 68px;
  }

  .header.is-scrolled .header__logo img {
    height: 44px;
  }

  .hero__scroll {
    display: none;
  }

  /* Celular: texto centralizado no céu, como na arte */
  .hero::after {
    display: none;
  }

  .hero__texto {
    top: 15%;
    right: 0;
    left: 0;
    width: auto;
    padding: 0 8vw;
    text-align: center;
  }

  .hero__title {
    font-size: 12.5vw;
    white-space: normal;
  }

  .hero__sub {
    margin-top: 3vw;
    font-size: 5.2vw;
  }

  .metodo {
    padding-top: 110px;
  }

  .pilares {
    margin-top: 40px;
  }

  /* No celular os painéis empilham na vertical */
  .paineis {
    flex-direction: column;
    height: 760px; /* painel aberto mais alto: a foto aparece inteira */
    gap: 0;
  }

  .painel__info,
  .painel.is-active .painel__info {
    left: 20px;
    bottom: 16px;
    writing-mode: horizontal-tb;
    transform: none;
  }

  .painel:not(.is-active) .painel__info {
    bottom: 50%;
    transform: translateY(50%);
  }

  .painel.is-active .painel__info {
    bottom: 20px;
  }

  .fora__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 0;
  }

  /* Celular: esteira com fotos menores e um pouco mais rápida */
  .viagem {
    width: 62vw;
  }






  .comissao {
    padding-top: 0;
  }

  .faixa-formas {
    padding: 12px 0;
  }

  .faixa__logo {
    width: 30px;
    height: 30px;
  }

  .faixa__grupo {
    gap: 18px;
    padding-right: 18px;
  }

  .cta {
    padding: 110px 0;
  }

  .insta {
    padding: 64px 0;
  }



  /* Celular: cards viram carrossel de arrastar para o lado */
  /* Celular: um card por vez, com um pedaço do próximo aparecendo; troca pelas setas */
  .retratos {
    display: flex;
    gap: 10px;
    margin: 40px 0 0;
    padding: 0;
    overflow-x: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .retratos::-webkit-scrollbar {
    display: none;
  }

  .retrato {
    flex: 0 0 86%;
    scroll-snap-align: start;
  }

  .setas {
    display: flex;
    margin-top: 20px;
  }

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

  .social__btn {
    --s: 42px;
  }

  .btn:not(.btn--sm) {
    width: 100%;
    padding: 6px 6px 6px 22px;
    font-size: 15px;
    white-space: nowrap;
  }

  .modal__box {
    padding: 40px 22px 26px;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .footer__inner p:last-child {
    margin-left: 0;
  }
}

/* ==========================================================
   ACESSIBILIDADE: menos movimento
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .reveal--clip img {
    clip-path: none;
  }
}

/* ==========================================================
   TEXTOS DE APOIO — Poppins, sem itálico e sem caixa alta
   ========================================================== */
.lead,
.campo__head p,
.fora__head p,
.comissao__text p,
.cta p,
.hero__sub,
.pilar p,
.retrato__info p,
.local__endereco,
.footer__inner p:nth-of-type(1) {
  font-family: var(--font-support);
  font-style: normal;
  font-weight: 400;
  text-transform: none;
}

.lead,
.campo__head p,
.fora__head p,
.comissao__text p,
.cta p,
.local__endereco {
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.55;
}

.hero__sub {
  font-size: 1.1vw;
  line-height: 1.45;
}

.pilar p,
.retrato__info p,
.footer__inner p:nth-of-type(1) {
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .hero__sub {
    font-size: 3.6vw;
  }
}

/* Cabeçalho da metodologia centralizado */
.metodo .tag,
.metodo .title,
.metodo .lead {
  text-align: center;
}

.metodo .tag {
  display: block;
}

.metodo__grid .lead {
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================
   LINHAS-GUIA — verticais de cima a baixo nas laterais dos cards (js/main.js)
   ========================================================== */
.linha-guia {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.linha-guia--v {
  top: 0;
  bottom: 0;
  width: 1px;
}

.linha-guia--h {
  left: 0;
  right: 0;
  height: 1px;
}

.linha-guia {
  background: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

/* Comissão no celular: um card por vez, já aberto como no desktop
   (foto à esquerda, informações à direita, sem o nome na vertical) */
@media (max-width: 768px) {
  .retratos {
    height: auto;
    align-items: stretch;
  }

  .retrato,
  .retrato.is-active {
    flex: 0 0 86%; /* sobra um pedaço do próximo card à direita */
    display: flex;
    flex-direction: row;
    min-height: 420px;
    cursor: default;
  }

  .retrato > img,
  .retrato.is-active > img {
    position: static;
    width: 46%;
    height: auto;
    flex-shrink: 0;
    filter: none;
  }

  .retrato__nome {
    display: none;
  }

  .retrato__info,
  .retrato.is-active .retrato__info {
    position: static;
    width: 54%;
    justify-content: center;
    gap: 8px;
    padding: 20px 12px;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .retrato__info h3 {
    font-size: 20px;
  }

  .retrato__info p {
    font-size: 11.5px;
    line-height: 1.45;
  }

  .retrato__destaque {
    font-size: 22px;
  }

  .retrato__assinatura {
    font-size: 10px;
  }

  .retrato__info .btn {
    gap: 6px;
    padding: 4px 4px 4px 10px;
    font-size: 11px;
    white-space: nowrap;
  }

  .retrato__info .btn .btn__ico {
    width: 22px;
    height: 22px;
  }

  .retrato__info .btn .btn__ico svg {
    width: 12px;
    height: 12px;
  }
}


/* ==========================================================
   TEXTURA DE PONTINHOS — no fundo do site todo (só nos backgrounds,
   os cards mantêm o fundo deles)
   ========================================================== */
:root {
  --pontos: radial-gradient(rgba(255, 255, 255, 0.01) 1px, transparent 1.4px) 0 0 / 6px 6px;
}

body,
.campo,
.comissao,
.local,
.footer {
  background: var(--pontos), #141414;
}

.section--azul,
.insta {
  background: var(--pontos), var(--degrade-azul);
}

.cta {
  background: var(--pontos), #0c0942;
}

/* ==========================================================
   03 FORA DE CAMPO — fundo vermelho
   (o vermelho dos destaques vira azul-escuro para não sumir no fundo)
   ========================================================== */
.fora.section--azul {
  background:
    var(--pontos),
    linear-gradient(125deg, #ff2a1f 0%, var(--vermelho) 45%, #a80606 100%);
}

.fora .tag {
  color: var(--branco);
}

.fora .title em,
.js .fora .title.reveal.is-visible em {
  color: #0c0942;
}

/* ==========================================================
   SCROLL SUAVE (Lenis) — estilos recomendados pela biblioteca
   ========================================================== */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

/* Fora de campo: textos no meio do espaço entre o topo da seção e a esteira
   (mesma distância em cima e embaixo) */
.fora {
  --respiro: 88px;
  padding-top: var(--respiro);
}

.fora .viagens {
  margin-top: var(--respiro);
}

@media (max-width: 768px) {
  .fora {
    --respiro: 56px;
  }
}

/* ==========================================================
   CONQUISTAS — fundo escuro com pontinhos (igual às outras seções escuras)
   ========================================================== */
.conquistas.section--azul {
  background: var(--pontos), #141414;
}

/* ==========================================================
   BOTÕES EXTRAS NAS SEÇÕES
   ========================================================== */
.secao-cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.campo__head .secao-cta,
.comissao__text .secao-cta {
  margin-top: 28px;
}

/* ==========================================================
   BOTÃO FLUTUANTE DO WHATSAPP — só o ícone, canto inferior direito
   ========================================================== */
.whats-flutuante {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}

.whats-flutuante svg {
  width: 32px;
  height: 32px;
}

.whats-flutuante:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.6);
}

/* Anel pulsando para chamar atenção */
.whats-flutuante::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: whats-pulso 2.4s var(--ease-out) infinite;
  pointer-events: none;
}

@keyframes whats-pulso {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

@media (max-width: 768px) {
  .whats-flutuante {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }

  .whats-flutuante svg {
    width: 28px;
    height: 28px;
  }
}

/* Menos espaço entre a Comissão e as Conquistas (as duas têm fundo escuro) */
.comissao {
  padding-bottom: 56px;
}

.conquistas {
  padding-top: 56px;
}

/* Comissão: mais respiro em cima do título e entre o botão e os cards */
.comissao {
  padding-top: 120px;
}

.comissao .retratos {
  margin-top: 96px;
}

@media (max-width: 768px) {
  .comissao {
    padding-top: 80px;
  }

  .comissao .retratos {
    margin-top: 56px;
  }
}

/* CTA: título em 2 linhas ("O talento ele já tem." / "O foco a gente ajuda.") */
@media (min-width: 769px) {
  .cta .title {
    font-size: clamp(48px, 6vw, 92px);
    white-space: nowrap;
  }
}

/* Tablet/celular: um card por linha, altura livre (foto com formato próprio) */
@media (max-width: 1024px) {
  .pilar {
    aspect-ratio: auto;
  }

  .pilar__foto {
    flex: none;
    aspect-ratio: 4 / 3;
  }
}

/* CTA: o bloco vermelho do "FOCO" fica inclinado, igual ao itálico do resto do título */
.cta .title em {
  display: inline-block;
  transform: skewX(-10deg);
}

/* ==========================================================
   PILARES — acabamento (menos "seco")
   ========================================================== */
/* Barra vermelha na base: curta, estica no hover */
.pilar::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: var(--vermelho);
  transform: scaleX(0.18);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}

.pilar:hover::after {
  transform: scaleX(1);
}

/* Botão maior, ocupando a largura do card */
.pilar__btn {
  align-self: stretch;
  justify-content: space-between;
  gap: 14px;
  padding: 7px 7px 7px 24px;
  font-size: 16px;
}

.pilar__btn .btn__ico {
  width: 42px;
  height: 42px;
}

.pilar__btn .btn__ico svg {
  width: 18px;
  height: 18px;
}

/* Card do meio em destaque: azul da marca, texto branco */
.pilar--destaque {
  background: linear-gradient(165deg, #2a2aff 0%, var(--azul) 50%, #03039a 100%);
  color: var(--branco);
}

.pilar--destaque h3 {
  color: var(--branco);
}

.pilar--destaque p {
  color: rgba(255, 255, 255, 0.8);
}

.pilar--destaque .pilar__num {
  color: var(--branco);
}

.pilar--destaque::after {
  background: var(--branco);
}

/* ==========================================================
   NAVBAR EM PÍLULA — cor sólida, flutuando no topo
   (logo à esquerda, links no centro, botão claro à direita)
   ========================================================== */
.header,
.header.is-scrolled {
  top: 14px;
  padding: 0;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.header.is-hidden {
  transform: translateY(calc(-100% - 20px));
}

.header__inner {
  max-width: 1232px;
  margin: 0 auto;
  width: calc(100% - 32px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 7px 7px 7px 18px;
  border-radius: 999px;
  background: #0c0942; /* cor sólida */
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 14px 34px rgba(0, 0, 20, 0.35);
}

.header__logo img,
.header.is-scrolled .header__logo img {
  height: 46px;
}

.header__nav {
  display: flex;
  gap: 36px;
}

.header__nav a {
  font-family: var(--font-support);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s ease;
}

.header__nav a:hover {
  color: var(--vermelho);
}

/* Botão do header: o mesmo botão vermelho do resto do site, alinhado à direita */
.header__cta.btn {
  justify-self: end;
}

@media (max-width: 900px) {
  .header__nav {
    display: none;
  }

  .header__inner {
    grid-template-columns: auto 1fr;
  }
}

@media (max-width: 768px) {
  .header__logo img,
  .header.is-scrolled .header__logo img {
    height: 38px;
  }
}

/* Celular: o botão dos pilares estica pela margem do card (align-self),
   sem o width: 100% genérico que somava às margens e vazava para fora */
@media (max-width: 768px) {
  .pilar__btn.btn {
    width: auto;
    margin-left: 22px;
    margin-right: 22px;
  }
}

/* Celular: cabeçalho do "Aqui ninguém joga sozinho" centralizado */
@media (max-width: 768px) {
  .fora__head {
    align-items: center;
    text-align: center;
  }

  .fora__head p {
    margin-inline: auto;
  }
}

/* Celular: o bloco vermelho acompanha a quebra de linha do texto
   (sem inclinação, para não deixar palavras soltas) */
@media (max-width: 768px) {
  .cta .title {
    font-size: clamp(34px, 9vw, 48px);
  }

  .cta .title em {
    display: inline;
    transform: none;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
    line-height: 1.25;
  }
}

/* Celular: textos centralizados nas seções que ainda estavam à esquerda */
@media (max-width: 768px) {
  .local__text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer__inner p,
  .footer__inner p:last-child {
    margin-left: 0;
  }
}

/* Celular: textos de apoio (abaixo dos títulos) menores */
@media (max-width: 768px) {
  .lead,
  .campo__head p,
  .fora__head p,
  .comissao__text p,
  .cta p,
  .local__endereco {
    font-size: 11px;
    line-height: 1.55;
  }
}

/* Celular: cards da Metodologia empilham ao rolar (cada um gruda no topo
   e o próximo passa por cima). overflow: clip na seção porque o
   overflow: hidden impediria o position: sticky */
@media (max-width: 768px) {
  .metodo {
    overflow: clip;
  }

  .pilar {
    position: sticky;
    top: 90px;
    box-shadow: 0 -12px 30px rgba(0, 0, 20, 0.35);
  }

  .pilar:nth-child(2) {
    top: 104px;
  }

  .pilar:nth-child(3) {
    top: 118px;
  }
}
