/* Restfy — estilos do site
   Cores do manual: #06003D (marinho), #F87200 (laranja), #EFF8FC (claro), #0D0D0D */

:root {
  --navy: #06003D;
  --accent: #F87200;
  --light: #EFF8FC;
  --muted-on-dark: #C9CCE8;
  --text-soft: #3B3F5C;
  --eyebrow: #3a2f8f;
  --border: #DCE8F0;
  --white: #FFFFFF;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; }
body {
  background: var(--light);
  font-family: 'Montserrat', system-ui, sans-serif;
  color: var(--navy);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--navy); }
a:hover { color: var(--eyebrow); }

.page { width: 100%; overflow: hidden; }
.container { max-width: var(--max); margin: 0 auto; }

/* Textos comuns */
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--eyebrow);
}
.eyebrow--accent { color: var(--accent); }
.h2 {
  margin: 0; font-size: clamp(32px, 3.6vw, 48px); line-height: 1.1;
  font-weight: 800; letter-spacing: -0.02em;
}
.lead { margin: 0; font-size: 17px; line-height: 1.6; color: var(--text-soft); }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px; text-decoration: none; font-weight: 700;
  transition: transform .15s ease, opacity .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--accent { background: var(--accent); color: var(--navy); }
.btn--accent:hover { color: var(--navy); opacity: .92; }
.btn--ghost { color: var(--light); font-weight: 600; border: 1.5px solid rgba(239,248,252,0.35); }
.btn--ghost:hover { color: var(--light); border-color: var(--light); }
.btn--navy { background: var(--navy); color: var(--light); }
.btn--navy:hover { color: var(--light); }
.btn--sm { font-size: 15px; padding: 0 22px; height: 46px; }
.btn--md { font-size: 16px; padding: 0 28px; height: 54px; }
.btn--lg { font-size: 16px; padding: 0 32px; height: 58px; }

/* Logo com texto de reserva (aparece se a imagem não carregar) */
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 34px; width: auto; }
.logo-text { display: none; font-weight: 800; font-size: 26px; letter-spacing: -0.02em; color: var(--light); }
.logo.no-img img { display: none; }
.logo.no-img .logo-text { display: inline; }

/* ===== HERO ===== */
.hero { background: var(--navy); color: var(--light); position: relative; overflow: hidden; }
.hero-watermark {
  position: absolute; right: -180px; top: 60px; width: 760px; height: auto;
  opacity: 0.05; pointer-events: none;
}
.nav {
  max-width: var(--max); margin: 0 auto; padding: 28px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative;
}
.nav-links { display: flex; gap: 36px; font-size: 15px; font-weight: 500; }
.nav-links a { color: var(--light); text-decoration: none; }
.nav-links a:hover { color: var(--accent); }

.hero-body {
  max-width: var(--max); margin: 0 auto; padding: 72px 24px 112px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 64px; position: relative;
}
.hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.pill {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid rgba(239,248,252,0.22); border-radius: 999px; padding: 8px 16px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero h1 {
  margin: 0; font-size: clamp(40px, 5.4vw, 72px); line-height: 1.04;
  font-weight: 800; letter-spacing: -0.025em;
}
.hero-sub { margin: 0; font-size: 19px; line-height: 1.6; color: var(--muted-on-dark); max-width: 560px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 8px; }

/* Mock do assistente */
.hero-visual { flex: 1 1 400px; min-width: 0; display: flex; justify-content: center; }
.chat {
  width: 100%; max-width: 440px; background: var(--light); color: var(--navy);
  border-radius: 28px; padding: 22px; box-shadow: 0 40px 80px rgba(0,0,0,0.35);
  display: flex; flex-direction: column; gap: 16px;
}
.chat-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid #D6E4EE; }
.chat-avatar {
  width: 42px; height: 42px; border-radius: 12px; background: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.chat-avatar img { width: 26px; height: auto; }
.chat-title { display: flex; flex-direction: column; gap: 2px; }
.chat-title strong { font-size: 15px; }
.chat-status { font-size: 12px; color: #4A4F6E; display: flex; align-items: center; gap: 6px; }
.chat-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #1E9E5A; }
.msg-user {
  align-self: flex-end; max-width: 82%; background: var(--navy); color: var(--light);
  padding: 12px 16px; border-radius: 18px 18px 4px 18px; font-size: 14px; line-height: 1.5;
}
.msg-bot {
  align-self: flex-start; max-width: 88%; background: var(--white); border: 1px solid #D6E4EE;
  padding: 14px 16px; border-radius: 18px 18px 18px 4px; font-size: 14px; line-height: 1.55;
  display: flex; flex-direction: column; gap: 10px;
}
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 8px; }
.chip--orange { background: #FFE9D6; color: #8A3D00; }
.chip--navy { background: #E6E5F2; color: var(--navy); }
.chat-input {
  display: flex; align-items: center; gap: 10px; background: var(--white);
  border: 1px solid #D6E4EE; border-radius: 14px; padding: 6px 6px 6px 16px;
}
.chat-input > span:first-child { flex: 1; font-size: 14px; color: #5A6080; }
.chat-send {
  width: 38px; height: 38px; border-radius: 10px; background: var(--accent);
  display: flex; align-items: center; justify-content: center; color: var(--navy);
}

/* ===== SOLUÇÕES ===== */
.solucoes { padding: 120px 24px; }
.solucoes .container { display: flex; flex-direction: column; gap: 56px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.section-head .titles { display: flex; flex-direction: column; gap: 16px; max-width: 640px; }
.section-head .lead { max-width: 420px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.card {
  background: var(--white); border-radius: 24px; padding: 32px;
  display: flex; flex-direction: column; gap: 16px; border: 1px solid var(--border);
}
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--navy); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.card h3 { margin: 0; font-size: 21px; font-weight: 700; }
.card p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--text-soft); }

/* ===== IA APLICADA ===== */
.ia { padding: 0 24px 120px; }
.ia-box {
  max-width: var(--max); margin: 0 auto; background: var(--white); border-radius: 32px;
  border: 1px solid var(--border); padding: clamp(32px, 5vw, 72px);
  display: flex; flex-wrap: wrap; gap: 56px; align-items: center;
}
.ia-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.ia-copy .h2 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.12; }
.ia-copy .lead { line-height: 1.65; }
.checks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.5; }
.checks svg { flex: none; margin-top: 1px; }
.flow { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.flow-step {
  background: var(--navy); color: var(--light); border-radius: 20px; padding: 22px 24px;
  display: flex; align-items: center; gap: 16px;
}
.flow-step--accent { background: var(--accent); color: var(--navy); margin-left: 28px; }
.flow-num {
  width: 40px; height: 40px; flex: none; border-radius: 50%; background: rgba(239,248,252,0.1);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px;
}
.flow-step--accent .flow-num { background: rgba(6,0,61,0.12); }
.flow-text { display: flex; flex-direction: column; gap: 4px; }
.flow-text strong { font-size: 16px; }
.flow-text span { font-size: 14px; color: var(--muted-on-dark); }
.flow-step--accent .flow-text span { color: inherit; }

/* ===== PROCESSO ===== */
.processo { background: var(--navy); color: var(--light); padding: 120px 24px; }
.processo .container { display: flex; flex-direction: column; gap: 64px; }
.processo .titles { display: flex; flex-direction: column; gap: 18px; max-width: 720px; }
.processo .lead { color: var(--muted-on-dark); line-height: 1.65; }
.steps {
  margin: 0; padding: 0; list-style: none; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px;
}
.step {
  display: flex; flex-direction: column; gap: 18px;
  border-top: 2px solid rgba(239,248,252,0.18); padding-top: 28px;
}
.step--active { border-top-color: var(--accent); }
.step-dots { display: flex; align-items: center; gap: 6px; height: 28px; }
.step-dots span { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); }
.step h3 { margin: 0; font-size: 20px; font-weight: 700; }
.step p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted-on-dark); }

/* ===== FAQ ===== */
.faq { padding: 120px 24px; }
.faq .container { display: flex; flex-wrap: wrap; gap: 56px; }
.faq-intro { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.faq-intro .h2 { font-size: clamp(32px, 3.6vw, 44px); }
.faq-intro a { font-weight: 600; }
.faq-list { flex: 2 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.faq-list details { background: var(--white); border: 1px solid var(--border); border-radius: 18px; padding: 0 24px; }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; gap: 16px; min-height: 68px; font-size: 17px; font-weight: 700;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-plus { font-size: 26px; font-weight: 400; transition: transform .2s; }
.faq-list details[open] .faq-plus { transform: rotate(45deg); }
.faq-list p { margin: 0; padding: 0 0 22px; font-size: 16px; line-height: 1.6; color: var(--text-soft); }

/* ===== CTA ===== */
.cta { padding: 0 24px 120px; }
.cta-box {
  max-width: var(--max); margin: 0 auto; background: var(--accent); color: var(--navy);
  border-radius: 32px; padding: clamp(40px, 6vw, 88px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px;
  position: relative; overflow: hidden;
}
.cta-watermark {
  position: absolute; right: -60px; bottom: -120px; width: 420px; height: auto;
  opacity: 0.08; pointer-events: none;
}
.cta-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; position: relative; }
.cta-copy h2 { margin: 0; font-size: clamp(34px, 3.8vw, 54px); line-height: 1.05; font-weight: 800; letter-spacing: -0.025em; }
.cta-copy p { margin: 0; font-size: 18px; line-height: 1.6; max-width: 540px; font-weight: 500; }
.cta-box { align-items: flex-start; }

/* Formulário de contato */
.contact-form {
  flex: 1 1 440px; min-width: 0; position: relative;
  display: flex; flex-direction: column; gap: 14px;
}
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-row .field { flex: 1 1 200px; }
.field-row { display: flex; flex-wrap: wrap; gap: 14px; }
.field label { font-size: 14px; font-weight: 700; }
.field .opt { font-weight: 500; opacity: .75; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--navy);
  background: var(--white); border: 2px solid transparent; border-radius: 14px;
  padding: 13px 16px; outline: none; transition: border-color .15s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { border-color: var(--navy); }
.contact-form .btn { align-self: flex-start; border: 0; cursor: pointer; font-family: inherit; }
.contact-form .btn:disabled { opacity: .6; cursor: wait; transform: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; min-height: 1.4em; font-size: 15px; font-weight: 600; }
.form-status.is-ok { color: var(--navy); }
.form-status.is-error { color: #5C0A00; }

/* ===== RODAPÉ ===== */
.foot { background: var(--navy); color: var(--light); padding: 72px 24px 40px; }
.foot .container { display: flex; flex-direction: column; gap: 56px; }
.foot a { color: var(--muted-on-dark); text-decoration: none; }
.foot a:hover { color: var(--accent); }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.foot-brand { display: flex; flex-direction: column; gap: 18px; max-width: 340px; }
.foot-brand .logo { align-self: flex-start; }
.foot-brand .logo img { height: 36px; }
.foot-brand p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted-on-dark); }
.foot-cols { display: flex; flex-wrap: wrap; gap: 64px; }
.foot-col { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.foot-col strong { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.foot-col span { color: var(--muted-on-dark); }
.foot-bottom {
  border-top: 1px solid rgba(239,248,252,0.14); padding-top: 28px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: 14px; color: var(--muted-on-dark);
}

/* ===== Responsivo ===== */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .solucoes, .faq { padding-top: 88px; padding-bottom: 88px; }
  .processo { padding-top: 88px; padding-bottom: 88px; }
  .ia, .cta { padding-bottom: 88px; }
  .hero-body { padding-top: 40px; padding-bottom: 88px; }
}
@media (max-width: 480px) {
  .nav .btn--sm { padding: 0 16px; font-size: 14px; height: 42px; }
  .flow-step--accent { margin-left: 0; }
}
