/* =========================================================
   Portfólio Tabatha Borssolani
   Mobile-first. Tokens em :root; tema escuro via prefers-color-scheme.
   Escala de cantos: imagens/cartões 16px, botões/abas em pílula.
   Camadas (z-index): header 50, lightbox (top layer nativo).
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --bg: #F2EAE3;
  --surface: #E8DCD1;
  --surface-2: #DDCBBC;
  --tile: #F8F2EC;
  --ink: #2A1E1A;
  --muted: #6B574D;
  --line: rgb(42 30 26 / 0.14);
  --accent: #A04A2E;          /* terracota: textos grandes, botões */
  --accent-ink: #8E3F25;      /* terracota para textos pequenos sobre --surface */
  --on-accent: #F7EEE7;
  --shadow: 0 18px 40px -18px rgb(90 50 30 / 0.35);

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 16px;
  --radius-pill: 999px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(4.5rem, 10vw, 8.5rem);
  --header-h: 64px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1B1411;
    --surface: #251B17;
    --surface-2: #30241F;
    --tile: #EDE3DA;
    --ink: #F3E8DF;
    --muted: #BBA595;
    --line: rgb(243 232 223 / 0.14);
    --accent: #E3906C;
    --accent-ink: #E3906C;
    --on-accent: #1B1411;
    --shadow: 0 18px 40px -18px rgb(0 0 0 / 0.6);
    color-scheme: dark;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; margin: 0; padding: 0; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1.25em;
  height: 1.25em;
  fill: currentColor;
  flex-shrink: 0;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 60;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.5rem, 6.5vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
  text-wrap: balance;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

em { font-style: italic; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn--sm { min-height: 44px; padding: 0.55rem 1.2rem; font-size: 0.9rem; }

.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: color-mix(in srgb, var(--accent) 88%, var(--ink)); }

.btn--ghost {
  background: rgb(255 255 255 / 0.12);
  border-color: rgb(255 255 255 / 0.55);
  color: #FBF5F0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgb(255 255 255 / 0.22); }

.btn--outline { border-color: var(--line); background: transparent; }
.btn--outline:hover { border-color: var(--ink); }

/* ---------- Header / navegação ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  color: #FBF5F0;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.site-header.is-solid,
.site-header.is-open {
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

.menu-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-right: -10px;
  background: none;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}
.menu-toggle .icon { width: 26px; height: 26px; }

/* Menu mobile: painel que desce abaixo do header */
.site-nav {
  position: fixed;
  inset: var(--header-h) 0 auto;
  display: grid;
  gap: 1.25rem;
  padding: 1.25rem var(--gutter) 2rem;
  background: var(--bg);
  color: var(--ink);
  box-shadow: 0 20px 30px -20px rgb(0 0 0 / 0.25);
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s;
}
.site-header.is-open .site-nav {
  opacity: 1;
  transform: none;
  visibility: visible;
  transition-delay: 0s;
}
.site-nav__list { list-style: none; margin: 0; padding: 0; display: grid; }
.site-nav__list a {
  display: block;
  padding: 0.7rem 0;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.site-nav .btn { justify-self: start; }

@media (min-width: 1024px) {
  .menu-toggle { display: none; }
  .site-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 0;
    background: none;
    color: inherit;
    box-shadow: none;
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .site-nav__list { display: flex; gap: 1.75rem; }
  .site-nav__list a {
    padding: 0.25rem 0;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 500;
    border: 0;
    background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
    transition: background-size 0.3s var(--ease);
  }
  .site-nav__list a:hover { background-size: 100% 1px; }
}

/* ---------- 1. Capa ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: #FBF5F0;
  isolation: isolate;
  overflow: hidden;
  background: #3A2A24;
}
.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 20%;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgb(27 18 14 / 0.82) 0%, rgb(27 18 14 / 0.35) 45%, rgb(27 18 14 / 0) 70%),
    linear-gradient(to bottom, rgb(27 18 14 / 0.5), transparent 24%);
}
.hero__content {
  padding-bottom: clamp(3rem, 9vh, 6rem);
  padding-top: calc(var(--header-h) + 2rem);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3.6rem, 16vw, 8.75rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin: 0.9rem 0 1.4rem;
}
.hero__title em {
  display: block;
  font-weight: 500;
  padding-bottom: 0.05em;
}
.hero__lead {
  max-width: 34ch;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  color: rgb(251 245 240 / 0.9);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* Desktop: capa dividida, texto à esquerda e foto inteira à direita */
@media (min-width: 900px) {
  .hero {
    align-items: center;
    background: var(--bg);
    color: var(--ink);
  }
  .hero__media {
    left: 50%;
    width: 50%;
  }
  .hero::after { display: none; }
  .hero__content {
    width: 50%;
    max-width: none;
    margin: 0;
    padding-left: max(var(--gutter), calc((100vw - 1240px) / 2 + var(--gutter)));
    padding-right: clamp(2rem, 4vw, 4.5rem);
  }
  .hero .eyebrow { color: var(--accent); }
  .hero__title { font-size: clamp(4rem, 6.6vw, 7.5rem); }
  .hero__lead { color: var(--muted); }
  .hero .btn--ghost {
    background: transparent;
    border-color: color-mix(in srgb, var(--ink) 35%, transparent);
    color: var(--ink);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .hero .btn--ghost:hover { border-color: var(--ink); }
  /* No desktop o cabeçalho passa sobre a foto: fundo translúcido sempre */
  .site-header {
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: var(--ink);
  }
}

/* ---------- 2. Quem sou eu ---------- */
.about__grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.about__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}
.about__bio {
  display: grid;
  gap: 1.1rem;
  max-width: 58ch;
  font-size: 1.08rem;
  color: var(--muted);
}
.about__bio p:first-child {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  line-height: 1.3;
  color: var(--ink);
}
.about__niches {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}
.about__niches li {
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 500;
}

@media (min-width: 900px) {
  .about__grid { grid-template-columns: 5fr 6fr; }
  .about__media { margin-top: -1rem; }
}

/* ---------- 3. Marcas ---------- */
.brands { background: var(--surface); }
.brands__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.brands__grid li {
  display: grid;
  place-items: center;
  min-height: clamp(7rem, 16vw, 9.5rem);
  padding: 1.25rem;
  background: var(--tile);
}
.brands__grid img {
  height: var(--logo-h, 2rem);
  width: auto;
  max-width: 78%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.72;
  transition: filter 0.4s var(--ease), opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.brands__grid li:hover img {
  filter: none;
  opacity: 1;
  transform: scale(1.04);
}
@media (hover: none) {
  .brands__grid img { filter: none; opacity: 1; }
}
@media (min-width: 640px) { .brands__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .brands__grid { grid-template-columns: repeat(5, 1fr); } }

/* ---------- 4. Onde atuo ---------- */
.services__list { border-top: 1px solid var(--line); }
.service {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1.1rem;
  row-gap: 0.4rem;
  padding-block: clamp(1.6rem, 4vw, 2.6rem);
  border-bottom: 1px solid var(--line);
}
.service__icon {
  width: 1.75rem;
  height: 1.75rem;
  margin-top: 0.55rem;
  fill: var(--accent);
}
.service__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  line-height: 1.05;
  transition: color 0.3s var(--ease), transform 0.4s var(--ease);
}
.service__text {
  grid-column: 2;
  max-width: 46ch;
  color: var(--muted);
}
.service:hover .service__title { color: var(--accent); font-style: italic; }

@media (min-width: 900px) {
  .service {
    grid-template-columns: 3rem 1.1fr 1fr;
    align-items: center;
  }
  .service__icon { margin-top: 0; }
  .service__text { grid-column: 3; justify-self: end; }
}

/* ---------- 5. Menu de conteúdo ---------- */
.work { background: var(--surface); }
.work__head .section-title { margin-bottom: 0.4rem; }
.work__hint {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: clamp(2.5rem, 6vw, 3.5rem);
}

.niche + .niche { margin-top: clamp(3.5rem, 8vw, 5.5rem); }
.niche__title {
  margin-bottom: clamp(1.5rem, 4vw, 2.25rem);
  padding-block: 0.9rem;
  border-block: 1px solid var(--line);
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.6vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  text-align: center;
  color: var(--muted);
  text-wrap: balance;
}

.clips {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(0.9rem, 2.5vw, 1.75rem) clamp(0.75rem, 2vw, 1.5rem);
}
@media (min-width: 768px) { .clips { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .clips { grid-template-columns: repeat(4, 1fr); } }

.clip__media {
  position: relative;
  display: block;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-2);
  box-shadow: var(--shadow);
  text-decoration: none;
  isolation: isolate;
}
.clip__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.clip__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgb(20 12 9 / 0.4), transparent 30%, transparent 65%, rgb(20 12 9 / 0.35));
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.clip__media:hover img { transform: scale(1.04); }

/* Selo redondo da marca, no alto à esquerda */
.clip__brand {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  z-index: 1;
  display: grid;
  place-items: center;
  width: clamp(2.9rem, 11vw, 3.6rem);
  aspect-ratio: 1;
  padding: 0.28rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 14px -4px rgb(20 12 9 / 0.45);
  overflow: hidden;
}
.clip__brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.clip__brand--fill { padding: 0; background: #FF008A; }
.clip__brand--fill img { object-fit: cover; transform: scale(1.12); }

/* Ícone da rede, no alto à direita */
.clip__net {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 1.9rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgb(20 12 9 / 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #FBF5F0;
}
.clip__net .icon { width: 1rem; height: 1rem; }

.clip__play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: clamp(3.25rem, 9vw, 4.25rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgb(251 245 240 / 0.88);
  color: #2A1E1A;
  transform: translate(-50%, -50%);
  transition: transform 0.4s var(--ease), background-color 0.3s var(--ease);
}
.clip__play .icon { width: 42%; height: 42%; margin-left: 8%; }
.clip__media:hover .clip__play { transform: translate(-50%, -50%) scale(1.08); background: #FBF5F0; }

.clip__style {
  margin-top: 0.85rem;
  font-size: clamp(0.78rem, 1.6vw, 0.9rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}

/* Player carregado no clique */
/* No celular o vídeo em reprodução ocupa a linha inteira */
@media (max-width: 767px) {
  .clip.is-playing { grid-column: 1 / -1; }
  .clip.is-playing .clip__frame { max-width: 420px; margin-inline: auto; }
  .clip.is-playing .clip__style { max-width: 420px; margin-inline: auto; }
}
.clip__frame {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius);
  overflow: hidden;
  background: #120C0A;
  box-shadow: var(--shadow);
}
.clip__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
/* O embed do Instagram tem cabeçalho e rodapé: o quadro fica mais alto e com fundo claro */
.clip__frame[data-platform="instagram"] {
  aspect-ratio: auto;
  height: auto;
  background: #fff;
}
.clip__frame[data-platform="instagram"] iframe {
  position: static;
  height: var(--ig-h, 640px);
}
.clip__frame-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #FBF5F0;
  font-size: 0.85rem;
}
.clip__external {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 0.3rem;
  margin: 0.4rem auto 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-ink);
  text-underline-offset: 3px;
}
.clip__external .icon { width: 1rem; height: 1rem; }

/* ---------- 6. Galeria ---------- */
.gallery__grid {
  columns: 2;
  column-gap: clamp(0.75rem, 2vw, 1.5rem);
}
.gallery__grid li {
  break-inside: avoid;
  margin-bottom: clamp(0.75rem, 2vw, 1.5rem);
}
.gallery__item {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
}
.gallery__item img {
  width: 100%;
  transition: transform 0.7s var(--ease);
}
.gallery__item:hover img { transform: scale(1.03); }
@media (min-width: 900px) { .gallery__grid { columns: 3; } }

.lightbox {
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: clamp(3.5rem, 6vw, 4.5rem) clamp(0.5rem, 6vw, 5rem);
  border: 0;
  background: rgb(18 12 10 / 0.94);
  color: #FBF5F0;
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgb(18 12 10 / 0.6); }
.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  object-fit: contain;
  border-radius: 12px;
}
.lightbox__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgb(251 245 240 / 0.12);
  color: #FBF5F0;
  cursor: pointer;
  transition: background-color 0.25s var(--ease);
}
.lightbox__btn:hover { background: rgb(251 245 240 / 0.24); }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__prev { left: 12px; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 12px; top: 50%; translate: 0 -50%; }
.lightbox__count {
  position: absolute;
  bottom: 16px;
  left: 50%;
  translate: -50% 0;
  font-size: 0.85rem;
  color: rgb(251 245 240 / 0.75);
}
@media (max-width: 640px) {
  .lightbox__prev, .lightbox__next { top: auto; bottom: 8px; translate: none; }
}

/* ---------- 7. Processo criativo ---------- */
.process { background: var(--surface); }
.process__grid { display: grid; gap: 1rem 4rem; }
.process__intro {
  max-width: 34ch;
  color: var(--muted);
  font-size: 1.08rem;
  margin-top: -1rem;
  margin-bottom: 2.5rem;
}
.steps {
  counter-reset: step;
  display: grid;
  gap: clamp(0.75rem, 2vw, 1.25rem);
}
.step {
  counter-increment: step;
  position: relative;
  padding: 1.5rem 1.5rem 1.6rem;
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--muted);
}
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 0.9rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--accent);
}
.step__title {
  margin-bottom: 0.45rem;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink);
}
/* A última etapa ganha destaque: é a entrega */
.step:last-child { background: var(--accent); color: var(--on-accent); }
.step:last-child::before, .step:last-child .step__title { color: var(--on-accent); }

@media (min-width: 640px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .process__grid { grid-template-columns: 4fr 7fr; align-items: start; }
  .process__aside { position: sticky; top: calc(var(--header-h) + 2.5rem); }
}

/* ---------- 8. Feedbacks ---------- */
/* Prints empilhados no celular; no desktop, uma linha de alturas iguais
   (cada item cresce na proporção --r = largura / altura da imagem). */
.feedbacks__grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 3rem);
  max-width: 560px;
  margin-inline: auto;
}
.feedback figure { display: grid; gap: 1.25rem; }
.feedback figcaption { display: grid; gap: 0.7rem; }
.feedback__shot {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: zoom-in;
}
.feedback__shot img {
  width: 100%;
  transition: transform 0.7s var(--ease);
}
.feedback__shot:hover img { transform: scale(1.02); }
.feedback__quote {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.2vw, 1.75rem);
  font-weight: 500;
  line-height: 1.25;
  text-wrap: balance;
}
.feedback__author { display: grid; font-size: 0.9rem; line-height: 1.4; }
.feedback__author span { color: var(--muted); }

@media (min-width: 900px) {
  .feedbacks__grid {
    display: flex;
    align-items: flex-start;
    gap: clamp(1.25rem, 2.5vw, 2rem);
    max-width: none;
  }
  .feedback { flex: var(--r) 1 0; min-width: 0; }
}

/* ---------- 9. Contato ---------- */
/* Fundo escuro fixo nos dois temas */
.contact {
  --c-bg: #261B17;
  --c-fg: #F3E8DF;
  --accent: #E3906C; /* terracota clara: contraste AA sobre o fundo escuro */
  --line: color-mix(in srgb, var(--c-fg) 18%, transparent);
  padding-block: var(--section-y) 2rem;
  background: var(--c-bg);
  color: var(--c-fg);
}
.contact__inner {
  display: grid;
  grid-template-areas: "title" "mail" "media" "socials" "legal";
  column-gap: clamp(2rem, 6vw, 6rem);
}
.contact__title { grid-area: title; }
.contact__mail { grid-area: mail; }
.contact__media { grid-area: media; margin-top: clamp(2.5rem, 7vw, 3.5rem); }
.contact .socials { grid-area: socials; }
.contact__legal { grid-area: legal; }
.contact__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}
@media (min-width: 900px) {
  .contact__inner {
    grid-template-columns: 1fr minmax(260px, 30%);
    grid-template-rows: auto 1fr auto auto;
    grid-template-areas:
      "title media"
      "mail media"
      "socials socials"
      "legal legal";
    align-items: start;
  }
  .contact__media { margin-top: 0; }
  .contact__mail { align-self: start; }
}
.contact__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  line-height: 1;
  letter-spacing: -0.015em;
  max-width: 14ch;
  text-wrap: balance;
}
.contact__title em { color: var(--accent); font-weight: 500; }
.contact__mail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  margin-top: clamp(2rem, 5vw, 3.5rem);
}
.contact__mail-link {
  font-size: clamp(1.1rem, 3.4vw, 1.9rem);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  overflow-wrap: anywhere;
}
.contact__mail-link:hover { color: var(--accent); }
.contact .btn--outline:hover { border-color: var(--c-fg); }

ul.socials {
  margin-top: clamp(3rem, 7vw, 5rem);
  border-top: 1px solid var(--line);
}
.social {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 1rem;
  padding-block: 1.15rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: color 0.3s var(--ease), padding 0.4s var(--ease);
}
.social > .icon:first-child { width: 1.6rem; height: 1.6rem; }
.social__net { font-weight: 600; }
.social__handle {
  grid-column: 2;
  grid-row: 2;
  font-size: 0.88rem;
  color: color-mix(in srgb, var(--c-fg) 70%, transparent);
}
.social__arrow { grid-row: 1 / span 2; grid-column: 3; transition: transform 0.4s var(--ease); }
.social:hover { color: var(--accent); }
.social:hover .social__arrow { transform: translate(3px, -3px); }

@media (min-width: 768px) {
  .socials { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 2rem; }
}

.contact__legal {
  margin-top: clamp(3rem, 7vw, 5rem);
  font-size: 0.8rem;
  color: color-mix(in srgb, var(--c-fg) 60%, transparent);
}

/* ---------- Animações de entrada ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
    transition-delay: var(--delay, 0s);
  }
  .js .reveal.is-visible { opacity: 1; transform: none; }

  .hero__content > * { animation: rise 1.1s var(--ease) both; }
  .hero__content > :nth-child(2) { animation-delay: 0.08s; }
  .hero__content > :nth-child(3) { animation-delay: 0.18s; }
  .hero__content > :nth-child(4) { animation-delay: 0.28s; }
  .hero__media { animation: settle 2.2s var(--ease) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
@keyframes settle { from { transform: scale(1.06); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
