/* =========================================================
   MR. LUCAS BARBERSHOP
   DESIGN SYSTEM ULTRA — 2026
   IDENTIDADE • RESPONSIVO • PREMIUM
   ========================================================= */

/* =========================================================
   1. RESET + BASE
   ========================================================= */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Arimo', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #02121d;
  color: #f5f5f5;
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100svh;
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font-family: inherit;
}

/* =========================================================
   2. TOKENS DE DESIGN — IDENTIDADE MR. LUCAS
   ========================================================= */
:root {
  --bg-main: #02121d;
  --bg-secondary: #022537;
  --bg-soft: #031a28;

  --primary: #154f67;
  --primary-light: #1e6f8f;
  --primary-dark: #0e3a4d;

  --white: #f5f5f5;
  --gray: #b2b4b3;
  --gray-dark: #8a8c8b;

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-xl: 48px;

  --shadow-xs: 0 4px 12px rgba(0,0,0,.18);
  --shadow-sm: 0 8px 24px rgba(0,0,0,.25);
  --shadow-md: 0 18px 45px rgba(0,0,0,.35);
  --shadow-lg: 0 40px 90px rgba(0,0,0,.55);

  --ease-fast: .25s ease;
  --ease-mid: .45s cubic-bezier(.4,0,.2,1);
  --ease-slow: .9s cubic-bezier(.4,0,.2,1);
}

/* =========================================================
   3. TIPOGRAFIA
   ========================================================= */
h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  letter-spacing: .05em;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  letter-spacing: .12em;
  margin-bottom: 32px;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin-bottom: 12px;
}

p {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  color: var(--gray);
  margin-bottom: 16px;
}

span {
  font-size: .9rem;
}

/* =========================================================
   4. PROGRESS BAR
   ========================================================= */
#progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(
    90deg,
    var(--primary),
    var(--primary-light)
  );
  z-index: 5000;
}

/* =========================================================
   5. HEADER
   ========================================================= */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  height: 80px;
  padding: 0 clamp(20px,6vw,120px);
  background: rgba(2,18,29,.92);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 3000;
  transition: height var(--ease-mid), background var(--ease-mid);
}

.header.shrink {
  height: 64px;
  background: rgba(2,18,29,.96);
}

.header-icon {
  background: none;
  border: none;
  cursor: pointer;
}

.header-icon img {
  width: 46px;
}

/* =========================================================
   6. NAV DESKTOP
   ========================================================= */
.nav {
  display: none;
  gap: 36px;
}

.nav a {
  font-size: .72rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  opacity: .85;
  position: relative;
  transition: opacity var(--ease-fast), color var(--ease-fast);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--white);
  transition: width var(--ease-fast);
}

.nav a:hover {
  opacity: 1;
  color: var(--primary-light);
}

.nav a:hover::after {
  width: 100%;
}

/* =========================================================
   7. LANGUAGE SWITCH
   ========================================================= */
.lang-switch {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.25);
  color: var(--white);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-size: .7rem;
}

/* =========================================================
   8. MENU MOBILE
   ========================================================= */
#menuBtn {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.9rem;
}

.menu-mobile {
  position: fixed;
  inset: 0;
  background: radial-gradient(
    circle at top,
    var(--bg-secondary),
    var(--bg-main)
  );
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 34px;
  transform: translateY(-100%);
  transition: transform var(--ease-mid);
  z-index: 2500;
}

.menu-mobile a {
  font-size: clamp(1.4rem,5vw,2rem);
  letter-spacing: .28em;
  text-transform: uppercase;
}

/* =========================================================
   9. SECTIONS
   ========================================================= */
.section {
  position: relative;
  padding: clamp(120px,18vw,200px)
           clamp(20px,6vw,120px);
}

.section.light {
  background: #ffffff;
  color: var(--bg-main);
}

.section.dark {
  background: var(--bg-secondary);
}

/* =========================================================
   10. HERO
   ========================================================= */
.hero {
  min-height: 100svh;
  padding-top: 80px;
  background:
    linear-gradient(
      180deg,
      rgba(2,18,29,.96),
      rgba(2,18,29,.75)
    ),
    url("assets/hero.jpg") center / cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-content img {
  max-width: clamp(240px,60vw,380px);
  margin: 0 auto 36px;
}

/* =========================================================
   11. BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 48px;
  border-radius: 999px;
  border: 1px solid var(--white);
  color: var(--white);
  font-size: .72rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  transition:
    background var(--ease-mid),
    color var(--ease-mid),
    transform var(--ease-fast);
}

.btn:hover {
  background: var(--white);
  color: var(--bg-main);
  transform: translateY(-2px);
}

/* =========================================================
   12. VIDEO
   ========================================================= */
.video-section {
  text-align: center;
}

.video-wrapper {
  width: 100%;
  max-width: 560px;
  margin: 0 auto 48px;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* =========================================================
   13. BIO
   ========================================================= */
.bio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

/* =========================================================
   14. EXPERIENCE
   ========================================================= */
.experience-list {
  list-style: none;
  max-width: 700px;
  margin: 0 auto;
}

.experience-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.experience-list i {
  color: var(--primary-light);
}

/* =========================================================
   SERVIÇOS — UPGRADE PREMIUM (SEM CONFLITO)
   ========================================================= */

/* GRID SERVIÇOS */
.services-grid {
  display: grid;
  gap: 32px;
  margin-top: 60px;
}

/* CARD BASE */
.service-card {
  position: relative;
  background: #f7f7f7;
  color: #02121d;
  border-radius: var(--radius-lg);
  padding: 40px 36px 44px;
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--ease-mid),
    box-shadow var(--ease-mid);
}

/* HOVER */
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
}

/* ÍCONE */
.service-card i {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 18px;
  display: inline-block;
}

/* TÍTULO */
.service-card h3 {
  font-size: 1.05rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: #02121d;
}

/* PREÇO */
.service-card span {
  display: inline-block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 14px;
}

/* TEXTO */
.service-card p {
  font-size: .95rem;
  line-height: 1.6;
  color: #4b4b4b;
  margin: 0;
}

/* CARD DESTAQUE (DELUXE) */
.service-card.highlight {
  background: linear-gradient(
    135deg,
    var(--primary-dark),
    var(--primary)
  );
  color: var(--white);
}

.service-card.highlight i,
.service-card.highlight h3,
.service-card.highlight span,
.service-card.highlight p {
  color: var(--white);
}

.service-card.highlight::after {
  content: "Mais procurado";
  position: absolute;
  top: 22px;
  right: 22px;
  font-size: .6rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.15);
}

/* =========================================================
   RESPONSIVIDADE — SERVIÇOS
   ========================================================= */

/* MOBILE */
@media (max-width: 480px) {
  .service-card {
    padding: 32px 26px 36px;
  }

  .service-card h3 {
    font-size: .95rem;
  }

  .service-card span {
    font-size: .95rem;
  }

  .service-card p {
    font-size: .9rem;
  }
}

/* TABLET */
@media (min-width: 600px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* DESKTOP */
@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* DESKTOP LARGE */
@media (min-width: 1400px) {
  .services-grid {
    gap: 48px;
  }
}

/* =========================================================
   16. TEAM
   ========================================================= */
.team-grid {
  display: grid;
  gap: 40px;
}

.team-card {
  background: rgba(255,255,255,.06);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  transition: transform var(--ease-mid), box-shadow var(--ease-mid);
}

.team-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-lg);
}

.team-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 24px;
}

/* =========================================================
   17. GALERIA — FIXA E VISÍVEL
   ========================================================= */
.gallery {
  display: grid;
  gap: 24px;
}

.gallery img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: var(--radius-md);
  opacity: 1;
  transform: none;
  transition: transform .6s ease, box-shadow .6s ease;
}

.gallery img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}

/* =========================================================
   18. FOOTER ULTRA
   ========================================================= */
.footer {
  background: linear-gradient(
    180deg,
    #000,
    #010a10
  );
  padding:
    clamp(100px,14vw,160px)
    clamp(20px,6vw,120px)
    80px;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 140px;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--primary),
    var(--primary-light)
  );
  transform: translateX(-50%);
  border-radius: 999px;
}

.footer-grid {
  display: grid;
  gap: clamp(40px,6vw,80px);
}

.footer-brand img {
  max-width: 260px;
  margin-bottom: 20px;
}

.footer-brand p {
  max-width: 360px;
}

.footer-info p {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.footer-info i {
  color: var(--primary-light);
}

.footer-links {
  display: flex;
  gap: 22px;
}

.footer-links a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  transition:
    background var(--ease-fast),
    transform var(--ease-fast),
    box-shadow var(--ease-fast);
}

.footer-links a:hover {
  background: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.footer-map {
  margin-top: clamp(60px,8vw,100px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.footer-map iframe {
  width: 100%;
  height: clamp(260px,40vw,420px);
  border: none;
  filter: grayscale(15%) contrast(1.05);
}

.footer-copy {
  margin-top: 60px;
  text-align: center;
  font-size: .75rem;
  color: var(--gray-dark);
}

/* =========================================================
   19. FLOAT CTA
   ========================================================= */
.buk-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--primary),
    var(--primary-light)
  );
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  box-shadow: var(--shadow-sm);
  z-index: 4000;
}

/* =========================================================
   20. ANIMAÇÕES GERAIS
   ========================================================= */
.section,
.hero-content,
.service-card,
.team-card {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s ease, transform .9s ease;
}

.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   21. RESPONSIVE ULTRA
   ========================================================= */
@media (min-width: 900px) {
  .nav { display: flex; }
  #menuBtn { display: none; }

  .video-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
    text-align: left;
  }

  .bio-grid {
    grid-template-columns: 1fr 1.25fr;
    text-align: left;
  }

  .services-grid {
    grid-template-columns: repeat(3,1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2,1fr);
  }

  .gallery {
    grid-template-columns: repeat(4,1fr);
  }

  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .footer {
    text-align: center;
  }

  .footer-info p {
    justify-content: center;
  }

  .footer-links {
    justify-content: center;
  }

  .footer-brand img {
    margin-left: auto;
    margin-right: auto;
  }
}
/* =========================================================
   EXTENSÕES — BIO TOGGLE (MOBILE)
   ========================================================= */
.team-bio {
  overflow: hidden;
  transition: max-height .6s ease, opacity .6s ease;
}

@media (max-width: 768px) {
  .team-bio {
    max-height: 140px;
    opacity: .85;
  }

  .team-card.expanded .team-bio {
    max-height: 2000px;
    opacity: 1;
  }

  .bio-toggle {
    margin-top: 12px;
    background: none;
    border: none;
    color: var(--primary-light);
    font-size: .75rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    cursor: pointer;
  }
}

@media (min-width: 769px) {
  .bio-toggle {
    display: none;
  }
}

/* =========================================================
   EXTENSÕES — LIGHTBOX GALERIA
   ========================================================= */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 6000;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: var(--radius-md);
}

#lightboxClose {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}


/* =========================================================
   AJUSTE EDITORIAL — SEÇÃO SOBRE
   ========================================================= */
.sobre-grid {
  display: grid;
  gap: 80px;
  align-items: center;
}

.sobre-photo img {
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-lg);
}

.sobre-text {
  max-width: 520px;
}

@media (min-width: 900px) {
  .sobre-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* =========================================================
   SEÇÃO DE VÍDEOS — EDITORIAL DUPLO (FINAL LIMPO)
   ========================================================= */

.video-editorial-grid {
  display: grid;
  gap: 64px;
  align-items: center;
}

.video-stack {
  display: grid;
  gap: 24px;
}

.video-editorial .video-wrapper {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.video-editorial video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-text {
  max-width: 560px;
}

/* DESKTOP */
@media (min-width: 900px) {
  .video-editorial-grid {
    grid-template-columns: 1.2fr 1fr;
  }

  .video-stack {
    grid-template-columns: 1fr 1fr;
  }
}
