@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500 600; font-display: swap; src: url(../fonts/cormorant-garamond.woff2) format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(../fonts/dm-sans.woff2) format("woff2"); }
:root {
  --accent: #7b1e2e;
  --accent-dark: #5c1522;
  --accent-on-dark: #d9939e; /* bordô aclarado para fundos escuros */
  --ink: #1e1f22;
  --ink-2: #2a2b2f;
  --text: #3d3d3d;
  --muted: #6b6762;
  --beige: #ece4d8;
  --beige-2: #e2d7c7;
  --cream: #f6f1ea;
  --line: rgba(0,0,0,.12);
  --line-dark: rgba(255,255,255,.14);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --radius-big: 0 0 160px 0;
  --wrap: 1200px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { font-family: var(--sans); font-size: 16px; line-height: 1.65; color: var(--text); background: #fff; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; color: var(--ink); }
h2 { font-size: clamp(2.1rem, 4vw, 3.1rem); }
h3 { font-size: 1.55rem; }
.eyebrow { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 14px; display: block; }
section { padding: 110px 0; }
.ph { border-bottom: 1px dashed currentColor; opacity: .85; } /* dados a confirmar com a cliente */

/* Botões */
.btn { display: inline-flex; align-items: center; gap: 28px; justify-content: space-between; background: var(--accent); color: #fff; font-weight: 600; font-size: .95rem; padding: 15px 22px; border-radius: 4px; border: 1px solid var(--accent); transition: background .2s, color .2s; cursor: pointer; font-family: var(--sans); }
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn svg { width: 14px; height: 14px; }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn--ghost:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Cabeçalho */
header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); color: var(--ink); border-bottom: 1px solid var(--line); }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 100px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 72px; width: auto; }
nav ul { display: flex; gap: 30px; list-style: none; }
nav a { font-size: .93rem; color: var(--text); transition: color .2s; }
nav a:hover { color: var(--accent); }
.head-cta { display: flex; align-items: center; gap: 18px; }
.menu-btn { display: none; background: none; border: 0; color: var(--ink); cursor: pointer; width: 40px; height: 40px; }
.menu-btn span { display: block; height: 1.5px; background: currentColor; margin: 7px 6px; }

/* Hero */
.hero { background: var(--cream); color: var(--text); padding: 80px 0 0; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero { overflow: hidden; }
.hero-grid > * { min-width: 0; }
.hero h1 { color: var(--ink); font-size: clamp(2.1rem, 5.4vw, 4.4rem); margin-bottom: 26px; overflow-wrap: break-word; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead { font-size: 1.12rem; color: var(--text); max-width: 520px; margin-bottom: 38px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-media { position: relative; }
.hero-media::before { content: ""; position: absolute; inset: -60px -40px auto auto; width: 70%; height: 120%; background: radial-gradient(closest-side, rgba(123,30,46,.16), transparent); pointer-events: none; }
.photo-ph { position: relative; aspect-ratio: 4/3.4; border-radius: 0 160px 0 0; background: linear-gradient(150deg, #3a3631, #26252a 60%); display: grid; place-items: center; text-align: center; overflow: hidden; }
.photo-ph img { width: 70px; height: auto; opacity: .55; margin: 0 auto 14px; }
.hero .photo { position: relative; aspect-ratio: 4/4.4; max-height: 560px; border-radius: 0 160px 0 0; overflow: hidden; background: #e9e7e4; }
.hero .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.about .photo { aspect-ratio: 4/5; border-radius: 0 0 0 160px; overflow: hidden; background: #e9e7e4; }
.about .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 10% 50%; }
.photo-ph small { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(246,241,234,.55); }
.hero-bar { margin-top: 80px; border-top: 1px solid var(--line); padding: 26px 0 30px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.pills { display: flex; gap: 10px; flex-wrap: wrap; }
.pill { font-size: .82rem; border: 1px solid rgba(0,0,0,.18); border-radius: 999px; padding: 6px 15px; color: var(--text); background: rgba(255,255,255,.5); transition: border-color .2s, color .2s; }
.pill:hover { border-color: var(--accent); color: var(--accent); }
.hero-bar p { font-weight: 500; font-size: .95rem; color: var(--ink); }

/* Sobre */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.about .photo-ph { border-radius: 0 0 0 160px; aspect-ratio: 4/5; }
.about h2 { margin-bottom: 26px; }
.about p + p { margin-top: 16px; }
.facts { margin-top: 36px; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.facts dt { color: var(--muted); }
.facts dd { color: var(--ink); font-weight: 500; }

/* Áreas de prática */
.areas { background: var(--beige); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 56px; flex-wrap: wrap; }
.section-head p { max-width: 460px; }
.areas-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.area { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 30px 30px 36px; display: flex; flex-direction: column; transition: background .25s; }
.area:hover { background: var(--beige-2); }
.area .arrow { width: 16px; height: 16px; color: var(--ink); margin-bottom: 26px; transition: transform .25s, color .25s; }
.area:hover .arrow { transform: translate(3px,-3px); color: var(--accent); }
.area .icon { width: 84px; height: 84px; border-radius: 0 0 0 42px; background: #fff; display: grid; place-items: center; margin-bottom: 24px; }
.area .icon svg { width: 38px; height: 38px; }
.area h3 { margin-bottom: 14px; }
.area ul { list-style: none; font-size: .93rem; }
.area li { padding: 6px 0 6px 18px; position: relative; border-top: 1px solid var(--line); }
.area li::before { content: ""; position: absolute; left: 0; top: 15px; width: 7px; height: 1px; background: var(--accent); }
.area--other { background: var(--ink); color: var(--cream); justify-content: space-between; }
.area--other:hover { background: var(--ink-2); }
.area--other h3 { color: var(--accent-on-dark); }
.area--other .arrow { color: var(--cream); }

/* Como trabalho */
.values-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: center; }
.values-grid h2 { margin-bottom: 22px; }
.values-grid > div:first-child p { margin-bottom: 34px; max-width: 420px; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 50px 44px; }
.value svg { width: 40px; height: 40px; margin-bottom: 16px; }
.value h3 { font-size: 1.4rem; margin-bottom: 10px; }
.value p { font-size: .95rem; color: var(--muted); }

/* Primeira consulta */
.process { background: var(--ink); color: rgba(246,241,234,.82); }
.process h2, .process h3 { color: var(--cream); }
.process .section-head p { color: rgba(246,241,234,.7); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); }
.step { padding: 34px 28px 0 0; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.process .eyebrow, .contact .eyebrow { color: var(--accent-on-dark); }
.step .num { font-family: var(--serif); font-size: 3.6rem; color: var(--accent-on-dark); line-height: 1; margin-bottom: 20px; }
.step h3 { font-size: 1.4rem; margin-bottom: 10px; }
.step p { font-size: .94rem; }
.bring { margin-top: 70px; display: grid; grid-template-columns: 1fr 2fr; gap: 50px; padding: 40px; background: var(--ink-2); border-radius: 0 0 80px 0; }
.bring h3 { color: var(--accent-on-dark); }
.bring ul { list-style: none; columns: 2; column-gap: 40px; font-size: .95rem; }
.bring li { padding: 7px 0 7px 26px; position: relative; break-inside: avoid; }
.bring li::before { content: ""; position: absolute; left: 0; top: 13px; width: 12px; height: 6px; border-left: 1.5px solid var(--accent-on-dark); border-bottom: 1.5px solid var(--accent-on-dark); transform: rotate(-45deg); }

/* Honorários */
.fees-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.fees h2 { margin-bottom: 22px; }
.fees-list { border-top: 1px solid var(--line); }
.fees-list > div { padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 40px 1fr; gap: 16px; }
.fees-list svg { width: 28px; height: 28px; margin-top: 2px; }
.fees-list h3 { font-size: 1.3rem; margin-bottom: 4px; }
.fees-list p { font-size: .94rem; color: var(--muted); }

/* FAQ */
.faq { background: var(--beige); }
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; }
.faq-grid h2 { margin-bottom: 22px; }
.faq-grid > div:first-child p { margin-bottom: 30px; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 24px 50px 24px 0; font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: var(--ink); position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after, summary::before { content: ""; position: absolute; right: 6px; top: 50%; width: 16px; height: 1.5px; background: var(--ink); transition: transform .25s; }
summary::before { transform: rotate(90deg); }
details[open] summary::before { transform: rotate(0); }
details[open] summary { color: var(--accent); }
details p { padding: 0 50px 26px 0; }

/* Garantias */
.guarantees { text-align: center; }
.guarantees > .wrap > p { max-width: 640px; margin: 18px auto 0; }
.g-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 60px; border-top: 1px solid var(--line); text-align: left; }
.g-item { padding: 34px 26px 0; }
.g-item + .g-item { border-left: 1px solid var(--line); }
.g-item svg { width: 34px; height: 34px; margin-bottom: 16px; }
.g-item h3 { font-size: 1.3rem; margin-bottom: 8px; }
.g-item p { font-size: .93rem; color: var(--muted); }
.oa-link { display: inline-flex; gap: 10px; align-items: center; margin-top: 50px; color: var(--accent); font-weight: 600; font-size: .95rem; }
.oa-link svg { width: 13px; height: 13px; }

/* Contactos */
.contact { background: var(--ink); color: rgba(246,241,234,.82); }
.contact h2 { color: var(--cream); margin-bottom: 22px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; }
.c-info { margin-top: 40px; border-top: 1px solid var(--line-dark); }
.c-info div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-dark); font-size: .95rem; }
.c-info dt { color: var(--accent-on-dark); font-weight: 500; }
.c-info dd { color: var(--cream); }
.c-info a:hover { color: var(--accent-on-dark); }
form { background: var(--cream); color: var(--text); padding: 44px; border-radius: 0 120px 0 0; }
form h3 { margin-bottom: 26px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: block; font-size: .82rem; font-weight: 600; color: var(--ink); margin-bottom: 18px; }
input, select, textarea { display: block; width: 100%; margin-top: 7px; font: inherit; font-weight: 400; font-size: .95rem; color: var(--ink); background: #fff; border: 1px solid #d7cdbf; border-radius: 4px; padding: 12px 14px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
textarea { min-height: 120px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .85rem; }
.check input { width: 16px; height: 16px; margin-top: 3px; flex: 0 0 auto; accent-color: var(--accent); }
.check a { text-decoration: underline; }
.form-note { font-size: .8rem; color: var(--muted); margin: 4px 0 22px; padding-left: 12px; border-left: 2px solid var(--accent); }
.form-ok { display: none; margin-top: 16px; font-size: .9rem; color: var(--accent-dark); font-weight: 500; }

/* Rodapé */
footer { background: #17181a; color: rgba(246,241,234,.65); padding: 80px 0 30px; font-size: .9rem; }
.f-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--line-dark); }
.f-logo { width: 210px; }
footer h4 { font-family: var(--sans); font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-on-dark); margin-bottom: 18px; font-weight: 600; }
footer ul { list-style: none; }
footer li { padding: 4px 0; }
footer a:hover { color: var(--accent-on-dark); }
.f-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; font-size: .82rem; }
.f-bottom a { color: var(--cream); }

/* Responsivo */
@media (max-width: 1020px) {
  nav { display: none; position: absolute; top: 100px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); }
  nav.open { display: block; }
  nav ul { flex-direction: column; gap: 0; padding: 10px 24px 24px; }
  nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .menu-btn { display: block; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(3) { border-left: 0; padding-left: 0; }
  .step { padding-bottom: 30px; }
  .g-grid { grid-template-columns: repeat(2, 1fr); }
  .g-item:nth-child(3) { border-left: 0; }
  .g-item { padding-bottom: 30px; }
  .f-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  section { padding: 80px 0; }
  .hero-grid, .about-grid, .values-grid, .fees-grid, .faq-grid, .contact-grid, .bring { grid-template-columns: 1fr; gap: 44px; }
  .hero-bar { margin-top: 56px; }
  .about .photo { max-width: 420px; }
  .bring ul { columns: 1; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .head-cta .btn { display: none; }
  .brand img { height: 60px; }
  .hero .photo { border-radius: 0 90px 0 0; }
  .areas-grid, .steps, .g-grid, .values, .f-row, .f-grid { grid-template-columns: 1fr; }
  .step + .step, .g-item + .g-item { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-dark); }
  .g-item + .g-item { border-top-color: var(--line); }
  .g-item { padding-left: 0; padding-right: 0; }
  .facts div, .c-info div { grid-template-columns: 1fr; gap: 2px; }
  form { padding: 30px 20px; border-radius: 0 60px 0 0; }
  .bring { padding: 28px 20px; }
  .photo-ph { border-radius: 0 90px 0 0; }
  .about .photo { border-radius: 0 0 0 90px; }
}

/* Tipografia: evitar palavras soltas no fim das linhas */
h1, h2, h3, summary { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }

/* Utilitários (substituem estilos inline, por causa da CSP) */
.sprite { position: absolute; width: 0; height: 0; }
.area--other .btn { align-self: flex-start; margin-top: 28px; }
.g-item > img { margin-bottom: 16px; }
.tel-note { opacity: .6; }
footer small { opacity: .7; }
.form-ok.is-error { color: #a12a2a; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 4px; }
.skip:focus { top: 12px; }

/* Página legal */
.legal { padding: 90px 0 110px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 10px; }
.legal-date { color: var(--muted); font-size: .9rem; margin-bottom: 40px; }
.legal h2 { font-size: 1.7rem; margin: 44px 0 14px; }
.legal p + p { margin-top: 14px; }
.legal ul { margin: 0 0 14px 20px; }
.legal li { padding: 4px 0; }
.legal a:not(.btn) { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal-back { margin-top: 50px; }
.legal-page footer { padding-top: 30px; }
.legal-page .f-bottom { padding-top: 0; }
