/* ==========================================================================
   Smart Man Barbearia — site estático
   Paleta: preto e dourado da marca (logo #FECA00, site #C79A38/#D8A842),
   suavizados para leitura confortável (preto quente em vez de #000, fundos creme).
   ========================================================================== */

:root {
  --c-dark: #171614;        /* preto quente (fundo principal escuro) */
  --c-darker: #0f0e0d;
  --c-dark-2: #26231f;      /* cards sobre fundo escuro */
  --c-accent: #c79a38;      /* dourado da marca: botões e faixas */
  --c-accent-hover: #d8a842;
  --c-accent-ink: #8a671f;  /* dourado escuro para texto sobre fundo claro (contraste AA) */
  --c-gold-light: #e2b552;  /* dourado claro para texto sobre fundo escuro */
  --c-logo: #feca00;        /* amarelo do logo, usado com moderação */
  --c-brown: #75633f;
  --c-text: #4a4640;
  --c-body: #2e2b27;
  --c-muted: #a39d93;
  --c-cream: #f3ecdd;
  --c-light: #faf7f1;
  --c-white: #ffffff;
  --c-line: #e7e0d2;

  /* Títulos em serifa elegante; texto em sans legível. */
  /* Títulos grandes (h1/h2): Mukta, a fonte mais próxima do logo. Cards e detalhes: Fraunces (serifada). */
  --f-title: "Mukta", "Plus Jakarta Sans", system-ui, sans-serif;
  --f-display: "Fraunces", Georgia, serif;
  --f-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1240px;
  --gutter: 5vw;
  --radius: 3px;
  --header-h: 76px;
  --section-y: clamp(64px, 9vw, 110px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}
body {
  margin: 0;
  background: var(--c-white);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
html.menu-open { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a, button { -webkit-tap-highlight-color: transparent; }
a { color: var(--c-accent); text-decoration: none; }
a:hover { color: var(--c-text); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { text-wrap: balance; margin: 0; font-family: var(--f-display); font-weight: 400; line-height: 1.05; color: inherit; }
h1, h2 { font-family: var(--f-title); font-weight: 600; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--c-accent); color: var(--c-dark); padding: 10px 16px; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; color: var(--c-dark); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Layout ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { max-width: 820px; }
.section { padding-block: var(--section-y); position: relative; }
.section--dark { background: var(--c-dark); color: var(--c-white); }
.section--darker { background: var(--c-darker); color: var(--c-white); }
.section--accent { background: var(--c-accent); color: var(--c-dark); }
.section--light { background: var(--c-light); }
.section--cream { background: var(--c-cream); }
.section--dark p, .section--darker p { color: rgba(255, 255, 255, .78); }
.section--accent p { color: rgba(23, 22, 20, .85); }

.section-head { max-width: 760px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }
.section-head p { margin-top: 18px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split--wide-text { grid-template-columns: .9fr 1.1fr; }
.split--hero { grid-template-columns: 1.3fr .7fr; }
@media (max-width: 900px) {
  .split, .split--wide-text, .split--hero { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .split > .ph, .split > .photo { max-height: 420px; }
}
/* Header fixo no mobile não pode cobrir o destino das âncoras */
/* Header fixo não pode cobrir o destino das âncoras */
[id] { scroll-margin-top: var(--header-h); }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1100px) { .grid--5 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .grid--3, .grid--5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4, .grid--5 { grid-template-columns: 1fr; } }

.stack > * + * { margin-top: 20px; }

/* ---------- Tipografia ---------- */
.display-1 { font-size: clamp(42px, 6.2vw, 70px); line-height: 1; }
.display-2 { font-size: clamp(32px, 4vw, 45px); }
.display-3 { font-size: clamp(24px, 2.4vw, 30px); }
.display-4 { font-size: 23px; }
.display-xl { font-size: clamp(38px, 5vw, 55px); }
.lead { font-size: clamp(17px, 1.4vw, 19px); }
.eyebrow {
  display: inline-block; margin-bottom: 16px;
  font-family: var(--f-body); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-accent-ink);
}
.section--dark .eyebrow, .section--darker .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--c-gold-light); }
.section--accent .eyebrow { color: var(--c-dark); }
.text-muted { color: var(--c-muted); }
.text-center { text-align: center; }

/* Destaques dos títulos */
.hl { color: var(--c-white); background: linear-gradient(transparent 58%, rgba(199, 154, 56, .85) 58%, rgba(199, 154, 56, .85) 82%, transparent 82%); padding-inline: 2px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hl-accent { color: var(--c-accent-ink); }
.section--dark .hl-accent, .section--darker .hl-accent, .hero .hl-accent, .page-hero .hl-accent, .plan--dark .hl-accent { color: var(--c-gold-light); }
.hl-dark { color: var(--c-dark); }
.hl-white { color: var(--c-white); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 18px 32px; border: 1px solid transparent; border-radius: var(--radius);
  font-family: var(--f-body); font-size: 15px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; line-height: 1.1;
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn--sm { padding: 10px 15px; font-size: 13px; letter-spacing: .02em; }
.btn--block { width: 100%; }
.btn--accent { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-dark); }
.btn--accent:hover { background: var(--c-accent-hover); border-color: var(--c-accent-hover); color: var(--c-dark); }
.btn--dark { background: var(--c-dark); border-color: var(--c-dark); color: var(--c-white); }
.btn--dark:hover { background: var(--c-darker); color: var(--c-white); }
.btn--outline { background: transparent; border-color: var(--c-white); color: var(--c-white); }
.btn--outline:hover { background: var(--c-white); color: var(--c-dark); }
.btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .3); color: var(--c-white); }
.btn--ghost:hover { border-color: var(--c-white); color: var(--c-white); }
.btn--outline-dark { background: transparent; border-color: var(--c-dark); color: var(--c-dark); }
.btn--outline-dark:hover { background: var(--c-dark); color: var(--c-white); }
.btn .icon { width: 18px; height: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn-row--center { justify-content: center; }

.icon { width: 24px; height: 24px; flex: none; }

/* ---------- Placeholders de imagem ---------- */
.ph {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 100%; aspect-ratio: var(--ar, 4 / 3); padding: 20px; overflow: hidden;
  background-color: #e3dccd;
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .28) 0 14px, transparent 14px 28px);
  color: #6b6252; font-size: 13px; font-weight: 500; line-height: 1.35; text-align: center;
}
.ph::before { content: attr(data-label); max-width: 28ch; }
.ph--dark { background-color: var(--c-dark-2); color: rgba(255, 255, 255, .55); background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .04) 0 14px, transparent 14px 28px); }
.ph--accent { background-color: #b88a2c; color: rgba(23, 22, 20, .75); }
/* Foto real no lugar do placeholder: <img class="photo" src="..." alt="..."> */
.photo { width: 100%; height: auto; aspect-ratio: var(--ar, 4 / 3); object-fit: cover; }
.ph--tall { --ar: 4 / 5; }
.ph--square { --ar: 1 / 1; }
.ph--wide { --ar: 16 / 9; }
.ph-play {
  position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%;
  display: grid; place-items: center; background: var(--c-accent); color: var(--c-dark); border: 0; cursor: pointer;
  box-shadow: 0 0 0 10px rgba(199, 154, 56, .25);
}
.ph-play .icon { width: 28px; height: 28px; margin-left: 4px; }
.ph--video::before { position: absolute; bottom: 20px; left: 0; right: 0; margin: auto; }

/* Elementos geométricos decorativos */
.deco-stripes { background: repeating-linear-gradient(-45deg, var(--c-accent) 0 9px, transparent 9px 20px); }
.deco-stripes--white { background: repeating-linear-gradient(-45deg, var(--c-white) 0 9px, transparent 9px 20px); }
.deco-diamond { aspect-ratio: 1; background: var(--c-accent); transform: rotate(45deg); }

/* ==========================================================================
   Header + Menu
   ========================================================================== */
/* Header fixo que some ao rolar para baixo e reaparece ao rolar para cima */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--c-dark); transition: transform .35s var(--ease), box-shadow .35s; }
.site-header.is-scrolled { box-shadow: 0 12px 30px -14px rgba(0, 0, 0, .7); }
.site-header.is-hidden { transform: translateY(-100%); }
@media (prefers-reduced-motion: reduce) { .site-header { transition: none; } }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.header__actions { display: flex; align-items: center; gap: 10px; }
@media (max-width: 767px) { .header__actions .hide-mobile { display: none; } }

.logo { display: inline-flex; align-items: center; }
.logo img { height: 54px; width: auto; }
.site-footer .logo img { height: 72px; }

.menu-toggle .icon { width: 18px; height: 18px; }

.menu-backdrop {
  position: fixed; inset: 0; z-index: 90; background: rgba(15, 14, 13, .6);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.menu {
  position: fixed; inset: 0 0 auto 0; z-index: 100; max-height: 100dvh; overflow-y: auto;
  background: var(--c-dark); color: var(--c-white);
  transform: translateY(-100%); visibility: hidden; transition: transform .45s var(--ease), visibility .45s;
}
.menu.is-open { transform: none; visibility: visible; }
.menu.is-open + .menu-backdrop { opacity: 1; visibility: visible; }
.menu__inner { display: grid; grid-template-columns: auto 1fr 1fr 1fr auto; gap: 40px; padding-block: 36px 48px; align-items: start; }
.menu__title { font-family: var(--f-display); font-weight: 400; font-size: 23px; color: var(--c-gold-light); margin-bottom: 14px; }
.menu__list a { display: inline-block; padding: 6px 0; color: var(--c-white); font-size: 15px; font-weight: 500; }
.menu__list a:hover, .menu__list a[aria-current="page"] { color: var(--c-gold-light); }
.menu__close { background: none; border: 0; padding: 6px; color: var(--c-gold-light); cursor: pointer; }
.menu__contact { display: grid; gap: 8px; font-size: 14px; color: rgba(255, 255, 255, .75); }
.menu__contact a { color: var(--c-white); }
.menu__close .icon { width: 30px; height: 30px; }
.menu__cta { display: none; }
@media (max-width: 900px) {
  .menu { inset: 0; }
  .menu__inner { grid-template-columns: 1fr auto; gap: 28px; padding-block: 24px 40px; }
  .menu__brand { grid-column: 1; }
  .menu__close { grid-column: 2; grid-row: 1; justify-self: end; }
  .menu__col { grid-column: 1 / -1; }
  .menu__cta { display: flex; grid-column: 1 / -1; flex-direction: column; gap: 10px; }
}

.monogram { width: 84px; }
.monogram img { width: 100%; height: auto; }

.social { display: flex; gap: 14px; }
.social a { color: var(--c-white); }
.social a:hover { color: var(--c-gold-light); }

/* ==========================================================================
   Hero (Home)
   ========================================================================== */
.hero { position: relative; overflow: hidden; background: var(--c-dark); color: var(--c-white); }
.hero__grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: 24px; align-items: stretch; min-height: clamp(560px, calc(100vh - var(--header-h)), 780px); }
.hero__content { align-self: center; padding-block: 72px 120px; }
/* Título no estilo do print: serifa pesada dourada, palavras-chave em branco sobre faixa dourada */
.hero__title {
  font-size: clamp(44px, 6vw, 80px); font-weight: 700; line-height: .98; letter-spacing: -.015em;
  color: var(--c-accent); font-variation-settings: "opsz" 144;
}
.hero__kicker {
  display: block; margin-bottom: 14px;
  font-size: .42em; font-weight: 500; font-style: normal; letter-spacing: .02em; letter-spacing: 0; line-height: 1.15; color: var(--c-white);
}
.hero__title .hl { color: var(--c-white); background: linear-gradient(transparent 46%, var(--c-accent) 46%, var(--c-accent) 80%, transparent 80%); }
.hero__lead { margin-top: 30px; max-width: 40ch; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.45; color: rgba(255, 255, 255, .78); }
.hero__lead strong { color: var(--c-white); font-weight: 600; }

/* Lado da foto: formas abstratas do logo (topete + bigode), losango e listras */
.hero__media {
  position: relative; min-height: 460px;
  /* distância da borda do container até a borda da tela */
  --edge: calc((100vw - min(100vw - 2 * var(--gutter), var(--container))) / 2);
}
/* Listras ancoradas na borda direita da tela, com largura proporcional à viewport */
.hero__stripes { position: absolute; right: calc(-1 * var(--edge)); top: 0; width: calc(clamp(110px, 14vw, 280px) + var(--edge) * .35); height: 100%; z-index: 1; }
.hero__stripes::before, .hero__stripes::after { content: ""; position: absolute; left: 0; right: 0; }
.hero__stripes::before { top: 0; height: 38%; background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .9) 0 7px, transparent 7px 22px); }
.hero__stripes::after { top: 38%; bottom: 0; background: repeating-linear-gradient(-45deg, var(--c-accent) 0 7px, transparent 7px 22px); }
.hero__diamond { position: absolute; left: -4%; top: 46%; width: 44%; z-index: 1; }
.hero__swoosh { position: absolute; left: 2%; top: 0; width: 88%; height: auto; z-index: 1; }
.hero__photo {
  position: absolute; z-index: 2; left: 14%; right: 22%; bottom: 0; height: 90%; width: auto;
  object-fit: cover; object-position: 50% 18%;
  border-radius: 999px 999px 0 0;
  filter: saturate(.8) sepia(.14) contrast(1.05); /* aquece o fundo azul para combinar com o dourado */
  -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent);
  mask-image: linear-gradient(to bottom, #000 82%, transparent);
}
.hero__mustache { position: absolute; z-index: 3; right: 6%; bottom: 7%; width: 92px; color: var(--c-white); }

.hero__scroll {
  position: absolute; left: var(--gutter); bottom: 0; z-index: 3; width: 64px; height: 92px;
  display: flex; align-items: flex-end; justify-content: center; padding-bottom: 12px;
  background: var(--c-accent); color: var(--c-dark);
  clip-path: polygon(0 0, 100% 26%, 100% 100%, 0 100%);
}
.hero__scroll:hover { color: var(--c-white); }

/* Botão MENU com o bloco deslocado do print */
.menu-toggle { box-shadow: 8px 8px 0 rgba(0, 0, 0, .35); }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__content { padding-block: 48px 8px; }
  .hero__media { min-height: 440px; margin-inline: calc(-1 * var(--gutter)); --edge: 0px; }
  .hero__stripes { width: 26%; }
  .hero__photo { left: 16%; right: 20%; height: 92%; }
  .hero__mustache { width: 64px; right: 5%; }
  .hero__scroll { display: none; }
}

/* Hero das páginas internas */
.page-hero { position: relative; overflow: hidden; background: var(--c-dark); color: var(--c-white); padding-block: clamp(72px, 10vw, 128px); }
.page-hero p { color: rgba(255, 255, 255, .8); }
.page-hero__lead { margin-top: 24px; max-width: 46ch; }
.page-hero .ph, .page-hero .photo { --ar: 4 / 5; }
.page-hero__deco { position: absolute; right: 0; bottom: 0; width: 120px; height: 45%; opacity: .9; }
@media (max-width: 900px) { .page-hero__deco { display: none; } }


/* ==========================================================================
   Carrosséis (Swiper)
   ========================================================================== */
.carousel { position: relative; }
.carousel .swiper { overflow: hidden; }
.carousel__nav { display: flex; gap: 10px; margin-top: 28px; }
.carousel__nav--center { justify-content: center; }
.carousel__btn {
  width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer;
  transition: background-color .2s, color .2s, opacity .2s;
}
.carousel__btn:hover { background: var(--c-white); color: var(--c-dark); border-color: var(--c-white); }
.section--accent .carousel__btn:hover, .section--light .carousel__btn:hover, .section:not([class*="--"]) .carousel__btn:hover { background: var(--c-dark); color: var(--c-white); border-color: var(--c-dark); }
.carousel__btn.swiper-button-disabled { opacity: .35; cursor: default; }
.carousel .swiper-button-lock { display: none; }
/* Fallback sem Swiper (offline): rolagem horizontal nativa */
.carousel.no-swiper .swiper-wrapper { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.carousel.no-swiper .swiper-slide { flex: 0 0 min(80%, 300px); scroll-snap-align: start; }
.carousel.no-swiper .carousel__nav { display: none; }

/* Galeria "Nosso espaço" */
.gallery-item { display: block; overflow: hidden; }
.gallery-item .ph, .gallery-item .photo { --ar: 3 / 4; transition: transform .6s var(--ease); }
.gallery-item:hover .ph, .gallery-item:hover .photo { transform: scale(1.04); }

/* Depoimentos (avaliações do Google) — cards da mesma altura, texto limitado com opção de ler tudo */
.carousel[data-carousel="testimonials"] .swiper-slide { height: auto; }
.testimonial { background: var(--c-dark-2); padding: 26px 24px 22px; height: 100%; display: flex; flex-direction: column; gap: 14px; }
.testimonial__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.testimonial__stars { display: flex; gap: 3px; color: var(--c-gold-light); }
.testimonial__stars .icon { width: 17px; height: 17px; }
.testimonial__date { font-size: 12px; color: var(--c-muted); white-space: nowrap; }
.testimonial__text { flex: 1; margin: 0; }
.testimonial__text p {
  margin: 0; color: rgba(255, 255, 255, .85); font-size: 15.5px; line-height: 1.55;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; line-clamp: 6; overflow: hidden;
}
.testimonial.is-open .testimonial__text p { display: block; -webkit-line-clamp: unset; line-clamp: none; }
.testimonial__more { align-self: flex-start; padding: 0; background: none; border: 0; color: var(--c-gold-light); font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.testimonial__person { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .08); }
.avatar { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--c-accent); color: var(--c-dark); font-weight: 700; font-size: 14px; }
.testimonial__name { font-family: var(--f-display); font-size: 18px; line-height: 1.2; color: var(--c-white); }
.testimonial__note { display: flex; align-items: center; gap: 6px; margin-top: 3px; font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--c-muted); }
.testimonial__note .icon { width: 15px; height: 15px; }

/* Selo da nota no Google */
.rating-badge {
  display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 10px; margin-top: 20px; padding: 10px 18px;
  border-radius: 999px; background: var(--c-dark-2); color: rgba(255, 255, 255, .85); font-size: 14px;
}
.rating-badge:hover { color: var(--c-white); background: #2f2b26; }
.rating-badge .icon { width: 20px; height: 20px; }
.rating-badge strong { font-family: var(--f-display); font-size: 22px; font-weight: 700; color: var(--c-white); }
.rating-badge__stars { display: flex; gap: 2px; color: var(--c-gold-light); }
.rating-badge__stars .icon { width: 15px; height: 15px; }

/* Paginação dos carrosséis */
.carousel__dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.carousel__dots .swiper-pagination-bullet { width: 8px; height: 8px; margin: 0 !important; border-radius: 999px; background: rgba(255, 255, 255, .3); opacity: 1; transition: width .25s, background-color .25s; }
.carousel__dots .swiper-pagination-bullet-active { width: 22px; background: var(--c-accent); }
.carousel__dots + .carousel__nav { margin-top: 18px; }

/* ==========================================================================
   Componentes de conteúdo
   ========================================================================== */
.feature { display: flex; flex-direction: column; gap: 14px; }
.feature__icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--c-accent); color: var(--c-dark); }
.feature__icon .icon { width: 26px; height: 26px; }
.feature h3 { font-size: 23px; }
.feature--card { padding: 32px; background: var(--c-white); border: 1px solid var(--c-line); height: 100%; }
.feature--card h3 { color: var(--c-dark); }
.section--dark .feature--card { background: var(--c-dark-2); border-color: transparent; }
.section--dark .feature h3, .section--dark .feature--card h3 { color: var(--c-white); }

.value { padding: 32px 28px; border-top: 3px solid var(--c-accent); background: var(--c-dark-2); height: 100%; }
.value__num { font-family: var(--f-display); font-size: 40px; color: var(--c-gold-light); line-height: 1; margin-bottom: 18px; display: block; }
.value h3 { font-size: 24px; margin-bottom: 12px; color: var(--c-white); }

.step { position: relative; padding: 28px; background: var(--c-white); border: 1px solid var(--c-line); height: 100%; }
.step__num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--c-dark); color: var(--c-gold-light); font-weight: 700; margin-bottom: 16px; }
.step h3 { font-size: 23px; color: var(--c-dark); margin-bottom: 10px; }

.check-list { display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { width: 20px; height: 20px; color: var(--c-accent-ink); margin-top: 3px; }
.plan--dark .check-list .icon, .section--dark .check-list .icon { color: var(--c-gold-light); }

.quote-band { border-left: 4px solid var(--c-accent); padding: 8px 0 8px 28px; }
.quote-band p { font-family: var(--f-display); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.2; color: inherit; }
.quote-band cite { display: block; margin-top: 16px; font-style: normal; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c-accent-ink); }
.section--dark .quote-band cite { color: var(--c-gold-light); }

/* Abas */
.tabs__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 48px; }
.tab {
  padding: 13px 24px; border: 1px solid var(--c-line); border-radius: 999px; background: var(--c-white);
  color: var(--c-dark); font-size: 14px; font-weight: 600; letter-spacing: .02em; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.tab:hover { border-color: var(--c-accent); }
.tab[aria-selected="true"] { background: var(--c-dark); border-color: var(--c-dark); color: var(--c-gold-light); }
.tab-panel[hidden] { display: none; }
.tab-panel { animation: fade-in .35s var(--ease); }
@keyframes fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Card de serviço (página Serviços) */
.service { display: flex; flex-direction: column; background: var(--c-white); border: 1px solid var(--c-line); height: 100%; }
.service .ph, .service .photo { --ar: 16 / 10; }
.service__body { padding: 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.service__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 12px; }
.service h3 { font-size: 26px; color: var(--c-dark); }
.service__price { font-family: var(--f-display); font-size: 28px; color: var(--c-accent-ink); white-space: nowrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--c-cream); color: var(--c-brown); font-size: 12px; font-weight: 600; white-space: nowrap; }
.chip .icon { width: 14px; height: 14px; }
.service .btn-row { margin-top: auto; padding-top: 8px; }
.service .btn { flex: 1 1 auto; }

/* Planos — cartão escuro com moldura deslocada (referência do print)
   As 7 linhas de cada card (título, subtítulo, preço, "por mês", lista, aviso, botão)
   usam subgrid: cards da mesma fileira ficam alinhados mesmo com textos de tamanhos diferentes. */
.plans-grid {
  display: grid; isolation: isolate; grid-template-columns: 1fr;
  gap: 44px 26px; padding: 14px 0 12px 10px;
}
/* 4 planos: 4 → 2 → 1 colunas · 3 planos: 3 → 2 (+1 centralizado) → 1 · 2 planos: 2 → 1 */
@media (min-width: 640px) {
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .plans-grid > .plan:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 13px); }
}
@media (min-width: 1000px) {
  .plans-grid:has(> .plan:nth-child(3)):not(:has(> .plan:nth-child(4))) { grid-template-columns: repeat(3, 1fr); max-width: 1080px; margin-inline: auto; }
  .plans-grid:has(> .plan:nth-child(3)):not(:has(> .plan:nth-child(4))) > .plan:last-child { grid-column: auto; width: auto; }
}
@media (min-width: 1200px) {
  .plans-grid:has(> .plan:nth-child(4)) { grid-template-columns: repeat(4, 1fr); }
}
.plans-grid--narrow { max-width: 680px; margin-inline: auto; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 34px 22px 22px; background: var(--c-dark); color: rgba(255, 255, 255, .82);
}
@supports (grid-template-rows: subgrid) {
  .plan { display: grid; grid-row: span 7; grid-template-rows: subgrid; row-gap: 0; }
}
.plan::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  transform: translate(-10px, 12px); border: 1.5px solid rgba(199, 154, 56, .45);
}
.plan--featured::before { border-color: var(--c-accent); }
.plan[hidden] { display: none; }
.plan h3 {
  align-self: end; text-align: center; text-wrap: balance;
  font-size: clamp(23px, 2vw, 27px); font-weight: 700; line-height: 1.05; color: var(--c-white); font-variation-settings: "opsz" 144;
}
.plan__desc { margin: 8px auto 0; max-width: 28ch; text-align: center; text-wrap: balance; font-size: 14px; line-height: 1.4; color: rgba(255, 255, 255, .62); }
.plan__price { display: flex; justify-content: center; align-items: baseline; gap: 3px; margin: 16px 0 0; font-family: var(--f-display); font-weight: 700; color: var(--c-accent); }
.plan__currency { font-size: 18px; }
.plan__value { font-size: clamp(48px, 4.2vw, 58px); line-height: .9; }
.plan__cents { font-size: 20px; }
.plan__period { margin: 2px 0 14px; text-align: center; font-family: var(--f-display); font-size: 16px; font-weight: 700; color: var(--c-white); }
.plan .check-list { gap: 0; margin-bottom: 14px; font-size: 14px; line-height: 1.35; }
.plan .check-list li { gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, .09); color: rgba(255, 255, 255, .88); }
.plan .check-list li:last-child { border-bottom: 0; }
.plan .check-list .icon { width: 18px; height: 18px; margin-top: 0; color: var(--c-accent); }
.plan__nocard {
  align-self: end; display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 0 12px; padding: 8px 10px;
  border: 1px dashed rgba(199, 154, 56, .6); font-size: 13px; line-height: 1.3; color: rgba(255, 255, 255, .85); text-align: center;
}
.plan__nocard .icon { width: 16px; height: 16px; color: var(--c-accent); }
.plan__nocard strong { color: var(--c-logo); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.plan__nocard small { display: block; margin-top: 1px; font-size: 11.5px; color: rgba(255, 255, 255, .6); }
.plan .btn { align-self: stretch; margin-top: 0; padding: 14px 12px; font-size: 13.5px; }
.plan__badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  padding: 5px 12px; border-radius: 999px; background: var(--c-logo); color: var(--c-dark);
  font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}
@media (max-width: 640px) {
  .plans-grid { gap: 40px; padding-left: 10px; }
  .plan { padding: 32px 20px 20px; }
}

.plans-note { margin-top: 32px; text-align: center; font-size: 14px; color: var(--c-text); }


/* Comparativo avulso x plano */
.compare { width: 100%; max-width: 880px; margin-inline: auto; border-collapse: collapse; background: var(--c-white); font-size: 15px; }
.compare th, .compare td { padding: 16px 18px; border-bottom: 1px solid var(--c-line); text-align: left; }
.compare thead th { background: var(--c-dark); color: var(--c-gold-light); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.compare td:last-child { font-weight: 700; color: var(--c-accent-ink); }
.compare-wrap { overflow-x: auto; }

/* FAQ */
.faq { max-width: 880px; margin-inline: auto; border-top: 1px solid var(--c-line); }
.faq details { border-bottom: 1px solid var(--c-line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 4px; cursor: pointer; list-style: none;
  font-family: var(--f-display); font-size: clamp(19px, 1.8vw, 23px); color: var(--c-dark);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--c-accent-ink); transition: transform .3s var(--ease); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq__answer { padding: 0 4px 26px; max-width: 70ch; }

/* Bloco CTA final */
.cta-club { position: relative; overflow: hidden; text-align: center; background: var(--c-cream); }
.cta-club h2 { color: var(--c-dark); }
.cta-club p { margin-top: 14px; font-size: 21px; color: var(--c-brown); }
.cta-club__deco { position: absolute; width: 150px; height: 150px; opacity: .8; }
.cta-club__deco--l { left: -60px; top: 40px; }
.cta-club__deco--r { right: -60px; bottom: 40px; }
.cta-club .btn-row { justify-content: center; }
.cta-club .btn--outline { border-color: var(--c-dark); color: var(--c-dark); }
.cta-club .btn--outline:hover { background: var(--c-dark); color: var(--c-white); }

/* Números / linha do tempo */
.stats { display: flex; flex-wrap: wrap; gap: 32px 56px; margin-top: 36px; }
.stat__num { font-family: var(--f-display); font-size: clamp(40px, 4vw, 56px); color: var(--c-accent-ink); line-height: 1; }
.section--dark .stat__num { color: var(--c-gold-light); }
.stat__label { font-size: 14px; margin-top: 6px; max-width: 24ch; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.fact { padding: 30px 26px; border-top: 3px solid var(--c-accent); background: var(--c-white); }
.section--dark .fact { background: var(--c-dark-2); }
.fact .stat__num { margin-bottom: 12px; }
@media (max-width: 900px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } }

.timeline { position: relative; display: grid; gap: 28px; max-width: 760px; margin-inline: auto; }
.timeline::before { content: ""; position: absolute; left: 47px; top: 8px; bottom: 8px; width: 2px; background: var(--c-line); }
.timeline__item { position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 24px; align-items: start; }
.timeline__year { position: relative; z-index: 1; justify-self: center; padding: 6px 12px; border-radius: 999px; background: var(--c-dark); color: var(--c-gold-light); font-weight: 700; font-size: 15px; }
.timeline__item h3 { font-size: 24px; color: var(--c-dark); margin-bottom: 6px; }

/* Localização */
.location { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 5vw, 64px); align-items: stretch; }
.location__info { display: grid; gap: 22px; align-content: start; }
.location__block h3 { font-family: var(--f-body); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c-gold-light); margin-bottom: 6px; }
.location__block p, .location__block a { color: var(--c-white); font-size: 17px; }
.location__block small { display: block; color: var(--c-muted); font-size: 13px; margin-top: 2px; }
.location__map { min-height: 360px; border: 0; width: 100%; height: 100%; filter: grayscale(.35) contrast(1.05); }
@media (max-width: 900px) { .location { grid-template-columns: 1fr; } }

.info-line { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.info-line .icon { width: 20px; height: 20px; color: var(--c-accent-ink); margin-top: 2px; }

/* Formulário (Trabalhe Conosco) */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; color: var(--c-white); }
.field label .req { color: var(--c-gold-light); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: var(--radius);
  background: var(--c-dark-2); border: 1px solid transparent; color: var(--c-white);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, .4); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-accent); }
.field input:user-invalid { border-color: #d9534f; }
.form__note { font-size: 13px; color: var(--c-muted); }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--c-darker); color: rgba(255, 255, 255, .75); padding-top: 72px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer__brand p { margin-top: 18px; font-size: 14px; max-width: 32ch; }
.footer__title { font-family: var(--f-display); font-weight: 400; font-size: 23px; color: var(--c-gold-light); margin-bottom: 14px; }
.footer__list a { display: inline-block; padding: 5px 0; color: rgba(255, 255, 255, .8); font-size: 15px; }
.footer__list a:hover { color: var(--c-gold-light); }
.footer__contact { display: grid; gap: 8px; font-size: 14px; }
.footer__contact a { color: rgba(255, 255, 255, .85); }
.footer__contact a:hover { color: var(--c-gold-light); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding-block: 22px; font-size: 14px; font-weight: 600; text-align: center; color: rgba(255, 255, 255, .6); }
.footer__bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; }
.footer__bottom a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; color: var(--c-gold-light); text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom a:hover { color: var(--c-white); }
.footer__bottom .icon { width: 18px; height: 18px; }
@media (max-width: 640px) { .footer__bottom-inner { flex-direction: column; justify-content: center; } }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* Foto do fundador no texto da história (Quem somos) */
.history::after { content: ""; display: table; clear: both; }
.founder { float: right; width: 150px; margin: 4px 0 14px 24px; text-align: center; }
.founder img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 3px solid var(--c-accent); box-shadow: 0 0 0 6px rgba(199, 154, 56, .15); }
.founder figcaption { margin-top: 10px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); }
.founder figcaption strong { display: block; font-family: var(--f-display); font-size: 17px; letter-spacing: 0; text-transform: none; color: var(--c-dark); }
.stack > .founder + p { margin-top: 0; }
@media (max-width: 520px) {
  .founder { width: 108px; margin-left: 16px; }
  .founder img { width: 108px; height: 108px; }
}

/* Cards de serviço — mesma altura e mesmas linhas (foto, título/preço, texto, botões) entre cards da fileira */
.services-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid > .service:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 14px); }
}
@media (min-width: 1000px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid > .service:last-child:nth-child(odd) { grid-column: auto; width: auto; }
}
@supports (grid-template-rows: subgrid) {
  .services-grid .service { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; }
  .services-grid .service__body { display: contents; }
  .services-grid .service__body > * { padding-inline: 24px; }
  .services-grid .service__head { padding-top: 22px; }
  .services-grid .service__body > p { margin: 10px 0 0; }
  .services-grid .service .btn-row { align-self: end; margin: 0; padding-top: 18px; padding-bottom: 24px; }
}
.services-grid .service p { font-size: 15px; line-height: 1.55; }
.services-grid .service .btn-row { flex-wrap: nowrap; }
.services-grid .service .btn { flex: 1 1 0; }

/* ==========================================================================
   Desempenho e celular
   ========================================================================== */
/* Reserva o espaço do header antes do JavaScript montá-lo (evita a página "pular") */
div[data-component="header"] { display: block; height: var(--header-h); background: var(--c-dark); }

/* Mapa carregado só quando a pessoa pede (economiza ~1 MB de dados no celular) */
.map-facade {
  position: relative; display: grid; place-content: center; justify-items: center; gap: 14px; min-height: 360px; padding: 24px;
  background: radial-gradient(circle at 50% 40%, rgba(199, 154, 56, .18), transparent 60%), var(--c-dark-2);
  border: 1px solid rgba(255, 255, 255, .08); text-align: center; color: rgba(255, 255, 255, .8);
}
.map-facade .icon { width: 40px; height: 40px; color: var(--c-gold-light); }
.map-facade p { margin: 0; font-size: 15px; }

/* Áreas de toque confortáveis no celular (mínimo ~44px) */
@media (max-width: 900px) {
  .menu__list a { padding: 10px 0; font-size: 16px; }
  .menu__contact a, .menu__contact span { display: inline-block; padding: 4px 0; }
}
@media (max-width: 640px) {
  .footer__list a { padding: 9px 0; }
  .footer__contact { gap: 12px; }
  .faq summary { padding: 20px 2px; }
  .carousel__btn { width: 46px; height: 46px; }
  .section-head { margin-bottom: 36px; }
}

/* "&" nos títulos: usa a fonte de texto (o "&" da Fraunces é muito decorativo) */
.amp { font-family: var(--f-body); font-weight: 600; font-size: .86em; letter-spacing: 0; }

/* ==========================================================================
   Páginas legais (Política de Privacidade)
   ========================================================================== */
.page-hero--compact { padding-block: clamp(56px, 8vw, 96px); }
.legal { font-size: 16px; line-height: 1.7; color: var(--c-text); }
.legal h2 { margin: 44px 0 12px; font-size: clamp(22px, 2.6vw, 28px); color: var(--c-dark); scroll-margin-top: calc(var(--header-h) + 12px); }
.legal h3 { margin: 22px 0 6px; font-family: var(--f-body); font-size: 16px; font-weight: 700; color: var(--c-dark); }
.legal p + p { margin-top: 12px; }
.legal ul { display: grid; gap: 8px; margin: 12px 0 0; padding-left: 20px; list-style: disc; }
.legal li::marker { color: var(--c-accent); }
.legal a { color: var(--c-accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--c-dark); }
.legal strong { color: var(--c-dark); }
.legal__updated { font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--c-muted); }
.legal__toc { margin-top: 20px; padding: 20px 22px; background: var(--c-light); border-left: 3px solid var(--c-accent); }
.legal__toc strong { display: block; margin-bottom: 8px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--c-accent-ink); }
.legal__toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 28px; font-size: 15px; }
.legal__toc li { padding: 2px 0; break-inside: avoid; }
.legal__toc a { text-decoration: none; color: var(--c-dark); }
.legal__toc a:hover { color: var(--c-accent-ink); text-decoration: underline; }
.legal__contact { list-style: none !important; padding-left: 0 !important; }
@media (max-width: 640px) { .legal__toc ol { columns: 1; } }

/* Aviso discreto de termos e privacidade perto dos planos */
.plans-legal { margin: 18px auto 0; max-width: 60ch; text-align: center; font-size: 12.5px; line-height: 1.5; color: var(--c-muted); }
.plans-legal a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.plans-legal a:hover { color: var(--c-accent-ink); }

/* Aviso de privacidade no formulário de candidatura */
.form__legal { margin-top: 12px; font-size: 12.5px; line-height: 1.5; color: var(--c-muted); }
.form__legal a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.form__legal a:hover { color: var(--c-gold-light); }

/* Crédito do desenvolvedor (rodapé) */
.footer__copy { display: flex; flex-direction: column; gap: 4px; }
.footer__bottom .footer__credit { display: inline; padding: 0; font-size: 12px; font-weight: 500; color: rgba(255, 255, 255, .45); text-decoration: none; }
.footer__bottom .footer__credit:hover { color: var(--c-gold-light); text-decoration: underline; }
@media (max-width: 640px) { .footer__copy { align-items: center; } }
