/* =========================================================
   AquaPress — Design System v0.1
   ========================================================= */

:root {
  /* ----- Cores ----- */
  --c-deep:       #0A2540;   /* navy institucional */
  --c-deep-2:     #11365C;   /* navy mais claro */
  --c-ink:        #1A2533;   /* texto forte */
  --c-text:       #3C4858;   /* texto corpo */
  --c-muted:      #6B7785;   /* texto auxiliar */
  --c-line:       #E1E6EC;   /* linhas/divisores */
  --c-bg:         #FFFFFF;
  --c-bg-soft:    #F4F7FB;   /* fundo de seção */
  --c-bg-deep:    #061B33;   /* fundo escuro */

  --c-aqua:       #4FB8E5;   /* azul-claro AquaPress (do logo atual) */
  --c-aqua-2:     #2E94C4;   /* hover / acento */
  --c-accent:     #00C2A8;   /* destaque suave (opcional) */

  /* ----- Tipografia ----- */
  --ff-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ff-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Escala fluida — clamp(mín, preferida, máx) */
  --fs-xs:   0.8125rem;
  --fs-sm:   0.9375rem;
  --fs-base: 1rem;
  --fs-md:   1.125rem;
  --fs-lg:   clamp(1.25rem, 1.1rem + 0.4vw, 1.5rem);
  --fs-xl:   clamp(1.5rem,  1.3rem + 0.8vw, 2rem);
  --fs-2xl:  clamp(2rem,    1.6rem + 1.4vw, 3rem);
  --fs-3xl:  clamp(2.5rem,  1.9rem + 2.4vw, 4.25rem);

  --lh-tight: 1.15;
  --lh-snug:  1.3;
  --lh-base:  1.55;

  /* ----- Espaçamento ----- */
  --s-1:  0.25rem;
  --s-2:  0.5rem;
  --s-3:  0.75rem;
  --s-4:  1rem;
  --s-5:  1.5rem;
  --s-6:  2rem;
  --s-7:  3rem;
  --s-8:  4rem;
  --s-9:  6rem;
  --s-10: 8rem;

  /* ----- Outros ----- */
  --radius:    8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(10, 37, 64, 0.06), 0 1px 3px rgba(10, 37, 64, 0.08);
  --shadow:    0 8px 24px rgba(10, 37, 64, 0.08), 0 2px 6px rgba(10, 37, 64, 0.06);
  --shadow-lg: 0 24px 60px rgba(10, 37, 64, 0.12);

  --maxw: 1180px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* =========================================================
   Reset enxuto
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4, h5, h6 {
  color: var(--c-ink);
  font-weight: 700;
  line-height: var(--lh-tight);
  margin: 0 0 var(--s-4);
  letter-spacing: -0.01em;
}
p { margin: 0 0 var(--s-4); }
.lead { font-size: var(--fs-md); color: var(--c-text); max-width: 60ch; }
small, .small { font-size: var(--fs-sm); color: var(--c-muted); }

/* =========================================================
   Utilitários
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 7vw, 5rem);
}
.section { padding: var(--s-9) 0; }
.section--soft { background: var(--c-bg-soft); }
.section--deep { background: var(--c-bg-deep); color: #D6E2EE; }
.section--deep h1, .section--deep h2, .section--deep h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--c-aqua-2);
  margin-bottom: var(--s-3);
}
.section--deep .eyebrow { color: var(--c-aqua); }

.title-xl { font-size: var(--fs-3xl); }
.title-lg { font-size: var(--fs-2xl); }
.title-md { font-size: var(--fs-xl); }
.title-sm { font-size: var(--fs-lg); }

.grid { display: grid; gap: var(--s-6); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

@media (min-width: 720px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* =========================================================
   Botões
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 0.85rem 1.4rem;
  font-weight: 600;
  font-size: var(--fs-sm);
  border-radius: var(--radius);
  transition: transform .15s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid var(--c-aqua); outline-offset: 2px; }
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: var(--c-deep);
  color: #fff;
}
.btn--primary:hover { background: var(--c-deep-2); box-shadow: var(--shadow); }
.btn--ghost {
  background: transparent;
  color: var(--c-deep);
  border-color: var(--c-line);
}
.btn--ghost:hover { border-color: var(--c-deep); }
.btn--aqua {
  background: var(--c-aqua);
  color: var(--c-deep);
}
.btn--aqua:hover { background: var(--c-aqua-2); color: #fff; }
.btn--on-dark {
  background: #fff;
  color: var(--c-deep);
}
.btn--on-dark:hover { background: var(--c-aqua); }

.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* =========================================================
   Navbar
   ========================================================= */
.topbar {
  background: var(--c-bg-deep);
  color: #B6C7DB;
  font-size: var(--fs-xs);
}
.topbar .container {
  display: flex;
  justify-content: flex-end;
  gap: var(--s-5);
  padding-block: 0.55rem;
}
.topbar a { color: inherit; opacity: 0.85; transition: opacity .15s; }
.topbar a:hover { opacity: 1; color: var(--c-aqua); }
.lang-switch { display: inline-flex; gap: var(--s-2); align-items: center; }
.lang-switch .active { color: #fff; font-weight: 600; }

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.9rem;
  gap: var(--s-6);
}
.nav__logo { display: inline-flex; align-items: center; gap: var(--s-3); }
.nav__logo img { height: 44px; width: auto; transition: opacity .15s; }
.nav__logo:hover img { opacity: 0.85; }
.nav__menu { display: none; gap: var(--s-6); align-items: center; }
.nav__menu a {
  color: var(--c-ink);
  font-weight: 500;
  font-size: var(--fs-sm);
  padding: 0.4rem 0;
  position: relative;
  transition: color .15s;
}
.nav__menu a:hover { color: var(--c-aqua-2); }
.nav__menu a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--c-aqua);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s var(--ease);
}
.nav__menu a:hover::after { transform: scaleX(1); }

.nav__actions { display: none; align-items: center; gap: var(--s-3); }

.nav__toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius);
}
.nav__toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--c-deep);
  transition: transform .2s, opacity .2s;
}
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 980px) {
  .nav__menu, .nav__actions { display: inline-flex; }
  .nav__toggle { display: none; }
}

/* Mobile menu drawer */
.nav__mobile {
  display: none;
  flex-direction: column;
  gap: var(--s-3);
  padding: var(--s-4) 0 var(--s-6);
  border-top: 1px solid var(--c-line);
}
.nav__mobile a { padding: 0.6rem 0; color: var(--c-ink); font-weight: 500; }
.nav.is-open .nav__mobile { display: flex; }
@media (min-width: 980px) { .nav.is-open .nav__mobile { display: none; } }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  background:
    radial-gradient(1200px 600px at 90% -10%, rgba(79, 184, 229, 0.18), transparent 60%),
    radial-gradient(800px 400px at 0% 100%, rgba(0, 194, 168, 0.10), transparent 60%),
    linear-gradient(180deg, #061B33 0%, #0A2540 100%);
  color: #DCE7F3;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(79, 184, 229, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 184, 229, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 40%, transparent 80%);
  pointer-events: none;
}
.hero__inner {
  display: grid;
  gap: var(--s-7);
  padding: var(--s-9) 0 var(--s-10);
  position: relative;
  z-index: 1;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 980px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: var(--s-8);
  }
}
.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__visual img {
  max-width: 100%;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.35));
}
.hero h1 {
  color: #fff;
  font-size: var(--fs-3xl);
  letter-spacing: -0.02em;
  max-width: 22ch;
}
.hero h1 em {
  font-style: normal;
  color: var(--c-aqua);
  background: linear-gradient(120deg, var(--c-aqua), var(--c-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p.lead { color: #B6C7DB; font-size: var(--fs-md); max-width: 60ch; }
.hero__actions { display: flex; gap: var(--s-3); flex-wrap: wrap; margin-top: var(--s-2); }

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-6);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.04);
  border-radius: 999px;
  font-size: var(--fs-xs);
  color: #DCE7F3;
}
.badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 0 4px rgba(0,194,168,0.18);
}

/* =========================================================
   Stats strip
   ========================================================= */
.stats {
  background: #fff;
  border-bottom: 1px solid var(--c-line);
}
.stats__inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-5);
  padding: var(--s-7) 0;
}
@media (min-width: 720px) { .stats__inner { grid-template-columns: repeat(4, 1fr); } }
.stat__num {
  font-family: var(--ff-mono);
  font-size: var(--fs-2xl);
  font-weight: 600;
  color: var(--c-deep);
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat__num small { font-size: 0.55em; color: var(--c-muted); margin-left: 0.2em; font-weight: 500; font-family: var(--ff-sans); }
.stat__label { font-size: var(--fs-sm); color: var(--c-muted); margin-top: var(--s-2); }

/* =========================================================
   Cards
   ========================================================= */
.card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: var(--s-6);
  transition: transform .2s var(--ease), border-color .2s, box-shadow .2s;
  height: 100%;
}
.card:hover {
  border-color: var(--c-aqua);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.card__icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: rgba(79, 184, 229, 0.12);
  color: var(--c-aqua-2);
  border-radius: var(--radius);
  margin-bottom: var(--s-4);
}
.card__title { font-size: var(--fs-lg); margin-bottom: var(--s-2); }
.card__text { font-size: var(--fs-sm); color: var(--c-text); margin: 0; }

.card--dark {
  background: #0E2D4D;
  border-color: #143A60;
  color: #DCE7F3;
}
.card--dark .card__title { color: #fff; }
.card--dark .card__text { color: #DCE7F3; }
.card--dark .eyebrow { color: var(--c-aqua); opacity: 0.95; }
.card--dark:hover { border-color: var(--c-aqua); }

/* =========================================================
   Componente product (ecossistema AquaPress)
   ========================================================= */
.products {
  display: grid;
  gap: var(--s-5);
}
.product {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
  padding: var(--s-6);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  background: #fff;
  align-items: start;
}
@media (min-width: 720px) {
  .product { grid-template-columns: 80px 1fr auto; align-items: center; }
}
.product__num {
  font-family: var(--ff-mono);
  font-size: var(--fs-xl);
  color: var(--c-aqua-2);
  font-weight: 600;
}
.product__title { font-size: var(--fs-lg); margin-bottom: var(--s-2); }
.product__text { font-size: var(--fs-sm); color: var(--c-text); margin: 0; max-width: 64ch; }
.product__cta {
  font-size: var(--fs-sm);
  color: var(--c-deep);
  font-weight: 600;
  display: inline-flex;
  gap: var(--s-2);
  align-items: center;
}
.product__cta:hover { color: var(--c-aqua-2); }

/* =========================================================
   Logos faixa parceiros
   ========================================================= */
.partners {
  background: var(--c-bg-soft);
  border-block: 1px solid var(--c-line);
}
.partners__inner {
  padding: var(--s-6) 0;
  display: grid;
  gap: var(--s-4);
}
.partners__label {
  text-align: center;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--c-muted);
}
.partners__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4);
  align-items: center;
  justify-items: center;
}
@media (min-width: 720px) { .partners__grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 980px) { .partners__grid { grid-template-columns: repeat(7, 1fr); } }
.partner {
  height: 48px;
  display: grid; place-items: center;
  padding: var(--s-2) var(--s-3);
  color: var(--c-muted);
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  filter: grayscale(1) opacity(0.7);
  transition: filter .2s;
  text-align: center;
}
.partner:hover { filter: none; }

/* =========================================================
   Equipe
   ========================================================= */
.team {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .team { grid-template-columns: repeat(5, 1fr); } }
.member {
  text-align: center;
}
.member__photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #E7F1FA, #F4F7FB);
  display: grid; place-items: center;
  color: var(--c-aqua-2);
  font-family: var(--ff-mono);
  font-size: var(--fs-2xl);
  font-weight: 600;
  margin-bottom: var(--s-4);
  overflow: hidden;
}
.member__name { font-size: var(--fs-md); margin-bottom: var(--s-1); color: var(--c-ink); font-weight: 600; }
.member__role { font-size: var(--fs-sm); color: var(--c-muted); margin: 0; }

/* =========================================================
   CTA strip
   ========================================================= */
.cta-strip {
  background:
    radial-gradient(800px 300px at 80% 50%, rgba(79, 184, 229, 0.25), transparent 60%),
    linear-gradient(135deg, var(--c-deep) 0%, var(--c-deep-2) 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: var(--s-7);
  display: grid;
  gap: var(--s-5);
  align-items: center;
}
@media (min-width: 820px) {
  .cta-strip { grid-template-columns: 1fr auto; }
}
.cta-strip h2 { color: #fff; margin: 0 0 var(--s-2); font-size: var(--fs-xl); max-width: 30ch; }
.cta-strip p { margin: 0; color: #B6C7DB; max-width: 50ch; }

/* =========================================================
   Insights cards
   ========================================================= */
.insight {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .2s var(--ease), border-color .2s, box-shadow .2s;
}
.insight:hover { border-color: var(--c-aqua); transform: translateY(-3px); box-shadow: var(--shadow); }
.insight__cover {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--c-deep) 0%, var(--c-aqua-2) 100%);
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}
/* Variações por categoria — diferenciam visualmente o tipo da notícia */
.insight__cover--press    { background: linear-gradient(135deg, #11365C 0%, #2E94C4 100%); }
.insight__cover--author   { background: linear-gradient(135deg, #0A2540 0%, #00C2A8 130%); }
.insight__cover--official { background: linear-gradient(135deg, #061B33 0%, #1A3F66 100%); }

/* Tags coloridas */
.insight__tag--press    { color: #2E94C4; }
.insight__tag--author   { color: #00C2A8; }
.insight__tag--official { color: #9DB1C7; }
.insight__cover::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 30% 40%, rgba(255,255,255,0.18), transparent 40%),
    radial-gradient(circle at 70% 70%, rgba(0, 194, 168, 0.25), transparent 50%);
  pointer-events: none;
}
.insight__icon {
  position: relative;
  z-index: 1;
  width: 72px;
  height: 72px;
  color: rgba(255, 255, 255, 0.92);
  transition: transform .35s var(--ease);
}
.insight:hover .insight__icon { transform: scale(1.08); }
.insight__body { padding: var(--s-5); }
.insight__tag {
  display: inline-block;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--c-aqua-2);
  margin-bottom: var(--s-3);
  font-family: var(--ff-mono);
}
.insight__title { font-size: var(--fs-md); color: var(--c-ink); }
.insight__date { font-size: var(--fs-xs); color: var(--c-muted); }

/* =========================================================
   Form
   ========================================================= */
.form {
  display: grid;
  gap: var(--s-4);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: var(--s-6);
}
.form__row {
  display: grid;
  gap: var(--s-4);
}
@media (min-width: 720px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: var(--fs-sm); color: var(--c-ink); font-weight: 600; }
.field input, .field textarea, .field select {
  font-family: inherit;
  font-size: var(--fs-base);
  color: var(--c-ink);
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 0.75rem 0.9rem;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--c-aqua);
  box-shadow: 0 0 0 3px rgba(79,184,229,0.18);
}
.field textarea { min-height: 140px; resize: vertical; }

/* =========================================================
   Footer
   ========================================================= */
.footer {
  background: var(--c-bg-deep);
  color: #9DB1C7;
  padding-block: var(--s-8) var(--s-5);
}
.footer__grid {
  display: grid;
  gap: var(--s-7);
  grid-template-columns: 1fr;
  margin-bottom: var(--s-7);
}
@media (min-width: 720px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer h4 { color: #fff; font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.12em; }
.footer a { color: #B6C7DB; font-size: var(--fs-sm); display: inline-block; padding: 0.25rem 0; transition: color .15s; }
.footer a:hover { color: var(--c-aqua); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer__brand p { color: #9DB1C7; max-width: 38ch; font-size: var(--fs-sm); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  justify-content: space-between;
  align-items: flex-start;
  font-size: var(--fs-xs);
  color: #7B8FA6;
}
@media (min-width: 720px) { .footer__bottom { flex-direction: row; align-items: center; } }

/* =========================================================
   Animação suave on scroll
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   Logo options preview (página interna p/ Lara)
   ========================================================= */
.logo-row {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: 1fr;
}
@media (min-width: 820px) { .logo-row { grid-template-columns: repeat(3, 1fr); } }
.logo-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: var(--s-6);
  display: flex; flex-direction: column;
  gap: var(--s-4);
  align-items: center;
  text-align: center;
}
.logo-card__pad { padding: var(--s-5) var(--s-3); width: 100%; display: grid; place-items: center; min-height: 140px; }
.logo-card__pad--dark { background: var(--c-deep); border-radius: var(--radius); }
