/* ============================================================
   PAGES.CSS — Estilos das seções de conteúdo
   Hero, Marquee, About, Areas, Flagrante, Services, Contact
   ============================================================ */

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/bghero.jpg');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(10,9,9,0.82) 0%, rgba(20,18,14,0.78) 55%, rgba(10,9,9,0.85) 100%);
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 70% 60% at 75% 50%, rgba(184,150,90,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 20% 80%, rgba(184,150,90,0.03) 0%, transparent 60%);
}
.hero-lines {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.hero-lines::before, .hero-lines::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent 0%, rgba(184,150,90,0.12) 30%, rgba(184,150,90,0.12) 70%, transparent 100%);
}
.hero-lines::before { left: 22%; }
.hero-lines::after  { right: 22%; }

.hero-ornament {
  position: absolute;
  width: 120px; height: 120px;
  pointer-events: none;
  z-index: 1;
}
.hero-ornament::before, .hero-ornament::after {
  content: '';
  position: absolute;
  background: var(--gold);
}
.hero-ornament.tl { top: 80px; left: 50px; }
.hero-ornament.tl::before { top: 0; left: 0; width: 40px; height: 1px; }
.hero-ornament.tl::after  { top: 0; left: 0; width: 1px; height: 40px; }
.hero-ornament.br { bottom: 80px; right: 50px; }
.hero-ornament.br::before { bottom: 0; right: 0; width: 40px; height: 1px; }
.hero-ornament.br::after  { bottom: 0; right: 0; width: 1px; height: 40px; }

.hero-scale {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.04;
  animation: floatScale 12s ease-in-out infinite;
  z-index: 1;
}
.hero-scale svg { width: 380px; height: 380px; }

.hero-content { position: relative; z-index: 2; width: 100%; }
.hero-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 140px 40px 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-left { max-width: 760px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeSlideUp 1s cubic-bezier(0.16,1,0.3,1) 0.2s forwards;
  justify-content: center;
}
.hero-badge-line { width: 32px; height: 1px; background: var(--gold); }
.hero-badge-text {
  font-size: 0.6rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeSlideUp 1s cubic-bezier(0.16,1,0.3,1) 0.4s forwards;
}
.hero h1 em { font-style: italic; font-weight: 300; color: var(--gold-light); display: block; }
.hero h1 strong { font-weight: 600; color: var(--white); }

.hero-divider {
  width: 48px; height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 0 auto 24px;
  opacity: 0;
  animation: fadeSlideUp 1s cubic-bezier(0.16,1,0.3,1) 0.55s forwards;
}

.hero-sub {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  max-width: 540px;
  margin: 0 auto 44px;
  line-height: 1.8;
  letter-spacing: 0.2px;
  opacity: 0;
  animation: fadeSlideUp 1s cubic-bezier(0.16,1,0.3,1) 0.65s forwards;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fadeSlideUp 1s cubic-bezier(0.16,1,0.3,1) 0.8s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.2);
  font-size: 0.55rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s;
  opacity: 0;
  animation: fadeSlideUp 1s cubic-bezier(0.16,1,0.3,1) 1.2s forwards;
}
.hero-scroll:hover { color: var(--gold); }
.hero-scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, transparent, currentColor);
  animation: scrollPulse 2.5s ease-in-out infinite;
}

/* ===== MARQUEE ===== */
.marquee-band {
  background: var(--gold);
  padding: 14px 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  animation: marquee 25s linear infinite;
  white-space: nowrap;
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 24px;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--dark);
  flex-shrink: 0;
}
.marquee-dot { width: 4px; height: 4px; background: var(--dark); border-radius: 50%; opacity: 0.5; }

/* ===== ABOUT ===== */
.about {
  padding: var(--section-pad);
  background: var(--cream);
  position: relative;
}
.about::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(184,150,90,0.25), transparent);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 100px;
  align-items: center;
}
.about-visual { position: relative; }
.about-frame {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(145deg, #e8e3da, #d9d2c6);
  position: relative;
  overflow: hidden;
}
.about-frame::before {
  content: '';
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(184,150,90,0.2);
  pointer-events: none;
  z-index: 2;
}
.about-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.06) 100%);
}
.about-frame-icon {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.about-frame-icon svg {
  width: 80px; height: 80px;
  stroke: var(--gold);
  stroke-width: 0.8;
  fill: none;
  opacity: 0.3;
}
.about-corner {
  position: absolute;
  top: -12px; left: -12px;
  width: 60px; height: 60px;
}
.about-corner::before, .about-corner::after {
  content: '';
  position: absolute;
  background: var(--gold);
}
.about-corner::before { top: 0; left: 0; width: 100%; height: 1px; }
.about-corner::after  { top: 0; left: 0; width: 1px; height: 100%; }

.about-text .section-label { justify-content: flex-start; }
.about-text p {
  color: var(--text-light);
  font-size: 16px;
  margin-bottom: 20px;
  line-height: 1.8;
}
.about-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.about-info-label {
  font-size: 0.58rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.about-info-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
}

/* ===== AREAS ===== */
.areas {
  padding: 140px 0 100px;
  background: var(--dark);
  position: relative;
}
.areas::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(184,150,90,0.25), transparent);
}
.areas-bg-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: 22vw;
  font-weight: 700;
  color: rgba(255,255,255,0.015);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: -2px;
}
.areas-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
}
.areas-header .section-title { color: var(--white); margin-bottom: 0; }
.areas-nav { display: flex; gap: 12px; align-items: center; flex-shrink: 0; }
.areas-nav-btn {
  width: 44px; height: 44px;
  border: 1px solid rgba(184,150,90,0.3);
  border-radius: 4px;
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
}
.areas-nav-btn:hover { background: rgba(184,150,90,0.12); border-color: rgba(184,150,90,0.6); }
.areas-nav-btn svg { width: 18px; height: 18px; stroke: var(--gold); stroke-width: 1.5; fill: none; }

.areas-carousel-outer {
  width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  cursor: grab;
  padding-bottom: 40px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  user-select: none;
  -webkit-user-select: none;
}
.areas-carousel-outer::-webkit-scrollbar { display: none; }
.areas-carousel-outer:active { cursor: grabbing; }
.areas-carousel-track {
  display: flex;
  gap: 16px;
  width: max-content;
  padding-left: max(40px, calc((100vw - 1140px) / 2 + 40px));
  padding-right: 40px;
}
.area-card {
  padding: 44px 32px;
  background: rgba(184,150,90,0.05);
  border: 1px solid rgba(184,150,90,0.28);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  transition: background 0.4s, border-color 0.4s;
  cursor: default;
  flex-shrink: 0;
  width: 300px;
  min-height: 320px;
}
.area-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 32px; right: 32px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.76,0,0.24,1);
}
.area-card:hover::after { transform: scaleX(1); }
.area-card:hover { background: rgba(184,150,90,0.09); border-color: rgba(184,150,90,0.45); }
.area-card--featured::before {
  content: '24H';
  position: absolute;
  top: 16px; right: 20px;
  font-size: 0.5rem;
  letter-spacing: 4px;
  color: var(--gold);
  font-weight: 600;
  border: 1px solid rgba(184,150,90,0.4);
  padding: 3px 7px;
  border-radius: 2px;
}
.area-card--featured h3 { color: var(--gold-light) !important; }
.area-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  color: rgba(184,150,90,0.22);
  letter-spacing: 2px;
  margin-bottom: 20px;
  display: block;
  font-weight: 300;
}
.area-icon { margin-bottom: 20px; }
.area-icon svg {
  width: 28px; height: 28px;
  stroke: var(--gold);
  stroke-width: 1.2;
  fill: none;
  opacity: 0.65;
  transition: opacity 0.3s;
}
.area-card:hover .area-icon svg { opacity: 1; }
.area-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.5;
  transition: color 0.3s;
}
.area-card:hover h3 { color: var(--gold-light); }
.area-card p { font-size: 15px; color: rgba(255,255,255,0.45); line-height: 1.75; }

/* ===== FLAGRANTE 24H ===== */
.flagrante24h {
  padding: var(--section-pad);
  background: var(--dark);
  position: relative;
}
.flagrante24h::before {
  content: '24H';
  position: absolute;
  top: 50%; right: -2%;
  transform: translateY(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: 28vw;
  font-weight: 700;
  color: rgba(184,150,90,0.04);
  pointer-events: none;
  user-select: none;
  line-height: 1;
}
.flag-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.flag-sticky { position: sticky; top: 110px; }
.flag-sticky .section-title { font-size: 40px; line-height: 48px; }
.flag-desc {
  color: rgba(255,255,255,0.5);
  font-size: 16px;
  line-height: 1.8;
  margin-top: 20px;
}
.flag-list { display: flex; flex-direction: column; }
.flag-row {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 36px 0;
  border-bottom: 1px solid rgba(184,150,90,0.1);
  transition: all 0.3s;
  position: relative;
}
.flag-row:first-child { border-top: 1px solid rgba(184,150,90,0.1); }
.flag-row::before {
  content: '';
  position: absolute;
  left: -40px; top: 0; bottom: 0;
  width: 2px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s;
}
.flag-row:hover::before { transform: scaleY(1); }
.flag-row-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(184,150,90,0.25);
  border-radius: 4px;
  transition: border-color 0.3s;
}
.flag-row:hover .flag-row-icon { border-color: rgba(184,150,90,0.6); }
.flag-row-icon svg { width: 20px; height: 20px; stroke: var(--gold); opacity: 0.65; transition: opacity 0.3s; }
.flag-row:hover .flag-row-icon svg { opacity: 1; }
.flag-row-content { flex: 1; }
.flag-row-content h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.4;
  transition: color 0.3s;
}
.flag-row:hover .flag-row-content h4 { color: var(--gold-light); }
.flag-row-content p { font-size: 15px; color: rgba(255,255,255,0.45); line-height: 1.75; }
.flag-row-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 300;
  color: rgba(184,150,90,0.2);
  letter-spacing: 2px;
  flex-shrink: 0;
  line-height: 1;
  align-self: center;
}

/* ===== SERVICES ===== */
.services {
  padding: var(--section-pad);
  background: var(--cream-2);
  position: relative;
}
.services::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(184,150,90,0.2), transparent);
}
.services-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.services-sticky { position: sticky; top: 110px; }
.services-sticky .section-title { font-size: 40px; line-height: 48px; }
.services-sticky p { color: var(--text-light); font-size: 16px; line-height: 1.8; margin-top: 20px; }
.services-sticky-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  padding: 13px 28px;
  background: var(--dark);
  border-radius: 4px;
  color: var(--white);
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.3s;
}
.services-sticky-cta:hover { background: var(--gold); color: var(--dark); }

.services-list { display: flex; flex-direction: column; }
.service-row {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding: 36px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: all 0.3s;
  position: relative;
}
.service-row:first-child { border-top: 1px solid rgba(0,0,0,0.06); }
.service-row::before {
  content: '';
  position: absolute;
  left: -40px; top: 0; bottom: 0;
  width: 2px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s;
}
.service-row:hover::before { transform: scaleY(1); }
.service-index {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 300;
  color: rgba(184,150,90,0.35);
  letter-spacing: 2px;
  flex-shrink: 0;
  line-height: 1;
  min-width: 44px;
}
.service-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.75;
}
.service-content p { font-size: 16px; color: var(--text-light); line-height: 1.8; }
.service-arrow { display: none; }

/* ===== CONTACT ===== */
.contact {
  padding: var(--section-pad);
  background: var(--cream);
  position: relative;
}
.contact::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(184,150,90,0.2), transparent);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}
.contact-left .section-title { margin-bottom: 16px; }
.contact-intro { color: var(--text-light); font-size: 16px; line-height: 1.8; margin-bottom: 52px; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 32px;
}
.contact-detail-icon {
  width: 44px; height: 44px;
  border: 1px solid rgba(184,150,90,0.25);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon svg {
  width: 18px; height: 18px;
  stroke: var(--gold);
  stroke-width: 1.5;
  fill: none;
}
.contact-detail-label {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.contact-detail-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--dark);
  text-decoration: none;
  line-height: 1.75;
  transition: color 0.3s;
}
a.contact-detail-value:hover { color: var(--gold); }

.contact-form { display: flex; flex-direction: column; gap: 0; }
.form-field { position: relative; margin-bottom: 24px; }
.form-field label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 8px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 14px 0;
  font-family: 'Jost', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  color: var(--dark);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(0,0,0,0.12);
  outline: none;
  transition: border-color 0.3s;
  border-radius: 0;
}
.form-field input:focus,
.form-field textarea:focus { border-bottom-color: var(--gold); }
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(0,0,0,0.25); }
.form-field textarea { min-height: 110px; resize: none; }

.form-line {
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.4s;
}
.form-field input:focus ~ .form-line,
.form-field textarea:focus ~ .form-line { width: 100%; }

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px;
  background: var(--dark);
  color: var(--white);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Jost', sans-serif;
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: all 0.35s;
  position: relative;
  overflow: hidden;
  margin-top: 12px;
  align-self: flex-start;
}
.btn-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateX(-101%);
  transition: transform 0.35s cubic-bezier(0.76,0,0.24,1);
}
.btn-submit:hover::before { transform: translateX(0); }
.btn-submit:hover { color: var(--dark); }
.btn-submit span, .btn-submit svg { position: relative; z-index: 1; }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .hero-inner   { padding: 130px 24px 80px; }
  .hero-scale   { display: none; }
  .about-grid   { grid-template-columns: 1fr; gap: 60px; }
  .about-visual { max-width: 380px; margin: 0 auto; }
  .flag-layout  { grid-template-columns: 1fr; gap: 48px; }
  .flag-sticky  { position: relative; top: 0; }
  .areas-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .services-layout { grid-template-columns: 1fr; }
  .services-sticky { position: relative; top: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 60px; }
}
@media (max-width: 640px) {
  .about-info   { grid-template-columns: 1fr 1fr; }
  .hero-ornament { display: none; }
}
