/* =========================================================
   Nat RH e Departamento Pessoal — paleta da marca
   Vinho #6B1626 · Vinho escuro #4A0E1B · Bege/dourado #C9A27E
   Terracota #B5643F · Creme #F7F0E8
   ========================================================= */
:root {
  --wine: #6B1626;
  --wine-dark: #4A0E1B;
  --wine-light: #8A1E33;
  --gold: #C9A27E;
  --gold-light: #E6CFB5;
  --terracotta: #B5643F;
  --cream: #F7F0E8;
  --white: #FFFFFF;
  --text: #2B1A1D;
  --muted: #6E5A5E;
  --radius: 18px;
  --shadow: 0 20px 50px -20px rgba(74, 14, 27, .35);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Poppins', system-ui, -apple-system, sans-serif;
  --header-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
svg { width: 1.25em; height: 1.25em; }
ul { list-style: none; }

.container { width: min(1180px, 92%); margin-inline: auto; }
.center { text-align: center; margin-top: 3rem; }

h1, h2, h3 { line-height: 1.2; color: var(--wine-dark); }
h1, h2 { font-family: var(--font-serif); font-weight: 800; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 1rem; }
h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: .5rem; }
h1 em, h2 em { font-style: italic; color: var(--wine-light); font-weight: 600; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--terracotta);
  margin-bottom: .8rem;
}
.eyebrow--light { color: var(--gold-light); }

.tag {
  display: inline-block;
  padding: .45rem 1rem;
  border-radius: 999px;
  background: rgba(107, 22, 38, .08);
  color: var(--wine);
  font-weight: 600;
  font-size: .85rem;
  margin-bottom: 1.4rem;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.7rem;
  border-radius: 999px;
  font-weight: 600; font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .25s, box-shadow .25s, background .25s, color .25s;
  font-family: inherit;
}
.btn svg { fill: currentColor; }
.btn:hover { transform: translateY(-3px); }
.btn--primary { background: var(--wine); color: var(--white); box-shadow: 0 12px 25px -10px rgba(107, 22, 38, .6); }
.btn--primary:hover { background: var(--wine-light); }
.btn--ghost { border-color: var(--wine); color: var(--wine); }
.btn--ghost:hover { background: var(--wine); color: var(--white); }
.btn--light { background: var(--gold); color: var(--wine-dark); }
.btn--light:hover { background: var(--gold-light); }
.btn--sm { padding: .6rem 1.2rem; font-size: .85rem; }
.btn--block { width: 100%; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: .55rem; color: var(--wine); }
.logo__script { font-family: var(--font-serif); font-style: italic; font-weight: 600; font-size: 2.1rem; line-height: 1; }
.logo__sub {
  font-size: .62rem; text-transform: uppercase; letter-spacing: .2em; line-height: 1.3;
  border-left: 1px solid var(--gold); padding-left: .55rem; color: var(--muted);
}
.logo--light { color: var(--gold-light); }
.logo--light .logo__sub { color: rgba(255,255,255,.7); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s, box-shadow .3s;
}
.header.scrolled { background: rgba(247, 240, 232, .92); backdrop-filter: blur(12px); box-shadow: 0 6px 30px -15px rgba(74,14,27,.35); }
.header__inner { display: flex; align-items: center; justify-content: space-between; }
.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav a:not(.btn) { font-size: .92rem; font-weight: 500; position: relative; color: var(--text); }
.nav a:not(.btn)::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--gold); transition: width .3s;
}
.nav a:not(.btn):hover::after, .nav a.active::after { width: 100%; }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; width: 34px; height: 26px; position: relative; }
.menu-toggle span { position: absolute; left: 0; width: 100%; height: 2px; background: var(--wine); border-radius: 2px; transition: .3s; }
.menu-toggle span:nth-child(1) { top: 3px; }
.menu-toggle span:nth-child(2) { top: 12px; }
.menu-toggle span:nth-child(3) { top: 21px; }
.menu-toggle.open span:nth-child(1) { top: 12px; transform: rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { top: 12px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 4rem) 0 5rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 20%, rgba(201,162,126,.35), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(107,22,38,.10), transparent 40%),
    var(--cream);
}
.hero__ornament {
  position: absolute; top: -120px; left: -140px; width: 420px; height: 420px; opacity: .25;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23C9A27E' stroke-width='2'%3E%3Cg transform='translate(100 100)'%3E%3Cpath id='p' d='M0-90C25-65 25-35 0-10-25-35-25-65 0-90z'/%3E%3Cuse href='%23p' transform='rotate(45)'/%3E%3Cuse href='%23p' transform='rotate(90)'/%3E%3Cuse href='%23p' transform='rotate(135)'/%3E%3Cuse href='%23p' transform='rotate(180)'/%3E%3Cuse href='%23p' transform='rotate(225)'/%3E%3Cuse href='%23p' transform='rotate(270)'/%3E%3Cuse href='%23p' transform='rotate(315)'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;
  animation: spin 60s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; position: relative; }
.hero__text p { font-size: 1.08rem; color: var(--muted); margin: 1.4rem 0 2rem; max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 2.6rem; font-size: .85rem; color: var(--muted); }
.hero__badges strong { display: block; font-family: var(--font-serif); font-size: 1.6rem; color: var(--wine); }

.hero__media { position: relative; justify-self: center; }
.hero__photo {
  width: min(420px, 80vw); aspect-ratio: 1;
  border-radius: 46% 54% 50% 50% / 55% 45% 55% 45%;
  overflow: hidden;
  border: 8px solid var(--white);
  box-shadow: var(--shadow);
  animation: morph 12s ease-in-out infinite;
  background: var(--terracotta);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
@keyframes morph {
  0%, 100% { border-radius: 46% 54% 50% 50% / 55% 45% 55% 45%; }
  50% { border-radius: 55% 45% 42% 58% / 45% 55% 45% 55%; }
}
.hero__card {
  position: absolute; background: var(--white); border-radius: 14px; padding: .85rem 1.2rem;
  box-shadow: var(--shadow); font-size: .85rem; font-weight: 500;
  animation: float 5s ease-in-out infinite;
}
.hero__card--top { top: 8%; left: -12%; display: flex; align-items: center; gap: .5rem; }
.hero__card--bottom { bottom: 6%; right: -8%; display: flex; flex-direction: column; animation-delay: -2.5s; }
.hero__card--bottom strong { color: var(--wine); font-family: var(--font-serif); font-size: 1.05rem; }
.hero__card--bottom span { color: var(--muted); font-size: .78rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #2fbf71; box-shadow: 0 0 0 4px rgba(47,191,113,.2); }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--wine); color: var(--gold-light); overflow: hidden; padding: 1.1rem 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 35s linear infinite; }
.marquee__track span {
  font-family: var(--font-serif); font-style: italic; font-size: 1.3rem; padding: 0 2rem; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 4rem;
}
.marquee__track span::after { content: '✦'; color: var(--gold); font-style: normal; font-size: .9rem; margin-left: 2rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Seções ---------- */
.section { padding: 6.5rem 0; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }
.section__head p { color: var(--muted); }
.section__head--left { text-align: left; margin: 0; }

.grid { display: grid; gap: 1.6rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Sobre ---------- */
.about { background: var(--white); }
.about__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 5rem; align-items: center; }
.about__media { position: relative; }
.about__media { max-width: 420px; justify-self: center; width: 100%; }
.about__media img {
  border-radius: 50% / 37.9%; box-shadow: var(--shadow); aspect-ratio: 812 / 1072;
  object-fit: cover; width: 100%; height: auto; border: 6px solid var(--white);
}
.about__media::before {
  content: ''; position: absolute; inset: 22px -22px -22px 22px; border: 2px solid var(--gold);
  border-radius: 50% / 37.9%; z-index: -1;
}
.about__media { z-index: 0; isolation: isolate; }
.about__quote {
  position: absolute; left: -2rem; bottom: 2.5rem; max-width: 280px;
  background: var(--wine); color: var(--white); padding: 1.3rem 1.5rem; border-radius: 14px;
  font-family: var(--font-serif); font-style: italic; font-size: 1.02rem; box-shadow: var(--shadow);
}
.about__text p { color: var(--muted); margin-bottom: 1rem; }
.about__text strong { color: var(--wine); }

.checklist { margin: 1.6rem 0; display: grid; gap: .7rem; }
.checklist li { position: relative; padding-left: 2rem; font-weight: 500; }
.checklist li::before {
  content: '✓'; position: absolute; left: 0; top: .1rem;
  width: 1.35rem; height: 1.35rem; border-radius: 50%;
  display: grid; place-items: center; font-size: .75rem;
  background: rgba(107,22,38,.1); color: var(--wine);
}
.checklist--light li { color: var(--white); }
.checklist--light li::before { background: rgba(201,162,126,.25); color: var(--gold-light); }

.testimonial { margin-top: 2rem; padding: 1.4rem 1.6rem; border-left: 4px solid var(--gold); background: var(--cream); border-radius: 0 14px 14px 0; }
.testimonial p { font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; color: var(--wine-dark) !important; margin: 0 !important; }
.testimonial cite { font-size: .85rem; color: var(--muted); font-style: normal; }

/* ---------- Serviços ---------- */
.card {
  background: var(--white); padding: 2rem; border-radius: var(--radius);
  border: 1px solid rgba(107,22,38,.08);
  transition: transform .35s, box-shadow .35s, border-color .35s;
  position: relative; overflow: hidden;
}
.card::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 4px; width: 0;
  background: linear-gradient(90deg, var(--wine), var(--gold)); transition: width .4s;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::after { width: 100%; }
.card p { color: var(--muted); font-size: .93rem; }
.card__icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--wine-light), var(--wine-dark)); margin-bottom: 1.3rem;
}
.card__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--gold-light); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card--highlight { background: linear-gradient(150deg, var(--wine), var(--wine-dark)); color: var(--white); }
.card--highlight h3 { color: var(--white); }
.card--highlight p { color: rgba(255,255,255,.75); }
.card--highlight .card__icon { background: var(--gold); }
.card--highlight .card__icon svg { stroke: var(--wine-dark); }
.price { display: block; margin-top: 1rem; font-family: var(--font-serif); font-size: 2rem; font-weight: 800; color: var(--gold-light); }
.price small { font-family: var(--font-sans); font-size: .75rem; font-weight: 400; display: block; color: rgba(255,255,255,.7); }
.price sup { font-size: 1rem; }

/* ---------- Contabilidades ---------- */
.partners {
  background:
    radial-gradient(circle at 90% 10%, rgba(201,162,126,.25), transparent 40%),
    linear-gradient(135deg, var(--wine), var(--wine-dark));
  color: var(--white);
}
.partners h2 { color: var(--white); }
.partners h2 em { color: var(--gold-light); }
.partners__inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 4rem; align-items: center; }
.partners__text p { color: rgba(255,255,255,.8); }
.partners__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.stat {
  background: rgba(255,255,255,.06); border: 1px solid rgba(201,162,126,.3);
  border-radius: var(--radius); padding: 1.8rem 1.4rem; text-align: center;
  backdrop-filter: blur(4px);
}
.stat__num { display: block; font-family: var(--font-serif); font-size: 2.3rem; font-weight: 800; color: var(--gold-light); line-height: 1.1; margin-bottom: .4rem; }
.stat span:last-child { font-size: .85rem; color: rgba(255,255,255,.75); }

/* ---------- Por que ---------- */
.why__item { padding: 2rem 1.6rem; border-radius: var(--radius); background: var(--white); border-top: 4px solid var(--gold); transition: transform .3s; }
.why__item:hover { transform: translateY(-6px); }
.why__item span { font-family: var(--font-serif); font-size: 2.6rem; font-weight: 800; color: var(--gold); line-height: 1; display: block; margin-bottom: .8rem; }
.why__item p { color: var(--muted); font-size: .92rem; }

/* ---------- Conteúdos ---------- */
.posts { background: var(--white); }
.post {
  padding: 2rem; border-radius: var(--radius); background: var(--cream);
  position: relative; overflow: hidden; transition: transform .3s, box-shadow .3s;
}
.post::before {
  content: ''; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%;
  background: rgba(201,162,126,.25); transition: transform .4s;
}
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post:hover::before { transform: scale(1.6); }
.post__cat {
  display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  background: var(--wine); color: var(--gold-light); padding: .3rem .8rem; border-radius: 999px; margin-bottom: 1rem; position: relative;
}
.post h3 { font-family: var(--font-serif); font-size: 1.35rem; position: relative; }
.post p { color: var(--muted); font-size: .93rem; position: relative; }

/* ---------- FAQ ---------- */
.faq__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: start; }
.accordion details {
  background: var(--white); border-radius: 14px; margin-bottom: 1rem; padding: 0 1.5rem;
  border: 1px solid rgba(107,22,38,.08); transition: box-shadow .3s;
}
.accordion details[open] { box-shadow: var(--shadow); }
.accordion summary {
  cursor: pointer; list-style: none; padding: 1.3rem 0; font-weight: 600; color: var(--wine-dark);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: '+'; font-size: 1.5rem; color: var(--gold); transition: transform .3s; }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion details p { padding-bottom: 1.3rem; color: var(--muted); }

/* ---------- Contato ---------- */
.contact { background: var(--white); }
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact__info > p { color: var(--muted); }
.contact__list { margin-top: 2rem; display: grid; gap: 1.2rem; }
.contact__list li { display: flex; align-items: center; gap: 1rem; }
.contact__list small { display: block; font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.contact__list a, .contact__list span:not(.contact__icon) { font-weight: 600; color: var(--wine-dark); }
.contact__list a:hover { color: var(--terracotta); }
.contact__icon { width: 48px; height: 48px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center; background: rgba(107,22,38,.08); }
.contact__icon svg { fill: none; stroke: var(--wine); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact__form { background: var(--cream); padding: 2.4rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact__form h3 { font-family: var(--font-serif); font-size: 1.6rem; margin-bottom: 1.4rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .4rem; color: var(--wine-dark); }
.field input, .field select, .field textarea {
  width: 100%; padding: .9rem 1rem; border-radius: 12px; border: 1.5px solid rgba(107,22,38,.15);
  background: var(--white); font: inherit; font-size: .95rem; color: var(--text); transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--wine); box-shadow: 0 0 0 4px rgba(107,22,38,.1); }
.field .invalid { border-color: #c0392b; }
.form__note { margin-top: .8rem; font-size: .85rem; text-align: center; color: var(--wine); min-height: 1.2em; }

/* ---------- Footer ---------- */
.footer { background: var(--wine-dark); color: rgba(255,255,255,.75); padding-top: 4.5rem; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; }
.footer__brand p { margin-top: 1.2rem; max-width: 360px; font-size: .92rem; }
.footer__col h4 { color: var(--gold-light); font-size: .95rem; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: .12em; }
.footer__col a { display: block; margin-bottom: .6rem; font-size: .92rem; transition: color .25s, padding .25s; }
.footer__col a:hover { color: var(--gold-light); padding-left: 4px; }
.footer__bottom {
  border-top: 1px solid rgba(201,162,126,.2); padding: 1.6rem 4%;
  text-align: center; font-size: .85rem; display: grid; gap: .35rem; justify-items: center;
}
.footer__bottom a { color: var(--gold-light); font-weight: 600; }
.footer__bottom a:hover { text-decoration: underline; }
.heart { color: #e25563; display: inline-block; animation: beat 1.4s ease-in-out infinite; }
@keyframes beat { 0%,100% { transform: scale(1); } 20% { transform: scale(1.25); } 40% { transform: scale(1); } }

/* ---------- Flutuantes ---------- */
.whatsapp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: var(--white);
  display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37,211,102,.6);
  transition: transform .25s;
}
.whatsapp-float::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366;
  animation: pulse 2s ease-out infinite;
}
.whatsapp-float svg { width: 30px; height: 30px; fill: currentColor; }
.whatsapp-float:hover { transform: scale(1.08); }
@keyframes pulse { to { transform: scale(1.6); opacity: 0; } }
.to-top {
  position: fixed; right: 30px; bottom: 96px; z-index: 90; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: var(--wine); color: var(--white); font-size: 1.1rem; cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }

/* ---------- Animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .menu-toggle { display: block; z-index: 110; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 85vw); height: 100vh;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.6rem; padding: 2.5rem;
    background: var(--cream); box-shadow: -20px 0 50px -20px rgba(74,14,27,.4);
    transform: translateX(100%); transition: transform .4s ease;
  }
  .nav.open { transform: none; }
  .nav a:not(.btn) { font-size: 1.15rem; }
  .hero__inner, .about__inner, .partners__inner, .faq__inner, .contact__inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero { text-align: center; }
  .hero__text p { margin-inline: auto; }
  .hero__actions, .hero__badges { justify-content: center; }
  .hero__media { order: -1; }
  .hero__card--top { left: -4%; }
  .hero__card--bottom { right: -4%; }
  .about__quote { left: 1rem; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .section { padding: 4.5rem 0; }
  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .partners__stats { grid-template-columns: 1fr 1fr; }
  .stat__num { font-size: 1.8rem; }
  .footer__top { grid-template-columns: 1fr; text-align: center; }
  .footer__brand p { margin-inline: auto; }
  .contact__form { padding: 1.6rem; }
  .hero__card { font-size: .75rem; padding: .6rem .9rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
