/* ============ Tendências — design tokens from brand guide ============ */
:root {
  --white: #FFFFFF;
  --offwhite: #F5F0EB;
  --grafite: #1A1A1A;
  --cinza: #E8E8E8;
  --camel: #A47551;
  --vermelho: #EC1D24;
  /* Variantes só para texto pequeno — atingem 4,5:1 (WCAG AA) sobre branco e off-white.
     Não usar em botões, bordas, filetes ou fundos: nesses casos vale o tom original. */
  --camel-texto: #8F6340;
  --vermelho-texto: #C4161C;
  --serif: 'Lora', Georgia, serif;
  --sans: 'Inter', -apple-system, sans-serif;
  --maxw: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }
body { overflow-x: hidden; max-width: 100%; }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--grafite);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--serif); text-wrap: balance; }
h1 { font-size: 40px; font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; }
h2 { font-size: 30px; font-weight: 600; line-height: 1.18; }
h3 { font-size: 22px; font-weight: 500; line-height: 1.3; }
@media (min-width: 900px) {
  h1 { font-size: 64px; }
  h2 { font-size: 40px; }
  h3 { font-size: 28px; }
}
.label {
  font-size: 14px; font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.05em; color: var(--vermelho-texto);
}
/* Em fundo grafite o vermelho original tem mais contraste que a variante escurecida,
   então a seção escura mantém o tom cheio. */
.section-dark .label { color: var(--vermelho); }
.lead { font-weight: 500; font-size: 17px; }
.caption { font-size: 13px; color: #777; }
p { text-wrap: pretty; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 15px; font-weight: 500; letter-spacing: 0.02em;
  padding: 14px 28px; border: 1px solid transparent; border-radius: 2px;
  text-decoration: none; transition: background 0.2s, border-color 0.2s, color 0.2s;
  min-height: 48px;
}
.btn-primary { background: var(--vermelho); color: var(--white); }
.btn-primary:hover { background: #A93226; }
.btn-outline { background: transparent; color: var(--grafite); border-color: var(--grafite); }
.btn-outline:hover { border-color: var(--camel); color: var(--camel); }
.btn-outline-light { background: transparent; color: var(--offwhite); border-color: rgba(245,240,235,0.45); }
.btn-outline-light:hover { border-color: var(--offwhite); }
.btn-ghost { background: transparent; color: var(--grafite); border: none; padding: 14px 8px; }
.btn-ghost:hover { color: var(--camel); }

/* ---------- navbar (light, keeps logo colors) ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--white); color: var(--grafite);
  border-bottom: 1px solid var(--cinza);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.nav-logo { flex-shrink: 0; margin-right: 40px; }
.nav-logo img { height: 34px; width: auto; }
.nav-links { display: none; align-items: center; gap: 28px; white-space: nowrap; }
.nav-links a {
  font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em;
  text-decoration: none; color: var(--grafite); opacity: 0.72;
  transition: color 0.2s, opacity 0.2s; padding: 6px 0;
  border-bottom: 1px solid transparent;
}
.nav-links a:hover { opacity: 1; color: var(--camel); }
.nav-cta { display: none; }
@media (min-width: 1100px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; padding: 10px 22px; min-height: 40px; font-size: 14px; }
}

/* ---------- hero ---------- */
.hero { padding: 128px 0 0; background: var(--white); }
.hero.offbg { background: var(--offwhite); }
.hero-head { max-width: 780px; }
.hero-head .label { display: block; margin-bottom: 18px; }
.hero-head p { margin-top: 22px; max-width: 600px; color: #444; }
.hero-paths {
  display: grid; gap: 20px; margin: 48px 0 0; padding-bottom: 72px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .hero-paths { grid-template-columns: 1fr 1fr; gap: 24px; } }
.path-card {
  border: 1px solid var(--cinza); background: var(--white);
  padding: 0; display: flex; flex-direction: column;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.path-card:hover { border-color: var(--camel); box-shadow: 0 12px 32px rgba(26,26,26,0.07); }
.path-body { padding: 28px 28px 32px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.path-body h3 { margin-top: 2px; }
.path-body p { color: #555; font-size: 16px; flex: 1; }
.path-body .btn { align-self: flex-start; margin-top: 8px; }

/* hero variant B: single image */
.hero-single { display: grid; gap: 36px; padding-bottom: 72px; margin-top: 48px; }
@media (min-width: 900px) {
  .hero-single { grid-template-columns: 1.1fr 0.9fr; align-items: end; gap: 56px; }
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* ---------- stats strip ---------- */
.stats { background: var(--grafite); color: var(--offwhite); padding: 44px 0; }
.stats-grid { display: grid; grid-template-columns: 1fr; gap: 32px 24px; text-align: center; max-width: 900px; margin: 0 auto; }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(3, 1fr); } }
.stat .num { font-family: var(--serif); font-size: 38px; font-weight: 600; line-height: 1; }
@media (min-width: 900px) { .stat .num { font-size: 48px; } }
.stat .num em { font-style: normal; color: var(--vermelho); }
.stat .desc { font-size: 14px; margin-top: 8px; opacity: 0.75; letter-spacing: 0.02em; }

/* ---------- section scaffolding ---------- */
section { scroll-margin-top: 90px; }
.section { padding: 88px 0; }
@media (min-width: 900px) { .section { padding: 120px 0; } }
.section-off { background: var(--offwhite); }
.section-dark { background: var(--grafite); color: var(--offwhite); }
.sec-head { max-width: 640px; margin-bottom: 52px; }
.sec-head .label { display: block; margin-bottom: 14px; }
.sec-head p { margin-top: 18px; color: #555; }
.section-dark .sec-head p { color: rgba(245,240,235,0.7); }
.rule { width: 48px; height: 2px; background: var(--camel); border: none; margin: 22px 0 0; }

/* ---------- products ---------- */
.prod-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.prod-tab {
  background: transparent; border: 1px solid var(--cinza); border-radius: 999px;
  padding: 10px 22px; font-size: 14px; font-weight: 500; letter-spacing: 0.04em;
  text-transform: uppercase; color: #666; transition: all 0.2s; min-height: 44px;
}
.prod-tab:hover { border-color: var(--camel); color: var(--camel); }
.prod-tab.active { background: var(--grafite); border-color: var(--grafite); color: var(--offwhite); }
.prod-grid { display: grid; gap: 24px; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 680px) { .prod-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .prod-grid { grid-template-columns: 1fr 1fr 1fr; } }
.prod-card {
  border: 1px solid var(--cinza); background: var(--white);
  display: flex; flex-direction: column; height: 100%; transition: border-color 0.25s, box-shadow 0.25s;
}
.prod-card:hover { border-color: var(--camel); box-shadow: 0 12px 32px rgba(26,26,26,0.06); }
.prod-card img { width: 100%; height: 200px; object-fit: cover; object-position: center; display: block; }
.prod-body { padding: 24px 24px 26px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.prod-body h3 { font-size: 21px; }
.prod-body p { font-size: 15px; color: #555; flex: 1; }
.prod-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  font-size: 12px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--vermelho); border: 1px solid #E6C9C4; padding: 4px 10px; border-radius: 999px;
}
.prod-link {
  font-size: 14px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--grafite); text-decoration: none; margin-top: 8px;
  display: inline-flex; align-items: center; gap: 8px;
}
.prod-link::after { content: '→'; transition: transform 0.2s; }
.prod-link:hover { color: var(--vermelho); }
.prod-link:hover::after { transform: translateX(4px); }

/* ---------- about ---------- */
.historia-label { margin-bottom: 18px; }
.about-hero { position: relative; width: 100%; border-radius: 4px; overflow: hidden; }
.about-hero-img { display: block; width: 100%; height: 360px; object-fit: cover; object-position: center; }
@media (min-width: 900px) { .about-hero-img { height: 520px; } }
.about-hero-overlay {
  position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 24px; background: linear-gradient(180deg, rgba(20,20,20,0) 30%, rgba(20,20,20,0.55) 62%, rgba(20,20,20,0.85) 100%);
}
@media (min-width: 900px) { .about-hero-overlay { padding: 44px 48px; } }
.about-hero-content { max-width: 660px; text-align: left; }
.about-hero-content h2 {
  color: var(--white); margin: 0;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.historia-grid { display: grid; gap: 32px; margin-top: 56px; }
@media (min-width: 900px) {
  .historia-grid { grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: stretch; }
}

.historia-text { display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.historia-text p { font-family: var(--sans); font-size: 19px; line-height: 1.65; color: #444; }
.historia-text strong { font-weight: 600; }

.historia-partners { display: flex; flex-direction: column; height: 100%; }
.historia-partners .label { color: var(--grafite); margin-bottom: 20px; }
.partner-grid {
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(2, 1fr);
  gap: 16px; flex: 1;
}
.partner-card {
  background: var(--white); border: 1px solid var(--cinza); min-height: 128px;
  display: flex; align-items: center; justify-content: center; padding: 18px;
}
.partner-card img { height: 72px; width: auto; max-width: 100%; object-fit: contain; }
.partner-card--skf img { height: 96px; width: auto; max-width: 100%; object-fit: contain; }
.partner-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--white);
  border: 1px solid var(--cinza);
  overflow: hidden;
}
.partner-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ---------- B2B ---------- */
.b2b-grid { display: grid; gap: 48px; }
@media (min-width: 900px) { .b2b-grid { grid-template-columns: 0.9fr 1.1fr; gap: 80px; } }
.b2b-list { display: grid; gap: 0; }
.b2b-item { padding: 26px 0; border-top: 1px solid rgba(245,240,235,0.14); display: grid; grid-template-columns: 52px 1fr; gap: 18px; }
.b2b-item:last-child { border-bottom: 1px solid rgba(245,240,235,0.14); }
.b2b-num { font-family: var(--serif); font-size: 22px; color: var(--vermelho); padding-top: 2px; }
.b2b-item h3 { font-size: 20px; color: var(--offwhite); margin-bottom: 6px; }
.b2b-item p { font-size: 15px; color: rgba(245,240,235,0.65); }
.b2b-cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- process ---------- */
.proc-grid { display: grid; gap: 0; counter-reset: step; }
@media (min-width: 768px) { .proc-grid { grid-template-columns: repeat(4, 1fr); gap: 32px; } }
.proc-step { padding: 24px 0; border-top: 2px solid var(--cinza); position: relative; }
.proc-step::before {
  content: ''; position: absolute; top: -2px; left: 0; width: 36px; height: 2px; background: var(--camel);
}
.proc-step .proc-img { width: 100%; height: 170px; display: block; margin: 22px 0 20px; }
.proc-step .proc-img { object-fit: cover; object-position: center center; }
@media (min-width: 900px) { .proc-step .proc-img { height: 190px; } }
.proc-step .label { color: #999; display: block; margin-bottom: 10px; font-size: 13px; }
.proc-step h3 { font-size: 20px; margin-bottom: 8px; }
.proc-step p { font-size: 15px; color: #555; }

/* ---------- testimonials ---------- */
.testi-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .testi-grid { grid-template-columns: repeat(3, 1fr); } }
.testi-card { background: var(--white); border: 1px solid var(--cinza); padding: 32px 28px; display: flex; flex-direction: column; gap: 18px; }
.testi-stars { color: var(--vermelho-texto); font-size: 14px; letter-spacing: 4px; }
.testi-card blockquote { font-family: var(--serif); font-size: 19px; line-height: 1.5; font-weight: 500; flex: 1; }
.testi-who { font-size: 14px; color: #6B6B6B; }
.testi-who strong { color: var(--grafite); font-weight: 600; display: block; }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: 48px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.1fr 0.9fr; gap: 80px; align-items: start; } }
.contact-card {
  background: var(--white); border: 1px solid var(--cinza); padding: 36px 32px;
  display: flex; flex-direction: column; gap: 18px;
}
.contact-card .big { font-family: var(--serif); font-size: 26px; font-weight: 600; }
.contact-line { display: flex; flex-direction: column; gap: 2px; padding: 14px 0; border-top: 1px solid var(--cinza); }
.contact-line .label { font-size: 12px; color: #6B6B6B; }
.contact-line span { font-size: 16px; }

/* ---------- showroom (bloco superior da seção de Contato) ---------- */
.showroom-grid { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .showroom-grid { grid-template-columns: 0.9fr 1.1fr; gap: 56px; } }
.showroom-text p { margin-top: 26px; color: #555; max-width: 460px; }
.showroom-addr { margin-top: 24px; font-size: 16px; line-height: 1.6; color: var(--grafite); }
.showroom-addr strong { font-weight: 600; }
.showroom-cta { margin-top: 28px; }
.showroom-map {
  border: 1px solid var(--cinza); border-radius: 2px;
  overflow: hidden; background: var(--white); line-height: 0;
}
.showroom-map iframe { display: block; width: 100%; height: 300px; border: 0; }
@media (min-width: 900px) { .showroom-map iframe { height: 420px; } }

/* ---------- footer ---------- */
.footer { background: var(--grafite); color: var(--offwhite); padding: 64px 0 32px; }
.footer-grid { display: grid; gap: 40px; padding-bottom: 48px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; } }
.footer-logo img { height: 28px; width: auto; margin-bottom: 18px; }
.footer p { font-size: 14px; color: rgba(245,240,235,0.6); max-width: 320px; }
.footer-ig {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 18px;
  color: rgba(245,240,235,0.75); text-decoration: none; font-size: 14px;
  transition: color 0.2s;
}
.footer-ig:hover { color: var(--offwhite); }
.footer h4 { font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; color: var(--vermelho); margin-bottom: 16px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer ul a { font-size: 14px; color: rgba(245,240,235,0.75); text-decoration: none; }
.footer ul a:hover { color: var(--offwhite); }
.footer-bottom {
  border-top: 1px solid rgba(245,240,235,0.12); padding-top: 24px;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  font-size: 13px; color: rgba(245,240,235,0.45);
}

/* ---------- floating whatsapp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 54px; height: 54px; border-radius: 50%; background: #1FA855;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(31,168,85,0.28); text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-float:hover { transform: scale(1.05); box-shadow: 0 8px 22px rgba(31,168,85,0.36); }

/* ---------- scroll reveal (sober) ----------
   Visible is the BASE state; .pre (added by JS only to below-fold elements)
   is the hidden pre-animation state — first paint is never blank. */
@media (prefers-reduced-motion: no-preference) {
  body.anim .reveal { transition: opacity 0.7s ease, transform 0.7s ease; }
  body.anim .reveal.pre { opacity: 0; transform: translateY(16px); }
  body.anim .reveal-d1 { transition-delay: 0.08s; }
  body.anim .reveal-d2 { transition-delay: 0.16s; }
}


/* ---------- contact form ---------- */
.contact-form-sep {
  display: flex; align-items: center; gap: 14px; margin: 32px 0 24px;
}
.contact-form-sep::before, .contact-form-sep::after {
  content: ''; flex: 1; height: 1px; background: var(--cinza);
}
.contact-form-or {
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  letter-spacing: 0.05em; color: var(--camel-texto); white-space: nowrap;
}
.contact-form { display: grid; gap: 16px; }
.cf-field { display: flex; flex-direction: column; gap: 6px; }
.cf-label {
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase; color: #6B6B6B;
}
.cf-input {
  font-family: var(--sans); font-size: 16px; color: var(--grafite);
  background: var(--white); border: 1px solid var(--cinza); border-radius: 2px;
  padding: 12px 14px; outline: none; transition: border-color 0.2s;
  width: 100%;
}
.cf-input::placeholder { color: #B0A89E; }
.cf-input:focus { border-color: var(--camel); }
.cf-textarea { resize: vertical; min-height: 110px; }
.cf-submit { width: 100%; margin-top: 4px; justify-content: center; }
/* Campo-armadilha do formulario: precisa ficar invisivel para pessoas
   sem usar display:none, porque alguns robos ignoram campos com
   display:none. Fora da tela funciona melhor. */
.cf-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- photo hero (full-bleed) ---------- */
.hero-photo { position: relative; min-height: 92vh; display: flex; align-items: flex-end; overflow: hidden; background: var(--grafite); }
.hero-photo .hero-media { position: absolute; inset: 0; }
.hero-photo .hero-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(20,20,20,0.42) 0%, rgba(20,20,20,0.06) 32%, rgba(20,20,20,0.10) 50%, rgba(20,20,20,0.60) 78%, rgba(20,20,20,0.86) 100%);
}
.hero-photo .wrap { position: relative; z-index: 2; width: 100%; padding-top: 150px; padding-bottom: 76px; }
.hero-photo .hero-content { max-width: 720px; }
.hero-photo .label { color: #D9B894; display: block; margin-bottom: 18px; }
.hero-photo h1 { color: var(--offwhite); }
.hero-photo p { margin-top: 22px; max-width: 560px; color: rgba(245,240,235,0.9); }
.hero-photo .hero-ctas { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
@media (min-width: 900px) { .hero-photo { min-height: 100vh; } }

/* ---------- portal (two paths) ---------- */
.portal-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .portal-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
.portal-card {
  position: relative; min-height: 460px; display: flex; align-items: flex-end;
  overflow: hidden; text-decoration: none; color: var(--offwhite); background: var(--grafite);
}
.portal-card .pc-media { position: absolute; inset: 0; }
.portal-card .pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(.2,.6,.2,1); }
.portal-card:hover .pc-media img { transform: scale(1.05); }
.portal-card .pc-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(20,20,20,0.12) 0%, rgba(20,20,20,0.12) 40%, rgba(20,20,20,0.82) 100%);
}
.portal-card .pc-body { position: relative; z-index: 2; padding: 38px 34px 36px; width: 100%; }
.portal-card .pc-body .label { color: #E3C4A6; display: block; margin-bottom: 12px; }
.portal-card .pc-body h3 { color: var(--offwhite); font-size: 27px; margin-bottom: 12px; }
@media (min-width: 900px) { .portal-card .pc-body h3 { font-size: 31px; } }
.portal-card .pc-body h3.pc-title-lg { font-size: 34px; margin-bottom: 14px; }
@media (min-width: 900px) { .portal-card .pc-body h3.pc-title-lg { font-size: 46px; } }
.portal-card .pc-body p { color: rgba(245,240,235,0.86); font-size: 16px; max-width: 44ch; }
/* Reserva 3 linhas para o parágrafo, alinhando os títulos dos dois cards lado a lado.
   line-height base = 1.65 → 3 linhas ≈ 4.95em */
@media (min-width: 760px) { .portal-card .pc-body p { min-height: 4.95em; } }
.portal-card .pc-link {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 22px;
  font-size: 14px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--offwhite);
}
.portal-card .pc-link .arw { display: inline-flex; transition: transform 0.25s; }
.portal-card:hover .pc-link .arw { transform: translateX(6px); }
.portal-card .pc-link.is-red { color: #E8A599; }

/* ---------- subpage hero ---------- */
.subhero { position: relative; min-height: 56vh; display: flex; align-items: flex-end; overflow: hidden; background: var(--grafite); }
.subhero .hero-media { position: absolute; inset: 0; }
.subhero .hero-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(20,20,20,0.5) 0%, rgba(20,20,20,0.2) 40%, rgba(20,20,20,0.55) 75%, rgba(20,20,20,0.85) 100%);
}
.subhero .wrap { position: relative; z-index: 2; width: 100%; padding-top: 150px; padding-bottom: 60px; }
.subhero .label { color: #D9B894; display: block; margin-bottom: 16px; }
.subhero h1 { color: var(--offwhite); max-width: 16ch; }
.subhero p { margin-top: 20px; max-width: 600px; color: rgba(245,240,235,0.9); }
@media (min-width: 900px) { .subhero { min-height: 64vh; } }

/* ---------- intro block (subpages) ---------- */
.intro-block { max-width: 760px; }
.intro-block .lead { font-size: 21px; line-height: 1.5; }
@media (min-width: 900px) { .intro-block .lead { font-size: 24px; } }
.intro-block p + p { margin-top: 18px; color: #555; font-size: 17px; }

/* ---------- audience recognition cards ---------- */
.aud-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .aud-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.aud-card { border: 1px solid rgba(245,240,235,0.16); padding: 30px 28px; }
.aud-card h3 { color: var(--offwhite); font-size: 21px; margin-bottom: 10px; }
.aud-card p { font-size: 15px; color: rgba(245,240,235,0.66); }
.aud-card .ix { font-family: var(--serif); font-size: 20px; color: var(--camel); display: block; margin-bottom: 16px; }

/* ---------- scale examples list ---------- */
.scale-list { display: grid; gap: 0; max-width: 860px; }
.scale-row { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 26px 0; border-top: 1px solid var(--cinza); }
@media (min-width: 700px) { .scale-row { grid-template-columns: 240px 1fr; gap: 28px; align-items: baseline; } }
.scale-row:last-child { border-bottom: 1px solid var(--cinza); }
.scale-row h3 { font-size: 20px; }
.scale-row p { color: #555; font-size: 16px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--grafite); color: var(--offwhite); }
.cta-band .wrap { padding: 88px 24px; text-align: center; }
.cta-band h2 { color: var(--offwhite); max-width: 18ch; margin: 0 auto; }
.cta-band p { margin: 18px auto 0; max-width: 52ch; color: rgba(245,240,235,0.72); }
.cta-band .hero-ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta-band .rule { margin: 22px auto 0; }

/* Hero background image: center no desktop, deslocado para direita no mobile */
.hero-bg-img { object-position: center; }
@media (max-width: 899px) { .hero-bg-img { object-position: 55% center; } }

@media (max-width: 768px) {
  .nav-whatsapp {
    display: none;
  }
}

/* ============ Persianas — revenda Amorim, motorização, catálogo ============ */

/* revenda oficial Amorim (§3) — logo à esquerda, texto à direita no desktop */
.amorim-band { display: grid; gap: 28px; align-items: center; }
@media (min-width: 768px) { .amorim-band { grid-template-columns: 280px 1fr; gap: 48px; } }
.amorim-logo {
  display: flex; align-items: center; justify-content: center;
  background: var(--white); border: 1px solid var(--cinza); border-radius: 2px;
  padding: 32px 28px;
}
.amorim-logo img { max-width: 100%; max-height: 72px; width: auto; object-fit: contain; }
.amorim-text p { font-size: 17px; line-height: 1.6; color: #444; max-width: 60ch; }
.amorim-text strong { color: var(--grafite); font-weight: 600; }

/* motorização (§4) — dois blocos lado a lado, detalhe camel por bloco */
.motor-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .motor-grid { grid-template-columns: 1fr 1fr; } }
.motor-card {
  background: var(--white); border: 1px solid var(--cinza); border-radius: 2px;
  padding: 34px 32px; display: flex; flex-direction: column; gap: 12px;
}
.motor-rule { width: 36px; height: 2px; background: var(--camel); border: none; margin: 0 0 6px; }
.motor-card h3 { font-size: 22px; }
.motor-card p { font-size: 16px; color: #555; }

/* catálogo de modelos (§5/§8) — grid responsivo de cards */
.cat-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .cat-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .cat-grid { grid-template-columns: 1fr 1fr 1fr; } }
/* Catálogo de Películas: 4 itens em 2 colunas no desktop, evitando card órfão */
@media (min-width: 1024px) { .cat-grid.cat-grid-2 { grid-template-columns: 1fr 1fr; } }
/* Cards do catálogo de Películas (2 col): imagem em 4:3 em vez da altura fixa de 200px */
.cat-grid-2 .cat-img { height: auto; aspect-ratio: 4 / 3; }
.cat-card {
  border: 1px solid var(--cinza); border-radius: 2px; background: var(--white);
  display: flex; flex-direction: column; overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.cat-card:hover { border-color: var(--camel); box-shadow: 0 12px 32px rgba(26,26,26,0.07); }
.cat-card > a { display: flex; flex-direction: column; flex: 1; }
.cat-img { width: 100%; height: 200px; overflow: hidden; flex-shrink: 0; background: var(--cinza); }
.cat-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.cat-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cat-body h3 { font-size: 20px; }
.cat-body p { font-size: 15px; color: #555; flex: 1; }

.section-sm { padding-top: 48px; padding-bottom: 48px; }

/* ===== Box / Configurador ===== */

/* Hero — texto escuro (--grafite) sobre a área clara da foto, com scrim de apoio */
.box-hero {
  position: relative; display: flex; align-items: center; overflow: hidden;
  min-height: 78vh; padding: 104px 0 64px; background: var(--offwhite);
}
.box-hero .hero-media { position: absolute; inset: 0; }
.box-hero .hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
/* scrim offwhite→transparente vindo da esquerda: garante contraste do texto escuro */
.box-hero .box-hero-scrim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(245,240,235,0.94) 0%, rgba(245,240,235,0.78) 32%, rgba(245,240,235,0.22) 60%, rgba(245,240,235,0) 82%);
}
.box-hero .wrap { position: relative; z-index: 2; width: 100%; }
.box-hero-content { max-width: 620px; }
.box-hero h1 { color: var(--grafite); max-width: 14ch; }
.box-hero-sub { margin-top: 20px; max-width: 48ch; font-size: 18px; font-weight: 500; color: #444; }
.box-hero-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 22px;
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  letter-spacing: 0.05em; text-transform: uppercase; color: var(--camel-texto);
  background: rgba(255,255,255,0.55); border: 1px solid var(--camel);
  border-radius: 6px; padding: 8px 16px 8px 8px;
}
.box-hero-badge-logo {
  height: 44px; width: auto; object-fit: contain; border-radius: 0; display: block;
}
.box-hero-cta { margin-top: 28px; }
@media (min-width: 900px) { .box-hero { min-height: 92vh; padding: 128px 0 88px; } }

/* Configurador — split screen (imagem ~60% / painel ~40%), empilha no mobile */
.cfg-grid { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .cfg-grid { grid-template-columns: 1.5fr 1fr; gap: 48px; } }

/* coluna esquerda: proporção fixa evita layout shift ao trocar a imagem */
.cfg-media {
  position: relative; overflow: hidden; aspect-ratio: 4 / 3;
  background: var(--offwhite); border: 1px solid var(--cinza); border-radius: 2px;
}
.cfg-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* coluna direita */
.cfg-panel { display: flex; flex-direction: column; gap: 26px; }
.cfg-block { display: flex; flex-direction: column; gap: 14px; }
.cfg-label {
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  letter-spacing: 0.05em; text-transform: uppercase; color: #6B6B6B;
}

/* galeria de thumbnails por família */
.cfg-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cfg-thumb {
  display: flex; flex-direction: column; gap: 8px; padding: 0;
  background: none; border: none; text-align: center; align-self: start;
}
/* Quadrado via padding-top, nao aspect-ratio: o iOS Safari dimensiona errado a linha implicita do grid quando a altura do item depende de aspect-ratio dentro de <button>. O -4px compensa as bordas de 2px (box-sizing: border-box). */
.cfg-thumb-img {
  position: relative; display: block; width: 100%; overflow: hidden;
  height: 0; padding-top: calc(100% - 4px);
  background: var(--offwhite); border: 2px solid var(--cinza); border-radius: 2px;
  transition: border-color 0.2s, transform 0.2s;
}
.cfg-thumb-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.cfg-thumb-label {
  font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: 0.02em; color: #666; transition: color 0.2s;
}
.cfg-thumb:hover .cfg-thumb-img { border-color: var(--camel); }
.cfg-thumb:hover .cfg-thumb-label { color: var(--camel); }
.cfg-thumb.is-active .cfg-thumb-img { border-color: var(--grafite); transform: scale(1.05); }
.cfg-thumb.is-active .cfg-thumb-label { color: var(--grafite); font-weight: 600; }

/* pills de subcategoria (só quando a família tem mais de uma subopção) */
.cfg-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.cfg-pill {
  background: transparent; border: 1px solid var(--cinza); border-radius: 999px;
  padding: 9px 20px; min-height: 40px;
  font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: 0.02em;
  color: #555; transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.cfg-pill:hover { border-color: var(--camel); color: var(--camel); }
.cfg-pill.is-active { background: var(--grafite); border-color: var(--grafite); color: var(--offwhite); }

/* título + descrição dinâmicos */
.cfg-detail { display: flex; flex-direction: column; gap: 10px; }
.cfg-detail h3 { color: var(--grafite); }
.cfg-detail p { font-size: 17px; line-height: 1.6; color: #555; }

/* ===== Box / Acabamentos, Blindex, Películas, CTA ===== */

/* "Personalize ainda mais" (§ Acabamentos) — blocos empilhados: roldana (fotos), vidro e perfil (swatches) */
.acab-block { display: flex; flex-direction: column; gap: 18px; margin-top: 40px; }
.acab-block:first-of-type { margin-top: 0; }
.acab-block h3 { color: var(--grafite); }

.acab-roldana-grid { display: grid; grid-template-columns: 1fr; gap: 20px; max-width: 620px; }
@media (min-width: 640px) { .acab-roldana-grid { grid-template-columns: 1fr 1fr; } }
.acab-roldana-item { display: flex; flex-direction: column; gap: 10px; }
.acab-roldana-img {
  aspect-ratio: 4 / 3; overflow: hidden;
  background: var(--offwhite); border: 1px solid var(--cinza); border-radius: 2px;
}
.acab-roldana-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.acab-roldana-item figcaption { font-size: 14px; color: #555; text-align: center; }

/* swatches de cor/textura para vidro e perfil de alumínio */
.acab-swatches { display: flex; flex-wrap: wrap; gap: 20px 26px; }
.acab-swatch { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 84px; }
.acab-swatch-color {
  display: block; width: 48px; height: 48px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(26,26,26,0.08);
}
.acab-swatch-label { font-size: 13px; color: #555; text-align: center; }

.acab-note { margin-top: 44px; font-size: 15px; color: #555; }
.acab-note a { color: var(--camel-texto); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.acab-note a:hover { color: var(--vermelho-texto); }

/* "Por que vidro temperado Blindex" — pontos de destaque no padrão amorim-band */
.blindex-points { display: flex; flex-direction: column; gap: 14px; list-style: none; }
.blindex-points li { font-size: 16px; line-height: 1.6; color: #444; padding-left: 20px; position: relative; }
.blindex-points li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--camel);
}
.blindex-points strong { color: var(--grafite); font-weight: 600; }

/* "Películas" — split imagem/texto, empilha no mobile */
.peliculas-grid { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .peliculas-grid { grid-template-columns: 1fr 1fr; gap: 48px; } }
.peliculas-img {
  aspect-ratio: 4 / 3; overflow: hidden;
  background: var(--offwhite); border: 1px solid var(--cinza); border-radius: 2px;
}
.peliculas-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.peliculas-grid p { margin-top: 18px; color: #555; }
.peliculas-cta { margin-top: 28px; }
/* Películas — bloco com imagem à direita no desktop (mantém imagem primeiro no mobile) */
@media (min-width: 900px) {
  .peliculas-grid--rev .peliculas-img { order: 2; }
}

/* Espelhos — Projetos Especiais: imagem acompanha a altura da coluna de texto */
.pe-media { align-items: stretch; }
.pe-media .peliculas-img { aspect-ratio: auto; height: 100%; }

/* Offset de âncora para não cair embaixo do navbar fixo */
.cat-card { scroll-margin-top: 88px; }
#personalizacao, #projetos-especiais, #engenharias, #decoracoes, #catalogo { scroll-margin-top: 88px; }
#quem-atendemos, #por-que-tendencias { scroll-margin-top: 88px; }

.nav-index-btn {
  display: flex; flex-direction: column; gap: 5px; flex-shrink: 0;
  background: none; border: none; padding: 8px; border-radius: 4px;
  transition: background 0.2s;
}
.nav-index-btn:hover { background: var(--offwhite); }
.nav-index-btn span { width: 22px; height: 2px; background: var(--grafite); }
@media (min-width: 1100px) {
  .nav-index-btn {
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%); z-index: 2;
  }
}
/* desktop estreito: garante folga entre o botão fixo à esquerda e o logo */
@media (min-width: 1100px) and (max-width: 1300px) {
  .nav-inner { padding-left: 64px; }
}

.idx-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(26,26,26,0.45); display: flex; justify-content: flex-end; }
.idx-panel {
  width: 380px; max-width: 90vw; height: 100%; background: var(--white);
  box-shadow: -2px 0 24px rgba(0,0,0,0.15); display: flex; flex-direction: column;
  overflow: hidden; animation: idxSlide 0.22s ease;
}
@keyframes idxSlide { from { transform: translateX(100%); } to { transform: translateX(0); } }
@media (min-width: 1100px) {
  .idx-overlay { justify-content: flex-start; }
  .idx-panel { box-shadow: 2px 0 24px rgba(0,0,0,0.15); animation: idxSlideLeft 0.22s ease; }
}
@keyframes idxSlideLeft { from { transform: translateX(-100%); } to { transform: translateX(0); } }
.idx-panel-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid var(--cinza); flex-shrink: 0;
}
.idx-panel-title { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--camel-texto); }
.idx-close { background: none; border: none; font-size: 26px; line-height: 1; color: var(--grafite); padding: 0 4px; }
.idx-close:hover { color: var(--vermelho); }
.idx-tree { overflow-y: auto; flex: 1; padding: 8px 0 32px; }
.idx-tree ul { list-style: none; }
.idx-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-bottom: 1px solid #f0ece5; }
.idx-link {
  flex: 1; padding: 11px 24px; text-decoration: none; color: var(--grafite);
  font-size: 14px; font-weight: 500; letter-spacing: 0.02em; transition: color 0.15s;
}
.idx-link:hover { color: var(--camel); }
.idx-static { opacity: 0.85; cursor: default; }
.idx-toggle {
  background: none; border: none; padding: 8px 20px 8px 8px; color: var(--grafite);
  opacity: 0.6; display: flex; align-items: center; transition: transform 0.2s, opacity 0.2s;
}
.idx-toggle:hover { opacity: 1; color: var(--camel); }
.idx-toggle.is-open { transform: rotate(180deg); }
.idx-children { background: #faf8f4; }
.idx-children .idx-link { font-size: 13.5px; }
