/* =====================================================================
   REFTCOMPANY — STYLE.CSS
   Site institucional de produção audiovisual e social media.
   Índice:
   1. Reset & variáveis globais
   2. Tipografia utilitária / helpers
   3. Header / navegação
   4. Hero
   5. Estatísticas (stats bar)
   6. Serviços
   7. Sobre nós
   8. Fundador
   9. Portfólio
   10. Contato
   11. Footer
   12. Botão voltar ao topo
   13. Responsivo (media queries)
===================================================================== */


/* =====================================================================
   1. RESET & VARIÁVEIS GLOBAIS
===================================================================== */
:root {
  --color-bg: #141414;            /* fundo principal, quase preto */
  --color-bg-alt: #191919;        /* fundo levemente alternado entre seções */
  --color-surface: #1e1e1e;       /* cards, inputs, superfícies elevadas */
  --color-border: #2b2b2b;        /* bordas sutis */

  --color-text: #ffffff;          /* texto principal */
  --color-text-muted: #9a9a9a;    /* texto secundário / parágrafos */
  --color-text-faint: #6f6f6f;    /* texto terciário, legendas pequenas */
  --color-label: #7c8794;         /* cor dos rótulos "01 / SEÇÃO" */

  --font-heading: 'Anton', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container-width: 1180px;
  --radius: 4px;

  --transition-fast: 0.2s ease;
  --transition-medium: 0.4s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input, select, textarea {
  font-family: inherit;
  font-size: 0.95rem;
}

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


/* =====================================================================
   2. TIPOGRAFIA UTILITÁRIA / HELPERS
===================================================================== */
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-label);
  margin-bottom: 18px;
  font-weight: 600;
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: 0.01em;
}

.muted {
  color: #991515;
}

.arrow {
  display: inline-block;
  transition: transform var(--transition-fast);
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn--white {
  background-color: var(--color-text);
  color: #0e0e0e;
}
.btn--white:hover {
  background-color: #d8d8d8;
}
.btn--white:hover .arrow {
  transform: translateX(4px);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-text);
  border: 1px solid #444;
}
.btn--outline:hover {
  border-color: var(--color-text);
  background-color: rgba(255,255,255,0.05);
}

.btn--nav {
  padding: 12px 22px;
}

.btn--full {
  width: 100%;
  height: 20%;
  justify-content: center;
 
}

/* Link com seta, usado em cards e listas */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text);
  transition: gap var(--transition-fast);
}
.link-arrow:hover {
  gap: 12px;
}
.link-arrow--big {
  font-size: 0.85rem;
}


/* =====================================================================
   3. HEADER / NAVEGAÇÃO
===================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(20, 20, 20, 0.7);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background-color var(--transition-medium), border-color var(--transition-medium);
}

.header.is-scrolled {
  background-color: rgba(15, 15, 15, 0.92);
  border-bottom-color: var(--color-border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.logo span {
  color: #991515;
  font-weight: 400;
}

.nav {
  display: flex;
  gap: 40px;
}

.nav__link {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #cfcfcf;
  transition: color var(--transition-fast);
  position: relative;
}
.nav__link:hover {
  color: var(--color-text);
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background-color: var(--color-text);
  transition: width var(--transition-fast);
}
.nav__link:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--color-text);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* =====================================================================
   4. HERO
===================================================================== */
.hero {
  position: relative;
  padding: 200px 0 0;
  overflow: hidden;
}

/* grade de fundo sutil */
.hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 75%);
  pointer-events: none;
}

/* brilho radial atrás do título */
.hero__glow {
  position: absolute;
  top: -200px;
  right: -150px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero__title {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 400;
  font-size: clamp(3rem, 9vw, 6.2rem);
  line-height: 0.95;
}

.hero__title span {
  display: block;
  opacity: 0;
  transform: translateY(30px);
  animation: revealUp 0.7s ease forwards;
}
.hero__title span:nth-child(1) { animation-delay: 0.05s; }
.hero__title span:nth-child(2) { animation-delay: 0.2s; }
.hero__title span:nth-child(3) { animation-delay: 0.35s; }

.hero__title--muted {
  color: #991515;
}

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

.hero__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-bottom: 70px;
}

.hero__text {
  max-width: 380px;
  color: var(--color-text-muted);
  font-size: 1rem;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-shrink: 0;
}


/* =====================================================================
   5. ESTATÍSTICAS (STATS BAR)
===================================================================== */
.stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border-top: 1px solid var(--color-border);
  padding: 40px 24px;
}

.stats__item p {
  color: var(--color-text-faint);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 6px;
}

.stats__number,
.stats__plus {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}


/* =====================================================================
   6. SERVIÇOS
===================================================================== */
.services {
  padding: 130px 0;
  background-color: var(--color-bg);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.section-head__text {
  max-width: 320px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  min-height: 340px;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  isolation: isolate;
  transition: transform var(--transition-medium);
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.92) 10%, rgba(10,10,10,0.35) 55%, rgba(10,10,10,0.55) 100%);
  z-index: -1;
  transition: background var(--transition-medium);
}

.service-card:hover {
  transform: translateY(-6px);
}

.service-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.service-card__tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #d5d5d5;
  background-color: rgba(0,0,0,0.4);
  padding: 6px 10px;
  border-radius: 3px;
}

.service-card__icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  font-size: 1rem;
}

.service-card__bottom h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 1.7rem;
  line-height: 1.05;
  margin-bottom: 12px;
}

.services__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid var(--color-border);
  margin-top: 50px;
  padding-top: 30px;
}
.services__footer p {
  color: var(--color-text-muted);
}


/* =====================================================================
   7. SOBRE NÓS
===================================================================== */
.about {
  padding: 130px 0;
  background-color: var(--color-bg-alt);
}

.about__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.about__media {
  position: relative;
}
.about__media img {
  width: 100%;
  border-radius: var(--radius);
  filter: grayscale(15%) contrast(1.05);
}

.badge {
  position: absolute;
  left: 24px;
  bottom: 24px;
  background-color: rgba(15,15,15,0.85);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  padding: 14px 18px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.badge strong {
  font-family: var(--font-heading);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 0.95rem;
}
.badge span {
  font-size: 0.72rem;
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.about__paragraph {
  color: var(--color-text-muted);
  margin-top: 30px;
  margin-bottom: 18px;
  max-width: 520px;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--color-border);
  max-width: 420px;
}
.about__stats strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.8rem;
}
.about__stats span {
  font-size: 0.75rem;
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}


/* =====================================================================
   8. FUNDADOR
===================================================================== */
.founder {
  padding: 130px 0;
  background-color: var(--color-bg);
}

.founder__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr; /* Dá mais espaço para as imagens na direita */
  gap: 80px;
  align-items: center; /* Alinha o texto e as imagens verticalmente no centro */
}

.founder__content {
  grid-column: 1;
}

.founder__media {
  grid-column: 2; /* Força as imagens a ficarem na direita */
  display: grid;
  grid-template-columns: 1fr 110px;
  gap: 24px;
}

.founder__media > img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: calc(var(--radius) * 1.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2); /* Sombra moderna */
  display: block;
  transition: opacity 0.3s ease; /* Transição suave ao trocar de foto */
}

.founder__thumbs {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

.founder__thumb {
  width: 110px;
  height: 110px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius);
  overflow: hidden;
  opacity: 0.4;
  cursor: pointer;
  background: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
}

.founder__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.founder__thumb:hover {
  opacity: 0.8;
  transform: translateY(-3px); 
}

.founder__thumb.is-active {
  opacity: 1;
  border-color: var(--color-text);
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* Responsividade específica da seção Fundador */
@media (max-width: 960px) {
  .founder__grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .founder__content {
    grid-column: 1;
  }
  .founder__media {
    grid-column: 1;
  }
}

@media (max-width: 720px) {
  .founder__media {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .founder__media > img {
    height: 450px;
  }
  .founder__thumbs {
    flex-direction: row;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 10px 0;
  }
  .founder__thumb {
    width: 85px;
    height: 85px;
    flex-shrink: 0;
  }
}

/* =========================================
   1. GRID PRINCIPAL (Container)
   ========================================= */
.founder__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: start;
}

/* Melhoria: Responsividade para tablets e celulares */
@media (max-width: 992px) {
  .founder__grid {
    grid-template-columns: 1fr; /* Empilha as colunas */
    gap: 40px; /* Reduz o espaçamento */
  }
}

/* =========================================
   2. CONTEÚDO
   ========================================= */
.founder__content {
  grid-column: 1;
  grid-row: 1;
}

/* Melhoria: Reseta a posição fixa em telas menores para seguir o fluxo do HTML */
@media (max-width: 992px) {
  .founder__content {
    grid-column: auto;
    grid-row: auto;
  }
}

/* =========================================
   3. MÍDIA E IMAGEM PRINCIPAL
   ========================================= */
.founder__media {
  display: grid;
  grid-template-columns: 1fr 100px;
  gap: 12px;
}

.founder__media > img {
  width: 100%;
  max-width: 100%; /* Proteção para não estourar o container */
  height: 650px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block; /* Remove o pequeno espaço fantasma abaixo da imagem */
}

/* Melhoria: Reduz a altura fixa da imagem em telas menores */
@media (max-width: 992px) {
  .founder__media > img {
    height: 400px;
  }
}

/* Melhoria: Empilha a imagem principal e os thumbnails no mobile */
@media (max-width: 576px) {
  .founder__media {
    grid-template-columns: 1fr; 
  }
}

/* =========================================
   4. THUMBNAILS (Miniaturas)
   ========================================= */
.founder__thumbs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Melhoria: Transforma a lista de thumbs em uma linha rolável no mobile */
@media (max-width: 576px) {
  .founder__thumbs {
    flex-direction: row;
    overflow-x: auto; /* Permite scroll horizontal */
    padding-bottom: 8px; /* Espaço para a barra de rolagem */
  }
}

.founder__thumb {
  width: 100px;
  height: 100px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius);
  overflow: hidden;
  opacity: 0.55;
  cursor: pointer;
  background: none;
  /* Melhoria: Adiciona uma transição suave de cor e opacidade */
  transition: opacity 0.3s ease, border-color 0.3s ease;
  flex-shrink: 0; /* Evita que os thumbs espremam no mobile */
}

/* Melhoria: Feedback visual ao passar o mouse */
.founder__thumb:hover {
  opacity: 0.8;
}

.founder__thumb--main {
  height: 220px;
}

/* Melhoria: Ajusta a thumb maior no mobile para ficar com tamanho padrão */
@media (max-width: 576px) {
  .founder__thumb--main {
    height: 100px;
  }
}

.founder__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block; /* Remove espaço fantasma */
}

.founder__thumb.is-active {
  opacity: 1;
  border-color: var(--color-text);
}

/* =========================================
   5. RODAPÉ DO FUNDADOR (.founder__footer)
   ========================================= */
.founder__footer {
  margin-top: 40px; /* Dá um respiro após os parágrafos */
  padding-top: 30px;
  border-top: 1px solid var(--color-border); /* Linha divisória sutil igual a outras seções */
  display: flex;
  flex-direction: column;
  gap: 8px; /* Espaço entre o texto e o botão */
}

.founder__footer strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}

.founder__footer span {
  display: block;
  font-size: 0.8rem;
  color: var(--color-text-faint); /* Cinza mais escuro do seu padrão */
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.founder__footer .link-arrow {
  margin-top: 12px;
  align-self: flex-start; /* Garante que o link não ocupe a largura toda */
}

/* =====================================================================
   9. PORTFÓLIO
===================================================================== */
.portfolio {
  padding: 130px 0;
  background-color: var(--color-bg-alt);
}

.portfolio__dots {
  display: flex;
  gap: 8px;
}
.dot {
  width: 22px;
  height: 3px;
  background-color: #3a3a3a;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}
.dot.is-active {
  background-color: var(--color-text);
}

.portfolio__grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 124px;
 margin-bottom: 60px;
}

.portfolio__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}
.portfolio__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3.2;
  filter: grayscale(10%) contrast(1.05);
  transition: opacity var(--transition-medium);
}

.portfolio__caption {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.portfolio__caption span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #cfcfcf;
}
.portfolio__caption strong {
  font-family: var(--font-heading);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 1.2rem;
}

.portfolio__list {
  display: flex;
  flex-direction: column;
}

.portfolio__item {
  text-align: left;
  padding: 24px 4px;
  border-bottom: 1px solid var(--color-border);
  opacity: 0.5;
  transition: opacity var(--transition-fast);
}
.portfolio__item:hover {
  opacity: 0.8;
}
.portfolio__item.is-active {
  opacity: 1;
}

.portfolio__item-tag {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-label);
  margin-bottom: 8px;
}

.portfolio__item h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  text-transform: uppercase;
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.portfolio__item p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 10px;
  max-width: 460px;
}

.portfolio__item-client {
  font-size: 0.75rem;
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}


/* =====================================================================
   10. CONTATO
===================================================================== */
.contact {
  padding: 130px 0;
  background-color: var(--color-bg);
}

.contact__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
}

.contact__details {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact__details li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.contact__details span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-faint);
}
.contact__details a {
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}
.contact__details a:hover {
  color: var(--color-text-muted);
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}



.form-field label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-faint);
}

.form-field input,
.form-field select,
.form-field textarea {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--color-text);
  transition: border-color var(--transition-fast);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #6a6a6a;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-text);
}

.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23999' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-feedback {
  font-size: 0.85rem;
  color: #7ee08a;
  min-height: 1em;
}


/* =====================================================================
   11. FOOTER
===================================================================== */
.footer {
  border-top: 1px solid var(--color-border);
  padding: 30px 0;
  background-color: var(--color-bg);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__inner p {
  font-size: 0.8rem;
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer__social {
  display: flex;
  gap: 24px;
}
.footer__social a {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-faint);
  transition: color var(--transition-fast);
}
.footer__social a:hover {
  color: var(--color-text);
}


/* =====================================================================
   12. BOTÃO VOLTAR AO TOPO
===================================================================== */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-fast);
  z-index: 90;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background-color: var(--color-text);
  color: #0e0e0e;
}


/* =====================================================================
   13. RESPONSIVO
===================================================================== */
@media (max-width: 960px) {

  .about__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }


  .stats {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 30px;
  }
}

@media (max-width: 720px) {
  .nav {
    position: fixed;
    top: 78px;
    left: 0;
    width: 100%;
    background-color: rgba(15,15,15,0.98);
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-medium);
    border-bottom: 1px solid var(--color-border);
  }
  .nav.is-open {
    max-height: 320px;
  }
  .nav__link {
    width: 100%;
    text-align: center;
    padding: 18px 0;
  }

  .btn--nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding-top: 150px;
  }

  .hero__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 480px) {
  .stats {
    grid-template-columns: 1fr 1fr;
  }
}

/*========================
  VIDEOS
============================*/

.portfolio__video {
  width: 280px;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
  background: #0a0a0a;
  border: 2px solid rgba(52, 40, 40, 0.02);
  border-radius: var(--radius);
  filter: grayscale(10%) contrast(1.08);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

@media (max-width: 720px) {
  .portfolio__grid {
    flex-direction: column;
  }

  .portfolio__video {
    width: 90%;
  }
}

.success-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;

  width: 380px;
  max-width: calc(100% - 40px);

  padding: 35px 30px;
  background: #1e1e1e;
  border: 1px solid #333;
  border-radius: 8px;

  text-align: center;

  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);

  animation: popupShow 0.3s ease;
}

.success-popup__icon {
  width: 70px;
  height: 70px;

  margin: 0 auto 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: #7ee08a;
  color: #141414;

  font-size: 2.5rem;
  font-weight: 700;
}

.success-popup h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.success-popup p {
  font-size: 1rem;
  color: #9a9a9a;
}

.success-popup.hide {
  animation: popupHide 0.3s ease forwards;
}

@keyframes popupShow {
  from {
    opacity: 0;
    transform: translate(-50%, -45%);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

@keyframes popupHide {
  from {
    opacity: 1;
    transform: translate(-50%, -50%);
  }

  to {
    opacity: 0;
    transform: translate(-50%, -45%);
  }
}

.form-feedback {
  font-size: 1.1rem;
  font-weight: 500;
  margin-top: 10px;
}