/* Padroniza logos de subgrupos (ex: Chambinho, Chamyto, Chandelle) */
.brand-subgroup > img {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 0 !important;
  margin-bottom: 12px !important;
  max-height: 180px !important;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  box-sizing: border-box !important;
}
/* ====== SOBRE A OROLEITE - GRID E ESTATÍSTICAS ====== */
.about__grid {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  margin-top: 32px;
  margin-bottom: 32px;
}
.about__content {
  flex: 1 1 0;
  min-width: 280px;
  max-width: 600px;
}
.about__image {
  flex: 1 1 0;
  min-width: 240px;
  max-width: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about__image img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(0, 0, 0, 0.07);
}
.about__stats {
  display: flex;
  gap: 32px;
  margin-top: 32px;
}
.about__stat {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.06);
  padding: 18px 24px 12px 24px;
  text-align: center;
  min-width: 110px;
}
.stat__number {
  font-size: 2.1rem;
  font-weight: 700;
  color: #e67e22;
  margin-bottom: 2px;
}
.stat__label {
  font-size: 1rem;
  color: #222;
  opacity: 0.8;
}
.about__text {
  font-size: 1.08rem;
  color: #222;
  margin-bottom: 14px;
  line-height: 1.6;
}
@media (max-width: 900px) {
  .about__grid {
    flex-direction: column;
    gap: 24px;
  }
  .about__image {
    max-width: 100%;
  }
  .about__stats {
    gap: 16px;
    margin-top: 18px;
  }
}
@media (max-width: 600px) {
  .about__content {
    padding: 0;
  }
  .about__image img {
    border-radius: 10px;
  }
  .about__stats {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }
  .about__stat {
    min-width: 0;
    padding: 12px 10px 8px 10px;
  }
}
/* ====== NOVO GRID CONTATO: DUAS COLUNAS ====== */
.contact-form-table-grid {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  justify-content: center;
  margin-top: 32px;
  margin-bottom: 32px;
}

.contact-form-table-grid__col {
  flex: 1 1 0;
  min-width: 320px;
  max-width: 480px;
}

.contact-form-table-grid__info {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(0, 0, 0, 0.07);
  padding: 32px 24px 24px 24px;
  margin-bottom: 0;
}

.contact-form-table-grid__form {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(0, 0, 0, 0.07);
  padding: 32px 24px 24px 24px;
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .contact-form-table-grid {
    flex-direction: column;
    gap: 32px;
    align-items: stretch;
  }
  .contact-form-table-grid__col {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .contact-form-table-grid__info,
  .contact-form-table-grid__form {
    padding: 18px 8px 16px 8px;
    border-radius: 10px;
    box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.08);
  }
  .contact-form-table-grid {
    margin-top: 12px;
    margin-bottom: 12px;
  }
}
/* ========================================
     CONTATOS - TABELA VISUAL (ESTILO EXCEL)
======================================== */
.contacts-table {
  width: 100%;
  max-width: 480px;
  margin: 0 auto 1.5rem auto;
  background: none;
  border-radius: 10px;
  box-shadow: none;
  overflow: hidden;
  font-family: var(--font-secondary);
}
.contacts-table__header {
  display: flex;
  background: #232b3e;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.7rem 1.2rem;
  border-radius: 8px 8px 0 0;
  border-bottom: 2px solid var(--color-primary);
}
.contacts-table__th {
  flex: 1 1 0;
  text-align: left;
}
.contacts-table__row {
  display: flex;
  align-items: center;
  background: #1f2937;
  color: #fff;
  font-size: 1rem;
  border-bottom: 1px solid #232b3e;
  padding: 0.55rem 1.2rem;
  transition: background 0.2s;
}
.contacts-table__row:last-child {
  border-radius: 0 0 8px 8px;
  border-bottom: none;
}
.contacts-table__td {
  flex: 1 1 0;
  text-align: left;
  padding: 0.2rem 0.1rem;
  font-weight: 500;
}
.contacts-table__phone {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .contacts-table {
    max-width: 100%;
  }
  .contacts-table__header,
  .contacts-table__row {
    font-size: 0.97rem;
    padding: 0.45rem 0.5rem;
  }
}
/* ========================================
   DESIGN SYSTEM - CSS VARIABLES
   ======================================== */

:root {
  /* Colors */
  --color-primary: #ff7a00;
  --color-primary-dark: #e56a00;
  --color-primary-light: #ffb366;

  --color-dark: #0a0e27;
  --color-dark-secondary: #1a1f3a;
  --color-dark-tertiary: #2a2f4a;

  --color-white: #ffffff;
  --color-gray-100: #f8f9fa;
  --color-gray-200: #e9ecef;
  --color-gray-300: #dee2e6;
  --color-gray-400: #ced4da;
  --color-gray-500: #adb5bd;
  --color-gray-600: #6c757d;

  --color-success: #10b981;
  --color-danger: #ef4444;

  /* Typography */
  --font-primary: "Poppins", sans-serif;
  --font-secondary: "Inter", sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;

  /* Spacing (8px scale) */
  --space-0: 0;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 2.5rem;
  --space-6: 3rem;
  --space-8: 4rem;
  --space-10: 5rem;
  --space-12: 6rem;
  --space-16: 8rem;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md:
    0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg:
    0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl:
    0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-secondary);
  background: #ebebeb;
  color: var(--color-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Remove default button styles */
button {
  font-family: inherit;
  cursor: pointer;
}

/* Remove default link styles */
a {
  color: inherit;
  text-decoration: none;
}

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

/* ========================================
   CONTAINER & GRID
   ======================================== */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: var(--text-5xl);
  letter-spacing: -0.5px;
}

h2 {
  font-size: var(--text-4xl);
  letter-spacing: -0.25px;
}

h3 {
  font-size: var(--text-2xl);
}

h4 {
  font-size: var(--text-xl);
}

p {
  font-size: var(--text-base);
  color: var(--color-gray-600);
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: var(--text-base);
  transition: all var(--transition-base);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

.btn--primary {
  background: var(--color-primary);
  color: white;
  box-shadow: 0 4px 12px rgba(255, 122, 0, 0.3);
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 122, 0, 0.4);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--white {
  background: white;
  color: var(--color-primary);
  border-color: white;
}

.btn--white:hover {
  background: var(--color-gray-100);
  transform: translateY(-2px);
}

.btn--sm {
  padding: var(--space-2) var(--space-3);
  font-size: var(--text-sm);
}

.btn--lg {
  padding: var(--space-4) var(--space-6);
  font-size: var(--text-lg);
  border-radius: var(--radius-lg);
}

.btn--block {
  width: 100%;
}

/* ========================================
   HEADER
   ======================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(
    90deg,
    rgba(10, 14, 39, 0.8),
    rgba(26, 31, 58, 0.8)
  );
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-base);
}

.header.scrolled {
  background: linear-gradient(
    90deg,
    rgba(10, 14, 39, 0.95),
    rgba(26, 31, 58, 0.95)
  );
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  transition: opacity var(--transition-base);
}

.logo:hover {
  opacity: 0.8;
}

.logo__img {
  height: 50px;
  width: auto;
}

.logo__text {
  font-family: var(--font-primary);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: white;
  letter-spacing: 1px;
}

.logo--footer {
  gap: var(--space-2);
}

.logo--footer .logo__img {
  height: 40px;
}

.logo--footer .logo__text {
  font-size: var(--text-xl);
}

/* Header for brand pages: make 'Voltar' button small and near left corner */
.site-header {
  position: relative;
  padding: 12px 0;
}

.site-header .logo {
  position: absolute;
  left: 8px;
  top: 8px;
  background: #fff;
  color: #14202b;
  padding: 8px 12px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(6, 22, 40, 0.08);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  transition: none;
}
.site-header .logo:hover {
  transform: none;
  opacity: 1;
}

/* Menu */
.menu {
  display: flex;
  gap: var(--space-2);
  list-style: none;
}

.menu__link {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-sm);
  font-weight: 500;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.menu__link:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

/* Menu Toggle (Hamburger) */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: white;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  position: relative;
  height: 90vh;
  min-height: 600px;
  overflow: hidden;
}

.hero__slider {
  position: relative;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.hero-slide__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-slide__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 14, 39, 0.4);
  z-index: 1;
}

.hero-slide__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 800px;
  animation: slideUp 1s ease-out;
  margin-top: var(--space-8);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-slide__title {
  font-size: var(--text-5xl);
  margin-bottom: var(--space-3);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-slide__subtitle {
  font-size: var(--text-xl);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-6);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero__dots {
  position: absolute;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-2);
  z-index: 10;
}

.hero__dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all var(--transition-base);
}

.hero__dot.active {
  background: var(--color-primary);
  width: 32px;
  border-radius: var(--radius-full);
}

/* ========================================
   BRANDS STRIP
   ======================================== */

.brands-strip {
  background: var(--color-gray-100);
  padding: var(--space-6) 0;
  border-top: 1px solid var(--color-gray-200);
  border-bottom: 1px solid var(--color-gray-200);
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-8);
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  opacity: 0.6;
  transition: opacity var(--transition-base);
}

.brand-logo:hover {
  opacity: 1;
}

.brand-logo img {
  max-height: 60px;
  width: auto;
}

/* ========================================
   SECTIONS
   ======================================== */

.section {
  padding: var(--space-16) 0 var(--space-12) 0;
}

.section:nth-child(even) {
  background: var(--color-gray-100);
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section__title {
  color: var(--color-dark);
  margin-bottom: var(--space-3);
}

.section__subtitle {
  font-size: var(--text-lg);
  color: var(--color-gray-600);
  max-width: 600px;
  margin: 0 auto;
}

/* Para páginas de marca: título e subtítulo alinhados à esquerda
   e subtítulo posicionado abaixo do título */
.section--brand .section__title {
  text-align: center;
}
.section--brand .section__subtitle {
  text-align: center;
  margin: 6px auto 0;
  max-width: 600px;
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.about__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.about__text {
  font-size: var(--text-lg);
  line-height: 1.8;
  color: var(--color-gray-600);
}

.about__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.image-cover {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  padding: var(--space-6);
  background: white;
  border-radius: var(--radius-lg);
  margin-top: var(--space-6);
}

.stat {
  text-align: center;
}

.stat__number {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: var(--space-1);
}

.stat__label {
  font-size: var(--text-sm);
  color: var(--color-gray-600);
}

/* ========================================
   CARDS
   ======================================== */

.cards-grid {
  display: grid;
  gap: var(--space-6);
}

.cards-grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.cards-grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-8px);
}

/* Feature Card */
.card-feature {
  padding: var(--space-6);
  text-align: center;
}

.card__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto var(--space-4);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-primary-light)
  );
  border-radius: var(--radius-lg);
  color: white;
}

.card__icon svg {
  width: 32px;
  height: 32px;
}

.card__title {
  margin-bottom: var(--space-2);
  color: var(--color-dark);
}

.card__text {
  font-size: var(--text-sm);
  color: var(--color-gray-600);
}

/* Category Card */
.card-category {
  display: flex;
  flex-direction: column;
}

.card__image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--color-gray-200);
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.card:hover .card__image img {
  transform: scale(1.1);
}

.card-category .card__title,
.card-category .card__text {
  padding: 0 var(--space-4);
}

.card-category .card__title {
  padding-top: var(--space-4);
}

.card__link {
  padding: var(--space-3) var(--space-4) var(--space-4);
  color: var(--color-primary);
  font-weight: 600;
  transition: all var(--transition-base);
}

.card__link:hover {
  color: var(--color-primary-dark);
  padding-left: calc(var(--space-4) + 8px);
}

/* ========================================
   BRANDS SHOWCASE
   ======================================== */

.brands-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-8);
}

.brand-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.brand-item:hover {
  box-shadow: var(--shadow-lg);
  transform: scale(1.05);
}

.brand-item img {
  max-height: 80px;
  width: auto;
}

/* ====== PRODUCTS GRID (páginas de marca) ====== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  align-items: center; /* vertical centering is enough since cards fixed height */
  margin-top: 18px;
  justify-content: center; /* center when few items */
}

.product-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(18, 38, 63, 0.06);
  padding: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  max-width: 240px;
  margin: 0 auto;
  /* fixed height to make all cards identical */
  height: 200px;
  justify-content: center;
}

.product-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain; /* do not crop photos */
}

.product-card h4 {
  font-size: 1rem;
  margin: 0;
}

.product-card p {
  font-size: 0.95rem;
  color: #555;
  margin: 0;
}

@media (max-width: 600px) {
  .product-card img {
    height: 130px;
    padding: 6px 8px;
  }
}

/* centralizar imagem dentro do container quando usar object-fit:contain */
.product-media {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #fafafa;
  /* slightly larger square box so product images are clearer */
  width: 180px;
  height: 180px;
  margin: 0 auto;
  padding: 6px 0;
}

/* overlay padronizado dentro da imagem */
.product-media {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

/* Brand subgroup styling: visual card wrapper like the provided mock */
.brand-subgroup {
  background: #ffffff;
  border-radius: 28px;
  padding: 28px 26px;
  /* vertical spacing above and below regardless of intervening elements */
  margin: 40px 0;
  box-shadow: 0 12px 36px rgba(8, 36, 84, 0.06);
  border: 1px solid rgba(241, 235, 235, 0.04);
}

/* the adjacent rule is no longer needed once each box has its own margin */
/* .brand-subgroup + .brand-subgroup { margin-top: 40px; } */
.brand-subgroup h3 {
  text-align: center;
  color: #163a72;
  font-size: 1.5rem;
  margin: 0 0 18px 0;
  font-weight: 700;
}
.brand-subgroup .products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  align-items: center;
}
.brand-subgroup .product-card {
  background: transparent;
  box-shadow: none;
  padding: 0;
  border-radius: 10px;
  text-align: center;
}
.brand-subgroup .product-media {
  /* brand subgroup boxes slightly smaller to create visual hierarchy */
  width: 160px;
  height: 160px;
  margin: 0 auto 12px auto;
  border-radius: 12px;
  background: #fafafa;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.brand-subgroup .product-card img,
.product-media img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .product-media {
    width: 140px;
    height: 140px;
  }
  .brand-subgroup .product-media {
    width: 120px;
    height: 120px;
  }
}
.brand-subgroup .product-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.55) 60%
  );
  color: #fff;
  text-align: left;
}

.product-overlay h4 {
  margin: 0 0 4px 0;
  font-size: 1rem;
}

/* Limit brand logo height inside brand pages so logos don't overflow */
.section--brand .section__title img {
  display: block !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 0 !important;
  margin-bottom: 12px !important;
  max-height: 100px !important;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  box-sizing: border-box !important;
}

@media (max-width: 800px) {
  .section--brand .section__title img {
    max-height: 70px !important;
  }
}

.product-overlay p {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.95;
}

/* ====== PRODUCT MODAL ====== */
.product-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.product-modal.open {
  display: flex;
}
.product-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
}
.product-modal__dialog {
  position: relative;
  width: min(920px, 95%);
  max-height: 90vh;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-2xl);
  overflow: auto;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.product-modal__close {
  position: absolute;
  right: 12px;
  top: 8px;
  background: transparent;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #222;
}
.product-modal__media {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafafa;
}
.product-modal__media img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
}
.product-modal__content {
  padding: 24px 28px;
}
.product-modal__content h3 {
  margin-top: 6px;
  margin-bottom: 10px;
}
.product-modal__content p {
  color: var(--color-gray-600);
}
@media (max-width: 800px) {
  .product-modal__dialog {
    grid-template-columns: 1fr;
  }
  .product-modal__media {
    padding: 16px;
  }
  .product-modal__content {
    padding: 16px;
  }
}

/* ========================================
   COVERAGE SECTION
   ======================================== */

.coverage__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
  position: relative;
  z-index: 1;
}

.coverage__map {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 300px;
  max-height: 380px;
}

#map {
  width: 100%;
  height: min(420px, 55vh);
  min-height: 320px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  position: relative;
  z-index: 0;
}

.coverage__map {
  position: relative;
  z-index: 0;
  width: 100%;
  min-height: 320px;
}

.coverage__map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

header.header {
  z-index: 2002;
}

@media (max-width: 1024px) {
  .coverage__content {
    grid-template-columns: 1fr;
  }
  .coverage__map,
  #map {
    min-height: 250px;
    height: 260px;
    max-height: 340px;
  }
}

.coverage__title {
  font-size: var(--text-2xl);
  color: var(--color-dark);
  margin-bottom: var(--space-3);
}

.coverage__text {
  font-size: var(--text-lg);
  color: var(--color-gray-600);
  margin-bottom: var(--space-6);
}

.coverage__list {
  list-style: none;
  margin-bottom: var(--space-6);
}

.coverage__item {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  font-size: var(--text-base);
  color: var(--color-gray-600);
}

.coverage__icon {
  font-size: var(--text-xl);
  flex-shrink: 0;
  color: green;
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
  background: linear-gradient(
    135deg,
    var(--color-dark),
    var(--color-dark-secondary)
  );
  padding: var(--space-16) 0;
  text-align: center;
}

.cta__content {
  max-width: 700px;
  margin: 0 auto;
}

.cta__title {
  color: white;
  margin-bottom: var(--space-3);
}

.cta__text {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-xl);
  margin-bottom: var(--space-6);
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contacts-list {
  display: block;
  width: 100%;
  padding-bottom: 0.25rem;
  color: var(--color-dark);
  margin-bottom: var(--space-2);
}

.contact-item__text {
  font-size: var(--text-base);
  color: var(--color-gray-600);
  line-height: 1.6;
}

/* Contacts table inside contact items */
.contacts-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--space-2);
  border-radius: 8px;
  overflow: hidden;
}

/* hide header visually to match the provided sample */
.contacts-table thead {
  display: none;
}

.contacts-table tbody tr {
  background: #1f2937; /* dark row */
}

.contacts-table tbody td {
  padding: 0.45rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: middle;
  font-size: 0.95rem;
  color: #ffffff;
}

.contacts-table tbody tr + tr td {
  /* subtle separator */
  border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.contacts-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.contacts-table td:first-child {
  color: #ffffff;
  font-weight: 600;
  width: 65%;
}

.contacts-table td:last-child {
  text-align: right;
  color: var(--color-primary);
  font-weight: 700;
}

.contacts-table a {
  color: var(--color-primary);
  font-weight: 700;
}

/* Mobile: allow horizontal scroll instead of stacking rows */
@media (max-width: 768px) {
  .contacts-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
  .contacts-table tbody td {
    display: inline-block;
    vertical-align: middle;
    white-space: normal;
  }
  .contacts-table td:last-child {
    text-align: left;
    margin-left: 1rem;
  }
}

/* Horizontal contacts list (replacement for table) */

.contacts-list {
  display: flex;
  gap: 0.75rem;
  flex-wrap: nowrap;
  align-items: stretch;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: thin;
  scrollbar-color: var(--color-primary) #e9ecef;
}

.contacts-list--scroll::-webkit-scrollbar {
  height: 8px;
}
.contacts-list--scroll::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 4px;
}
.contacts-list--scroll::-webkit-scrollbar-track {
  background: #e9ecef;
}

.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #1f2937;
  color: #fff;
  padding: 0.55rem 1.2rem;
  border-radius: 8px;
  width: 100%;
  margin-bottom: 0.7rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  font-size: 1rem;
  font-weight: 500;
  transition:
    box-shadow 0.2s,
    background 0.2s;
  flex-wrap: wrap;
  white-space: normal;
  overflow-x: visible;
}
.contact-row:last-child {
  margin-bottom: 0;
}
.contact-row:hover {
  box-shadow: 0 8px 24px rgba(255, 122, 0, 0.1);
  background: #232b3e;
}

.contact-name {
  font-weight: 600;
  color: #ffffff;
}

.contact-phone {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .contacts-list {
    gap: 0.5rem;
  }
  .contact-row {
    font-size: 0.97rem;
    padding: 0.38rem 0.7rem;
  }
}

@media (max-width: 600px) {
  .contacts-list {
    gap: 0.35rem;
  }
  .contact-row {
    font-size: 0.93rem;
    padding: 0.32rem 0.5rem;
  }
}

/* Toasts and inline form message */
.toast-container {
  position: fixed;
  right: 1rem;
  top: 1rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  min-width: 220px;
  max-width: 320px;
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  color: white;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  font-weight: 600;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 250ms ease,
    transform 250ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast--success {
  background: linear-gradient(
    90deg,
    rgba(34, 197, 94, 1),
    rgba(16, 185, 129, 1)
  );
}

.toast--error {
  background: linear-gradient(
    90deg,
    rgba(239, 68, 68, 1),
    rgba(220, 38, 38, 1)
  );
}

.form-message {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  display: none;
}

.form-message.show {
  display: block;
}

.form-message--error {
  background: rgba(239, 68, 68, 0.08);
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, 0.12);
}

.form-message--success {
  background: rgba(16, 185, 129, 0.06);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.12);
}

/* Contact Form */
.contact__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form__input,
.form__textarea {
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-gray-300);
  border-radius: var(--radius-md);
  font-family: var(--font-secondary);
  font-size: var(--text-base);
  transition: all var(--transition-base);
}

.form__input:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.1);
}

.form__textarea {
  resize: vertical;
  min-height: 150px;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  background: var(--color-dark);
  color: white;
  padding: var(--space-12) 0 var(--space-4);
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-8);
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__text {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

.footer__title {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.footer__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer__list a {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  transition: color var(--transition-base);
}

.footer__list a:hover {
  color: var(--color-primary);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
}

.footer__links {
  display: flex;
  gap: var(--space-6);
}

.footer__links a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-base);
}

.footer__links a:hover {
  color: var(--color-primary);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
  .header__container {
    height: 70px;
    padding: 0 var(--space-4);
  }

  .logo__img {
    height: 45px;
  }

  .cards-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__grid,
  .coverage__content,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  /* Header */
  .menu-toggle {
    display: flex;
  }

  .menu {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--color-dark-secondary);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
    z-index: 999;
  }

  .menu.active {
    max-height: 400px;
  }

  .menu__link {
    padding: var(--space-3) var(--space-4);
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .btn--sm {
    display: none;
  }

  /* Hero */
  .hero-slide__title {
    font-size: var(--text-3xl);
  }

  .hero-slide__subtitle {
    font-size: var(--text-base);
  }

  /* Reduce top offset on smaller screens */
  .hero-slide__content {
    margin-top: var(--space-6);
    padding: 0 var(--space-4);
  }

  /* Sections */
  .section {
    padding: var(--space-8) 0 var(--space-6) 0;
  }

  .section__header {
    margin-bottom: var(--space-8);
  }

  .section__title {
    font-size: var(--text-3xl);
  }

  /* Cards */
  .cards-grid--3,
  .cards-grid--4 {
    grid-template-columns: 1fr;
  }

  .card-feature {
    padding: var(--space-4);
  }

  /* Contact */
  .contact__info {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer__links {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-3);
  }

  /* Header */
  .header__container {
    height: 60px;
    padding: 0 var(--space-3);
  }

  .logo__img {
    height: 40px;
  }

  .logo__text {
    display: none;
  }

  /* Hero */
  .hero {
    height: 60vh;
    min-height: 400px;
  }

  .hero-slide__title {
    font-size: var(--text-2xl);
  }

  .hero-slide__subtitle {
    font-size: var(--text-sm);
    margin-bottom: var(--space-4);
  }

  .hero-slide__content {
    margin-top: var(--space-4);
    padding: 0 var(--space-3);
  }

  /* Typography */
  h1 {
    font-size: var(--text-3xl);
  }

  h2 {
    font-size: var(--text-2xl);
  }

  h3 {
    font-size: var(--text-lg);
  }

  /* Spacing */
  .section {
    padding: var(--space-6) 0 var(--space-4) 0;
  }

  .section__header {
    margin-bottom: var(--space-6);
  }

  /* Buttons */
  .btn {
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-sm);
  }

  .btn--lg {
    padding: var(--space-3) var(--space-4);
  }

  /* Stats */
  .stats {
    grid-template-columns: 1fr;
    padding: var(--space-4);
  }

  /* Brands Grid */
  .brands-grid,
  .brands-showcase {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  /* Contact */
  .contact-item {
    padding: var(--space-3);
  }

  .footer__grid {
    gap: var(--space-4);
  }
}

/* ========================================
   ANIMATIONS & TRANSITIONS
   ======================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 0.5s ease-out;
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Scroll animations */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}
/* Novidades page styles */
:root {
  --bg: #f7fafc;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --primary: #253a8a;
  --primary-soft: #ebf1ff;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(90deg, #0f172a, #162a4f);
  color: #fff;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.site-header .logo {
  position: fixed;
  left: 10px;
  top: 10px;
  z-index: 999;
  transform: translateY(0);
  background: #fff;
  color: #1d2a4e;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 5px 14px rgba(0,0,0,0.15);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.site-header .logo:hover {
  background-color: #1d2a4e;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(0,0,0,0.22);
}

.site-header h1 {
  margin: 0;
  font-size: 2.2rem;
  letter-spacing: -0.5px;
}

main.container {
  width: min(94%, 1100px);
  margin: 20px auto 35px;
}

.novidades-page-header {
  background: white;
  border: 1px solid #dde4f2;
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  margin-bottom: 20px;
}

.novidades-page-header .tag {
  margin: 0;
  color: #ff7a00;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.novidades-page-header h2 {
  margin: 8px 0 6px;
  font-size: 2rem;
  color: #111827;
  text-align: center;
}

.novidades-page-header .tagline {
  margin: 0;
  color: #475569;
  text-align: center;
  font-size: 0.95rem;
}

.novidades-section {
  background: #fff;
  border: 1px solid #e4e8f0;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
  margin-bottom: 24px;
}

.novidades-section h2 {
  margin: 0 0 12px;
  text-align: center;
  font-size: 1.8rem;
  color: #0f172a;
  letter-spacing: -0.2px;
}

.carousel {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 22px;
  overflow: hidden;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #ffffff;
  padding: 10px;
}

.carousel-container {
  width: 100%;
  position: relative;
}

.carousel-item {
  display: none;
  width: 100%;
  transition: opacity .3s ease;
}
.carousel-item.active {
  display: block;
  opacity: 1;
}

.carousel-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.carousel-control {
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  border:none;
  background:rgba(15,23,42,0.8);
  color:#fff;
  width:36px;
  height:36px;
  border-radius:50%;
  cursor:pointer;
  font-size:1.1rem;
  z-index:10;
  box-shadow:0 6px 16px rgba(0,0,0,0.25);
}
.carousel-control.prev { left:10px; }
.carousel-control.next { right:10px; }
.carousel-control:hover { background:rgba(15,23,42,0.95); }

@media (max-width:900px) { .site-header h1 { font-size:1.6rem; } .carousel { min-height:220px; } }
@media (max-width:640px) { .site-header .logo { position:static; transform:none; margin-bottom:8px; } .site-header .container { justify-content:center; } .novidades-page-header, .novidades-section { padding:14px; } .novidades-page-header h2 { font-size:1.55rem; } .novidades-section h2 { font-size:1.5rem; } }
