/* DOBRA, estúdio de engenharia.
   Paleta da AraraHQ: papel, tinta e um destaque só (teal).
   Um esqueleto: tudo alinhado na mesma borda esquerda, um ritmo vertical,
   um estilo de cartão. Só a hero anima. */

:root {
  --paper: #F4F8FA;
  --tint: #EAF4F6;
  --white: #FFFFFF;
  --ink: #081212;
  --gray: #4F6467;
  --line: #D6E4E6;
  --wash: #D4F9F9;
  --teal: #1C99A7;
  --teal-deep: #1C7682;
  --teal-hover: #14555E;
  --mint: #77E7E9;
  --plate: #0F343D;
  --flag: #B4231F;
  --flag-wash: #FBE3E2;

  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --text: "Manrope", ui-sans-serif, system-ui, sans-serif;

  --max: 1120px;
  --pad: clamp(20px, 4vw, 48px);
  --space: clamp(88px, 12vh, 128px);
  --r: 16px;
  --shadow: 0 1px 2px -1px rgba(10, 26, 30, .1), 0 16px 40px -18px rgba(10, 26, 30, .22);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; font-family: var(--text); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: var(--wash); }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 16px; top: -60px; padding: 10px 16px; background: var(--ink); color: var(--white); border-radius: 8px; z-index: 50; }
.skip:focus { top: 16px; }
.wrap { width: 100%; max-width: calc(var(--max) + var(--pad) * 2); margin-inline: auto; padding-inline: var(--pad); }
.icon { width: 1em; height: 1em; flex: none; }

/* Tipografia */
h1, h2, h3 { font-family: var(--display); font-weight: 750; letter-spacing: -.035em; line-height: 1.04; text-wrap: balance; }
h1 { font-size: clamp(44px, 5.4vw, 76px); letter-spacing: -.045em; line-height: 1; }
h2 { font-size: clamp(32px, 3.4vw, 46px); }
h3 { font-size: 21px; letter-spacing: -.02em; line-height: 1.2; }
h1 em, h2 em { font-style: normal; color: var(--teal); }
.lead { font-size: clamp(17px, 1.35vw, 19px); color: var(--gray); max-width: 42ch; text-wrap: pretty; }
.label { font-size: 13px; font-weight: 700; color: var(--teal-deep); margin-bottom: 14px; }
.note { font-size: 14px; color: var(--gray); }

/* Botões e links */
.button { display: inline-flex; align-items: center; gap: 10px; background: var(--teal-deep); color: var(--white); text-decoration: none; font-weight: 700; font-size: 16px; padding: 14px 24px; border-radius: 999px; transition: background-color .2s, transform .2s; }
.button .icon { transition: transform .25s var(--ease); }
.button:hover { background: var(--teal-hover); }
.button:hover .icon { transform: translateX(3px); }
.button:active { transform: scale(.97); }
.button--sm { padding: 9px 18px; font-size: 14px; }
.button--light { background: var(--white); color: var(--ink); }
.button--light:hover { background: var(--wash); }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--teal-deep); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; padding-bottom: 2px; transition: color .2s; }
.text-link:hover { color: var(--teal-hover); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }

/* Cabeçalho */
.header { display: flex; align-items: center; gap: 36px; padding-block: 20px; }
.brand { display: inline-grid; text-decoration: none; margin-right: auto; line-height: 1.05; }
.brand > span { display: grid; }
.brand b { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -.045em; }
.wordmark span { color: var(--teal); }
.brand small { font-size: 12px; color: var(--gray); }
.nav { display: flex; gap: 28px; font-size: 15px; font-weight: 600; }
.nav a { text-decoration: none; color: var(--gray); transition: color .2s; }
.nav a:hover { color: var(--ink); }

/* Hero: texto e relatório lado a lado */
.hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(40px, 8vh, 88px) var(--space); }
.hero h1 { margin-bottom: 24px; }
.hero .lead { margin-bottom: 36px; }
.hero .note { margin-top: 18px; }

.report-card { background: var(--white); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); }
.report-card__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.report-card__head b { font-size: 14px; color: var(--gray); }
.report-card__head span { font-size: 12px; font-weight: 700; color: var(--teal-deep); background: var(--wash); padding: 3px 10px; border-radius: 999px; }
.report-card__title { font-family: var(--display); font-weight: 750; font-size: 24px; letter-spacing: -.03em; line-height: 1.15; margin: 18px 0 10px; }
.report-card__rows div { display: grid; grid-template-columns: 104px 1fr; gap: 12px; padding-block: 10px; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.45; }
.report-card__rows dt { color: var(--gray); }
.sev { display: inline-block; font-size: 12px; font-weight: 800; padding: 2px 10px; border-radius: 999px; background: var(--flag-wash); color: var(--flag); }
.report-card__plan { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.report-card__plan li { background: var(--tint); border-radius: 12px; padding: 10px 12px; }
.report-card__plan b { display: block; font-family: var(--display); font-size: 20px; letter-spacing: -.03em; color: var(--teal-deep); line-height: 1.1; }
.report-card__plan b::after { content: " dias"; font: 600 12px var(--text); letter-spacing: 0; color: var(--gray); }
.report-card__plan span { font-size: 12.5px; line-height: 1.35; color: var(--gray); }

/* Faixa de experiência */
.logos { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 20px 48px; padding-block: 28px; border-block: 1px solid var(--line); }
.logos p { font-size: 14px; font-weight: 600; color: var(--gray); white-space: nowrap; }
.logos ul { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.logos img { height: 26px; width: auto; filter: brightness(0); opacity: .5; }

/* Seções */
.section { padding-block: var(--space); }
.section--tint { background: var(--tint); }
.section h2 { margin-bottom: 48px; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.split h2 { margin-bottom: 20px; }
.split .lead { margin-bottom: 24px; }

/* Cartão único */
.cards { display: grid; gap: 16px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards li { display: grid; gap: 8px; align-content: start; background: var(--white); border-radius: var(--r); padding: 26px; box-shadow: 0 1px 2px rgba(10, 26, 30, .06); }
.cards strong { font-family: var(--display); font-weight: 750; font-size: 21px; letter-spacing: -.02em; line-height: 1.2; }
.cards span { color: var(--gray); font-size: 16px; }
.cards small { font-size: 13px; font-weight: 600; color: var(--teal-deep); }
.services li { grid-template-rows: auto auto 1fr auto; }
.services .text-link { justify-self: start; margin-top: 12px; }

/* Passos */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; border-top: 1px solid var(--line); padding-top: 32px; }
.steps span { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--teal-deep); color: var(--white); font-weight: 800; font-size: 14px; margin-bottom: 16px; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--gray); font-size: 16px; }

/* Case */
.doc { background: var(--white); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); }
.sample-tabs { display: flex; gap: 4px; padding: 4px; background: var(--paper); border-radius: 999px; margin-bottom: 24px; width: max-content; max-width: 100%; }
.sample-tabs button { border: 0; background: transparent; padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--gray); cursor: pointer; transition: background-color .2s, color .2s; }
.sample-tabs button[aria-selected="true"] { background: var(--teal-deep); color: var(--white); }
.example-panel h3 { margin-bottom: 14px; }
.example-panel dl div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding-block: 12px; border-top: 1px solid var(--line); font-size: 15.5px; }
.example-panel dt { font-weight: 700; }
.example-panel dd { color: var(--gray); }

/* Dúvidas */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
details summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 18px; cursor: pointer; font-weight: 700; }
details summary::-webkit-details-marker { display: none; }
details summary .icon { width: 20px; height: 20px; color: var(--teal-deep); transition: transform .25s var(--ease); }
details[open] summary .icon { transform: rotate(45deg); }
details p { padding-bottom: 20px; color: var(--gray); max-width: 60ch; }

/* Contato */
.contact { background: var(--plate); color: var(--white); padding-block: var(--space); }
.contact-inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(32px, 5vw, 72px); align-items: center; }
.contact h2 { font-size: clamp(36px, 4.4vw, 60px); }
.contact h2 em { color: var(--mint); }
.contact-action p { color: rgba(255, 255, 255, .75); margin-bottom: 24px; }
.email { color: var(--mint); font-weight: 700; text-decoration: none; }
.email:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Rodapé */
.footer { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 36px; padding-block: 28px 36px; }
.footer .brand { margin-right: 0; }
.footer .brand b { font-size: 20px; }
.measurement-notice { border: 0; max-width: 420px; }
.measurement-notice summary { font-size: 13px; font-weight: 600; color: var(--gray); padding-block: 6px; }
.measurement-notice p { font-size: 13px; padding-bottom: 8px; }
.powered { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 13px; color: var(--gray); margin-left: auto; }
.powered img { width: 88px; }

/* Páginas de relatório (case e exemplo) */
.report { max-width: calc(760px + var(--pad) * 2); padding-block: clamp(40px, 7vh, 80px) 96px; }
.report h1 { font-size: clamp(36px, 4.6vw, 60px); margin-bottom: 20px; }
.report > p { font-size: 18px; color: var(--gray); }
.report .example-label { font-size: 13px; font-weight: 700; color: var(--teal-deep); margin-bottom: 14px; }
.report section { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.report h2 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 14px; }
.report section p { color: var(--gray); }
.report section p + p { margin-top: 12px; }
.report dl div { display: grid; grid-template-columns: minmax(0, 200px) 1fr; gap: 6px 20px; padding-block: 12px; border-top: 1px solid var(--line); }
.report dt { font-weight: 700; }
.report dd { color: var(--gray); }
.report table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 15px; }
.report th, .report td { text-align: left; vertical-align: top; padding: 12px; border-bottom: 1px solid var(--line); }
.report thead th { font-size: 13px; color: var(--gray); border-bottom: 1px solid var(--ink); }
.report tbody th { white-space: nowrap; color: var(--teal-deep); }
.report ul { display: grid; gap: 8px; margin-top: 8px; }
.report ul li { display: flex; gap: 12px; color: var(--gray); }
.report ul li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: 10px; border-radius: 50%; background: var(--teal); }
.report-note { background: var(--tint); border: 0 !important; border-radius: var(--r); padding: 24px 28px; }
.report-back { border: 0 !important; }
.header > .text-link { margin-left: auto; }

/* O único movimento: entrada da hero */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: subir .8s var(--ease) both; }
  .report-card { animation: subir .9s var(--ease) .12s both; }
  @keyframes subir { from { opacity: 0; transform: translateY(14px); } }
}

/* Responsivo */
@media (max-width: 960px) {
  .nav { display: none; }
  .hero, .split, .contact-inner { grid-template-columns: 1fr; }
  .cards--3, .steps { grid-template-columns: 1fr; }
  .steps { gap: 28px; }
  .logos { grid-template-columns: 1fr; }
  .logos ul { justify-content: flex-start; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  h1 { font-size: clamp(40px, 11.5vw, 52px); }
  .hero .button, .contact .button { width: 100%; justify-content: center; }
  .report-card, .doc { padding: 20px; }
  .report-card__rows div, .example-panel dl div, .report dl div { grid-template-columns: 1fr; gap: 2px; }
  .report-card__plan b { font-size: 18px; }
  .logos img { height: 22px; }
  .sample-tabs { width: 100%; }
  .sample-tabs button { flex: 1; padding-inline: 8px; }
  .powered { margin-left: 0; }
  .report table, .report thead, .report tbody, .report tr, .report th, .report td { display: block; }
  .report thead { display: none; }
  .report tr { padding-block: 10px; border-bottom: 1px solid var(--line); }
  .report th, .report td { padding: 2px 0; border: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
