/* =========================================================
   Ella Evolution — site styles
   Brand palette from the 2021 Brand Book (Um Quatro Quatro):
     Gold  #EFA72C   Teal #009F83   Green #22A951
   Brand font is Aneo Italic (not web-licensed) — Montserrat
   italic is used as the closest web-safe stand-in for display.
   ========================================================= */

:root {
  --gold: #EFA72C;
  --gold-soft: #F8DDA8;
  --gold-tint: #FDF4E3;
  --teal: #009F83;
  --teal-dark: #007A65;
  --teal-deep: #0B3B33;
  --teal-tint: #E6F5F1;
  --green: #22A951;
  --green-tint: #E8F6EC;
  --ink: #1D2A27;
  --ink-2: #4A5A56;
  --ink-3: #7A8A86;
  --line: #E3EAE8;
  --bg: #FFFFFF;
  --bg-2: #F5F8F7;
  --wa: #25D366;
  --wa-dark: #1DA851;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(11, 59, 51, .08);
  --shadow-sm: 0 2px 8px rgba(11, 59, 51, .06);
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Montserrat", "Inter", system-ui, sans-serif;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .5em; color: var(--teal-deep); letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.muted { color: var(--ink-2); }
.small { font-size: .875rem; }
.eyebrow {
  display: inline-block; font-family: var(--font-display); font-style: italic; font-weight: 700;
  color: var(--gold); text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; margin-bottom: .6rem;
}
.container { width: min(var(--max), 100% - 2rem); margin-inline: auto; }
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section-alt { background: var(--bg-2); }
.section-head { max-width: 680px; margin-bottom: 2.5rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .8rem 1.4rem; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 2px solid transparent; cursor: pointer; transition: .18s ease; line-height: 1.2;
  font-family: var(--font-body); text-decoration: none !important; white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--teal-deep); }
.btn-gold:hover { background: #E39A1E; transform: translateY(-1px); }
.btn-outline { border-color: var(--teal); color: var(--teal-dark); background: transparent; }
.btn-outline:hover { background: var(--teal-tint); }
.btn-light { background: #fff; color: var(--teal-deep); }
.btn-light:hover { background: var(--gold-tint); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); transform: translateY(-1px); }
.btn-sm { padding: .55rem 1rem; font-size: .85rem; }
.btn-block { width: 100%; }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--teal-deep); color: #CFE6E0; font-size: .82rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 36px; }
.topbar a { color: #fff; display: inline-flex; align-items: center; gap: .35rem; }
.topbar svg { width: 14px; height: 14px; }
.topbar-left, .topbar-right { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; }
@media (max-width: 700px) { .topbar-left span.hide-m { display: none; } }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 78px; }
.brand img { height: 58px; width: auto; }
.nav { display: flex; align-items: center; gap: .25rem; }
.nav a { padding: .55rem .85rem; border-radius: 999px; font-weight: 500; color: var(--ink); font-size: .95rem; }
.nav a:hover { background: var(--teal-tint); text-decoration: none; color: var(--teal-dark); }
.nav a.active { color: var(--teal-dark); font-weight: 700; }
.header-cta { display: flex; gap: .6rem; align-items: center; }
.nav-toggle { display: none; background: none; border: 0; padding: .4rem; cursor: pointer; color: var(--teal-deep); }
.nav-toggle svg { width: 28px; height: 28px; }
@media (max-width: 960px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: .75rem 1rem 1rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: .8rem 1rem; border-radius: var(--radius-sm); }
  .nav-toggle { display: inline-flex; }
  .header-cta .btn-outline { display: none; }
}
@media (max-width: 520px) { .header-cta .btn span { display: none; } .header-cta .btn { padding: .65rem .8rem; } }

/* ---------- Decorative brand arc (from the brand book stationery) ---------- */
.arc { position: absolute; pointer-events: none; border-radius: 50%; border: 18px solid var(--gold-soft); border-color: var(--gold-soft) transparent transparent var(--gold-soft); transform: rotate(45deg); opacity: .9; }
.arc::after { content: ""; position: absolute; inset: -34px; border-radius: 50%; border: 5px solid var(--teal); border-color: var(--teal) transparent transparent var(--teal); opacity: .55; }
.dots { position: absolute; display: grid; grid-template-columns: repeat(2, 6px); gap: 6px; pointer-events: none; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--teal-tint) 0%, #fff 55%, var(--gold-tint) 100%); }
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; padding-block: clamp(3rem, 7vw, 6rem); position: relative; }
.hero h1 span { color: var(--teal); }
.hero p.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 540px; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.hero-badges { display: flex; gap: 1.25rem; flex-wrap: wrap; margin-top: 2rem; }
.hero-badges div { display: flex; align-items: center; gap: .5rem; font-size: .9rem; color: var(--ink-2); font-weight: 500; }
.hero-badges svg { width: 20px; height: 20px; color: var(--green); }
.hero-visual { position: relative; }
.hero-card { background: #fff; border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; position: relative; }
.hero-card img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.hero-float { position: absolute; background: #fff; border-radius: 14px; padding: .8rem 1rem; box-shadow: var(--shadow); display: flex; gap: .75rem; align-items: center; font-size: .9rem; }
.hero-float strong { display: block; color: var(--teal-deep); font-family: var(--font-display); }
.hero-float .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--teal-tint); color: var(--teal); }
.hero-float .ic svg { width: 22px; height: 22px; }
.hero-float.f1 { left: -1.5rem; bottom: 2rem; }
.hero-float.f2 { right: -1rem; top: 1.5rem; }
.hero .arc { width: 380px; height: 380px; right: -60px; top: -120px; }
.hero .dots { left: 1rem; bottom: 2rem; grid-template-rows: repeat(7, 6px); }
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; gap: 2rem; }
  .hero-float.f1 { left: .5rem; bottom: .75rem; } .hero-float.f2 { right: .5rem; top: .75rem; }
  .hero .arc { width: 260px; height: 260px; right: -140px; top: -140px; }
}

/* ---------- Trust strip ---------- */
.trust { background: var(--teal-deep); color: #fff; }
.trust .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding-block: 1.25rem; }
.trust div { display: flex; align-items: center; gap: .7rem; font-size: .92rem; font-weight: 500; }
.trust svg { width: 26px; height: 26px; color: var(--gold); flex: none; }
@media (max-width: 900px) { .trust .container { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .trust .container { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; transition: .18s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: transparent; }
.card .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--teal-tint); color: var(--teal); margin-bottom: 1rem; }
.card .ic svg { width: 26px; height: 26px; }
.card.gold .ic { background: var(--gold-tint); color: #D18F17; }
.card.green .ic { background: var(--green-tint); color: var(--green); }
.card h3 { margin-bottom: .35rem; }
.card p { color: var(--ink-2); font-size: .95rem; margin: 0; }
.card .more { display: inline-flex; align-items: center; gap: .3rem; margin-top: .9rem; font-weight: 600; font-size: .9rem; color: var(--teal-dark); }
.card .more svg { width: 16px; height: 16px; }
a.card { color: inherit; text-decoration: none; display: block; }

/* Segments (who we serve) */
.segments { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.segment { text-align: center; padding: 1.25rem .75rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .9rem; color: var(--teal-deep); }
.segment svg { width: 34px; height: 34px; margin: 0 auto .6rem; color: var(--teal); }
@media (max-width: 900px) { .segments { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .segments { grid-template-columns: repeat(2, 1fr); } }

/* Split section */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.split .img { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); position: relative; }
.split .img img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.checks { list-style: none; padding: 0; margin: 1.25rem 0; display: grid; gap: .6rem; }
.checks li { display: flex; gap: .6rem; align-items: flex-start; color: var(--ink-2); }
.checks svg { width: 20px; height: 20px; color: var(--green); flex: none; margin-top: .15rem; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 2rem; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat { text-align: center; padding: 1.5rem 1rem; border-radius: var(--radius); background: var(--teal-tint); }
.stat b { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--teal); line-height: 1; }
.stat span { font-size: .9rem; color: var(--ink-2); }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Brand logos strip */
.brands { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.brands span { padding: .6rem 1.2rem; border-radius: 999px; border: 1px dashed var(--line); color: var(--ink-3); font-weight: 600; font-size: .9rem; background: #fff; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--teal) 0%, var(--green) 100%); color: #fff; border-radius: 26px; padding: clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: .4rem; }
.cta-band p { color: rgba(255,255,255,.9); margin: 0; }
.cta-band .actions { display: flex; gap: .75rem; flex-wrap: wrap; justify-content: flex-end; }
.cta-band .arc { width: 320px; height: 320px; right: -120px; bottom: -200px; border-color: rgba(255,255,255,.25) transparent transparent rgba(255,255,255,.25); }
.cta-band .arc::after { border-color: var(--gold) transparent transparent var(--gold); opacity: .8; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; } .cta-band .actions { justify-content: flex-start; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--teal-deep); color: #fff; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.page-hero h1 { color: #fff; margin-bottom: .4rem; }
.page-hero p { color: #BFDDD6; max-width: 640px; font-size: 1.05rem; margin: 0; }
.page-hero .arc { width: 360px; height: 360px; right: -160px; top: -180px; opacity: .55; }
.breadcrumb { font-size: .82rem; color: #9CC7BD; margin-bottom: .8rem; }
.breadcrumb a { color: #fff; }

/* ---------- Gallery (About) ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); position: relative; }
.gallery img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.gallery figcaption { padding: .6rem .9rem; font-size: .85rem; color: var(--ink-2); }
.gallery .placeholder { aspect-ratio: 4/3; display: grid; place-items: center; color: var(--ink-3); font-size: .85rem; text-align: center; padding: 1rem; background: repeating-linear-gradient(45deg, #F5F8F7 0 12px, #EEF3F1 12px 24px); }
.gallery .placeholder svg { width: 36px; height: 36px; margin-bottom: .4rem; color: var(--teal); opacity: .6; }
.gallery figure.wide { grid-column: span 2; }
@media (max-width: 800px) { .gallery { grid-template-columns: repeat(2, 1fr); } .gallery figure.wide { grid-column: span 2; } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } .gallery figure.wide { grid-column: span 1; } }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 800px) { .values { grid-template-columns: 1fr; } }

.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.timeline li { display: grid; grid-template-columns: 90px 1fr; gap: 1rem; align-items: start; }
.timeline b { font-family: var(--font-display); color: var(--gold); font-size: 1.25rem; }

/* ---------- Products ---------- */
.products-layout { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; align-items: start; }
@media (max-width: 900px) { .products-layout { grid-template-columns: 1fr; } }
.filters { position: sticky; top: 96px; }
.search { position: relative; margin-bottom: 1rem; }
.search input { width: 100%; padding: .8rem 1rem .8rem 2.6rem; border: 1px solid var(--line); border-radius: 999px; font: inherit; font-size: .95rem; background: #fff; }
.search input:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: transparent; }
.search svg { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--ink-3); }
.filter-list { display: flex; flex-direction: column; gap: .25rem; }
.filter-list button { text-align: left; background: none; border: 0; font: inherit; font-size: .93rem; padding: .55rem .8rem; border-radius: var(--radius-sm); cursor: pointer; color: var(--ink-2); display: flex; justify-content: space-between; align-items: center; }
.filter-list button:hover { background: var(--teal-tint); }
.filter-list button.active { background: var(--teal); color: #fff; font-weight: 600; }
.filter-list button small { opacity: .7; font-size: .8rem; }
@media (max-width: 900px) {
  .filters { position: static; }
  .filter-list { flex-direction: row; flex-wrap: wrap; }
  .filter-list button { border: 1px solid var(--line); border-radius: 999px; padding: .45rem .85rem; }
}
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 1100px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .product-grid { grid-template-columns: 1fr; } }
.product { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: .18s; }
.product:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.product .thumb { height: 170px; display: flex; align-items: center; justify-content: center; padding: 1.25rem 1.5rem; background: #fff; border-bottom: 1px solid var(--line); position: relative; }
.product .thumb img { max-height: 130px; max-width: 70%; width: auto; height: auto; object-fit: contain; filter: saturate(1.02); }
.product .thumb svg { width: 56px; height: 56px; color: var(--teal); opacity: .5; }
.product .thumb .tag { position: absolute; top: .75rem; left: .75rem; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: .25rem .6rem; border-radius: 999px; background: var(--gold); color: var(--teal-deep); }
.product .body { padding: 1.1rem 1.2rem 1.2rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.product .cat { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--teal); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product h3 { font-size: 1rem; margin: 0; line-height: 1.3; min-height: 2.6em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product p { font-size: .875rem; color: var(--ink-2); margin: 0; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 4.1em; }
.product .meta { font-size: .8rem; color: var(--ink-3); }
.product .actions { display: flex; gap: .5rem; margin-top: .75rem; }
.product .actions .btn { flex: 1; }
.product .actions .btn-wa { flex: none; padding-inline: .8rem; }
.product.in-quote { border-color: var(--teal); }
.product.in-quote .add { background: var(--teal-tint); color: var(--teal-dark); border-color: transparent; }
.results-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; font-size: .9rem; color: var(--ink-2); flex-wrap: wrap; gap: .5rem; }
.empty { padding: 3rem 1rem; text-align: center; color: var(--ink-3); border: 1px dashed var(--line); border-radius: var(--radius); }

/* Quote drawer */
.quote-fab { position: fixed; left: 1.25rem; bottom: 1.25rem; z-index: 60; display: none; align-items: center; gap: .5rem; background: var(--teal-deep); color: #fff; padding: .8rem 1.1rem; border-radius: 999px; box-shadow: var(--shadow); border: 0; font: inherit; font-weight: 600; cursor: pointer; }
.quote-fab.show { display: inline-flex; }
.quote-fab svg { width: 20px; height: 20px; }
.quote-fab .count { background: var(--gold); color: var(--teal-deep); border-radius: 999px; min-width: 22px; height: 22px; display: grid; place-items: center; font-size: .8rem; font-weight: 800; }
.drawer-backdrop { position: fixed; inset: 0; background: rgba(11,59,51,.45); z-index: 70; display: none; }
.drawer-backdrop.open { display: block; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: #fff; z-index: 80; transform: translateX(100%); transition: transform .25s ease; display: flex; flex-direction: column; box-shadow: -10px 0 40px rgba(0,0,0,.15); }
.drawer.open { transform: none; }
.drawer header { padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.drawer header h3 { margin: 0; }
.drawer .close { background: none; border: 0; cursor: pointer; padding: .3rem; color: var(--ink-2); }
.drawer .close svg { width: 24px; height: 24px; }
.drawer .items { flex: 1; overflow: auto; padding: 1rem 1.25rem; display: grid; gap: .6rem; align-content: start; }
.qitem { display: grid; grid-template-columns: 1fr auto; gap: .5rem; align-items: center; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: .9rem; }
.qitem b { display: block; color: var(--teal-deep); }
.qitem small { color: var(--ink-3); }
.qitem .qty { display: flex; align-items: center; gap: .3rem; }
.qitem .qty button { width: 26px; height: 26px; border-radius: 6px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-weight: 700; color: var(--teal-dark); }
.qitem .qty span { min-width: 1.5rem; text-align: center; font-weight: 600; }
.qitem .rm { background: none; border: 0; color: var(--ink-3); cursor: pointer; font-size: .8rem; }
.drawer footer { padding: 1rem 1.25rem 1.25rem; border-top: 1px solid var(--line); display: grid; gap: .6rem; }
.drawer footer .hint { font-size: .8rem; color: var(--ink-3); text-align: center; margin: 0; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
.info-list { display: grid; gap: 1rem; }
.info { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.info .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--teal-tint); color: var(--teal); display: grid; place-items: center; flex: none; }
.info .ic svg { width: 22px; height: 22px; }
.info b { display: block; color: var(--teal-deep); font-family: var(--font-display); font-size: .95rem; }
.info span, .info a { font-size: .95rem; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: .2rem 1rem; font-size: .93rem; }
.hours dt { color: var(--ink-2); } .hours dd { margin: 0; font-weight: 600; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow-sm); }
.form h2 { font-size: 1.5rem; }
.field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.field label { font-size: .88rem; font-weight: 600; color: var(--teal-deep); }
.field label .req { color: #D64545; }
.field input, .field select, .field textarea { width: 100%; padding: .8rem .95rem; border: 1px solid #CFDAD7; border-radius: 10px; font: inherit; font-size: .95rem; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: transparent; }
.field textarea { min-height: 130px; resize: vertical; }
.field .help { font-size: .8rem; color: var(--ink-3); }
.field.error input, .field.error select, .field.error textarea { border-color: #D64545; }
.field .err { font-size: .8rem; color: #D64545; display: none; }
.field.error .err { display: block; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .row-2 { grid-template-columns: 1fr; } }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .85rem; color: var(--ink-2); margin: .25rem 0 1.25rem; }
.consent input { width: 18px; height: 18px; margin-top: .15rem; flex: none; accent-color: var(--teal); }
.form-actions { display: grid; gap: .6rem; }
.form-or { text-align: center; font-size: .8rem; color: var(--ink-3); }
.form-status { display: none; padding: 1rem; border-radius: 10px; font-size: .92rem; margin-top: 1rem; }
.form-status.ok { display: block; background: var(--green-tint); color: #146A33; }
.form-status.fail { display: block; background: #FDECEC; color: #A32B2B; }
.map { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--teal-deep); color: #BFDDD6; padding-top: 3.5rem; font-size: .92rem; }
.footer .grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
@media (max-width: 900px) { .footer .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer .grid { grid-template-columns: 1fr; } }
.footer h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.footer a { color: #E6F2EF; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer .brand img { height: 44px; margin-bottom: 1rem; }
.footer .social { display: flex; gap: .6rem; margin-top: 1rem; }
.footer .social a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.08); }
.footer .social a:hover { background: var(--gold); color: var(--teal-deep); }
.footer .social svg { width: 20px; height: 20px; }
.footer .legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-block: 1.25rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .8rem; color: #8FB8AE; }
.footer .legal a { color: #BFDDD6; }
.footer .cnpj { font-family: ui-monospace, monospace; }

/* ---------- WhatsApp floating button ---------- */
.wa-float { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37,211,102,.45); transition: .18s; }
.wa-float:hover { transform: scale(1.06); background: var(--wa-dark); }
.wa-float svg { width: 32px; height: 32px; }
.wa-float .tip { position: absolute; right: 70px; background: #fff; color: var(--ink); padding: .5rem .8rem; border-radius: 10px; font-size: .82rem; font-weight: 600; white-space: nowrap; box-shadow: var(--shadow); opacity: 0; transform: translateX(6px); transition: .18s; pointer-events: none; }
.wa-float:hover .tip { opacity: 1; transform: none; }
@media (max-width: 600px) { .wa-float .tip { display: none; } }

/* ---------- Cookie banner (LGPD) ---------- */
.cookie { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 65; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 1rem 1.25rem; display: none; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap; max-width: 860px; margin-inline: auto; font-size: .88rem; }
.cookie.show { display: flex; }
.cookie p { margin: 0; color: var(--ink-2); }
.cookie .btns { display: flex; gap: .5rem; }

/* ---------- Misc ---------- */
.notice { background: var(--gold-tint); border: 1px solid var(--gold-soft); color: #7A5410; padding: .8rem 1rem; border-radius: 10px; font-size: .88rem; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .9rem 1.1rem; margin-bottom: .6rem; background: #fff; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--teal-deep); }
.faq p { margin: .6rem 0 0; color: var(--ink-2); font-size: .95rem; }
.toast { position: fixed; left: 50%; bottom: 5.5rem; transform: translate(-50%, 20px); background: var(--teal-deep); color: #fff; padding: .7rem 1.1rem; border-radius: 999px; font-size: .9rem; opacity: 0; transition: .2s; z-index: 100; pointer-events: none; white-space: nowrap; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* =========================================================
   Mobile & tablet QA pass (Brazil mobile-first)
   ========================================================= */
/* Let grid/flex children shrink so nothing forces horizontal scroll on 360px phones */
.grid > *, .split > *, .contact-layout > *, .products-layout > *, .hero .container > *, .footer .grid > *, .stats > *, .values > *, .segments > * { min-width: 0; }
.info, .info > div, .footer li, .topbar a { min-width: 0; overflow-wrap: anywhere; }
.split .img img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }
.hero-card img { height: auto; }

/* Readable minimums (Google mobile guidance: 16px body, nothing under 13px) */
.eyebrow { font-size: .8125rem; }
.footer .legal { font-size: .8125rem; }
.product .cat { font-size: .75rem; }
.product .meta, .field .help, .field .err, .cookie, .drawer footer .hint { font-size: .8125rem; }
.hero-badges div, .trust div { font-size: .9375rem; }

/* Tap targets ≥ 44px */
.topbar .container { min-height: 44px; }
.topbar a { min-height: 44px; display: inline-flex; align-items: center; }
.footer ul a, .footer .legal a { display: inline-block; padding: .45rem 0; }
.footer .social a { width: 44px; height: 44px; }
.info a { display: inline-block; padding: .3rem 0; }
.card .more { padding: .5rem 0; margin-top: .4rem; }
.faq summary { min-height: 48px; display: flex; align-items: center; padding: .25rem 0; }
.faq details { padding: .5rem 1.1rem; }
.drawer .close { width: 44px; height: 44px; display: grid; place-items: center; }
.consent input { width: 22px; height: 22px; }
.consent { padding: .4rem 0; }
.qitem .qty button { width: 36px; height: 36px; }
.qitem .rm { padding: .5rem .4rem; }
@media (max-width: 960px) {
  .btn-sm { min-height: 44px; }
  .product .actions .btn { min-height: 44px; }
  .filter-list button { min-height: 44px; }
  .nav a { min-height: 48px; display: flex; align-items: center; }
  .nav a.nav-quote { display: flex; color: var(--teal-dark); font-weight: 700; border-top: 1px solid var(--line); margin-top: .4rem; padding-top: 1rem; }
}
.nav a.nav-quote { display: none; }

/* Top bar: one line everywhere. Phones keep phone + city; tablets drop the slogan. */
@media (max-width: 960px) { .topbar .hide-t { display: none; } }
@media (max-width: 700px) {
  .topbar .container { justify-content: center; }
  .topbar-right { display: none; }
  .topbar-left { gap: .75rem; flex-wrap: nowrap; }
  .topbar-left .city-m { display: inline; }
}
.topbar-left .city-m { display: none; color: #CFE6E0; }

/* Products: horizontal filter strip on phones/tablets, clear count spacing */
.filter-list button small { margin-left: .5rem; }
@media (max-width: 900px) {
  .filter-list { flex-wrap: nowrap; overflow-x: auto; gap: .5rem; padding-bottom: .5rem; margin-inline: calc(-1 * (100vw - min(var(--max), 100vw - 2rem)) / 2); padding-inline: max(1rem, calc((100vw - min(var(--max), 100vw - 2rem)) / 2)); scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
  .filter-list::-webkit-scrollbar { display: none; }
  .filter-list button { flex: none; scroll-snap-align: start; white-space: nowrap; background: #fff; }
  .filters .notice { display: none; }
  .search { margin-bottom: .75rem; }
  .products-layout { gap: 1rem; }
  .results-bar .small { display: none; }
}
@media (max-width: 560px) {
  .product .body { padding: 1rem; }
  .product .thumb { height: 150px; }
  .product .thumb img { max-height: 115px; }
}

/* Compact cookie notice on phones (LGPD): keep it out of the way of the WhatsApp button */
@media (max-width: 600px) {
  .cookie { left: .75rem; right: 5rem; bottom: .75rem; padding: .75rem .9rem; font-size: .8125rem; border-radius: 12px; }
  .cookie .btns .btn { min-height: 40px; }
  .quote-fab { bottom: 5.25rem; left: .75rem; }
  .wa-float { right: .75rem; bottom: .75rem; }
}

/* Tablet hero: keep the image proportionate */
@media (min-width: 700px) and (max-width: 900px) {
  .hero-card img { aspect-ratio: 16/9; }
  .hero p.lead { max-width: none; }
}

/* Prevent iOS zoom on inputs (font-size ≥ 16px) */
.field input, .field select, .field textarea, .search input { font-size: 16px; }
/* Natural aspect for split images (mixed sources); wide gallery tile matches the panoramic storefront shot */
.split .img img { aspect-ratio: auto; }
.gallery figure.wide img { aspect-ratio: 2/1; }
@media (max-width: 520px) { .gallery figure.wide img { aspect-ratio: 16/10; } }
/* Final touch-ups from the QA pass */
.btn-block { white-space: normal; text-align: center; }
.checks li, .footer li, .info-list, .form-actions { min-width: 0; }
.checks li a, .footer li a, .info a { overflow-wrap: anywhere; }
.footer ul a, .footer .legal a { padding: .6rem 0; }
.info a { padding: .45rem 0; }
.breadcrumb a { display: inline-block; padding: .6rem 0; }
.checks a { display: inline-block; padding: .3rem 0; }
.filter-list button small { font-size: .8125rem; }
.form-status.ok, .form-status.fail { font-size: .9375rem; }
@media (max-width: 700px) {
  .topbar .hide-m { display: none !important; }
  .topbar-left .city-m { display: inline !important; }
}

/* ---------- Partner brand logos (data-driven) ---------- */
.brands-logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: .75rem; }
.brand-logo { display: flex; align-items: center; justify-content: center; height: 88px; padding: 1rem 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: .18s; }
a.brand-logo:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: transparent; text-decoration: none; }
.brand-logo.static { cursor: default; }
.brand-logo img { max-height: 48px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
@media (max-width: 1000px) { .brands-logos { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) { .brands-logos { grid-template-columns: repeat(3, 1fr); gap: .5rem; } .brand-logo { height: 72px; padding: .75rem; } .brand-logo img { max-height: 40px; } }
@media (max-width: 380px) { .brands-logos { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Photo slider (About) ---------- */
.slider { position: relative; }
.slider-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; gap: 1rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; border-radius: 22px; }
.slider-track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; margin: 0; position: relative; border-radius: 22px; overflow: hidden; background: var(--teal-deep); }
.slide img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; display: block; }
.slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1.5rem 1.1rem; color: #fff; font-weight: 600; background: linear-gradient(to top, rgba(11,59,51,.85), transparent); font-size: .95rem; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--teal-deep); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); transition: .18s; }
.slider-btn:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.slider-btn svg { width: 22px; height: 22px; }
.slider-btn.prev { left: 1rem; } .slider-btn.next { right: 1rem; }
.slider-dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1rem; }
.slider-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: #C9D6D2; cursor: pointer; padding: 0; transition: .18s; }
.slider-dots button.on { background: var(--teal); width: 28px; border-radius: 999px; }
@media (max-width: 600px) { .slide img { aspect-ratio: 4/3; } .slider-btn { width: 40px; height: 40px; } .slider-btn.prev { left: .5rem; } .slider-btn.next { right: .5rem; } .slide figcaption { font-size: .85rem; padding: 2rem 1rem .9rem; } .slider-dots button { width: 12px; height: 12px; } .slider-dots button.on { width: 30px; } }
/* Hours list: keep values readable; stack on narrow cards */
.hours dd { overflow-wrap: normal; white-space: nowrap; }
@media (max-width: 700px) {
  .hours { grid-template-columns: 1fr; gap: 0; }
  .hours dt { margin-top: .35rem; }
  .hours dd { white-space: normal; }
  .hours dt:first-child { margin-top: 0; }
}

/* ---------- Crawlable product index (bottom of Produtos) ---------- */
.product-index { background: var(--bg-2); border-top: 1px solid var(--line); }
.index-group { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; margin-bottom: .5rem; padding: .25rem 1rem; }
.index-group summary { cursor: pointer; font-weight: 600; color: var(--teal-deep); min-height: 44px; display: flex; align-items: center; gap: .5rem; }
.index-group summary small { color: var(--ink-3); font-weight: 500; }
.index-group ul { columns: 3; column-gap: 2rem; list-style: none; padding: 0 0 .75rem; margin: 0; font-size: .875rem; }
.index-group li { break-inside: avoid; padding: .3rem 0; }
.index-group li a { color: var(--ink-2); display: inline-block; }
.index-group li a:hover { color: var(--teal-dark); }
@media (max-width: 900px) { .index-group ul { columns: 2; } }
@media (max-width: 560px) { .index-group ul { columns: 1; } }
