/* =========================================================
   BARBEARIA BONFIM — LP
   Identidade: vinho profundo + concreto + condensada pesada
   (deliberadamente afastada da LP Frantchesco)
   ========================================================= */

:root {
  --preto: #0A0A0A;
  --carbono: #14110F;
  --grafite: #1C1916;
  --concreto: #2A2622;
  --concreto-claro: #3A3530;
  --vinho: #7A1818;
  --vinho-escuro: #4E0E0E;
  --vinho-deep: #2E0707;
  --off-white: #ECE7DE;
  --off-white-soft: #C8C2B6;
  --branco: #FFFFFF;
  --cinza-muted: #6E665C;

  --font-display: "Bebas Neue", "Impact", sans-serif;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;

  --max: 1320px;
  --pad: clamp(1.25rem, 3vw, 2.5rem);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--preto);
  color: var(--off-white);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--vinho); }

::selection { background: var(--vinho); color: var(--off-white); }

/* ===========================================================
   HEADER
   =========================================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--pad);
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(236, 231, 222, 0.06);
}

.header__logo {
  display: flex;
  align-items: center;
}

.header__logo img {
  height: 64px;
  width: auto;
  display: block;
}

.header__nav {
  display: flex;
  gap: 2rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}

.header__nav a {
  position: relative;
  padding: 0.5rem 0;
  color: var(--off-white-soft);
}

.header__nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--vinho);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}

.header__nav a:hover { color: var(--off-white); }
.header__nav a:hover::after { transform: scaleX(1); }

.header__cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(236, 231, 222, 0.18);
  color: var(--off-white-soft);
  transition: all .3s var(--ease);
}

.icon-btn:hover {
  background: var(--vinho);
  border-color: var(--vinho);
  color: var(--off-white);
}

/* ===========================================================
   BOTÕES
   =========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: all .3s var(--ease);
  white-space: nowrap;
}

.btn--lg {
  padding: 1.1rem 2rem;
  font-size: 0.85rem;
}

.btn--block { width: 100%; }

.btn--primary {
  background: var(--vinho);
  color: var(--off-white);
  border-color: var(--vinho);
}

.btn--primary:hover {
  background: var(--vinho-escuro);
  border-color: var(--vinho-escuro);
  color: var(--off-white);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--off-white);
  border-color: rgba(236, 231, 222, 0.3);
}

.btn--ghost:hover {
  background: var(--off-white);
  color: var(--preto);
  border-color: var(--off-white);
}

/* ===========================================================
   HERO
   =========================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem var(--pad) 4rem;
  overflow: hidden;
  background: var(--preto);
}

.hero__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: grayscale(0.5) contrast(1.1) brightness(0.55);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg,
      rgba(10, 10, 10, 0.92) 0%,
      rgba(10, 10, 10, 0.72) 40%,
      rgba(10, 10, 10, 0.45) 100%
    ),
    radial-gradient(ellipse at 20% 100%, rgba(122, 24, 24, 0.35), transparent 55%),
    radial-gradient(ellipse at 90% 10%, rgba(122, 24, 24, 0.18), transparent 50%);
}


.hero__content {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__logo {
  width: clamp(280px, 38vw, 480px);
  height: auto;
  display: block;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 6px 30px rgba(0, 0, 0, 0.45));
}

.hero__kicker {
  display: inline-block;
  padding: 0.45rem 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--off-white-soft);
  border: 1px solid rgba(236, 231, 222, 0.2);
  margin-bottom: 1.75rem;
}

.hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: 0.04em;
  color: var(--off-white);
  margin-bottom: 2.5rem;
  text-transform: uppercase;
}

.hero__tagline--accent {
  color: var(--vinho);
  display: inline-block;
  position: relative;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.btn--xl {
  padding: 1.25rem 2.5rem;
  font-size: 0.9rem;
  letter-spacing: 0.22em;
}

/* ===========================================================
   SEÇÕES — base
   =========================================================== */
.section {
  position: relative;
  padding: 7rem var(--pad);
  max-width: var(--max);
  margin: 0 auto;
}

.section__number {
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 8rem);
  color: transparent;
  -webkit-text-stroke: 1px rgba(122, 24, 24, 0.35);
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--off-white);
  margin-bottom: 3rem;
  text-transform: uppercase;
}

.section__title::before {
  content: "";
  display: inline-block;
  width: 60px;
  height: 6px;
  background: var(--vinho);
  margin-right: 1.5rem;
  vertical-align: middle;
  margin-bottom: 0.4em;
}

.section__lead {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  max-width: 720px;
  color: var(--off-white-soft);
  margin-bottom: 3rem;
}

/* ===========================================================
   MANIFESTO
   =========================================================== */
.manifesto {
  border-top: 1px solid rgba(236, 231, 222, 0.06);
}

.manifesto__body {
  max-width: 820px;
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  line-height: 1.6;
  color: var(--off-white-soft);
}

.manifesto__body p {
  margin-bottom: 1rem;
}

.manifesto__lead {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem) !important;
  line-height: 1.1 !important;
  color: var(--off-white) !important;
  margin-bottom: 2rem !important;
  letter-spacing: 0.01em;
}

.manifesto__close {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(236, 231, 222, 0.08);
}

.manifesto__close-final {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem) !important;
  color: var(--vinho) !important;
  letter-spacing: 0.02em;
  margin-top: 0.5rem !important;
}

/* Pilares — cards arredondados, separados, fundo preto */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 5rem;
}

.pillar {
  padding: 2.5rem 2rem;
  background: var(--carbono);
  border-radius: 20px;
  border: 1px solid rgba(236, 231, 222, 0.06);
  transition: background .4s var(--ease), transform .4s var(--ease);
}

.pillar:hover {
  background: var(--grafite);
  transform: translateY(-2px);
}

.pillar__word {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--off-white);
  margin-bottom: 1rem;
}

.pillar p {
  font-size: 0.95rem;
  color: var(--off-white-soft);
  line-height: 1.6;
}

/* ===========================================================
   A TÉCNICA — grid de detalhes
   =========================================================== */
.tecnica {
  border-top: 1px solid rgba(236, 231, 222, 0.06);
}

.tecnica-feature {
  position: relative;
  overflow: hidden;
  background: var(--carbono);
  aspect-ratio: 21 / 9;
  margin: 2rem 0;
  border-left: 4px solid var(--vinho);
}

.tecnica-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: grayscale(0.3) contrast(1.08) brightness(0.85);
  transition: filter .6s var(--ease), transform .8s var(--ease);
}

.tecnica-feature:hover img {
  filter: grayscale(0) contrast(1.1) brightness(0.95);
  transform: scale(1.02);
}

.tecnica-feature figcaption {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  letter-spacing: 0.15em;
  color: var(--off-white);
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  background: rgba(122, 24, 24, 0.85);
  transform: translateY(10px);
  opacity: 0;
  transition: all .4s var(--ease);
}

.tecnica-feature:hover figcaption {
  transform: translateY(0);
  opacity: 1;
}

.tecnica-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.tecnica-grid__item {
  position: relative;
  overflow: hidden;
  background: var(--carbono);
  aspect-ratio: 3 / 4;
}

.tecnica-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.5) contrast(1.1) brightness(0.9);
  transition: filter .5s var(--ease), transform .6s var(--ease);
}

.tecnica-grid__item figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.15em;
  color: var(--off-white);
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  background: rgba(122, 24, 24, 0.85);
  transform: translateY(8px);
  opacity: 0;
  transition: all .35s var(--ease);
}

.tecnica-grid__item:hover img {
  filter: grayscale(0) contrast(1.15) brightness(1);
  transform: scale(1.04);
}

.tecnica-grid__item:hover figcaption {
  transform: translateY(0);
  opacity: 1;
}

/* ===========================================================
   A CASA — galeria
   =========================================================== */
.a-casa {
  border-top: 1px solid rgba(236, 231, 222, 0.06);
}

.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.gallery--duo {
  grid-template-columns: 1fr 1fr;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  background: var(--carbono);
  aspect-ratio: 3 / 4;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.4) contrast(1.05);
  transition: filter .6s var(--ease), transform .6s var(--ease);
}

.gallery__item:hover img {
  filter: grayscale(0) contrast(1.1);
  transform: scale(1.03);
}

.gallery__item--quadros img {
  object-position: center 35%;
}

.gallery__item--meio img {
  object-position: center center;
}

/* ===========================================================
   TIME
   =========================================================== */
.time {
  border-top: 1px solid rgba(236, 231, 222, 0.06);
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.team-grid--single {
  grid-template-columns: 1fr;
  max-width: 900px;
}

.team-grid__item {
  position: relative;
  overflow: hidden;
  background: var(--carbono);
  aspect-ratio: 3 / 4;
}

.team-grid--single .team-grid__item {
  aspect-ratio: 16 / 11;
}

.team-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.3) contrast(1.05);
  transition: filter .6s var(--ease), transform .6s var(--ease);
}

.team-grid__item:hover img {
  filter: grayscale(0) contrast(1.1);
  transform: scale(1.03);
}

/* ===========================================================
   ASSINATURA
   =========================================================== */
.assinatura {
  border-top: 1px solid rgba(236, 231, 222, 0.06);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(122, 24, 24, 0.12), transparent 60%);
}

.assinatura__intro {
  max-width: 820px;
  margin-bottom: 4rem;
}

.assinatura__lead {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  line-height: 1.1;
  color: var(--off-white);
  margin-bottom: 1.5rem;
  letter-spacing: 0.01em;
}

.assinatura__intro p:not(.assinatura__lead) {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--off-white-soft);
  line-height: 1.7;
}

.planos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.plano {
  display: flex;
  flex-direction: column;
  background: var(--carbono);
  border: 1px solid rgba(236, 231, 222, 0.08);
  padding: 2.5rem 2rem;
  transition: all .4s var(--ease);
}

.plano:hover {
  border-color: rgba(122, 24, 24, 0.5);
  transform: translateY(-4px);
}

.plano--featured {
  background: linear-gradient(180deg, var(--vinho-deep) 0%, var(--carbono) 100%);
  border-color: var(--vinho);
  position: relative;
}

.plano--featured::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
  background: var(--vinho);
}

.plano__head {
  margin-bottom: 1.5rem;
}

.plano__tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--vinho);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.plano--featured .plano__tag {
  color: var(--off-white);
  background: var(--vinho);
  padding: 0.3rem 0.7rem;
}

.plano__name {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--off-white);
}

.plano__price {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  margin-bottom: 2rem;
  font-family: var(--font-display);
  color: var(--off-white);
}

.plano__currency {
  font-size: 1.2rem;
  color: var(--off-white-soft);
}

.plano__value {
  font-size: 4rem;
  line-height: 1;
}

.plano__decimals {
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--off-white-soft);
  align-self: flex-start;
  margin-top: 0.6rem;
  margin-left: -0.15rem;
}

.plano__period {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--off-white-soft);
  letter-spacing: 0.05em;
}

.plano__benefits {
  list-style: none;
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.plano__benefits li {
  padding: 0.6rem 0;
  font-size: 0.95rem;
  color: var(--off-white-soft);
  border-bottom: 1px solid rgba(236, 231, 222, 0.06);
  position: relative;
  padding-left: 1.5rem;
}

.plano__benefits li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--vinho);
  font-weight: 700;
}

/* ===========================================================
   CONTATO + MAPA
   =========================================================== */
.contato {
  border-top: 1px solid rgba(236, 231, 222, 0.06);
}

.contato__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  margin-top: 2rem;
}

.contato__info {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.info-block {
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(236, 231, 222, 0.06);
}

.info-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.info-block__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  color: var(--vinho);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.info-block p {
  color: var(--off-white-soft);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.link-arrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--off-white);
  border-bottom: 1px solid var(--vinho);
  padding-bottom: 0.25rem;
}

.link-arrow:hover {
  color: var(--vinho);
}

.horarios {
  width: 100%;
  border-collapse: collapse;
}

.horarios td {
  padding: 0.7rem 0;
  font-size: 0.95rem;
  color: var(--off-white-soft);
  border-bottom: 1px solid rgba(236, 231, 222, 0.06);
}

.horarios td:first-child {
  font-weight: 600;
  color: var(--off-white);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
}

.horarios td:last-child {
  text-align: right;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: var(--off-white);
}

.horarios__closed td:last-child {
  color: var(--vinho);
}

.contato__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.contato__map {
  position: relative;
  min-height: 500px;
  background: var(--carbono);
  overflow: hidden;
}

.contato__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.6) contrast(1.1) brightness(0.85);
}

/* ===========================================================
   FOOTER
   =========================================================== */
.footer {
  background: var(--carbono);
  padding: 2.5rem var(--pad) 1.5rem;
  border-top: 1px solid rgba(236, 231, 222, 0.06);
}

.footer__cols {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(236, 231, 222, 0.06);
}

.footer__cols h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--vinho);
  margin-bottom: 0.5rem;
}

.footer__cols p {
  font-size: 0.85rem;
  color: var(--off-white-soft);
  line-height: 1.7;
}

.footer__cols a:hover {
  color: var(--vinho);
}

.footer__bottom {
  max-width: var(--max);
  margin: 1rem auto 0;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cinza-muted);
}

/* ===========================================================
   FAB WhatsApp
   =========================================================== */
.fab-whatsapp {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: var(--branco);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: transform .25s var(--ease);
}

.fab-whatsapp:hover {
  transform: scale(1.08);
  color: var(--branco);
}

/* ===========================================================
   RESPONSIVO
   =========================================================== */
@media (max-width: 960px) {
  .header__nav { display: none; }
  .contato__grid { grid-template-columns: 1fr; }
  .gallery, .gallery--duo { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .tecnica-grid { grid-template-columns: repeat(2, 1fr); }
  .section__title::before { width: 40px; }
}

@media (max-width: 640px) {
  .header { padding: 0.85rem 1rem; }
  .header__logo img { height: 36px; }
  .icon-btn { width: 36px; height: 36px; }
  .btn { padding: 0.75rem 1.2rem; font-size: 0.72rem; }
  .btn--lg { padding: 0.95rem 1.6rem; font-size: 0.78rem; }
  .hero { padding: 7rem 1rem 3rem; }
  .hero__logo { width: clamp(220px, 65vw, 320px); }
  .btn--xl { padding: 1rem 1.8rem; font-size: 0.82rem; }
  .section { padding: 5rem 1rem; }
  .pillar { padding: 2rem 1.5rem; }
  .plano { padding: 2rem 1.5rem; }
  .plano__value { font-size: 3rem; }
  .fab-whatsapp { width: 52px; height: 52px; bottom: 1rem; right: 1rem; }
}
