/* ==========================================================================
   Britto Móveis e Corrimão — Landing Page
   Base: Bootstrap 5 + estilos customizados
   Paleta: grafite/preto + dourado da marca
   ========================================================================== */

:root {
  --grafite:        #16130F;
  --grafite-900:    #100D0A;
  --grafite-800:    #1C1811;
  --dourado:        #C6A153;
  --dourado-claro:  #DBB86A;
  --dourado-escuro: #A8863E;
  --areia:          #F4F0E9;
  --areia-2:        #EAE4DA;
  --texto-claro:    #ECE7DE;
  --texto-mute:     #A39A8C;
  --texto-escuro:   #1A1611;
  --texto-escuro-2: #544D43;
  --wpp:            #25D366;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Archivo', system-ui, sans-serif;
  background: var(--grafite);
  color: var(--texto-claro);
  -webkit-font-smoothing: antialiased;
  margin: 0;
}

h1, h2, h3, .serif { font-family: 'Playfair Display', serif; }

a { color: var(--dourado); text-decoration: none; }
a:hover { color: var(--dourado-claro); }

::selection { background: var(--dourado); color: var(--grafite); }

.container-b { max-width: 1240px; }

/* Eyebrow / rótulo de seção -------------------------------------------------*/
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  font-weight: 700; color: var(--dourado);
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--dourado); }
.eyebrow.center::after { content: ""; width: 34px; height: 1px; background: var(--dourado); }
.eyebrow.dark { color: var(--dourado-escuro); }
.eyebrow.dark::before, .eyebrow.dark.center::after { background: var(--dourado-escuro); }

/* Botões --------------------------------------------------------------------*/
.btn-gold {
  background: var(--dourado); color: var(--grafite);
  font-weight: 700; border-radius: 2px; padding: 15px 26px;
  border: 0; display: inline-flex; align-items: center; gap: 10px;
  transition: background .25s ease;
}
.btn-gold:hover { background: var(--dourado-claro); color: var(--grafite); }

.btn-outline-light-2 {
  background: transparent; color: var(--areia);
  font-weight: 600; border-radius: 2px; padding: 15px 26px;
  border: 1px solid rgba(244,240,233,.28);
  display: inline-flex; align-items: center; gap: 10px;
  transition: all .25s ease;
}
.btn-outline-light-2:hover { border-color: var(--dourado); color: var(--dourado); }

.btn-dark-2 {
  background: var(--grafite); color: var(--areia);
  font-weight: 700; border-radius: 2px; padding: 18px 34px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: background .25s ease;
}
.btn-dark-2:hover { background: #000; color: var(--areia); }

/* Header --------------------------------------------------------------------*/
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(18,15,11,.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(198,161,83,.18);
}
.site-header .logo { height: 56px; width: auto; display: block; }
.social-link { display: inline-flex; line-height: 0; }
.social-ico { width: 40px; height: 40px; display: block; transition: transform .18s ease, filter .18s ease; }
.social-link:hover .social-ico { transform: translateY(-2px) scale(1.08); filter: drop-shadow(0 5px 12px rgba(0,0,0,.4)); }
.site-header .social-ico { width: 36px; height: 36px; }
.site-footer .social-ico { width: 46px; height: 46px; }
.site-nav a {
  color: #C6BEB1; font-size: 14px; font-weight: 500; letter-spacing: .02em;
}
.site-nav a:hover { color: var(--dourado); }

/* Hero ----------------------------------------------------------------------*/
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: flex-end;
  background-color: var(--grafite-900);
  background-image: url('https://esquadriper.com.br/wp-content/uploads/2023/12/Corrimao-Ferro-Forjado-1-1.jpg');
  background-size: cover; background-position: center; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(16,13,10,.95) 0%, rgba(16,13,10,.78) 42%, rgba(16,13,10,.42) 78%, rgba(16,13,10,.55) 100%);
}
.hero > .container-b { position: relative; }
.hero h1 {
  font-weight: 700; font-size: clamp(33.6px, 4.96vw, 67.2px);
  line-height: 1.02; color: var(--areia); letter-spacing: -.01em;
}
.hero p.lead-txt {
  font-size: clamp(16px, 1.5vw, 20px); line-height: 1.65;
  color: #C6BEB1; max-width: 600px;
}
.hero strong { color: var(--areia); font-weight: 600; }

/* Stats ---------------------------------------------------------------------*/
.stats {
  background: var(--grafite-800);
  border-top: 1px solid rgba(198,161,83,.16);
  border-bottom: 1px solid rgba(198,161,83,.16);
}
.stat-cell { padding: 34px 26px; border-left: 1px solid rgba(198,161,83,.14); }
.stat-cell .big { font-family: 'Playfair Display', serif; font-size: 34px; color: var(--dourado); font-weight: 700; line-height: 1; }
.stat-cell .lbl { margin-top: 8px; font-size: 13px; color: var(--texto-mute); line-height: 1.4; }

/* Seções claras -------------------------------------------------------------*/
.section-light { background: var(--areia); color: var(--texto-escuro); padding: 104px 0; }
.section-sand  { background: var(--areia-2); color: var(--texto-escuro); padding: 104px 0; }
.section-dark  { background: var(--grafite); padding: 104px 0; }

.section-title { font-weight: 700; font-size: clamp(30px, 4.4vw, 54px); line-height: 1.05; letter-spacing: -.01em; }
.section-title.light-txt { color: var(--areia); }

/* Cards de produto ----------------------------------------------------------*/
.product-card {
  display: block; color: inherit; text-decoration: none;
  background-color: var(--grafite-800);
  background-image: repeating-linear-gradient(135deg, rgba(198,161,83,.10) 0 1px, transparent 1px 15px);
  border: 1px solid rgba(0,0,0,.08); overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease; height: 100%;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -20px rgba(26,22,17,.55); color: inherit; }
.product-card .thumb { height: 300px; position: relative; }
.product-card .thumb .cap { position: absolute; top: 16px; left: 16px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: rgba(236,231,222,.4); }
.product-card .thumb .num { position: absolute; top: 14px; right: 16px; font-family: 'Playfair Display', serif; font-size: 20px; color: rgba(198,161,83,.5); }
.product-card .body { padding: 22px; background: var(--grafite); border-top: 1px solid rgba(198,161,83,.2); }
.product-card .body h3 { font-size: 23px; font-weight: 600; color: var(--areia); margin: 0; }
.product-card .body p { margin-top: 8px; font-size: 13.5px; line-height: 1.55; color: var(--texto-mute); }
.product-card .card-btn {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  background: var(--dourado); color: var(--grafite); font-weight: 700; font-size: 13px;
  padding: 11px 18px; border-radius: 2px; transition: background .25s ease;
}
.product-card:hover .card-btn { background: var(--dourado-claro); }

/* Placeholders de imagem ----------------------------------------------------*/
.img-ph { position: relative; border: 1px solid rgba(198,161,83,.2); }
.img-ph .cap { position: absolute; top: 18px; left: 18px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(236,231,222,.4); }
.img-ph.dark { background-color: var(--grafite-900); background-image: repeating-linear-gradient(135deg, rgba(198,161,83,.09) 0 1px, transparent 1px 18px); }
.img-ph.dark-2 { background-color: var(--grafite-800); background-image: repeating-linear-gradient(122deg, rgba(198,161,83,.12) 0 1px, transparent 1px 18px); border-color: rgba(0,0,0,.1); }

/* Carrossel de imagens (crossfade automático) -------------------------------*/
.slideshow { position: relative; overflow: hidden; }
.slideshow .slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  opacity: 0; animation: slideFade 24s infinite;
}
.slideshow .slide:nth-child(1) { animation-delay: 0s; }
.slideshow .slide:nth-child(2) { animation-delay: 6s; }
.slideshow .slide:nth-child(3) { animation-delay: 12s; }
.slideshow .slide:nth-child(4) { animation-delay: 18s; }
@keyframes slideFade {
  0%   { opacity: 0; }
  3%   { opacity: 1; }
  25%  { opacity: 1; }
  28%  { opacity: 0; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .slideshow .slide { animation: none; }
  .slideshow .slide:nth-child(1) { opacity: 1; }
}

/* Sob medida ----------------------------------------------------------------*/
.tag-pill {
  border: 1px solid rgba(198,161,83,.35); color: var(--dourado-claro);
  font-size: 13px; font-weight: 500; padding: 10px 18px; border-radius: 2px; letter-spacing: .02em;
}

/* Bloco de números (sobre) --------------------------------------------------*/
.fact { border-top: 2px solid var(--dourado); padding-top: 14px; }
.fact .big { font-family: 'Playfair Display', serif; font-size: 30px; font-weight: 700; color: var(--texto-escuro); }
.fact .lbl { font-size: 13px; color: #6E665A; margin-top: 4px; }

/* Depoimentos ---------------------------------------------------------------*/
.quote-card { background: var(--grafite-800); border: 1px solid rgba(198,161,83,.16); padding: 34px 30px; height: 100%; display: flex; flex-direction: column; }
.quote-card .mark { font-family: 'Playfair Display', serif; font-size: 54px; color: rgba(198,161,83,.4); line-height: .6; height: 26px; background: transparent; padding: 0; }
.quote-card p { font-size: 15.5px; line-height: 1.7; color: #D8D0C4; flex: 1; }
.quote-card .who { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(198,161,83,.16); }
.quote-card .who .name { font-weight: 600; font-size: 14px; color: var(--areia); }
.quote-card .who .role { font-size: 12.5px; color: var(--texto-mute); margin-top: 2px; }

/* Carrossel de logos de clientes --------------------------------------------*/
.logos-viewport {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.logos-track { display: flex; align-items: center; gap: 56px; width: max-content; animation: logos-scroll 48s linear infinite; }
.logos-viewport:hover .logos-track { animation-play-state: paused; }
@keyframes logos-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.client-logo {
  flex: 0 0 auto; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  height: 96px; min-width: 176px; padding: 0 26px;
  border: 1px solid rgba(198,161,83,.18); background: var(--grafite-800);
  color: rgba(236,231,222,.55); filter: grayscale(1); opacity: .72;
  transition: opacity .22s ease, filter .22s ease, color .22s ease, border-color .22s ease;
}
.client-logo:hover { opacity: 1; filter: grayscale(0); color: var(--areia); border-color: rgba(198,161,83,.5); }
.client-logo .cl-mark { font-family: 'Playfair Display', serif; font-size: 28px; line-height: 1; letter-spacing: .04em; color: var(--dourado); }
.client-logo .cl-word { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; }
.client-logo img { max-height: 56px; max-width: 150px; width: auto; height: auto; object-fit: contain; }
a.client-logo { text-decoration: none; }
@media (prefers-reduced-motion: reduce) { .logos-track { animation: none; } }

/* Texto institucional dinâmico (seção A empresa) ----------------------------*/
.inst-sobre p { font-size: 16px; line-height: 1.7; color: #544D43; max-width: 520px; margin: 0 0 18px; }
.inst-sobre p:last-child { margin-bottom: 0; }

/* CTA final -----------------------------------------------------------------*/
.cta-final { background: var(--dourado); color: var(--grafite); padding: 88px 0; }
.cta-final h2 { font-weight: 700; font-size: clamp(30px, 4vw, 50px); line-height: 1.05; }
.cta-final p { color: #3d3117; font-size: 16px; max-width: 440px; }
.cta-final .phone { color: #3d3117; font-weight: 600; font-size: 14px; }

/* Footer --------------------------------------------------------------------*/
.site-footer { background: var(--grafite-900); color: #C6BEB1; padding: 72px 0 34px; }
.site-footer .logo { height: 44px; width: auto; margin-bottom: 22px; }
.site-footer .col-title { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--dourado); font-weight: 700; margin-bottom: 18px; }
.site-footer p { font-size: 14px; line-height: 2; color: #C6BEB1; }
.site-footer .desc { color: #8F877A; line-height: 1.7; max-width: 320px; }
.footer-bar { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(198,161,83,.14); font-size: 12.5px; color: #6E665A; }

/* WhatsApp flutuante --------------------------------------------------------*/
.wpp-float {
  position: fixed; right: 26px; bottom: 26px; z-index: 80;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--wpp); color: #0b3d24; font-weight: 700; font-size: 15px;
  padding: 15px 22px; border-radius: 100px; box-shadow: 0 14px 34px -10px rgba(0,0,0,.55);
  transition: background .25s ease;
}
.wpp-float:hover { background: #1fbe5a; color: #0b3d24; }
.wpp-float svg { flex-shrink: 0; }

/* Responsivo -----------------------------------------------------------------*/
@media (max-width: 991px) {
  .site-nav { display: none !important; }
  .stat-cell { border-left: 0; border-top: 1px solid rgba(198,161,83,.14); }
}
@media (max-width: 767px) {
  .section-light, .section-sand, .section-dark { padding: 72px 0; }
  .hero { min-height: 80vh; }
}
