/* ============================================================================
   AMIGAS BRAZUCA — landing page (/amigas-brazuca)
   Folha própria, carregada SÓ nesta rota. Não interfere no Tailwind do site.
   Escopo: tudo mora sob .ab-page, então nada vaza para o resto do Brazuca News.
   ========================================================================= */

:root {
  /* ---- paleta ----
     Em :root de propósito: o header e o rodapé desta landing são renderizados
     nos blocos `header`/`footer` do base.html, FORA de .ab-page. Presos ao
     .ab-page, o botão do header saía transparente e o rodapé sem fundo. */
  --navy-950: #061426;
  --navy-900: #081a30;
  --navy-850: #0b213a;
  --navy-800: #102b49;

  --pink-primary: #e91e63;
  --pink-bright:  #f52573;
  --pink-dark:    #c71558;
  --pink-soft:    #fce8ef;

  --purple:       #7c5cbf;
  --purple-soft:  #efe9fa;

  --white:     #ffffff;
  --off-white: #fffaf9;
  --cream:     #fff7f4;

  --text-dark:  #0d1f3c;
  --text-body:  #3f4a5c;
  --text-muted: #637083;

  --gold: #f2c94c;

  --border-soft: rgba(10, 30, 55, .10);
  --divider:     rgba(10, 30, 55, .08);
  --shadow-soft: 0 12px 30px rgba(8, 26, 48, .08);
  --shadow-card: 0 12px 35px rgba(6, 20, 38, .12);

  /* ---- escala tipográfica ---- */
  --text-xs:   12px;
  --text-sm:   14px;
  --text-base: 16px;
  --text-lg:   18px;
  --text-xl:   22px;
  --text-2xl:  28px;
  --text-3xl:  36px;
  --text-4xl:  48px;
  --text-5xl:  64px;

  /* ---- espaçamento ---- */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px; --sp-5: 20px;
  --sp-6: 24px; --sp-8: 32px; --sp-10: 40px; --sp-12: 48px;
  --sp-16: 64px; --sp-20: 80px; --sp-24: 96px;

  /* ---- raios ---- */
  --r-btn: 6px;
  --r-card: 9px;
  --r-img: 9px;

}

.ab-page, .ab-header, .ab-footer, .ab-mobile-nav {
  font-family: 'Poppins', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.ab-page { color: var(--text-body); background: var(--white); }

.ab-page *, .ab-page *::before, .ab-page *::after,
.ab-header *, .ab-header *::before, .ab-header *::after,
.ab-footer *, .ab-footer *::before, .ab-footer *::after { box-sizing: border-box; }
.ab-page img, .ab-header img, .ab-footer img { max-width: 100%; }

/* container central */
.ab-wrap {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-left: 56px;
  padding-right: 56px;
}

/* fonte manuscrita: só nos dois destaques da referência */
.ab-script {
  font-family: 'Dancing Script', 'Brush Script MT', cursive;
  font-weight: 700;
  line-height: 1.05;
}

/* ---------- foco visível (acessibilidade) ---------- */
.ab-page a:focus-visible, .ab-page button:focus-visible,
.ab-header a:focus-visible, .ab-header button:focus-visible,
.ab-footer a:focus-visible, .ab-mobile-nav a:focus-visible {
  outline: 3px solid var(--pink-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ===========================================================================
   BOTÕES
   ========================================================================= */
.ab-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 50px; padding: 0 26px;
  border-radius: var(--r-btn);
  font-size: var(--text-sm); font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background .2s ease, color .2s ease, border-color .2s ease,
              transform .2s ease, box-shadow .2s ease;
}
.ab-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.ab-btn--pink  { background: var(--pink-primary); color: #fff; }
.ab-btn--pink:hover  { background: var(--pink-dark); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(233,30,99,.28); }

.ab-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.75); }
.ab-btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; transform: translateY(-1px); }

.ab-btn--white { background: #fff; color: var(--pink-primary); }
.ab-btn--white:hover { background: var(--pink-soft); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,.18); }

.ab-btn--sm { height: 42px; padding: 0 20px; font-size: var(--text-xs); }

/* ===========================================================================
   HEADER
   ========================================================================= */
.ab-header { background: var(--navy-900); position: relative; z-index: 30; }
.ab-header__inner {
  height: 88px; display: flex; align-items: center; gap: var(--sp-8);
}
.ab-brand { display: flex; align-items: center; gap: 11px; text-decoration: none; flex-shrink: 0; }
.ab-brand__mark { height: 52px; width: auto; object-fit: contain; }
.ab-brand__name {
  font-size: 23px; font-weight: 800; letter-spacing: .06em;
  color: #fff; line-height: 1; text-transform: uppercase;
}
.ab-brand__sub {
  display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .30em;
  color: rgba(255,255,255,.82); margin-top: 3px; text-transform: uppercase;
}

.ab-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.ab-nav a {
  font-size: 13.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  color: #fff; text-decoration: none; transition: color .2s ease; white-space: nowrap;
}
.ab-nav a:hover { color: var(--pink-bright); }
.ab-nav a[aria-current="page"] { color: var(--pink-bright); }

.ab-header__cta { margin-left: var(--sp-8); flex-shrink: 0; }

/* botão hambúrguer (só no mobile) */
.ab-burger {
  display: none; margin-left: auto;
  background: transparent; border: 0; color: #fff; padding: 8px; cursor: pointer;
}
.ab-mobile-nav { display: none; }

/* ===========================================================================
   HERO
   ========================================================================= */
.ab-hero { position: relative; background: var(--navy-950); overflow: hidden; }
.ab-hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 38%;
}
/* lado esquerdo bem mais escuro: é onde o texto precisa de contraste */
.ab-hero__veil {
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
      rgba(5,19,36,.96) 0%,
      rgba(5,19,36,.88) 42%,
      rgba(5,19,36,.55) 100%);
}
.ab-hero__inner {
  position: relative; z-index: 2;
  /* fr e nao %: com % + gap a soma passa de 100% e vaza do container */
  display: grid; grid-template-columns: minmax(0,43fr) minmax(0,57fr); align-items: center;
  min-height: 508px;
  padding-top: 26px; padding-bottom: 92px;
}

/* --- coluna esquerda --- */
.ab-hero__eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
}
.ab-hero__eyebrow span {
  font-size: var(--text-lg); font-weight: 700; letter-spacing: .02em;
  color: var(--pink-bright);
}
.ab-hero__eyebrow .ab-rule { width: 34px; height: 2px; background: var(--pink-bright); border-radius: 2px; }
.ab-hero__eyebrow svg { width: 30px; height: 30px; color: var(--pink-bright); }

.ab-hero h1 {
  font-size: clamp(42px, 4.6vw, 66px);
  font-weight: 800; line-height: 1.02; color: #fff;
  margin: 0 0 12px; letter-spacing: -.015em;
}
.ab-hero__sub {
  font-size: clamp(21px, 2vw, 28px); font-weight: 400; line-height: 1.3;
  color: #fff; margin: 0;
}
.ab-hero__city {
  font-size: clamp(36px, 3.4vw, 50px);
  color: var(--pink-bright);
  margin: 2px 0 18px;
  display: block;
}
.ab-hero__lead {
  font-size: var(--text-base); line-height: 1.65; color: rgba(255,255,255,.92);
  max-width: 520px; margin: 0 0 26px;
}
.ab-hero__lead strong { font-weight: 700; color: #fff; }

.ab-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }

/* benefícios rápidos */
.ab-highlights { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 560px; margin: 0; padding: 0; list-style: none; }
.ab-highlight { text-align: center; }
.ab-highlight svg { width: 38px; height: 38px; color: var(--pink-bright); margin: 0 auto 8px; display: block; }
.ab-highlight span {
  display: block; font-size: 13px; font-weight: 600; line-height: 1.25; color: #fff;
}

/* --- coluna direita: o selo --- */
.ab-hero__seal { display: flex; justify-content: center; align-items: center; }
.ab-hero__seal img {
  width: clamp(360px, 45vw, 640px); height: auto; object-fit: contain;
  filter: drop-shadow(0 22px 55px rgba(0,0,0,.45));
  animation: ab-seal-in .9s cubic-bezier(.16,.84,.44,1) both;
}
@keyframes ab-seal-in { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }

/* --- curva inferior do hero --- */
.ab-hero__curve {
  position: absolute; left: 0; right: 0; bottom: -1px; z-index: 3;
  width: 100%; height: 120px; display: block; pointer-events: none;
}

/* ===========================================================================
   SOBRE O GRUPO
   ========================================================================= */
.ab-about { background: var(--cream); padding: 16px 0 52px; }
.ab-about__grid { display: grid; grid-template-columns: minmax(0,45fr) minmax(0,55fr); gap: 56px; align-items: start; }

.ab-eyebrow {
  font-size: 13.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--pink-primary); margin: 0 0 12px;
}
.ab-about h2 {
  font-size: clamp(30px, 3vw, 40px); font-weight: 800; line-height: 1.12;
  color: var(--text-dark); margin: 0;
  letter-spacing: -.015em;
}
.ab-about h2 .ab-script {
  display: block; font-size: clamp(34px, 3.4vw, 46px);
  color: var(--pink-primary); font-weight: 700; margin-top: -2px;
}
.ab-about p { font-size: 15px; line-height: 1.7; color: var(--text-body); max-width: 470px; margin: 16px 0 0; }
.ab-about .ab-btn { margin-top: 22px; }

/* grade de benefícios 2x2 com divisores suaves */
.ab-benefits { display: grid; grid-template-columns: 1fr 1fr; margin: 0; padding: 0; list-style: none; }
.ab-benefit { display: flex; gap: 16px; padding: 18px 26px; }
.ab-benefit:nth-child(odd)  { border-right: 1px solid var(--divider); }
.ab-benefit:nth-child(-n+2) { border-bottom: 1px solid var(--divider); }
.ab-benefit__icon {
  width: 54px; height: 54px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.ab-benefit__icon svg { width: 26px; height: 26px; color: #fff; }
.ab-benefit__icon--pink   { background: var(--pink-primary); }
.ab-benefit__icon--purple { background: var(--purple); }
.ab-benefit h3 {
  font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-dark); margin: 6px 0 7px;
}
.ab-benefit p { font-size: 13.5px; line-height: 1.6; color: var(--text-muted); margin: 0; max-width: none; }

/* ===========================================================================
   EVENTOS
   ========================================================================= */
.ab-events { background: var(--cream); padding: 4px 0 36px; text-align: center; }
.ab-events__eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--pink-primary); margin: 0 0 10px;
}
.ab-events__eyebrow .ab-rule { width: 26px; height: 1.5px; background: var(--pink-primary); }
.ab-events h2 {
  font-size: clamp(30px, 3.2vw, 44px); font-weight: 800; color: var(--text-dark);
  margin: 0 0 24px; letter-spacing: -.015em;
}

.ab-events__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; text-align: left; }

.ab-event { display: block; text-decoration: none; color: inherit; }
.ab-event__media { position: relative; border-radius: var(--r-img); overflow: hidden; aspect-ratio: 1.55 / 1; }
.ab-event__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .35s ease;
}
.ab-event:hover .ab-event__media img { transform: scale(1.04); }
.ab-event__badge {
  position: absolute; top: 0; left: 0;
  background: var(--pink-primary); color: #fff;
  padding: 8px 12px 9px; border-radius: var(--r-img) 0 9px 0;
  text-align: center; line-height: 1;
}
.ab-event__badge b { display: block; font-size: 20px; font-weight: 700; }
.ab-event__badge span { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .1em; margin-top: 3px; }

.ab-event h3 {
  font-size: 16px; font-weight: 700; color: var(--text-dark);
  margin: 12px 0 8px; line-height: 1.3;
  transition: color .2s ease;
}
.ab-event:hover h3 { color: var(--pink-primary); }
.ab-event__meta { display: flex; flex-wrap: wrap; gap: 5px 16px; }
.ab-event__meta span {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: var(--text-muted); line-height: 1.4;
}
.ab-event__meta svg { width: 14px; height: 14px; color: var(--pink-primary); flex-shrink: 0; }

.ab-events__more { margin-top: 24px; }

/* ===========================================================================
   CTA
   ========================================================================= */
.ab-cta { position: relative; overflow: hidden; }
.ab-cta__bg { position: absolute; inset: 0; background-size: cover; background-position: center 30%; }
.ab-cta__veil {
  position: absolute; inset: 0;
  background: linear-gradient(90deg,
      rgba(96,10,58,.94) 0%,
      rgba(140,15,80,.90) 45%,
      rgba(196,20,105,.80) 100%);
}
.ab-cta__inner {
  position: relative; z-index: 2;
  min-height: 150px;
  /* longhand: `padding: 34px 0` zerava o padding lateral herdado do .ab-wrap */
  padding-top: 26px; padding-bottom: 26px;
  /* espaço à direita reservado para o coração decorativo não cobrir o botão */
  padding-right: 176px;
  display: flex; align-items: center; gap: 40px; flex-wrap: wrap;
}
.ab-cta__text { flex: 1 1 420px; min-width: 0; }
.ab-cta h2 {
  font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; color: #fff;
  margin: 0 0 10px; letter-spacing: -.01em;
}
.ab-cta p { font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,.92); margin: 0; max-width: 470px; }
.ab-cta p strong { font-weight: 700; color: #fff; }
.ab-cta__actions { display: flex; gap: 16px; flex-wrap: wrap; flex-shrink: 0; }
.ab-cta__heart {
  position: absolute; right: 40px; top: 50%; transform: translateY(-50%);
  width: 96px; height: 96px; color: #ff5c93; opacity: .5; z-index: 2; pointer-events: none;
}

/* ===========================================================================
   FOOTER
   ========================================================================= */
.ab-footer { background: var(--navy-900); color: rgba(255,255,255,.78); padding: 34px 0 20px; }
.ab-footer__grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.35fr 1fr; gap: 30px;
}
.ab-footer h3 {
  font-size: 13.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; margin: 0 0 14px;
}
.ab-footer ul { list-style: none; margin: 0; padding: 0; }
.ab-footer li + li { margin-top: 8px; }
.ab-footer a { color: rgba(255,255,255,.78); text-decoration: none; font-size: 14px; transition: color .2s ease; }
.ab-footer a:hover { color: var(--pink-bright); }
.ab-footer__about { font-size: 13.5px; line-height: 1.6; margin: 14px 0 0; max-width: 260px; }
.ab-footer__contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; }
.ab-footer__contact svg { width: 16px; height: 16px; margin-top: 3px; flex-shrink: 0; color: rgba(255,255,255,.8); }
.ab-social { display: flex; gap: 12px; }
.ab-social a {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .2s ease, filter .2s ease;
}
.ab-social a:hover { transform: scale(1.06); filter: brightness(1.1); }
.ab-social svg { width: 19px; height: 19px; color: #fff; }
.ab-social__fb { background: #1877f2; }
.ab-social__ig { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.ab-social__yt { background: #ff0000; }
.ab-footer__legal {
  margin-top: 20px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.12);
  font-size: 12.5px; color: rgba(255,255,255,.55);
}

/* ===========================================================================
   RESPONSIVO — mesma identidade, nunca uma página diferente
   ========================================================================= */
@media (max-width: 1200px) {
  .ab-wrap { padding-left: 32px; padding-right: 32px; }
  .ab-nav { gap: 20px; }
  .ab-nav a { font-size: 12.5px; }
  .ab-hero__inner { grid-template-columns: 46% 54%; min-height: 560px; }
  .ab-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; }
  .ab-footer__social-col { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
  .ab-nav, .ab-header__cta { display: none; }
  .ab-burger { display: inline-flex; }
  .ab-hero__inner {
    grid-template-columns: 1fr; gap: 40px; text-align: left;
    padding-top: 44px; padding-bottom: 120px; min-height: 0;
  }
  .ab-hero__veil {
    background: linear-gradient(180deg, rgba(5,19,36,.94) 0%, rgba(5,19,36,.90) 55%, rgba(5,19,36,.86) 100%);
  }
  .ab-hero__seal { order: 2; }
  .ab-hero__seal img { width: min(420px, 72vw); }
  .ab-hero__lead { max-width: 620px; }
  .ab-highlights { max-width: 620px; }
  .ab-about__grid { grid-template-columns: 1fr; gap: 44px; }
  .ab-about p { max-width: none; }
  .ab-events__grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .ab-cta__heart { display: none; }
  .ab-cta__inner { padding-top: 30px; padding-bottom: 30px; padding-right: 0; }
}

@media (max-width: 768px) {
  .ab-footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .ab-footer__about { max-width: none; }
  .ab-hero h1 { font-size: clamp(36px, 9vw, 46px); }
  .ab-hero__city { font-size: clamp(34px, 8.5vw, 42px); }
  .ab-hero__sub { font-size: 20px; }
}

@media (max-width: 640px) {
  .ab-wrap { padding-left: 20px; padding-right: 20px; }
  .ab-header__inner { height: 72px; }
  .ab-brand__mark { height: 42px; }
  .ab-brand__name { font-size: 19px; }
  .ab-brand__sub { font-size: 9px; letter-spacing: .24em; }
  .ab-hero__actions { flex-direction: column; align-items: stretch; }
  .ab-hero__actions .ab-btn { width: 100%; }
  .ab-highlights { grid-template-columns: 1fr 1fr; gap: 20px 14px; }
  .ab-hero__curve { height: 68px; }
  .ab-events__grid { grid-template-columns: 1fr; }
  .ab-cta__inner { flex-direction: column; align-items: flex-start; gap: 22px; }
  /* em coluna, `flex: 1 1 420px` vira ALTURA de 420px e abria um vão enorme */
  .ab-cta__text { flex: 0 0 auto; width: 100%; }
  .ab-cta__actions { width: 100%; }
  .ab-cta__actions .ab-btn { flex: 1 1 auto; }
  .ab-footer__grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 480px) {
  .ab-hero__seal img { width: min(320px, 84vw); }
  .ab-benefit { padding: 18px 0; }
  .ab-benefit:nth-child(odd) { border-right: 0; }
  .ab-benefit:nth-child(3) { border-bottom: 1px solid var(--divider); }
  .ab-benefits { grid-template-columns: 1fr; }
}

/* movimento reduzido: respeitado em toda a página */
@media (prefers-reduced-motion: reduce) {
  .ab-page *, .ab-page *::before, .ab-page *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .ab-btn:hover, .ab-event:hover .ab-event__media img { transform: none; }
}

/* ---------- menu do celular ---------- */
.ab-mobile-nav.is-open { display: block; background: var(--navy-850); padding: 8px 0 18px; }
.ab-mobile-nav.is-open .ab-wrap { display: flex; flex-direction: column; gap: 2px; }
.ab-mobile-nav a {
  color: #fff; text-decoration: none; font-size: 14px; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase; padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.ab-mobile-nav a[aria-current="page"] { color: var(--pink-bright); }
.ab-mobile-nav .ab-btn { margin-top: 14px; border-bottom: 0; }
