:root {
  --bg: #0b1a2e;
  --panel: #14253d;
  --panel-2: #1a3352;
  --text: #f4f7fb;
  --muted: #93a7bd;
  --accent: #ff9142;
  --accent-2: #2ce0f0;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  background: linear-gradient(135deg, var(--bg), #13253d);
  color: var(--text);
  line-height: 1.6;
}
h1, h2, h3, h4, .btn, button {
  font-family: 'Montserrat', Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }
header {
  background: rgba(15, 29, 47, 0.95);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
nav {
  max-width: 1200px; margin: 0 auto; padding: 1rem 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
}
.nav-links a { margin-left: 1rem; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.hero {
  max-width: 1200px; margin: 0 auto; padding: 4rem 1.5rem 3rem;
  display: grid; gap: 2rem; grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
}
.hero-card, .panel {
  background: var(--panel);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1rem;
  padding: 1.5rem;
}
#authNotice {
  margin-top: 1rem;
}
.btn {
  display: inline-block; margin-top: 1rem; padding: 0.8rem 1.2rem;
  border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: white; font-weight: bold;
}
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 1rem; }
.card { background: var(--panel-2); padding: 1rem; border-radius: 1rem; }
.card { overflow: hidden; }
.card .item { width: 100%; box-sizing: border-box; min-width: 0; }
.card .item strong { word-break: break-word; }
.section { max-width: 1200px; margin: 0 auto; padding: 1.5rem; }

/* ===== ARTE OFICIAL DA HERO AM CONNECT ===== */
.home-hero {
  max-width: 1200px;
  min-height: 620px;
  margin: 1.5rem auto;
  padding: 3rem;
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;

  background:
    linear-gradient(
      90deg,
      rgba(7, 17, 31, 0.94) 0%,
      rgba(7, 17, 31, 0.72) 42%,
      rgba(7, 17, 31, 0.28) 100%
    ),
    url('/images/mano-cloff.png') center center / cover no-repeat;

  border: 1px solid rgba(255,255,255,0.10);
}

.home-hero .hero-card {
  position: relative;
  z-index: 2;
  max-width: 650px;
  background: rgba(15, 29, 47, 0.82);
  backdrop-filter: blur(4px);
}

.home-hero > .panel {
  position: relative;
  z-index: 2;
  background: rgba(15, 29, 47, 0.88);
}

@media (max-width: 800px) {
  .home-hero {
    min-height: auto;
    margin: 0.75rem;
    padding: 1rem;
    width: auto;
    box-sizing: border-box;
    grid-template-columns: 1fr;
  }

  .home-hero .hero-card,
  .home-hero > .panel {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 1.15rem;
    min-width: 0;
  }

  .home-hero h1,
  .home-hero p {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .home-hero h1 {
    font-size: clamp(1.7rem, 8vw, 2.4rem);
    line-height: 1.12;
  }

  .home-hero p {
    font-size: 0.98rem;
    line-height: 1.6;
  }
}

/* ===== IDENTIDADE VISUAL GLOBAL AM CONNECT ===== */

.page-banner {
  max-width: 1200px;
  min-height: 180px;
  margin: 1.5rem auto 0;
  padding: 2rem;
  border-radius: 1.25rem;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      90deg,
      rgba(7, 17, 31, 0.94),
      rgba(7, 17, 31, 0.52),
      rgba(7, 17, 31, 0.25)
    ),
    url('/images/mano-cloff.png') center center / cover no-repeat;
  border: 1px solid rgba(255,255,255,0.10);
}

.page-banner-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.page-banner h1 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.page-banner p {
  margin: .5rem 0 0;
  color: var(--muted);
}

@media (max-width: 700px) {
  .page-banner {
    min-height: 150px;
    margin: 1rem 0 0;
    padding: 1.25rem;
  }
}

/* ===== CAPA DO PERFIL PROFISSIONAL ===== */

.profile-cover {
  min-height: 230px;
  margin-bottom: 1rem;
  padding: 2rem;
  border-radius: 1.25rem;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      90deg,
      rgba(7, 17, 31, 0.92),
      rgba(7, 17, 31, 0.45),
      rgba(7, 17, 31, 0.18)
    ),
    url('/images/mano-cloff.png') center center / cover no-repeat;
  border: 1px solid rgba(255,255,255,0.10);
}

.profile-cover-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.profile-cover-content h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
}

.profile-cover-content p {
  margin: .5rem 0 0;
  color: var(--muted);
}

@media (max-width: 700px) {
  .profile-cover {
    min-height: 190px;
    padding: 1.25rem;
  }
}

/* ===== CAPA DA AUTENTICAÇÃO ===== */

.auth-cover {
  min-height: 190px;
  margin: -1.5rem -1.5rem 1.5rem;
  padding: 1.5rem;
  border-radius: 1rem 1rem 0 0;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      90deg,
      rgba(7, 17, 31, 0.92),
      rgba(7, 17, 31, 0.42),
      rgba(7, 17, 31, 0.18)
    ),
    url('/images/mano-cloff.png') center center / cover no-repeat;
}

.auth-cover-content {
  position: relative;
  z-index: 1;
}

.auth-cover-content h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3rem);
}

.auth-cover-content p {
  margin: .35rem 0 0;
  color: var(--muted);
}

@media (max-width: 700px) {
  .auth-cover {
    min-height: 160px;
  }
}

/* =========================================================
   AM CONNECT — HERO OFICIAL
   Estrutura visual antes da imagem de fundo
   ========================================================= */

.home-hero {
  max-width: 1200px;
  min-height: 620px;
  margin: 1.5rem auto;
  padding: 4rem;
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;

  background: #07111F;

  border: 1px solid rgba(34, 211, 238, 0.18);
}

/* Conteúdo principal */

.home-hero .hero-card {
  position: relative;
  z-index: 2;
  max-width: 650px;

  background: transparent;
  backdrop-filter: none;
}

/* Identificação */

.home-hero .hero-kicker {
  margin-bottom: 1.25rem;

  color: #22D3EE;

  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18rem;
  text-transform: uppercase;
}

/* Título */

.home-hero h1 {
  margin: 0 0 1.5rem;

  color: #F4F7FB;

  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

/* Destaque laranja */

.home-hero h1 span {
  color: #FF7A18;
}

/* Descrição */

.home-hero .hero-description {
  max-width: 620px;

  margin-bottom: 2rem;

  color: #D5DFEA;

  font-size: 1.08rem;
  line-height: 1.7;
}

/* Botões */

.home-hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.home-hero .hero-btn-primary {
  background: #FF7A18;
  color: #07111F;

  border: 1px solid #FF7A18;

  font-weight: 800;
}

.home-hero .hero-btn-secondary {
  background: transparent;
  color: #F4F7FB;

  border: 1px solid #22D3EE;
}

/* Área visual */

.home-hero .hero-visual {
  position: relative;
  z-index: 2;

  width: 330px;

  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Cartões */

.home-hero .hero-feature {
  padding: 1.25rem 1.4rem;

  background: rgba(15, 29, 47, 0.92);

  border: 1px solid rgba(34, 211, 238, 0.22);
  border-radius: 1rem;

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.22);
}

.home-hero .hero-feature strong {
  display: block;

  margin-bottom: 0.35rem;

  color: #FF7A18;

  font-size: 0.85rem;
  letter-spacing: 0.12rem;
}

.home-hero .hero-feature span {
  color: #D5DFEA;

  font-size: 0.95rem;
}

/* Responsivo */

@media (max-width: 800px) {

  .home-hero {
    min-height: auto;
    padding: 2rem 1.25rem;

    flex-direction: column;
    align-items: stretch;
  }

  .home-hero h1 {
    font-size: 2.7rem;
  }

  .home-hero .hero-visual {
    width: 100%;
  }

  .home-hero .hero-actions {
    flex-direction: column;
  }

  .home-hero .hero-actions .btn {
    width: 100%;
    text-align: center;
  }
}


/* =========================================================
   AM CONNECT — REFINAMENTO DA HERO
   Tipografia, hierarquia, contraste e espaçamento
   ========================================================= */

.home-hero {
  min-height: 640px;
  padding: 5rem 5.5rem;
  gap: 4.5rem;

  background: #07111F;
}

.home-hero .hero-card {
  max-width: 690px;
}

/* Kicker */

.home-hero .hero-kicker {
  margin: 0 0 1.5rem;

  color: #22D3EE;

  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22rem;
  line-height: 1.4;
}

/* Título principal */

.home-hero h1 {
  max-width: 680px;

  margin: 0 0 1.75rem;

  color: #F4F7FB;

  font-size: clamp(3rem, 5.2vw, 5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.home-hero h1 span {
  display: block;

  color: #FF7A18;
}

/* Descrição */

.home-hero .hero-description {
  max-width: 610px;

  margin: 0 0 2.25rem;

  color: #D5DFEA;

  font-size: 1.08rem;
  line-height: 1.75;
}

/* Área dos botões */

.home-hero .hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* Botão principal */

.home-hero .hero-btn-primary {
  min-height: 52px;
  padding: 0.85rem 1.5rem;

  background: #FF7A18;
  color: #07111F;

  border: 1px solid #FF7A18;
  border-radius: 0.7rem;

  font-weight: 800;
  letter-spacing: 0.01rem;

  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-hero .hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 122, 24, 0.22);
}

/* Botão secundário */

.home-hero .hero-btn-secondary {
  min-height: 52px;
  padding: 0.85rem 1.5rem;

  background: transparent;
  color: #F4F7FB;

  border: 1px solid #22D3EE;
  border-radius: 0.7rem;

  font-weight: 700;

  transition: background 0.2s ease, color 0.2s ease;
}

.home-hero .hero-btn-secondary:hover {
  background: #22D3EE;
  color: #07111F;
}

/* Painel visual */

.home-hero .hero-visual {
  width: 350px;
  flex-shrink: 0;

  gap: 1.15rem;
}

/* Cards */

.home-hero .hero-feature {
  padding: 1.35rem 1.5rem;

  background: rgba(15, 29, 47, 0.94);

  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: 0.9rem;

  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
}

.home-hero .hero-feature strong {
  margin-bottom: 0.45rem;

  color: #FF7A18;

  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15rem;
}

.home-hero .hero-feature span {
  color: #D5DFEA;

  font-size: 0.95rem;
  line-height: 1.5;
}

/* Mobile */

@media (max-width: 900px) {

  .home-hero {
    min-height: auto;
    padding: 3rem 2rem;

    flex-direction: column;
    align-items: stretch;
  }

  .home-hero .hero-card {
    max-width: none;
  }

  .home-hero h1 {
    font-size: clamp(2.6rem, 9vw, 4rem);
  }

  .home-hero .hero-visual {
    width: 100%;
  }

}


/* ===== AM CONNECT — HERO FINAL ===== */
.home-hero {
  background:
    linear-gradient(
      90deg,
      rgba(7, 17, 31, 0.94) 0%,
      rgba(7, 17, 31, 0.72) 42%,
      rgba(7, 17, 31, 0.28) 100%
    ),
    url('/images/mano-cloff.png') center center / cover no-repeat !important;
}

/* ===== AJUSTE DE ENQUADRAMENTO — MANO CLOFF ===== */
.home-hero {
  background-size: 100% auto !important;
  background-position: center center !important;
}

/* ===== AM CONNECT — HERO / MANO CLOFF — ENQUADRAMENTO FINAL ===== */
.home-hero {
  background-size: 115% auto !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

/* =========================================================
   AM CONNECT — SEPARAÇÃO DE IMAGENS
   ========================================================= */

/* Página inicial */
.home-hero {
  background:
    linear-gradient(
      90deg,
      rgba(7, 17, 31, 0.94) 0%,
      rgba(7, 17, 31, 0.72) 42%,
      rgba(7, 17, 31, 0.28) 100%
    ),
    url('/images/mano-cloff.png') center center / cover no-repeat !important;
}

/* Páginas internas */
.page-banner {
  background:
    linear-gradient(
      90deg,
      rgba(7, 17, 31, 0.94),
      rgba(7, 17, 31, 0.52),
      rgba(7, 17, 31, 0.25)
    ),
    url('/images/amconnect-platform.png') center center / cover no-repeat !important;
}

/* Capa do perfil */
.profile-cover {
  background:
    linear-gradient(
      90deg,
      rgba(7, 17, 31, 0.92),
      rgba(7, 17, 31, 0.45),
      rgba(7, 17, 31, 0.18)
    ),
    url('/images/amconnect-platform.png') center center / cover no-repeat !important;
}

/* =========================================================
   AM CONNECT — LOGOTIPO NAS PÁGINAS PERFIL E ENTRAR
   ========================================================= */

/* Página Perfil */
.profile-page .page-banner {
  background:
    linear-gradient(
      90deg,
      rgba(7, 17, 31, 0.96),
      rgba(7, 17, 31, 0.88)
    ),
    url('/images/logo-amconnect.png') center center / 360px auto no-repeat !important;
}

/* Página Entrar */
.auth-cover {
  background:
    linear-gradient(
      90deg,
      rgba(7, 17, 31, 0.96),
      rgba(7, 17, 31, 0.88)
    ),
    url('/images/logo-amconnect.png') center center / 360px auto no-repeat !important;
}


/* ===== AM CONNECT — BRILHO ELEGANTE NA IMAGEM DA CAPA ===== */

.auth-cover {
  position: relative;
  overflow: hidden;
}

.auth-cover::after {
  content: "";
  position: absolute;
  inset: -15%;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 72% 42%,
      rgba(255, 255, 255, 0.18) 0%,
      rgba(255, 255, 255, 0.09) 18%,
      rgba(255, 255, 255, 0.03) 35%,
      transparent 58%
    );
  opacity: 0.9;
  mix-blend-mode: screen;
}


/* =========================================================
   AM CONNECT — LOGOTIPO COM DESTAQUE E BRILHO
   Perfil + Entrar
   ========================================================= */

.profile-page .page-banner {
  background-size: 500px auto !important;
  background-position: center center !important;
}

.auth-cover {
  background-size: 500px auto !important;
  background-position: center center !important;
}

/* Brilho visual sobre o logotipo */
.profile-page .page-banner,
.auth-cover {
  position: relative;
}

.profile-page .page-banner::after,
.auth-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background:
    radial-gradient(
      ellipse at center,
      rgba(255,255,255,0.10) 0%,
      rgba(255,255,255,0.04) 28%,
      transparent 60%
    );

  mix-blend-mode: screen;
}

/* Mantém o conteúdo acima do brilho */
.profile-page .page-banner-content,
.auth-cover-content {
  position: relative;
  z-index: 2;
}


/* =========================================================
   AM CONNECT — LOGOTIPO VISÍVEL E COM BRILHO
   ========================================================= */

.auth-cover {
  position: relative !important;
  min-height: 300px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  background:
    linear-gradient(
      90deg,
      rgba(7, 17, 31, 0.55),
      rgba(7, 17, 31, 0.20),
      rgba(7, 17, 31, 0.55)
    ),
    url('/images/logo-amconnect.png') center center / 520px auto no-repeat !important;

  overflow: hidden !important;
}

/* brilho suave atrás do logotipo */
.auth-cover::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      ellipse at center,
      rgba(255,255,255,0.16) 0%,
      rgba(255,255,255,0.06) 28%,
      transparent 60%
    );

  pointer-events: none;
}

/* garante que a área do logotipo fique acima do brilho */
.auth-cover-content {
  position: relative !important;
  z-index: 2 !important;
}

/* Mobile */
@media (max-width: 700px) {
  .auth-cover {
    min-height: 220px !important;
    background-size: 360px auto !important;
  }
}


/* =========================================================
   AM CONNECT — LOGOTIPO DE ENTRADA
   VISIBILIDADE + ALTA PRESENÇA + BRILHO
   ========================================================= */

.auth-cover {
  position: relative !important;
  overflow: hidden !important;

  background:
    radial-gradient(
      circle at center,
      rgba(255,255,255,0.10) 0%,
      rgba(255,255,255,0.04) 32%,
      rgba(7,17,31,0.25) 65%,
      rgba(7,17,31,0.55) 100%
    ),
    url('/images/logo-amconnect.png') center center / 700px auto no-repeat !important;

  min-height: 300px !important;
}

/* brilho suave atrás do logotipo */
.auth-cover::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      ellipse at center,
      rgba(255,255,255,0.16) 0%,
      rgba(255,255,255,0.07) 28%,
      transparent 65%
    );

  pointer-events: none;
}

/* acabamento luminoso */
.auth-cover::after {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(7,17,31,0.18),
      transparent 35%,
      transparent 65%,
      rgba(7,17,31,0.18)
    );

  pointer-events: none;
}

/* garante que o conteúdo textual removido não volte a aparecer */
.auth-cover-content {
  display: none !important;
}

/* =========================================================
   LOGOTIPO NO PERFIL
   ========================================================= */

.profile-page .page-banner {
  background:
    radial-gradient(
      circle at center,
      rgba(255,255,255,0.10),
      rgba(7,17,31,0.30) 65%
    ),
    url('/images/logo-amconnect.png') center center / 520px auto no-repeat !important;
}


/* =========================================================
   AM CONNECT — LOGOTIPO FINAL / ENTRAR
   LOGO NÍTIDO, VISÍVEL E COM BRILHO ELEGANTE
   ========================================================= */

.auth-cover {
  position: relative !important;
  min-height: 300px !important;
  height: 300px !important;
  overflow: hidden !important;

  background-color: #07111f !important;

  background-image:
    radial-gradient(
      circle at center,
      rgba(255,255,255,0.18) 0%,
      rgba(255,255,255,0.08) 35%,
      rgba(7,17,31,0.12) 65%,
      rgba(7,17,31,0.35) 100%
    ),
    url('/images/logo-amconnect.png') !important;

  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: 620px auto !important;

  border-radius: 1rem !important;
}

@media (max-width: 700px) {
  .auth-cover {
    min-height: 160px !important;
    height: 160px !important;
    background-size: contain !important;
  }
}

/* brilho concentrado atrás do logotipo */
.auth-cover::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;

  background:
    radial-gradient(
      ellipse at center,
      rgba(255,255,255,0.20) 0%,
      rgba(255,255,255,0.08) 30%,
      transparent 62%
    ) !important;

  pointer-events: none !important;
  z-index: 1 !important;
}

/* brilho lateral muito discreto */
.auth-cover::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;

  background:
    linear-gradient(
      90deg,
      rgba(7,17,31,0.18) 0%,
      transparent 25%,
      transparent 75%,
      rgba(7,17,31,0.18) 100%
    ) !important;

  pointer-events: none !important;
  z-index: 2 !important;
}

/* texto antigo não deve aparecer */
.auth-cover-content {
  display: none !important;
}

/* =========================================================
   LOGOTIPO NA PÁGINA PERFIL
   ========================================================= */

.profile-page .page-banner {
  background-color: #07111f !important;

  background-image:
    radial-gradient(
      circle at center,
      rgba(255,255,255,0.16) 0%,
      rgba(7,17,31,0.18) 60%,
      rgba(7,17,31,0.40) 100%
    ),
    url('/images/logo-amconnect.png') !important;

  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: 520px auto !important;
}

@media (max-width: 700px) {
  .profile-page .page-banner {
    background-size: contain !important;
    min-height: 160px !important;
    height: 160px !important;
  }
}


/* AM CONNECT — LOGO NO CABEÇALHO PRINCIPAL */
nav .brand {
  display: flex;
  align-items: center;
}

nav .brand a {
  display: flex;
  align-items: center;
}

nav .brand img {
  display: block;
  width: 150px;
  height: auto;
  max-height: 54px;
  object-fit: contain;
}

@media (max-width: 768px) {
  nav .brand img {
    width: 120px;
    max-height: 46px;
  }
}

/* AM CONNECT — LOGO NO CABEÇALHO PRINCIPAL */
nav .brand {
  display: flex;
  align-items: center;
}

nav .brand a {
  display: flex;
  align-items: center;
}

nav .brand img {
  display: block;
  width: 150px;
  height: auto;
  max-height: 54px;
  object-fit: contain;
}

@media (max-width: 768px) {
  nav .brand img {
    width: 120px;
    max-height: 46px;
  }
}

/* =========================================================
   AM CONNECT — CABEÇALHO FIXO EM TODAS AS PÁGINAS
   ========================================================= */

:root {
  --am-header-height: 66px;
}

body {
  padding-top: var(--am-header-height);
}

body > header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: var(--am-header-height) !important;
  z-index: 10000 !important;
  margin: 0 !important;
}

body > header nav {
  width: 100%;
  min-height: var(--am-header-height);
  box-sizing: border-box;
}

@media (max-width: 700px) {
  :root {
    --am-header-height: 60px;
  }

  body {
    padding-top: var(--am-header-height);
  }

  body > header {
    height: var(--am-header-height) !important;
  }
}


/* ===== CORREÇÃO MOBILE DA HOME ===== */
@media (max-width: 600px) {
  .home-hero {
    margin: 0.5rem;
    padding: 1rem;
    min-height: auto;
    width: auto;
    box-sizing: border-box;
  }

  .home-hero .hero-card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 1rem;
    margin: 0;
    transform: none !important;
  }

  .home-hero .hero-card p {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
    line-height: 1.5;
  }

  .home-hero .hero-card p:first-child {
    font-size: 0.9rem !important;
    letter-spacing: 0.08rem !important;
    line-height: 1.4;
  }

  .home-hero .hero-card p:last-child {
    font-size: 0.95rem !important;
    line-height: 1.6;
    margin-top: 1rem !important;
  }
}

/* CABEÇALHO FIXO AM CONNECT */
header {
  position: sticky !important;
  top: 0 !important;
  z-index: 9999 !important;
}

body {
  overflow-x: hidden;
}

/* =========================================================
   AM CONNECT — CORREÇÃO DO LOGOTIPO NO MOBILE
   Mantém o logo inteiro e evita compressão/corte
   ========================================================= */
@media (max-width: 768px) {
  header nav {
    width: 100%;
    max-width: 100%;
    padding: .7rem .75rem;
    gap: .75rem;
    overflow: visible;
  }

  header nav .brand {
    flex: 0 0 auto;
    min-width: 0;
  }

  header nav .brand a {
    flex: 0 0 auto;
    min-width: 0;
  }

  header nav .brand img {
    display: block;
    width: 120px !important;
    height: auto !important;
    max-width: 120px !important;
    max-height: 46px !important;
    object-fit: contain !important;
    object-position: center !important;
    flex-shrink: 0;
  }

  header nav .nav-links {
    min-width: 0;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
  }

  header nav .nav-links::-webkit-scrollbar {
    display: none;
  }
}

.creative-areas-home {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: var(--panel);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
}
.section-heading {
  margin-bottom: 1.2rem;
}
.section-heading h2 {
  margin: .25rem 0 .4rem;
}
.section-heading p:last-child {
  color: var(--muted);
  margin: 0;
}
.creative-areas-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.creative-area-card {
  display: block;
  padding: 1.2rem .8rem;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  background: var(--panel-2);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
  transition: transform .18s ease, border-color .18s ease;
}
.creative-area-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,145,66,.45);
}
.creative-area-icon {
  font-size: 2.2rem;
  margin-bottom: .5rem;
}
@media (max-width: 900px) {
  .creative-areas-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}
@media (max-width: 520px) {
  .creative-areas-grid {
    grid-template-columns: 1fr;
  }
}
