/* ==========================================================================
   ANGELO CORTES — estilo.css
   Paleta: azul marinho (destaque/links), vermelho (detalhes), branco/off-white (fundo)
   Tipografia: Bebas Neue (títulos) + Poppins (texto)
   ========================================================================== */

:root {
  --azul: #0f2a5c;
  --azul-escuro: #0a1d40;
  --vermelho: #c8353d;
  --branco: #ffffff;
  --off-white: #f7f6f2;
  --cinza-claro: #e9e7e0;
  --texto: #1c1c1c;
  --texto-suave: #55585f;

  --fonte-display: 'Bebas Neue', 'Poppins', sans-serif;
  --fonte-corpo: 'Poppins', sans-serif;

  --radius: 10px;
  --sombra: 0 10px 30px rgba(15, 42, 92, 0.12);
  --transicao: 0.25s ease;
}

/* ---------- Reset básico ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--fonte-corpo);
  color: var(--texto);
  background: var(--branco);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

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

/* Elemento assinatura: faixa listrada estilo poste de barbeiro */
.pole-strip {
  height: 6px;
  width: 100%;
  background: repeating-linear-gradient(
    -45deg,
    var(--vermelho) 0px, var(--vermelho) 14px,
    var(--branco) 14px, var(--branco) 28px,
    var(--azul) 28px, var(--azul) 42px
  );
}

.eyebrow {
  font-family: var(--fonte-corpo);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--vermelho);
  margin-bottom: 10px;
}
.eyebrow--center { text-align: center; }

.section-title {
  font-family: var(--fonte-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: 0.01em;
  color: var(--azul-escuro);
  line-height: 1.05;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.section-title--center { text-align: center; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform var(--transicao), box-shadow var(--transicao), background var(--transicao), color var(--transicao);
  cursor: pointer;
}
.btn .icon { width: 20px; height: 20px; fill: currentColor; }

.btn--whatsapp {
  background: #1f9e4c;
  color: var(--branco);
  box-shadow: 0 8px 18px rgba(31, 158, 76, 0.35);
}
.btn--whatsapp:hover { transform: translateY(-2px); box-shadow: 0 12px 22px rgba(31, 158, 76, 0.45); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--branco);
  border-color: rgba(255, 255, 255, 0.6);
}
.btn--ghost:hover { background: var(--branco); color: var(--azul-escuro); transform: translateY(-2px); }

.btn--outline {
  background: transparent;
  color: var(--azul);
  border-color: var(--azul);
}
.btn--outline:hover { background: var(--azul); color: var(--branco); transform: translateY(-2px); }

/* ---------- Cabeçalho ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 18px rgba(15, 42, 92, 0.08);
}

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

.brand { display: flex; align-items: center; gap: 10px; }
.brand__logo { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.brand__text {
  font-family: var(--fonte-display);
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  color: var(--azul-escuro);
  text-transform: uppercase;
}
.brand__text em { color: var(--vermelho); font-style: normal; }

.nav__list {
  display: flex;
  gap: 30px;
  align-items: center;
}
.nav__link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--texto);
  position: relative;
  padding: 6px 2px;
  transition: color var(--transicao);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--vermelho);
  transition: width var(--transicao);
}
.nav__link:hover { color: var(--azul); }
.nav__link:hover::after { width: 100%; }
.nav__link.is-active-link { color: var(--azul); }
.nav__link.is-active-link::after { width: 100%; }

.nav__link--cta {
  background: var(--azul);
  color: var(--branco) !important;
  padding: 10px 20px;
  border-radius: 999px;
}
.nav__link--cta::after { display: none; }
.nav__link--cta:hover { background: var(--azul-escuro); }

/* Hambúrguer */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1100;
}
.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--azul-escuro);
  border-radius: 3px;
  transition: transform var(--transicao), opacity var(--transicao), background var(--transicao);
}
.hamburger.is-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: 82px;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,29,64,0.88) 0%, rgba(10,29,64,0.78) 45%, rgba(10,29,64,0.94) 100%);
}
.hero__content { position: relative; z-index: 2; max-width: 720px; }

.hero .eyebrow { color: #ff9d9d; }

.hero__title {
  font-family: var(--fonte-display);
  color: var(--branco);
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  line-height: 1.02;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero__title span { color: var(--vermelho); }

.hero__subtitle {
  color: #dfe4ef;
  font-size: 1.05rem;
  max-width: 540px;
  margin-bottom: 34px;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- Sobre ---------- */
.about { padding: 100px 0; background: var(--off-white); }

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

.about__media { position: relative; }
.about__img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--sombra);
}
.about__badge {
  position: absolute;
  bottom: -24px; right: -24px;
  background: var(--vermelho);
  color: var(--branco);
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: var(--sombra);
  text-align: center;
  line-height: 1.2;
}
.about__badge-number {
  display: block;
  font-family: var(--fonte-display);
  font-size: 1.8rem;
  letter-spacing: 0.05em;
}
.about__badge-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.04em; }

.about__lead {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--azul-escuro);
  border-left: 3px solid var(--vermelho);
  padding-left: 18px;
  margin: 18px 0 20px;
}

.about__text p { color: var(--texto-suave); margin-bottom: 16px; }

.about__list { margin: 10px 0 26px; }
.about__list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: var(--texto);
}
.about__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 9px; height: 9px;
  background: var(--azul);
  border-radius: 50%;
}

/* ---------- Serviços ---------- */
.services { padding: 100px 0; background: var(--branco); }

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 46px;
}

.service-card {
  position: relative;
  background: var(--off-white);
  border: 1px solid var(--cinza-claro);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  transition: transform var(--transicao), box-shadow var(--transicao), border-color var(--transicao);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sombra);
  border-color: var(--azul);
}
.service-card h3 {
  font-size: 1.02rem;
  color: var(--azul-escuro);
  margin-bottom: 10px;
  min-height: 44px;
}
.service-card__price {
  font-family: var(--fonte-display);
  font-size: 1.7rem;
  color: var(--vermelho);
  letter-spacing: 0.02em;
}
.service-card--highlight {
  background: var(--azul-escuro);
  border-color: var(--azul-escuro);
}
.service-card--highlight h3 { color: var(--branco); }
.service-card--highlight .service-card__price { color: #ff9d9d; }
.service-card__tag {
  position: absolute;
  top: -11px; left: 50%;
  transform: translateX(-50%);
  background: var(--vermelho);
  color: var(--branco);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: 999px;
}

.services__note {
  text-align: center;
  margin-top: 32px;
  color: var(--texto-suave);
  font-size: 0.95rem;
}

/* ---------- Galeria ---------- */
.gallery { padding: 100px 0; background: var(--off-white); }

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 46px;
}

.gallery__item {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  box-shadow: var(--sombra);
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery__item:hover img { transform: scale(1.08); }

/* ---------- Horário ---------- */
.hours { padding: 100px 0; background: var(--azul-escuro); color: var(--branco); }
.hours .eyebrow { color: #ff9d9d; }
.hours .section-title { color: var(--branco); }
.hours p { color: #cfd6e4; margin-bottom: 24px; }

.hours__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hours__card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 34px;
}
.hours__row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; }
.hours__day { font-weight: 500; }
.hours__time {
  font-family: var(--fonte-display);
  font-size: 1.4rem;
  color: var(--vermelho);
  letter-spacing: 0.03em;
}
.hours__divider { height: 1px; background: rgba(255, 255, 255, 0.15); margin: 6px 0; }
.hours__closed {
  margin-top: 18px;
  text-align: center;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #93a0bd;
}

/* ---------- Localização ---------- */
.location { padding: 100px 0; background: var(--branco); text-align: center; }
.location__address {
  color: var(--texto-suave);
  margin-bottom: 34px;
  font-size: 1.05rem;
}
.location__map {
  width: 100%;
  height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--sombra);
}

/* ---------- Contato / Rodapé ---------- */
.contact { background: var(--azul-escuro); color: var(--branco); padding: 80px 0 30px; }

.contact__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}

.contact__brand { display: flex; flex-direction: column; gap: 14px; }
.contact__logo { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.contact__brand p { color: #b9c2d6; font-size: 0.92rem; }

.contact h3 {
  font-family: var(--fonte-display);
  font-size: 1.3rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--branco);
}
.contact__info p { margin-bottom: 10px; }
.contact__info a {
  color: #cfd6e4;
  transition: color var(--transicao);
}
.contact__info a:hover { color: var(--vermelho); }

.contact__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }

.contact__copy {
  text-align: center;
  padding-top: 24px;
  font-size: 0.82rem;
  color: #8894ac;
}

/* ---------- Botão flutuante WhatsApp ---------- */
.float-whats {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #1f9e4c;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(31, 158, 76, 0.45);
  z-index: 900;
  transition: transform var(--transicao);
}
.float-whats:hover { transform: scale(1.08); }
.float-whats .icon { width: 30px; height: 30px; fill: var(--branco); }

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */
@media (max-width: 960px) {
  .about__grid,
  .hours__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__media { order: -1; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 780px) {
  .nav {
    position: fixed;
    top: 76px; right: 0;
    width: min(78vw, 320px);
    height: calc(100vh - 76px);
    background: var(--branco);
    box-shadow: -8px 0 24px rgba(0,0,0,0.12);
    transform: translateX(100%);
    transition: transform var(--transicao);
    padding: 30px 26px;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__list { flex-direction: column; align-items: flex-start; gap: 22px; }
  .nav__link--cta { width: 100%; text-align: center; }

  .hamburger { display: flex; }

  .about__badge { right: 12px; bottom: -18px; }
  .about__img { height: 340px; }
}

@media (max-width: 620px) {
  .services__grid { grid-template-columns: 1fr 1fr; }
  .gallery__grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .contact__cta { align-items: flex-start; }
  .location__map { height: 300px; }
}

@media (max-width: 420px) {
  .services__grid { grid-template-columns: 1fr; }
  .brand__text { font-size: 1.2rem; }
  .hero__title { font-size: 2.4rem; }
}

/* Acessibilidade: foco visível */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--vermelho);
  outline-offset: 3px;
}

/* Respeita preferência de menos animação */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
