/* ==========================================================================
   atmos.lab — Design System
   Dark navy canvas, cyan → violet → magenta gradient accent.
   Fonts: Outfit (display) / Inter (body).
   ========================================================================== */

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
input, textarea, select { font: inherit; color: inherit; }

/* ---- Tokens ---- */
:root{
  --bg:            #05070F;
  --bg-raised:     #0A0E1C;
  --bg-card:       #0D1224;
  --bg-card-hover: #111830;
  --border:        rgba(255,255,255,0.09);
  --border-soft:   rgba(255,255,255,0.05);

  --text:          #F4F6FC;
  --text-muted:    #97A1BD;
  --text-faint:    #5C6785;

  --cyan:          #0ABCC7;
  --blue:          #5576C1;
  --violet:        #492E93;
  --magenta:       #9E26C3;

  --gradient:        linear-gradient(90deg, var(--cyan) 0%, var(--blue) 45%, var(--magenta) 100%);
  --gradient-soft:    linear-gradient(135deg, rgba(10,188,199,0.16), rgba(73,46,147,0.16));
  --gradient-border:  linear-gradient(135deg, rgba(10,188,199,0.5), rgba(158,38,195,0.5));

  --whatsapp: #25D366;
  --success:  #34D399;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-card: 0 20px 60px -30px rgba(0,0,0,0.6);

  --container: 1200px;

  --font-display: "Outfit", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

/* ---- Base ---- */
html { scroll-behavior: smooth; }
body{
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before{
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 90%);
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 4.4vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }
p  { color: var(--text-muted); max-width: 62ch; }
strong { color: var(--text); font-weight: 600; }

::selection { background: var(--magenta); color: #fff; }

:focus-visible{
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---- Layout helpers ---- */
.container{ width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 28px; }
.section{ padding-block: 96px; position: relative; }
.section--tight{ padding-block: 64px; }
.section--border-top{ border-top: 1px solid var(--border-soft); }
.grid{ display: grid; gap: 24px; }
@media (min-width: 780px){
  .grid--2{ grid-template-columns: repeat(2, 1fr); }
  .grid--3{ grid-template-columns: repeat(3, 1fr); }
  .grid--4{ grid-template-columns: repeat(4, 1fr); }
}

/* ---- Eyebrow / badge / pill ---- */
.eyebrow{
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--cyan);
  background: rgba(10,188,199,0.09);
  border: 1px solid rgba(10,188,199,0.25);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow--violet{ color: #B79CF0; background: rgba(158,38,195,0.1); border-color: rgba(158,38,195,0.3); }
.eyebrow--dot::before{ content:""; width:6px; height:6px; border-radius:50%; background: currentColor; }

.pill{
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.78rem; color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 7px 13px;
  border-radius: 999px;
}
.pill strong{ color: var(--text); }

.status{
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 500; color: var(--success);
  background: rgba(52,211,153,0.08);
  border: 1px solid rgba(52,211,153,0.25);
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
}
.status::before{ content:""; width:7px; height:7px; border-radius:50%; background: var(--success); box-shadow: 0 0 0 3px rgba(52,211,153,0.18); }
.status--soon{ color: #F0B94D; background: rgba(240,185,77,0.08); border-color: rgba(240,185,77,0.25); }
.status--soon::before{ background:#F0B94D; box-shadow: 0 0 0 3px rgba(240,185,77,0.18); }

.hero-tagline{
  font-size: 0.86rem; font-weight: 500; letter-spacing: 0.01em;
  color: var(--cyan);
  max-width: 46ch;
  line-height: 1.5;
}
.hero__headline--long{
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.28;
  max-width: 22ch;
}

/* ---- Gradient text ---- */
.grad-text{
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---- Buttons ---- */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 600; font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-1px); }
.btn-primary{
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 12px 30px -12px rgba(158,38,195,0.55);
}
.btn-primary:hover{ box-shadow: 0 16px 36px -12px rgba(158,38,195,0.7); }
.btn-secondary{
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-secondary:hover{ background: var(--bg-card-hover); border-color: rgba(255,255,255,0.18); }
.btn-whatsapp{
  background: rgba(37,211,102,0.1);
  border: 1px solid rgba(37,211,102,0.35);
  color: #4CE398;
}
.btn-whatsapp:hover{ background: rgba(37,211,102,0.16); }
.btn-block{ width: 100%; }
.btn-row{ display:flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* ---- Header / Nav ---- */
.site-header{
  position: sticky; top: 0; z-index: 100;
  background: rgba(5,7,15,0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.site-header__bar{
  max-width: var(--container); margin-inline: auto; padding-inline: 28px;
  height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand{ display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.brand__mark{ width: 30px; height: 30px; object-fit: contain; }

.nav{ display: none; align-items: center; gap: 4px; }
@media (min-width: 1080px){ .nav{ display: flex; } }
.nav > li{ position: relative; }
.nav__link{
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 8px;
  font-size: 0.92rem; font-weight: 500; color: var(--text-muted);
  transition: color .15s ease, background .15s ease;
}
.nav__link:hover, .nav__link[aria-current="page"]{ color: var(--text); background: rgba(255,255,255,0.05); }
.nav__caret{ width: 9px; height: 9px; opacity: .6; transition: transform .15s ease; }
.nav > li:hover .nav__caret{ transform: rotate(180deg); }

.nav__dropdown{
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 280px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px;
  box-shadow: var(--shadow-card);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
}
.nav > li:hover .nav__dropdown{ opacity: 1; visibility: visible; transform: translateY(0); }
.nav__dropdown a{
  display: block; padding: 10px 12px; border-radius: 8px;
  font-size: 0.88rem; color: var(--text-muted);
}
.nav__dropdown a:hover{ background: rgba(255,255,255,0.05); color: var(--text); }
.nav__dropdown a small{ display:block; color: var(--text-faint); font-size: .76rem; margin-top: 2px; }
.nav__dropdown .tag-new{ color: var(--cyan); font-size: .68rem; font-weight: 700; margin-left: 6px; }

.header__actions{ display: flex; align-items: center; gap: 10px; }
.lang-toggle{
  display: flex; align-items: center; gap: 6px;
  padding: 9px 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.82rem; font-weight: 600; color: var(--text-muted);
  background: var(--bg-card);
}
.lang-toggle:hover{ color: var(--text); border-color: rgba(255,255,255,0.2); }
.lang-toggle svg{ width: 15px; height: 15px; }

.menu-btn{ display: flex; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 10px; }
@media (min-width: 1080px){ .menu-btn{ display: none; } }
.menu-btn svg{ width: 18px; height: 18px; }

.mobile-nav{
  position: fixed; inset: 74px 0 0 0; z-index: 90;
  background: var(--bg);
  padding: 20px 28px 40px;
  overflow-y: auto;
  display: none;
}
.mobile-nav.is-open{ display: block; }
@media (min-width: 1080px){ .mobile-nav{ display: none !important; } }
.mobile-nav__group{ border-bottom: 1px solid var(--border-soft); padding-block: 14px; }
.mobile-nav__top{ display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; padding: 8px 0; }
.mobile-nav__sub{ padding-left: 14px; margin-top: 6px; display: flex; flex-direction: column; gap: 2px; }
.mobile-nav__sub a{ display:block; padding: 9px 0; color: var(--text-muted); font-size: .92rem; }

/* ---- Hero ---- */
.hero{ padding-top: 88px; padding-bottom: 88px; position: relative; overflow: hidden; }
.hero::before{
  content:""; position: absolute; z-index: -1;
  width: 640px; height: 640px; left: -220px; top: -180px;
  background: radial-gradient(circle, rgba(73,46,147,0.35), transparent 70%);
}
.hero::after{
  content:""; position: absolute; z-index: -1;
  width: 520px; height: 520px; right: -180px; top: 60px;
  background: radial-gradient(circle, rgba(10,188,199,0.18), transparent 70%);
}
.hero__grid{ display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px){ .hero__grid{ grid-template-columns: 1fr 1fr; } }
.hero h1{ margin-bottom: 22px; }
.hero p.lead{ font-size: 1.08rem; max-width: 52ch; }

.hero-card{
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  min-height: 340px;
  overflow: hidden;
}
.hero-card--photo{ min-height: 460px; padding: 0; }
.hero-card--photo img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-card__scrim{
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,7,15,0.05) 0%, rgba(5,7,15,0.15) 45%, rgba(5,7,15,0.75) 100%);
}
.hero-card--photo .hero-card__chip{ z-index: 2; }
.hero-card__chip{
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: var(--bg-raised); border: 1px solid var(--border);
  border-radius: 14px; padding: 12px 16px;
  box-shadow: var(--shadow-card);
  font-size: .85rem;
}
.hero-card__chip .dot{ width: 34px; height: 34px; border-radius: 10px; background: var(--gradient); display:flex; align-items:center; justify-content:center; font-size: 1.1rem; }

/* ---- Cards ---- */
.card{
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: border-color .15s ease, background .15s ease;
}
.card:hover{ border-color: rgba(255,255,255,0.16); background: var(--bg-card-hover); }
.card__icon{
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient-soft);
  border: 1px solid var(--border);
  margin-bottom: 18px; font-size: 1.2rem;
}
.card h3{ margin-bottom: 10px; }
.card p{ font-size: .93rem; margin-bottom: 16px; }
.card__link{ font-size: .87rem; font-weight: 600; color: var(--cyan); display: inline-flex; align-items: center; gap: 6px; }

.card--feature{
  border: 1px solid transparent;
  background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box, var(--gradient-border) border-box;
}

.stat-card{
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 24px;
}
.stat-card__value{ font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; }
.stat-card__label{ font-size: .84rem; color: var(--text-muted); margin-top: 4px; }

/* ---- Numbered process ---- */
.steps{ display: grid; gap: 20px; }
@media (min-width: 780px){ .steps--4{ grid-template-columns: repeat(4,1fr); } .steps--3{ grid-template-columns: repeat(3,1fr); } }
.step{ position: relative; padding-top: 8px; border-top: 2px solid var(--border); }
.step__num{ font-family: var(--font-display); font-size: .85rem; font-weight: 700; color: var(--cyan); display:block; margin-bottom: 10px; }
.step h4{ margin-bottom: 8px; }
.step p{ font-size: .88rem; }

/* ---- Pricing ---- */
.price-card{
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px; position: relative;
}
.price-card__value{ font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; margin: 6px 0 4px; }
.price-card__old{ text-decoration: line-through; color: var(--text-faint); font-size: 1.1rem; margin-left: 10px; }
.check-list{ display: flex; flex-direction: column; gap: 10px; margin: 18px 0; }
.check-list li{ display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--text-muted); }
.check-list li::before{ content:"✓"; color: var(--cyan); font-weight: 700; flex-shrink: 0; }
.x-list li{ display:flex; gap:10px; align-items:flex-start; font-size:.9rem; color: var(--text-faint); }
.x-list li::before{ content:"✕"; color: var(--text-faint); flex-shrink:0; }

/* ---- Table-ish comparison ---- */
.mini-table{ display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.mini-table__row{ display: flex; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--border-soft); font-size: .92rem; }
.mini-table__row:last-child{ border-bottom: none; }
.mini-table__row span:first-child{ color: var(--text-muted); }
.mini-table__row span:last-child{ font-weight: 600; }

/* ---- Tabs (About / Institutional) ---- */
.tabs__list{ display: flex; flex-wrap: wrap; gap: 8px; }
.tabs__btn{
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  font-size: .88rem; font-weight: 500; color: var(--text-muted);
}
.tabs__btn.is-active{ color: var(--text); border-color: rgba(10,188,199,0.4); background: rgba(10,188,199,0.08); }
.tabs__panel{ display: none; }
.tabs__panel.is-active{ display: block; }

/* ---- FAQ accordion ---- */
.faq-group{ margin-bottom: 8px; }
.faq-group__title{ font-family: var(--font-display); font-size: 1rem; color: var(--cyan); margin: 36px 0 14px; }
.faq-item{ border-bottom: 1px solid var(--border-soft); }
.faq-item__q{
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 4px; text-align: left; font-weight: 500; font-size: .98rem;
}
.faq-item__q svg{ flex-shrink: 0; width: 16px; height: 16px; transition: transform .15s ease; color: var(--text-faint); }
.faq-item.is-open .faq-item__q svg{ transform: rotate(45deg); color: var(--cyan); }
.faq-item__a{ max-height: 0; overflow: hidden; transition: max-height .2s ease; }
.faq-item.is-open .faq-item__a{ max-height: 400px; }
.faq-item__a p{ padding: 0 4px 18px; font-size: .92rem; max-width: 70ch; }
.faq-item__a ul{ padding: 0 4px 18px; display:flex; flex-direction:column; gap:6px; }
.faq-item__a li{ font-size:.9rem; color: var(--text-muted); padding-left: 16px; position:relative; }
.faq-item__a li::before{ content:"–"; position:absolute; left:0; color: var(--text-faint); }

/* ---- Callout / notice ---- */
.callout{
  display: flex; gap: 14px;
  background: var(--bg-card); border: 1px solid var(--border); border-left: 3px solid var(--cyan);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
}
.callout p{ font-size: .9rem; margin: 0; }
.callout--warn{ border-left-color: #F0B94D; }

/* ---- CTA band ---- */
.cta-band{
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
}

/* ---- Footer ---- */
.site-footer{ border-top: 1px solid var(--border-soft); padding-block: 64px 32px; }
.footer__top{ display: grid; gap: 40px; margin-bottom: 48px; }
@media (min-width: 780px){ .footer__top{ grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer__about p{ font-size: .88rem; margin: 14px 0 20px; }
.footer__social{ display: flex; gap: 10px; }
.footer__social a{ width: 36px; height: 36px; border: 1px solid var(--border); border-radius: 9px; display:flex; align-items:center; justify-content:center; }
.footer__heading{ font-family: var(--font-display); font-size: .82rem; font-weight: 600; letter-spacing: .04em; color: var(--text); margin-bottom: 16px; }
.footer__links{ display: flex; flex-direction: column; gap: 10px; }
.footer__links a{ font-size: .88rem; color: var(--text-muted); }
.footer__links a:hover{ color: var(--text); }
.footer__bottom{ display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; border-top: 1px solid var(--border-soft); font-size: .8rem; color: var(--text-faint); }

/* ---- Whatsapp floating button ---- */
.fab-whatsapp{
  position: fixed; right: 24px; bottom: 24px; z-index: 80;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--whatsapp);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px -8px rgba(37,211,102,0.6);
}
.fab-whatsapp svg{ width: 26px; height: 26px; }

/* ---- Breadcrumb ---- */
.breadcrumb{ display:flex; align-items:center; gap:8px; font-size:.82rem; color: var(--text-faint); margin-bottom: 20px; }
.breadcrumb a{ color: var(--text-faint); }
.breadcrumb a:hover{ color: var(--text-muted); }

/* ---- Page header (sub-pages) ---- */
.page-header{ padding-top: 56px; padding-bottom: 56px; }
.page-header p.lead{ font-size: 1.02rem; max-width: 68ch; }

/* ---- Utility ---- */
.text-center{ text-align: center; }
.mx-auto{ margin-inline: auto; }
.mt-0{ margin-top: 0; }
.section__head{ max-width: 640px; margin-bottom: 48px; }
.section__head.text-center{ margin-inline: auto; }
.divider{ height: 1px; background: var(--border-soft); border: none; margin-block: 8px; }

/* ---- Language toggle visibility ---- */
[data-en], [data-pt] { display: none; }
html[lang="en"] [data-en] { display: revert; }
html[lang="pt"] [data-pt] { display: revert; }
html[lang="en"] span[data-en], html[lang="pt"] span[data-pt] { display: inline; }
html[lang="en"] li[data-en], html[lang="pt"] li[data-pt] { display: list-item; }
