 :root{
  /* Base Ogilvy-like */
  --bg: #0c1219; /* azul petróleo profundo */
  --panel: #121a24;
  --slate: #223041;

  /* Texto */
  --text: #f2f4f7; /* off-white real */
  --muted: #c7cdd6;

  /* Marca DH Nexus */
  --accent: #6ee7ff; /* ciano */
  --accent2: #a78bfa;

  /* Acento cognitivo */
  --copper: #f2a37c;

  --line: rgba(255,255,255, 0.1);
  --shadow: 0 20px 50px rgba(0,0,0, 0.45);
  --radius: 18px;

  --max: 1180px;
  --pad: clamp(18px, 4vw, 32px);
  --h1: clamp(48px, 7vw, 82px);
  --h2: clamp(26px, 3.5vw, 38px);
  --p: clamp(17px, 1.6vw, 19px);
}
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Helvetica Neue", sans-serif;
  background:
    linear-gradient(180deg, rgba(12,18,25, 0.92), rgba(12,18,25, 0.98)),
    radial-gradient(1200px 600px at 20% 0%, rgba(110,231,255, 0.1), transparent 60%),
    radial-gradient(1000px 500px at 80% 10%, rgba(242,163,124, 0.1), transparent 60%);
  color: var(--text);
  line-height: 1.55;
}

a {
  color: inherit;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11,12,16, 0.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.topbar .wrap {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.pill {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(233,236,241, 0.75);
  font-size: 13px;
  white-space: nowrap;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 320px;
}

.brandstack {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: flex-start;
}


/* Logo — presença elegante (inspirado em heros minimalistas) */
.logo-img {
  height: 44px;
  width: auto;
  display: block;
}

@media (max-width: 920px) {
  .logo-img {
    height: 40px;
  }
}

/* HERO OGILVY-LIKE (limpo, tipografia e respiro) */
.hero-ogilvy {
  padding: clamp(40px, 6vw, 92px) 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(18px, 3vw, 40px);
  align-items: center;
}

.hero-copy h1 {
  margin: 0 0 14px 0;
  letter-spacing: -0.9px;
  line-height: 1.02;
}

.hero-copy p {
  margin: 0 0 18px 0;
  max-width: 62ch;
}

.hero-bullets {
  margin: 18px 0 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.hero-bullets li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 16px;
}

.hero-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px; height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--copper));
  box-shadow: 0 0 0 6px rgba(242,163,124, 0.06);
}

.micro-inline {
  margin-top: 0;
  opacity: 0.9;
}

/* Ajuste do card do hero: agora o hero não usa card */
.hero .card {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

/* Foto do hero com borda mais sutil */
.photo-hero {
  min-height: 520px;
  background: linear-gradient(135deg, rgba(34,48,65, 0.35), rgba(167,139,250, 0.1));
}

.photo-hero {
  border-color: rgba(255,255,255, 0.12);
}

.logo-img {
  height: 58px; /* ~altura do botão */
  width: auto;
  max-width: 100%;
  display: block;
}

.btn {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255, 0.16);
  text-decoration: none;
  font-weight: 650;
  box-shadow: 0 10px 18px rgba(0,0,0, 0.2);
  transition: transform .15s ease, box-shadow .15s ease;
}

.btn.primary {
  background: linear-gradient(135deg, rgba(110,231,255, 0.22), rgba(167,139,250, 0.22));
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0px);
}

.top-cta {
  background: linear-gradient(135deg, rgba(110,231,255, 0.4), rgba(167,139,250, 0.38));
  border: 1px solid rgba(255,255,255, 0.22);
  box-shadow: 0 12px 26px rgba(0,0,0, 0.35), 0 0 0 6px rgba(110,231,255, 0.06);
}

.top-cta:hover {
  box-shadow: 0 14px 30px rgba(0,0,0, 0.4), 0 0 0 8px rgba(167,139,250, 0.07);
}

.hero {
  padding: clamp(34px, 5vw, 68px) 0;
}

.grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(18px, 3vw, 34px);
  align-items: stretch;
}

.card {
  background: rgba(18,20,26, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(16px, 2.6vw, 26px);
  box-shadow: var(--shadow);
}

.hero h1 {
  font-size: var(--h1);
  margin: 0 0 10px 0;
  letter-spacing: -0.6px;
  line-height: 1.05;
}

.hero p {
  font-size: var(--p);
  color: var(--muted);
  margin: 0 0 16px 0;
}

.list {
  margin: 16px 0 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.list li {
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255, 0.02);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  margin-top: 8px;
  flex: 0 0 auto;
}

.ctarow {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 18px;
}

.micro {
  color: var(--muted);
  font-size: 13px;
  margin-top: 10px;
}

.photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(110,231,255, 0.1), rgba(167,139,250, 0.1));
  min-height: 420px;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.92;
}

.badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(11,12,16, 0.6);
  border: 1px solid var(--line);
  padding: 10px 12px;
  border-radius: 14px;
  backdrop-filter: blur(10px);
  max-width: 90%;
}

.badge strong {
  display: block;
}

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

.section {
  padding: clamp(28px, 4.2vw, 54px) 0;
}

.section h2 {
  font-size: var(--h2);
  margin: 0 0 12px 0;
  letter-spacing: -0.3px;
}

.section p {
  color: var(--muted);
  font-size: var(--p);
  margin: 0 0 12px 0;
}

.cards3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.hr {
  height: 1px;
  background: var(--line);
  margin: 22px 0;
}

.quote {
  font-size: clamp(18px, 2vw, 22px);
  color: var(--text);
  border-left: 3px solid rgba(110,231,255, 0.55);
  padding-left: 14px;
  margin-top: 12px;
}

.form {
  display: grid;
  gap: 12px;
}

.row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 6px;
}

input,
textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255, 0.14);
  background: rgba(255,255,255, 0.03);
  color: var(--text);
  outline: none;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.footer {
  padding: 36px 0 46px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer .wrap {
  display: flex;
  gap: 14px;
  justify-content: space-between;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .cards3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .pill {
    display: none;
  }

  .brand {
    min-width: unset;
  }

  .logo-img {
    height: 52px;
  }
}

@media (max-width: 760px) {
  .row2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .photo-hero {
    min-height: 420px;
  }
}


/* OGILVY-LIKE HERO MOTION */
.hero-ogilvy {
  position: relative;
  overflow: hidden;
}

.hero-ogilvy::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
    transparent 0%,
    rgba(255,255,255, 0.06) 50%,
    transparent 100%);
  transform: translateX(-100%);
  animation: sweep 1.6s ease-out forwards;
}

@keyframes sweep {
  to {
    transform: translateX(100%);
  }
}

.hero-copy {
  animation: fadeUp .9s ease-out .2s both;
}

.hero-media {
  animation: fadeUp .9s ease-out .4s both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Typography dominance like Ogilvy */
.hero-copy h1 {
  font-weight: 800;
  letter-spacing: -1.2px;
}

/* Copper accents (subtle, cognitive) */
.hero-bullets li::before {
  background: linear-gradient(135deg, var(--accent), var(--copper));
  box-shadow: 0 0 0 8px rgba(242,163,124, 0.05);
}


/* Off-white contrast sections */
.section:nth-of-type(even) {
  background: linear-gradient(180deg, #f7f8fa, #eef1f4);
  color: #0c1219;
}

.section:nth-of-type(even) h2,
.section:nth-of-type(even) p,
.section:nth-of-type(even) .quote {
  color: #0c1219;
}

.section:nth-of-type(even) .card {
  background: rgba(255,255,255, 0.88);
  border: 1px solid rgba(0,0,0, 0.08);
  box-shadow: 0 18px 40px rgba(0,0,0, 0.12);
}


/* ===== NEXT LEVEL REFINO ===== */

/* Header mais silencioso */
.topbar {
  background: rgba(12,18,25, 0.62);
  border-bottom: 1px solid rgba(255,255,255, 0.08);
}

.pill {
  border: 1px solid rgba(255,255,255, 0.1);
  color: rgba(242,244,247, 0.62);
  background: rgba(255,255,255, 0.02);
}

/* Topbar reveal (Ogilvy-like) */
.topbar-reveal {
  animation: topReveal .55s ease-out both;
}

@keyframes topReveal {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Logo entrance */
.logo-anim {
  opacity: 0;
  transform: translateY(6px);
  animation: logoIn .7s ease-out .15s both;
}

@keyframes logoIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* CTA mais “luxo” (menos bloco, mais botão) */
.top-cta {
  padding: 12px 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(110,231,255, 0.32), rgba(167,139,250, 0.28));
  box-shadow: 0 16px 36px rgba(0,0,0, 0.42), 0 0 0 6px rgba(110,231,255, 0.05);
}

/* Hero: bullets mais editoriais */
.hero-bullets li {
  font-size: 16px;
  letter-spacing: 0.1px;
}

/* Cobre ainda mais controlado (só no primeiro impacto) */
.hero-ogilvy::before {
  background: linear-gradient(120deg,
    transparent 0%,
    rgba(242,163,124, 0.1) 45%,
    rgba(255,255,255, 0.05) 55%,
    transparent 100%);
}

/* Seções off-white: dar “margem” Ogilvy, menos sombra */
.section:nth-of-type(even) .card {
  box-shadow: 0 14px 28px rgba(0,0,0, 0.1);
}

/* Mobile: esconder pill cedo para manter silêncio */
@media (max-width: 1100px) {
  .pill {
    display: none;
  }
}


/* ULTRA OGILVY MODE */
.topbar {
  background: transparent;
  border-bottom: none;
}

.ultra-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 14px;
}

.ultra-nav a {
  color: rgba(242,244,247, 0.72);
  text-decoration: none;
}

.ultra-nav a:hover {
  color: #fff;
}

.nav-cta {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255, 0.18);
}

.hero-ogilvy {
  padding-top: clamp(90px, 14vw, 180px);
}

.hero-copy h1 {
  font-weight: 900;
  letter-spacing: -1.5px;
}

.card {
  background: transparent;
  box-shadow: none;
  border: none;
}


/* ===== ULTRA OGILVY – LOGO ONLY HERO ===== */

/* Header stripped down */
.topbar {
  background: transparent;
  border: none;
}

.wrap-logo-only {
  justify-content: center;
}

/* Logo centered and dominant */
.logo-img {
  height: 64px;
}

/* Ogilvy-inspired logo entrance */
.logo-anim {
  opacity: 0;
  transform: translateY(14px) scale(0.96);
  animation: ogilvyLogoIn 1.1s cubic-bezier(.22,.61,.36,1) .2s forwards;
}

@keyframes ogilvyLogoIn {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.96);
  }
  60% {
    opacity: 1;
    transform: translateY(-2px) scale(1.01);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Hero spacing adjusted */
.hero-ogilvy {
  padding-top: clamp(110px, 16vw, 220px);
}

@media (max-width: 920px) {
  .logo-img {
    height: 52px;
  }
}


/* ===== SCROLL LOGO REVEAL (dominant logo -> landing) ===== */
.intro-logo {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 60;
  background: transparent;
  transition: opacity .25s ease-out;
}

.intro-logo-img {
  height: min(48vh, 520px); /* Ogilvy-like dominance */
  width: auto;
  transform-origin: center center;
  filter: drop-shadow(0 40px 90px rgba(0,0,0, 0.55));
  will-change: transform, opacity;
}

/* After settling, keep it ultra-light */
.intro-done {
  opacity: 0.65;
}

/* Page reveal */
.page {
  will-change: transform, opacity;
  transition: opacity .25s ease-out, transform .25s ease-out;
}

/* When fully visible, stop transitions */
.page-visible {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) !important;
}

/* Give the user enough scroll runway for the animation */
.hero-ogilvy {
  padding-top: clamp(140px, 20vw, 260px);
}

/* Mobile tuning */
@media (max-width: 920px) {
  .intro-logo-img {
    height: 56px;
  }
}


/* Header stays invisible during intro */
.topbar {
  opacity: 0;
  transition: opacity .35s ease-out;
}

.intro-done ~ .page .topbar,
.page-visible .topbar {
  opacity: 1;
}


/* Texto só aparece após a logo assentar */
.page {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
}

.page-visible {
  opacity: 1 !important;
  transform: translate3d(0, 0, 0) !important;
  transition: opacity .55s ease-out, transform .55s ease-out;
}
