/* V5.2 — Camada institucional premium EXCLUSIVA para desktop.
   Segurança mobile: todas as regras deste arquivo ficam dentro de media queries >= 1024px. */

@media (min-width: 1024px) {
  /* Marca / header */
  .brand-logo-updated {
    position: relative !important;
    padding-right: 24px !important;
  }
  .brand-logo-updated::after {
    content: '' !important;
    position: absolute !important;
    top: 15% !important;
    right: 0 !important;
    width: 1px !important;
    height: 70% !important;
    background: linear-gradient(180deg, transparent, rgba(224,189,132,.32), transparent) !important;
  }
  .brand-logo-updated .brand-copy {
    display: grid !important;
    align-content: center !important;
    gap: 3px !important;
  }
  .brand-logo-updated .brand-copy::after {
    content: 'BARBEARIA' !important;
    color: #9e958b !important;
    font-family: Inter, sans-serif !important;
    font-size: 8px !important;
    font-weight: 700 !important;
    letter-spacing: .34em !important;
    line-height: 1 !important;
  }

  /* Hero: enquadramento mais editorial em monitor grande */
  .home-cover-v46 {
    isolation: isolate !important;
  }
  .hero-carousel-v46 .hero-media img {
    transform: scale(1.075) !important;
    filter: saturate(.86) contrast(1.08) brightness(.78) sepia(.04) !important;
  }
  .hero-carousel-v46 .hero-slide:nth-child(1) .hero-media img { object-position: 68% 48% !important; }
  .hero-carousel-v46 .hero-slide:nth-child(2) .hero-media img { object-position: 54% 50% !important; }
  .hero-carousel-v46 .hero-slide:nth-child(3) .hero-media img { object-position: 62% 46% !important; }
  .hero-carousel-v46 .hero-slide:nth-child(4) .hero-media img { object-position: 60% 46% !important; }
  .home-cover-shade-v46 {
    background:
      linear-gradient(90deg, rgba(5,5,6,.76) 0%, rgba(5,5,6,.36) 42%, rgba(5,5,6,.08) 72%),
      linear-gradient(180deg, rgba(5,5,6,.08) 0%, rgba(5,5,6,.18) 48%, rgba(5,5,6,.88) 100%) !important;
  }
  .desktop-hero-proof {
    display: inline-flex !important;
    width: fit-content !important;
    align-items: center !important;
    gap: 9px !important;
    margin-bottom: 12px !important;
    padding: 8px 11px !important;
    border: 1px solid rgba(224,189,132,.28) !important;
    border-radius: 999px !important;
    background: rgba(10,10,11,.52) !important;
    color: #d8c09e !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;
    backdrop-filter: blur(10px) !important;
  }
  .desktop-hero-proof::before {
    content: '' !important;
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    background: #d6ad74 !important;
    box-shadow: 0 0 0 5px rgba(214,173,116,.10) !important;
  }

  /* Atalhos com apoio visual */
  .home-shortcuts-v46 button {
    position: relative !important;
    overflow: hidden !important;
    min-height: 112px !important;
    padding: 22px 24px !important;
    background-size: cover !important;
    background-position: center !important;
    isolation: isolate !important;
  }
  .home-shortcuts-v46 button::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: -1 !important;
    background: linear-gradient(90deg, rgba(8,8,9,.94), rgba(8,8,9,.70) 58%, rgba(8,8,9,.24)) !important;
  }
  .home-shortcuts-v46 button:first-child {
    background-image: url('/assets/services/corte-simples.webp') !important;
  }
  .home-shortcuts-v46 button:last-child {
    background-image: url('/assets/elivelton-cosme-logo-full.jpg') !important;
    background-position: center 46% !important;
  }
  .home-shortcuts-v46 button span,
  .home-shortcuts-v46 button strong {
    position: relative !important;
    z-index: 1 !important;
  }

  /* Conteúdo institucional premium da Home */
  #desktopPremiumMount {
    display: grid !important;
    gap: 26px !important;
    margin-top: 26px !important;
    padding-bottom: 26px !important;
  }
  .desktop-premium-section {
    position: relative !important;
    overflow: hidden !important;
    border: 1px solid rgba(255,255,255,.075) !important;
    border-radius: 24px !important;
    background:
      radial-gradient(circle at 85% 5%, rgba(197,154,93,.07), transparent 28%),
      linear-gradient(145deg, rgba(18,18,20,.98), rgba(12,12,13,.98)) !important;
    box-shadow: 0 22px 60px rgba(0,0,0,.20) !important;
  }
  .desktop-section-kicker {
    display: inline-flex !important;
    align-items: center !important;
    gap: 9px !important;
    color: #c9a46d !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    letter-spacing: .21em !important;
    text-transform: uppercase !important;
  }
  .desktop-section-kicker::before {
    content: '' !important;
    width: 26px !important;
    height: 1px !important;
    background: linear-gradient(90deg, #c59a5d, rgba(197,154,93,.16)) !important;
  }
  .desktop-premium-title {
    margin: 12px 0 0 !important;
    color: #f5f2ed !important;
    font-family: 'Cormorant Garamond', serif !important;
    font-size: clamp(42px, 3.6vw, 58px) !important;
    font-weight: 600 !important;
    line-height: .98 !important;
    letter-spacing: -.02em !important;
  }
  .desktop-premium-copy {
    margin: 18px 0 0 !important;
    color: #aaa39b !important;
    font-size: 14px !important;
    line-height: 1.75 !important;
  }

  /* Sobre */
  .desktop-about {
    display: grid !important;
    grid-template-columns: minmax(0, 1.04fr) minmax(380px, .96fr) !important;
    min-height: 480px !important;
  }
  .desktop-about-media {
    position: relative !important;
    min-height: 480px !important;
    overflow: hidden !important;
  }
  .desktop-about-media::after {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(90deg, transparent 46%, rgba(12,12,13,.22) 72%, rgba(12,12,13,.72) 100%) !important;
    pointer-events: none !important;
  }
  .desktop-about-media img {
    width: 100% !important;
    height: 100% !important;
    min-height: 480px !important;
    object-fit: cover !important;
    object-position: center 46% !important;
    filter: saturate(.84) contrast(1.07) brightness(.86) !important;
    transition: transform .35s ease, filter .35s ease !important;
  }
  .desktop-about:hover .desktop-about-media img {
    transform: scale(1.025) !important;
    filter: saturate(.90) contrast(1.07) brightness(.90) !important;
  }
  .desktop-about-copy {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: 52px 54px !important;
  }
  .desktop-about-points {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    gap: 12px !important;
    margin-top: 26px !important;
  }
  .desktop-about-point {
    padding: 14px 15px !important;
    border: 1px solid rgba(255,255,255,.07) !important;
    border-radius: 14px !important;
    background: rgba(255,255,255,.018) !important;
  }
  .desktop-about-point strong {
    display: block !important;
    color: #f3eee6 !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
  }
  .desktop-about-point span {
    display: block !important;
    margin-top: 5px !important;
    color: #8f8880 !important;
    font-size: 10.5px !important;
    line-height: 1.45 !important;
  }

  /* Galeria */
  .desktop-gallery-section {
    padding: 34px !important;
  }
  .desktop-section-head {
    display: flex !important;
    justify-content: space-between !important;
    align-items: end !important;
    gap: 32px !important;
    margin-bottom: 24px !important;
  }
  .desktop-section-head .desktop-premium-copy {
    max-width: 440px !important;
    margin-top: 0 !important;
    text-align: right !important;
  }
  .desktop-gallery-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0,1fr)) !important;
    gap: 14px !important;
  }
  .desktop-gallery-card {
    position: relative !important;
    min-height: 250px !important;
    overflow: hidden !important;
    border: 1px solid rgba(255,255,255,.07) !important;
    border-radius: 18px !important;
    background: #111 !important;
    cursor: default !important;
    box-shadow: 0 14px 34px rgba(0,0,0,.16) !important;
    transition: transform .26s ease, border-color .26s ease, box-shadow .26s ease !important;
  }
  .desktop-gallery-card img {
    width: 100% !important;
    height: 100% !important;
    min-height: 250px !important;
    object-fit: cover !important;
    filter: saturate(.78) contrast(1.08) brightness(.82) !important;
    transition: transform .34s ease, filter .34s ease !important;
  }
  .desktop-gallery-card::after {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(180deg, transparent 52%, rgba(5,5,6,.88) 100%) !important;
    pointer-events: none !important;
  }
  .desktop-gallery-card span {
    position: absolute !important;
    z-index: 2 !important;
    left: 18px !important;
    bottom: 16px !important;
    color: #efe8df !important;
    font-size: 11px !important;
    font-weight: 750 !important;
    letter-spacing: .06em !important;
  }
  .desktop-gallery-card:hover {
    transform: translateY(-4px) !important;
    border-color: rgba(224,189,132,.30) !important;
    box-shadow: 0 20px 44px rgba(0,0,0,.26) !important;
  }
  .desktop-gallery-card:hover img {
    transform: scale(1.055) !important;
    filter: saturate(.90) contrast(1.08) brightness(.90) !important;
  }

  /* Diferenciais */
  .desktop-differentials {
    padding: 32px 34px 34px !important;
  }
  .desktop-differential-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0,1fr)) !important;
    gap: 14px !important;
    margin-top: 24px !important;
  }
  .desktop-differential-card {
    min-height: 166px !important;
    padding: 22px !important;
    border: 1px solid rgba(255,255,255,.07) !important;
    border-radius: 16px !important;
    background: linear-gradient(145deg, rgba(255,255,255,.025), rgba(255,255,255,.008)) !important;
    box-shadow: 0 14px 32px rgba(0,0,0,.12) !important;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background-color .25s ease !important;
  }
  .desktop-differential-card:hover {
    transform: translateY(-3px) !important;
    border-color: rgba(224,189,132,.28) !important;
    box-shadow: 0 20px 40px rgba(0,0,0,.22) !important;
  }
  .desktop-differential-icon {
    display: grid !important;
    place-items: center !important;
    width: 42px !important;
    height: 42px !important;
    border: 1px solid rgba(224,189,132,.22) !important;
    border-radius: 13px !important;
    background: rgba(197,154,93,.07) !important;
    color: #d7af77 !important;
  }
  .desktop-differential-icon svg {
    width: 21px !important;
    height: 21px !important;
  }
  .desktop-differential-card strong {
    display: block !important;
    margin-top: 16px !important;
    color: #f0ebe5 !important;
    font-size: 13px !important;
  }
  .desktop-differential-card p {
    margin: 8px 0 0 !important;
    color: #918a83 !important;
    font-size: 11px !important;
    line-height: 1.55 !important;
  }

  /* Depoimentos — estrutura pronta para substituir por avaliações reais */
  .desktop-testimonials {
    padding: 34px !important;
  }
  .desktop-testimonial-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0,1fr)) !important;
    gap: 16px !important;
    margin-top: 24px !important;
  }
  .desktop-testimonial-card {
    display: flex !important;
    flex-direction: column !important;
    min-height: 210px !important;
    padding: 24px !important;
    border: 1px solid rgba(255,255,255,.075) !important;
    border-radius: 17px !important;
    background: rgba(255,255,255,.018) !important;
    box-shadow: 0 14px 34px rgba(0,0,0,.14) !important;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease !important;
  }
  .desktop-testimonial-card:hover {
    transform: translateY(-3px) !important;
    border-color: rgba(224,189,132,.26) !important;
    box-shadow: 0 20px 44px rgba(0,0,0,.22) !important;
  }
  .desktop-testimonial-stars {
    color: #d7ad72 !important;
    font-size: 13px !important;
    letter-spacing: .12em !important;
  }
  .desktop-testimonial-card blockquote {
    flex: 1 1 auto !important;
    margin: 18px 0 24px !important;
    color: #b4ada5 !important;
    font-size: 12px !important;
    line-height: 1.68 !important;
  }
  .desktop-testimonial-card footer {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding-top: 15px !important;
    border-top: 1px solid rgba(255,255,255,.06) !important;
  }
  .desktop-testimonial-card footer strong {
    color: #eee8e0 !important;
    font-size: 11px !important;
  }
  .desktop-testimonial-card footer span {
    color: #7e7771 !important;
    font-size: 9px !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
  }

  /* CTA final da home */
  .desktop-premium-cta {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) auto !important;
    align-items: center !important;
    gap: 34px !important;
    padding: 38px 42px !important;
    background:
      linear-gradient(90deg, rgba(197,154,93,.09), transparent 42%),
      linear-gradient(145deg, #171515, #0d0d0e) !important;
  }
  .desktop-premium-cta h3 {
    margin: 8px 0 0 !important;
    color: #f4efe9 !important;
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 38px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
  }
  .desktop-premium-cta p {
    margin: 10px 0 0 !important;
    color: #958e86 !important;
    font-size: 12px !important;
  }
  .desktop-premium-cta button {
    min-width: 184px !important;
    min-height: 50px !important;
    cursor: pointer !important;
    transition: transform .24s ease, filter .24s ease, box-shadow .24s ease !important;
  }
  .desktop-premium-cta button:hover {
    transform: translateY(-2px) !important;
    filter: brightness(1.06) !important;
    box-shadow: 0 16px 34px rgba(197,154,93,.16) !important;
  }

  /* Footer institucional desktop */
  #desktopPremiumFooter {
    display: block !important;
    margin-top: 36px !important;
    border-top: 1px solid rgba(255,255,255,.07) !important;
    background: #09090a !important;
    box-shadow: 0 -22px 50px rgba(0,0,0,.12) !important;
  }
  .desktop-footer-inner {
    width: min(1360px, calc(100% - 64px)) !important;
    margin-inline: auto !important;
    padding: 46px 0 26px !important;
  }
  .desktop-footer-grid {
    display: grid !important;
    grid-template-columns: 1.25fr .8fr 1fr 1fr !important;
    gap: 44px !important;
  }
  .desktop-footer-brand {
    display: flex !important;
    align-items: flex-start !important;
    gap: 15px !important;
  }
  .desktop-footer-brand img {
    width: 48px !important;
    height: 48px !important;
    object-fit: contain !important;
  }
  .desktop-footer-brand strong {
    display: block !important;
    color: #f2ede7 !important;
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 25px !important;
    line-height: 1 !important;
    letter-spacing: .04em !important;
  }
  .desktop-footer-brand span {
    display: block !important;
    margin-top: 7px !important;
    color: #827b74 !important;
    font-size: 9px !important;
    font-weight: 700 !important;
    letter-spacing: .24em !important;
    text-transform: uppercase !important;
  }
  .desktop-footer-col h4 {
    margin: 0 0 14px !important;
    color: #cda66f !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;
  }
  .desktop-footer-links {
    display: grid !important;
    gap: 9px !important;
  }
  .desktop-footer-links button,
  .desktop-footer-links a {
    width: fit-content !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #9d958d !important;
    font: inherit !important;
    font-size: 11px !important;
    line-height: 1.5 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: color .22s ease, transform .22s ease !important;
  }
  .desktop-footer-links button:hover,
  .desktop-footer-links a:hover {
    color: #dfbb85 !important;
    transform: translateX(2px) !important;
  }
  .desktop-footer-address,
  .desktop-footer-hours {
    color: #918981 !important;
    font-size: 11px !important;
    line-height: 1.7 !important;
  }
  .desktop-footer-bottom {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px !important;
    margin-top: 34px !important;
    padding-top: 20px !important;
    border-top: 1px solid rgba(255,255,255,.055) !important;
    color: #6f6963 !important;
    font-size: 9.5px !important;
  }
  .desktop-footer-bottom span:last-child {
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
  }
}

@media (min-width: 1440px) {
  #desktopPremiumMount {
    gap: 30px !important;
    margin-top: 30px !important;
  }
  .desktop-gallery-card,
  .desktop-gallery-card img {
    min-height: 286px !important;
  }
  .desktop-about,
  .desktop-about-media,
  .desktop-about-media img {
    min-height: 520px !important;
  }
}

@media (min-width: 1800px) {
  .desktop-gallery-card,
  .desktop-gallery-card img {
    min-height: 305px !important;
  }
  .desktop-footer-inner {
    width: min(1360px, calc(100% - 96px)) !important;
  }
}
