/* ===== Reset & Base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy: #2C4A68;
  --navy-deep: #17283B;
  --orange: #D9822E;
  --orange-deep: #B5641C;
  --cream: #FBF5EC;
  --cream-2: #F1E6D4;
  --white: #FFFFFF;
  --ink: #22303F;
  --ink-light: #5C6B7A;
  --radius: 14px;
  --shadow: 0 20px 44px -22px rgba(23,40,59,.35);
  --transition: .3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', serif;
  line-height: 1.18;
  font-weight: 600;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

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

.text-orange { color: var(--orange); font-style: italic; }

/* ===== Reveal on scroll ===== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: .95rem;
  transition: var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 10px 24px -10px rgba(217,130,46,.55);
}
.btn--primary:hover {
  background: var(--orange-deep);
  transform: translateY(-2px);
}
.btn--ghost {
  color: var(--white);
  border: 1px solid rgba(255,255,255,.4);
}
.btn--ghost:hover { border-color: var(--orange); color: var(--orange); }

.eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange-deep);
  background: rgba(217,130,46,.12);
  padding: 6px 14px;
  border-radius: 6px;
  margin-bottom: 18px;
}
.eyebrow--dark { color: var(--navy); background: rgba(44,74,104,.08); }
.eyebrow--light { color: #FBD9A8; background: rgba(255,255,255,.12); }

.section-title { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: 18px; color: var(--navy); }
.section-title--light { color: var(--white); }
.section-text { color: var(--ink-light); max-width: 560px; margin-bottom: 14px; }
.section-text--light { color: rgba(255,255,255,.68); }

.section-head { max-width: 640px; margin-bottom: 48px; }

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251,245,236,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(44,74,104,.1);
  transition: box-shadow .3s ease;
}
.header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(23,40,59,.3); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 24px;
}
.brand { display: flex; align-items: center; }
.brand__logo { height: 48px; width: auto; }

.nav { display: flex; gap: 28px; }
.nav__link {
  color: var(--navy);
  font-size: .93rem;
  font-weight: 500;
  transition: var(--transition);
}
.nav__link:hover { color: var(--orange-deep); }

.header__cta { flex-shrink: 0; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 96px 0 84px;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(23,40,59,.94) 0%, rgba(23,40,59,.88) 42%, rgba(23,40,59,.62) 75%, rgba(23,40,59,.5) 100%);
}
.hero__inner { position: relative; z-index: 2; }
.hero__title {
  font-size: clamp(2.1rem, 4.4vw, 3.2rem);
  color: var(--white);
  margin-bottom: 22px;
  max-width: 760px;
}
.hero__text {
  color: rgba(255,255,255,.75);
  max-width: 560px;
  margin-bottom: 32px;
  font-size: 1.02rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-bottom: 48px; }

.hero__stat {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-left: 3px solid var(--orange);
  border-radius: 10px;
  padding: 18px 26px;
  backdrop-filter: blur(6px);
}
.hero__stat-num {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--orange);
  line-height: 1;
}
.hero__stat-label { font-size: .84rem; color: rgba(255,255,255,.75); max-width: 220px; }

/* ===== Sobre ===== */
.sobre { background: var(--white); padding: 100px 0; }
.sobre__grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.sobre__image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
}
.sobre__image img { width: 100%; height: 100%; object-fit: cover; }

.fact-list { margin-top: 30px; display: flex; flex-direction: column; gap: 18px; }
.fact-list li { display: flex; gap: 16px; align-items: flex-start; }
.fact-list__bar { width: 3px; align-self: stretch; background: var(--orange); border-radius: 3px; flex-shrink: 0; min-height: 36px; }
.fact-list strong { display: block; font-family: 'Fraunces', serif; font-size: 1.02rem; color: var(--navy); margin-bottom: 2px; }
.fact-list span { font-size: .87rem; color: var(--ink-light); }

/* ===== Produtos ===== */
.produtos { background: var(--cream-2); padding: 100px 0; }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card--featured { grid-column: span 2; }
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px -18px rgba(23,40,59,.25);
  border: 1px solid rgba(44,74,104,.08);
  transition: var(--transition);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-card__image { aspect-ratio: 4/3; overflow: hidden; }
.product-card--featured .product-card__image { aspect-ratio: 16/9; }
.product-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-card__image img { transform: scale(1.06); }
.product-card__body { padding: 22px 22px 26px; border-top: 3px solid var(--orange); }
.product-card h3 { color: var(--navy); font-size: 1.08rem; margin-bottom: 8px; }
.product-card p { color: var(--ink-light); font-size: .88rem; }

/* ===== Diferenciais ===== */
.diferenciais { background: var(--white); padding: 100px 0; }
.diff-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 48px;
}
.diff-item {
  display: flex;
  gap: 22px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(44,74,104,.12);
}
.diff-item__num {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--orange);
  flex-shrink: 0;
  width: 44px;
}
.diff-item__body h3 { font-size: 1.08rem; color: var(--navy); margin-bottom: 8px; }
.diff-item__body p { font-size: .9rem; color: var(--ink-light); }

/* ===== Como Funciona ===== */
.como-funciona { background: var(--cream); padding: 100px 0; }
.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 18px;
}
.step { text-align: center; padding: 0 8px; }
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.05rem;
  margin: 0 auto 18px;
}
.step h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: 8px; }
.step p { font-size: .88rem; color: var(--ink-light); }
.step__line { height: 1px; background: rgba(44,74,104,.2); margin-top: 24px; }

/* ===== Contato ===== */
.contato { background: var(--navy-deep); padding: 100px 0; }
.contato__grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}
.contact-list { display: flex; flex-direction: column; gap: 18px; margin: 28px 0 34px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(217,130,46,.16);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-list strong { display: block; color: var(--white); font-size: .92rem; }
.contact-list span { color: rgba(255,255,255,.55); font-size: .88rem; }

.contato__panel {
  position: relative;
  padding: 44px 36px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(217,130,46,.14), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.1);
}
.contato__panel-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(217,130,46,.18);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
}
.contato__panel-quote {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 24px;
}
.contato__panel-tag {
  display: block;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}

/* ===== Footer ===== */
.footer { background: var(--navy-deep); color: rgba(255,255,255,.6); padding: 70px 0 0; border-top: 1px solid rgba(255,255,255,.06); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__logo-plate {
  display: inline-block;
  background: var(--cream);
  padding: 10px 16px;
  border-radius: 10px;
  margin-bottom: 18px;
}
.footer__logo { height: 34px; width: auto; }
.footer__brand p { font-size: .85rem; max-width: 320px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 { color: var(--white); font-size: .92rem; margin-bottom: 6px; font-family: 'Inter', sans-serif; }
.footer__col a, .footer__col span { font-size: .85rem; color: rgba(255,255,255,.55); }
.footer__col a:hover { color: var(--orange); }
.footer__bottom { padding: 22px 0; font-size: .8rem; text-align: center; }

/* ===== E-mail float ===== */
.email-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--orange);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 28px -10px rgba(217,130,46,.6);
  z-index: 90;
  transition: var(--transition);
}
.email-float:hover { transform: translateY(-3px); background: var(--orange-deep); }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .sobre__grid, .contato__grid { grid-template-columns: 1fr; }
  .sobre__image { order: -1; max-width: 420px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card--featured { grid-column: span 2; }
  .diff-list { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .step__line { display: none; }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .nav__toggle { display: flex; }
  .header__cta { display: none; }

  .nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(44,74,104,.1);
  }
}

@media (max-width: 640px) {
  .cards-grid { grid-template-columns: 1fr; }
  .product-card--featured { grid-column: span 1; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 56px 0 60px; }
  .hero__stat { flex-direction: row; }
  .sobre, .produtos, .diferenciais, .como-funciona, .contato { padding: 64px 0; }
}

@media (max-width: 420px) {
  .footer__grid { grid-template-columns: 1fr; }
}
