/* ==========================================================================
   +Cabelo
   ========================================================================== */

:root {
  --gold: #a8813f;
  --gold-bright: #c9a05a;
  --gold-soft: #e2cda3;

  --ink: #16130f;
  --ink-2: #4a423a;
  --muted: #756b60;

  --bg: #f8f5f0;
  --bg-alt: #efe9e0;
  --surface: #ffffff;
  --line: rgba(22, 19, 15, 0.13);
  --line-strong: rgba(22, 19, 15, 0.24);

  --always-dark: #0a0908;
  --always-dark-2: #141110;

  --shadow: 0 1px 2px rgba(22, 19, 15, .05), 0 12px 32px -18px rgba(22, 19, 15, .35);
  --shadow-lg: 0 2px 4px rgba(22, 19, 15, .05), 0 30px 60px -30px rgba(22, 19, 15, .45);

  --header-h: 76px;
  --wrap: 1200px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --script: "Alex Brush", "Cormorant Garamond", cursive;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

html[data-theme="dark"] {
  --gold: #c9a05a;
  --gold-bright: #dfbc7c;
  --gold-soft: #6b542c;

  --ink: #f2ece3;
  --ink-2: #cbc2b6;
  --muted: #9b9186;

  --bg: #0f0d0b;
  --bg-alt: #17140f;
  --surface: #1c1815;
  --line: rgba(242, 236, 227, 0.14);
  --line-strong: rgba(242, 236, 227, 0.26);

  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px -18px rgba(0, 0, 0, .8);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, .4), 0 30px 60px -30px rgba(0, 0, 0, .9);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.68;
  font-weight: 400;
  overflow-x: hidden;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}

img, video { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.01em;
  margin: 0;
}

h2 { font-size: clamp(2rem, 4.4vw, 3.15rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--gold); color: #fff; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  width: min(100% - 44px, var(--wrap));
  margin-inline: auto;
}

.section { padding: clamp(72px, 9vw, 128px) 0; }
.section--tight { padding: clamp(56px, 6.5vw, 88px) 0; }
.section--alt { background: var(--bg-alt); }

.lead {
  font-size: 1.06rem;
  color: var(--ink-2);
  max-width: 58ch;
}

.rule {
  width: 46px;
  height: 1px;
  background: var(--gold);
  margin: 22px 0 26px;
  border: 0;
}

.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;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 999;
  background: var(--gold); color: #fff; padding: 10px 18px;
  border-radius: 3px; font-size: .9rem; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--sans);
  font-size: .93rem;
  font-weight: 500;
  letter-spacing: .01em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: var(--gold-bright); }

.btn--line {
  border-color: var(--line-strong);
  color: var(--ink);
  background: transparent;
}
.btn--line:hover { border-color: var(--gold); color: var(--gold); }

.btn--light {
  border-color: rgba(255, 255, 255, .45);
  color: #fff;
  background: transparent;
}
.btn--light:hover { background: #fff; color: var(--always-dark); border-color: #fff; }

.btn svg { width: 17px; height: 17px; flex: none; }

/* ---------- header ---------- */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), height .3s var(--ease);
}

/* o blur fica no pseudo-elemento: em .header ele criaria bloco de
   contenção e prenderia o menu lateral fixo à altura do header */
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background-color .3s var(--ease);
}
.header.is-stuck::before { background: color-mix(in srgb, var(--bg) 93%, transparent); }
.header.is-stuck {
  border-bottom-color: var(--line);
  height: 66px;
}

.header__inner {
  position: relative;
  z-index: 1;
  width: min(100% - 44px, 1320px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  margin-right: auto;
}
.brand img { height: 38px; width: auto; }
.brand__text {
  font-family: var(--serif);
  font-size: 1.32rem;
  letter-spacing: .01em;
  white-space: nowrap;
}
.brand__text b { color: var(--gold); font-weight: 500; }

.nav { display: flex; align-items: center; gap: 4px; }

.nav a {
  position: relative;
  padding: 8px 13px;
  font-size: .855rem;
  font-weight: 450;
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
  transition: color .22s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 13px; right: 13px; bottom: 2px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.header__tools { display: flex; align-items: center; gap: 6px; }

.icon-btn {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.icon-btn:hover { border-color: var(--gold); color: var(--gold); }
.icon-btn svg { width: 18px; height: 18px; }

#themeToggle .moon { display: none; }
html[data-theme="dark"] #themeToggle .sun { display: none; }
html[data-theme="dark"] #themeToggle .moon { display: block; }

.burger { display: none; }

.nav-scrim {
  position: fixed; inset: 0; z-index: 88;
  background: rgba(10, 9, 8, .5);
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease);
}
body.nav-open .nav-scrim { opacity: 1; pointer-events: auto; }

@media (max-width: 1080px) {
  .burger { display: grid; }
  .nav {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    z-index: 89;
    width: min(320px, 84vw);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: calc(var(--header-h) + 20px) 26px 40px;
    background: var(--surface);
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .38s var(--ease), visibility .38s;
    overflow-y: auto;
  }
  body.nav-open .nav { transform: translateX(0); visibility: visible; }
  .nav a {
    padding: 15px 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--line);
  }
  .nav a::after { left: 0; right: 0; bottom: -1px; }
}

@media (max-width: 480px) {
  .brand__text { font-size: 1.12rem; }
  .brand img { height: 32px; }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(64px, 8vw, 110px);
  overflow: hidden;
}

/* brilho quente atrás do texto, no lugar da foto de fundo que existia antes */
.hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -18%; left: -12%;
  width: 70vw; height: 120%;
  background: radial-gradient(50% 50% at 50% 50%, color-mix(in srgb, var(--gold) 16%, transparent) 0%, transparent 72%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 26px;
  font-size: .8rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero__eyebrow::before {
  content: "";
  width: 34px; height: 1px;
  background: currentColor;
}

.hero__title {
  font-family: var(--serif);
  font-size: clamp(2.7rem, 5.6vw, 4.7rem);
  line-height: 1.06;
  letter-spacing: -.015em;
  max-width: 13ch;
  text-wrap: balance;
  margin: 0 0 24px;
}
.hero__title em {
  font-style: italic;
  color: var(--gold);
}

.hero__desc {
  max-width: 46ch;
  font-size: 1.06rem;
  color: var(--ink-2);
  margin-bottom: 34px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* os três formatos em que o cabelo sai daqui */
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 22px; }
.hero__meta span + span::before {
  content: "";
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

/* composição: retrato alto e, sobreposta, a foto da matéria-prima */
.hero__art {
  position: relative;
  padding: 0 0 clamp(34px, 5vw, 58px) clamp(28px, 5vw, 62px);
}
.hero__shot {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--bg-alt);
}
.hero__shot img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 58% 26%;
  animation: heroZoom 18s var(--ease) infinite alternate;
}
.hero__shot--sub {
  position: absolute;
  left: 0; bottom: 0;
  width: clamp(140px, 27%, 230px);
  aspect-ratio: 1;
  border: 6px solid var(--bg);
  box-shadow: var(--shadow-lg);
}
.hero__shot--sub img { animation: none; object-position: center; }

/* moldura fina deslocada, dá profundidade sem pesar */
.hero__art::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: clamp(-16px, -1.4vw, -10px);
  top: clamp(-16px, -1.4vw, -10px);
  width: 62%; height: 62%;
  border: 1px solid var(--gold);
  opacity: .5;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.07); }
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: clamp(36px, 8vw, 56px); }
  .hero__art { order: -1; padding-bottom: clamp(28px, 7vw, 44px); }
  .hero__shot { aspect-ratio: 3 / 2; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__shot img { animation: none; }
}

/* ---------- estatísticas ---------- */

.stats {
  border-block: 1px solid var(--line);
  background: var(--surface);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.stat {
  padding: clamp(32px, 4vw, 48px) clamp(18px, 3vw, 40px);
}
.stat + .stat { border-left: 1px solid var(--line); }
.stat__num {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1;
  color: var(--gold);
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.stat__label {
  margin-top: 10px;
  font-size: .9rem;
  color: var(--ink-2);
}
@media (max-width: 720px) {
  .stats__grid { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .stat { padding: 26px 4px; }
}

/* ---------- cabeçalho de seção ---------- */

.head {
  max-width: 640px;
  margin-bottom: clamp(38px, 5vw, 62px);
}
.head--wide { max-width: 760px; }
.head--center { margin-inline: auto; text-align: center; }
.head--center .rule { margin-inline: auto; }

.head__split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: clamp(38px, 5vw, 62px);
}
.head__split .head { margin-bottom: 0; }

/* ---------- serviços ---------- */

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service {
  position: relative;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 34px 30px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background: var(--always-dark-2);
  isolation: isolate;
}
.service img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.service::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(8, 7, 6, .9) 6%, rgba(8, 7, 6, .5) 48%, rgba(8, 7, 6, .22) 100%);
}
.service:hover img { transform: scale(1.06); }
.service h3 { color: #fff; margin-bottom: 12px; }
.service p {
  color: rgba(255, 255, 255, .78);
  font-size: .94rem;
  max-width: 34ch;
}
.service__more {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .85rem;
  color: var(--gold-bright);
}
.service__more span {
  display: block; width: 22px; height: 1px;
  background: currentColor;
  transition: width .3s var(--ease);
}
.service:hover .service__more span { width: 40px; }

@media (max-width: 940px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) {
  .services { grid-template-columns: 1fr; }
  .service { min-height: 380px; }
}

/* ---------- sobre ---------- */

.about {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}
.about__media { position: relative; }
.about__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.about__media::before {
  content: "";
  position: absolute;
  left: -18px; top: -18px;
  width: 46%; height: 46%;
  border-left: 1px solid var(--gold);
  border-top: 1px solid var(--gold);
  opacity: .55;
}
.about__text p { color: var(--ink-2); }
.about__text p:first-of-type {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.5;
  color: var(--ink);
}
.about__sign {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--gold);
}
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

/* ---------- mega hair ---------- */

.mega {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  gap: clamp(36px, 6vw, 76px);
  align-items: center;
}
.mega__points { list-style: none; margin: 28px 0 0; padding: 0; }
.mega__points li {
  position: relative;
  padding: 15px 0 15px 30px;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: .96rem;
}
.mega__points li:last-child { border-bottom: 1px solid var(--line); }
.mega__points li::before {
  content: "";
  position: absolute;
  left: 2px; top: 26px;
  width: 12px; height: 1px;
  background: var(--gold);
}
.mega__points b { color: var(--ink); font-weight: 550; }

.mega__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.mega__grid img { width: 100%; height: auto; object-fit: cover; }
.mega__grid figure { margin: 0; overflow: hidden; }
/* a imagem oficial da marca ocupa a linha inteira para a logo não ser cortada */
.mega__grid figure:nth-child(1) { grid-column: 1 / -1; }
.mega__grid figure:nth-child(1) img { aspect-ratio: 16 / 10; }
.mega__grid figure:not(:first-child) img { aspect-ratio: 1; }
@media (max-width: 860px) { .mega { grid-template-columns: 1fr; } }

/* ---------- antes e depois ---------- */

.ba-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.ba-grid figure {
  margin: 0;
  overflow: hidden;
  background: var(--bg-alt);
}
.ba-grid img {
  width: 100%;
  /* as fotos já vêm com antes e depois lado a lado, então quadrado não corta a comparação */
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform .8s var(--ease), filter .5s var(--ease);
}
.ba-grid figure:hover img { transform: scale(1.05); }
@media (max-width: 1000px) { .ba-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .ba-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

/* ---------- blocos sempre escuros ---------- */

.dark-block {
  position: relative;
  background: var(--always-dark);
  color: #f4efe6;
  overflow: hidden;
  isolation: isolate;
}
.dark-block > img.dark-block__bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .3;
}
.dark-block::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, rgba(10, 9, 8, .95) 12%, rgba(10, 9, 8, .68) 62%, rgba(10, 9, 8, .88) 100%);
}
.dark-block h2 { color: #f6f1e8; }
.dark-block .lead, .dark-block p { color: rgba(244, 239, 230, .74); }
.dark-block .rule { background: var(--gold-bright); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 32px; }
.chip {
  padding: 8px 18px;
  border: 1px solid rgba(201, 160, 90, .45);
  border-radius: 100px;
  font-size: .82rem;
  color: #dcbc80;
}

.samba-teaser__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}
.samba-teaser__shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.samba-teaser__shots img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: rgba(255, 255, 255, .05);
}
.samba-teaser__shots img:nth-child(2) { transform: translateY(22px); }
.samba-teaser__shots--solo { grid-template-columns: 1fr; }
.samba-teaser__shots--solo img { aspect-ratio: 4 / 5; }
@media (max-width: 860px) {
  .samba-teaser__inner { grid-template-columns: 1fr; }
  .samba-teaser__shots img:nth-child(2) { transform: none; }
}

/* ---------- vídeos ---------- */

.carousel { position: relative; }
.carousel__viewport { overflow: hidden; }
.carousel__track {
  display: flex;
  gap: 18px;
  transition: transform .6s var(--ease);
  will-change: transform;
}
.vcard {
  flex: 0 0 calc((100% - 36px) / 3);
  position: relative;
  aspect-ratio: 9 / 16;
  background: var(--bg-alt);
  overflow: hidden;
}
.vcard video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.vcard__ph {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: var(--muted);
}
.vcard__ph svg { width: 30px; height: 30px; opacity: .35; }

.carousel__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 26px;
}
.carousel__dots { display: flex; gap: 8px; }
.carousel__dots button {
  width: 26px; height: 3px;
  padding: 0;
  border: 0;
  background: var(--line-strong);
  cursor: pointer;
  transition: background-color .3s var(--ease);
}
.carousel__dots button[aria-selected="true"] { background: var(--gold); }
.carousel__arrows { display: flex; gap: 8px; }

@media (max-width: 900px) { .vcard { flex-basis: calc((100% - 18px) / 2); } }
@media (max-width: 600px) { .vcard { flex-basis: 100%; } }

/* ---------- cursos teaser ---------- */

.courses-teaser__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}
.course-mini { display: grid; gap: 14px; }
.course-mini__item {
  padding: 20px 22px;
  border: 1px solid rgba(201, 160, 90, .3);
  background: rgba(255, 255, 255, .03);
}
.course-mini__item h3 { color: #f6f1e8; font-size: 1.3rem; }
.course-mini__item p { margin: 6px 0 0; font-size: .9rem; }
@media (max-width: 860px) { .courses-teaser__inner { grid-template-columns: 1fr; } }

/* ---------- contato ---------- */

.contact-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding: clamp(30px, 4vw, 46px);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  margin-bottom: 22px;
}
.contact-cta h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); max-width: 20ch; }
.contact-cta p { margin: 8px 0 0; color: var(--ink-2); font-size: .95rem; max-width: 46ch; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.contact-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.contact-card svg { width: 22px; height: 22px; color: var(--gold); }
.contact-card h4 {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 550;
  margin: 0;
}
.contact-card__go {
  margin-top: auto;
  padding-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  color: var(--gold);
}
.contact-card__go i {
  display: block; width: 16px; height: 1px;
  background: currentColor;
  transition: width .3s var(--ease), transform .3s var(--ease);
}
.contact-card:hover .contact-card__go i { width: 30px; }

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

/* ---------- rodapé ---------- */

.footer {
  background: var(--always-dark);
  color: rgba(244, 239, 230, .72);
  padding: clamp(56px, 7vw, 84px) 0 0;
  font-size: .92rem;
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .7fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 64px);
  padding-bottom: 48px;
}
.footer h4 {
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 550;
  letter-spacing: .06em;
  color: #f2ece3;
  margin: 0 0 16px;
}
.footer a { color: rgba(244, 239, 230, .72); text-decoration: none; }
.footer a:hover { color: var(--gold-bright); }
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer__brand img { height: 40px; }
.footer__brand span { font-family: var(--serif); font-size: 1.3rem; color: #f2ece3; }
.footer__brand b { color: var(--gold-bright); font-weight: 500; }

.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }

.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid rgba(244, 239, 230, .2);
  border-radius: 50%;
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.footer__social a:hover { border-color: var(--gold-bright); }
.footer__social svg { width: 17px; height: 17px; }

.ig-feed {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.ig-feed a {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: rgba(244, 239, 230, .06);
}
.ig-feed img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .82;
  transition: opacity .3s var(--ease), transform .5s var(--ease);
}
.ig-feed a:hover img { opacity: 1; transform: scale(1.06); }

.footer__bottom {
  border-top: 1px solid rgba(244, 239, 230, .12);
  /* espaço extra embaixo para o botão flutuante do WhatsApp não cobrir o crédito */
  padding: 22px 0 92px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .83rem;
  color: rgba(244, 239, 230, .5);
}
.credit { position: relative; text-decoration: none; }
.credit b { color: var(--gold-bright); font-weight: 500; }
.credit::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 1px;
  background: var(--gold-bright);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}
.credit:hover::after { transform: scaleX(1); transform-origin: left; }

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

/* ---------- assinatura do rodapé ---------- */

.signature {
  margin: clamp(46px, 6vw, 78px) 0 clamp(30px, 4vw, 46px);
  text-align: center;
  line-height: 0;
}
.signature__word {
  display: inline-block;
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  /* a folga do clamp existe porque o letter-spacing cresce no hover: sem ela,
     as pontas do texto passariam da margem */
  font-size: clamp(2rem, 11vw, 9.4rem);
  line-height: .92;
  letter-spacing: .02em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: default;

  /* o texto vive vazado: só o contorno dourado aparece em repouso */
  color: transparent;
  -webkit-text-stroke: 1px color-mix(in srgb, var(--gold) 62%, transparent);

  /* o preenchimento é um gradiente recortado no texto, que cresce de baixo
     para cima no hover porque só a altura do background é animada */
  background-image: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 58%, color-mix(in srgb, var(--gold) 72%, #000) 100%);
  background-repeat: no-repeat;
  background-position: 50% 100%;
  background-size: 100% 0%;
  -webkit-background-clip: text;
  background-clip: text;

  transition:
    background-size .85s var(--ease),
    -webkit-text-stroke-color .5s var(--ease),
    letter-spacing .85s var(--ease),
    filter .5s var(--ease);
}
.signature__word:hover,
.signature__word:focus-visible {
  background-size: 100% 100%;
  letter-spacing: .05em;
  -webkit-text-stroke-color: color-mix(in srgb, var(--gold-bright) 85%, transparent);
  filter: drop-shadow(0 12px 34px color-mix(in srgb, var(--gold) 34%, transparent));
}

/* fallback: sem background-clip no texto, vale a cor cheia mesmo */
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .signature__word { color: var(--gold); -webkit-text-stroke: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .signature__word {
    transition: none;
    background-size: 100% 100%;
  }
  .signature__word:hover { letter-spacing: .02em; filter: none; }
}

/* ---------- whatsapp flutuante ---------- */

.wa-float {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 80;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 10px 30px -8px rgba(37, 211, 102, .6);
  transition: transform .28s var(--ease);
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 28px; height: 28px; }
.wa-float::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid #25d366;
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: .7; }
  70%, 100% { transform: scale(1.6); opacity: 0; }
}
body.cookie-open .wa-float { bottom: 110px; }

/* ---------- cookies ---------- */

.cookies {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 95;
  max-width: 880px;
  margin-inline: auto;
  display: none;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 18px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.cookies.is-open { display: flex; }
.cookies p { margin: 0; font-size: .86rem; color: var(--ink-2); flex: 1 1 320px; }
.cookies__actions { display: flex; gap: 10px; }
.cookies .btn { padding: 10px 20px; font-size: .85rem; }

/* ---------- breadcrumb ---------- */

.crumb {
  padding-top: calc(var(--header-h) + 34px);
  font-size: .84rem;
  color: var(--muted);
}
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--gold); }
.crumb span { margin: 0 8px; opacity: .5; }

.page-hero { padding: 34px 0 clamp(44px, 5vw, 68px); }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
.page-hero .lead { margin-top: 6px; }

/* ---------- filtros e produtos ---------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 38px;
}
.filters button {
  padding: 9px 20px;
  font-family: var(--sans);
  font-size: .86rem;
  color: var(--ink-2);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 100px;
  cursor: pointer;
  transition: all .25s var(--ease);
}
.filters button:hover { border-color: var(--gold); color: var(--gold); }
.filters button[aria-pressed="true"] {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.product {
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
/* o filtro por linha esconde os cards com o atributo hidden, mas o display:flex
   acima vence o display:none que o navegador dá ao [hidden]. sem esta regra o
   filtro marca os cards e nada some da tela. */
.product[hidden] { display: none; }
.product:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.product__img {
  position: relative;
  aspect-ratio: 1;
  background: var(--bg-alt);
  overflow: hidden;
}
.product__img img { width: 100%; height: 100%; object-fit: cover; }
.product__flag {
  position: absolute;
  left: 0; top: 14px;
  padding: 5px 12px;
  background: var(--gold);
  color: #fff;
  font-size: .7rem;
  letter-spacing: .04em;
}
.product__body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.product__line { font-size: .74rem; letter-spacing: .1em; color: var(--gold); margin-bottom: 8px; }
.product__name {
  font-family: var(--serif);
  font-size: 1.18rem;
  line-height: 1.25;
  margin: 0 0 auto;
  padding-bottom: 16px;
}
.product__price { display: flex; align-items: baseline; gap: 9px; flex-wrap: wrap; }
.product__price strong { font-size: 1.16rem; font-weight: 550; }
.product__price s { font-size: .86rem; color: var(--muted); }

@media (max-width: 1080px) { .products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 780px) { .products { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 420px) { .products { grid-template-columns: 1fr; } }

/* ---------- modal ---------- */

.modal {
  position: fixed; inset: 0; z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.is-open { display: flex; }
.modal__scrim {
  position: absolute; inset: 0;
  background: rgba(10, 9, 8, .68);
  backdrop-filter: blur(3px);
}
.modal__box {
  position: relative;
  width: min(100%, 900px);
  max-height: min(92vh, 760px);
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
}
.modal__close {
  position: absolute;
  right: 12px; top: 12px;
  z-index: 3;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
}
.modal__close:hover { border-color: var(--gold); color: var(--gold); }
/* as fotos de produto são quadradas: contain mostra o frasco inteiro em
   qualquer altura de modal, em vez de cortar o topo ou a base */
.modal__media { background: #fff; }
.modal__media img { width: 100%; height: 100%; min-height: 280px; object-fit: contain; }
.modal__body { padding: clamp(26px, 3.4vw, 40px); }
.modal__body h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 10px; }
.modal__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.modal__price strong { font-size: 1.6rem; font-weight: 550; color: var(--gold); }
.modal__price s { color: var(--muted); }
.modal__body p { color: var(--ink-2); font-size: .96rem; }
.modal__list { list-style: none; margin: 0 0 26px; padding: 0; }
.modal__list li {
  position: relative;
  padding: 9px 0 9px 24px;
  border-top: 1px solid var(--line);
  font-size: .92rem;
  color: var(--ink-2);
}
.modal__list li::before {
  content: "";
  position: absolute; left: 0; top: 20px;
  width: 10px; height: 1px;
  background: var(--gold);
}
@media (max-width: 760px) {
  .modal__box { grid-template-columns: 1fr; }
  .modal__media img { max-height: 240px; min-height: 0; }
}

/* ---------- cursos ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.gallery figure { margin: 0; overflow: hidden; background: var(--bg-alt); }
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.gallery figure:hover img { transform: scale(1.05); }
.gallery--portrait img { aspect-ratio: 3 / 4; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

/* variações de coluna: precisam vir depois das media queries de .gallery */
.gallery--duo { grid-template-columns: 1fr 1fr; }
.gallery--duo img { aspect-ratio: 1; }
@media (max-width: 560px) { .gallery--duo { grid-template-columns: 1fr; } }

/* seis retratos fecham em duas linhas certinhas com três colunas */
.gallery--trio { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 560px) { .gallery--trio { grid-template-columns: repeat(2, 1fr); } }

.courses { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.course {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: clamp(28px, 3.6vw, 44px);
}
.course h3 { font-size: clamp(1.6rem, 3vw, 2.15rem); }
.course__tag {
  display: inline-flex;
  align-self: flex-start;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px 14px;
  border: 1px solid var(--gold-soft);
  border-radius: 100px;
  font-size: .76rem;
  color: var(--gold);
}
.course__list { list-style: none; margin: 20px 0 28px; padding: 0; }
.course__list li {
  position: relative;
  padding: 11px 0 11px 26px;
  border-top: 1px solid var(--line);
  font-size: .93rem;
  color: var(--ink-2);
}
.course__list li::before {
  content: "";
  position: absolute; left: 0; top: 22px;
  width: 12px; height: 1px;
  background: var(--gold);
}
.course .btn { align-self: flex-start; margin-top: auto; }
@media (max-width: 800px) { .courses { grid-template-columns: 1fr; } }

/* ---------- entrada suave ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* imagem ainda não enviada pelo cliente */
img.is-missing { visibility: hidden; }
