:root {
  --orange: #ef9446;
  --orange-dk: #d9772a;
  --grey: #a3a5a8;
  --ink: #2b2d31;
  --ink-2: #5c6066;
  --line: #e7e4df;
  --bg: #ffffff;
  --bg-alt: #f8f5f1;
  --radius: 14px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font: 400 16px/1.65 "Poppins", system-ui, sans-serif; color: var(--ink); background: var(--bg); }
img { max-width: 100%; display: block; }
a { color: var(--orange-dk); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 600; color: var(--orange-dk); margin: 0 0 .8em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; background: var(--orange); color: #fff; border: 0; border-radius: 999px; padding: .8em 1.5em; font: 600 .95rem/1 inherit; font-family: inherit; text-decoration: none; cursor: pointer; transition: background .2s, transform .2s; }
.btn:hover { background: var(--orange-dk); }
.btn--dark { background: var(--ink); }
.btn--dark:hover { background: #000; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn svg { width: 1.1em; height: 1.1em; fill: currentColor; }


/* Header */
.header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.logo img { width: 140px; height: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav > a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav > a:not(.btn):hover { color: var(--orange-dk); }
.burger { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .25s; }

/* Hero */
.hero { background: var(--bg-alt); position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -180px; top: -140px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(239,148,70,.28), rgba(239,148,70,0) 70%); pointer-events: none; }
.hero__in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 1fr; grid-template-areas: "txt img" "stats img"; gap: 40px 60px; align-items: center; padding-top: 80px; padding-bottom: 80px; }
.hero__txt { grid-area: txt; }
.hero__img { grid-area: img; margin: 0; align-self: stretch; border-radius: 22px; overflow: hidden; min-height: 420px; box-shadow: 0 30px 60px -30px rgba(60,35,10,.45); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero h1 span { color: var(--orange); }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 36em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__stats { grid-area: stats; align-self: start; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hero__stats li { background: #fff; border-radius: var(--radius); padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; border: 1px solid var(--line); }
.hero__stats strong { font-size: 1.5rem; color: var(--orange); line-height: 1.2; }
.hero__stats span { color: var(--ink-2); font-size: .82rem; line-height: 1.35; }

/* Imagens de secção */
.about__img { margin: 0 0 40px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.area-banner { position: relative; border-radius: var(--radius); overflow: hidden; height: 240px; margin-bottom: 18px; color: #fff; display: flex; align-items: flex-end; }
.area-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.area-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30,22,15,.78) 0%, rgba(30,22,15,.35) 55%, rgba(30,22,15,0) 100%); }
.area-banner div { position: relative; z-index: 1; padding: 30px 34px; max-width: 560px; }
.area-banner h3 { font-size: 1.9rem; margin: 0 0 .2em; }
.area-banner p { margin: 0; opacity: .9; }

/* Áreas */
.areas { border-bottom: 1px solid var(--line); }
.areas__grid { display: grid; grid-template-columns: repeat(5, 1fr); }

/* EM AÇÃO — demonstrações (galeria masonry CSS columns) */
.demos { column-count: 3; column-gap: 14px; }
@media (max-width: 900px) { .demos { column-count: 2; } }
@media (max-width: 560px) { .demos { column-count: 1; } }
.demos__item { break-inside: avoid; margin: 0 0 14px; border-radius: var(--radius); overflow: hidden; display: block; position: relative; cursor: zoom-in; background: var(--bg-alt); border: 1px solid var(--line); }
.demos__item img { width: 100%; height: auto; display: block; transition: transform .5s ease; }
.demos__item:hover img { transform: scale(1.03); }
.demos__item.is-hidden { display: none; }
.demos__more { display: flex; justify-content: center; margin-top: 24px; }

/* Lightbox */
.lb { position: fixed; inset: 0; background: rgba(43,45,49,.94); z-index: 100; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.lb img { max-width: calc(100% - 7rem); max-height: calc(100vh - 4rem); object-fit: contain; user-select: none; }
.lb__close, .lb__prev, .lb__next { position: absolute; background: transparent; border: 0; color: #fff; cursor: pointer; padding: 1rem; }
.lb__close { right: 1rem; top: 1rem; font-size: 1.5rem; padding: .5rem .75rem; }
.lb__prev, .lb__next { top: 50%; transform: translateY(-50%); font-size: 2.5rem; line-height: 1; }
.lb__prev { left: .5rem; }
.lb__next { right: .5rem; }
.lb__cap { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; }
.area { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 28px 10px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; border-right: 1px solid var(--line); transition: background .2s; text-align: center; }
.area:first-child { border-left: 1px solid var(--line); }
.area:hover { background: var(--bg-alt); color: var(--orange-dk); }
.area svg { width: 46px; height: 46px; stroke: var(--orange); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.area small { font-weight: 400; color: var(--ink-2); font-size: .78rem; }

/* Sections */
.section { padding: 100px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { margin-bottom: 44px; }
.section__head h2 { max-width: 640px; }
.section__head p:not(.eyebrow) { color: var(--ink-2); }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.about__txt > p:not(.eyebrow) { color: var(--ink-2); }
.values { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.values li { border: 1.5px solid var(--orange); color: var(--orange-dk); border-radius: 999px; padding: .35em 1em; font-size: .88rem; font-weight: 500; }
.history { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.history summary { cursor: pointer; list-style: none; padding: 20px 60px 20px 24px; font-size: 1.15rem; font-weight: 600; position: relative; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.history summary::-webkit-details-marker { display: none; }
.history summary small { font-size: .82rem; font-weight: 400; color: var(--grey); }
.history summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; font-size: 1.2rem; font-weight: 400; line-height: 1; }
.history[open] summary::after { content: "–"; }
.history .timeline { margin: 4px 24px 6px 36px; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 28px; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 28px; }
.history .timeline li:last-child { padding-bottom: 18px; }
.timeline li::before { content: ""; position: absolute; left: -36px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--orange); }
.timeline b { font-size: 1.25rem; color: var(--orange-dk); }
.timeline p { margin: .2em 0 0; color: var(--ink-2); }

/* Tabs + produtos */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }
.tab { background: #fff; border: 1px solid var(--line); color: var(--ink); border-radius: 999px; padding: .6em 1.3em; font: 500 .92rem/1 inherit; font-family: inherit; cursor: pointer; }
.tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.card { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 24px; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 12px 30px -14px rgba(0,0,0,.18); transform: translateY(-2px); }
.card__tag { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--grey); font-weight: 600; }
.card h3 { margin: .4em 0 .3em; }
.card p { color: var(--ink-2); font-size: .9rem; margin: 0 0 18px; flex: 1; }
.card__btn { align-self: flex-start; background: none; border: 0; padding: 0; color: var(--orange-dk); font: 600 .9rem/1 inherit; font-family: inherit; cursor: pointer; display: inline-flex; gap: .4em; align-items: center; }
.card__btn::after { content: "→"; transition: transform .2s; }
.card__btn:hover::after { transform: translateX(4px); }
.products__note { margin-top: 34px; color: var(--ink-2); }
.catalogs { margin-top: 56px; padding: 44px 40px; border-radius: var(--radius); background: var(--ink) radial-gradient(circle at 100% 0%, rgba(239,148,70,.28), transparent 55%); color: #fff; }
.catalogs__head { margin-bottom: 26px; max-width: 620px; }
.catalogs__head .eyebrow { color: var(--orange); margin: 0 0 6px; }
.catalogs__title { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 .3em; color: #fff; text-wrap: balance; }
.catalogs__head p:last-child { margin: 0; color: rgba(255,255,255,.72); text-wrap: pretty; }
.catalogs__list a { border-color: transparent; }
.catalogs__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.catalogs__list a { display: flex; align-items: center; gap: 14px; height: 100%; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.catalogs__list a:hover { border-color: var(--orange); box-shadow: 0 10px 24px -16px rgba(0,0,0,.25); }
.catalogs__list svg { flex: none; width: 38px; height: 38px; padding: 8px; border-radius: 50%; background: var(--orange); fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.catalogs__list b { display: block; font-weight: 600; font-size: .95rem; line-height: 1.3; text-wrap: balance; }
.catalogs__list small { color: var(--grey); font-size: .8rem; }

/* Marcas */
.brands { overflow: hidden; border-block: 1px solid var(--line); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.brands__track { list-style: none; margin: 0; padding: 0; display: flex; width: max-content; animation: marquee 40s linear infinite; }
.brands:hover .brands__track { animation-play-state: paused; }
.brands__track li { flex: none; width: 240px; height: 120px; display: grid; place-items: center; padding: 20px 30px; border-right: 1px solid var(--line); }
.brands__track img { width: 100%; height: 64px; object-fit: contain; }
@keyframes marquee { to { transform: translateX(-50%); } }
/* Sem animações (definição do sistema): grelha estática, sem a cópia usada no loop */
@media (prefers-reduced-motion: reduce) {
  .brands { -webkit-mask-image: none; mask-image: none; }
  .brands__track { animation: none; width: auto; display: grid; grid-template-columns: repeat(6, 1fr); }
  .brands__track li { width: auto; border-right: 1px solid var(--line); }
  .brands__track li:nth-child(6n) { border-right: 0; }
  .brands__track li[aria-hidden="true"] { display: none; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 760px) {
  .brands__track { grid-template-columns: repeat(3, 1fr); }
  .brands__track li { padding: 14px; height: 96px; border-bottom: 1px solid var(--line); }
  .brands__track li:nth-child(3n) { border-right: 0; }
  .brands__track li:nth-child(n+4) { border-bottom: 0; }
}

/* FAQs */
.faq-wrap { display: grid; grid-template-columns: 1fr 2fr; gap: 50px; }
.faqs details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; }
.faqs summary { cursor: pointer; padding: 18px 54px 18px 22px; font-weight: 600; list-style: none; position: relative; }
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--orange); font-weight: 400; }
.faqs details[open] summary::after { content: "–"; }
.faqs details p { margin: 0; padding: 0 22px 20px; color: var(--ink-2); }

/* Contactos */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; }
.contact dl { margin: 26px 0; display: grid; grid-template-columns: 110px 1fr; gap: 14px 16px; }
.contact dt { font-weight: 600; font-size: .85rem; color: var(--grey); text-transform: uppercase; letter-spacing: .06em; padding-top: 2px; }
.contact dd { margin: 0; }
.contact dd a { color: var(--ink); font-weight: 500; text-decoration: none; }
.contact dd a:hover { color: var(--orange-dk); }
.contact small { display: block; color: var(--grey); font-size: .75rem; }
.social { display: flex; gap: 10px; }
.social a { width: 42px; height: 42px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; }
.social a:hover { background: var(--orange); }
.social svg { width: 20px; height: 20px; fill: #fff; }
#contactos { padding-bottom: 0; }
.map { display: block; width: 100%; height: 360px; border: 0; margin-top: 80px; filter: grayscale(.4); }

/* Forms */
.form { background: var(--bg-alt); border-radius: var(--radius); padding: 32px; display: grid; gap: 14px; }
.form h3 { margin-bottom: 4px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: .85rem; font-weight: 500; }
.form input:not([type=checkbox]), .form select, .form textarea { font: inherit; font-size: .95rem; padding: .7em .9em; border: 1px solid #d9d4cd; border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--orange); outline-offset: 0; border-color: transparent; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.form .check input { margin-top: 5px; accent-color: var(--orange); }
.form .btn { justify-self: start; }
.form__status { margin: 0; font-size: .9rem; min-height: 1.2em; }
.form__status.ok { color: #2f7d32; }
.form__status.err { color: #c0392b; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.invalid { border-color: #c0392b !important; }

/* Modal */
.modal { border: 0; padding: 0; border-radius: var(--radius); width: min(600px, calc(100% - 32px)); max-height: calc(100% - 32px); }
.modal::backdrop { background: rgba(20,20,22,.55); backdrop-filter: blur(3px); }
.modal .form { background: #fff; position: relative; }
.modal__close { position: absolute; right: 14px; top: 10px; background: none; border: 0; font-size: 2rem; line-height: 1; cursor: pointer; color: var(--ink-2); }
.modal h3 { font-size: 1.45rem; padding-right: 30px; }

/* Footer */
.footer { background: var(--ink); color: #c9c9c9; padding: 60px 0 24px; font-size: .9rem; }
.footer__in { display: grid; grid-template-columns: 1.3fr 1.3fr 1fr 1fr; gap: 40px; }
.footer__logo { filter: brightness(0) invert(1); opacity: .9; margin-bottom: 14px; }
.footer h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 14px; }
.footer nav { display: grid; gap: 8px; align-content: start; }
.footer a { color: #c9c9c9; text-decoration: none; }
.footer a:hover { color: var(--orange); }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer__list a { color: #fff; font-weight: 500; }
.footer__list small { display: block; font-size: .75rem; color: #8d8f93; }
.social--footer { margin-top: 18px; }
.social--footer a { background: #3c3e43; }
.footer__copy { border-top: 1px solid #44464b; margin-top: 40px; padding-top: 20px; font-size: .8rem; color: #8d8f93; display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; }
.footer__copy p { margin: 0; }
.footer__copy a { color: #c9c9c9; font-weight: 600; }

/* Responsive */
@media (max-width: 960px) {
  .hero__in, .about, .contact, .faq-wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero__in { grid-template-areas: "txt" "img" "stats"; gap: 28px; padding-top: 50px; padding-bottom: 50px; }
  .hero__img { min-height: 0; aspect-ratio: 16 / 10; }
  .areas__grid { grid-template-columns: repeat(3, 1fr); }
  .area:nth-child(3n+1) { border-left: 1px solid var(--line); }
  .area { border-bottom: 1px solid var(--line); }
  .section { padding: 70px 0; }
  #quem-somos { padding-bottom: 50px; }
  .faq-wrap .section__head { margin-bottom: 0; }
  .footer__in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .burger { display: block; }
  .nav { position: fixed; inset: 76px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 24px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(0,0,0,.2); transform: translateY(-120%); visibility: hidden; transition: transform .3s, visibility .3s; }
  .nav.open { transform: none; visibility: visible; }
  .nav > a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 16px; justify-content: center; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .areas__grid { grid-template-columns: repeat(2, 1fr); }
  .area, .area:first-child, .area:nth-child(3n+1) { border-left: 0; }
  .area:nth-child(odd) { border-right: 1px solid var(--line); }
  .area:nth-child(even), .area:last-child { border-right: 0; }
  .area:last-child:nth-child(odd) { grid-column: span 2; }
  .form { padding: 22px; }
  .form__row { grid-template-columns: 1fr; }
  .contact dl { grid-template-columns: 1fr; gap: 2px; }
  .contact dd { margin-bottom: 12px; }
  .footer__in { grid-template-columns: 1fr; }
  .hero__stats { gap: 8px; }
  .hero__stats li { padding: 12px; }
  .hero__stats strong { font-size: 1.15rem; }
  .hero__stats span { font-size: .72rem; }
  .catalogs { padding: 30px 18px; margin-top: 44px; }
  .area-banner { height: 190px; }
  .area-banner div { padding: 20px; }
  .area-banner h3 { font-size: 1.5rem; }
}

/* Páginas legais */
.legal { max-width: 820px; padding-top: 70px; padding-bottom: 100px; }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.25rem; margin-top: 2em; }
.legal p, .legal li { color: var(--ink-2); }
.legal__date { font-size: .85rem; color: var(--grey) !important; }
.legal__table { width: 100%; border-collapse: collapse; font-size: .88rem; margin: 18px 0; display: block; overflow-x: auto; }
.legal__table th, .legal__table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--ink-2); min-width: 140px; }
.legal__table th { background: var(--bg-alt); color: var(--ink); font-weight: 600; }
.legal__table small { color: var(--grey); }
@media (max-width: 600px) {
  .legal__table, .legal__table tbody, .legal__table tr, .legal__table td { display: block; min-width: 0; }
  .legal__table thead { display: none; }
  .legal__table tr { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 12px; overflow: hidden; }
  .legal__table td { border-bottom: 1px solid var(--line); padding: 10px 14px; }
  .legal__table td:last-child { border-bottom: 0; }
  .legal__table td:first-child { background: var(--bg-alt); color: var(--ink); font-weight: 600; }
  .legal__table td:nth-child(2)::before { content: "Onde: "; font-weight: 600; color: var(--ink); }
  .legal__table td:nth-child(3)::before { content: "Finalidade: "; font-weight: 600; color: var(--ink); }
}
