:root {
  --red: #c7001a;
  --red-dark: #910014;
  --red-soft: #fff1f3;
  --black: #111111;
  --gray-900: #1d1d1f;
  --gray-700: #4a4a4f;
  --gray-200: #ededf0;
  --gray-100: #f7f7f8;
  --white: #ffffff;
  --shadow: 0 22px 55px rgba(17, 17, 17, 0.14);
  --radius: 8px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--white);
  color: var(--gray-900);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 22px;
  width: 100%;
}

.section {
  padding: 86px 0;
}

.section-red {
  /* Fundo vermelho com profundidade sem depender de imagens externas. */
  background:
    radial-gradient(circle at 85% 12%, rgba(255, 255, 255, 0.22), transparent 27%),
    linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white);
}

.site-header {
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  left: 0;
  position: sticky;
  right: 0;
  top: 0;
  z-index: 20;
}

.navbar {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 96px;
}

.brand img {
  border-radius: 6px;
  height: 76px;
  object-fit: cover;
  width: 76px;
}

.nav-panel,
.nav-links {
  align-items: center;
  display: flex;
  gap: 28px;
}

.nav-links {
  list-style: none;
}

.nav-links a {
  color: var(--gray-700);
  font-size: 0.94rem;
  font-weight: 700;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--red);
}

.nav-links a.active {
  color: var(--red);
}

.menu-toggle {
  background: transparent;
  border: 0;
  display: none;
  height: 44px;
  padding: 10px;
  width: 44px;
}

.menu-toggle span {
  background: var(--black);
  display: block;
  height: 2px;
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
  width: 24px;
}

.btn {
  align-items: center;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  box-shadow: 0 16px 34px rgba(17, 17, 17, 0.18);
  transform: translateY(-2px);
}

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

.btn-primary:hover {
  background: var(--red-dark);
}

.btn-light {
  background: var(--white);
  color: var(--red);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.72);
  color: var(--white);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--red);
}

.btn-dark {
  background: var(--black);
  color: var(--white);
}

.btn-small {
  min-height: 42px;
  padding: 9px 15px;
}

.hero {
  min-height: 720px;
  overflow: hidden;
  padding: 86px 0 74px;
}

.hero-grid {
  align-items: center;
  display: grid;
  gap: 54px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
}

.hero-logo {
  border-radius: 8px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
  height: 116px;
  margin-bottom: 26px;
  object-fit: cover;
  width: 116px;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.eyebrow.red {
  color: var(--red);
}

h1,
h2,
h3 {
  color: inherit;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 5.6rem);
  max-width: 820px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  max-width: 760px;
}

h3 {
  font-size: 1.35rem;
}

.hero-text {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.18rem;
  margin: 22px 0 30px;
  max-width: 610px;
}

.hero-actions,
.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-media {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
  overflow: hidden;
  transform: rotate(1.5deg);
}

.hero-media img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
}

.page-hero {
  padding: 92px 0;
}

.page-hero h1 {
  max-width: 860px;
}

.page-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.14rem;
  margin-top: 18px;
  max-width: 680px;
}

.section-heading {
  margin-bottom: 38px;
}

.feature-grid,
.products-grid,
.contact-grid {
  display: grid;
  gap: 22px;
}

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

.feature-card,
.product-card,
.contact-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(17, 17, 17, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover,
.product-card:hover,
.contact-item:hover {
  border-color: rgba(199, 0, 26, 0.36);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.feature-card {
  padding: 30px;
}

.feature-icon {
  align-items: center;
  background: var(--red);
  border-radius: 999px;
  color: var(--white);
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  margin-bottom: 28px;
  width: 42px;
}

.feature-card p,
.product-info p,
.about-copy p,
.location-copy p {
  color: var(--gray-700);
  margin-top: 12px;
}

.products-section {
  background: var(--gray-100);
}

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

.product-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
}

.product-visual {
  /* Mockup visual para produtos demonstrativos, pronto para trocar por fotos reais. */
  align-items: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.9), transparent 22%),
    linear-gradient(135deg, #1d1d1f, var(--red));
  display: flex;
  justify-content: center;
  min-height: 260px;
  padding: 28px;
  position: relative;
}

.product-visual::before,
.product-visual::after {
  background: rgba(255, 255, 255, 0.76);
  content: "";
  height: 3px;
  position: absolute;
  top: 54%;
  width: 52px;
}

.product-visual::before {
  left: 12%;
  transform: rotate(24deg);
}

.product-visual::after {
  right: 12%;
  transform: rotate(-24deg);
}

.lens {
  border: 8px solid var(--white);
  display: block;
  height: 82px;
  width: 116px;
  z-index: 1;
}

.product-visual-frame .lens {
  border-radius: 50% 50% 45% 45%;
}

.product-visual-sun .lens {
  background: rgba(17, 17, 17, 0.38);
  border-radius: 16px 16px 50% 50%;
}

.bridge {
  background: var(--white);
  display: block;
  height: 8px;
  width: 32px;
  z-index: 2;
}

.product-info {
  padding: 32px;
}

.product-info strong {
  color: var(--red);
  display: block;
  font-size: 1.65rem;
  margin: 22px 0 10px;
}

.product-note {
  color: var(--gray-700);
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
}

.promo {
  padding: 64px 0;
}

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

.about-grid,
.location-grid {
  align-items: center;
  display: grid;
  gap: 46px;
  grid-template-columns: 0.92fr 1.08fr;
}

.about-image {
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.about-image img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.location-section {
  background: linear-gradient(180deg, var(--white), var(--gray-100));
}

.map-card,
.google-map {
  align-items: center;
  background:
    linear-gradient(rgba(17, 17, 17, 0.62), rgba(17, 17, 17, 0.62)),
    url("../images/hero-otica-inovacao.jpeg") center/cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 360px;
  padding: 30px;
  text-align: center;
}

.google-map {
  background: var(--gray-200);
  display: block;
  min-height: 420px;
  padding: 0;
}

.google-map iframe {
  border: 0;
  display: block;
  height: 420px;
  width: 100%;
}

.map-card span {
  background: var(--red);
  border-radius: 999px;
  font-weight: 900;
  margin-bottom: 18px;
  padding: 8px 16px;
}

.map-card strong {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1;
}

.map-card small {
  font-size: 1rem;
  margin-top: 10px;
}

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

.contact-item {
  min-height: 150px;
  padding: 24px;
}

.contact-item span {
  color: var(--red);
  display: block;
  font-size: 0.84rem;
  font-weight: 900;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.contact-item strong {
  color: var(--black);
  font-size: 1rem;
  line-height: 1.35;
}

.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 36px 0;
}

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

.footer-content img {
  border-radius: 6px;
  height: 54px;
  margin-bottom: 10px;
  object-fit: cover;
  width: 54px;
}

.footer-content p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.floating-whatsapp {
  align-items: center;
  background: #21bf63;
  border-radius: 999px;
  bottom: 22px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.26);
  display: flex;
  height: 62px;
  justify-content: center;
  position: fixed;
  right: 22px;
  transition: transform 0.2s ease;
  width: 62px;
  z-index: 30;
}

.floating-whatsapp:hover {
  transform: scale(1.06);
}

.floating-whatsapp img {
  height: 34px;
  object-fit: contain;
  width: 34px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

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

  .menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-panel {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
    display: none;
    left: 0;
    padding: 20px 22px 24px;
    position: absolute;
    right: 0;
    top: 96px;
  }

  .nav-panel.is-open {
    display: grid;
    gap: 18px;
  }

  .nav-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .hero-grid,
  .about-grid,
  .location-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    max-width: 620px;
    transform: none;
  }

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

  .product-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .container {
    padding: 0 18px;
  }

  .section {
    padding: 64px 0;
  }

  .navbar {
    min-height: 82px;
  }

  .nav-panel {
    top: 82px;
  }

  .brand img {
    height: 62px;
    width: 62px;
  }

  .hero {
    padding: 58px 0 56px;
  }

  .hero-logo {
    height: 92px;
    width: 92px;
  }

  .hero-actions,
  .location-actions,
  .promo-content {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .feature-grid,
  .products-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .product-visual {
    min-height: 220px;
  }

  .lens {
    height: 66px;
    width: 94px;
  }

  .bridge {
    width: 24px;
  }

  .footer-content {
    align-items: flex-start;
    flex-direction: column;
  }

  .floating-whatsapp {
    bottom: 16px;
    height: 56px;
    right: 16px;
    width: 56px;
  }
}
