/* Yale Brasil — site estático (réplica visual básica) */

:root {
  --yale-black: #111111;
  --yale-black-soft: #1a1a1a;
  --yale-yellow: #f5d000;
  --yale-yellow-hover: #e0be00;
  --yale-white: #ffffff;
  --yale-gray-100: #f5f5f5;
  --yale-gray-200: #e8e8e8;
  --yale-gray-400: #9a9a9a;
  --yale-gray-600: #5a5a5a;
  --yale-gray-800: #2c2c2c;
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --container: min(1180px, calc(100% - 2.5rem));
  --header-h: 4.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--yale-black);
  background: var(--yale-white);
}

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

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

a:hover {
  color: var(--yale-yellow);
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
}

p {
  margin: 0;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

/* —— Top bar —— */
.topbar {
  background: var(--yale-black);
  color: var(--yale-white);
  font-size: 0.8125rem;
}

.topbar__inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.5rem;
  padding: 0.45rem 0;
}

.topbar a {
  color: var(--yale-white);
  opacity: 0.9;
}

.topbar a:hover {
  color: var(--yale-yellow);
  opacity: 1;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--yale-white);
  border-bottom: 1px solid var(--yale-gray-200);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: var(--header-h);
}

.logo img {
  width: 72px;
  height: auto;
}

.nav-main {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.35rem;
  flex: 1;
}

.nav-main a {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--yale-black);
  padding: 0.35rem 0;
}

.nav-main a:hover {
  color: var(--yale-yellow);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}

.header-phone {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.75rem 1.35rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn--primary {
  background: var(--yale-yellow);
  color: var(--yale-black);
}

.btn--primary:hover {
  background: var(--yale-yellow-hover);
  color: var(--yale-black);
}

.btn--outline {
  background: transparent;
  border-color: var(--yale-black);
  color: var(--yale-black);
}

.btn--outline:hover {
  background: var(--yale-black);
  color: var(--yale-white);
}

.btn--outline-light {
  background: transparent;
  border-color: var(--yale-white);
  color: var(--yale-white);
}

.btn--outline-light:hover {
  background: var(--yale-yellow);
  border-color: var(--yale-yellow);
  color: var(--yale-black);
}

.btn--ghost {
  background: transparent;
  color: var(--yale-black);
  border: none;
  padding-left: 0;
  padding-right: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.btn--ghost:hover {
  color: var(--yale-yellow);
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: min(78vh, 640px);
  display: flex;
  align-items: flex-end;
  color: var(--yale-white);
  overflow: hidden;
  background: var(--yale-black);
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media video,
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.55) brightness(0.72) contrast(1.15);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.25) 0%,
    rgba(0, 0, 0, 0.55) 55%,
    rgba(0, 0, 0, 0.78) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 4rem 0 3.5rem;
  max-width: 52rem;
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--yale-yellow);
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  margin-bottom: 0.85rem;
}

.hero__lead {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  max-width: 36rem;
  opacity: 0.95;
}

/* —— Section commons —— */
.section {
  padding: 4rem 0;
}

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

.section--dark {
  background: var(--yale-black-soft);
  color: var(--yale-white);
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yale-gray-600);
  margin-bottom: 0.5rem;
}

.section--dark .eyebrow {
  color: var(--yale-yellow);
}

.section__title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  margin-bottom: 0.65rem;
}

.section__desc {
  color: var(--yale-gray-600);
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section--dark .section__desc {
  color: rgba(255, 255, 255, 0.75);
}

/* —— Industries —— */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
}

.industry-card {
  position: relative;
  min-height: 160px;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  background-size: cover;
  background-position: center;
  color: var(--yale-white);
  overflow: hidden;
}

.industry-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.75) 100%);
  transition: background 0.25s;
}

.industry-card:hover::before {
  background: linear-gradient(180deg, transparent 10%, rgba(0, 0, 0, 0.85) 100%);
}

.industry-card h3 {
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* —— Product feature —— */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.feature--reverse .feature__media {
  order: 2;
}

.feature--reverse .feature__text {
  order: 1;
}

.feature__media {
  background: var(--yale-gray-100);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.feature__text .eyebrow {
  margin-bottom: 0.75rem;
}

.feature__text h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  margin-bottom: 1rem;
}

.feature__text p {
  color: var(--yale-gray-600);
  margin-bottom: 0.85rem;
}

.feature__text .btn {
  margin-top: 1rem;
}

/* —— News —— */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.news-card {
  background: var(--yale-white);
  border-left: 4px solid var(--yale-yellow);
  padding: 1.5rem 1.35rem;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.news-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.news-card p {
  color: var(--yale-gray-600);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

/* —— Services band —— */
.services-band {
  padding: 4.5rem 0;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(17, 17, 17, 0.92), rgba(17, 17, 17, 0.85)),
    url("https://www.yale.com/globalassets/coms/yale/north-america/images/parts-and-services/parts/c3-fleet-mgmt-y.jpg")
      center / cover;
  color: var(--yale-white);
}

.services-band .eyebrow {
  color: var(--yale-yellow);
}

.services-band h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  max-width: 28rem;
  margin: 0.5rem auto 1rem;
}

.services-band p {
  max-width: 36rem;
  margin: 0 auto 1.5rem;
  opacity: 0.88;
}

.services-band .divider {
  width: 48px;
  height: 3px;
  background: var(--yale-yellow);
  margin: 0 auto 1.25rem;
}

/* —— Footer —— */
.site-footer {
  background: var(--yale-black);
  color: var(--yale-white);
  padding-top: 3rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-logo img {
  width: 80px;
  margin-bottom: 1rem;
}

.footer-phone {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  font-size: 0.875rem;
}

.social-links a {
  color: rgba(255, 255, 255, 0.8);
}

.social-links a:hover {
  color: var(--yale-yellow);
}

.footer-col h4 {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yale-yellow);
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.925rem;
  margin-bottom: 0.55rem;
}

.footer-col a:hover {
  color: var(--yale-yellow);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-legal a:hover,
.footer-legal a.is-active {
  color: var(--yale-yellow);
}

/* —— Privacy page —— */
.page-hero {
  background: var(--yale-black);
  color: var(--yale-white);
  padding: 2.5rem 0 2rem;
}

.breadcrumb {
  font-size: 0.875rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.65);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
}

.breadcrumb a:hover {
  color: var(--yale-yellow);
}

.breadcrumb span {
  margin: 0 0.4rem;
  opacity: 0.5;
}

.page-hero h1 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.privacy {
  padding: 3rem 0 4rem;
}

.privacy__intro {
  max-width: 48rem;
  margin-bottom: 2rem;
  color: var(--yale-gray-800);
}

.privacy__intro p + p {
  margin-top: 1rem;
}

.quick-links {
  background: var(--yale-gray-100);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
}

.quick-links h2 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.quick-links p {
  font-size: 0.925rem;
  color: var(--yale-gray-600);
  margin-bottom: 1rem;
}

.quick-links ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.45rem 1.5rem;
}

.quick-links a {
  color: var(--yale-black);
  font-size: 0.925rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.quick-links a:hover {
  color: var(--yale-yellow);
}

.privacy-section {
  max-width: 48rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--yale-gray-200);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.privacy-section h2 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.privacy-section h3 {
  font-size: 1.05rem;
  margin: 1.25rem 0 0.5rem;
}

.privacy-section p,
.privacy-section li {
  color: var(--yale-gray-800);
}

.privacy-section p + p {
  margin-top: 0.85rem;
}

.privacy-section ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0.75rem 0;
}

.privacy-section li {
  margin-bottom: 0.45rem;
}

.privacy-section ol {
  padding-left: 1.25rem;
  margin: 0.75rem 0;
}

.privacy-section ol li {
  margin-bottom: 0.4rem;
}

.entity-list {
  columns: 2;
  column-gap: 2rem;
}

.entity-list li {
  break-inside: avoid;
  list-style: none;
  margin-left: 0;
  padding-left: 0;
  margin-bottom: 0.35rem;
}

.contact-block {
  background: var(--yale-gray-100);
  padding: 1.25rem 1.5rem;
  margin-top: 1rem;
}

.contact-block a {
  color: var(--yale-black);
  text-decoration: underline;
}

.contact-block a:hover {
  color: var(--yale-yellow);
}

/* —— Responsive —— */
@media (max-width: 1024px) {
  .industries-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: auto;
  }

  .site-header__inner {
    flex-wrap: wrap;
    padding: 0.75rem 0;
    gap: 0.75rem 1rem;
  }

  .nav-main {
    order: 3;
    width: 100%;
    gap: 0.35rem 1rem;
  }

  .nav-main a {
    font-size: 0.8rem;
  }

  .header-actions {
    margin-left: 0;
  }

  .header-phone {
    display: none;
  }

  .hero {
    min-height: 70vh;
  }

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

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

  .feature--reverse .feature__media,
  .feature--reverse .feature__text {
    order: initial;
  }

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

  .footer-top {
    grid-template-columns: 1fr;
  }

  .quick-links ul,
  .entity-list {
    grid-template-columns: 1fr;
    columns: 1;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

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

  .industry-card {
    min-height: 120px;
  }
}
