:root {
  --navy: #1c2a4a;
  --yellow: #c4c400;
  --light: #e2e5e9;
  --paper: #cbccce;
  --muted: #596477;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Century Gothic', 'Trebuchet MS', Arial, sans-serif; color: var(--navy); background: var(--paper); }
a { color: inherit; text-decoration: none; }

.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.96); box-shadow: 0 8px 24px rgba(28,42,74,.08); }
.header-inner { max-width: 1200px; margin: auto; padding: 16px 5%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo img { display: block; width: auto; height: 65px; max-width: 220px; }
.primary-nav ul { display: flex; gap: 22px; list-style: none; }
.primary-nav a { font-weight: 600; transition: color .2s ease; }
.primary-nav a:hover, .primary-nav a.active { color: var(--yellow); }
.header-ctas { display: flex; gap: 12px; }
.btn { display: inline-block; border: 0; border-radius: 4px; padding: 11px 24px; background: var(--navy); color: var(--light); font-weight: 700; font-size: 15px; }
.btn:hover { background: var(--yellow); color: var(--navy); }
.btn.destaque { background: var(--yellow); color: var(--navy); }
.nav-toggle { display: none; width: 36px; height: 30px; border: 0; background: transparent; cursor: pointer; }
.nav-toggle span { display: block; width: 100%; height: 3px; margin: 5px 0; background: var(--navy); }

.intro-section { position: relative; isolation: isolate; min-height: 520px; display: flex; align-items: center; overflow: hidden; padding: 88px max(5%, calc((100% - 1200px) / 2)); background: var(--navy); }
.intro-section::before { content: ''; position: absolute; inset: -18px; z-index: -2; background: url('../img/callcenter.jpeg') center/cover no-repeat; opacity: .34; filter: saturate(.72); animation: introImageIn 1.4s ease-out both; }
.intro-section::after { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(28, 42, 74, .82); }
.intro-copy { max-width: 720px; animation: introCopyIn .9s .15s cubic-bezier(.22, 1, .36, 1) both; }
.intro-copy h1 { font-size: clamp(2.2rem, 4vw, 3.7rem); line-height: 1.08; font-weight: 800; letter-spacing: .015em; color: var(--light); text-shadow: 0 3px 18px rgba(28,42,74,.8); }
.intro-copy h1 span, .history-copy h2 span { color: var(--yellow); }
.intro-copy p { max-width: 650px; margin-top: 30px; color: var(--light); font-size: 1.05rem; line-height: 1.7; text-shadow: 0 2px 12px rgba(28,42,74,.85); }
@keyframes introImageIn { from { opacity: 0; transform: scale(1.1); } to { opacity: .34; transform: scale(1); } }
@keyframes introCopyIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }

.history-section { padding: 64px 5% 0; background: #fff; color: var(--navy); text-align: center; }
.history-copy { max-width: 780px; margin: auto; }
.history-copy h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; margin-bottom: 28px; }
.history-copy p { color: var(--muted); line-height: 1.55; font-size: 1.05rem; }
.numbers-grid { max-width: 1280px; margin: 42px auto 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; transform: translateY(86px); }
.number-card { position: relative; min-height: 225px; padding: 26px 18px 28px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 13px; overflow: hidden; background: linear-gradient(155deg, #fff 0%, #f1f3f6 100%); color: var(--navy); border: 1px solid rgba(255,255,255,.9); border-radius: 20px; box-shadow: 0 16px 36px rgba(10,21,48,.18); opacity: 0; transform: translateY(28px) scale(.98); transition: opacity .6s ease, transform .3s ease, box-shadow .3s ease, background-color .3s ease, border-color .3s ease; }
.number-card::before { content: ''; position: absolute; right: 0; bottom: 0; left: 0; height: 5px; background: linear-gradient(90deg, var(--yellow), #e1e100); transform: scaleX(.42); transform-origin: center; transition: transform .35s ease; }
.number-card::after { content: ''; position: absolute; width: 110px; height: 110px; top: -72px; right: -58px; border-radius: 50%; background: rgba(196,196,0,.12); }
.number-card.visible { opacity: 1; transform: translateY(0) scale(1); }
.number-card:hover, .number-card:focus-within { background: #fff; border-color: rgba(196,196,0,.65); transform: translateY(-10px) scale(1.02); box-shadow: 0 24px 44px rgba(10,21,48,.26); }
.number-card:hover::before, .number-card:focus-within::before { transform: scaleX(1); }
.number-value { display: block; color: var(--navy); font-size: clamp(1.45rem, 1.8vw, 2rem); font-weight: 900; letter-spacing: -.03em; line-height: 1.05; }
.number-card > span:last-child { max-width: 190px; color: #4f5b73; font-size: .94rem; font-weight: 600; line-height: 1.4; }
.metric-icon, .value-icon { width: 58px; height: 58px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(196,196,0,.28); border-radius: 17px; background: rgba(196,196,0,.12); color: var(--navy); box-shadow: inset 0 1px 0 rgba(255,255,255,.8); transition: color .3s ease, transform .3s ease, background-color .3s ease; }
.metric-icon svg, .value-icon svg { width: 31px; height: 31px; }
.number-card:hover .metric-icon, .values-grid article:hover .value-icon { background: var(--yellow); color: var(--navy); transform: translateY(-3px); }

.number-card:nth-child(1) { transition-delay: .05s; }
.number-card:nth-child(2) { transition-delay: .12s; }
.number-card:nth-child(3) { transition-delay: .19s; }
.number-card:nth-child(4) { transition-delay: .26s; }
.number-card:nth-child(5) { transition-delay: .33s; }

.values-section { padding: 170px 5% 80px; max-width: 1200px; margin: auto; text-align: center; }
.values-section h2 { font-size: 2.3rem; margin-bottom: 34px; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: left; }
.values-grid article { position: relative; min-height: 225px; padding: 28px; overflow: hidden; border: 1px solid rgba(255,255,255,.9); border-radius: 20px; background: linear-gradient(155deg, #fff 0%, #f1f3f6 100%); box-shadow: 0 16px 36px rgba(10,21,48,.18); transition: transform .3s ease, box-shadow .3s ease, background-color .3s ease, border-color .3s ease; }
.values-grid article::before { content: ''; position: absolute; right: 0; bottom: 0; left: 0; height: 5px; background: linear-gradient(90deg, var(--yellow), #e1e100); transform: scaleX(.42); transform-origin: center; transition: transform .35s ease; }
.values-grid article::after { content: ''; position: absolute; width: 110px; height: 110px; top: -72px; right: -58px; border-radius: 50%; background: rgba(196,196,0,.12); }
.values-grid article:hover { border-color: rgba(196,196,0,.65); transform: translateY(-10px) scale(1.02); box-shadow: 0 24px 44px rgba(10,21,48,.26); }
.values-grid article:hover::before { transform: scaleX(1); }
.values-grid article > * { position: relative; z-index: 1; }
.value-icon { margin-bottom: 20px; }
.values-grid h3 { margin-bottom: 10px; }
.values-grid p { color: var(--muted); line-height: 1.6; }

.locations-section { padding: 92px 5% 100px; overflow: hidden; background: #fff; }
.locations-inner { max-width: 1200px; margin: auto; }
.locations-heading { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.locations-eyebrow { display: inline-block; margin-bottom: 12px; color: #727b8d; font-size: .78rem; font-weight: 800; letter-spacing: .2em; }
.locations-heading h2 { color: var(--navy); font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; letter-spacing: .01em; }
.locations-heading h2 span { color: var(--yellow); }
.locations-heading p { max-width: 660px; margin: 18px auto 0; color: var(--muted); line-height: 1.65; }
.locations-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(330px, .8fr); gap: 48px; align-items: center; }
.map-card { position: relative; overflow: hidden; border: 1px solid rgba(28,42,74,.08); border-radius: 30px; padding: 20px; background: radial-gradient(circle at 44% 45%, rgba(196,196,0,.11), transparent 38%), linear-gradient(145deg, #f8f9fb, #edf0f4); box-shadow: 0 22px 48px rgba(28,42,74,.12); }
.map-card::before, .map-card::after { content: ''; position: absolute; border: 1px solid rgba(28,42,74,.05); border-radius: 50%; }
.map-card::before { width: 340px; height: 340px; top: -190px; right: -135px; }
.map-card::after { width: 240px; height: 240px; bottom: -150px; left: -95px; }
.brazil-map { position: relative; z-index: 1; display: block; width: 100%; height: auto; }
.brazil-shape { fill: #fff; stroke: var(--navy); stroke-width: 3; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.map-pin { cursor: default; transition: filter .24s ease; }
.map-pin:hover { filter: drop-shadow(0 6px 8px rgba(28,42,74,.22)); }
.pin-body { fill: var(--yellow); stroke: #fff; stroke-width: 3; vector-effect: non-scaling-stroke; }
.pin-building { fill: none; stroke: var(--navy); stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.locations-list { display: grid; gap: 13px; list-style: none; }
.locations-list li { min-height: 76px; display: flex; align-items: center; gap: 16px; padding: 13px 18px; border: 1px solid rgba(28,42,74,.09); border-left: 4px solid var(--yellow); border-radius: 14px; background: #fff; box-shadow: 0 8px 22px rgba(28,42,74,.07); transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.locations-list li:hover { transform: translateX(6px); border-color: rgba(196,196,0,.5); box-shadow: 0 13px 28px rgba(28,42,74,.12); }
.location-icon { flex: 0 0 46px; width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; border-radius: 13px; background: rgba(196,196,0,.14); color: var(--navy); }
.location-icon svg { width: 25px; height: 25px; }
.locations-list li > span:last-child { min-width: 0; display: grid; gap: 2px; }
.locations-list small { color: #778094; font-size: .68rem; font-weight: 800; letter-spacing: .09em; }
.locations-list strong { color: var(--navy); font-size: 1.02rem; line-height: 1.25; }

.site-footer { padding: 56px 5% 24px; background: var(--navy); color: var(--light); }
.footer-content { max-width: 1200px; margin: auto; display: grid; grid-template-columns: 1.5fr 1fr auto; align-items: center; gap: 48px; }
.footer-logo { display: block; width: auto; height: 54px; margin-bottom: 18px; }
.footer-content p { color: rgba(226,229,233,.78); }
.footer-content h2 { color: var(--yellow); font-size: 1rem; margin-bottom: 16px; text-transform: uppercase; }
.footer-content div:nth-child(2) a { display: block; margin-bottom: 10px; color: rgba(226,229,233,.86); }
.copyright { max-width: 1200px; margin: 46px auto 0; padding-top: 22px; border-top: 1px solid rgba(196,196,0,.2); text-align: center; color: rgba(226,229,233,.65); font-size: .85rem; }

@media (max-width: 1100px) {
  .numbers-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .number-card { grid-column: span 2; }
  .number-card:nth-last-child(-n+2) { grid-column: span 3; }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .primary-nav { position: absolute; top: 100%; left: 0; right: 0; padding: 18px 5%; background: var(--paper); box-shadow: 0 12px 24px rgba(28,42,74,.1); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility .2s ease; }
  .primary-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .primary-nav ul { flex-direction: column; gap: 8px; }
  .primary-nav a { display: block; padding: 10px 0; }
  .header-ctas { display: none; }
  .intro-section { min-height: 560px; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); transform: translateY(50px); }
  .number-card { grid-column: auto; }
  .number-card:nth-last-child(-n+2) { grid-column: auto; }
  .number-card:last-child { grid-column: 1 / -1; }
  .values-section { padding-top: 110px; }
  .locations-layout { grid-template-columns: 1fr; gap: 34px; }
  .map-card { max-width: 680px; width: 100%; margin: auto; }
  .locations-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-content { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 560px) {
  .header-inner { padding: 12px 5%; }
  .logo img { height: 52px; }
  .intro-section { min-height: 620px; padding-top: 56px; padding-bottom: 56px; }
  .intro-copy h1 { font-size: 2rem; }
  .history-section { padding-top: 48px; }
  .numbers-grid { grid-template-columns: 1fr; }
  .number-card:last-child { grid-column: auto; }
  .values-grid { grid-template-columns: 1fr; }
  .locations-section { padding: 68px 5% 76px; }
  .locations-heading { margin-bottom: 34px; }
  .map-card { padding: 8px; border-radius: 22px; }
  .locations-list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .number-card,
  .values-grid article,
  .metric-icon,
  .value-icon,
  .map-pin,
  .locations-list li,
  .intro-section::before,
  .intro-copy {
    animation: none;
    transition: none;
  }

  .number-card {
    opacity: 1;
    transform: none;
  }
}
