/* Pimentel & da Rosa Advogados — protótipo de prospecção
   Paleta extraída do logo real: navy #030720 + dourado #e7cc7f. */

:root {
  --navy: #030720;
  --navy-2: #0a123c;
  --navy-3: #131e56;
  --gold: #e7cc7f;
  --gold-deep: #96731f;
  --cream: #f7f2e6;
  --cream-2: #efe6d3;
  --ink: #14182c;
  --muted: #5c5747;
  --muted-dark: #aab0d6;
  --line-dark: rgba(231, 204, 127, 0.2);
  --line-light: #e2d7bd;

  --display: "Cormorant Garamond", Georgia, serif;
  --body: "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;

  --ease-premium: cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.container {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.container--narrow { max-width: 760px; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

section { padding-block: clamp(4rem, 3rem + 5vw, 7rem); }

.eyebrow {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: .9rem;
}

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  font-family: var(--body); font-weight: 600; font-size: .95rem;
  padding: .9rem 1.7rem;
  border-radius: 6px;
  text-decoration: none;
  position: relative; overflow: hidden;
  transition: transform .5s var(--ease-premium), box-shadow .5s var(--ease-premium);
  white-space: nowrap;
}
.btn--gold {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 14px 30px -14px rgba(231, 204, 127, 0.6);
}
.btn--gold:hover { transform: scale(1.02); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line-light);
}
.btn--ghost:hover { border-color: var(--gold-deep); color: var(--gold-deep); }
.btn::after {
  content: ""; position: absolute; top: -50%; left: -60%; width: 20%; height: 200%;
  background: rgba(255,255,255,0.25); transform: rotate(30deg); pointer-events: none;
  transition: transform .7s var(--ease-premium);
}
.btn:hover::after { transform: translate(600%, 0) rotate(30deg); }

/* ---------- aviso de protótipo ---------- */
.demo-bar {
  background: var(--navy);
  color: var(--muted-dark);
  font-size: .76rem;
  line-height: 1.4;
  text-align: center;
  padding: 9px 1.5rem;
}
.demo-bar strong { color: var(--gold); font-weight: 700; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(247, 242, 230, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background-color .4s var(--ease-premium), box-shadow .4s var(--ease-premium), border-color .4s var(--ease-premium);
}
.nav.is-scrolled {
  border-color: var(--line-light);
  box-shadow: 0 10px 30px -22px rgba(3, 7, 32, 0.35);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.1rem;
  transition: padding-block .4s var(--ease-premium);
}
.nav.is-scrolled .nav__inner { padding-block: .7rem; }

.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand__mark { width: 34px; height: 34px; object-fit: contain; flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text b { font-family: var(--display); font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.brand__text em {
  font-style: normal; font-size: .62rem; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold-deep);
}

.nav__links { display: flex; gap: 2rem; }
.nav__links a {
  color: var(--ink); text-decoration: none; font-size: .92rem; font-weight: 500;
  position: relative;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -5px; width: 0; height: 1.5px;
  background: var(--gold-deep); transition: width .35s var(--ease-premium);
}
.nav__links a:hover::after { width: 100%; }

.nav__right { display: flex; align-items: center; gap: .9rem; }
.nav__cta { padding: .65rem 1.3rem; font-size: .85rem; }

.nav__burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none; cursor: pointer;
  flex-shrink: 0;
}
.nav__burger span {
  display: block; width: 100%; height: 2px; background: var(--ink);
  transition: transform .3s var(--ease-premium), opacity .3s var(--ease-premium);
}
.nav.is-menu-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-menu-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-menu-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  padding: .5rem 1.5rem 1.4rem;
  border-top: 1px solid var(--line-light);
}
.nav__mobile a {
  color: var(--ink); text-decoration: none; font-size: 1rem; font-weight: 500;
  padding: .8rem 0; border-bottom: 1px solid var(--line-light);
}
.nav__mobile a:last-child { border-bottom: none; }

@media (max-width: 880px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav.is-menu-open .nav__mobile { display: flex; }
}
@media (max-width: 540px) {
  .nav__cta span { display: none; }
}

/* ---------- hero ---------- */
.hero { background: var(--navy); color: var(--cream); padding-block: clamp(3rem, 2.3rem + 5vw, 5.5rem); overflow: hidden; }
.hero__grid {
  display: grid; gap: clamp(2.2rem, 6vw, 3.5rem);
  align-items: center;
}
.hero-copy { max-width: 34rem; }
.hero-copy .eyebrow { color: var(--gold); }
.hero-copy h1 {
  color: var(--cream);
  font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.2rem);
  line-height: 1.16;
  margin-bottom: 1.4rem;
}
.hero__lead { color: var(--muted-dark); font-size: 1.05rem; max-width: 46ch; margin-bottom: 1.1rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.8rem; }
.hero .btn--ghost { color: var(--cream); border-color: var(--line-dark); }
.hero .btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

/* card da foto, mesmo espírito da Dra. Eduarda Dias: um painel deslocado
   atrás (aqui em navy-2, não taupe) e a foto num quadro com um canto grande
   arredondado por cima. Como a foto é quadrada, `aspect-ratio:1/1` no quadro
   casa exatamente com a proporção original, então nada é cortado. */
.hero-photo { position: relative; justify-self: center; width: 100%; max-width: 420px; }
.hero-photo::before {
  content: "";
  position: absolute; z-index: 0;
  left: -6%; right: 14%; bottom: -6%; top: 18%;
  background: var(--navy-2);
  border: 1px solid var(--line-dark);
  border-radius: 20px;
}
.hero-photo__frame {
  position: relative; z-index: 1;
  aspect-ratio: 1 / 1;
  border-radius: 16px; border-top-left-radius: 110px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  box-shadow: 0 44px 70px -32px rgba(3, 7, 32, 0.6);
  margin-left: auto; width: 92%;
}
.hero-photo__frame img { width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.1fr .9fr; }
  .hero-photo { justify-self: end; max-width: 460px; }
}

/* ---------- princípios (conselho de pai) ---------- */
.principios { background: var(--cream); }
.principios h2 { font-size: clamp(1.7rem, 1.4rem + 1.4vw, 2.3rem); max-width: 22ch; }
.principios__intro { color: var(--muted); max-width: 56ch; margin-top: 1rem; font-size: 1.02rem; }
.principios__grid {
  margin-top: 2.8rem;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.2rem;
}
.principio { border-top: 2px solid var(--gold-deep); padding-top: 1.3rem; }
.principio__frase {
  font-family: var(--display); font-style: italic; font-weight: 600;
  font-size: 1.3rem; color: var(--ink); margin-bottom: .7rem; line-height: 1.3;
}
.principio__explica { color: var(--muted); font-size: .95rem; }
@media (max-width: 780px) {
  .principios__grid { grid-template-columns: 1fr; gap: 1.8rem; }
}

/* ---------- áreas ---------- */
.areas { background: var(--navy); color: var(--cream); }
.areas h2 { color: var(--cream); font-size: clamp(1.7rem, 1.4rem + 1.4vw, 2.3rem); max-width: 20ch; }
.areas__grid {
  margin-top: 2.6rem;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem;
}
.area-card {
  background: var(--navy-2);
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  padding: 1.8rem 1.5rem;
  display: flex; flex-direction: column;
  transition: transform .5s var(--ease-premium), box-shadow .5s var(--ease-premium), border-color .5s var(--ease-premium);
}
.area-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 24px 44px -24px rgba(231,204,127,0.25); }
.area-card h3 { color: var(--gold); font-size: 1.2rem; margin-bottom: .7rem; }
.area-card p { color: var(--muted-dark); font-size: .92rem; flex: 1; }
@media (max-width: 980px) {
  .areas__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .areas__grid { grid-template-columns: 1fr; }
}

/* ---------- avaliações ---------- */
.avaliacoes { background: var(--cream); }
.avaliacoes h2 { font-size: clamp(1.7rem, 1.4rem + 1.4vw, 2.3rem); }
.avaliacoes__lista {
  margin-top: 2.6rem;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.4rem 2.6rem;
}
.avaliacao {
  border-top: 2px solid var(--gold-deep);
  padding-top: 1.3rem;
}
.avaliacao__estrelas { color: var(--gold-deep); letter-spacing: .1em; margin-bottom: .8rem; font-size: 1rem; }
.avaliacao p { font-size: .98rem; color: var(--ink); }
.avaliacao__nome { margin-top: 1rem; font-weight: 600; font-size: .88rem; }
.avaliacao__nome span { font-weight: 400; color: var(--muted); }
@media (max-width: 700px) {
  .avaliacoes__lista { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.faq { background: var(--navy); color: var(--cream); }
.faq h2 { color: var(--cream); font-size: clamp(1.7rem, 1.4rem + 1.4vw, 2.3rem); }
.faq__lista { margin-top: 2.2rem; border-top: 1px solid var(--line-dark); }
.faq__item { border-bottom: 1px solid var(--line-dark); }
.faq__toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; background: none; border: none; cursor: pointer;
  padding: 1.3rem 0; text-align: left;
  font-family: var(--body); font-size: 1.02rem; font-weight: 500; color: var(--cream);
}
.faq__icon { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.faq__icon::before {
  content: ""; position: absolute; top: 5px; left: 4px;
  width: 8px; height: 8px;
  border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  transition: transform .3s var(--ease-premium), top .3s var(--ease-premium);
}
.faq__item.is-open .faq__icon::before { transform: rotate(225deg); top: 8px; }
.faq__panel {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .3s var(--ease-premium);
}
.faq__item.is-open .faq__panel { grid-template-rows: 1fr; }
.faq__panel-inner { overflow: hidden; }
.faq__panel-inner p { color: var(--muted-dark); padding-bottom: 1.3rem; max-width: 60ch; font-size: .96rem; }

/* ---------- onde fica ---------- */
.localizacao { background: var(--cream-2); border-block: 1px solid var(--line-light); }
.loc-in { display: grid; gap: clamp(2rem, 4vw, 3rem); align-items: center; }
.loc-texto h2 {
  font-size: clamp(1.7rem, 1.4rem + 1.4vw, 2.3rem); max-width: 15ch; margin-bottom: 1.6rem;
}
.loc-texto h2 em { font-style: italic; color: var(--gold-deep); }
.loc-dados { margin: 0 0 1.8rem; display: grid; }
.loc-dados > div { padding: 1.05rem 0; border-top: 1px solid var(--line-light); }
.loc-dados > div:last-child { border-bottom: 1px solid var(--line-light); }
.loc-dados dt {
  font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: .4rem;
}
.loc-dados dd { margin: 0; font-size: .98rem; color: var(--ink); line-height: 1.6; max-width: 44ch; }
.loc-acoes { display: flex; flex-wrap: wrap; gap: .85rem; }
.loc-acoes .btn--ghost { border-color: var(--line-light); }

.mapa {
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line-light);
  background: var(--cream); line-height: 0;
  aspect-ratio: 4 / 3;
}
.mapa iframe { display: block; width: 100%; height: 100%; border: 0; filter: saturate(.85); }

@media (min-width: 900px) {
  .loc-in { grid-template-columns: 1fr 1.05fr; gap: clamp(2.5rem, 5vw, 4.5rem); }
  .mapa { aspect-ratio: 1 / 1; max-height: 480px; }
}

/* ---------- CTA final ---------- */
.cta-final { background: var(--gold); color: var(--navy); text-align: center; }
.cta-final h2 { color: var(--navy); font-size: clamp(1.8rem, 1.4rem + 2vw, 2.6rem); max-width: 24ch; margin-inline: auto; }
.cta-final p { color: var(--navy); opacity: .8; margin-block: 1rem 1.8rem; font-size: 1.05rem; }
.cta-final .btn--gold { background: var(--navy); color: var(--gold); box-shadow: 0 14px 30px -14px rgba(3,7,32,0.4); }

/* ---------- footer ---------- */
.footer { background: var(--navy); color: var(--muted-dark); padding-block: 3.5rem 2rem; }
.footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem;
  padding-bottom: 2.2rem; border-bottom: 1px solid var(--line-dark);
}
.footer__brand { display: flex; align-items: center; gap: .6rem; }
.footer__brand .brand__text b { color: var(--cream); }
.footer__label { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold-deep); margin-bottom: .5rem; }
.footer__col p { font-size: .92rem; margin-bottom: .3rem; }
.footer__col a { color: var(--muted-dark); text-decoration: none; }
.footer__col a:hover { color: var(--gold); }
.footer__note { border-top: none; margin-top: 1.8rem; padding-top: 0; font-size: .74rem; line-height: 1.6; color: var(--muted-dark); max-width: 68ch; opacity: .8; }
.footer__copy { font-size: .78rem; margin-top: .8rem; opacity: .6; }
@media (max-width: 720px) {
  .footer__grid { grid-template-columns: 1fr; gap: 1.6rem; }
}

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 28px; bottom: 28px; z-index: 50;
  width: 80px; height: 80px; border-radius: 999px;
  background: #25D366;
  display: grid; place-items: center;
  animation: pulse-whatsapp 2.4s infinite var(--ease-premium);
  transition: transform .3s var(--ease-premium);
}
.wa-float svg { width: 40px; height: 40px; }
@keyframes pulse-whatsapp {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70%  { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
.wa-float:hover { transform: scale(1.08); }
.wa-float:active { transform: scale(0.96); }
.wa-float__tip {
  position: absolute; right: calc(100% + 14px); white-space: nowrap; background: #fff; color: var(--ink);
  padding: .5rem .85rem; border-radius: 10px; opacity: 0; transform: translateX(6px); pointer-events: none;
  font-size: .85rem; font-weight: 500;
  transition: opacity .3s var(--ease-premium), transform .3s var(--ease-premium);
}
.wa-float:hover .wa-float__tip { opacity: 1; transform: translateX(0); }
@media (max-width: 759px) {
  .wa-float { width: 68px; height: 68px; right: 18px; bottom: 18px; }
  .wa-float svg { width: 34px; height: 34px; }
  .wa-float__tip { display: none; }
}
