:root{color-scheme:light}[hidden]{display:none!important}img{max-width:100%}

/* Layout: cabeçalho fixo discreto, hero assimétrico com ilustração de círculos sobrepostos,
   seções abertas com linhas finas, painel suave para o passo a passo, contato em duas colunas. */
:root {
  --bg: #F4F7F6;
  --surface: #FFFFFF;
  --mist: #E6EFED;
  --ink: #1F2E30;
  --muted: #566A6C;
  --line: #D3DFDD;
  --primary: #3F6F6A;
  --primary-ink: #FFFFFF;
  --blush: #F0DCD6;
  --blush-ink: #7A4A41;
  --rose: #C98F83;
  --f-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --f-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121A1B; --surface: #1A2425; --mist: #1E2B2C; --ink: #E8F0EE; --muted: #9DB1AE;
    --line: #2C3A3B; --primary: #8CC0B8; --primary-ink: #0F1A1B; --blush: #3A2B29;
    --blush-ink: #EBC9C1; --rose: #D9A9A0; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #121A1B; --surface: #1A2425; --mist: #1E2B2C; --ink: #E8F0EE; --muted: #9DB1AE;
  --line: #2C3A3B; --primary: #8CC0B8; --primary-ink: #0F1A1B; --blush: #3A2B29;
  --blush-ink: #EBC9C1; --rose: #D9A9A0; color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-block: 0 32px;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 10; background: var(--bg);
}
.wrap { max-width: 1120px; margin: 0 auto; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 500; line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.005em; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 4px; }

.eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary); }

/* Cabeçalho */
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 9;
  background: var(--bg); border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand .logo { flex: none; width: 46px; height: 46px; border-radius: 50%; display: block; }
.brand b { font-family: var(--f-display); font-size: 30px; font-weight: 600; letter-spacing: 0.08em; line-height: 1; }
.brand small { display: block; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); line-height: 1.2; margin-top: 3px; }
nav { display: flex; align-items: center; gap: 28px; }
nav a.l { text-decoration: none; font-size: 15px; color: var(--muted); font-weight: 500; transition: color .2s; }
nav a.l:hover { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px; font: 600 15px/1.2 var(--f-body);
  text-decoration: none; border: 1px solid var(--primary); cursor: pointer;
  background: var(--primary); color: var(--primary-ink); transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px -8px var(--primary); }
.btn.ghost { background: transparent; color: var(--primary); }
.btn.ghost:hover { background: var(--mist); box-shadow: none; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: 48px; align-items: center; padding-block: 72px 80px; }
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); margin-top: 18px; }
.hero h1 em { font-style: italic; color: var(--primary); }
.hero .lead { margin-top: 22px; font-size: 19px; color: var(--muted); max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 0; margin-top: 44px; padding: 0; list-style: none; font-size: 14.5px; color: var(--muted); }
.facts li { padding-right: 18px; margin-right: 18px; border-right: 1px solid var(--line); }
.facts li:last-child { border: 0; margin: 0; padding: 0; }
.art { position: relative; width: 100%; max-width: 480px; justify-self: end; aspect-ratio: 100 / 114; }
.art img { position: absolute; display: block; height: auto; max-width: none; object-fit: cover; }
.art .a2 { right: 0; top: 0; width: 80%; aspect-ratio: 4 / 5; border-radius: 24px; box-shadow: 0 28px 44px -34px rgba(20, 40, 40, .55); }
.art .a3 { left: 0; bottom: 0; width: 45%; aspect-ratio: 3 / 4; border: 7px solid var(--bg); border-radius: 30px; box-shadow: 0 22px 36px -28px rgba(20, 40, 40, .55); }

/* Seções */
section { padding-block: 72px; }
.sec-head { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: end; margin-bottom: 44px; }
.sec-head h2 { font-size: clamp(2rem, 3.8vw, 3rem); margin-top: 14px; }
.sec-head p { color: var(--muted); max-width: 36em; }

.about { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; }
.about h2 { font-size: clamp(2rem, 3.8vw, 3rem); margin-top: 14px; }
.about-side { display: flex; flex-direction: column; justify-content: space-between; gap: 36px; }
.about-side .eyebrow { display: block; }
.about .body { display: grid; gap: 18px; color: var(--muted); }
.about .body p:first-child { color: var(--ink); font-size: 19px; }
.values { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; padding-top: 28px; border-top: 1px solid var(--line); max-width: 26em; }
.values b { display: block; font-family: var(--f-display); font-size: 22px; font-weight: 600; color: var(--ink); line-height: 1.2; margin-bottom: 4px; }
.values span { font-size: 15px; color: var(--muted); }
.pro { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 48px; align-items: stretch; border-top: 1px solid var(--line); }
.pro h2 { font-size: clamp(2rem, 3.8vw, 3rem); margin-top: 14px; }
.pro .role { font-family: var(--f-display); font-style: italic; font-size: 25px; color: var(--primary); margin-top: 8px; }
.pro .body { display: grid; gap: 18px; color: var(--muted); margin-top: 28px; }
.pro .body p:first-child { color: var(--ink); font-size: 19px; }
.pro-media { position: relative; min-height: 340px; }
.pro-photo { position: absolute; inset: 4px 0; display: block; width: 100%; height: calc(100% - 8px); object-fit: cover; object-position: center top; border-radius: 22px; box-shadow: 0 24px 40px -32px rgba(20, 40, 40, .5); }


.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 40px 36px; }
.svc { padding-top: 20px; border-top: 1px solid var(--line); position: relative; }
.svc::before { content: ""; position: absolute; top: -1px; left: 0; width: 40px; height: 2px; background: var(--rose); }
.svc h3 { font-size: 27px; font-weight: 600; margin-bottom: 8px; }
.svc p { color: var(--muted); font-size: 16px; }

.panel { background: var(--mist); border-radius: 28px; padding: 52px clamp(20px, 3vw, 36px); }
#como-funciona .sec-head h2 { font-size: clamp(1.8rem, 3.1vw, 2.5rem); }
.panel .sec-head { margin-bottom: 20px; }
.tl { position: relative; }
.tl-list { list-style: none; margin: 0; padding: 0; }
.tl-item { position: relative; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); column-gap: 48px; align-items: start; padding-block: 28px; }
.tl-head { display: flex; align-items: flex-start; gap: 18px; min-width: 0; }
.tl-node {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--surface); border: 1.5px solid var(--line); color: var(--muted);
  font-family: var(--f-display); font-size: 21px; font-weight: 600; position: relative; z-index: 1;
  transition: background .5s ease, border-color .5s ease, color .5s ease;
}
.tl-item.in .tl-node { background: var(--primary); border-color: var(--primary); color: var(--primary-ink); }
.tl-head h3 { font-size: 26px; font-weight: 600; line-height: 1.15; padding-top: 6px; overflow-wrap: break-word; min-width: 0; }
.tl-item p { font-size: 16px; line-height: 1.7; color: var(--muted); padding-top: 6px; }
.tl-line { position: absolute; left: 19px; top: 0; width: 2px; height: 0; border-radius: 2px; background: var(--line); }
.tl-fill { position: absolute; left: 0; top: 0; width: 100%; height: 0; border-radius: 2px; background: var(--primary); transition: height .8s ease; }
.tl.anim .tl-item { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.tl.anim .tl-item.in { opacity: 1; transform: none; }
@media (max-width: 760px) {
  .tl-item { grid-template-columns: minmax(0, 1fr); row-gap: 10px; padding-block: 22px; }
  .tl-head h3 { font-size: 23px; }
  .tl-item p { padding-left: 58px; padding-top: 0; font-size: 15.5px; }
}

/* Contato */
.contact { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; }
.contact h2 { font-size: clamp(2rem, 3.8vw, 3rem); margin-top: 14px; }
.contact .intro { color: var(--muted); margin-top: 16px; max-width: 28em; }
.info { display: grid; gap: 18px; margin: 32px 0 0; padding: 0; list-style: none; }
.info li { display: grid; gap: 2px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.info li:last-child { border: 0; }
.info small { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary); font-weight: 600; }
.info span { overflow-wrap: anywhere; }
.info .map { justify-self: start; font-size: 14.5px; font-weight: 600; color: var(--primary); text-underline-offset: 3px; }

form { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 4vw, 38px); display: grid; gap: 18px; align-content: start; }
form h3 { font-size: 28px; font-weight: 600; }
label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
input, select, textarea {
  font: 400 16px/1.4 var(--f-body); color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; width: 100%; min-width: 0;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--primary); outline-offset: 1px; border-color: var(--primary); }
.hint { font-size: 13.5px; color: var(--blush-ink); background: var(--blush); padding: 10px 14px; border-radius: 12px; }
.note { font-size: 13.5px; color: var(--muted); }

footer { border-top: 1px solid var(--line); padding-top: 28px; margin-top: 24px; display: grid; gap: 8px; font-size: 14px; color: var(--muted); text-align: center; }
footer .rt { color: var(--ink); }

@media (max-width: 900px) {
  .hero, .sec-head, .about, .contact, .pro { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero { padding-block: 44px 56px; }
  .art { max-width: 460px; justify-self: center; order: -1; }
  .pro-media { min-height: 0; aspect-ratio: 5 / 6; max-width: 380px; }
  .pro-photo { inset: 0; height: 100%; }
  section { padding-block: 52px; }
}
@media (max-width: 1000px) {
  .brand small { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  nav a.l { display: none; }

  .brand small { display: none; }
  .values { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .panel { padding-block: 36px; border-radius: 22px; }
  .facts li { border: 0; margin: 0; padding: 0 16px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .tl-node, .tl-fill { transition: none; }
}
