/* ==========================================================================
   Brunno Scardua, Negócios Imobiliários
   ========================================================================== */

:root {
  --navy-900: #0a1e33;
  --navy-800: #0f2a4a;
  --navy-700: #16385f;
  --navy-600: #1e4676;
  --gold-600: #b8933d;
  --gold-500: #c9a24b;
  --gold-400: #dcb96a;
  --gold-100: #f6ecd6;
  --cream: #faf8f4;
  --white: #ffffff;
  --ink: #1a2330;
  --ink-soft: #55606f;
  --line: #e7e2d8;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1180px;
  --radius: 14px;
  --shadow-md: 0 8px 30px rgba(15, 42, 74, 0.10);
  --shadow-lg: 0 20px 60px rgba(15, 42, 74, 0.18);
  --transition: 0.35s cubic-bezier(.22,.9,.32,1);
}

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

html { scroll-behavior: smooth; }

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

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

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

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

.icon { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }
.icon--gold { fill: var(--gold-500); }

.text-gold { color: var(--gold-500); }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-600);
  display: block;
  margin-bottom: 14px;
}
.eyebrow--light { color: var(--gold-400); }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
  color: var(--navy-800);
  margin-bottom: 18px;
}
.section-title--light { color: var(--white); }

.section-sub {
  color: var(--ink-soft);
  font-size: 17px;
  max-width: 560px;
}

.section-head { text-align: center; max-width: 700px; margin: 0 auto 56px; }
.section-head .section-sub { margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary { background: var(--navy-800); color: var(--white); }
.btn--primary:hover { background: var(--navy-700); box-shadow: var(--shadow-md); }

.btn--gold { background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); color: var(--navy-900); }
.btn--gold:hover { box-shadow: 0 12px 30px rgba(201, 162, 75, 0.4); }

.btn--outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn--outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

.btn--lg { padding: 16px 34px; font-size: 16px; }
.btn--full { width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.0);
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  padding: 20px 0;
}
.header.is-scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(15,42,74,0.08);
  padding: 12px 0;
}

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

.logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  padding: 10px 20px;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  transition: padding var(--transition), box-shadow var(--transition);
  flex-shrink: 0;
}
.header.is-scrolled .logo-badge { padding: 8px 18px; box-shadow: 0 2px 10px rgba(15,42,74,0.10); border: 1px solid var(--line); }

.header__logo { height: 80px; width: auto; display: block; transition: height var(--transition); }
.header.is-scrolled .header__logo { height: 66px; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav__link {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--white);
  transition: color var(--transition);
  position: relative;
}
.header.is-scrolled .nav__link { color: var(--navy-800); }
.nav__link::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--gold-500);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.nav__link:hover::after { transform: scaleX(1); }
.nav__link:hover { color: var(--gold-400); }
.header.is-scrolled .nav__link:hover { color: var(--gold-600); }

.header__cta { flex-shrink: 0; }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none; cursor: pointer;
  flex-shrink: 0;
}
.nav__toggle span {
  display: block; height: 2px; width: 100%;
  background: var(--white);
  transition: transform var(--transition), opacity var(--transition), background var(--transition);
}
.header.is-scrolled .nav__toggle span { background: var(--navy-800); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  padding: 140px 0 80px;
  overflow: hidden;
}

.hero__bg { position: absolute; inset: 0; opacity: 0.5; }
.hero__skyline { position: absolute; bottom: 0; left: 0; width: 100%; height: 45%; opacity: 0.6; }

.hero::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,162,75,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner { position: relative; z-index: 2; max-width: 720px; }

.hero__eyebrow {
  color: var(--gold-400);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 60px);
  line-height: 1.12;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 24px;
}

.hero__subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.78);
  max-width: 560px;
  margin-bottom: 40px;
}

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

.hero__stats { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero__stat { display: flex; flex-direction: column; }
.hero__stat-number {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  color: var(--gold-400);
  line-height: 1;
}
.hero__stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin-top: 6px;
}
.hero__stat-divider { width: 1px; height: 36px; background: rgba(255,255,255,0.2); }

/* ==========================================================================
   Motto
   ========================================================================== */
.motto {
  background: var(--navy-900);
  padding: 36px 0;
  border-top: 1px solid rgba(201,162,75,0.25);
  border-bottom: 1px solid rgba(201,162,75,0.25);
}

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

.motto__text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(16px, 2.2vw, 22px);
  color: var(--white);
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

.motto__text span { display: inline-flex; align-items: center; gap: 14px; }
.motto__text span:not(:last-child)::after {
  content: '•';
  color: var(--gold-500);
  font-size: 14px;
}
.motto__text .text-gold { font-weight: 700; }

/* ==========================================================================
   About
   ========================================================================== */
.about { padding: 120px 0; background: var(--cream); }

.about__inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: center;
}

.about__media { position: relative; }

.about__photo-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 941 / 1672;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-600));
  box-shadow: var(--shadow-lg);
}

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

.about__badge {
  position: absolute;
  bottom: -24px; right: -24px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--navy-900);
  border-radius: 50%;
  width: 118px; height: 118px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.about__badge-number { font-family: var(--font-display); font-size: 28px; font-weight: 800; line-height: 1; }
.about__badge-label { font-size: 11px; font-weight: 700; line-height: 1.3; margin-top: 4px; }

.about__text { color: var(--ink-soft); margin-bottom: 16px; font-size: 16px; }

.about__cta { display: flex; align-items: center; gap: 28px; margin-top: 32px; flex-wrap: wrap; }

.link-instagram {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--navy-800);
  transition: color var(--transition);
}
.link-instagram:hover { color: var(--gold-600); }

/* ==========================================================================
   Specialties
   ========================================================================== */
.specialties { padding: 120px 0; background: var(--navy-900); position: relative; }

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

.specialty-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: transform var(--transition), background var(--transition), border-color var(--transition);
}
.specialty-card:hover { transform: translateY(-8px); background: rgba(255,255,255,0.06); border-color: rgba(201,162,75,0.4); }

.specialty-card--featured {
  background: linear-gradient(160deg, rgba(201,162,75,0.14), rgba(201,162,75,0.04));
  border-color: rgba(201,162,75,0.35);
}

.specialty-card__icon {
  width: 56px; height: 56px;
  margin-bottom: 24px;
}
.specialty-card__icon svg { width: 100%; height: 100%; fill: var(--gold-500); }

.specialty-card__title {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--white);
  margin-bottom: 14px;
}

.specialty-card__text { color: rgba(255,255,255,0.68); font-size: 15px; }

/* ==========================================================================
   Differentials
   ========================================================================== */
.differentials { padding: 120px 0; background: var(--white); }

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

.differential { padding: 8px; }
.differential__number {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  color: var(--gold-100);
  -webkit-text-stroke: 1.5px var(--gold-500);
  display: block;
  margin-bottom: 16px;
}
.differential__title { font-size: 18px; font-weight: 700; color: var(--navy-800); margin-bottom: 10px; }
.differential__text { color: var(--ink-soft); font-size: 14.5px; }

/* ==========================================================================
   Process
   ========================================================================== */
.process { padding: 120px 0; background: linear-gradient(180deg, var(--navy-800), var(--navy-900)); }

.process-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  position: relative;
}
.process-timeline::before {
  content: '';
  position: absolute;
  top: 24px; left: 10%; right: 10%;
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(201,162,75,0.4) 0 8px, transparent 8px 16px);
  z-index: 0;
}

.process-step { position: relative; z-index: 1; text-align: center; }
.process-step__marker {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--navy-900);
  font-family: var(--font-display);
  font-weight: 700; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 20px rgba(201,162,75,0.35);
}
.process-step__title { color: var(--white); font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.process-step__text { color: rgba(255,255,255,0.62); font-size: 13.5px; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials { padding: 120px 0; background: var(--cream); }

.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}

.testimonial-card {
  flex: 1 1 300px;
  max-width: 340px;
}

.testimonial-card__video {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 9 / 16;
  background: var(--navy-900);
}
.testimonial-card__video video { width: 100%; height: 100%; object-fit: contain; background: var(--navy-900); }

.testimonial-card__video--ig {
  aspect-ratio: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
}
.testimonial-card__video--ig iframe { border-radius: var(--radius) !important; }
.testimonial-card__video--ig .instagram-media { margin: 0 !important; min-width: 0 !important; width: 100% !important; }

.testimonial-card--cta { display: block; transition: transform var(--transition); }
.testimonial-card--cta:hover { transform: translateY(-6px); }
.testimonial-card--cta:hover .testimonial-card__caption { color: var(--gold-600); }

.testimonial-card__video--placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-900));
  text-align: center;
  padding: 24px;
}
.testimonial-card__ig-icon { width: 44px; height: 44px; fill: var(--gold-400); }
.testimonial-card__video--placeholder span {
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.4;
}

.testimonial-card__caption {
  text-align: center;
  margin-top: 14px;
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 600;
  transition: color var(--transition);
}

/* ==========================================================================
   Final CTA
   ========================================================================== */
.final-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  text-align: center;
}
.final-cta__inner { max-width: 620px; margin: 0 auto; }
.final-cta__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 38px);
  color: var(--white);
  margin-bottom: 16px;
}
.final-cta__text { color: rgba(255,255,255,0.75); margin-bottom: 36px; font-size: 17px; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { padding: 120px 0; background: var(--white); }

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.contact-list { list-style: none; margin: 32px 0; display: flex; flex-direction: column; gap: 18px; }
.contact-list__item {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 15px; color: var(--ink);
}
.contact-list__item a:hover { color: var(--gold-600); }

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.contact-map iframe { display: block; filter: grayscale(0.15); }

.contact-form {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow-md);
}

.contact-form__title {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--navy-800);
  margin-bottom: 6px;
}

.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; color: var(--navy-800); }
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(201,162,75,0.15);
}

.contact-form__note { font-size: 12.5px; color: var(--ink-soft); text-align: center; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--navy-900); padding: 80px 0 0; }

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.logo-badge--footer { padding: 18px 28px; margin-bottom: 20px; }
.footer__logo { height: 96px; width: auto; display: block; }
.footer__motto { color: var(--gold-400); font-weight: 700; font-size: 14.5px; margin-bottom: 10px; }
.footer__tagline { color: rgba(255,255,255,0.55); font-size: 14.5px; max-width: 280px; }

.footer__heading { color: var(--gold-400); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 18px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col a { color: rgba(255,255,255,0.65); font-size: 14.5px; transition: color var(--transition); }
.footer__col a:hover { color: var(--gold-400); }

.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
  padding: 24px 0;
  color: rgba(255,255,255,0.4);
  font-size: 13px;
}

/* ==========================================================================
   Floating WhatsApp
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.45);
  z-index: 99;
  animation: pulse 2.4s infinite;
  transition: transform var(--transition);
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 32px; height: 32px; fill: var(--white); }

@keyframes pulse {
  0% { box-shadow: 0 8px 24px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 8px 24px rgba(37,211,102,0.45), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 8px 24px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0); }
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .about__inner { grid-template-columns: 1fr; gap: 56px; }
  .about__media { max-width: 380px; margin: 0 auto; }
  .differentials-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .process-timeline { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .process-timeline::before { display: none; }
  .contact__inner { grid-template-columns: 1fr; gap: 56px; }
  .specialty-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .nav {
    position: fixed; top: 0; right: -100%; height: 100vh; width: min(320px, 80vw);
    background: var(--white);
    flex-direction: column; align-items: flex-start;
    padding: 100px 32px 32px;
    gap: 24px;
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
    transition: right var(--transition);
    z-index: 90;
  }
  .nav.is-open { right: 0; }
  .nav__link { color: var(--navy-800) !important; font-size: 17px; }
  .nav__toggle { display: flex; }
  .header__cta { display: none; }

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

  .logo-badge { padding: 8px 16px; }
  .header.is-scrolled .logo-badge { padding: 6px 14px; }
  .header__logo { height: 60px; }
  .header.is-scrolled .header__logo { height: 50px; }

  .hero { padding: 120px 0 60px; text-align: left; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .hero__stats { gap: 18px; }

  .about, .specialties, .differentials, .process, .testimonials, .contact, .final-cta { padding: 80px 0; }

  .differentials-grid { grid-template-columns: 1fr; gap: 32px; }
  .process-timeline { grid-template-columns: 1fr; gap: 32px; }
  .testimonial-card { max-width: 340px; width: 100%; }

  .footer__inner { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; text-align: center; }

  .about__badge { width: 96px; height: 96px; bottom: -16px; right: -16px; }
  .about__badge-number { font-size: 22px; }
  .about__badge-label { font-size: 10px; }

  .contact-form { padding: 28px; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 32px; }
  .hero__stats { flex-wrap: wrap; row-gap: 20px; }
}
