/* ATHOS TECNOLOGIA */
:root {
  --dark:       #000000;
  --dark-mid:   #090909;
  --white:      #ffffff;
  --silver:     #b0b0b0;
  --text:       #ffffff;
  --text-muted: #a0a0a0;
  --text-dim:   #555555;
  --accent:     #00d4ff;
  --accent-dim: rgba(0, 212, 255, 0.15);
  --accent-glow:rgba(0, 212, 255, 0.25);
  --header-h:   68px;
  --max:        1200px;
  --radius:     14px;
  --radius-lg:  20px;
  --ease:       cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --font:       "Inter", system-ui, sans-serif;
  --font-brand: "Orbitron", monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .athos-hero__title span { animation: none !important; }
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-muted);
  background-color: var(--dark);
  min-height: 100vh;
}

/* Grain texture overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

body > *:not(.athos-logo-bg) { position: relative; z-index: 1; }


a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid rgba(255,255,255,0.5); outline-offset: 3px; border-radius: 4px; }

/* ——— Logo Background ——— */
.athos-logo-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url('logo-athos.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 55vw auto;
  opacity: 0.035;
}

/* ——— Container ——— */
.container-athos {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: clamp(1.25rem, 5vw, 2.5rem);
  padding-right: clamp(1.25rem, 5vw, 2.5rem);
}

/* ——— Header ——— */
.athos-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--header-h);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s;
}

.athos-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
  z-index: -1;
}

.athos-header.is-scrolled::before {
  background: rgba(0,0,0,0.92);
  border-bottom-color: rgba(255,255,255,0.1);
}

.athos-header__bar {
  max-width: var(--max);
  margin: 0 auto;
  height: 100%;
  padding: 0 clamp(1.25rem, 5vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.athos-logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.athos-logo-link img {
  height: 36px;
  width: auto;
  transition: opacity 0.2s;
}

.athos-logo-link:hover img { opacity: 0.8; }

.athos-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.25rem 2rem;
}

.athos-nav a {
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--white);
  padding: 0.35rem 0;
  transition: color 0.25s var(--ease), text-shadow 0.25s var(--ease);
}

.athos-nav a:hover {
  color: var(--accent);
  text-shadow: 0 0 12px var(--accent-glow);
}


.athos-header__cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem 1.2rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #000;
  background: #ffffff;
  border-radius: 100px;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
}

.athos-header__cta:hover {
  background: #e8e8e8;
  box-shadow: 0 0 20px rgba(255,255,255,0.2);
  transform: translateY(-1px);
  color: #000;
}

.athos-header__cta--block { display: flex !important; width: 100%; border-radius: 8px; }

.athos-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
}

.athos-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 0 auto;
}

@media (min-width: 992px) {
  .athos-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 201;
    pointer-events: none;
  }
  .athos-nav ul {
    pointer-events: auto;
  }
}

@media (max-width: 991px) {
  .athos-nav-toggle { display: flex; }
  .athos-header__cta { display: none; }
  .athos-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(10, 11, 12, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem clamp(1.25rem, 4vw, 2rem) 1.25rem;
    display: none;
  }
  .athos-nav.is-open { display: block; z-index: 9998; }
  .athos-nav ul { flex-direction: column; align-items: flex-start; gap: 0.65rem; }
  .athos-nav a { cursor: pointer; pointer-events: auto; }
}

/* ——— Hero ——— */
.athos-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(4rem, 10vh, 7rem));
  padding-bottom: clamp(5rem, 12vh, 8rem);
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Radial glow superior */
.athos-hero::before {
  content: "";
  position: absolute;
  top: -5%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at center,
    rgba(0,212,255,0.07) 0%,
    rgba(0,212,255,0.02) 35%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

/* Linha decorativa inferior */
.athos-hero::after {
  content: "";
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.2), transparent);
}

.athos-hero .container-athos { position: relative; z-index: 1; }

.athos-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.75rem;
}

.athos-hero__eyebrow::before,
.athos-hero__eyebrow::after {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  background: var(--accent);
  opacity: 0.6;
}

.athos-hero__title {
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--text);
  margin-bottom: 1.75rem;
}

.athos-highlight {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent) 0%, #0090cc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

.athos-hero__lead {
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 38rem;
  margin: 0 auto;
}

.athos-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

/* ——— Botões ——— */
.athos-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 100px;
  transition: background 0.2s, color 0.2s, box-shadow 0.25s, transform 0.15s, border-color 0.2s;
}

.athos-btn--primary,
.athos-btn--ghost {
  background: #ffffff;
  color: #000000;
  border: none;
}

.athos-btn--primary:hover,
.athos-btn--ghost:hover {
  background: #e8e8e8;
  color: #000;
  box-shadow: 0 0 32px rgba(255,255,255,0.22);
  transform: translateY(-2px);
}

.athos-btn--lg {
  padding: 1rem 2.25rem;
  font-size: 1rem;
}

/* ——— Seções ——— */
.athos-section {
  padding: clamp(4.5rem, 10vw, 7rem) 0;
}

.athos-section--alt {
  background: linear-gradient(180deg, rgba(14,14,14,0) 0%, rgba(10,10,10,0.9) 10%, rgba(10,10,10,0.9) 90%, rgba(14,14,14,0) 100%);
}

.athos-section__eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.athos-section__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.athos-section__title--left { text-align: left; }

.athos-section__sub {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0;
}

.athos-section__head { margin-bottom: 0.5rem; }

.athos-text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ——— Cards de serviço ——— */
.athos-card {
  height: 100%;
  padding: 2rem;
  background: rgba(255,255,255,0.025);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.athos-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,0.07);
  transition: border-color 0.3s var(--ease-out);
  pointer-events: none;
}

.athos-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse at 50% -10%, rgba(255,255,255,0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.athos-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(0,212,255,0.2), 0 0 30px var(--accent-glow);
}

.athos-card:hover::before { border-color: rgba(0,212,255,0.3); }
.athos-card:hover::after { opacity: 1; }

.athos-card__icon {
  width: 44px;
  height: 44px;
  color: var(--accent);
  opacity: 0.75;
  margin-bottom: 1.5rem;
  transition: color 0.2s, opacity 0.2s;
}

.athos-card:hover .athos-card__icon { color: var(--accent); opacity: 1; }
.athos-card__icon svg { width: 100%; height: 100%; }

.athos-card__title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 0.65rem;
}

.athos-card__text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

/* ——— Badge ——— */
.athos-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.85rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(0,212,255,0.3);
  border-radius: 100px;
}

/* ——— Nossos clientes ——— */
.athos-clients-head .athos-section__eyebrow { margin-bottom: 0.5rem; }

.athos-clients__title {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.15;
  margin: 0 0 0.35rem;
}

.athos-client-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 148px;
  padding: 1.5rem 1.25rem;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: transform 0.3s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
}

.athos-client-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 55%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
}

.athos-client-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 212, 255, 0.28);
  box-shadow: 0 16px 44px rgba(0,0,0,0.35), 0 0 0 1px rgba(0,212,255,0.12);
}

.athos-client-card:focus-visible {
  outline: 2px solid rgba(0, 212, 255, 0.6);
  outline-offset: 3px;
}

.athos-client-card img {
  display: block;
  max-width: 100%;
  width: auto;
  max-height: min(88px, 18vw);
  height: auto;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
}

.athos-client-card__hint {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  transition: color 0.2s;
}

.athos-client-card:hover .athos-client-card__hint {
  color: var(--accent);
}

/* ——— Diferenciais ——— */
.athos-diff {
  padding: 1.75rem 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  position: relative;
  transition: border-color 0.2s;
}

.athos-diff:hover { border-color: rgba(255,255,255,0.15); }

.athos-diff__line {
  position: absolute;
  top: -1px; left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
  transition: width 0.4s var(--ease);
}

.athos-diff:hover .athos-diff__line { width: 56px; }

.athos-diff__title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 0.6rem;
  margin-top: 0.5rem;
}

.athos-diff__text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* ——— CTA ——— */
.athos-cta {
  position: relative;
  padding: clamp(5rem, 11vw, 8rem) 0;
  overflow: hidden;
}

.athos-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(255,255,255,0.05) 0%, transparent 70%),
    linear-gradient(180deg, transparent 0%, rgba(8,8,8,0.6) 100%);
  pointer-events: none;
}

.athos-cta .container-athos { position: relative; z-index: 1; }

.athos-cta__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.athos-cta__text {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
}

.athos-back-link {
  font-size: 0.8125rem;
  color: var(--text-dim);
  transition: color 0.2s;
}

.athos-back-link:hover { color: var(--silver); }

/* ——— Footer ——— */
.athos-footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  position: relative;
}

.athos-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 300px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
}

.athos-footer__brand {
  font-family: var(--font-brand);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.3);
  margin-bottom: 0.5rem;
}

.athos-footer__legal {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin: 0;
}

.athos-footer__note {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin: 0;
}

.athos-footer__note a { color: var(--silver); transition: color 0.2s; }
.athos-footer__note a:hover { color: var(--white); }

/* ——— Reveal ——— */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger nos filhos dos reveals */
.reveal .col-md-6:nth-child(1), .reveal .col-md-4:nth-child(1), .reveal .col-lg-3:nth-child(1) { transition-delay: 0ms; }
.reveal .col-md-6:nth-child(2), .reveal .col-md-4:nth-child(2), .reveal .col-lg-3:nth-child(2) { transition-delay: 80ms; }
.reveal .col-md-6:nth-child(3), .reveal .col-md-4:nth-child(3), .reveal .col-lg-3:nth-child(3) { transition-delay: 160ms; }
.reveal .col-md-6:nth-child(4), .reveal .col-md-4:nth-child(4), .reveal .col-lg-3:nth-child(4) { transition-delay: 240ms; }

#servicos, #sobre, #clientes, #diferenciais, #contato {
  scroll-margin-top: calc(var(--header-h) + 8px);
}

/* ——— Divisor decorativo ——— */
.athos-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.07) 20%, rgba(255,255,255,0.07) 80%, transparent);
  margin: 0;
}
