/* Assistente de Vendas — identidade do DESIGN-BRIEF do Opus (clientes/opus-software/identidade-visual.md no aiello-os).
   Preto, branco e cinzas quentes; laranja só como acento. Grotesca na estrutura, Fraunces itálico na ênfase. */

@font-face { font-family: "Neue Haas"; src: url("assets/fonts/NeueHaasDisplay-Roman.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Neue Haas"; src: url("assets/fonts/NeueHaasDisplay-Mediu.ttf") format("truetype"); font-weight: 500 700; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("assets/fonts/Fraunces_144pt-Italic.ttf") format("truetype"); font-style: italic; font-weight: 400; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("assets/fonts/Fraunces_144pt-SemiBoldItalic.ttf") format("truetype"); font-style: italic; font-weight: 500 700; font-display: swap; }

:root {
  --ink: #000;
  --text: #333;
  --muted: #6b6b6b;
  --paper: #fff;
  --gray: #f3f3f2;
  --gray-2: #e6e6e4;
  --line: #dcdddd;
  --dark: #0a0a0a;
  --orange-a: #fbac18;
  --orange-b: #ed1c28;
  --orange: #fc610e;
  --grad: linear-gradient(135deg, var(--orange-a) 0%, var(--orange-b) 100%);
  --sans: "Neue Haas", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Fraunces", "Times New Roman", serif;
  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--sans); color: var(--ink); margin: 0; font-weight: 600; }
em { font-family: var(--serif); font-style: italic; font-weight: 600; }
.dot { margin-left: .08em; color: #ff9f1c; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* Cabeçalho */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand { display: flex; align-items: center; gap: 6px; margin-right: auto; color: var(--ink); flex: none; }
.brand .logo { height: 28px; width: auto; aspect-ratio: 472 / 184; flex: none; }
/* Sem logo próprio do produto (o brief pede PNG escuro e branco: ⚠️ pedir à Opus), o nome vai em texto
   ao lado do logo Opus, assentado na linha de base do "opus" e não no centro da caixa do SVG, que inclui a perna do "p". */
.brand-name { font-family: var(--sans); font-weight: 400; font-size: 23px; letter-spacing: -0.02em; line-height: 1; white-space: nowrap; transform: translateY(-.08em); }
.nav { display: flex; gap: 28px; font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--ink); }
.nav a { position: relative; padding: 4px 0; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--grad); transition: width .3s ease; }
.nav a:hover::after { width: 100%; }

/* Botão: quadrado de seta em degradê + rótulo com contorno laranja */
.btn { display: inline-flex; align-items: stretch; font-family: var(--sans); font-weight: 500; font-size: 16px; color: var(--ink); cursor: pointer; border: 0; background: none; padding: 0; text-align: left; }
.btn-arrow { width: 44px; background: var(--grad); position: relative; flex: none; transition: transform .3s ease; }
.btn-arrow::before {
  content: ""; position: absolute; inset: 0; margin: auto; width: 16px; height: 16px; background: #fff;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5'><path d='M4 12h16M14 6l6 6-6 6'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5'><path d='M4 12h16M14 6l6 6-6 6'/></svg>") center/contain no-repeat;
}
.btn-label { display: flex; align-items: center; padding: 0 20px; border: 2px solid var(--orange); border-left: 0; min-height: 44px; background: transparent; transition: background .3s ease, color .3s ease; }
.btn:hover .btn-label { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn:hover .btn-arrow { transform: translateX(-2px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.btn-sm .btn-arrow { width: 36px; }
.btn-sm .btn-label { min-height: 36px; padding: 0 14px; font-size: 15px; }
.btn-ghost .btn-label { border: 2px solid var(--ink); padding: 0 22px; }
.btn-ghost:hover .btn-label { background: var(--ink); color: #fff; }
.btn-light { color: #fff; }
.btn-light .btn-label { border-color: var(--orange); }
.btn-light:hover .btn-label { background: #fff; color: var(--ink); border-color: #fff; }

/* Topo */
.hero { background: #f5f5f5 url("assets/bg-header-home.webp") center / cover no-repeat; padding: clamp(90px, 14vw, 190px) 0 clamp(80px, 10vw, 140px); }
.eyebrow { font-family: var(--sans); font-weight: 600; font-size: 16px; color: var(--ink); letter-spacing: -0.01em; line-height: 20px; margin: 0 0 28px; }
.eyebrow-light { color: #fff; }
h1 { font-size: clamp(44px, 7vw, 78px); line-height: 1; max-width: 15ch; }
h1 em { white-space: nowrap; }
.lede { max-width: 56ch; font-size: clamp(18px, 1.6vw, 21px); color: var(--text); margin: 36px 0 44px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.shot { display: block; width: 100%; height: auto; border-radius: 4px; border: 1px solid var(--line); background: #fff; }
.hero .shot { margin-top: clamp(48px, 6vw, 80px); }
.section-dark .shot { border-color: #2b2b2b; }

/* Faixa de fatos */
.facts { background: var(--ink); color: #fff; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 36px 28px; border-left: 1px solid #2b2b2b; }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact strong { display: block; font-family: var(--sans); font-size: 24px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 6px; }
.fact span { font-size: 15px; color: #bdbdbd; line-height: 1.5; display: block; }

/* Seções */
.section { padding: clamp(80px, 11vw, 150px) 0; }
.section-gray { background: var(--gray); }
.section-dark { background: var(--dark); color: #d6d6d6; }
.section-dark h2, .section-dark h3 { color: #fff; }
h2 { font-size: clamp(34px, 4.8vw, 64px); line-height: 1; max-width: 18ch; }

/* Título + texto (1.1fr 1fr) */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 8vw, 120px); align-items: start; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; margin: 28px 0 0; max-width: 56ch; }
.section-dark .lead { color: #cfcfcf; }

/* Lista com traço laranja */
.dash { list-style: none; padding: 0; margin: 32px 0 0; }
.dash li { padding: 16px 0 16px 34px; border-top: 1px solid var(--line); position: relative; color: var(--ink); }
.dash li::before { content: ""; position: absolute; left: 0; top: 26px; width: 18px; height: 2px; background: var(--orange); }
.section-dark .dash li { color: #fff; border-color: #2b2b2b; }

/* Termos (1fr 1.2fr) */
.terms { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 8vw, 120px); align-items: start; }
.terms-list { margin: 0; }
.term { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 24px 0; border-top: 1px solid var(--ink); }
.term:last-child { border-bottom: 1px solid var(--ink); }
.term dt { font-family: var(--sans); font-weight: 600; color: var(--ink); font-size: 18px; }
.term dd { margin: 0; font-size: 16.5px; }

/* Cartões com letra */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; }
.card { background: var(--gray); border-radius: 4px; padding: 40px 36px 36px; display: flex; flex-direction: column; transition: transform .35s ease, box-shadow .35s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(0,0,0,.08); }
.card-tag { width: 36px; height: 36px; background: var(--grad); color: #fff; font-family: var(--sans); font-weight: 600; display: grid; place-items: center; margin-bottom: 28px; }
.card h3 { font-size: 27px; line-height: 1.12; margin-bottom: 18px; }
.card p { font-size: 16px; }
.card-cta { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font-weight: 600; color: var(--orange); }
.card-cta:hover { text-decoration: underline; }

/* Linha de CTA da seção */
.section-cta { margin-top: clamp(40px, 5vw, 64px); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.section-cta p { margin: 0; font-size: 18px; }

/* Perguntas (1fr 1.4fr) */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 8vw, 120px); align-items: start; }
.faq details { border-top: 1px solid var(--ink); }
.faq details:last-child { border-bottom: 1px solid var(--ink); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 0; font-family: var(--sans); font-weight: 600; font-size: 21px; color: var(--ink); position: relative; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 30px; font-weight: 400; color: var(--orange); transition: transform .3s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 40px 26px 0; margin: 0; max-width: 60ch; }

/* Contato (1fr 1fr) */
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 120px); align-items: start; }
.cta-lede { margin-top: 28px; font-size: 19px; color: #cfcfcf; max-width: 60ch; }
.lead-form { display: grid; gap: 18px; min-width: 320px; }
.lead-form label { display: grid; gap: 8px; font-family: var(--sans); font-size: 15px; font-weight: 500; color: #cfcfcf; }
.lead-form .opt { font-weight: 400; color: #9a9a9a; }
.lead-form input, .lead-form select { width: 100%; font-family: var(--body); font-size: 17px; color: #fff; background: transparent; border: 0; border-bottom: 1px solid #555; border-radius: 0; padding: 10px 0; outline: none; min-height: 44px; transition: border-color .2s ease; }
.lead-form select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, #9a9a9a 50%), linear-gradient(135deg, #9a9a9a 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 6px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.lead-form select option { color: #000; }
.lead-form input::placeholder { color: #777; }
.lead-form input:focus, .lead-form select:focus { border-color: var(--orange); }
.lead-form .btn { justify-self: start; margin-top: 10px; }
.form-status { margin: 0; min-height: 1.6em; font-size: 15px; color: #ff9f1c; }

/* Coluna da direita começa na altura do título, não do rótulo (20px de linha + 28px de margem do .eyebrow) */
.split > :last-child, .terms > :last-child, .faq-wrap > :last-child, .cta-grid > :last-child { padding-top: 48px; }

/* Rodapé */
.site-footer { background: var(--ink); color: #9a9a9a; padding: 44px 0; border-top: 1px solid #1f1f1f; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; font-size: 14px; }
.footer-inner .brand { color: #fff; margin: 0; }
.footer-inner .brand .logo { height: 24px; }
.footer-inner .brand-name { font-size: 19px; }
.footer-inner p { margin: 0 auto 0 0; }
.footer-inner a { color: #fff; border-bottom: 1px solid #444; }
.footer-inner a:hover { border-color: var(--orange); }

/* Revelar ao rolar */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* Entre 1001 e 1180px a nav e o nome do produto não cabem com o botão inteiro: o botão vira só "agendar". */
@media (max-width: 1180px) { .site-header .lg { display: none; } }
@media (max-width: 1000px) {
  .nav { display: none; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; }
  .fact { border-top: 1px solid #2b2b2b; }
  .fact:nth-child(-n+2) { border-top: 0; }
  .split, .terms, .faq-wrap, .cta-grid { grid-template-columns: 1fr; }
  .split > :last-child, .terms > :last-child, .faq-wrap > :last-child, .cta-grid > :last-child { padding-top: 0; }
  .cards { grid-template-columns: 1fr; }
  .term { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .header-inner { height: 64px; gap: 12px; }
  .brand .logo { height: 22px; }
  .brand-name { font-size: 15px; }
  .brand { gap: 5px; }
  .site-header .lg { display: none; }
  .facts-grid { grid-template-columns: 1fr; }
  .fact, .fact:nth-child(3) { border-left: 0; padding-left: 0; border-top: 1px solid #2b2b2b; }
  .fact:first-child { border-top: 0; }
  .card { padding: 30px 24px; }
  .lead-form { min-width: 0; }
}
