/* ============================================================
   MS Pinturas — Landing Page
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  --blue-900: #0f2c4d;
  --blue-800: #143a63;
  --blue-700: #1d4e86;
  --blue-100: #e7f0fa;
  --orange:   #ff6a2b;
  --orange-dark: #e5541a;
  --amber:    #ffb020;
  --ink:      #16202e;
  --slate:    #52627a;
  --muted:    #8695a8;
  --line:     #e6ebf2;
  --bg:       #ffffff;
  --bg-alt:   #f5f8fc;
  --white:    #ffffff;
  --green:    #25d366;

  --radius:   16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(15, 44, 77, .06);
  --shadow:    0 12px 40px rgba(15, 44, 77, .10);
  --shadow-lg: 0 24px 60px rgba(15, 44, 77, .16);

  --container: 1180px;
  --font-head: 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; letter-spacing: -.02em; }

/* ---------- Layout Helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 780px; }

.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); }

.section__head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section__title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; color: var(--ink); }
.section__lead { color: var(--slate); font-size: 1.08rem; margin-top: 14px; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.eyebrow--light { color: var(--amber); }

.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn--sm  { padding: 9px 18px; font-size: .9rem; }
.btn--lg  { padding: 16px 34px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--amber); color: var(--blue-900); box-shadow: 0 8px 24px rgba(255,176,32,.38); }
.btn--primary:hover { background: #f0a300; color: var(--blue-900); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255,176,32,.48); }
.btn--ghost { background: transparent; color: var(--blue-900); border-color: rgba(15,44,77,.2); }
.btn--ghost:hover { border-color: var(--blue-900); transform: translateY(-2px); }
.btn--whatsapp { background: var(--green); color: #fff; box-shadow: 0 8px 24px rgba(37,211,102,.35); }
.btn--whatsapp:hover { filter: brightness(.95); transform: translateY(-2px); }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.14); color: #fff;
  border: 1px solid rgba(255,255,255,.28);
  padding: 8px 16px; border-radius: 999px; font-size: .85rem; font-weight: 600;
  backdrop-filter: blur(6px); margin-bottom: 22px;
}
.badge svg { color: var(--amber); }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; overflow: hidden;
  background: rgba(255,255,255,.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s;
}
.header::before, .header::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; filter: blur(24px);
}
.header::before {
  background: radial-gradient(55% 140% at 52% 40%, rgba(70, 130, 255, .28), transparent 70%);
  animation: auroraBlue 18s ease-in-out infinite;
}
.header::after {
  background:
    radial-gradient(50% 130% at 14% 50%, rgba(255, 201, 72, .44), transparent 70%),
    radial-gradient(50% 130% at 88% 60%, rgba(255, 176, 32, .38), transparent 70%);
  animation: auroraYellow 9s ease-in-out infinite;
}
.header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.header__inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; height: 92px; }

.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; color: var(--blue-900); }
.logo__img { height: 76px; width: auto; display: block; }
.logo__img--footer { height: 84px; margin-bottom: 4px; }
.logo__mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, var(--orange), var(--amber)); color: #fff; }
.logo__text strong { color: var(--orange); font-weight: 800; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav__link { font-weight: 500; color: var(--slate); font-size: .98rem; transition: color .15s; }
.nav__link:hover, .nav__link:focus { color: var(--amber); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 2.5px; background: var(--blue-900); border-radius: 2px; transition: .3s; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 150px 0 90px; overflow: hidden; color: #fff; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(120deg, rgba(15,44,77,.94), rgba(29,78,134,.86)),
    url('https://images.unsplash.com/photo-1589939705384-5185137a7f0f?auto=format&fit=crop&w=1600&q=80') center/cover;
}
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero__title { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
.hero__title span { color: var(--amber); }
.hero__subtitle { font-size: 1.15rem; color: rgba(255,255,255,.85); margin: 22px 0 32px; max-width: 540px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.hero .btn--ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }

.hero__trust { display: flex; gap: 32px; margin-top: 40px; flex-wrap: wrap; }
.hero__trust li { font-size: .95rem; color: rgba(255,255,255,.8); }
.hero__trust strong { display: block; font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; color: #fff; }

.hero__media { position: relative; }
.hero__img { width: 100%; border-radius: 24px; box-shadow: var(--shadow-lg); aspect-ratio: 4/5; object-fit: cover; }
.hero__img-inset {
  position: absolute; top: -22px; right: -22px; width: 156px; aspect-ratio: 1/1;
  object-fit: cover; border-radius: 18px; border: 5px solid #fff; box-shadow: var(--shadow);
}

/* ---------- Trust Strip ---------- */
.strip { position: relative; overflow: hidden; background: var(--blue-900); color: #fff; }
.strip::before, .strip::after {
  content: ''; position: absolute; inset: -80%; z-index: 0; pointer-events: none; filter: blur(40px);
}
.strip::before {
  background:
    radial-gradient(34% 65% at 48% 30%, rgba(70, 130, 255, .36), transparent 70%),
    radial-gradient(32% 60% at 80% 60%, rgba(90, 170, 255, .32), transparent 70%);
  animation: auroraBlue 21s ease-in-out infinite;
}
.strip::after {
  background:
    radial-gradient(28% 58% at 14% 40%, rgba(255, 201, 72, .42), transparent 70%),
    radial-gradient(26% 52% at 62% 62%, rgba(255, 176, 32, .36), transparent 70%),
    radial-gradient(24% 50% at 94% 38%, rgba(255, 214, 102, .34), transparent 70%);
  animation: auroraYellow 10s ease-in-out infinite;
}
.strip__inner { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 24px; padding: 20px 24px; }
.strip__item { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: .95rem; color: rgba(255,255,255,.9); }
.strip__icon { font-size: 1.2rem; }

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }

/* ---------- Services ---------- */
.service { position: relative; overflow: hidden; background: var(--blue-900); border-color: rgba(255,255,255,.12); }
.service::before, .service::after {
  content: ''; position: absolute; inset: -40%; z-index: 0; pointer-events: none; filter: blur(30px);
}
.service::before {
  background:
    radial-gradient(46% 56% at 72% 24%, rgba(70, 130, 255, .40), transparent 70%),
    radial-gradient(40% 50% at 24% 76%, rgba(60, 110, 230, .32), transparent 70%);
  animation: auroraBlue 19s ease-in-out infinite;
}
.service::after {
  background:
    radial-gradient(38% 48% at 20% 26%, rgba(255, 201, 72, .44), transparent 70%),
    radial-gradient(32% 42% at 76% 80%, rgba(255, 176, 32, .38), transparent 70%);
  animation: auroraYellow 9.5s ease-in-out infinite;
}
/* Defasagem para cada card ter seu próprio desenho de luz */
.service:nth-child(2)::before { animation-delay: -4s; }  .service:nth-child(2)::after { animation-delay: -2s; }
.service:nth-child(3)::before { animation-delay: -8s; }  .service:nth-child(3)::after { animation-delay: -4s; }
.service:nth-child(4)::before { animation-delay: -12s; } .service:nth-child(4)::after { animation-delay: -6s; }
.service:nth-child(5)::before { animation-delay: -15s; } .service:nth-child(5)::after { animation-delay: -7.5s; }
.service:nth-child(6)::before { animation-delay: -17s; } .service:nth-child(6)::after { animation-delay: -3s; }
@media (prefers-reduced-motion: reduce) { .service::before, .service::after { animation: none; } }
.service > * { position: relative; z-index: 1; }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service__icon { font-size: 2rem; width: 62px; height: 62px; display: grid; place-items: center; background: rgba(255,255,255,.12); border-radius: 16px; margin-bottom: 18px; }
.service h3 { font-size: 1.25rem; margin-bottom: 10px; color: #fff; }
.service p { color: rgba(255,255,255,.78); font-size: .98rem; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 16px; }
.gallery__item { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-sm); cursor: pointer; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 16px 14px; color: #fff; font-weight: 600; font-size: .95rem;
  background: linear-gradient(transparent, rgba(15,44,77,.85));
  transform: translateY(6px); opacity: 0; transition: .3s;
}
.gallery__item:hover figcaption { transform: translateY(0); opacity: 1; }

/* ---------- Before / After ---------- */
.ba { position: relative; max-width: 900px; margin: 0 auto; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); user-select: none; }
.ba__img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.ba__before { position: absolute; inset: 0; width: 50%; overflow: hidden; }
.ba__before img { width: 900px; max-width: none; height: 100%; }
.ba__label { position: absolute; top: 16px; font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; color: #fff; }
.ba__label--before { left: 16px; background: rgba(15,44,77,.85); }
.ba__label--after  { right: 16px; background: var(--orange); }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 46px; transform: translateX(-50%);
  display: grid; place-items: center; cursor: ew-resize;
}
.ba__handle::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; transform: translateX(-50%); background: #fff; box-shadow: 0 0 0 1px rgba(15,44,77,.15); }
.ba__handle svg { position: relative; z-index: 2; width: 44px; height: 44px; padding: 10px; background: #fff; color: var(--blue-900); border-radius: 50%; box-shadow: var(--shadow); }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; overflow: hidden; background: var(--blue-900); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 30px 26px; }
.step::before, .step::after {
  content: ''; position: absolute; inset: -40%; z-index: 0; pointer-events: none; filter: blur(30px);
}
.step::before {
  background:
    radial-gradient(46% 56% at 72% 24%, rgba(70, 130, 255, .40), transparent 70%),
    radial-gradient(40% 50% at 24% 76%, rgba(60, 110, 230, .32), transparent 70%);
  animation: auroraBlue 19s ease-in-out infinite;
}
.step::after {
  background:
    radial-gradient(38% 48% at 20% 26%, rgba(255, 201, 72, .44), transparent 70%),
    radial-gradient(32% 42% at 76% 80%, rgba(255, 176, 32, .38), transparent 70%);
  animation: auroraYellow 9.5s ease-in-out infinite;
}
/* Defasagem para cada passo ter seu próprio desenho de luz */
.step:nth-child(2)::before { animation-delay: -5s; }  .step:nth-child(2)::after { animation-delay: -2.5s; }
.step:nth-child(3)::before { animation-delay: -10s; } .step:nth-child(3)::after { animation-delay: -5s; }
.step:nth-child(4)::before { animation-delay: -15s; } .step:nth-child(4)::after { animation-delay: -7s; }
@media (prefers-reduced-motion: reduce) { .step::before, .step::after { animation: none; } }
.step > * { position: relative; z-index: 1; }
.step__num { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, var(--orange), var(--amber)); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; margin-bottom: 18px; }
.step h3 { font-size: 1.15rem; margin-bottom: 8px; color: #fff; }
.step p { color: rgba(255,255,255,.78); font-size: .95rem; }

/* ---------- Testimonials ---------- */
.testimonial { display: flex; flex-direction: column; gap: 16px; }
.stars { color: var(--amber); font-size: 1.1rem; letter-spacing: 2px; }
.testimonial blockquote { color: var(--ink); font-size: 1rem; font-style: italic; flex: 1; }
.testimonial__author { display: flex; align-items: center; gap: 12px; }
.testimonial__author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testimonial__author strong { display: block; font-family: var(--font-head); font-size: .98rem; }
.testimonial__author span { font-size: .85rem; color: var(--muted); }

/* ---------- Stats ---------- */
.stats { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--blue-900), var(--blue-700)); color: #fff; padding: 64px 0; }
.stats::before, .stats::after {
  content: ''; position: absolute; inset: -25%; z-index: 0; pointer-events: none; filter: blur(42px);
}
.stats::before {
  background:
    radial-gradient(42% 52% at 68% 24%, rgba(70, 130, 255, .36), transparent 70%),
    radial-gradient(40% 50% at 86% 70%, rgba(90, 170, 255, .32), transparent 70%),
    radial-gradient(36% 46% at 20% 68%, rgba(60, 110, 230, .28), transparent 70%);
  animation: auroraBlue 19s ease-in-out infinite;
}
.stats::after {
  background:
    radial-gradient(34% 44% at 16% 32%, rgba(255, 201, 72, .42), transparent 70%),
    radial-gradient(30% 40% at 44% 80%, rgba(255, 176, 32, .38), transparent 70%),
    radial-gradient(26% 36% at 74% 38%, rgba(255, 214, 102, .32), transparent 70%);
  animation: auroraYellow 9.5s ease-in-out infinite;
}
.stats__inner { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; color: var(--amber); }
.stat span { color: rgba(255,255,255,.82); font-size: .95rem; }

/* ---------- Contact ---------- */
.contact { position: relative; overflow: hidden; background: var(--blue-900); color: #fff; }
.contact::before, .contact::after {
  content: ''; position: absolute; inset: -25%; z-index: 0; pointer-events: none; filter: blur(42px);
}
.contact::before {
  background:
    radial-gradient(42% 52% at 68% 22%, rgba(70, 130, 255, .38), transparent 70%),
    radial-gradient(40% 50% at 82% 68%, rgba(90, 170, 255, .32), transparent 70%),
    radial-gradient(36% 46% at 22% 64%, rgba(60, 110, 230, .30), transparent 70%);
  animation: auroraBlue 18s ease-in-out infinite;
}
.contact::after {
  background:
    radial-gradient(34% 44% at 18% 30%, rgba(255, 201, 72, .46), transparent 70%),
    radial-gradient(30% 40% at 46% 80%, rgba(255, 176, 32, .40), transparent 70%),
    radial-gradient(26% 36% at 76% 42%, rgba(255, 214, 102, .34), transparent 70%);
  animation: auroraYellow 8.5s ease-in-out infinite;
}
/* Camada azul: movimento amplo e lento (loop contínuo) */
@keyframes auroraBlue {
  0%   { transform: translate3d(-8%, -4%, 0) rotate(0deg)   scale(1.10); }
  25%  { transform: translate3d(6%, 4%, 0)   rotate(6deg)   scale(1.28); }
  50%  { transform: translate3d(9%, -5%, 0)  rotate(-4deg)  scale(1.14); }
  75%  { transform: translate3d(-6%, 6%, 0)  rotate(5deg)   scale(1.30); }
  100% { transform: translate3d(-8%, -4%, 0) rotate(0deg)   scale(1.10); }
}
/* Camada amarela: percurso bem maior, mais rápida e com brilho pulsando */
@keyframes auroraYellow {
  0%   { transform: translate3d(14%, 10%, 0)  rotate(8deg)   scale(1.20); opacity: .70; }
  20%  { transform: translate3d(-16%, -8%, 0) rotate(-12deg) scale(1.50); opacity: 1; }
  40%  { transform: translate3d(12%, -14%, 0) rotate(14deg)  scale(1.16); opacity: .65; }
  60%  { transform: translate3d(-10%, 12%, 0) rotate(-8deg)  scale(1.46); opacity: 1; }
  80%  { transform: translate3d(16%, -4%, 0)  rotate(10deg)  scale(1.24); opacity: .75; }
  100% { transform: translate3d(14%, 10%, 0)  rotate(8deg)   scale(1.20); opacity: .70; }
}
@media (prefers-reduced-motion: reduce) {
  .header::before, .header::after, .strip::before, .strip::after,
  .stats::before, .stats::after, .contact::before, .contact::after,
  .footer::before, .footer::after { animation: none; }
}
.contact__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
.contact__info .section__title { color: #fff; }
.contact__info > p { color: rgba(255,255,255,.82); margin: 16px 0 26px; }
.contact__list { display: grid; gap: 14px; margin-bottom: 30px; }
.contact__list li { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.9); }
.contact__list span { font-size: 1.2rem; }

.contact__form { background: #fff; color: var(--ink); padding: 32px; }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .9rem; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem;
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg-alt); color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,106,43,.15); background: #fff;
}
.field textarea { resize: vertical; }
.form__note { text-align: center; font-size: .85rem; color: var(--muted); margin-top: 14px; }
.form__success { text-align: center; font-weight: 600; color: #1a8f4a; background: #e6f7ee; padding: 12px; border-radius: var(--radius-sm); margin-top: 14px; }

/* ---------- Depoimentos em colunas animadas ---------- */
.tcols {
  display: flex; justify-content: center; gap: 24px; margin-top: 44px;
  max-height: 740px; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent);
          mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent);
}
.tcol { flex: 1; max-width: 340px; }
.tcol--md, .tcol--lg { display: none; }
.tcol__track { display: flex; flex-direction: column; gap: 24px; animation: tScroll var(--dur, 20s) linear infinite; will-change: transform; }
@keyframes tScroll { to { transform: translateY(-50%); } }
.tcols:hover .tcol__track { animation-play-state: paused; }

.tcard {
  background: #fff; border: 1px solid var(--line); border-radius: 24px;
  padding: 30px; box-shadow: var(--shadow-sm);
}
.tcard p { color: var(--ink); font-size: .98rem; line-height: 1.6; }
.tcard__author { display: flex; align-items: center; gap: 10px; margin-top: 20px; }
.tcard__author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.tcard__author span { display: flex; flex-direction: column; }
.tcard__author strong { font-family: var(--font-head); font-size: .95rem; font-weight: 600; color: var(--ink); line-height: 1.25; }
.tcard__author em { font-style: normal; font-size: .85rem; color: var(--muted); }

@media (min-width: 768px) { .tcol--md { display: block; } }
@media (min-width: 1024px) { .tcol--lg { display: block; } }
@media (prefers-reduced-motion: reduce) {
  .tcols { max-height: none; -webkit-mask-image: none; mask-image: none; }
  .tcol__track { animation: none; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 22px; box-shadow: var(--shadow-sm); }
.faq__item summary { list-style: none; cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; padding: 18px 30px 18px 0; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--orange); transition: transform .2s; }
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item p { color: var(--slate); padding-bottom: 20px; }

/* Efeito rolo de tinta: ao abrir, a resposta é "pintada" da esquerda p/ direita */
.faq__answer { position: relative; }
.faq__item[open] .faq__answer > p {
  animation: faqPaintReveal 1.5s cubic-bezier(.35,0,.25,1) both;
}
@keyframes faqPaintReveal {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}
/* Rastro de tinta fresca que acompanha o rolo */
.faq__item[open] .faq__answer::before {
  content: ''; position: absolute; z-index: 2; pointer-events: none;
  left: 0; top: 2px; height: 14px; width: 54px; border-radius: 7px;
  background: linear-gradient(90deg, rgba(47,127,228,0), rgba(47,127,228,.5) 60%, rgba(47,127,228,.7));
  animation: faqPaintTrail 1.5s cubic-bezier(.35,0,.25,1) both;
}
@keyframes faqPaintTrail {
  0%   { left: -54px; opacity: 0; }
  10%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { left: calc(100% - 26px); opacity: 0; }
}
/* O rolo de tinta DEITADO que passa por cima */
.faq__item[open] .faq__answer::after {
  content: ''; position: absolute; z-index: 3; pointer-events: none;
  top: -14px; left: 0; width: 58px; height: 39px;
  background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 48'><rect x='7' y='6' width='15' height='36' rx='7.5' fill='%232f7fe4' stroke='%230f2c4d' stroke-width='2.5'/><path d='M22 24 H43' fill='none' stroke='%230f2c4d' stroke-width='3' stroke-linecap='round'/><rect x='43' y='19' width='24' height='10' rx='5' fill='%230f2c4d'/><circle cx='12' cy='45' r='2.4' fill='%232f7fe4'/><circle cx='18' cy='46' r='1.6' fill='%232f7fe4'/></svg>") no-repeat center / contain;
  filter: drop-shadow(0 3px 5px rgba(15,44,77,.25));
  animation: faqRoller 1.5s cubic-bezier(.35,0,.25,1) both;
}
@keyframes faqRoller {
  0%   { left: -58px; opacity: 0; }
  10%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { left: calc(100% - 20px); opacity: 0; }
}
/* Respingos de tinta que o rolo solta (criados via JS) */
.paint-drop {
  position: absolute; z-index: 2; pointer-events: none;
  border-radius: 50%;
  background: #2f7fe4;
  opacity: 0;
  animation: paintDrop 1s ease-in forwards;
}
@keyframes paintDrop {
  0%   { opacity: 0; transform: translateY(-6px) scale(.3); }
  25%  { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(var(--fall, 18px)) scale(.7); }
}
@media (prefers-reduced-motion: reduce) {
  .faq__item[open] .faq__answer > p,
  .faq__item[open] .faq__answer::before,
  .faq__item[open] .faq__answer::after,
  .paint-drop { animation: none; }
}

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; background: #0b2038; color: rgba(255,255,255,.75); padding-top: 64px; }
.footer::before, .footer::after {
  content: ''; position: absolute; inset: -20%; z-index: 0; pointer-events: none; filter: blur(42px);
}
.footer::before {
  background:
    radial-gradient(42% 52% at 70% 24%, rgba(70, 130, 255, .34), transparent 70%),
    radial-gradient(40% 50% at 84% 72%, rgba(90, 170, 255, .30), transparent 70%),
    radial-gradient(36% 46% at 22% 66%, rgba(60, 110, 230, .26), transparent 70%);
  animation: auroraBlue 20s ease-in-out infinite;
}
.footer::after {
  background:
    radial-gradient(32% 42% at 16% 30%, rgba(255, 201, 72, .40), transparent 70%),
    radial-gradient(28% 38% at 44% 82%, rgba(255, 176, 32, .34), transparent 70%),
    radial-gradient(24% 34% at 78% 44%, rgba(255, 214, 102, .30), transparent 70%);
  animation: auroraYellow 10.5s ease-in-out infinite;
}
.footer__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.logo--footer { color: #fff; margin-bottom: 16px; }
.footer__brand p { font-size: .95rem; max-width: 320px; }
.footer__col h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer__col a, .footer__col p { display: block; color: rgba(255,255,255,.7); font-size: .93rem; margin-bottom: 10px; transition: color .15s; }
.footer__col a:hover { color: var(--amber); }
.footer__bottom { position: relative; z-index: 1; border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; }
.footer__bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer__bottom p { font-size: .88rem; color: rgba(255,255,255,.55); }

/* ---------- Reveal Animation ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Botões de contato (WhatsApp + Instagram em coluna) ---------- */
.contact__buttons { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.contact__buttons .social-btn { margin-top: 0; }

/* ---------- Página de catálogo de cores (RAL) ---------- */
.catalog { padding: 128px 0 72px; }
.catalog__head { text-align: center; max-width: 720px; margin: 0 auto 30px; }
.catalog__search { max-width: 460px; margin: 0 auto 20px; }
.catalog__search input {
  width: 100%; padding: 14px 20px; border: 1.5px solid var(--line); border-radius: 999px;
  font-size: 1rem; font-family: var(--font-body); background: var(--bg-alt); color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.catalog__search input:focus { outline: none; border-color: var(--blue-700); box-shadow: 0 0 0 3px rgba(29,78,134,.15); background: #fff; }
.catalog__group-title { font-family: var(--font-head); font-size: 1.25rem; font-weight: 800; color: var(--ink); margin: 36px 0 16px; }
.catalog__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 14px; }
.color-item {
  display: block; border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  background: #fff; box-shadow: var(--shadow-sm); cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease;
}
.color-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.color-item__swatch { display: block; height: 92px; width: 100%; }
.color-item__info { display: block; padding: 10px 12px 12px; }
.color-item__code { display: block; font-family: var(--font-head); font-weight: 700; font-size: .92rem; color: var(--ink); }
.color-item__name { display: block; font-size: .82rem; color: var(--muted); }
.catalog__empty { text-align: center; color: var(--muted); padding: 44px; }

/* ---------- Card "Padrões de Cores" (leva ao catálogo) ---------- */
.color-card {
  display: flex; align-items: stretch; max-width: 540px; margin: 0 auto;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  background: var(--blue-900); color: #fff; text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.color-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); color: #fff; }
.color-card__fan { display: flex; width: 42%; min-height: 168px; }
.color-card__fan span { flex: 1; }
.color-card__body { flex: 1; padding: 26px 24px; display: flex; flex-direction: column; justify-content: center; gap: 8px; position: relative; }
.color-card__body h3 { font-size: 1.5rem; color: #fff; }
.color-card__body .eyebrow { margin: 0; }
.color-card__hint { color: rgba(255,255,255,.8); font-size: .95rem; }
.color-card__arrow {
  position: absolute; top: 18px; right: 20px; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255,255,255,.14); color: #fff;
  transition: background .2s ease, transform .2s ease;
}
.color-card:hover .color-card__arrow { background: var(--amber); color: var(--blue-900); transform: translate(2px,-2px); }

/* ---------- Simulador de cores (paleta) ---------- */
.paleta__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.paleta__scene {
  width: 100%; display: block; border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; background: #E9EEF2;
}
.paleta__wall { transition: fill .45s ease; }
.paleta__selected { display: flex; align-items: center; gap: 14px; margin-top: 20px; flex-wrap: wrap; }
.paleta__chip { width: 46px; height: 46px; border-radius: 12px; border: 2px solid var(--line); box-shadow: var(--shadow-sm); transition: background .3s ease; }
.paleta__label { line-height: 1.2; }
.paleta__label strong { display: block; font-family: var(--font-head); font-size: 1.05rem; color: var(--ink); }
.paleta__label span { font-size: .85rem; color: var(--muted); letter-spacing: .04em; }
.paleta__cta { margin-left: auto; }

.paleta__group { margin-bottom: 20px; }
.paleta__group:last-child { margin-bottom: 0; }
.paleta__group h4 {
  font-family: var(--font-head); font-size: .8rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px;
}
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch {
  width: 48px; height: 48px; border-radius: 12px; cursor: pointer; padding: 0;
  border: 2px solid rgba(15,44,77,.1); box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .2s ease, outline-color .15s ease;
  outline: 3px solid transparent; outline-offset: 2px;
}
.swatch:hover { transform: translateY(-3px) scale(1.05); box-shadow: var(--shadow); }
.swatch.is-active { outline-color: var(--blue-700); transform: translateY(-2px); }

/* ---------- Botão de rede social (Instagram) ---------- */
.social-btn {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 18px; padding: 11px 20px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: #fff;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  box-shadow: 0 8px 22px rgba(220,39,67,.35);
  transition: transform .18s ease, box-shadow .2s ease, filter .2s ease;
}
.social-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(220,39,67,.48); color: #fff; filter: brightness(1.05); }
.social-btn svg { flex-shrink: 0; }
.social-btn--center { margin-left: auto; margin-right: auto; }

/* ---------- Botão flutuante de vídeo ---------- */
.video-fab {
  position: fixed; left: 22px; bottom: 22px; z-index: 90;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 20px 12px 14px; border: none; border-radius: 999px; cursor: pointer;
  background: linear-gradient(135deg, var(--orange), var(--amber));
  color: #fff; font-family: var(--font-head); box-shadow: 0 12px 30px rgba(255,106,43,.42);
  transition: transform .18s ease, box-shadow .2s ease;
}
.video-fab:hover { transform: translateY(-3px); box-shadow: 0 16px 38px rgba(255,106,43,.52); }
.video-fab__icon {
  position: relative; display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.22); color: #fff;
}
.video-fab__icon svg { margin-left: 3px; }
.video-fab__icon::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.6); animation: fabPulse 2.2s ease-out infinite;
}
@keyframes fabPulse {
  0%   { transform: scale(1);   opacity: .8; }
  100% { transform: scale(1.6); opacity: 0; }
}
.video-fab__text { font-size: .82rem; font-weight: 500; line-height: 1.15; text-align: left; }
.video-fab__text strong { font-weight: 700; font-size: .92rem; }

/* ---------- Modal do vídeo ---------- */
.video-modal { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 24px; }
.video-modal[hidden] { display: none; }
.video-modal__backdrop {
  position: absolute; inset: 0; background: rgba(9,20,35,.82); backdrop-filter: blur(4px);
  animation: fadeIn .25s ease;
}
.video-modal__box {
  position: relative; z-index: 1; max-width: 92vw; animation: popIn .28s ease;
}
.video-modal__video {
  display: block; max-height: 82vh; max-width: 92vw; width: auto;
  border-radius: 18px; box-shadow: var(--shadow-lg); background: #000;
}
.video-modal__close {
  position: absolute; top: -14px; right: -14px; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer;
  background: #fff; color: var(--blue-900); font-size: 1.8rem; line-height: 1;
  display: grid; place-items: center; box-shadow: var(--shadow);
  transition: transform .15s ease;
}
.video-modal__close:hover { transform: scale(1.08); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .video-fab__icon::before, .video-modal__backdrop, .video-modal__box { animation: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__media { max-width: 440px; }
  .contact__inner { grid-template-columns: 1fr; gap: 40px; }
  .paleta__inner { grid-template-columns: 1fr; gap: 30px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gallery__item--wide { grid-column: span 2; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .stats__inner { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .section { padding: 68px 0; }

  /* Evita que o menu suspenso seja cortado pelo overflow do cabeçalho */
  .header { overflow: visible; }

  /* Mobile nav */
  .nav {
    position: fixed; top: 92px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; padding: 18px 24px 28px; box-shadow: var(--shadow);
    transform: translateY(-140%); transition: transform .3s ease; visibility: hidden;
  }
  .nav.open { transform: translateY(0); visibility: visible; }
  .nav__link { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav__cta { margin-top: 12px; text-align: center; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  .logo__img { height: 58px; }
  .hero { padding: 120px 0 70px; }
  .hero__trust { gap: 24px; }
  .hero__img-inset { width: 108px; top: -14px; right: -6px; border-width: 4px; }

  .field-row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .grid--3, .steps, .gallery, .stats__inner { grid-template-columns: 1fr; }
  .gallery { grid-auto-rows: 210px; }
  .gallery__item--wide, .gallery__item--tall { grid-column: auto; grid-row: auto; }
  .hero__actions .btn { width: 100%; }
  .strip__inner { justify-content: flex-start; }

  /* Botão flutuante compacto (só ícone) no celular */
  .video-fab { left: 16px; bottom: 16px; padding: 10px; gap: 0; }
  .video-fab__text { display: none; }
  .video-modal__close { top: 6px; right: 6px; }
}
