/* ===== Patty Painéis — estilos ===== */
:root {
  --yellow: #FFD400;
  --yellow-2: #FFE14D;
  --black: #111111;
  --ink: #1c1c1c;
  --gray-9: #2a2a2a;
  --gray-6: #6b6b6b;
  --gray-3: #d9d9d9;
  --soft: #f6f5f1;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(0,0,0,.18);
  --font-h: "Archivo", system-ui, sans-serif;
  --font-b: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font-b); color: var(--ink); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-h); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 900; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
svg { stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hide-sm { display: inline; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; font-family: var(--font-h); font-weight: 800; text-decoration: none; border-radius: 999px; padding: .8em 1.4em; border: 2px solid transparent; transition: transform .2s, box-shadow .2s, background .2s; cursor: pointer; font-size: 1rem; }
.btn:hover { transform: translateY(-2px); }
.btn--lg { padding: 1em 1.7em; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--yellow { background: var(--yellow); color: var(--black); box-shadow: 0 8px 24px -10px rgba(255,212,0,.7); }
.btn--yellow:hover { background: var(--yellow-2); }
.btn--dark { background: var(--black); color: var(--yellow); }
.btn--ghost { border-color: rgba(255,255,255,.35); color: var(--white); }
.btn--ghost:hover { border-color: var(--yellow); color: var(--yellow); }
.ico-wa { width: 1.3em; height: 1.3em; fill: currentColor; stroke: none; }

/* Topbar */
.topbar { background: var(--black); color: #cfcfcf; font-size: .85rem; }
.topbar__in { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; }
.topbar svg { width: 15px; height: 15px; vertical-align: -3px; margin-right: 6px; }
.topbar svg .fill { fill: currentColor; }
.topbar a { text-decoration: none; margin-left: 18px; }
.topbar a:hover { color: var(--yellow); }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid #eee; transition: box-shadow .2s; }
.header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(0,0,0,.3); }
.header__in { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 56px; height: 56px; }
.brand__txt { font-family: var(--font-h); font-weight: 900; font-size: 1.35rem; line-height: 1; }
.brand__txt small { display: block; font-weight: 700; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gray-6); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 600; font-size: .95rem; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 3px; background: var(--yellow); transition: right .25s; }
.nav a:not(.btn):hover::after { right: 0; }
.nav__cta { padding: .65em 1.2em; font-size: .92rem; }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2.5px; background: var(--black); margin: 5px 0; border-radius: 2px; transition: .25s; }

/* Hero */
.hero { position: relative; background: var(--black); color: var(--white); overflow: hidden; }
.hero__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 70% 40%, #000 30%, transparent 75%); }
.hero__in { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding: 88px 0 96px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-h); font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: var(--yellow); margin-bottom: 18px; }
.eyebrow--dark { color: var(--black); background: var(--yellow); padding: 5px 12px; border-radius: 999px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 0 rgba(255,212,0,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255,212,0,0); } 100% { box-shadow: 0 0 0 0 rgba(255,212,0,0); } }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.3rem); font-weight: 900; margin-bottom: .4em; }
.hero h1 mark { background: none; color: var(--yellow); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: #cfcfcf; max-width: 34em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.scene { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 30px 40px rgba(0,0,0,.5)); }
.road { animation: road 1.2s linear infinite; }
@keyframes road { to { stroke-dashoffset: -48; } }
.bb-msg { animation: bb 8s infinite; }
.bb-msg--2 { animation-delay: -4s; }
@keyframes bb { 0%, 46% { opacity: 1; } 48%, 96% { opacity: 0; } 98%, 100% { opacity: 1; } }
.led-track { animation: led 9s cubic-bezier(.7,0,.3,1) infinite; }
@keyframes led { 0%, 40% { transform: translateY(0); } 50%, 90% { transform: translateY(-104px); } 100% { transform: translateY(-208px); } }

/* Números */
.stats { background: var(--yellow); }
.stats__in { display: grid; grid-template-columns: repeat(5, 1fr); }
.stat { padding: 30px 14px; text-align: center; border-left: 1px solid rgba(0,0,0,.12); }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font-family: var(--font-h); font-weight: 900; font-size: clamp(1.7rem, 3.2vw, 2.5rem); color: var(--black); line-height: 1.05; }
.stat > span { display: block; font-size: .92rem; font-weight: 600; color: #3a3200; }

/* Seções */
.section { padding: 96px 0; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--black); color: var(--white); }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.sec-head p:last-child { color: var(--gray-6); font-size: 1.1rem; }
.group-label { display: flex; align-items: center; gap: 16px; margin: 8px 0 22px; font-family: var(--font-h); font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: .85rem; }
.group-label::after { content: ""; flex: 1; height: 2px; background: linear-gradient(90deg, var(--yellow), transparent); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 48px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); margin-bottom: 0; }
.card { position: relative; background: var(--white); border: 1px solid #ececec; border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--yellow); }
.card h3 { font-size: 1.25rem; font-weight: 800; }
.card p { color: var(--gray-6); font-size: .96rem; flex: 1; }
.card__ico { width: 60px; height: 60px; border-radius: 14px; background: var(--black); color: var(--white); display: grid; place-items: center; margin-bottom: 18px; }
.card__ico svg { width: 34px; height: 34px; }
.card__ico .accent { stroke: var(--yellow); }
.card__ico .accent-fill { fill: var(--yellow); stroke: none; }
.card__link { font-family: var(--font-h); font-weight: 800; text-decoration: none; color: var(--black); border-bottom: 3px solid var(--yellow); align-self: flex-start; padding-bottom: 2px; }
.card--dark { background: var(--black); color: var(--white); border-color: var(--black); }
.card--dark p { color: #bdbdbd; }
.card--dark .card__ico { background: var(--yellow); color: var(--black); }
.card--dark .card__ico .accent-fill { fill: var(--black); }
.card--dark .card__link { color: var(--yellow); }

/* Faixa */
.band { background: var(--yellow); }
.band__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 40px 0; }
.band p { margin: 0; font-family: var(--font-h); font-weight: 900; font-size: clamp(1.3rem, 2.6vw, 1.9rem); color: var(--black); }

/* Sobre */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.about__logo { position: relative; justify-self: center; }
.about__logo img { width: min(340px, 70vw); height: auto; filter: drop-shadow(0 24px 30px rgba(0,0,0,.18)); }
.about__since { position: absolute; right: -6px; bottom: 10px; background: var(--black); color: var(--white); border-radius: 50%; width: 112px; height: 112px; display: grid; place-content: center; text-align: center; font-family: var(--font-h); font-weight: 700; font-size: .8rem; line-height: 1.1; text-transform: uppercase; letter-spacing: .1em; transform: rotate(-8deg); }
.about__since b { color: var(--yellow); font-size: 1.9rem; letter-spacing: 0; }
.about__copy p { color: #444; font-size: 1.05rem; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 36px; font-weight: 600; }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/14px no-repeat; }

/* Clientes */
.marquee { overflow: hidden; padding: 10px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 18px; width: max-content; animation: scroll 40s linear infinite; }
.marquee--rev .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
.client { flex: none; height: 96px; min-width: 210px; padding: 0 28px; border: 1px solid #ececec; border-radius: var(--radius); background: var(--white); display: grid; place-items: center; font-family: var(--font-h); font-weight: 800; font-size: 1.1rem; color: #3a3a3a; text-transform: uppercase; letter-spacing: .04em; transition: border-color .2s, color .2s; }
.client:hover { border-color: var(--yellow); color: var(--black); }
.client img { max-height: 56px; max-width: 160px; object-fit: contain; filter: grayscale(1); opacity: .8; transition: .2s; }
.client:hover img { filter: none; opacity: 1; }

/* Contato */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.muted { color: #bdbdbd; font-size: 1.05rem; }
.contact__list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 4px; }
.contact__list li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid #2c2c2c; }
.contact__list li > span { color: var(--yellow); font-family: var(--font-h); font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; padding-top: 3px; }
.contact__list a { text-decoration: none; font-weight: 600; }
.contact__list a:hover { color: var(--yellow); }
.form { background: var(--white); color: var(--ink); border-radius: 20px; padding: 30px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; padding: 12px 14px; border: 1.5px solid var(--gray-3); border-radius: 10px; background: #fafafa; width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--black); background: var(--white); box-shadow: 0 0 0 3px rgba(255,212,0,.5); }
.form__err { color: #b42318; font-weight: 600; margin: 0; }
.map { margin-top: 56px; }
.map iframe { width: 100%; height: 340px; border: 0; border-radius: 20px; filter: grayscale(.4); }

/* Rodapé */
.footer { background: #0a0a0a; color: #bdbdbd; padding: 64px 0 24px; font-size: .95rem; }
.footer__in { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.footer__brand img { width: 64px; margin-bottom: 14px; }
.footer h4 { color: var(--white); font-size: .85rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 14px; }
.footer a, .footer__addr { display: block; text-decoration: none; margin-bottom: 8px; }
.footer a:hover { color: var(--yellow); }
.footer__bottom { border-top: 1px solid #222; margin-top: 40px; padding-top: 20px; font-size: .85rem; color: #8a8a8a; }

/* WhatsApp flutuante */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(0,0,0,.45); transition: transform .2s; }
.fab:hover { transform: scale(1.08); }
.fab svg { width: 32px; height: 32px; fill: currentColor; stroke: none; }

/* Animação de entrada */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== Responsivo ===== */
@media (max-width: 1060px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .cards--3 { grid-template-columns: 1fr; }
  .nav { gap: 18px; }
}
@media (max-width: 920px) {
  .burger { display: block; }
  .nav { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); padding: 8px 16px 20px; border-bottom: 1px solid #eee; box-shadow: 0 20px 30px -20px rgba(0,0,0,.3); transform: translateY(-120%); visibility: hidden; transition: transform .3s, visibility .3s; }
  .nav.is-open { transform: none; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid #f0f0f0; font-size: 1.05rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 14px; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .hero__in { grid-template-columns: 1fr; padding: 56px 0 64px; }
  .stats__in { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(4) { border-left: 0; }
  .stat { border-top: 1px solid rgba(0,0,0,.12); }
  .about, .contact { grid-template-columns: 1fr; gap: 40px; }
  .footer__in { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .topbar__addr { display: none; }
  .topbar__in { justify-content: center; }
  .topbar a:first-child { margin-left: 0; }
  .brand img { width: 48px; height: 48px; }
  .section { padding: 72px 0; }
  .cards, .cards--3 { grid-template-columns: 1fr; }
  .stats__in { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(odd) { border-left: 0; }
  .stat:nth-child(4) { border-left: 1px solid rgba(0,0,0,.12); }
  .stat:last-child { grid-column: 1 / -1; }
  .band__in { flex-direction: column; text-align: center; }
  .form { padding: 22px; }
  .form__row { grid-template-columns: 1fr; }
  .contact__list li { grid-template-columns: 1fr; gap: 2px; }
  .footer__in { grid-template-columns: 1fr; }
  .hide-sm { display: none; }
  .client { min-width: 170px; height: 80px; font-size: .95rem; }
}

/* ===== Fotos nos cartões ===== */
.card--foto { padding-top: 0; overflow: hidden; }
.card__img { display: block; width: calc(100% + 48px); max-width: none; margin: 0 -24px 18px; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s; }
.card--foto:hover .card__img { transform: scale(1.04); }
.card--foto .card__ico { margin-top: -48px; position: relative; border: 3px solid var(--white); }
.card--dark.card--foto .card__ico { border-color: var(--black); }

/* ===== Portfólio ===== */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -16px 0 32px; }
.chip { font: inherit; font-weight: 600; font-size: .92rem; padding: .55em 1.1em; border-radius: 999px; border: 1.5px solid #ddd; background: var(--white); cursor: pointer; transition: .2s; }
.chip:hover { border-color: var(--black); }
.chip.is-on { background: var(--black); color: var(--yellow); border-color: var(--black); }
.gallery { columns: 3 280px; column-gap: 14px; }
.gal { position: relative; display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: zoom-in; background: #eee; break-inside: avoid; }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gal span { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; text-align: left; color: #fff; font-weight: 600; font-size: .88rem; background: linear-gradient(transparent, rgba(0,0,0,.75)); opacity: 0; transform: translateY(8px); transition: .3s; }
.gal:hover img, .gal:focus-visible img { transform: scale(1.05); }
.gal:hover span, .gal:focus-visible span { opacity: 1; transform: none; }
@media (hover: none) { .gal span { opacity: 1; transform: none; } }
.gallery__more { text-align: center; margin-top: 18px; }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10,10,10,.94); display: grid; place-items: center; padding: 56px 64px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 190px); border-radius: 10px; object-fit: contain; }
.lightbox figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; color: #eee; font-weight: 600; text-align: center; }
.lightbox__close, .lightbox__nav { position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0; border-radius: 50%; width: 48px; height: 48px; font-size: 30px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--yellow); color: var(--black); }
.lightbox__close { top: 14px; right: 14px; }
.lightbox__prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 10px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lightbox { padding: 64px 12px 24px; }
  .lightbox__nav { top: auto; bottom: 14px; transform: none; }
  .lightbox img { max-height: calc(100vh - 230px); }
  .gallery { columns: 2 150px; column-gap: 10px; }
  .gal { margin-bottom: 10px; }
}

/* Logos de clientes */
.client--logo img { filter: none; opacity: 1; }
.client--escuro { background: #1c1c1c; border-color: #1c1c1c; }
.client--escuro:hover { border-color: var(--yellow); }
