/* ItaxBR: navy + orange, taken from the logo. */
:root {
  --navy-900: #061a36;
  --navy-800: #0b2f5f;
  --navy-700: #123f7a;
  --navy-100: #e6edf7;
  --orange-600: #c2410c; /* text and buttons: 5.2:1 on white */
  --orange-700: #9a3412;
  --orange-500: #f26b1d;
  --orange-100: #fdeadf;
  --ink: #0f1b2d;
  --body: #3d4a5c;
  --muted: #556173;
  --line: #e3e8ef;
  --surface: #ffffff;
  --surface-2: #f4f6fa;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgb(6 26 54 / 6%), 0 8px 24px rgb(6 26 54 / 8%);
  --shadow-lg: 0 20px 50px rgb(6 26 54 / 18%);
  --font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-head);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 800;
}

h3 {
  font-size: 1.125rem;
  font-weight: 700;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--orange-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--navy-800);
  color: #fff;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.narrow {
  max-width: 680px;
}

.center {
  text-align: center;
  justify-content: center;
}

/* ─── Buttons ─────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-sm {
  min-height: 38px;
  padding: 7px 14px;
  font-size: 0.875rem;
}

.btn-lg {
  min-height: 52px;
  padding: 12px 26px;
  font-size: 1rem;
}

.btn-primary {
  background: var(--orange-600);
  color: #fff;
}

.btn-primary:hover {
  background: var(--orange-700);
}

.btn-ghost {
  border-color: var(--line);
  background: var(--surface);
  color: var(--navy-800);
}

.btn-ghost:hover {
  border-color: var(--navy-800);
}

.btn-light {
  border-color: rgb(255 255 255 / 35%);
  background: rgb(255 255 255 / 8%);
  color: #fff;
}

.btn-light:hover {
  border-color: #fff;
  background: rgb(255 255 255 / 14%);
}

/* ─── Header ──────────────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgb(255 255 255 / 92%);
  backdrop-filter: saturate(180%) blur(10px);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 6px 20px rgb(6 26 54 / 6%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.brand img {
  width: auto;
  height: 44px;
}

.menu-toggle {
  display: none;
  padding: 8px;
  border: 0;
  border-radius: var(--radius-sm);
  background: none;
  color: var(--navy-800);
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav ul {
  display: flex;
  gap: 24px;
}

.site-nav ul a {
  position: relative;
  padding: 6px 0;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

.site-nav ul a:hover,
.site-nav ul a[aria-current="page"] {
  color: var(--orange-600);
}

.site-nav ul a[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -2px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--orange-500);
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 16px var(--gutter) 24px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 16px 30px rgb(6 26 54 / 10%);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 4px;
  }

  .site-nav ul a {
    display: block;
    padding: 10px 0;
    font-size: 1.05rem;
  }

  .site-nav ul a[aria-current="page"]::after {
    display: none;
  }
}

/* ─── Sections ────────────────────────────────────────────────────────────── */

.section {
  padding: clamp(64px, 9vw, 112px) 0;
}

.section-tight {
  padding: clamp(40px, 6vw, 64px) 0;
}

.section-muted {
  background: var(--surface-2);
}

.section-dark {
  background: var(--navy-900);
  color: rgb(255 255 255 / 78%);
}

.section-dark h2,
.section-dark h3 {
  color: #fff;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 640px;
  margin-bottom: 40px;
}

.section-head.center {
  align-items: center;
  margin-right: auto;
  margin-left: auto;
}

.section-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
}

.section-head-row .section-head {
  margin-bottom: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--orange-600);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 3px;
  background: currentColor;
}

.eyebrow-light,
.section-dark .eyebrow {
  color: #ffb27f;
}

.lead {
  color: var(--muted);
  font-size: clamp(1.02rem, 1.6vw, 1.15rem);
}

.tag {
  display: inline-block;
  align-self: flex-start;
  width: fit-content;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--navy-100);
  color: var(--navy-800);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.pillar-icon {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--orange-100);
  color: var(--orange-600);
}

/* ─── Hero ────────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: clamp(480px, 46vw, 600px);
  padding: clamp(56px, 8vw, 96px) 0;
  background: var(--navy-900);
  color: rgb(255 255 255 / 82%);
}

/* Original ItaxBR banner photo, darkened on the text side for legibility. */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgb(6 26 54 / 94%) 0%, rgb(6 26 54 / 82%) 38%, rgb(6 26 54 / 35%) 62%, rgb(6 26 54 / 0%) 80%);
}

.hero h1 {
  color: #fff;
}

.hero .lead {
  color: rgb(255 255 255 / 82%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 620px);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 6px;
  font-size: 0.92rem;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-points svg {
  color: var(--orange-500);
}

@media (max-width: 760px) {
  .hero-bg {
    object-position: 66% center;
  }

  .hero::before {
    background: linear-gradient(180deg, rgb(6 26 54 / 88%) 0%, rgb(6 26 54 / 80%) 60%, rgb(6 26 54 / 92%) 100%);
  }
}

/* ─── About ───────────────────────────────────────────────────────────────── */

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(24px, 5vw, 72px);
}

.about-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 1.05rem;
}

.pillars {
  display: grid;
  gap: 16px;
  margin-top: 12px;
}

.pillars li {
  display: flex;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.pillars p {
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 800px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── Product line ────────────────────────────────────────────────────────── */

.line-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.line-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.line-card img {
  flex: none;
  width: 80px;
  height: 70px;
  object-fit: cover;
  border-radius: 12px;
}

.line-card h3 {
  font-size: 1rem;
}

.line-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

/* ─── Equipment cards ─────────────────────────────────────────────────────── */

.equip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 24px;
}

.equip-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.equip-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.equip-card[hidden] {
  display: none;
}

.equip-media {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  padding: 16px;
  background: linear-gradient(180deg, #fff, var(--surface-2));
}

.equip-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.equip-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
}

.equip-body h3 a {
  text-decoration: none;
}

.equip-body h3 a:hover {
  color: var(--orange-600);
}

.equip-body p:not(.tag) {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.5;
}

.equip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}

/* ─── Services ────────────────────────────────────────────────────────────── */

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 16px;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 4%);
}

.service-card img {
  width: 44px;
  height: 44px;
  padding: 8px;
  border-radius: 12px;
  background: #fff;
}

.service-card p {
  font-size: 0.93rem;
}

/* ─── Audience ────────────────────────────────────────────────────────────── */

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 16px;
}

.audience-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.audience-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ─── Steps ───────────────────────────────────────────────────────────────── */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: step;
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 22px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.step-number {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy-800);
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 800;
}

.step p {
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 960px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* ─── FAQ ─────────────────────────────────────────────────────────────────── */

.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(24px, 5vw, 64px);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.faq-list details[open] {
  border-color: var(--navy-100);
  box-shadow: var(--shadow);
}

.faq-list summary {
  position: relative;
  padding: 18px 52px 18px 20px;
  color: var(--ink);
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 20px;
  color: var(--orange-600);
  font-size: 1.5rem;
  font-weight: 400;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list details p {
  padding: 0 20px 20px;
  color: var(--muted);
}

@media (max-width: 860px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── CTA, address ────────────────────────────────────────────────────────── */

.cta-band {
  padding: clamp(48px, 7vw, 80px) 0;
  background:
    linear-gradient(115deg, transparent 70%, rgb(255 255 255 / 6%) 70%, rgb(255 255 255 / 6%) 74%, transparent 74%),
    linear-gradient(135deg, var(--navy-800), var(--navy-900));
  color: rgb(255 255 255 / 80%);
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-inner h2 {
  color: #fff;
}

.cta-inner p {
  margin-top: 8px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.address-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
}

.address-card > div {
  flex: 1;
  min-width: 220px;
}

.address-card h2 {
  font-size: 1.25rem;
}

.address-card p {
  color: var(--muted);
}

/* ─── Catalog & product pages ─────────────────────────────────────────────── */

.page-hero {
  padding: clamp(36px, 6vw, 64px) 0;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  color: rgb(255 255 255 / 80%);
}

.page-hero h1 {
  margin: 14px 0 12px;
  color: #fff;
}

.page-hero .lead {
  max-width: 640px;
  color: rgb(255 255 255 / 75%);
}

.page-hero-compact {
  padding: 18px 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.875rem;
}

.breadcrumb a {
  color: rgb(255 255 255 / 75%);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #fff;
  text-decoration: underline;
}

.breadcrumb span:last-child {
  color: #fff;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
}

.chip span {
  color: var(--muted);
  font-size: 0.8rem;
}

.chip[aria-pressed="true"] {
  border-color: var(--navy-800);
  background: var(--navy-800);
  color: #fff;
}

.chip[aria-pressed="true"] span {
  color: rgb(255 255 255 / 70%);
}

.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: clamp(28px, 5vw, 64px);
}

.product-media {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, #fff, var(--surface-2));
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-info h1 {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
}

.product-points {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--surface-2);
}

.product-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 500;
}

.product-points svg {
  flex: none;
  color: var(--orange-600);
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 860px) {
  .product {
    grid-template-columns: 1fr;
  }
}

/* ─── Footer ──────────────────────────────────────────────────────────────── */

.site-footer {
  padding-top: 56px;
  background: var(--navy-900);
  color: rgb(255 255 255 / 70%);
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1.2fr;
  gap: 32px;
  padding-bottom: 40px;
}

.footer-logo {
  width: auto;
  height: 40px;
  margin-bottom: 16px;
}

.site-footer h2 {
  margin-bottom: 14px;
  color: #fff;
  font-size: 1rem;
}

.site-footer ul {
  display: grid;
  gap: 10px;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.contact-list a {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
}

.contact-list svg {
  flex: none;
  margin-top: 2px;
  color: var(--orange-500);
}

.footer-bottom {
  padding-top: 20px;
  padding-bottom: 24px;
  border-top: 1px solid rgb(255 255 255 / 10%);
  font-size: 0.85rem;
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── Floating WhatsApp ───────────────────────────────────────────────────── */

.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 24px rgb(37 211 102 / 40%);
  transition: transform 0.2s;
}

.wa-float svg {
  width: 30px;
  height: 30px;
}

.wa-float:hover {
  transform: scale(1.06);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
