/* ============================================
   VINIC BLOCO FORTE — Sections
   ============================================ */

/* ── HEADER / NAVBAR ── */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height-desktop);
  display: flex;
  align-items: center;
  transition: background var(--duration-base) var(--ease-standard),
              box-shadow var(--duration-base) var(--ease-standard),
              backdrop-filter var(--duration-base) var(--ease-standard);
}

.site-header--transparent {
  background: transparent;
}

.site-header--solid {
  background: rgba(20,20,20,0.92);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line-dark);
}

.header-inner {
  width: min(100% - var(--px-mobile) * 2, var(--container-wide));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  font-family: var(--font-sans);
  font-weight: var(--weight-bold);
  font-size: 1.3rem;
  letter-spacing: var(--tracking-tight);
  color: var(--foreground-inverse);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.header-logo__mark {
  width: 4px;
  height: 26px;
  background: var(--accent-gradient);
  border-radius: 2px;
  flex-shrink: 0;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.header-nav__link {
  font-family: var(--font-sans);
  font-size: var(--text-body-sm);
  font-weight: var(--weight-regular);
  color: var(--foreground-inverse-soft);
  padding: var(--space-2) 0;
  background: linear-gradient(currentColor, currentColor) right 100% / 0 1px no-repeat;
  transition: color var(--duration-fast) var(--ease-standard),
              background-size var(--duration-base) var(--ease-standard);
}

.header-nav__link:hover {
  color: var(--foreground-inverse);
  background-size: 100% 1px;
  background-position: left 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 26px;
  cursor: pointer;
  z-index: 1001;
  padding: var(--space-2);
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--foreground-inverse);
  border-radius: 2px;
  transition: all var(--duration-base) var(--ease-standard);
  transform-origin: center;
}

.mobile-menu-toggle.is-active span:nth-child(1) {
  transform: rotate(45deg) translate(5.5px, 5.5px);
}

.mobile-menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-toggle.is-active span:nth-child(3) {
  transform: rotate(-45deg) translate(5.5px, -5.5px);
}

/* Mobile menu overlay */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--background-dark);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-base) var(--ease-standard);
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}

.mobile-menu__nav a {
  font-family: var(--font-sans);
  font-size: var(--text-h3);
  font-weight: var(--weight-regular);
  color: var(--foreground-inverse-soft);
  padding: var(--space-2) var(--space-4);
  transition: color var(--duration-fast) var(--ease-standard);
}

.mobile-menu__nav a:hover {
  color: var(--foreground-inverse);
}

.mobile-menu__cta {
  margin-top: var(--space-8);
}

@media (max-width: 1024px) {
  .header-nav,
  .header-actions .btn-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  .site-header {
    height: var(--header-height-mobile);
  }
}

/* ── HERO ── */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background: #000;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20,20,20,0.50) 0%,
    rgba(20,20,20,0.45) 40%,
    rgba(20,20,20,0.55) 70%,
    rgba(20,20,20,0.72) 100%
  );
  z-index: 1;
}

.hero__media-placeholder {
  width: 100%;
  height: 100%;
  background: var(--hero-gradient);
  position: relative;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero poster fallback — only visible when JS hides the video (autoplay blocked) */
.hero__poster-fallback {
  position: absolute;
  inset: 0;
  background: url("../imagens/site/hero-caminhao-vinic.jpg") center/cover no-repeat;
  z-index: 0;
  opacity: 0;
  transition: opacity var(--duration-base) var(--ease-standard);
}

/* When video is hidden by JS, poster becomes visible */
.hero__video[style*="display: none"] ~ .hero__poster-fallback,
.hero__video[style*="display:none"] ~ .hero__poster-fallback {
  opacity: 1;
}

/* Subtle noise on hero */
.hero__media-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  pointer-events: none;
}

/* Subtle radial glow at bottom */
.hero__media-placeholder::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 50%;
  background: radial-gradient(ellipse at center bottom, rgba(242,107,29,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(100% - var(--px-mobile) * 2, var(--container));
  margin-inline: auto;
  padding-top: calc(var(--header-height-desktop) + var(--space-20));
  padding-bottom: var(--space-20);
}

.hero__accent-line {
  margin-bottom: var(--space-8);
}

.hero__eyebrow {
  margin-bottom: var(--space-8);
}

.hero__title {
  font-size: var(--text-display);
  font-weight: var(--weight-regular);
  letter-spacing: var(--tracking-display);
  line-height: var(--leading-display);
  color: var(--foreground-inverse);
  max-width: 820px;
  margin-bottom: var(--space-8);
}

.hero__subtitle {
  font-size: var(--text-body-lg);
  color: var(--foreground-inverse-muted);
  max-width: 580px;
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-12);
}

.hero__actions {
  display: flex;
  gap: var(--space-5);
  flex-wrap: wrap;
  margin-bottom: var(--space-20);
}

.hero__stats {
  display: flex;
  gap: var(--space-16);
  padding-top: var(--space-10);
  border-top: 1px solid var(--line-dark);
}

.hero__stat {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.hero__stat-label {
  font-family: var(--font-mono);
  font-size: var(--text-micro);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--foreground-inverse-muted);
}

.hero__stat-value {
  font-family: var(--font-sans);
  font-size: var(--text-body);
  font-weight: var(--weight-medium);
  color: var(--foreground-inverse);
  letter-spacing: var(--tracking-tight);
}

@media (max-width: 768px) {
  .hero__content {
    padding-top: calc(var(--header-height-mobile) + var(--space-16));
    padding-bottom: var(--space-16);
  }

  .hero__stats {
    flex-direction: column;
    gap: var(--space-6);
    padding-top: var(--space-8);
  }

  .hero__actions {
    margin-bottom: var(--space-16);
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ── DIFFERENTIALS BAR ── */

.differentials {
  background: var(--background-dark-soft);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  position: relative;
  overflow: hidden;
}

.differentials__inner {
  width: min(100% - var(--px-mobile) * 2, var(--container-wide));
  margin-inline: auto;
  padding-block: var(--space-12);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-10);
  position: relative;
  z-index: 1;
}

.differential-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.differential-item__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.differential-item__icon svg {
  width: 20px;
  height: 20px;
  color: var(--vinic-orange-400);
}

.differential-item h4 {
  font-size: var(--text-body-sm);
  font-weight: var(--weight-medium);
  color: var(--foreground-inverse);
  margin-bottom: 4px;
  letter-spacing: var(--tracking-tight);
}

.differential-item p {
  font-size: var(--text-caption);
  color: var(--foreground-inverse-muted);
  line-height: var(--leading-snug);
}

@media (max-width: 1024px) {
  .differentials__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
  }
}

@media (max-width: 640px) {
  .differentials__inner {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    padding-block: var(--space-10);
  }
}

/* ── PRODUCTS ── */

.products {
  background: var(--background-alt);
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

/* Make the last 2 items of a 5-item grid center nicely */
.products__grid > :nth-last-child(2):nth-child(3n + 1) {
  grid-column: 1 / 2;
}

.products__bottom-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 420px));
  gap: var(--space-6);
  justify-content: center;
  margin-top: var(--space-6);
}

@media (max-width: 1024px) {
  .products__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products__bottom-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .products__grid {
    grid-template-columns: 1fr;
  }

  .products__bottom-row {
    grid-template-columns: 1fr;
  }
}

/* ── ABOUT ── */

.about {
  background: var(--background);
  position: relative;
}

.about__inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--space-16);
  align-items: center;
}

.about__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/2;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.about__media-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  color: var(--foreground-faint);
}

.about__media-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.2;
}

.about__media-placeholder span {
  font-family: var(--font-mono);
  font-size: var(--text-micro);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}

.about__content .eyebrow {
  color: var(--accent);
  margin-bottom: var(--space-4);
}

.about__content .accent-line {
  margin-bottom: var(--space-6);
}

.about__content h2 {
  font-size: var(--text-h2);
  margin-bottom: var(--space-8);
}

.about__content p {
  font-size: var(--text-body);
  color: var(--foreground-soft);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-5);
  max-width: 520px;
}

.about__content p:last-of-type {
  margin-bottom: var(--space-10);
}

@media (max-width: 768px) {
  .about__inner {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .about__media {
    order: -1;
    border-radius: var(--radius-lg);
  }

  .about__content p {
    max-width: none;
  }
}

/* ── QUALITY / STRUCTURE ── */

.quality {
  background: var(--background-dark);
  color: var(--foreground-inverse);
  position: relative;
  overflow: hidden;
}

/* Noise texture */
.quality::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  pointer-events: none;
  z-index: 0;
}

.quality > .container-base {
  position: relative;
  z-index: 1;
}

.quality__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

@media (max-width: 1024px) {
  .quality__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .quality__grid {
    grid-template-columns: 1fr;
  }
}

/* ── SEGMENTS ── */

.segments {
  background: var(--background-soft);
}

.segments__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

@media (max-width: 1024px) {
  .segments__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .segments__grid {
    grid-template-columns: 1fr;
  }
}

/* ── GALLERY ── */

.gallery {
  background: var(--background);
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px 200px;
  }

  .gallery-grid__item--featured {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 200px);
  }

  .gallery-grid__item--featured {
    grid-row: auto;
  }
}

/* ── COVERAGE ── */

.coverage {
  background: var(--background-dark);
  color: var(--foreground-inverse);
  position: relative;
  overflow: hidden;
}

.coverage > .container-base {
  position: relative;
  z-index: 1;
}

.coverage__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.coverage__content .eyebrow {
  color: var(--vinic-orange-400);
  margin-bottom: var(--space-4);
}

.coverage__content .accent-line {
  margin-bottom: var(--space-6);
}

.coverage__content h2 {
  font-size: var(--text-h2);
  margin-bottom: var(--space-8);
}

.coverage__content p {
  font-size: var(--text-body);
  color: var(--foreground-inverse-muted);
  line-height: var(--leading-body);
  margin-bottom: var(--space-5);
  max-width: 480px;
}

.coverage__content .btn {
  margin-top: var(--space-6);
}

.coverage__visual {
  border-radius: var(--radius-xl);
  background: var(--surface-dark-card);
  border: 1px solid var(--border-dark-soft);
  padding: var(--space-12) var(--space-10);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  min-height: 360px;
  position: relative;
}

.coverage__radius-badge {
  font-family: var(--font-sans);
  font-size: var(--text-h1);
  font-weight: var(--weight-bold);
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--space-2);
}

.coverage__radius-label {
  font-size: var(--text-body);
  color: var(--foreground-inverse-muted);
  text-align: center;
  line-height: var(--leading-snug);
}

.coverage__radius-sub {
  font-size: var(--text-caption);
  color: var(--foreground-inverse-muted);
  opacity: 0.6;
}

.coverage__divider {
  width: 100%;
  margin-block: var(--space-6);
}

@media (max-width: 768px) {
  .coverage__inner {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .coverage__visual {
    border-radius: var(--radius-lg);
    padding: var(--space-10) var(--space-8);
    min-height: 280px;
  }
}

/* ── QUOTE / CONTACT ── */

.quote-section {
  background: var(--background-soft);
  position: relative;
}

.quote-section__island {
  background: var(--background);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-panel);
  border: 1px solid var(--border-soft);
  padding: var(--space-16);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: start;
  position: relative;
  overflow: hidden;
}

/* Accent top line on island */
.quote-section__island::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
}

.quote-section__info .eyebrow {
  color: var(--accent);
  margin-bottom: var(--space-4);
}

.quote-section__info .accent-line {
  margin-bottom: var(--space-6);
}

.quote-section__info h2 {
  font-size: var(--text-h2);
  margin-bottom: var(--space-6);
}

.quote-section__info > p {
  font-size: var(--text-body);
  color: var(--foreground-muted);
  line-height: var(--leading-body);
  margin-bottom: var(--space-10);
  max-width: 440px;
}

.quote-section__trust {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.quote-section__trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-body-sm);
  color: var(--foreground-soft);
}

.quote-section__trust-item svg {
  width: 20px;
  height: 20px;
  color: var(--success);
  flex-shrink: 0;
}

.quote-section__whatsapp {
  margin-top: var(--space-10);
}

.quote-section__whatsapp p {
  font-size: var(--text-body-sm);
  color: var(--foreground-muted);
  margin-bottom: var(--space-4);
}

/* Form */
.quote-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-group label {
  font-family: var(--font-sans);
  font-size: var(--text-body-sm);
  font-weight: var(--weight-medium);
  color: var(--foreground);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: var(--space-4) var(--space-5);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--background);
  font-size: var(--text-body);
  transition: border-color var(--duration-fast) var(--ease-standard),
              box-shadow var(--duration-fast) var(--ease-standard);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--foreground-faint);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--ring);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23666666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-5) center;
  padding-right: var(--space-12);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

.quote-form .btn-primary {
  margin-top: var(--space-3);
  width: 100%;
  height: 52px;
}

/* Form validation & submit states */
.form-group--error input,
.form-group--error select,
.form-group--error textarea {
  border-color: var(--warning);
}

.btn--loading {
  opacity: 0.7;
  pointer-events: none;
}

.btn--success {
  background: var(--success);
  pointer-events: none;
}

@media (max-width: 768px) {
  .quote-section__island {
    grid-template-columns: 1fr;
    padding: var(--space-8) var(--space-6);
    border-radius: var(--radius-xl);
    gap: var(--space-10);
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ── PRE-FOOTER CTA ── */

.prefooter-cta {
  background: var(--background-dark-alt);
  padding-block: var(--space-16);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.prefooter-cta::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(242,107,29,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.prefooter-cta__inner {
  position: relative;
  z-index: 1;
}

.prefooter-cta h3 {
  font-size: var(--text-h3);
  color: var(--foreground-inverse);
  margin-bottom: var(--space-4);
}

.prefooter-cta p {
  font-size: var(--text-body);
  color: var(--foreground-inverse-muted);
  margin-bottom: var(--space-8);
  max-width: 480px;
  margin-inline: auto;
}

.prefooter-cta__actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .prefooter-cta__actions {
    flex-direction: column;
    align-items: center;
  }

  .prefooter-cta__actions .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
}

/* ── PAGE HERO (internal pages) ── */

.page-hero {
  position: relative;
  padding-top: calc(var(--header-height-desktop) + var(--space-24, 6rem));
  padding-bottom: var(--space-24, 6rem);
  background: var(--hero-gradient);
  overflow: hidden;
  text-align: center;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  pointer-events: none;
}

.page-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 50%;
  background: radial-gradient(ellipse at center bottom, rgba(242,107,29,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero__content {
  position: relative;
  z-index: 1;
  width: min(100% - var(--px-mobile) * 2, var(--container));
  margin-inline: auto;
}

.page-hero .eyebrow {
  color: var(--vinic-orange-400);
  margin-bottom: var(--space-5);
}

.page-hero .accent-line {
  margin-inline: auto;
  margin-bottom: var(--space-6);
}

.page-hero h1 {
  font-size: var(--text-h1);
  font-weight: var(--weight-regular);
  letter-spacing: var(--tracking-heading);
  line-height: var(--leading-heading);
  color: var(--foreground-inverse);
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: var(--space-6);
}

.page-hero p {
  font-size: var(--text-body-lg);
  color: var(--foreground-inverse-muted);
  max-width: 560px;
  margin-inline: auto;
  line-height: var(--leading-relaxed);
}

@media (max-width: 768px) {
  .page-hero {
    padding-top: calc(var(--header-height-mobile) + var(--space-16));
    padding-bottom: var(--space-16);
  }
}

/* ── ACTIVE NAV STATE ── */

.header-nav__link--active {
  color: var(--foreground-inverse);
}

.header-nav__link--active::after {
  content: "";
  display: block;
  height: 1px;
  background: currentColor;
  margin-top: 2px;
}

/* ── SOLID HEADER (for internal pages) ── */

.site-header--solid-always {
  background: rgba(20,20,20,0.92);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line-dark);
}

/* ── CONTENT BLOCK (about page text+image sections) ── */

.content-block {
  background: var(--background);
}

.content-block--alt {
  background: var(--background-alt);
}

.content-block--dark {
  background: var(--background-dark);
  color: var(--foreground-inverse);
  position: relative;
  overflow: hidden;
}

.content-block--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  pointer-events: none;
  z-index: 0;
}

.content-block--dark > .container-base {
  position: relative;
  z-index: 1;
}

.content-block__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--space-16);
  align-items: center;
}

.content-block__grid--reverse {
  grid-template-columns: 7fr 5fr;
}

.content-block__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/2;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.content-block--dark .content-block__media {
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}

.content-block__media-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  color: var(--foreground-faint);
}

.content-block--dark .content-block__media-placeholder {
  color: var(--foreground-inverse-muted);
}

.content-block__media-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.2;
}

.content-block__media-placeholder span {
  font-family: var(--font-mono);
  font-size: var(--text-micro);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}

.content-block__text .eyebrow {
  color: var(--accent);
  margin-bottom: var(--space-4);
}

.content-block--dark .content-block__text .eyebrow {
  color: var(--vinic-orange-400);
}

.content-block__text .accent-line {
  margin-bottom: var(--space-6);
}

.content-block__text h2 {
  font-size: var(--text-h2);
  margin-bottom: var(--space-8);
}

.content-block__text p {
  font-size: var(--text-body);
  color: var(--foreground-soft);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-5);
  max-width: 520px;
}

.content-block--dark .content-block__text p {
  color: var(--foreground-inverse-muted);
}

.content-block__text p:last-of-type {
  margin-bottom: var(--space-10);
}

@media (max-width: 768px) {
  .content-block__grid,
  .content-block__grid--reverse {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .content-block__media {
    order: -1;
    border-radius: var(--radius-lg);
  }

  .content-block__text p {
    max-width: none;
  }
}

/* ── CONTACT CARDS ── */

.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.contact-card {
  background: var(--surface-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  text-align: center;
  transition: all var(--duration-base) var(--ease-standard);
}

.contact-card:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}

.contact-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-5);
  transition: background var(--duration-base) var(--ease-standard);
}

.contact-card:hover .contact-card__icon {
  background: var(--accent-soft-strong);
}

.contact-card__icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.contact-card h3 {
  font-size: var(--text-body);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-2);
}

.contact-card p {
  font-size: var(--text-body-sm);
  color: var(--foreground-muted);
  line-height: var(--leading-body);
}

.contact-card a {
  color: var(--accent);
  font-weight: var(--weight-medium);
  transition: color var(--duration-fast) var(--ease-standard);
}

.contact-card a:hover {
  color: var(--accent-hover);
}

@media (max-width: 1024px) {
  .contact-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .contact-cards {
    grid-template-columns: 1fr;
  }
}

/* ── FAQ ── */

.faq-list {
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.faq-item {
  background: var(--surface-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--duration-base) var(--ease-standard);
}

.faq-item:hover {
  border-color: var(--border);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-6) var(--space-8);
  width: 100%;
  text-align: left;
  font-family: var(--font-sans);
  font-size: var(--text-body);
  font-weight: var(--weight-medium);
  color: var(--foreground);
  cursor: pointer;
  transition: color var(--duration-fast) var(--ease-standard);
}

.faq-item__question:hover {
  color: var(--accent);
}

.faq-item__question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--foreground-muted);
  transition: transform var(--duration-base) var(--ease-standard);
}

.faq-item.is-open .faq-item__question svg {
  transform: rotate(180deg);
}

.faq-item__answer {
  display: none;
  padding: 0 var(--space-8) var(--space-6);
}

.faq-item.is-open .faq-item__answer {
  display: block;
}

.faq-item__answer p {
  font-size: var(--text-body-sm);
  color: var(--foreground-muted);
  line-height: var(--leading-relaxed);
}

/* ── MAP PLACEHOLDER ── */

.map-placeholder {
  width: 100%;
  aspect-ratio: 16/7;
  background: var(--background-softer);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  color: var(--foreground-faint);
}

.map-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.2;
}

.map-placeholder span {
  font-family: var(--font-mono);
  font-size: var(--text-micro);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}

/* ── INFO GRID (contact page) ── */

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.info-item {
  text-align: center;
  padding: var(--space-8);
}

.info-item__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-5);
}

.info-item__icon svg {
  width: 24px;
  height: 24px;
  color: var(--vinic-orange-400);
}

.info-item h3 {
  font-size: var(--text-body);
  font-weight: var(--weight-medium);
  color: var(--foreground-inverse);
  margin-bottom: var(--space-2);
  letter-spacing: var(--tracking-tight);
}

.info-item p {
  font-size: var(--text-body-sm);
  color: var(--foreground-inverse-muted);
  line-height: var(--leading-body);
}

@media (max-width: 768px) {
  .info-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}

/* ── PRODUCT DETAIL CARDS (products page) ── */

.product-catalog {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  margin-top: var(--space-12);
}

.product-detail-card {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--space-12);
  align-items: center;
  background: var(--surface-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  transition: border-color var(--duration-base) var(--ease-standard),
              box-shadow var(--duration-base) var(--ease-standard);
}

.product-detail-card:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-card);
}

.product-detail-card--reverse {
  grid-template-columns: 7fr 5fr;
}

.product-detail-card--reverse .product-detail-card__media {
  order: 2;
}

.product-detail-card__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--background-soft);
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-detail-card__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.product-detail-card__content .pill-badge {
  align-self: flex-start;
}

.product-detail-card__content h3 {
  font-size: var(--text-h3);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tight);
}

.product-detail-card__content > p {
  font-size: var(--text-body);
  color: var(--foreground-soft);
  line-height: var(--leading-relaxed);
}

.product-detail-card__usage {
  margin-top: var(--space-2);
}

.product-detail-card__usage h4 {
  font-family: var(--font-mono);
  font-size: var(--text-micro);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--foreground-muted);
  margin-bottom: var(--space-3);
}

.product-detail-card__usage ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  list-style: none;
}

.product-detail-card__usage li {
  font-size: var(--text-body-sm);
  color: var(--foreground-soft);
  padding-left: var(--space-5);
  position: relative;
}

.product-detail-card__usage li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
}

.product-detail-card__content .btn {
  align-self: flex-start;
  margin-top: var(--space-3);
}

@media (max-width: 768px) {
  .product-detail-card,
  .product-detail-card--reverse {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    padding: var(--space-8) var(--space-6);
    border-radius: var(--radius-lg);
  }

  .product-detail-card--reverse .product-detail-card__media {
    order: -1;
  }

  .product-detail-card__media {
    border-radius: var(--radius-md);
    aspect-ratio: 4/3;
  }
}

/* ── INFO GRID LIGHT VARIANT ── */

.info-grid--light {
  margin-top: var(--space-10);
}

.info-item--light {
  background: var(--surface-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  transition: border-color var(--duration-base) var(--ease-standard),
              box-shadow var(--duration-base) var(--ease-standard);
}

.info-item--light:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-soft);
}

.info-item--light h3 {
  color: var(--foreground);
}

.info-item--light p {
  color: var(--foreground-muted);
}

.info-item__icon--light {
  background: var(--accent-soft);
}

.info-item__icon--light svg {
  color: var(--accent);
}

/* ── CONTACT CARDS COMPACT ── */

.contact-cards--compact {
  grid-template-columns: repeat(3, 1fr);
  max-width: 900px;
  margin-inline: auto;
  margin-top: var(--space-10);
}

@media (max-width: 768px) {
  .contact-cards--compact {
    grid-template-columns: 1fr;
  }
}

/* ── SEGMENTS GRID (about page) ── */

.segments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-12);
}

.segment-card {
  background: var(--surface-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: all var(--duration-base) var(--ease-standard);
}

.segment-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}

.segment-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  transition: background var(--duration-base) var(--ease-standard);
}

.segment-card:hover .segment-card__icon {
  background: var(--accent-soft-strong);
}

.segment-card__icon svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

.segment-card h3 {
  font-size: var(--text-body);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-2);
}

.segment-card p {
  font-size: var(--text-body-sm);
  color: var(--foreground-muted);
  line-height: var(--leading-body);
}

@media (max-width: 1024px) {
  .segments-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .segments-grid {
    grid-template-columns: 1fr;
  }
}

/* ── COVERAGE VISUAL (onde-estamos page) ── */

.coverage-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  padding: var(--space-10);
  background: var(--surface-dark-card);
  border: 1px solid var(--border-dark-soft);
  border-radius: var(--radius-lg);
}

.coverage-visual__radius {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.coverage-visual__number {
  font-size: clamp(4rem, 8vw, 6rem);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-display);
  line-height: 1;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.coverage-visual__unit {
  font-family: var(--font-mono);
  font-size: var(--text-h3);
  font-weight: var(--weight-medium);
  color: var(--vinic-orange-400);
}

.coverage-visual__label {
  font-size: var(--text-body);
  font-weight: var(--weight-medium);
  color: var(--foreground-inverse);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-4);
}

.coverage-visual__divider {
  width: 40px;
  height: 1px;
  background: var(--line-dark);
  margin-bottom: var(--space-4);
}

.coverage-visual__sub {
  font-family: var(--font-mono);
  font-size: var(--text-micro);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--foreground-inverse-muted);
}

/* ── MAP ADDRESS ── */

.map-address {
  text-align: center;
  margin-top: var(--space-8);
}

.map-address p {
  font-size: var(--text-body-sm);
  color: var(--foreground-muted);
  line-height: var(--leading-body);
}

.map-address strong {
  font-weight: var(--weight-medium);
  color: var(--foreground);
}

/* ── QUOTE ALT CTA ── */

.quote-alt-cta {
  font-size: var(--text-body-sm);
  color: var(--foreground-muted);
}

.quote-alt-cta a {
  color: var(--accent);
  font-weight: var(--weight-medium);
}

/* ── BUTTON FULL WIDTH ── */

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ── FOOTER ── */

.site-footer {
  background: var(--background-dark);
  color: var(--foreground-inverse);
  border-top: 1px solid var(--line-dark);
}

.footer-main {
  width: min(100% - var(--px-mobile) * 2, var(--container-wide));
  margin-inline: auto;
  padding-top: var(--space-20);
  padding-bottom: var(--space-16);
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: var(--space-12);
}

.footer-brand__logo {
  font-family: var(--font-sans);
  font-weight: var(--weight-bold);
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  letter-spacing: var(--tracking-tight);
}

.footer-brand__mark {
  width: 4px;
  height: 20px;
  background: var(--accent-gradient);
  border-radius: 2px;
  flex-shrink: 0;
}

.footer-brand p {
  font-size: var(--text-body-sm);
  color: var(--foreground-inverse-muted);
  line-height: var(--leading-relaxed);
  max-width: 340px;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: var(--text-micro);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  margin-bottom: var(--space-6);
  color: var(--foreground-inverse-soft);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-col a {
  font-size: var(--text-body-sm);
  color: var(--foreground-inverse-muted);
  transition: color var(--duration-fast) var(--ease-standard);
}

.footer-col a:hover {
  color: var(--foreground-inverse);
}

.footer-col li:not(:has(a)) {
  font-size: var(--text-body-sm);
  color: var(--foreground-inverse-muted);
}

.footer-bottom {
  width: min(100% - var(--px-mobile) * 2, var(--container-wide));
  margin-inline: auto;
  padding-block: var(--space-8);
  border-top: 1px solid var(--line-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-caption);
  color: var(--foreground-inverse-muted);
}

@media (max-width: 768px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
    padding-top: var(--space-16);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-3);
    text-align: center;
    padding-block: var(--space-6);
  }
}

@media (max-width: 480px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}

/* ── REAL ASSET OVERRIDES ── */

/* Logo image in header & footer */
.header-logo__img {
  display: block;
  height: 36px;
  width: auto;
  object-fit: contain;
}

.footer-brand__logo img {
  display: block;
  height: 32px;
  width: auto;
  object-fit: contain;
}

/* ── TIPO A: Renders técnicos / peças de produto ──
   object-fit: contain — leitura completa da peça,
   sem crop, padding interno, centralizado */

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: var(--space-5);
}

.product-detail-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: var(--space-6);
}

/* ── TIPO B: Fotos institucionais / fábrica / obra ──
   object-fit: cover — enquadrar assunto principal,
   ajustar object-position conforme necessidade */

.about__media img,
.content-block__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* ── TIPO C: Vídeo hero / mídia de impacto ──
   Preenche todo o viewport, com overlay de legibilidade */

.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Gallery: fotos cover, vídeo cover ── */
.gallery-grid__item img,
.gallery-grid__item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
