
:root {
  --bg: #f4f7f8;
  --surface: #ffffff;
  --ink: #0c1d28;
  --muted: #5f707b;
  --navy: #0b1f2d;
  --navy-2: #123a4d;
  --teal: #2a9f94;
  --gold: #e7ad59;
  --line: #dce5e9;
  --shadow: 0 24px 70px rgba(6, 31, 44, .12);
  --radius: 24px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; text-rendering: optimizeLegibility; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid rgba(42,159,148,.55); outline-offset: 4px; }
.container { width: min(calc(100% - 36px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 999; padding: 10px 14px; background: #fff; border-radius: 10px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid rgba(220,229,233,.8); background: rgba(244,247,248,.87); backdrop-filter: blur(15px); }
.nav { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; letter-spacing: -.03em; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: var(--navy); color: #fff; font-size: 14px; box-shadow: 0 10px 22px rgba(11,31,45,.18); }
.nav-links { display: flex; gap: 25px; align-items: center; }
.nav-links a { text-decoration: none; color: #334751; font-size: 14px; font-weight: 680; }
.nav-links a:hover { color: var(--teal); }
.nav-cta { padding: 10px 16px; border-radius: 999px; background: var(--navy); color: #fff !important; }
.menu-button { display: none; border: 0; background: var(--surface); border-radius: 12px; padding: 10px; cursor: pointer; }
.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy) 0%, #0f2c3d 55%, #144a53 100%); color: white; }
.hero::before { content: ""; position: absolute; width: 620px; height: 620px; border-radius: 50%; right: -260px; top: -270px; background: radial-gradient(circle at 30% 35%, rgba(231,173,89,.7), rgba(231,173,89,0) 66%); }
.hero-grid { min-height: 710px; padding: 86px 0; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 72px; position: relative; }
.eyebrow { margin: 0 0 17px; color: var(--gold); font-size: 13px; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
h1 { margin: 0; max-width: 850px; font-size: clamp(45px, 6.2vw, 82px); line-height: .99; letter-spacing: -.055em; }
.hero-lead { max-width: 660px; margin: 27px 0 0; color: #d7e4ea; font-size: clamp(17px, 2vw, 21px); }
.hero-actions { display: flex; gap: 13px; flex-wrap: wrap; margin-top: 34px; }
.button { border: 1px solid transparent; border-radius: 14px; padding: 14px 19px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; text-decoration: none; font-weight: 780; line-height: 1.15; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--gold); color: #172530; box-shadow: 0 14px 30px rgba(231,173,89,.23); }
.button-secondary { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); color: white; }
.button-dark { background: var(--navy); color: #fff; }
.button-light { background: #fff; border-color: var(--line); color: var(--ink); }
.art-card { position: relative; max-width: 490px; justify-self: end; }
.art-card::after { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid rgba(255,255,255,.18); border-radius: 34px; z-index: 0; }
.art-card img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 34px; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.art-caption { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 24px; padding: 17px 18px; border-radius: 17px; background: rgba(6,24,34,.74); backdrop-filter: blur(12px); color: #dce9ee; font-size: 13px; }
section { padding: 92px 0; }
.section-head { display: grid; grid-template-columns: .7fr 1.3fr; gap: 44px; align-items: end; margin-bottom: 40px; }
.section-kicker { color: var(--teal); font-size: 13px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
h2 { margin: 8px 0 0; font-size: clamp(34px,4vw,54px); line-height: 1.05; letter-spacing: -.045em; }
.section-intro { margin: 0; color: var(--muted); font-size: 18px; max-width: 720px; justify-self: end; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 10px 30px rgba(10,38,52,.045); }
.card-icon { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: #e6f5f2; color: var(--teal); font-weight: 900; margin-bottom: 22px; }
.card h3 { margin: 0 0 10px; font-size: 21px; letter-spacing: -.02em; }
.card p { margin: 0; color: var(--muted); }
.profile-section { background: #e9f0f2; }
.profile-panel { display: grid; grid-template-columns: .85fr 1.15fr; gap: 46px; background: var(--navy); color: #fff; border-radius: 34px; padding: clamp(30px,5vw,58px); overflow: hidden; position: relative; box-shadow: var(--shadow); }
.profile-panel::after { content:""; position:absolute; width:420px; height:420px; right:-190px; bottom:-250px; border-radius:50%; background:rgba(42,159,148,.27); }
.profile-panel p { color: #c7d5dc; }
.profile-links { display: grid; gap: 12px; align-content: center; position: relative; z-index: 1; }
.profile-link { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 20px; border-radius: 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); text-decoration:none; }
.profile-link:hover { background: rgba(255,255,255,.14); }
.profile-link small { display:block; color:#9fb5c0; margin-top:2px; }
.contact-band { padding-top: 0; }
.contact-box { border-radius: 32px; background: linear-gradient(120deg,#ffffff,#edf4f4); border: 1px solid var(--line); padding: clamp(28px,5vw,56px); display:flex; justify-content:space-between; align-items:center; gap:30px; }
.contact-box h2 { font-size: clamp(31px,4vw,50px); }
.contact-box p { color:var(--muted); margin:14px 0 0; }
.footer { background: #071923; color: #b9c9d1; padding: 38px 0; }
.footer-row { display:flex; justify-content:space-between; align-items:center; gap:20px; font-size:14px; }
.footer a { color:#fff; }

/* Digital card */
.card-page { min-height: 100vh; background: radial-gradient(circle at 90% 0%, rgba(231,173,89,.24), transparent 32%), linear-gradient(160deg,#081a25 0%,#0e3040 62%,#0c4449 100%); color:#fff; padding: 24px 0 50px; }
.digital-shell { width:min(calc(100% - 28px),620px); margin:0 auto; }
.digital-topbar { display:flex; justify-content:space-between; align-items:center; margin-bottom:20px; }
.digital-topbar a { color:#dbe8ed; text-decoration:none; font-weight:700; font-size:14px; }
.digital-card { background:rgba(255,255,255,.97); color:var(--ink); border-radius:30px; overflow:hidden; box-shadow:0 35px 90px rgba(0,0,0,.32); }
.digital-cover { height:155px; position:relative; background-image:linear-gradient(90deg,rgba(7,25,35,.64),rgba(7,25,35,.08)),url('/assets/img/pintura-atual.jpg'); background-size:cover; background-position:center; }
.avatar { width:102px; height:102px; display:grid; place-items:center; position:absolute; left:50%; bottom:-51px; transform:translateX(-50%); border:6px solid white; border-radius:28px; background:var(--navy); color:white; font-weight:900; font-size:30px; box-shadow:0 14px 30px rgba(0,0,0,.22); }
.digital-body { padding:69px 24px 28px; text-align:center; }
.digital-body h1 { font-size:31px; line-height:1.1; letter-spacing:-.04em; color:var(--ink); }
.digital-role { margin:10px auto 0; color:var(--muted); max-width:430px; font-size:15px; }
.digital-primary { display:grid; gap:11px; margin-top:25px; }
.digital-primary .button { width:100%; min-height:52px; }
.quick-actions { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-top:14px; }
.quick-action { text-decoration:none; background:#f0f5f6; border:1px solid var(--line); padding:14px 8px; border-radius:15px; font-size:12px; font-weight:760; color:#334650; }
.quick-action span { display:grid; place-items:center; width:30px; height:30px; margin:0 auto 5px; color:var(--navy-2); }
.quick-action svg { display:block; }
.digital-links { margin-top:22px; display:grid; gap:10px; text-align:left; }
.digital-link { display:flex; justify-content:space-between; align-items:center; gap:14px; text-decoration:none; padding:15px 16px; border:1px solid var(--line); border-radius:15px; font-weight:730; }
.digital-link small { display:block; color:var(--muted); font-weight:500; }
.digital-note { color:#75858e; font-size:12px; margin:19px 5px 0; }

/* QR app */
.app-page { min-height:100vh; background:#071923; color:#fff; display:grid; place-items:center; padding:22px; }
.app-shell { width:min(100%,560px); text-align:center; }
.app-brand { display:inline-flex; align-items:center; gap:10px; color:#cbdbe2; font-size:14px; font-weight:700; margin-bottom:19px; }
.qr-panel { background:#fff; color:var(--ink); border-radius:32px; padding:clamp(22px,6vw,38px); box-shadow:0 35px 95px rgba(0,0,0,.45); }
.qr-panel h1 { color:var(--ink); font-size:clamp(31px,8vw,47px); line-height:1.02; }
.qr-panel p { color:var(--muted); margin:13px auto 22px; max-width:390px; }
.qr-frame { background:white; border:1px solid var(--line); border-radius:24px; padding:17px; width:min(100%,390px); margin:0 auto; }
.qr-frame img { width:100%; aspect-ratio:1/1; }
.qr-url { font-size:13px; color:#48616d; margin-top:12px; word-break:break-all; }
.app-actions { display:grid; grid-template-columns:1fr 1fr; gap:11px; margin-top:20px; }
.app-actions .button { min-height:51px; }
.install-hint { margin:19px auto 0; color:#9eb2bc; font-size:12px; max-width:430px; }
#installButton[hidden] { display:none; }
.status-toast { position:fixed; left:50%; bottom:22px; transform:translate(-50%,120px); background:#fff; color:var(--ink); padding:11px 16px; border-radius:999px; box-shadow:0 10px 40px rgba(0,0,0,.25); opacity:0; transition:.25s; font-size:13px; font-weight:700; }
.status-toast.show { opacity:1; transform:translate(-50%,0); }

@media (max-width: 860px) {
  .nav-links { display:none; position:absolute; top:70px; left:18px; right:18px; padding:18px; background:#fff; border:1px solid var(--line); border-radius:18px; box-shadow:var(--shadow); flex-direction:column; align-items:stretch; }
  .nav-links.open { display:flex; }
  .menu-button { display:block; }
  .hero-grid { grid-template-columns:1fr; min-height:auto; gap:52px; padding:72px 0 84px; }
  .art-card { justify-self:stretch; max-width:none; }
  .art-card img { aspect-ratio:16/10; }
  .section-head, .profile-panel { grid-template-columns:1fr; }
  .section-intro { justify-self:start; }
  .grid-3 { grid-template-columns:1fr; }
  .contact-box { align-items:flex-start; flex-direction:column; }
}
@media (max-width: 560px) {
  .container { width:min(calc(100% - 26px),var(--max)); }
  .brand span:last-child { max-width:180px; line-height:1.1; }
  h1 { font-size:46px; }
  section { padding:70px 0; }
  .hero-actions, .hero-actions .button { width:100%; }
  .art-card::after { inset:14px -10px -10px 14px; }
  .footer-row { flex-direction:column; align-items:flex-start; }
  .quick-actions { grid-template-columns:repeat(3,1fr); }
  .app-actions { grid-template-columns:1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *, *::before, *::after { animation-duration:.01ms !important; transition-duration:.01ms !important; }
}
