/* ============================================================
   VIANA CONSULTANCY — style.css
   ============================================================ */

:root {
  --gold:       #C9A227;
  --gold-dark:  #A8841F;
  --navy:       #1B2A4A;
  --navy-2:     #2A3F6B;
  --light-bg:   #F5F5F5;
  --white:      #ffffff;
  --text:       #1a1a1a;
  --muted:      #555555;
  --card-bdr:   rgba(201, 162, 39, 0.38);
  --nav-h:      80px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-padding-top: var(--nav-h); font-size: 16px; }
body {
  font-family: 'Figtree', sans-serif;
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- Container ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ---- Section helpers ---- */
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: .75rem;
}
.section-title.centered { text-align: center; }
.gold { color: var(--gold); }

.divider-center {
  width: 70px; height: 3px;
  background: var(--gold);
  margin: 0 auto 2.5rem;
  border-radius: 2px;
}
.divider-left {
  width: 70px; height: 3px;
  background: var(--gold);
  margin: 0 0 1.5rem;
  border-radius: 2px;
}
.section-head { margin-bottom: 2.5rem; }
.cta-center { text-align: center; margin-top: 2.5rem; }

/* ---- Buttons ---- */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--gold);
  color: var(--navy);
  font-family: 'Figtree', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  padding: .85rem 1.75rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .18s, box-shadow .2s;
}
.btn-gold:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,162,39,.35);
}
.btn-block { width: 100%; justify-content: center; }

.btn-navy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: var(--navy);
  color: #fff;
  font-family: 'Figtree', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  padding: .85rem 1.75rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background .2s;
}
.btn-navy:hover { background: var(--navy-2); }
.btn-navy.btn-block { width: 100%; }

.btn-icon { width: 18px; height: 18px; flex-shrink: 0; }

/* ---- Form inputs ---- */
.form-input {
  display: block;
  width: 100%;
  padding: .85rem 1rem;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  font-family: 'Figtree', sans-serif;
  font-size: 1rem;
  color: var(--text);
  background: #fff;
  margin-bottom: .75rem;
  transition: border-color .2s;
}
.form-input:focus { outline: none; border-color: var(--gold); }
.form-input::placeholder { color: #aaa; }

/* Phone wrapper - intl-tel-input */
.phone-wrap { margin-bottom: .75rem; }
.phone-wrap .iti { width: 100%; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  transition: background .3s, box-shadow .3s;
}
.navbar.scrolled {
  background: #fff;
  box-shadow: 0 2px 16px rgba(0,0,0,.1);
}
.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.logo-link { display: flex; align-items: center; }
.logo-img { height: 58px; width: auto; }

.nav-menu { display: flex; align-items: center; gap: 2rem; }
.nav-link {
  font-weight: 600;
  font-size: .9rem;
  color: #fff;
  position: relative;
  padding-bottom: 2px;
  transition: color .2s;
  cursor: pointer;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width .2s;
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }
.navbar.scrolled .nav-link { color: var(--text); }
.navbar.scrolled .nav-link:hover { color: var(--gold); }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}
.burger span {
  display: block;
  width: 25px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s, opacity .3s, background .3s;
}
.navbar.scrolled .burger span { background: var(--text); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 800;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
}
.mobile-menu.open { display: flex; }
.mobile-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 1;
}
.mobile-nav-link {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  transition: color .2s;
}
.mobile-nav-link:hover { color: var(--gold); }

/* ============================================================
   HERO
   ============================================================ */
.above-fold {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero-section {
  position: relative;
  flex: 1;
  min-height: 400px;
  background: #16110d;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}
.hero-bg-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: .90;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(0,0,0,.60) 0%,
    rgba(0,0,0,.35) 55%,
    rgba(0,0,0,.10) 100%
  );
}
.hero-content {
  position: absolute;
  z-index: 2;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--container-max, 1200px);
  padding-left: var(--container-pad, 1.5rem);
  padding-right: var(--container-pad, 1.5rem);
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 3rem;
  align-items: end;
}

/* Rating badge */
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50px;
  padding: .4rem 1rem;
  margin-bottom: 1.25rem;
}
.rating-text { font-size: .82rem; color: #fff; font-weight: 500; white-space: nowrap; }
.stars { display: flex; gap: 2px; }
.stars svg { width: 14px; height: 14px; color: var(--gold); }

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.hero-subtitle { color: rgba(255,255,255,.8); font-size: 1rem; max-width: 460px; }

/* Hero form card */
.hero-form-card {
  background: #fff;
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
.hero-form-card form { display: flex; flex-direction: column; }

/* ============================================================
   STATS
   ============================================================ */
.stats-section {
  background: #fff;
  padding: 3.5rem 0;
  border-bottom: 1px solid #eee;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 2rem;
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: .75rem 1rem;
}
.stat-icon { width: 54px; height: 54px; flex-shrink: 0; color: var(--gold); }
.stat-num {
  font-size: clamp(1.75rem, 2.8vw, 2.25rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: .2rem;
}
.stat-label { font-size: .97rem; font-weight: 600; color: var(--text); }

/* ============================================================
   ABOUT
   ============================================================ */
.about-section {
  background: var(--light-bg);
  padding: 5rem 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-img-wrap { display: flex; justify-content: center; }
.photo-frame { position: relative; max-width: 460px; width: 100%; }
.photo-frame::after {
  content: '';
  position: absolute;
  bottom: -18px; right: -18px;
  width: 90px; height: 90px;
  background: var(--navy);
  border-radius: 0 0 16px 0;
  z-index: 0;
}
.about-img, .team-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 14px 14px 14px 0;
}
.about-text p { color: var(--muted); margin-bottom: .85rem; font-size: .97rem; }
.about-text p strong { color: var(--text); }

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews-section { background: #fff; padding: 5rem 0; }

.slider-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.slider-viewport { flex: 1; overflow: hidden; }
.slider-track {
  display: flex;
  gap: 1.25rem;
  transition: transform .4s cubic-bezier(.25,.46,.45,.94);
}
.review-card {
  flex: 0 0 calc(25% - 1rem);
  min-width: 220px;
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 10px;
  padding: 1.25rem;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
.rc-header { display: flex; justify-content: space-between; align-items: flex-start; }
.rc-profile { display: flex; gap: .7rem; align-items: center; }
.rc-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .95rem; color: #fff;
  flex-shrink: 0;
}
.rc-name { font-weight: 700; font-size: .88rem; }
.rc-date { font-size: .75rem; color: #999; }
.google-icon { width: 20px; height: 20px; flex-shrink: 0; }
.rc-stars { display: flex; gap: 1px; align-items: center; }
.rc-stars svg { width: 15px; height: 15px; color: #FBBC04; }
.rc-check { color: #4285F4; font-size: .8rem; margin-left: 3px; }
.rc-text { font-size: .85rem; color: #444; line-height: 1.6; }
.rc-more { font-size: .82rem; font-weight: 600; color: var(--navy); cursor: pointer; }
.rc-more:hover { color: var(--gold); }

.slider-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid #ddd;
  background: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--text);
  transition: background .2s, border-color .2s, color .2s;
}
.slider-btn:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.slider-btn svg { width: 18px; height: 18px; }

.trustindex-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: #00a97c;
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  padding: .3rem .8rem;
  border-radius: 4px;
  float: right;
}
.trustindex-badge svg { width: 14px; height: 14px; }

/* ============================================================
   WHY US
   ============================================================ */
.why-section { background: var(--light-bg); padding: 5rem 0; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 1.5rem;
}
.why-card {
  background: #fff;
  border: 1.5px solid var(--card-bdr);
  border-radius: 12px;
  padding: 1.75rem;
}
.why-card-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.why-icon { width: 44px; height: 44px; flex-shrink: 0; color: var(--gold); }
.why-title { font-size: 1rem; font-weight: 700; }
.why-hr { border: none; border-top: 1px solid #eee; margin: 0 0 1rem; }
.why-desc { font-size: .92rem; color: var(--muted); line-height: 1.65; }

/* ============================================================
   TEAM
   ============================================================ */
.team-section { background: #fff; padding: 5rem 0; }
.team-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4.5rem;
}
.team-row:last-of-type { margin-bottom: 0; }
.team-name { font-size: clamp(1.75rem,3vw,2.25rem); font-weight: 700; margin-bottom: .2rem; }
.team-role { font-size: .92rem; color: var(--muted); font-style: italic; margin-bottom: 1.25rem; }
.team-text p { color: var(--muted); font-size: .97rem; margin-bottom: .85rem; }
.team-text p strong { color: var(--text); }
.team-photo-wrap { display: flex; justify-content: center; }
.team-photo { border-radius: 14px 14px 14px 0; }

/* Right accent (Patricia) */
.frame-right::after {
  right: -18px; left: auto;
  border-radius: 0 0 16px 0;
}
/* Left accent (Bruna) */
.frame-left::after {
  left: -18px; right: auto;
  border-radius: 0 0 0 16px;
}
.frame-left .team-photo { border-radius: 14px 14px 0 14px; }

/* Reverse row: photo left, text right */
.team-row-reverse { }

/* ============================================================
   PROCESS
   ============================================================ */
.process-section { background: var(--light-bg); padding: 5rem 0; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.5rem;
}
.process-card {
  background: #fff;
  border: 1.5px solid var(--card-bdr);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.process-card-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .85rem;
}
.process-icon { width: 52px; height: 52px; color: var(--gold); }
.process-title { font-size: .97rem; font-weight: 700; text-align: center; }
.process-desc { font-size: .9rem; color: var(--muted); text-align: center; line-height: 1.65; }

/* ============================================================
   BOOK NOW (Calendly)
   ============================================================ */
.book-section { background: #fff; padding: 5rem 0; }

/* ============================================================
   DOWNLOAD
   ============================================================ */
.download-section { background: var(--light-bg); padding: 5rem 0; }
.download-card {
  background: #fff;
  border-radius: 14px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  box-shadow: 0 4px 24px rgba(0,0,0,.07);
}
.download-text p { color: var(--muted); font-size: .97rem; margin-bottom: .75rem; }
.download-text em { color: #888; font-size: .88rem; }
.download-form-wrap form { display: flex; flex-direction: column; }

/* ============================================================
   SERVICES
   ============================================================ */
.services-section { background: #fff; padding: 5rem 0; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 1.25rem;
}
.service-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border: 1.5px solid var(--card-bdr);
  border-radius: 10px;
  padding: 1.4rem 1.5rem;
  font-weight: 600;
  font-size: .93rem;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
  cursor: default;
}
.service-item:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(201,162,39,.15);
}
.service-item-full { grid-column: 1 / -1; max-width: 50%; }
.svc-icon { width: 28px; height: 28px; flex-shrink: 0; color: var(--gold); }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  position: relative;
  min-height: 520px;
  background: #16110d;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 5rem 0;
}
.final-cta-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
}
.final-cta-bg img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.final-cta-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    100deg,
    rgba(0,0,0,.92) 0%,
    rgba(0,0,0,.75) 50%,
    rgba(0,0,0,.35) 100%
  );
}
.final-cta-inner { position: relative; z-index: 2; }
.final-cta-text { max-width: 560px; }
.final-title {
  font-size: clamp(1.75rem,3.5vw,2.5rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: .85rem;
}
.final-cta-text p { color: rgba(255,255,255,.8); font-size: .97rem; margin-bottom: 1.5rem; }
.final-sub {
  color: rgba(255,255,255,.72) !important;
  font-size: .88rem !important;
  margin-top: 1.5rem !important;
}
.final-sub strong { color: #fff; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--light-bg); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 3rem;
  padding: 4rem 1.5rem;
}
.footer-logo { height: 80px; width: auto; margin-bottom: 1.25rem; }
.footer-contact-link {
  display: block;
  font-size: .88rem;
  color: var(--text);
  margin-bottom: .5rem;
  transition: color .2s;
}
.footer-contact-link:hover { color: var(--gold); }
.footer-contact-link small { color: #999; font-size: .8rem; }
.footer-socials { display: flex; gap: .65rem; margin-top: 1.25rem; }
.social-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid #ccc;
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  transition: border-color .2s, color .2s;
  cursor: pointer;
}
.social-btn:hover { border-color: var(--gold); color: var(--gold); }
.social-btn svg { width: 15px; height: 15px; }

.footer-col-title { font-size: .97rem; font-weight: 700; margin-bottom: 1.25rem; }
.footer-col nav { display: flex; flex-direction: column; gap: .5rem; }
.footer-link { font-size: .88rem; color: var(--muted); transition: color .2s; }
.footer-link:hover { color: var(--gold); }
.footer-services { padding: 0; }
.footer-services li { font-size: .88rem; color: var(--muted); margin-bottom: .45rem; }

.footer-bottom { background: var(--gold); padding: 1rem 0; }
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  font-size: .83rem;
  color: var(--navy);
  font-weight: 500;
}
.footer-legal-link { color: var(--navy); font-weight: 600; transition: opacity .2s; }
.footer-legal-link:hover { opacity: .7; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease var(--d, 0s), transform .6s ease var(--d, 0s);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .fade-in { transition: none; }
  /* scroll-behavior is handled via JS */
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-bg-photo img { opacity: .75; }
  .hero-form-card { max-width: 480px; width: 100%; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .team-row { grid-template-columns: 1fr; gap: 2.5rem; }
  .team-row-reverse .team-photo-wrap { order: -1; }
  .download-card { grid-template-columns: 1fr; }
  .final-cta-bg { opacity: .35; }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .burger { display: flex; }

  .stats-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .why-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .service-item-full { grid-column: auto; max-width: none; }

  .review-card { flex: 0 0 calc(100% - 0px); }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 1.5rem; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }

  .download-card { padding: 2rem 1.5rem; }
  .hero-section { padding-top: calc(var(--nav-h) + 1rem); }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.85rem; }
  .process-grid { gap: 1rem; }
  .why-grid { gap: 1rem; }
}
