/* =====================================================================
   Thaise Pavani — Advocacia · Direito do Consumidor (Consumerê)
   Direção: editorial feminino, blush + ameixa + framboesa, arcos e emblema.
   CSS local, sem build, mobile-first. Fontes de sistema.
   ===================================================================== */

/* ------------------------------- Reset ------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 4px; }

/* ------------------------------ Tokens ------------------------------ */
:root {
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --bg:        #FCF6F5;   /* blush claro */
  --bg-warm:   #F8ECEC;   /* painel rosado */
  --card:      #FFFFFF;
  --ink:       #2B1C28;   /* ameixa quase preta (texto) */
  --muted:     #7C6672;   /* texto secundário */
  --plum:      #4E2447;   /* ameixa profunda */
  --plum-deep: #2C1327;   /* fundo escuro */
  --rose:      #C43C6C;   /* framboesa (acento) */
  --rose-2:    #7A2E63;   /* ameixa-rosa */
  --rose-soft: #EBB7C9;
  --blush:     #F5DCE4;
  --line:      #ECDBE0;
  --line-dk:   rgba(255,255,255,.14);

  --grad:      linear-gradient(135deg, #7A2E63 0%, #C43C6C 100%);
  --grad-soft: linear-gradient(135deg, #F6E0E8 0%, #F9E9DF 100%);

  --shadow-sm: 0 4px 18px -8px rgba(78,36,71,.28);
  --shadow-md: 0 20px 50px -24px rgba(78,36,71,.45);
  --shadow-lg: 0 40px 90px -40px rgba(44,19,39,.55);

  --wrap: 1160px;
  --radius: 22px;
  --radius-sm: 14px;
}

/* ------------------------------- Base ------------------------------- */
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: var(--rose); color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; color: var(--ink); letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 4.4vw, 3rem); }
h3 { font-size: 1.28rem; line-height: 1.25; }
p { text-wrap: pretty; }

.eyebrow {
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--rose);
  display: inline-flex;
  align-items: center;
  gap: .6em;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: var(--grad);
}

.section { padding: clamp(72px, 11vw, 132px) 0; position: relative; }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head p { color: var(--muted); margin-top: 16px; font-size: 1.05rem; }

/* ------------------------------ Botões ------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--sans); font-weight: 600; font-size: .98rem;
  padding: 15px 26px; border-radius: 999px;
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s, background .3s, color .3s;
  white-space: nowrap;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(196,60,108,.6); }
.btn-ghost { background: transparent; color: var(--plum); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--rose); color: var(--rose); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--plum); box-shadow: var(--shadow-sm); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-sm { padding: 11px 20px; font-size: .9rem; }

.wa-ico { width: 18px; height: 18px; flex: none; }
.wa-ico svg { width: 100%; height: 100%; }

/* ------------------------------ Header ------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(252,246,245,.82);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 30px -22px rgba(78,36,71,.4); }
.header-inner { display: flex; align-items: center; gap: 20px; height: 74px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 42px; height: 42px; flex: none; border-radius: 13px; box-shadow: var(--shadow-sm); }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name strong { font-family: var(--serif); font-weight: 600; font-size: 1.16rem; letter-spacing: -.01em; }
.brand-name span { font-family: var(--sans); font-size: .64rem; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

.nav { display: none; margin-left: auto; gap: 30px; align-items: center; }
.nav a { font-size: .95rem; color: var(--ink); position: relative; padding: 4px 0; transition: color .25s; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--grad); border-radius: 2px; transition: width .3s; }
.nav a:hover { color: var(--rose); }
.nav a:hover::after { width: 100%; }

.header-cta { display: none; }

.nav-toggle {
  margin-left: auto; width: 44px; height: 44px; display: inline-flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px; border-radius: 12px; border: 1px solid var(--line);
}
.nav-toggle span { width: 20px; height: 2px; background: var(--plum); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .35s cubic-bezier(.22,1,.36,1);
  background: rgba(252,246,245,.97);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 74px; z-index: 49;
}
.mobile-nav.open { grid-template-rows: 1fr; }
.mobile-nav > div { overflow: hidden; }
.mobile-nav a { display: block; padding: 14px 22px; font-size: 1.02rem; border-top: 1px solid var(--line); }
.mobile-nav a:first-child { border-top: 0; }
.mobile-nav .btn { margin: 16px 22px 22px; }

/* ------------------------------- Hero ------------------------------- */
.hero { position: relative; padding: clamp(48px, 8vw, 92px) 0 clamp(64px, 10vw, 118px); overflow: hidden; }
.hero-grid { display: grid; gap: 48px; align-items: center; position: relative; z-index: 2; }

.hero h1 { font-size: clamp(2.5rem, 6.6vw, 4.15rem); font-weight: 500; margin: 22px 0 24px; }
.hero h1 .accent {
  font-style: italic;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lede { font-size: 1.14rem; color: var(--muted); max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; }
.hero-trust li { list-style: none; display: inline-flex; align-items: center; gap: 9px; font-size: .88rem; color: var(--plum); }
.hero-trust svg { width: 17px; height: 17px; flex: none; color: var(--rose); }

/* Emblema / cartão Consumerê no hero */
.hero-art { position: relative; display: flex; justify-content: center; }
.emblem-card {
  position: relative; z-index: 2; width: min(100%, 380px);
  background: var(--card); border-radius: 28px; padding: 40px 34px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.emblem-card .seal {
  width: 96px; height: 96px; border-radius: 26px; margin: 0 auto 22px;
  display: grid; place-items: center; box-shadow: var(--shadow-md);
}
.emblem-card .brand-word { text-align: center; }
.emblem-card .brand-word .k { font-family: var(--serif); font-size: 2.1rem; font-weight: 600; letter-spacing: -.01em; }
.emblem-card .brand-word .k b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 600; }
.emblem-card .brand-word .sub { display: block; margin-top: 6px; font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.emblem-divider { height: 1px; background: var(--line); margin: 24px 0; }
.emblem-list { display: grid; gap: 13px; }
.emblem-list li { list-style: none; display: flex; gap: 11px; align-items: flex-start; font-size: .92rem; color: var(--plum); }
.emblem-list .tick {
  width: 20px; height: 20px; flex: none; border-radius: 7px; background: var(--blush);
  display: grid; place-items: center; margin-top: 1px;
}
.emblem-list .tick svg { width: 12px; height: 12px; color: var(--rose); }

/* Formas decorativas (arcos) */
.arc, .orb { position: absolute; pointer-events: none; z-index: 1; }
.orb { width: 340px; height: 340px; border-radius: 50%; background: var(--grad-soft); filter: blur(6px); opacity: .8; top: -40px; right: -60px; }
.arc {
  border-radius: 50%; border: 2px solid var(--rose-soft); opacity: .5;
}
.arc-1 { width: 460px; height: 460px; top: -120px; right: -140px; }
.arc-2 { width: 300px; height: 300px; bottom: -110px; left: -110px; border-color: var(--blush); opacity: .9; }
.hero-blob {
  position: absolute; z-index: 0; width: 620px; height: 620px; right: -12%; top: -10%;
  background: radial-gradient(circle at 30% 30%, rgba(196,60,108,.10), transparent 62%);
  pointer-events: none;
}

/* ---------------------------- Áreas grid ---------------------------- */
.areas { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-warm) 100%); }
.areas-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.area-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s, border-color .35s;
  position: relative; overflow: hidden;
}
.area-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--grad);
  transform: scaleY(0); transform-origin: top; transition: transform .35s;
}
.area-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.area-card:hover::before { transform: scaleY(1); }
.area-ico {
  width: 48px; height: 48px; border-radius: 14px; background: var(--grad-soft);
  display: grid; place-items: center; margin-bottom: 18px;
}
.area-ico svg { width: 24px; height: 24px; color: var(--rose-2); }
.area-card h3 { margin-bottom: 8px; }
.area-card p { font-size: .96rem; color: var(--muted); }
.areas-note { margin-top: 26px; font-size: .85rem; color: var(--muted); }

/* --------------------- Consumerê (banda escura) --------------------- */
.method { background: var(--plum-deep); color: #fff; position: relative; overflow: hidden; }
.method::before {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(196,60,108,.22), transparent 65%);
  top: -180px; left: -120px; pointer-events: none;
}
.method .eyebrow { color: var(--rose-soft); }
.method h2 { color: #fff; }
.method h2 .accent { font-style: italic; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.method .section-head p { color: rgba(255,255,255,.72); }
.steps { display: grid; grid-template-columns: 1fr; gap: 20px; position: relative; z-index: 2; }
.step {
  border: 1px solid var(--line-dk); border-radius: var(--radius); padding: 28px 26px;
  background: rgba(255,255,255,.03); transition: background .3s, transform .3s, border-color .3s;
}
.step:hover { background: rgba(255,255,255,.06); transform: translateY(-4px); border-color: rgba(235,183,201,.45); }
.step .num {
  font-family: var(--serif); font-size: 2.2rem; font-weight: 600;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1; display: block; margin-bottom: 14px;
}
.step h3 { color: #fff; margin-bottom: 8px; }
.step p { color: rgba(255,255,255,.72); font-size: .95rem; }

/* ------------------------------ Sobre ------------------------------- */
.about-grid { display: grid; gap: 44px; align-items: center; }
.about-copy .eyebrow { margin-bottom: 20px; }
.about-copy h2 { margin-bottom: 22px; }
.about-copy p { color: var(--muted); margin-bottom: 16px; }
.about-copy strong { color: var(--ink); font-weight: 600; }
.about-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.about-tags span {
  font-size: .84rem; font-weight: 600; color: var(--plum);
  background: var(--bg-warm); border: 1px solid var(--line); padding: 8px 15px; border-radius: 999px;
}

.about-panel {
  background: var(--grad); color: #fff; border-radius: 28px; padding: 40px 34px;
  box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
.about-panel::after {
  content: ""; position: absolute; width: 240px; height: 240px; border: 2px solid rgba(255,255,255,.18);
  border-radius: 50%; bottom: -110px; right: -70px;
}
.about-panel .k { font-family: var(--serif); font-size: 1.7rem; margin-bottom: 10px; position: relative; }
.about-panel p { color: rgba(255,255,255,.9); font-size: .98rem; position: relative; }
.about-panel .ig-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 22px; font-weight: 600; position: relative; }
.about-panel .ig-link svg { width: 19px; height: 19px; }
.about-panel .ig-link:hover { text-decoration: underline; }

/* ------------------------------ Contato ----------------------------- */
.contact { background: linear-gradient(180deg, var(--bg-warm) 0%, var(--bg) 100%); }
.contact-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 30px;
  box-shadow: var(--shadow-lg); padding: clamp(34px, 5vw, 60px);
  display: grid; gap: 40px; align-items: center;
}
.contact-card h2 { margin-bottom: 16px; }
.contact-card .lede { color: var(--muted); margin-bottom: 28px; font-size: 1.05rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.contact-meta { display: grid; gap: 16px; }
.contact-meta li { list-style: none; display: flex; gap: 14px; align-items: flex-start; }
.contact-meta .m-ico { width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--grad-soft); display: grid; place-items: center; }
.contact-meta .m-ico svg { width: 20px; height: 20px; color: var(--rose-2); }
.contact-meta .m-t { font-weight: 600; color: var(--ink); font-size: .96rem; }
.contact-meta .m-d { color: var(--muted); font-size: .92rem; }

/* ------------------- Placeholders de foto --------------------------- */
/* Componente reutilizável: marca onde entram as fotos reais (dela/equipe).
   Sem imagem externa — puro CSS + ícone inline. Substituir por foto real ao receber. */
.photo-ph {
  position: relative; z-index: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; text-align: center; padding: 22px;
  background: var(--grad-soft);
  border: 1.5px dashed var(--rose-soft);
  border-radius: var(--radius);
  color: var(--rose-2); overflow: hidden;
}
.photo-ph::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(120% 90% at 18% 12%, rgba(255,255,255,.55), transparent 60%);
}
.photo-ph .ph-ico {
  width: 54px; height: 54px; border-radius: 16px; background: rgba(255,255,255,.65);
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
}
.photo-ph .ph-ico svg { width: 28px; height: 28px; color: var(--rose-2); }
.photo-ph .ph-label { font-family: var(--sans); font-size: .82rem; font-weight: 600; color: var(--plum); }
.photo-ph .ph-sub { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.photo-ph.is-portrait { aspect-ratio: 4 / 5; }
.photo-ph.is-square { aspect-ratio: 1 / 1; }

/* Avatar flutuante da Thaise no cartão do hero */
.emblem-photo {
  position: absolute; top: -30px; right: -16px; z-index: 3;
  width: 96px; height: 96px; padding: 0; border-radius: 50%;
  border: 3px solid var(--card); box-shadow: var(--shadow-md);
}
.emblem-photo .ph-ico { width: 40px; height: 40px; border-radius: 50%; box-shadow: none; background: rgba(255,255,255,.55); }
.emblem-photo .ph-ico svg { width: 22px; height: 22px; }

/* Retrato profissional na seção Sobre */
.about-side { display: grid; gap: 22px; }
.about-photo .ph-label { font-size: .9rem; }

/* --------------------------- Equipe --------------------------------- */
.team { background: var(--bg-warm); }
.team-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.team-card .photo-ph { margin-bottom: 16px; }
.team-name { font-family: var(--serif); font-weight: 600; font-size: 1.16rem; color: var(--ink); margin-bottom: 2px; }
.team-role { font-size: .9rem; color: var(--muted); }
.team-note { margin-top: 26px; font-size: .85rem; color: var(--muted); }
@media (min-width: 640px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }

/* ------------------------------ Footer ------------------------------ */
.site-footer { background: var(--plum-deep); color: rgba(255,255,255,.7); padding: 58px 0 34px; }
.footer-top { display: grid; gap: 30px; padding-bottom: 34px; border-bottom: 1px solid var(--line-dk); }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand .brand-mark { box-shadow: none; }
.footer-brand strong { font-family: var(--serif); color: #fff; font-size: 1.16rem; font-weight: 600; }
.footer-about p { font-size: .93rem; max-width: 42ch; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 26px; }
.footer-nav a { font-size: .93rem; transition: color .25s; }
.footer-nav a:hover { color: var(--rose-soft); }
.footer-legal { margin-top: 28px; font-size: .8rem; color: rgba(255,255,255,.5); line-height: 1.7; }
.footer-legal strong { color: rgba(255,255,255,.7); font-weight: 600; }
.footer-bottom { margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .82rem; color: rgba(255,255,255,.45); }

/* --------------------------- Animações ------------------------------ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.22,1,.36,1), transform .9s cubic-bezier(.22,1,.36,1); }
.reveal.in { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: .08s; }
[data-delay="2"] { transition-delay: .16s; }
[data-delay="3"] { transition-delay: .24s; }
[data-delay="4"] { transition-delay: .32s; }

/* --------------------------- Responsivo ----------------------------- */
@media (min-width: 720px) {
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-card { grid-template-columns: 1.15fr .85fr; }
  .footer-top { grid-template-columns: 1.4fr 1fr; align-items: start; }
}
@media (min-width: 940px) {
  .nav { display: flex; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 56px; }
  .areas-grid { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .about-grid { grid-template-columns: 1.3fr .7fr; }
}
@media (min-width: 940px) and (max-width: 1100px) {
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn:hover, .area-card:hover, .step:hover, .btn-light:hover, .btn-primary:hover, .btn-ghost:hover { transform: none !important; }
  .mobile-nav { transition: none !important; }
}
