/* Os mesmos tokens do app mantêm a identidade entre as superfícies. */
:root {
  --brand: #003548;
  --action: #378ADD;
  --action-dark: #2E72C4;
  --background: #F6F7F9;
  --surface: #FFFFFF;
  --surface-muted: #F2F2F7;
  --ink: #141A22;
  --ink-mid: #4A5261;
  --line: #E3E7EE;
  --cream: var(--background);
  --cream2: var(--surface-muted);
  --beige: var(--surface-muted);
  --terra: var(--action-dark);
  --terra-dark: var(--brand);
  --terra-light: #EBF3FC;
  --text: var(--ink);
  --text-muted: var(--ink-mid);
  --muted: var(--ink-mid);
  --border: var(--line);
}
html { scroll-padding-top: 100px; }
body { background: var(--background); }
nav { background: rgb(255 255 255 / 95%); height: 76px; padding-inline: max(24px, calc((100vw - 1200px) / 2)); }
.nav-logo, .logo, .footer-logo { color: var(--brand); letter-spacing: -.04em; }
.nav-logo { gap: 3px; font-size: 1.55rem; }
.btn, .button { border-radius: 14px; min-height: 48px; justify-content: center; font-size: .9375rem; font-weight: 600; }
.btn-primary { background: var(--action-dark); box-shadow: 0 6px 18px rgb(55 138 221 / 16%); }
.btn-outline { border: 1px solid var(--line); background: var(--surface); color: var(--brand); }
:focus-visible { outline: 3px solid var(--action); outline-offset: 5px; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 200; background: var(--brand); color: white; padding: 12px 20px; border-radius: 12px; }
.skip-link:focus { top: 10px; }
.hero { max-width: 1280px; margin: auto; min-height: 780px; padding: 135px 40px 80px; display: grid; grid-template-columns: 1fr 1fr; gap: 36px; text-align: left; overflow: hidden; }
.hero-inner { max-width: 590px; }
.hero-badge { border: 1px solid var(--line); background: var(--surface); color: var(--brand); font-size: .875rem; margin-bottom: 24px; padding: 8px 14px; }
.hero-badge::before { color: var(--action); font-size: 1rem; }
h1 { color: var(--brand); font-size: clamp(2.8rem, 4.8vw, 4.35rem); line-height: 1.08; letter-spacing: -.055em; }
h1 em { color: var(--action-dark); }
h2 { color: var(--brand); letter-spacing: -.035em; }
.hero-sub { margin: 24px 0 30px; font-size: 1.0625rem; line-height: 1.8; max-width: 480px; }
.hero-actions { justify-content: flex-start; gap: 12px; }
.hero-note { margin-top: 25px; color: var(--ink-mid); font-size: .875rem; }
.hero-note span { color: var(--action); margin-right: 8px; }
.hero-preview { position: relative; height: 570px; min-width: 0; }
.preview-orbit { position: absolute; width: 490px; height: 490px; border-radius: 50%; background: #E3EDF7; top: 40px; left: 0; }
/* O enquadramento em CSS reaproveita as imagens sem alterar os arquivos enviados. */
.phone-preview { position: absolute; width: 270px; height: 495px; overflow: hidden; border-radius: 44px 44px 24px 24px; box-shadow: 0 24px 45px rgb(0 53 72 / 18%); background: var(--surface); }
.phone-preview img { position: absolute; width: 139%; max-width: none; height: auto; left: -19.5%; top: -174px; }
.phone-front { top: 15px; left: 15px; transform: rotate(-5deg); }
.phone-back { width: 235px; height: 440px; top: 89px; right: 6px; transform: rotate(7deg); }
.phone-back img { width: 158%; left: -29%; top: -176px; }
.preview-label { position: absolute; bottom: 0; left: 60px; padding: 16px 24px; background: var(--brand); color: white; border-radius: 16px; font-size: .9375rem; box-shadow: 0 12px 30px rgb(0 53 72 / 16%); }
.preview-label span { color: #84BDFA; margin-right: 8px; }
.section { padding: 88px 32px; }
.container { max-width: 1200px; }
.section-label { font-size: .875rem; color: var(--action-dark); }
#funcionalidades { background: var(--surface); border-top: 1px solid var(--line); }
.app-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 40px 0 48px; }
.app-gallery figure { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--background); }
.app-gallery img { width: 100%; height: auto; display: block; }
.features-grid { margin-top: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature-card { background: var(--background); padding: 26px; border-radius: 22px; }
.feature-card:hover { box-shadow: 0 8px 30px rgb(0 53 72 / 7%); }
.feature-card p, .step p { font-size: 1rem; }
.feature-icon { background: var(--surface); border: 1px solid var(--line); }
.how-bg { background: var(--background); }
.steps { max-width: none; }
.step-num { color: var(--action-dark); font-size: 2.4rem; }
.chef-section { max-width: 1200px; gap: 70px; }
.chef-chat { border-radius: 28px; box-shadow: 0 20px 60px rgb(0 53 72 / 8%); }
.chat-header { padding: 6px 0 20px; }
.chat-avatar { background: var(--brand); border-radius: 12px; width: 44px; height: 44px; }
.chat-status { font-size: .875rem; }
.chat-msg { font-size: 1rem; }
.chat-msg.user { background: var(--surface-muted); }
.cta-section { background: var(--brand); }
.cta-section p { color: rgb(255 255 255 / 80%); }
.cta-section p:last-child { color: rgb(255 255 255 / 75%) !important; font-size: .875rem !important; }
#email-input { border-radius: 14px !important; min-height: 48px; }
.footer-links { flex-wrap: wrap; }
.footer-links a, .footer-copy { font-size: .875rem; }
.note { border-color: var(--line); color: var(--brand); }
main > p, .card p { color: var(--ink-mid); }
@media (max-width: 1000px) {
 .hero { gap: 12px; padding-inline: 28px; }
 .phone-front { width: 235px; height: 450px; left: 0; }
 .phone-front img { top: -150px; }
 .phone-back { width: 200px; height: 385px; right: 0; top: 130px; }
 .phone-back img { top: -150px; }
 .preview-orbit { width: 360px; height: 400px; }
 .app-gallery { gap: 12px; }
}
@media (max-width: 760px) {
 nav { height: 68px; padding-inline: 20px; }
 .hero { grid-template-columns: 1fr; padding: 110px 24px 48px; min-height: auto; gap: 35px; }
 .hero-inner { max-width: 560px; }
 h1 { font-size: clamp(2.8rem, 9vw, 4rem); }
 .hero-preview { width: min(100%, 450px); margin: auto; height: 540px; }
 .phone-front { width: 250px; height: 470px; left: 12px; }
 .phone-front img { top: -160px; }
 .phone-back { width: 210px; height: 400px; top: 95px; right: 8px; }
 .phone-back img { top: -158px; }
 .preview-label { left: 24px; }
 .section { padding: 64px 24px; }
 .app-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
 .features-grid { grid-template-columns: 1fr; }
 .chef-section { grid-template-columns: 1fr; gap: 32px; }
 .steps { gap: 32px; margin-top: 32px; }
 footer { padding: 32px 24px; }
 .footer-links { gap: 16px; }
}
@media (max-width: 380px) {
 .hero-badge { font-size: .75rem; }
 .phone-front { left: 0; width: 220px; height: 430px; }
 .phone-front img { top: -141px; }
 .phone-back { width: 180px; height: 360px; }
 .phone-back img { top: -135px; }
 .hero-preview { height: 490px; }
 .hero-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 *, *::before, *::after { animation: none !important; transition: none !important; }
}
