/* ================================================================
   Azepel — Design System
   Paleta: azul-profundo institucional + branco + verde-celulose
   ================================================================ */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../fonts/manrope-var-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB;
}

:root {
  --ink: #101f4b;
  --ink-2: #3c4a76;
  --navy: #16295c;
  --navy-deep: #0c1738;
  --teal: #199d87;
  --teal-dark: #0f7c6a;
  --bg: #ffffff;
  --bg-muted: #f4f6fa;
  --line: #e3e8f2;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 8px 30px rgba(16, 31, 75, 0.08);
  --shadow-lg: 0 18px 50px rgba(16, 31, 75, 0.16);
  --container: 1160px;
  --wa: #25d366;
  font-size: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.3rem); }
h3 { font-size: 1.1rem; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.ic { width: 1.2em; height: 1.2em; fill: currentColor; vertical-align: -0.22em; flex-shrink: 0; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff; padding: 0.6rem 1rem;
}
.skip-link:focus { left: 0; }

/* ---------------------------------------------------------- botões */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1.4rem; border-radius: 999px;
  font-weight: 700; font-size: 0.95rem; border: 2px solid transparent;
  cursor: pointer; transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--lg { padding: 0.9rem 1.8rem; font-size: 1.02rem; }
.btn--primary { background: var(--teal); color: #fff; box-shadow: 0 6px 18px rgba(25, 157, 135, 0.35); }
.btn--primary:hover { background: var(--teal-dark); }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--outline-light { border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--navy); }
.btn--light { background: #fff; color: var(--navy); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.btn--ghost:hover { border-color: #fff; }

.kicker {
  display: inline-block; font-size: 0.78rem; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal);
  margin-bottom: 0.7rem;
}
.kicker--light { color: #7fe0cf; }

/* ---------------------------------------------------------- topbar */
.topbar {
  background: var(--navy-deep); color: #cdd6ee; font-size: 0.82rem;
  transition: margin-top 0.25s ease;
}
.topbar__inner { display: flex; gap: 1.4rem; align-items: center; padding-block: 0.45rem; }
.topbar a { display: inline-flex; align-items: center; gap: 0.4rem; }
.topbar a:hover { color: #fff; }
.topbar__spacer { flex: 1; }
body.scrolled .topbar { margin-top: -2.2rem; }
@media (max-width: 640px) { .topbar { display: none; } }

/* ---------------------------------------------------------- header */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: 2rem; padding-block: 0.8rem; }

.logo { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 1.45rem; font-weight: 800; letter-spacing: -0.03em; }
.logo__word { color: var(--navy); }
.logo__mark { width: 36px; height: 36px; display: block; }
.footer .logo__word { color: #fff; }

.nav { display: flex; align-items: center; gap: 1.6rem; margin-left: auto; font-weight: 600; font-size: 0.97rem; }
.nav a:not(.btn) { position: relative; padding-block: 0.3rem; color: var(--ink-2); }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--navy); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -0.2rem;
  height: 3px; border-radius: 2px; background: var(--teal);
}
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav {
    position: fixed; inset: 0 0 auto 0; top: 0; flex-direction: column;
    background: var(--navy-deep); padding: 5.5rem 2rem 2.5rem;
    gap: 1.2rem; font-size: 1.15rem; transform: translateY(-102%);
    transition: transform 0.28s ease; z-index: 90;
  }
  .nav a:not(.btn) { color: #dbe2f5; }
  .nav a:not(.btn):hover, .nav a[aria-current="page"] { color: #fff; }
  body.nav-open .nav { transform: translateY(0); }
  .nav-toggle {
    display: grid; gap: 5px; margin-left: auto; background: none;
    border: 0; padding: 0.5rem; cursor: pointer; z-index: 95;
  }
  .nav-toggle span { width: 24px; height: 2.5px; border-radius: 2px; background: var(--navy); transition: transform 0.25s ease, opacity 0.25s ease; }
  body.nav-open .nav-toggle span { background: #fff; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

/* ------------------------------------------------------------ hero */
.hero { position: relative; background: var(--navy-deep); color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.28; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(12, 23, 56, 0.96) 20%, rgba(12, 23, 56, 0.55) 70%, rgba(22, 41, 92, 0.35));
}
.hero__inner { position: relative; z-index: 1; padding-block: clamp(4.5rem, 11vw, 8.5rem); }
.hero__copy { max-width: 640px; }
.hero__copy h1 { margin-bottom: 1.1rem; }
.hero__copy p { font-size: 1.12rem; color: #ccd6ef; margin-bottom: 2rem; }
.hero__actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }

/* --------------------------------------------------------- seções */
.section { padding-block: clamp(3.2rem, 7vw, 5.5rem); }
.section--muted { background: var(--bg-muted); }
.section--dark { background: var(--navy-deep); color: #fff; }
.section--dark .kicker { color: #7fe0cf; }
.section-head { max-width: 620px; margin-bottom: 2.4rem; }
.section-head p { color: var(--ink-2); margin-top: 0.7rem; }
.section--dark .section-head p { color: #b9c4e2; }
.section-cta { margin-top: 2.4rem; text-align: center; }

/* ----------------------------------------------------------- stats */
.stats { padding-block: clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1.5rem; text-align: center; }
.stat strong { display: block; font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.stat span { font-size: 0.88rem; color: var(--ink-2); }

/* ----------------------------------------------------------- about */
.about-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-grid__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); object-fit: cover; aspect-ratio: 4 / 4.6; }
.about-grid__copy h2 { margin-bottom: 1rem; }
.about-grid__copy p { color: var(--ink-2); margin-bottom: 1rem; }
.about-grid__copy .btn { margin-top: 0.8rem; }
@media (max-width: 780px) { .about-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------ categorias */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 1.2rem; }
.cat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.2rem; text-align: center; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--teal); }
.cat-card__media { height: 150px; display: grid; place-items: center; margin-bottom: 0.8rem; }
.cat-card__media img { max-height: 150px; width: auto; object-fit: contain; }
.cat-card h3 { font-size: 0.98rem; color: var(--navy); }
.cat-card__count { font-size: 0.8rem; color: var(--ink-2); }

.cat-grid--lg { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.6rem; }
.cat-card--rich { text-align: left; display: grid; grid-template-columns: 130px 1fr; gap: 1.2rem; align-items: center; padding: 1.5rem; }
.cat-card--rich .cat-card__media { margin: 0; }
.cat-card--rich h2 { font-size: 1.15rem; margin-bottom: 0.4rem; color: var(--navy); }
.cat-card--rich p {
  font-size: 0.88rem; color: var(--ink-2); margin-bottom: 0.6rem;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* -------------------------------------------------------- produtos */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem; }
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.product-card__media { aspect-ratio: 1; display: grid; place-items: center; padding: 1.4rem; background: #fff; }
.product-card__media img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform 0.25s ease; }
.product-card:hover .product-card__media img { transform: scale(1.05); }
.product-card__body { padding: 1.1rem 1.3rem 1.4rem; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.product-card__cat { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); }
.product-card__body h3 { font-size: 0.98rem; color: var(--navy); }
.product-card__link { margin-top: auto; padding-top: 0.6rem; font-size: 0.88rem; font-weight: 700; color: var(--teal-dark); display: inline-flex; align-items: center; gap: 0.35rem; }
.product-card:hover .product-card__link { gap: 0.6rem; }
.product-card__link .ic { transition: transform 0.2s ease; }

/* ----------------------------------------------------- diferenciais */
.diff__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.4rem; }
.diff-item {
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius); padding: 1.6rem;
}
.diff-item h3 { color: #fff; margin-bottom: 0.5rem; }
.diff-item p { color: #b9c4e2; font-size: 0.94rem; }

/* -------------------------------------------------------------- cta */
.section--cta { padding-block: clamp(2rem, 5vw, 3.5rem); }
.cta-box {
  background: linear-gradient(115deg, var(--navy) 0%, var(--navy-deep) 60%, #123a34 100%);
  color: #fff; border-radius: calc(var(--radius) + 6px);
  padding: clamp(2rem, 5vw, 3.5rem); display: flex; align-items: center;
  justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}
.cta-box h2 { max-width: 560px; margin-bottom: 0.6rem; }
.cta-box p { color: #b9c4e2; }
.cta-box__actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }

/* -------------------------------------------------------- instagram */
.insta-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.9rem; }
.insta-card { position: relative; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1; }
.insta-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.insta-card:hover img { transform: scale(1.07); }
.insta-card__overlay {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(12, 23, 56, 0.45); color: #fff; font-size: 1.6rem;
  opacity: 0; transition: opacity 0.25s ease;
}
.insta-card:hover .insta-card__overlay, .insta-card:focus-visible .insta-card__overlay { opacity: 1; }

/* ---------------------------------------------------------- footer */
.footer { background: var(--navy-deep); color: #b9c4e2; font-size: 0.93rem; }
.footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem; padding-block: clamp(2.5rem, 6vw, 4rem);
}
.footer__brand p { margin-block: 1rem; max-width: 300px; }
.footer__social { display: flex; gap: 0.9rem; font-size: 1.25rem; }
.footer__social a:hover { color: #fff; }
.footer__col { display: flex; flex-direction: column; gap: 0.55rem; }
.footer__col h3 { color: #fff; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.4rem; }
.footer__col a:hover { color: #fff; }
.footer__col address { font-style: normal; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-block: 1.1rem; font-size: 0.82rem; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------- whatsapp */
.whatsapp-fab {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 80;
  width: 3.6rem; height: 3.6rem; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center;
  font-size: 1.7rem; box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease;
}
.whatsapp-fab:hover { transform: scale(1.08); }
@media (max-width: 640px) {
  .whatsapp-fab { right: 0.9rem; bottom: 0.9rem; width: 3.1rem; height: 3.1rem; font-size: 1.5rem; }
  .product-grid { padding-bottom: 4.5rem; }
}

/* -------------------------------------------------------- page hero */
.page-hero {
  background: linear-gradient(115deg, var(--navy-deep), var(--navy));
  color: #fff; padding-block: clamp(3rem, 7vw, 5rem);
}
.page-hero p { color: #b9c4e2; max-width: 640px; margin-top: 0.8rem; font-size: 1.05rem; }

/* ------------------------------------------------------ breadcrumb */
.breadcrumb { background: var(--bg-muted); border-bottom: 1px solid var(--line); font-size: 0.84rem; }
.breadcrumb .container { display: flex; gap: 0.6rem; align-items: center; padding-block: 0.7rem; flex-wrap: wrap; }
.breadcrumb a { color: var(--ink-2); }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb span[aria-current] { color: var(--navy); font-weight: 700; }
.breadcrumb span[aria-hidden] { color: var(--line); }

/* -------------------------------------------------------- benefits */
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.4rem; }
.benefit { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.benefit__ic { color: var(--teal); font-size: 1.5rem; margin-bottom: 0.6rem; }
.benefit h3 { margin-bottom: 0.4rem; }
.benefit p { font-size: 0.92rem; color: var(--ink-2); }

/* --------------------------------------------------- product detail */
.product-detail__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.product-detail__media {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem; display: grid; place-items: center; position: sticky; top: 90px;
}
.product-detail__media img { max-height: 460px; object-fit: contain; }
.product-detail__info h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 0.8rem; }
.product-detail__summary { color: var(--ink-2); font-size: 1.05rem; margin-bottom: 1.4rem; }
.product-detail__actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-bottom: 2rem; }

.spec-table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table th { text-align: left; padding: 0.65rem 1rem 0.65rem 0; color: var(--ink-2); font-weight: 600; white-space: nowrap; width: 38%; }
.spec-table td { padding: 0.65rem 0; font-weight: 700; color: var(--navy); }
@media (max-width: 780px) {
  .product-detail__grid { grid-template-columns: 1fr; }
  .product-detail__media { position: static; }
}

/* --------------------------------------------------- dispenser hint */
.dispenser-hint {
  display: flex; align-items: center; gap: 1.6rem; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem;
}
.dispenser-hint img { object-fit: contain; }
.dispenser-hint > div { flex: 1; min-width: 240px; }
.dispenser-hint h2 { font-size: 1.2rem; }
.dispenser-hint p { font-size: 0.92rem; color: var(--ink-2); }

/* ---------------------------------------------------------- values */
.values-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.9rem; }
.values-grid + .values-grid { margin-top: 0.9rem; }
.values-grid--center { display: flex; flex-wrap: wrap; justify-content: center; }
.values-grid--center .value-chip { flex: 0 1 200px; justify-content: center; }
.value-chip {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 0.7rem 1.2rem; font-weight: 700; font-size: 0.92rem;
  display: flex; align-items: center; gap: 0.6rem; color: var(--navy);
}
.value-chip .ic { color: var(--teal); }
.values-note { margin-top: 1.6rem; color: var(--ink-2); max-width: 640px; }

/* --------------------------------------------------------- contato */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.contact-cards { display: grid; gap: 1rem; }
.contact-card {
  display: flex; gap: 1.1rem; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem 1.5rem; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--teal); }
.contact-card > .ic { font-size: 1.6rem; color: var(--teal); margin-top: 0.2rem; }
.contact-card h2 { font-size: 1.05rem; }
.contact-card p { font-size: 0.86rem; color: var(--ink-2); }
.contact-card span { font-weight: 700; color: var(--navy); font-size: 0.95rem; }

.contact-form-wrap { background: var(--bg-muted); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem); }
.contact-form-wrap > p { color: var(--ink-2); font-size: 0.94rem; margin-block: 0.5rem 1.4rem; }
.contact-form { display: grid; gap: 1.1rem; }
.contact-form label { display: grid; gap: 0.35rem; font-weight: 700; font-size: 0.9rem; }
.contact-form input, .contact-form textarea {
  font: inherit; padding: 0.75rem 1rem; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); background: #fff; color: var(--ink);
  transition: border-color 0.15s ease;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--teal); }
.contact-form button { justify-content: center; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

/* -------------------------------------------------------------- 404 */
.section--404 { padding-block: clamp(5rem, 12vw, 9rem); }
.section--404 h1 { margin-bottom: 0.8rem; }
.section--404 p { color: var(--ink-2); margin-bottom: 2rem; }

/* -------------------------------------------------------- reveal fx */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

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