/* ============================================================
   CÍRIO FLUVIAL – Stylesheet (visual refresh inspired by DevArmor)
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #0a1f3c;
  --navy-light: #102d56;
  --gold:       #c9a227;
  --gold-light: #e0b83a;
  --gold-soft:  rgba(201,162,39,.12);
  --white:      #ffffff;
  --cream:      #faf6ec;
  --cream-2:    #f3ecda;
  --gray:       #5b6573;
  --gray-light: #e5e7eb;
  --text:       #1f2937;

  --font-serif: 'Cinzel', Georgia, serif;
  --font-sans:  'Inter', 'Open Sans', system-ui, sans-serif;

  --container: 1180px;
  --header-h:  72px;
  --radius:    20px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(10,31,60,.06);
  --shadow:    0 10px 40px rgba(10,31,60,.08);
  --shadow-lg: 0 20px 60px rgba(10,31,60,.12);
  --transition: .25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

/* ---------- Utilities ---------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--gold);
  background: var(--gold-soft);
  padding: .35rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.25rem;
}

.eyebrow--center { display: inline-block; }

.section-head {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  color: var(--navy);
  line-height: 1.2;
  text-align: center;
  margin-bottom: .75rem;
  letter-spacing: -.01em;
}

.section-title--left { text-align: left; }

.section-subtitle {
  text-align: center;
  color: var(--gray);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .9rem 2rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn--gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  box-shadow: 0 6px 18px rgba(201,162,39,.28);
}

.btn--gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(201,162,39,.4);
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn--outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--large { padding: 1.05rem 2.6rem; font-size: 1.05rem; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--header-h);
  background: rgba(10,31,60,.96);
  backdrop-filter: blur(8px);
  transition: box-shadow var(--transition), height var(--transition);
}

.header--scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,.25);
  height: 62px;
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header__logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: height var(--transition);
}

.header--scrolled .header__logo img { height: 40px; }

.nav__list {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.nav__link {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem .95rem;
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: color var(--transition), background var(--transition);
}

.nav__link:hover { color: var(--gold); background: rgba(255,255,255,.06); }

.nav__link--whatsapp {
  color: #fff;
  background: #25d366;
  padding: .5rem 1.1rem;
  font-weight: 700;
}

.nav__link--whatsapp:hover { background: #1ebe5d; color: #fff; }

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

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

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

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  margin-top: var(--header-h);
  min-height: calc(100vh - var(--header-h));
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero__overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 6rem 0;
  background: linear-gradient(
    90deg,
    rgba(10,31,60,.78) 0%,
    rgba(10,31,60,.48) 55%,
    transparent 100%
  );
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 1.1rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
  max-width: 620px;
  letter-spacing: -.01em;
}

.hero__subtitle {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: rgba(255,255,255,.9);
  margin-bottom: 2.5rem;
  max-width: 460px;
}

/* ============================================================
   INFO BAR
   ============================================================ */
.info-bar {
  background: var(--navy);
  padding: 1rem 0;
}

.info-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-right: 1px solid rgba(255,255,255,.1);
}

.info-card:last-child { border-right: none; }

.info-card svg {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  color: var(--gold);
}

.info-card__label {
  display: block;
  font-size: .72rem;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 700;
}

.info-card__value {
  display: block;
  font-size: 1rem;
  color: var(--white);
  font-weight: 700;
}

/* ============================================================
   FEATURES
   ============================================================ */
.features {
  padding: 7rem 0;
  background: var(--cream);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--white);
  border: 1px solid rgba(10,31,60,.06);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.85rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201,162,39,.4);
  box-shadow: var(--shadow);
}

.feature-card__icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem;
}

.feature-card__icon svg {
  width: 28px;
  height: 28px;
  color: var(--gold);
}

.feature-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: .65rem;
}

.feature-card p {
  color: var(--gray);
  font-size: .92rem;
  line-height: 1.7;
}

/* ============================================================
   BANNER IMAGE
   ============================================================ */
.banner-img {
  width: 100%;
  overflow: hidden;
  max-height: 520px;
}

.banner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ============================================================
   ABOUT EVENT
   ============================================================ */
.about-event {
  padding: 7rem 0;
}

.about-event__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.about-event__text p {
  color: var(--gray);
  margin-bottom: 1.2rem;
  line-height: 1.8;
}

.about-event__text .btn { margin-top: 1rem; }

.about-event__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-event__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery {
  padding: 7rem 0;
  background: var(--navy);
}

.gallery .section-title { color: var(--white); }
.gallery .section-subtitle { color: rgba(255,255,255,.6); }
.gallery .eyebrow { color: var(--gold-light); background: rgba(224,184,58,.15); }

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: .85rem;
}

.gallery__item {
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}

.gallery__item--wide { grid-column: span 2; }

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.gallery__item:hover img { transform: scale(1.07); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.lightbox--open { opacity: 1; pointer-events: all; }

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.88);
}

.lightbox__img {
  position: relative;
  max-width: 90vw;
  max-height: 88vh;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--white);
  font-size: 1.8rem;
  line-height: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.lightbox__close:hover { background: rgba(255,255,255,.2); }

/* ============================================================
   QUEM SOMOS
   ============================================================ */
.who-we-are {
  padding: 7rem 0;
  background: var(--cream-2);
}

.who-we-are__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.who-we-are__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.who-we-are__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.who-we-are__eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--gold);
  background: var(--gold-soft);
  padding: .35rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

.who-we-are__text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  color: var(--navy);
  margin-bottom: 1.25rem;
  line-height: 1.2;
  letter-spacing: -.01em;
}

.who-we-are__text p {
  color: var(--gray);
  margin-bottom: 1.1rem;
  line-height: 1.8;
}

.who-we-are__cta-text { color: var(--navy) !important; font-size: 1.05rem; margin-bottom: 1.5rem !important; }

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding: 7rem 0;
  background: var(--cream);
}

.faq__list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: .85rem;
}

.faq__item {
  background: var(--white);
  border: 1px solid rgba(10,31,60,.08);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.faq__item[open] {
  border-color: rgba(201,162,39,.4);
  box-shadow: var(--shadow-sm);
}

.faq__question {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
}

.faq__question::-webkit-details-marker { display: none; }

.faq__question::after {
  content: '+';
  font-family: var(--font-sans);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq__item[open] .faq__question::after { transform: rotate(45deg); }

.faq__answer {
  padding: 0 1.5rem 1.4rem;
  color: var(--gray);
  line-height: 1.75;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, #0e2c55 100%);
  padding: 5rem 0;
}

.cta-section__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-section h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  color: var(--white);
  margin-bottom: .6rem;
  letter-spacing: -.01em;
}

.cta-section p {
  color: rgba(255,255,255,.75);
  max-width: 440px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #060f1e;
  padding: 2.5rem 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__logo img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .7;
  transition: opacity var(--transition);
}

.footer__logo:hover img { opacity: 1; }

.footer__copy {
  color: rgba(255,255,255,.45);
  font-size: .82rem;
  text-align: center;
  flex: 1;
}

.footer__back-top {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  color: var(--white);
}

.footer__back-top svg { width: 18px; height: 18px; }

.footer__back-top:hover { background: var(--gold); border-color: var(--gold); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--navy);
    padding: 1rem 1.25rem 1.5rem;
    transform: translateY(-110%);
    transition: transform .35s ease;
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
  }

  .nav--open { transform: translateY(0); }

  .nav__list { flex-direction: column; align-items: stretch; gap: .25rem; }

  .nav__link { padding: .75rem 1rem; border-radius: 8px; }

  .nav__link--whatsapp {
    text-align: center;
    justify-content: center;
    margin-top: .5rem;
  }

  .info-bar__grid { grid-template-columns: repeat(2, 1fr); }

  .info-card:nth-child(2) { border-right: none; }
  .info-card:nth-child(3) { border-right: 1px solid rgba(255,255,255,.1); }
  .info-card:nth-child(3),
  .info-card:nth-child(4) { border-top: 1px solid rgba(255,255,255,.1); }

  .features { padding: 5rem 0; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }

  .about-event { padding: 5rem 0; }
  .about-event__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-event__img { max-height: 340px; }

  .gallery { padding: 5rem 0; }

  .who-we-are { padding: 5rem 0; }
  .who-we-are__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .who-we-are__img { order: -1; max-height: 300px; }

  .faq { padding: 5rem 0; }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }

  .cta-section__inner { flex-direction: column; text-align: center; }
  .cta-section p { margin-inline: auto; }
}

@media (max-width: 580px) {
  .info-bar__grid { grid-template-columns: 1fr 1fr; }
  .features__grid { grid-template-columns: 1fr; }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
  }

  .gallery__item--wide { grid-column: span 2; }

  .footer__inner { flex-direction: column; text-align: center; }
}

@media (max-width: 400px) {
  .info-bar__grid { grid-template-columns: 1fr; }
  .info-card { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,.1); }
  .info-card:last-child { border-bottom: none; }
}
