@font-face {
  font-family: Sora;
  src: url("assets/sora.woff2") format("woff2");
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --white: #fff;
  --graphite: #161522;
  --indigo: #5b4df1;
  --lavender: #efeafe;
  --sand: #f6ece3;
  --text: var(--graphite);
  --muted: #57536a;
  --page: var(--white);
  --subtle: #f8f6fd;
  --surface: var(--lavender);
  --surface-warm: var(--sand);
  --accent: var(--indigo);
  --line: #d9d3e7;
  --focus: #4a37d6;
  --selected-bg: var(--graphite);
  --selected-text: var(--white);
  --logo-light: block;
  --logo-dark: none;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --text: #f8f6fd;
  --muted: #d4cde5;
  --page: var(--graphite);
  --subtle: #1f1d2f;
  --surface: #27233f;
  --surface-warm: #342830;
  --accent: #c4baff;
  --line: #4a435e;
  --focus: #d2c7ff;
  --selected-bg: var(--lavender);
  --selected-text: var(--graphite);
  --logo-light: none;
  --logo-dark: block;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --text: #f8f6fd;
    --muted: #d4cde5;
    --page: var(--graphite);
    --subtle: #1f1d2f;
    --surface: #27233f;
    --surface-warm: #342830;
    --accent: #c4baff;
    --line: #4a435e;
    --focus: #d2c7ff;
    --selected-bg: var(--lavender);
  --selected-text: var(--graphite);
  --logo-light: none;
    --logo-dark: block;
  }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-padding-block: 20px 90px; }
body {
  margin: 0;
  color: var(--text);
  background: var(--page);
  font: 400 1rem/1.6 "DM Sans", Arial, sans-serif;
}
a { color: inherit; text-underline-offset: 0.2em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
img { max-width: 100%; height: auto; display: block; }
p, h1, h2, h3, figure { margin: 0; }
h1, h2, h3 { font-family: Sora, "DM Sans", Arial, sans-serif; line-height: 1.14; text-wrap: balance; }
h1 { font-weight: 700; }
h2 { font-size: clamp(1.9rem, 4vw, 3.05rem); letter-spacing: -0.045em; }
h3 { font-size: clamp(1rem, 1.8vw, 1.2rem); letter-spacing: -0.027em; }
.container { width: min(100% - 2.5rem, 1190px); margin-inline: auto; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 23px; height: 23px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: fixed; z-index: 10; inset: 8px auto auto 8px; padding: 10px 14px; border-radius: 6px; background: var(--page); transform: translateY(-160%); }
.skip:focus { transform: none; }

.top { border-bottom: 1px solid var(--line); background: var(--page); }
.top-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: clamp(0.75rem, 2.4vw, 2rem); }
.brand { display: block; flex: 0 0 auto; width: 190px; }
.brand-light { display: var(--logo-light); }
.brand-dark { display: var(--logo-dark); }
.top-nav, .top-actions { display: flex; align-items: center; gap: clamp(0.9rem, 2.5vw, 2rem); }
.top-nav a { padding-block: 10px; font-weight: 600; font-size: .96rem; text-decoration: none; white-space: nowrap; }
.top-nav a:hover, .footer a:hover { text-decoration: underline; }
.top-actions { gap: 0.75rem; }
.theme-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}
.theme-button:hover { background: var(--subtle); }
.theme-button[aria-pressed="true"] .icon { fill: currentColor; }

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: .72rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}
.button-primary { color: var(--white); background: var(--indigo); }
.button-primary:hover { background: #493ad4; }
.button-outline { color: var(--text); background: var(--page); border-color: var(--line); }
.button-outline:hover { border-color: var(--accent); color: var(--accent); }
.header-cta { font-size: .91rem; min-height: 44px; white-space: nowrap; }
.trailing { margin-left: .4rem; }

.hero { background: var(--surface); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; padding-block: clamp(3rem, 6.2vw, 5.3rem); }
.hero-copy { padding-block: .1rem .25rem; }
.location { display: flex; align-items: center; gap: .55rem; font-weight: 700; color: var(--text); margin-bottom: 1.15rem; }
.location img { padding: 2px; box-sizing: content-box; background: var(--lavender); border-radius: 5px; }
.hero h1 { font-size: clamp(2.45rem, 5.25vw, 4.5rem); letter-spacing: -.055em; line-height: 1.04; max-width: 14ch; }
.hero h1 span { color: var(--accent); }
.hero-description { font-size: clamp(1.02rem, 1.7vw, 1.23rem); color: var(--muted); line-height: 1.54; max-width: 37ch; margin-top: 1.35rem; }
.contact-choice { padding: 0; margin: 1.5rem 0 .95rem; min-width: 0; border: 0; }
.contact-choice legend { font-size: .87rem; color: var(--muted); font-weight: 700; margin-bottom: .42rem; }
.choices { display: flex; flex-wrap: wrap; gap: .45rem; }
.choices label { display: grid; }
.choices input { grid-area: 1 / 1; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choices span {
  grid-area: 1 / 1;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .35rem .85rem;
  color: var(--text);
  background: var(--page);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: .88rem;
  font-weight: 600;
  pointer-events: none;
}
.choices input:checked + span { color: var(--selected-text); background: var(--selected-bg); border-color: var(--accent); }
.choices input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 3px; }
.hero-copy > .button { min-height: 54px; }
.contact-choice[hidden] + .button { margin-top: 1.4rem; }

.hero-photo {
  position: relative;
  isolation: isolate;
  align-self: stretch;
  min-height: 448px;
  margin: .1rem .8rem .85rem 0;
  background: var(--graphite);
  border-radius: 16px;
}
.hero-photo::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 22% -14px -14px 20%;
  background: var(--sand) url("assets/padrao-degraus.svg") repeat;
  border-radius: 16px;
}
.hero-photo > img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: center 48%; border-radius: 16px; }
.hero-photo figcaption { position: absolute; bottom: .8rem; right: .8rem; color: var(--white); background: var(--graphite); border-radius: 4px; font-size: .75rem; padding: .2rem .5rem; }

.section { padding-block: clamp(3.25rem, 7vw, 6rem); }
.section-heading { margin-bottom: clamp(1.25rem, 3vw, 2.5rem); }
.section-heading p { color: var(--muted); max-width: 47ch; margin-top: .75rem; font-size: 1.04rem; }
.heading-pair { display: grid; grid-template-columns: 1fr minmax(0,.72fr); gap: 2rem; align-items: end; }
.heading-pair p { margin: 0; }
.icon-box { width: 46px; height: 46px; display: grid; place-items: center; flex: 0 0 auto; background: var(--lavender); border-radius: 9px; }
.icon-box img { width: 24px; height: 24px; }
.symptom-grid, .steps { display: grid; gap: 1.1rem; padding: 0; margin: 0; list-style: none; }
.symptom-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.symptom-grid li { padding: 1.2rem 1.25rem; border: 1px solid var(--line); border-radius: 12px; }
.symptom-grid h3 { margin-top: .95rem; }
.symptom-grid p, .steps p, .service-list p, .path p, .faq p { color: var(--muted); margin-top: .55rem; }

.service-section { background: var(--subtle); }
.service-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; margin-bottom: 1.2rem; }
.service-list article { display: flex; gap: 1rem; align-items: flex-start; border-block-start: 1px solid var(--line); padding: 1.25rem .2rem; }
.path-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.2rem; }
.path { border-radius: 14px; padding: clamp(1.2rem,3vw,2rem); display: flex; flex-direction: column; align-items: flex-start; }
.path-store { background: var(--surface); }
.path-home { background: var(--surface-warm); }
.path-heading { display: flex; align-items: center; gap: .85rem; }
.path h3 { font-size: clamp(1.25rem,2.6vw,1.8rem); }
.path p { max-width: 48ch; margin-bottom: 1.25rem; }
.path .button { margin-top: auto; }

.steps { grid-template-columns: repeat(3,minmax(0,1fr)); }
.steps li { border-top: 1px solid var(--line); padding: 1.35rem 1rem 0 0; }
.step-number { display: inline-grid; place-items: center; min-width: 44px; height: 36px; border-radius: 6px; color: var(--graphite); background: var(--lavender); font-weight: 700; margin-bottom: 1rem; }
.value-section { color: var(--white); background: var(--graphite); }
.value-grid { display: grid; grid-template-columns: 1fr .85fr; gap: clamp(2rem, 8vw, 7rem); align-items: start; }
.value-grid h2 { font-size: clamp(2rem, 4.8vw, 3.8rem); max-width: 12ch; }
.overline { color: var(--accent); font-weight: 700; margin-bottom: .6rem; }
.value-grid .overline, .contact-panel .overline { color: #d1c7ff; }
.value-copy { padding-top: .4rem; }
.value-copy p { color: #e2dcef; margin-top: .6rem; }
.value-copy h3:not(:first-child) { margin-top: 1.4rem; }

.faq-grid { display: grid; grid-template-columns: minmax(0,.55fr) minmax(0,1fr); gap: clamp(2rem,7vw,6rem); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { min-height: 55px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; list-style: none; padding: .8rem .2rem; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 18px; height: 18px; color: var(--accent); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq p { margin: 0 2rem 1.05rem .2rem; }
.contact-section { padding-bottom: clamp(3rem,6vw,5rem); }
.contact-panel { display: flex; align-items: center; justify-content: space-between; gap: 2rem; color: var(--white); background: var(--graphite); border-radius: 15px; padding: clamp(1.5rem,4vw,3.5rem); }
.contact-panel h2 { max-width: 19ch; font-size: clamp(1.7rem,4vw,2.8rem); }
.contact-panel p:not(.overline) { color: #e2dcef; margin-top: .7rem; }
.contact-panel .button { flex-shrink: 0; }
.contact-panel .button:focus-visible { outline-color: var(--white); }
.contact-note { color: var(--muted); font-size: .89rem; margin-top: .8rem; }
.footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.6rem; justify-content: space-between; padding-block: 1.25rem; }
.footer p { color: var(--muted); font-size: .91rem; }
.footer nav { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem 1rem; }
.footer nav a { display: inline-flex; align-items: center; min-height: 35px; font-size: .92rem; text-decoration: none; }
.mobile-contact { display: none; }

.policy { width: min(100% - 2.5rem, 760px); margin-inline: auto; padding-block: clamp(2.75rem,7vw,5rem); }
.policy h1 { font-size: clamp(2.15rem,6vw,3.4rem); letter-spacing: -.055em; }
.policy h2 { font-size: clamp(1.2rem,4vw,1.65rem); margin-top: 1.75rem; letter-spacing: -.025em; }
.policy p { color: var(--muted); margin-top: .7rem; }
.policy p.overline { color: var(--accent); margin: 0 0 .5rem; }
.policy .top a { min-height: 44px; }

@media (max-width: 930px) {
  .header-cta { display: none; }
  .symptom-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 700px) {
  body:not(.policy-page) { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .top-inner { min-height: 72px; }
  .top-nav { display: none; }
  .hero-grid { display: block; padding-block: 2.2rem 2.6rem; }
  .hero h1 { max-width: 15ch; }
  .hero-description { margin-top: .95rem; }
  .location { margin-bottom: .85rem; }
  .contact-choice { margin-top: 1.15rem; }
  .hero-photo { min-height: unset; height: clamp(258px, 69vw, 405px); margin: 1.7rem .55rem .55rem 0; }
  .hero-photo::before { inset: 24% -9px -9px 20%; }
  .hero-photo > img { object-position: center 44%; }
  .heading-pair, .service-list, .path-grid, .steps, .value-grid, .faq-grid { grid-template-columns: 1fr; }
  .heading-pair, .faq-grid { gap: .65rem; }
  .service-list { gap: .35rem; }
  .value-grid { gap: 1.55rem; }
  .steps { gap: 1.6rem; }
  .faq-grid .section-heading { margin-bottom: 1rem; }
  .contact-panel { display: block; }
  .contact-panel .button { margin-top: 1rem; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .mobile-contact {
    position: fixed;
    z-index: 5;
    display: block;
    inset: auto 0 0;
    padding: .48rem 1.25rem calc(.48rem + env(safe-area-inset-bottom));
    background: var(--page);
    border-top: 1px solid var(--line);
  }
  .mobile-contact .button { width: 100%; }
}

@media (max-width: 430px) {
  .container { width: min(100% - 2rem, 1190px); }
  .symptom-grid { gap: .65rem; }
  .symptom-grid li { padding: .9rem; }
  .symptom-grid p { font-size: .93rem; }
  .policy-page .brand { width: 177px; }
  .policy-page .top-inner > a:last-child { font-size: .9rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
