/* ==========================================================================
   Bispo Gercione Barros — Landing Page
   ========================================================================== */

:root {
  /* cores da marca (extraídas do material de campanha) */
  --color-orange: #FF5400;
  --color-orange-dark: #D94700;
  --color-blue: #1800AD;
  --color-navy: #0D0B4D;
  --color-navy-2: #070620;

  --color-white: #FFFFFF;
  --color-bg-alt: #F6F7FB;
  --color-text: #1A1A1F;
  --color-text-muted: #5B6172;
  --color-border: #E7E9F0;

  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container-width: 1180px;
  --radius: 16px;
  --radius-sm: 10px;

  --shadow-sm: 0 2px 10px rgba(13, 11, 77, 0.06);
  --shadow-md: 0 12px 30px rgba(13, 11, 77, 0.12);
  --shadow-lg: 0 20px 50px rgba(13, 11, 77, 0.18);

  --transition: 0.25s ease;
}

/* ---- Reset ---- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.2; font-weight: 700; }

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

section.section { padding: 100px 0; }

.section--alt { background: var(--color-bg-alt); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: 14px;
}

.eyebrow--light { color: #FFB48A; }

.section__head { max-width: 640px; margin-bottom: 56px; }

.section__title { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 14px; }

.section__desc { color: var(--color-text-muted); font-size: 1.05rem; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn--primary {
  background: var(--color-orange);
  color: var(--color-white);
  box-shadow: var(--shadow-md), 0 0 12px rgba(255,84,0,0.55), 0 0 26px rgba(255,84,0,0.3);
}

.btn--primary:hover {
  background: var(--color-orange-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md), 0 0 18px rgba(255,84,0,0.8), 0 0 38px rgba(255,84,0,0.5);
}

.btn--outline {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: var(--color-white);
  box-shadow: 0 0 10px rgba(255,255,255,0.25);
}

.btn--outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 0 18px rgba(255,255,255,0.55), 0 0 34px rgba(255,255,255,0.25);
}

.btn--sm { padding: 11px 22px; font-size: 0.85rem; }

.btn--neon { animation: neonPulse 2.2s ease-in-out infinite; }

.btn--neon:hover { animation-play-state: paused; }

@keyframes neonPulse {
  0%, 100% { box-shadow: var(--shadow-md), 0 0 12px rgba(255,84,0,0.55), 0 0 26px rgba(255,84,0,0.3); }
  50% { box-shadow: var(--shadow-md), 0 0 24px rgba(255,84,0,0.95), 0 0 48px rgba(255,84,0,0.6), 0 0 70px rgba(255,84,0,0.25); }
}

/* ==========================================================================
   Header
   ========================================================================== */

.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  background: var(--color-navy);
  transition: box-shadow var(--transition), padding var(--transition);
}

.header.is-scrolled { box-shadow: 0 6px 24px rgba(0,0,0,0.25); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.header__brand { display: flex; align-items: center; height: 100%; }

.header__logo { height: 42px; width: auto; object-fit: contain; }

.nav { display: flex; align-items: center; gap: 36px; }

.nav__list { display: flex; align-items: center; gap: 30px; }

.nav__link {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 6px 0;
  transition: color var(--transition);
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--color-orange);
  transition: width var(--transition);
}

.nav__link:hover, .nav__link.is-active { color: var(--color-white); }

.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.menu-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 78px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--color-navy) 0%, var(--color-navy-2) 100%);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.16;
  filter: grayscale(30%);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(13,11,77,0.92) 10%, rgba(7,6,32,0.96) 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 40px;
  padding-top: 60px;
  padding-bottom: 80px;
}

.tag {
  display: inline-block;
  background: rgba(255,84,0,0.15);
  border: 1px solid rgba(255,84,0,0.4);
  color: #FFB48A;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 22px;
  animation: tagPing 2.6s ease-in-out infinite;
}

@keyframes tagPing {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,84,0,0.35); }
  50% { box-shadow: 0 0 0 7px rgba(255,84,0,0); }
}

.hero__title {
  color: var(--color-white);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  margin-bottom: 20px;
}

.hero__title span { color: var(--color-orange); }

.hero__subtitle {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 34px;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero__photo { display: flex; justify-content: center; }

.hero__photo-img {
  width: min(420px, 100%);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  border: 6px solid rgba(255,255,255,0.08);
  animation: heroFloat 5s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: 20px;
  z-index: 2;
}

.scroll-indicator span {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--color-orange);
  border-radius: 4px;
  animation: scrollDot 1.6s ease infinite;
}

@keyframes scrollDot {
  0% { opacity: 1; top: 8px; }
  100% { opacity: 0; top: 22px; }
}

/* ==========================================================================
   Sobre / Valores
   ========================================================================== */

.about__bio {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 320px);
  grid-template-areas: "text photo";
  align-items: center;
  gap: 48px;
  margin-bottom: 56px;
}

.about__text-col {
  grid-area: text;
}

.about__text {
  max-width: 820px;
  color: var(--color-text-muted);
  font-size: 1.05rem;
  background: var(--color-bg-alt);
  border-left: 4px solid var(--color-orange);
  padding: 22px 26px;
  border-radius: var(--radius-sm);
  margin-bottom: 0;
  font-style: italic;
}

.about__photo {
  grid-area: photo;
}

.about__photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--color-navy) 0%, var(--color-navy-2) 100%);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about__photo-img {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: contain;
  -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 80%, transparent 100%);
}

.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.value-card:hover .value-card__icon { transform: scale(1.15) rotate(-8deg); background: rgba(255,84,0,0.18); }

.value-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255,84,0,0.1);
  color: var(--color-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform 0.4s cubic-bezier(.34,1.56,.64,1), background var(--transition);
}

.value-card__icon svg { width: 26px; height: 26px; }

.value-card h3 { font-size: 1.15rem; margin-bottom: 10px; }

.value-card p { color: var(--color-text-muted); font-size: 0.95rem; }

/* ==========================================================================
   Propostas
   ========================================================================== */

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

.proposal-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.proposal-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.proposal-card:hover .proposal-card__icon { transform: scale(1.15) rotate(-8deg); }

.proposal-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--color-navy);
  color: var(--color-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: transform 0.4s cubic-bezier(.34,1.56,.64,1);
}

.proposal-card__icon svg { width: 27px; height: 27px; }

.proposal-card h3 { font-size: 1.15rem; margin-bottom: 12px; }

.proposal-card p { color: var(--color-text-muted); font-size: 0.95rem; }

.proposals__note {
  margin-top: 40px;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  font-style: italic;
}

/* ==========================================================================
   Galeria (carrossel horizontal)
   ========================================================================== */

.gallery-track-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.gallery-track {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: gallerySlide 32s linear infinite;
}

.gallery-track:hover { animation-play-state: paused; }

@keyframes gallerySlide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.gallery-slide {
  flex-shrink: 0;
  width: 260px;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-slide:hover img { transform: scale(1.08); }

.gallery-slide__ph {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(160deg, var(--color-navy) 0%, var(--color-navy-2) 100%);
  color: rgba(255,255,255,0.4);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: transform 0.5s ease, color var(--transition);
}

.gallery-slide__ph svg { width: 34px; height: 34px; }

.gallery-slide:hover .gallery-slide__ph { transform: scale(1.06); color: rgba(255,255,255,0.65); }

@media (max-width: 640px) {
  .gallery-slide { width: 180px; }
}

/* ==========================================================================
   CTA / Como Ajudar
   ========================================================================== */

.cta {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
}

.cta__bg {
  position: absolute;
  inset: -20px;
  background-size: cover;
  background-position: center;
  filter: blur(4px) grayscale(15%);
}

.cta__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(13,11,77,0.96) 20%, rgba(7,6,32,0.95) 100%);
}

.cta__inner { position: relative; z-index: 2; text-align: center; }

.cta__title {
  color: var(--color-white);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  margin-bottom: 16px;
}

.cta__desc {
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin: 0 auto 56px;
  font-size: 1.05rem;
}

.cta__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}

.cta-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(6px);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform var(--transition), background var(--transition);
}

.cta-card:hover { transform: translateY(-6px); background: rgba(255,255,255,0.1); }

.cta-card__icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(255,84,0,0.18);
  color: var(--color-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.cta-card__icon svg { width: 24px; height: 24px; }

.cta-card h3 { color: var(--color-white); font-size: 1.1rem; margin-bottom: 10px; }

.cta-card p { color: rgba(255,255,255,0.7); font-size: 0.92rem; margin-bottom: 16px; }

.cta-card__link {
  color: var(--color-orange);
  font-weight: 600;
  font-size: 0.9rem;
  transition: opacity var(--transition);
}

.cta-card__link:hover { opacity: 0.8; }

/* ==========================================================================
   Contato
   ========================================================================== */

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

.contact-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); background: var(--color-white); }

.contact-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-navy);
  color: var(--color-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.contact-card__icon svg { width: 22px; height: 22px; }

.contact-card span { display: block; color: var(--color-text-muted); font-size: 0.85rem; margin-bottom: 4px; }

.contact-card strong { display: block; font-size: 1.05rem; margin-bottom: 6px; }

.contact-card em {
  display: block;
  color: var(--color-orange);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 500;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer { background: var(--color-navy-2); color: rgba(255,255,255,0.8); }

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding: 70px 24px 50px;
}

.footer__logo { height: 86px; width: auto; margin-bottom: 16px; }

.footer__brand p { font-size: 0.9rem; color: rgba(255,255,255,0.55); max-width: 280px; }

.footer h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-orange);
  margin-bottom: 18px;
}

.footer__links { display: flex; flex-direction: column; gap: 12px; }

.footer__links a { font-size: 0.92rem; transition: color var(--transition); }

.footer__links a:hover { color: var(--color-white); }

.footer__social-icons { display: flex; gap: 14px; }

.footer__social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition);
}

.footer__social-icons a svg { width: 18px; height: 18px; }

.footer__social-icons a:hover { background: var(--color-orange); border-color: var(--color-orange); }

.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); }

.footer__bottom .container {
  padding: 22px 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}

/* ==========================================================================
   WhatsApp flutuante
   ========================================================================== */

.whatsapp-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 800;
  transition: transform var(--transition);
}

.whatsapp-float svg { width: 28px; height: 28px; }

.whatsapp-float:hover { transform: scale(1.08); }

/* ==========================================================================
   Reveal (scroll animations)
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.97);
  transition: opacity 0.8s cubic-bezier(.16,1,.3,1), transform 0.8s cubic-bezier(.16,1,.3,1);
}

.reveal.is-visible { opacity: 1; transform: translateY(0) scale(1); }

.values .value-card:nth-child(1) { transition-delay: 0s; }
.values .value-card:nth-child(2) { transition-delay: 0.08s; }
.values .value-card:nth-child(3) { transition-delay: 0.16s; }
.values .value-card:nth-child(4) { transition-delay: 0.24s; }

.proposals .proposal-card:nth-child(1) { transition-delay: 0s; }
.proposals .proposal-card:nth-child(2) { transition-delay: 0.06s; }
.proposals .proposal-card:nth-child(3) { transition-delay: 0.12s; }
.proposals .proposal-card:nth-child(4) { transition-delay: 0.18s; }
.proposals .proposal-card:nth-child(5) { transition-delay: 0.24s; }
.proposals .proposal-card:nth-child(6) { transition-delay: 0.3s; }

/* ==========================================================================
   Responsivo
   ========================================================================== */

@media (max-width: 1024px) {
  .values { grid-template-columns: repeat(2, 1fr); }
  .proposals { grid-template-columns: repeat(2, 1fr); }
  .cta__cards { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--color-navy);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 24px 26px;
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
    box-shadow: 0 16px 24px rgba(0,0,0,0.2);
  }

  .nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }

  .nav__list { flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; }

  .nav__list li { width: 100%; }

  .nav__link { display: block; padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,0.08); }

  .nav__cta { margin-top: 16px; width: 100%; }

  .menu-toggle { display: flex; }

  .hero__inner { grid-template-columns: 1fr; text-align: center; padding-top: 30px; }

  .hero__text { order: 2; }
  .hero__photo { order: 1; }

  .hero__subtitle { margin-left: auto; margin-right: auto; }

  .hero__actions { justify-content: center; }

  .hero__photo-img { width: min(280px, 70vw); }
}

@media (max-width: 640px) {
  section.section { padding: 70px 0; }
  .values { grid-template-columns: 1fr; }
  .proposals { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; padding: 56px 24px 40px; }
  .footer__bottom .container { flex-direction: column; text-align: center; padding-bottom: 96px; }
  .about__text { font-size: 0.98rem; padding: 18px 20px; }
  .about__bio { grid-template-columns: 1fr; grid-template-areas: "photo" "text"; gap: 28px; }
  .about__photo { width: 260px; margin: 0 auto; }
}
