/* ==========================================================
   Quezia Barros — Landing page
   Base: Figma "Quezia" · frame 1920w light
   ========================================================== */

:root {
  /* Cores */
  --wine: #4f0701;
  --gold: #d4a76a;
  --gold-line: rgba(212, 167, 106, .22);
  --ink: #1a1a1a;
  --ink-2: #2a2a2a;
  --muted: #666666;
  --muted-dark: #8a8a8a;
  --soft: #d0d0d0;
  --line: #e0e0e0;
  --sand: #d9d2c8;
  --off: #f9f9f9;
  --white: #ffffff;

  /* Tipografia */
  --serif: "Prata", Georgia, serif;
  --text: "Lora", Georgia, serif;

  /* Layout */
  --container: 1200px;
  --gutter: 24px;
  --section-y: 100px;
  --radius: 8px;
  --shadow: 0 2px 8px rgba(0, 0, 0, .08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, .16);
}

/* Reset ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 83px; }
body {
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.625;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; }

/* Utilitários --------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.bar {
  display: block;
  width: 60px;
  height: 4px;
  border-radius: 2px;
  background: var(--gold);
}

.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 36px;
  line-height: 1.2;
}

.h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 30px;
}

.eyebrow {
  display: block;
  font-size: 13px;
  line-height: 17px;
  letter-spacing: .14em;
  color: var(--gold);
}

.link {
  display: inline-block;
  font-weight: 600;
  line-height: 20px;
  color: var(--gold);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--gold);
  transition: opacity .2s;
}
.link:hover { opacity: .75; }

.ornament {
  width: 81px;
  height: 35px;
  object-fit: contain;
}

/* Botões --------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 18px 40px;
  border-radius: 4px;
  font-family: var(--text);
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  text-align: center;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }

.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #ddb57e; }

.btn--ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .45);
}
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .06); }

.btn--sm {
  min-height: 47px;
  padding: 14px 28px;
  font-size: 15px;
  line-height: 19px;
}

.btn-group { display: flex; flex-wrap: wrap; gap: 20px; }
.btn-group--center { justify-content: center; }

/* Nav ------------------------------------------------------ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--wine);
  border-bottom: 1px solid var(--gold-line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding-block: 16px;
}
.nav__inner { padding-inline: calc(var(--gutter) + 40px); }
.nav__logo img { width: 140px; height: auto; }

.nav__menu { display: flex; align-items: center; gap: 28px; }
.nav__links { display: flex; gap: 22px; }
.nav__links a {
  font-size: 15px;
  line-height: 19px;
  color: var(--white);
  transition: color .2s;
}
.nav__links a:hover { color: var(--gold); }

.nav__toggle { display: none; width: 40px; height: 40px; position: relative; }
.nav__toggle span {
  position: absolute;
  left: 9px;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: transform .25s, opacity .25s;
}
.nav__toggle span:nth-child(1) { top: 13px; }
.nav__toggle span:nth-child(2) { top: 19px; }
.nav__toggle span:nth-child(3) { top: 25px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Hero ----------------------------------------------------- */
.hero {
  min-height: 706px;
  display: flex;
  align-items: center;
  padding: 120px var(--gutter) 110px max(var(--gutter), calc((100vw - 1706px) / 2));
  background: #6b6b6b url("../assets/img/hero.webp") center top / cover no-repeat;
}
.hero__content { max-width: 1000px; }
.hero__bar { margin: 0 0 27px 470px; }
.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 68px;
  line-height: 76px;
  letter-spacing: -.01em;
  color: var(--white);
  margin-bottom: 27px;
}
.hero__text {
  max-width: 680px;
  padding-inline: 5px;
  font-size: 19px;
  line-height: 30px;
  color: var(--soft);
  margin-bottom: 40px;
}

/* Faixa de valores ---------------------------------------- */
.strip {
  background: var(--wine);
  border-top: 1px solid var(--gold-line);
  padding: 26px var(--gutter);
}
.strip__list {
  display: flex;
  justify-content: center;
  gap: 40px;
  font-size: 14px;
  line-height: 18px;
  letter-spacing: .16em;
  color: var(--gold);
}
.strip__sep { opacity: .4; }

/* Sobre ---------------------------------------------------- */
.about {
  display: grid;
  grid-template-columns: 49.6% 1fr;
  min-height: 906px;
  overflow: hidden;
}
.about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 45% 50%;
}
.about__content {
  align-self: center;
  max-width: calc(827px + 134px);
  padding: var(--section-y) var(--gutter) var(--section-y) 134px;
}
.about__content .bar { margin-bottom: 24px; }
.about__title {
  font-size: 40px;
  line-height: 48px;
  margin-bottom: 24px;
}
.about__lead,
.about__text {
  max-width: 560px;
  font-size: 17px;
  line-height: 29px;
}
.about__lead { margin-bottom: 23px; }
.about__text { color: var(--muted); }

.missions { display: grid; gap: 19px; margin-top: 33px; }
.mission {
  border-left: 4px solid var(--gold);
  padding: 4px 0 4px 20px;
}
.mission__title { font-size: 15px; line-height: 19px; font-weight: 600; margin-bottom: 4px; }
.mission__text { max-width: 560px; color: var(--muted); }

/* Seções padrão ------------------------------------------- */
.section { padding-block: var(--section-y); }
.section__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  margin-bottom: 56px;
}
.section__sub {
  max-width: 640px;
  font-size: 17px;
  line-height: 29px;
  color: var(--muted);
}

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

/* Valores -------------------------------------------------- */
.values {
  background: #f0f0f1 url("../assets/img/valores-bg.webp") 30% 45% / 123% auto no-repeat;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
}
.card .h3 { margin-bottom: 13px; }
.card p { color: var(--muted); }

/* Duas frentes -------------------------------------------- */
.fronts .section__head { margin-bottom: 56px; }
.fronts__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.front {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
}
.front--sand {
  background: var(--sand);
  border-color: var(--sand);
  box-shadow: var(--shadow-lg);
}
.front .eyebrow { margin-bottom: 19px; }
.front__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 33px;
  max-width: 480px;
  margin-bottom: 19px;
}
.dash-list { display: grid; gap: 13px; margin-bottom: 21px; }
.dash-list li {
  position: relative;
  padding-left: 25px;
  color: var(--muted);
}
.dash-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold);
}

.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.services li {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  line-height: 20px;
  text-align: center;
}

/* O que muda ---------------------------------------------- */
.impact {
  position: relative;
  z-index: 1;
  min-height: 746px;
  display: flex;
  align-items: center;
  padding: var(--section-y) max(var(--gutter), calc((100vw - 1200px) / 2)) var(--section-y) 50%;
  background:
    linear-gradient(90deg, rgba(79, 7, 1, 0) 25%, rgba(79, 7, 1, .8) 86%),
    url("../assets/img/negocio-overlay.webp") 40% 30% / cover no-repeat,
    url("../assets/img/negocio-base.webp") 100% 33% / cover no-repeat,
    var(--wine);
  box-shadow: 0 0 70px rgba(0, 0, 0, .35);
}
.impact__content { width: 100%; max-width: 628px; }
.impact__content .bar { margin-bottom: 20px; }
.impact__title { color: var(--white); line-height: 45px; margin-bottom: 20px; }
.impact__text {
  font-size: 17px;
  line-height: 29px;
  color: var(--soft);
  margin-bottom: 60px;
}
.impact__list li {
  display: flex;
  gap: 20px;
  padding-block: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  font-size: 18px;
  line-height: 27px;
  color: var(--white);
}
.impact__list li:last-child { border-bottom: 0; }
.impact__list span {
  flex: 0 0 34px;
  font-family: var(--serif);
  font-size: 20px;
  color: var(--gold);
}

/* Como funciona ------------------------------------------- */
.step__num {
  display: block;
  font-family: var(--serif);
  font-size: 44px;
  line-height: 44px;
  color: var(--gold);
  margin-bottom: 16px;
}
.step .h3 { margin-bottom: 15px; }
.step p { color: var(--muted); }

/* Depoimentos --------------------------------------------- */
.testimonials { background: var(--off); }
.quote {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
}
.quote__mark {
  display: block;
  font-family: var(--serif);
  font-size: 40px;
  line-height: 24px;
  color: var(--gold);
  margin-bottom: 23px;
}
.quote blockquote {
  font-style: italic;
  font-size: 17px;
  line-height: 29px;
  margin-bottom: 24px;
}
.quote figcaption {
  font-size: 14px;
  line-height: 18px;
  color: var(--muted);
}
.quote figcaption em { font-style: normal; color: var(--gold); }

/* Blog ----------------------------------------------------- */
.blog {
  background:
    linear-gradient(rgba(255, 255, 255, .8), rgba(255, 255, 255, .8)),
    url("../assets/img/blog-bg.webp") center 50% / cover no-repeat;
}
.blog__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}
.blog__head .bar { margin-bottom: 22px; }
.blog__head .h2 { margin-bottom: 18px; }
.blog__sub {
  max-width: 480px;
  font-size: 17px;
  line-height: 29px;
  color: var(--muted);
}
.blog__head .link { flex-shrink: 0; }

.post {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .25s, transform .25s;
}
.post:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.post__img { height: 248px; overflow: hidden; background: #eee; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post:hover .post__img img { transform: scale(1.04); }
.post__body { padding: 0 32px 33px; }
.post .eyebrow { letter-spacing: .12em; margin-bottom: 13px; }
.post__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 29px;
  margin-bottom: 13px;
}
.post p { color: var(--muted); }

/* CTA ------------------------------------------------------ */
.cta {
  background: linear-gradient(135deg, var(--ink), var(--ink-2));
  padding: 110px var(--gutter);
  text-align: center;
}
.cta__inner { max-width: 820px; margin-inline: auto; }
.cta__icon { margin: 0 auto 25px; }
.cta__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 44px;
  line-height: 53px;
  color: var(--white);
  margin-bottom: 25px;
}
.cta__text {
  max-width: 560px;
  margin: 0 auto 37px;
  font-size: 18px;
  line-height: 31px;
  color: var(--soft);
}

/* Footer --------------------------------------------------- */
.footer {
  background: var(--ink);
  border-top: 1px solid var(--gold-line);
  padding: 64px 0 40px;
  color: var(--muted-dark);
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}
.footer__brand img { margin-bottom: 20px; }
.footer__brand p { max-width: 280px; font-size: 15px; line-height: 26px; }
.footer__col { display: flex; flex-direction: column; gap: 14px; }
.footer__col h4 {
  font-size: 15px;
  line-height: 19px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}
.footer__col a { font-size: 15px; line-height: 19px; transition: color .2s; }
.footer__col a:hover { color: var(--gold); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 13px;
  line-height: 17px;
}

/* ==========================================================
   Responsivo
   ========================================================== */
@media (max-width: 1280px) {
  .hero__bar { margin-left: 0; }
  .about__content { padding-left: 64px; }
}

@media (max-width: 1024px) {
  :root { --section-y: 80px; }

  .hero__title { font-size: 54px; line-height: 62px; }

  .about { grid-template-columns: 1fr; min-height: 0; }
  .about__media { height: 520px; }
  .about__content { max-width: none; padding: var(--section-y) var(--gutter); }

  .impact {
    padding: var(--section-y) var(--gutter);
    min-height: 0;
    background:
      linear-gradient(rgba(79, 7, 1, .55), rgba(79, 7, 1, .88)),
      url("../assets/img/negocio-base.webp") 25% 30% / cover no-repeat,
      var(--wine);
  }
  .impact__content { margin-inline: auto; }

  .services { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { gap: 24px; }
}

@media (max-width: 860px) {
  .nav__inner { padding-inline: var(--gutter); min-height: 72px; }
  .nav__toggle { display: block; }
  .nav__menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 24px var(--gutter) 32px;
    background: var(--wine);
    border-bottom: 1px solid var(--gold-line);
    display: none;
  }
  .nav__menu.is-open { display: flex; }
  .nav__links { flex-direction: column; gap: 18px; }
  .nav__links a { font-size: 17px; }

  .grid-3,
  .fronts__grid,
  .footer__grid { grid-template-columns: 1fr; }
  .footer__grid { gap: 36px; }

  .blog__head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  :root { --section-y: 64px; --gutter: 20px; }

  .hero {
    min-height: 600px;
    padding-block: 80px;
    background:
      linear-gradient(180deg, rgba(26, 26, 26, .45), rgba(26, 26, 26, .78)),
      #6b6b6b url("../assets/img/hero.webp") 70% top / cover no-repeat;
  }
  .hero__title { font-size: 38px; line-height: 46px; }
  .hero__title br { display: none; }
  .hero__text { font-size: 17px; line-height: 28px; padding-inline: 0; }

  .strip__list { gap: 18px; font-size: 13px; }

  .h2 { font-size: 30px; }
  .about__title { font-size: 32px; line-height: 40px; }
  .about__title br,
  .cta__title br { display: none; }
  .about__media { height: 420px; }

  .card, .front, .quote { padding: 28px; }
  .front__title { font-size: 23px; line-height: 30px; }
  .services { grid-template-columns: 1fr; gap: 12px; }
  .services li { padding: 18px; }

  .impact__list li { font-size: 17px; }

  .cta { padding-block: 80px; }
  .cta__title { font-size: 32px; line-height: 40px; }

  .btn-group { flex-direction: column; }
  .btn { width: 100%; }
}
