:root {
  --ink: #0b1220;
  --muted: #647084;
  --line: #e5e8ed;
  --paper: #f8f9fb;
  --white: #ffffff;
  --accent: #007aa5;
  --max: 1180px;
  --radius: 22px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

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

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: 88px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  border-top: 8px solid #28639d;
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/*
  O logo da Atlancorp é verticalmente alto:
  símbolo + "atlancorp" + "HOLDING GROUP".
  Não o cortamos nem o obrigamos à altura do header.
*/
.brand {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  height: 80px;
}

.brand img {
  display: block;
  width: 155px;
  height: auto;
  max-height: none;
  object-fit: contain;
}

/* Mantém o logo ligeiramente abaixo da barra azul,
   sem ficar escondido pelo header. */
.header .brand img {
  margin-top: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14px;
  font-weight: 600;
  color: #394356;
}

.nav a {
  transition: color .2s ease, border-color .2s ease;
}

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

.nav-cta {
  padding: 11px 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink) !important;
}

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

.hero {
  min-height: 810px;
  position: relative;
  overflow: hidden;
  background: var(--paper);
  display: flex;
  align-items: center;
  padding-top: 88px;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11,18,32,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,18,32,.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to right, black 0%, transparent 82%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 50px;
}

.hero-copy { padding-top: 10px; }

.eyebrow {
  font-size: 11px;
  letter-spacing: .22em;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(52px, 7vw, 88px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 750;
}

.hero h1 span,
h2 em {
  color: var(--accent);
  font-style: normal;
}

.hero-text {
  max-width: 620px;
  color: var(--muted);
  font-size: 19px;
  margin: 28px 0 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 25px;
}

.btn {
  font-size: 14px;
  font-weight: 750;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
  padding: 15px 21px;
  border-radius: 999px;
}

.btn-primary span { margin-left: 14px; }

.btn-link { color: var(--ink); }

.btn-link span {
  margin-left: 8px;
  color: var(--accent);
}

.hero-mark {
  position: relative;
  height: 430px;
  display: grid;
  place-items: center;
}

.mark-core {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 86px;
  font-weight: 800;
  letter-spacing: -.08em;
  box-shadow: 0 30px 80px rgba(11,18,32,.18);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(0,122,165,.22);
  border-radius: 50%;
}

.orbit-one {
  width: 310px;
  height: 310px;
  transform: rotate(24deg);
}

.orbit-two {
  width: 430px;
  height: 180px;
  transform: rotate(-34deg);
}

.orbit::after {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  position: absolute;
  top: 18px;
  left: 50%;
}

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

.section { padding: 140px 0; }

.two-col {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 110px;
}

h2 {
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1.02;
  letter-spacing: -.05em;
}

.section-copy .lead {
  font-size: 23px;
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: 22px;
}

.section-copy > p:not(.lead) {
  color: var(--muted);
  max-width: 650px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
  margin-top: 55px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.stats div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stats strong {
  font-size: 12px;
  color: var(--accent);
}

.stats span {
  font-size: 13px;
  color: var(--muted);
}

/* =========================
   GROUP
   ========================= */

.group { background: var(--paper); }

.center-heading {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 70px;
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 24px;
}

.company-card {
  min-height: 440px;
  padding: 38px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}

.company-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 60px rgba(11,18,32,.08);
}

.company-card.featured {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.company-top {
  display: flex;
  justify-content: space-between;
  color: #8a94a6;
}

.featured .company-top { color: #a9b5ca; }

.company-number {
  font-size: 11px;
  letter-spacing: .15em;
  font-weight: 800;
}

.company-arrow { font-size: 20px; }

.company-logo {
  font-weight: 850;
  letter-spacing: -.06em;
  margin-top: auto;
  font-size: 62px;
  line-height: 1;
}

.ltws-word { letter-spacing: -.09em; }
.company-logo-image {
  display: flex;
  align-items: center;
  min-height: 78px;
  margin-top: auto;
}

.company-logo-image img {
  display: block;
  width: min(245px, 78%);
  height: auto;
  max-height: 78px;
  object-fit: contain;
  object-position: left center;
}


.company-tag {
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  margin: 16px 0 12px;
}

.company-card p:not(.company-tag) { color: var(--muted); }

.featured p:not(.company-tag) { color: #b9c3d3; }

.company-card a {
  margin-top: 28px;
  font-weight: 750;
  font-size: 14px;
}

.company-card a span {
  color: var(--accent);
  margin-left: 7px;
}

/* =========================
   VISION
   ========================= */

.vision {
  background: var(--ink);
  color: #fff;
}

.vision-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: end;
}

.vision .eyebrow { color: #43a9c7; }

.vision h2 em { color: #43a9c7; }

.vision-text {
  max-width: 570px;
  color: #aeb9cb;
}

.vision-text .large {
  color: #fff;
  font-size: 25px;
  line-height: 1.4;
  margin-bottom: 24px;
}

/* =========================
   CONTACTOS
   ========================= */

.contact { background: var(--paper); }

.contact-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 50px;
}

.contact-inner > div { max-width: 650px; }

.contact-inner h2 { margin-bottom: 18px; }

.contact-inner p:not(.eyebrow) { color: var(--muted); }

.contact-email {
  font-size: clamp(20px, 3vw, 34px);
  font-weight: 750;
  letter-spacing: -.03em;
  white-space: nowrap;
}

.contact-email span {
  color: var(--accent);
  margin-left: 10px;
}

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

.footer {
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer-inner {
  min-height: 120px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 30px;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  height: 100px;
}

.footer-brand img {
  width: 130px;
  height: auto;
  display: block;
}

.footer p {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

.back-top {
  font-size: 12px;
  color: var(--ink);
  font-weight: 700;
  text-align: right;
}

/* =========================
   ANIMAÇÕES
   ========================= */

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

.reveal.visible {
  opacity: 1;
  transform: none;
}

.delay-1 { transition-delay: .12s; }

/* =========================
   MOBILE
   ========================= */

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  width: 42px;
  padding: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 6px 0;
}

@media (max-width: 850px) {
  .site-header {
    height: 76px;
    border-top-width: 6px;
  }

  .nav-wrap {
    height: 70px;
  }

  .brand {
    height: 70px;
  }

  .brand img {
    width: 135px;
  }

  .nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 22px 24px 28px;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    border-bottom: 1px solid var(--line);
  }

  .nav.open { display: flex; }

  .nav-cta { text-align: center; }

  .menu-toggle { display: block; }

  .hero {
    min-height: 720px;
    padding-top: 76px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-mark {
    position: absolute;
    opacity: .12;
    right: -120px;
    top: 170px;
    transform: scale(.8);
  }

  .two-col,
  .vision-inner {
    grid-template-columns: 1fr;
    gap: 45px;
  }

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

  .contact-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-email {
    white-space: normal;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 25px 0;
  }

  .back-top,
  .footer p {
    text-align: center;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(var(--max), calc(100% - 32px));
  }

  .hero h1 { font-size: 50px; }

  .hero-text { font-size: 17px; }

  .hero-actions {
    flex-wrap: wrap;
    gap: 18px;
  }

  .section { padding: 95px 0; }

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

  .company-card {
    min-height: 390px;
    padding: 28px;
  }

  .company-logo { font-size: 52px; }

  .footer-brand img { width: 125px; }
}
