/* ===========================
   RESET & BASE
=========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #1C2B4A;
  --navy-dark: #141F36;
  --gold: #C8973E;
  --gold-dark: #A87D30;
  --gold-light: #D4A955;
  --cream: #FAF6F0;
  --cream-dark: #F0EBE3;
  --white: #FFFFFF;
  --gray: #E8E0D8;
  --gray-text: #6B7280;
  --font: 'Montserrat', sans-serif;
  --serif: 'Playfair Display', Georgia, serif;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--navy);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  user-select: none;
  -webkit-user-select: none;
}

img { max-width: 100%; display: block; -webkit-user-drag: none; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===========================
   BUTTONS
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  transition: all .2s;
  cursor: pointer;
  line-height: 1.3;
}
.btn--dark {
  background: var(--navy);
  color: var(--white);
  border: 2px solid var(--navy);
}
.btn--dark:hover { background: var(--navy-dark); border-color: var(--navy-dark); }

.btn--outline-dark {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn--outline-dark:hover { background: var(--navy); color: var(--white); }
.btn--outline-dark:hover svg { stroke: var(--white); }

.btn--gold {
  background: var(--gold);
  color: var(--white);
  border: 2px solid var(--gold);
  font-size: 15px;
  padding: 16px 32px;
}
.btn--gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); }

.btn--header {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.5);
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}
.btn--header:hover { border-color: var(--white); background: rgba(255,255,255,.1); }

/* ===========================
   SECTION TITLE
=========================== */
.section-title {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
  color: var(--navy);
  font-style: normal;
}

/* ===========================
   HEADER
=========================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--gray);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo__img { height: 44px; width: auto; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all .2s;
  white-space: nowrap;
}
.nav__link:hover { color: var(--gold); }

.header .btn--header {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  margin-left: 8px;
  flex-shrink: 0;
}
.header .btn--header:hover { background: var(--navy-dark); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--navy); border-radius: 2px; transition: all .3s;
}

/* ===========================
   HERO
=========================== */
.hero {
  position: relative;
  background: var(--navy);
  padding: 64px 0 48px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/properecon-capa.png') center/cover no-repeat;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(13,20,32,.88) 0%, rgba(28,43,74,.8) 55%, rgba(13,20,32,.85) 100%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.hero__title {
  font-family: var(--serif);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  font-style: italic;
  max-width: 760px;
  margin: 0 auto;
}
.hero__title span { color: var(--gold); }
.hero__line {
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin: 24px auto;
  border-radius: 2px;
}
.hero__desc {
  color: rgba(255,255,255,.8);
  font-size: 15px;
  line-height: 1.7;
  margin: 0 auto 32px;
  max-width: 460px;
}
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero .btn--outline-dark {
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.hero .btn--outline-dark:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.hero .btn--outline-dark svg { stroke: var(--white); }
.hero .btn--outline-dark:hover svg { stroke: var(--navy); }

/* ===========================
   TIPOS DE COTAS
=========================== */
.tipos {
  padding: 80px 0;
  background: var(--cream);
}
.tipos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tipo-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s;
  border: 1px solid var(--gray);
}
.tipo-card:hover { transform: translateY(-4px); }
.tipo-card__img {
  height: 48px;
  background-size: cover;
  background-position: center;
}
.tipo-card__img--contemplado,
.tipo-card__img--nao-contemplado,
.tipo-card__img--cancelado { background: var(--navy); }
.tipo-card__body {
  padding: 20px;
  position: relative;
}
.tipo-card__badge {
  position: absolute;
  top: -20px;
  left: 20px;
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
  border: 1px solid var(--gray);
}
.tipo-card h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
  margin-top: 4px;
}
.tipo-card p {
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.5;
}

/* ===========================
   QUEM SOMOS
=========================== */
.sobre {
  padding: 80px 0;
  background: var(--white);
}
.sobre__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.section-title--left {
  text-align: left;
}
.section-title--left::after {
  display: none;
}
.sobre__content p {
  color: var(--gray-text);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 16px;
}
.sobre__values {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 16px;
}
.valor-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--cream);
  border: 1px solid var(--gray);
  border-radius: 12px;
  padding: 20px;
}
.valor-item svg { flex-shrink: 0; margin-top: 2px; }
.valor-item strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 2px;
}
.valor-item span {
  font-size: 13px;
  color: var(--gray-text);
}

/* ===========================
   GALERIA
=========================== */
.galeria {
  padding: 0 0 80px;
  background: var(--white);
}
.galeria__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.galeria__item {
  height: 260px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.galeria__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

/* ===========================
   FAQ / DÚVIDAS
=========================== */
.faq {
  padding: 80px 0;
  background: var(--cream);
}
.faq__cols {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: start;
}
.faq__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq__item {
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: 12px;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.faq__item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.faq__item summary {
  padding: 18px 24px;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq__item summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform .2s;
}
.faq__item[open] summary::after {
  content: '−';
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item p {
  padding: 0 24px 18px;
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.7;
}

/* ===========================
   COMO FUNCIONA (Steps)
=========================== */
.como-funciona {
  padding: 80px 0;
  background: var(--white);
}
.steps {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
  position: relative;
}
.step {
  flex: 1;
  text-align: center;
  position: relative;
  max-width: 200px;
}
.step__icon {
  width: 64px;
  height: 64px;
  background: var(--cream);
  border: 2px solid var(--gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  position: relative;
  z-index: 2;
}
.step__line {
  position: absolute;
  top: 32px;
  left: calc(50% + 36px);
  width: calc(100% - 72px);
  height: 0;
  border-top: 2px dotted var(--gray);
  z-index: 1;
}
.step:last-child .step__line { display: none; }
.step__num {
  display: block;
  font-size: 18px;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 6px;
}
.step p {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
}

/* ===========================
   BLOG
=========================== */
.blog {
  padding: 80px 0;
  background: var(--white);
}
.blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog__empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 24px;
  color: var(--gray-text);
  font-size: 14px;
  background: var(--cream);
  border: 1px dashed var(--gray);
  border-radius: var(--radius);
}
.blog__card {
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.blog__card:hover { transform: translateY(-4px); }
.blog__card summary {
  list-style: none;
  cursor: pointer;
}
.blog__card summary::-webkit-details-marker { display: none; }
.blog__card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.blog__card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.blog__date {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: .3px;
}
.blog__card h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
}
.blog__card-body p {
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.5;
}
.blog__card-full {
  padding: 0 20px 20px;
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.7;
  white-space: pre-wrap;
}

/* ===========================
   CTA BANNER
=========================== */
.cta-banner {
  padding: 0;
  background: var(--cream);
}
.cta-banner__inner {
  background: var(--navy);
  border-radius: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  min-height: 320px;
  margin: 0 0 64px;
}
.cta-banner__text {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cta-banner__text h2 {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 12px;
}
.cta-banner__text h2 span {
  color: var(--gold);
  font-style: italic;
}
.cta-banner__text p {
  color: rgba(255,255,255,.7);
  font-size: 14px;
  margin-bottom: 28px;
}
.cta-banner__inner--full {
  grid-template-columns: 1fr;
  text-align: center;
  padding: 64px 48px;
}
.cta-banner__text--centered {
  align-items: center;
}
.cta-banner__text--centered p {
  text-align: center;
}

/* ===========================
   DEPOIMENTOS
=========================== */
.depoimentos {
  padding: 80px 0;
  background: var(--white);
}
.depoimentos__viewport {
  overflow: hidden;
}
.depoimentos__track {
  display: flex;
  align-items: stretch;
  gap: 24px;
  width: max-content;
  animation: depoimentos-scroll 32s linear infinite;
}
.depoimentos__viewport:hover .depoimentos__track {
  animation-play-state: paused;
}
@keyframes depoimentos-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.depoimento-card {
  flex: 0 0 340px;
  background: var(--cream);
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.depoimento-stars {
  color: var(--gold);
  font-size: 15px;
  letter-spacing: 2px;
}
.depoimento-quote {
  font-size: 14px;
  color: var(--navy);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}
.depoimento-autor strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
}
.depoimento-autor span {
  font-size: 12px;
  color: var(--gray-text);
}
.depoimento-card--video {
  flex-basis: 220px;
  padding: 0;
  overflow: hidden;
  background: var(--navy);
}
.depoimento-video {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
}
.depoimento-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===========================
   FOOTER
=========================== */
.footer {
  background: var(--cream);
  padding: 48px 0 0;
  border-top: 1px solid var(--gray);
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--gray);
}
.footer__brand p {
  color: var(--gray-text);
  font-size: 13px;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 300px;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 8px;
}
.footer__links a {
  color: var(--gray-text);
  font-size: 13px;
  font-weight: 500;
  transition: color .2s;
}
.footer__links a:hover { color: var(--gold); }

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 8px;
}
.footer__contact a,
.footer__contact span {
  color: var(--gray-text);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer__contact a { font-weight: 600; transition: color .2s; }
.footer__contact a:hover { color: var(--gold); }

.footer__bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  text-align: center;
}
.footer__bottom p {
  color: var(--gray-text);
  font-size: 12px;
  opacity: .7;
}
.footer__dev {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--gray-text);
  opacity: .8;
  transition: opacity .2s;
}
.footer__dev:hover { opacity: 1; }
.footer__dev img { height: 18px; width: auto; display: block; }

/* ===========================
   WHATSAPP FAB
=========================== */
.whatsapp-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  z-index: 200;
  transition: transform .2s;
}
.whatsapp-fab:hover { transform: scale(1.1); }

/* ===========================
   REVEAL ON SCROLL
=========================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1100px) {
  .tipos__grid { grid-template-columns: repeat(2, 1fr); }
  .blog__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .sobre__inner { grid-template-columns: 1fr; gap: 32px; }
  .galeria__grid { grid-template-columns: 1fr 1fr; }
  .galeria__item { height: 220px; }

  .steps { flex-wrap: wrap; gap: 24px; }
  .step__line { display: none; }
  .step { flex: 0 0 calc(33% - 20px); }
  .cta-banner__inner { grid-template-columns: 1fr; }
  .cta-banner__visual { display: none; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .nav, .header .btn--header { display: none; }
  .hamburger { display: flex; }

  .nav.nav--open {
    display: flex;
    position: fixed;
    top: 72px;
    left: 0; right: 0; bottom: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 24px;
    z-index: 99;
    overflow-y: auto;
    border-top: 1px solid var(--gray);
  }
  .nav--open .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .nav--open .nav__link {
    font-size: 18px;
    padding: 14px 0;
    border-bottom: 1px solid var(--gray);
    width: 100%;
    border-radius: 0;
  }

  .hero { padding: 32px 0 24px; }
  .hero__title { font-size: 28px; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; justify-content: center; }

  .tipos { padding: 48px 0; }
  .tipos__grid { grid-template-columns: 1fr; gap: 12px; }
  .tipo-card__img { height: 36px; }
  .tipo-card__body { padding: 16px; }
  .tipo-card h3 { font-size: 14px; }

  .como-funciona { padding: 48px 0; }
  .steps { flex-direction: row; flex-wrap: wrap; gap: 16px; justify-content: center; }
  .step { flex: 0 0 calc(33% - 12px); max-width: none; }
  .step__icon { width: 48px; height: 48px; }
  .step__icon svg { width: 20px; height: 20px; }
  .step__num { font-size: 14px; }
  .step p { font-size: 11px; }

  .cta-banner__text { padding: 32px 20px; }
  .cta-banner__inner,
  .cta-banner__inner--full { border-radius: 16px; margin: 0 0 48px; }
  .cta-banner__inner--full { padding: 40px 20px; }

  .sobre { padding: 48px 0; }
  .galeria { padding: 0 0 48px; }
  .galeria__grid { grid-template-columns: 1fr; }
  .galeria__item { height: 260px; }
  .faq { padding: 48px 0; }
  .faq__cols { grid-template-columns: 1fr; }
  .blog { padding: 48px 0; }
  .blog__grid { grid-template-columns: 1fr; }
  .faq__item summary { padding: 14px 16px; font-size: 14px; }
  .faq__item p { padding: 0 16px 14px; font-size: 13px; }
  .cta-banner__text h2 { font-size: 22px; }
  .btn--gold { padding: 14px 24px; font-size: 14px; width: 100%; justify-content: center; }

  .depoimentos { padding: 48px 0; }
  .depoimento-card { flex-basis: 280px; }
  .depoimento-card--video { flex-basis: 170px; }

  .footer__inner { grid-template-columns: 1fr; gap: 24px; }
  .footer { padding: 32px 0 0; }
  .footer__bottom { flex-direction: column; }

  .whatsapp-fab { bottom: 16px; right: 16px; width: 52px; height: 52px; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 23px; }
  .hero__desc { font-size: 14px; }
  .step { flex: 0 0 calc(50% - 12px); }
  .galeria__item { height: 220px; }
  .blog__card img { height: 150px; }
}
