:root {
  color-scheme: dark;
  --ink: #fafafa; --muted: #c7cdcf; --night: #050605;
  --paper: #111413; --light: #191e1b; --line: #39413d;
  --accent: #a8e2ff; --accent-hover: #d3f1ff; --green: #86ce58;
  font-family: "Segoe UI", Arial, sans-serif; color: var(--ink); background: var(--night);
  font-synthesis: none;
}
html { scroll-padding-top: 96px; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
[hidden] { display: none !important; }
svg { width: 22px; height: 22px; flex: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.08; }
p { line-height: 1.65; }
.wrap { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: absolute; top: 10px; left: 10px; z-index: 9; padding: 12px; color: var(--night); background: #fff; }
.site-header, .site-footer {
  color-scheme: light;
  --ink: #121713; --muted: #47534a; --accent: #285d25; --line: #d6dfd6; --light: #edf5eb;
}
.site-header { position: sticky; top: 0; z-index: 4; background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: clamp(13px, 2vw, 26px); }
.header-actions { display: flex; flex-shrink: 0; align-items: center; gap: 9px; }
.header-whatsapp { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #a4cfb7; border-radius: 7px; color: #11643b; background: #f1faf4; }
.header-whatsapp:hover { background: #e0f3e7; border-color: #167447; }
.header-whatsapp svg { width: 24px; height: 24px; }
.brand { display: inline-block; flex-shrink: 0; max-width: 100%; }
.header-brand { width: clamp(160px, 16vw, 219px); }
.header-brand svg, .footer-brand img { display: block; width: 100%; height: auto; }
.footer-brand { width: 245px; mix-blend-mode: multiply; }
.header-inner nav { display: flex; gap: clamp(15px, 3vw, 38px); align-items: center; font-size: 14px; font-weight: 600; }
.header-inner nav a:hover { color: var(--accent); }
.site-footer a:hover, .site-footer button:hover { color: var(--accent); text-decoration: underline; }
.menu-toggle { display: none; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 14px; width: fit-content; min-height: 51px; border: 1px solid transparent; border-radius: 7px; padding: 12px 18px; font-size: 14px; font-weight: 700; line-height: 1.2; }
.button svg { width: 19px; height: 19px; }
.primary { background: var(--accent); color: var(--night); }
.primary:hover { background: var(--accent-hover); }
.whatsapp-button { border-color: #167447; color: #11643b; background: #f1faf4; }
.whatsapp-button:hover { background: #e0f3e7; }
.outline { background: transparent; border-color: var(--line); color: var(--accent); }
.outline:hover { border-color: var(--accent); background: var(--light); }
.header-cta { min-height: 42px; }
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: #fff; }
.hero-art {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 39%;
  background: radial-gradient(ellipse at 76% 50%, #173a41, transparent 72%);
}
.hero-art::before {
  content: "";
  position: absolute;
  inset: -35% -14% -35% 9%;
  transform: rotate(-24deg);
  background: repeating-radial-gradient(ellipse 58% 34% at 76% 50%, transparent 0 14px, #a8e2ff52 15px, transparent 16px 24px);
  mask-image: linear-gradient(108deg, transparent 12%, #000 57%, transparent 98%);
}
.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 88% 25%, #86ce584f, transparent 40%);
}
.hero-inner { padding-block: clamp(42px, 5.6vw, 84px) 0; }
.hero-content { min-height: 328px; }
.eyebrow { color: var(--accent); font-size: 11px; font-weight: 750; line-height: 1.5; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow i { display: inline-block; width: 20px; height: 2px; margin-right: 10px; background: currentColor; vertical-align: middle; }
.hero .eyebrow { color: var(--green); }
.hero .eyebrow i { width: 22px; height: 3px; background: var(--green); }
.hero h1, .hero h2, .detail-hero h1 { font-size: clamp(43px, 5.2vw, 72px); font-weight: 700; line-height: 1.02; letter-spacing: -.06em; margin: 22px 0; }
.hero h1, .hero h2 { max-width: 730px; margin: 15px 0 17px; font-size: clamp(48px, 6.3vw, 96px); }
.hero h1 em, .hero h2 em { display: block; color: var(--accent); font-style: normal; }
.hero-lead { color: var(--muted); max-width: 510px; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 23px; }
.hero-actions .whatsapp-button { color: #0a1607; border-color: var(--green); background: var(--green); }
.hero-actions .whatsapp-button:hover { background: #a4e17d; }
.quiet-link { display: inline-block; width: fit-content; background: none; border: 0; padding: 5px 0; color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
.quiet-link:hover { color: var(--accent); }
.hero-actions .quiet-link { color: var(--ink); }
.hero-controls { display: flex; margin-top: 28px; border-top: 1px solid var(--line); }
.hero-controls button { flex: 1; min-width: 0; min-height: 59px; padding: 8px 10px; margin-top: -1px; border: 0; border-top: 3px solid transparent; background: none; color: var(--muted); font-size: 14px; font-weight: 700; }
.hero-controls button:hover, .hero-controls button[aria-selected="true"] { color: #fff; }
.hero-controls button[aria-selected="true"] { border-top-color: var(--green); background: #86ce581a; }
.section { padding-block: 57px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px 50px; margin-bottom: 23px; }
.section-head h2, .closing h2 { margin-top: 10px; font-size: clamp(33px, 4vw, 51px); letter-spacing: -.05em; text-wrap: balance; }
.section-head > p { max-width: 390px; color: var(--muted); }
.expertise { background: var(--paper); }
.expertise-grid, .steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.expertise-card { min-width: 0; border: 1px solid var(--line); border-radius: 10px; padding: 24px; background: var(--tile); display: flex; flex-direction: column; }
.expertise-sap { --tile: linear-gradient(145deg, #1c292e, #101413 75%); }
.expertise-btp { --tile: linear-gradient(145deg, #253624, #101413 75%); }
.expertise-digital { --tile: linear-gradient(145deg, #1b3033, #101413 75%); }
.expertise-card:hover, .expertise-card:focus-within { border-color: var(--green); }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 21px; }
.card-icon { display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid #86ce5866; border-radius: 8px; color: var(--green); background: #86ce581a; }
.expertise-card h3, .steps h3 { font-size: clamp(19px, 2.1vw, 24px); letter-spacing: -.025em; margin-bottom: 9px; }
.expertise-card p, .steps p { font-size: 15px; color: var(--muted); }
.expertise-card a { margin-top: 22px; padding-top: 15px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--accent); }
.expertise-card p { flex: 1; }
.expertise-card a:hover { text-decoration: underline; text-underline-offset: 4px; }
.expertise-card a svg, .service-link svg { width: 18px; height: 18px; }
.services { background: var(--night); border-block: 1px solid var(--line); }
.service-layout { display: grid; grid-template-columns: minmax(245px, .72fr) 1.6fr; gap: 18px; align-items: start; }
.service-layout:has(.service-tabs[hidden]) { grid-template-columns: 1fr; }
.service-tabs { display: grid; gap: 8px; }
.service-tabs button { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 16px; min-height: 58px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; text-align: left; font-weight: 700; font-size: 14px; }
.service-tabs button span { color: var(--muted); font: 12px Consolas, monospace; }
.service-tabs button[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--night); }
.service-tabs button[aria-selected="true"] span { color: inherit; }
.service-tabs button:hover:not([aria-selected="true"]) { border-color: var(--green); }
.service-panel { padding: 20px 25px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; }
.service-panel + .service-panel { margin-top: 10px; }
.service-panel:not([hidden]) { margin-top: 0; }
.service-panel h3 { font-size: 19px; margin-bottom: 5px; }
.service-link { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.service-link:last-child { border-bottom: 0; }
.service-link strong { display: block; font-size: 15px; }
.service-link span span { color: var(--muted); display: block; margin-top: 3px; font-size: 13px; line-height: 1.4; }
.service-link svg, .service-link:hover strong { color: var(--accent); }
.service-link:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.steps article { padding-top: 20px; border-top: 1px solid var(--line); }
.steps article > span { display: block; margin-bottom: 15px; color: var(--accent); font-size: 11px; font-weight: 750; letter-spacing: .09em; }
.examples .steps article { display: flex; flex-direction: column; }
.example-link { display: inline-flex; align-items: center; gap: 8px; align-self: start; margin-top: auto; padding-top: 15px; font-weight: 700; font-size: 14px; color: var(--accent); }
.example-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.example-link svg { width: 18px; height: 18px; }
.approach { background: var(--paper); border-top: 1px solid var(--line); }
.closing { background: linear-gradient(115deg, #151c16 55%, #253521); color: var(--ink); padding-block: 60px; }
.closing .eyebrow { color: var(--green); }
.closing .quiet-link, .closing .quiet-link:hover { color: white; }
.closing-inner { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.closing-inner > div:last-child:not(:first-child) { display: grid; gap: 8px; justify-items: start; flex-shrink: 0; }
.site-footer { background: #fff; color: var(--ink); }
.footer-inner { padding-block: 38px 29px; display: flex; justify-content: space-between; gap: 25px; }
.footer-inner p { margin-top: 10px; color: var(--muted); font-size: 14px; }
.email-link { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 20px; align-items: start; font-size: 14px; }
.footer-inner button { color: inherit; background: none; padding: 0; border: 0; }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 17px; color: var(--muted); font-size: 12px; }
.detail-hero { background: linear-gradient(115deg, var(--night) 52%, #193031); padding-block: 49px 70px; border-bottom: 1px solid var(--line); }
.detail-hero h1 { max-width: 900px; text-wrap: wrap; }
.back-link { display: inline-block; color: var(--accent); margin-bottom: 32px; font-size: 14px; }
.back-link:hover { text-decoration: underline; }
.detail-hero .button { margin-top: 22px; }
.detail-hero .hero-lead { max-width: 650px; }
.deliverable { margin-top: 36px; background: var(--light); border-left: 4px solid var(--accent); padding: 18px 23px; }
.deliverable p + p { margin-top: 5px; }
.buyer-question { margin-top: 30px; max-width: 760px; }
.buyer-question h3 { margin-bottom: 8px; font-size: 23px; letter-spacing: -.025em; }
.buyer-question p { color: var(--muted); }
.policy-content { max-width: 740px; }
.policy-content h2 { margin: 25px 0 8px; font-size: clamp(20px, 3vw, 26px); letter-spacing: -.025em; }
.policy-content p { color: var(--muted); }
.policy-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.policy-content code { overflow-wrap: anywhere; }
.policy-date { font-size: 14px; }
.contact-tab { display: none; }
dialog { border: 1px solid var(--line); width: min(530px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow: auto; border-radius: 15px; padding: 27px; color: var(--ink); background: var(--paper); box-shadow: 0 18px 70px #0009; }
dialog::backdrop { background: #000b; }
body:has(dialog[open]) { overflow: hidden; }
dialog h2 { font-size: 30px; letter-spacing: -.035em; margin: 6px 20px 7px 0; }
dialog > p, .form-note { color: var(--muted); font-size: 14px; }
.close-dialog { position: absolute; right: 11px; top: 10px; background: var(--light); border: 0; border-radius: 50%; color: var(--ink); font-size: 24px; width: 39px; height: 39px; }
form { display: grid; gap: 10px; margin-top: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
form label { display: block; font-size: 13px; font-weight: 650; min-width: 0; }
.optional { font-weight: 400; color: var(--muted); }
.form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
form button:disabled { cursor: wait; opacity: .7; }
form input, form select, form textarea { display: block; width: 100%; margin-top: 5px; padding: 8px; min-height: 39px; color: var(--ink); background: var(--night); border: 1px solid #7c8981; border-radius: 5px; font-size: 16px; }
form textarea { resize: vertical; }
#form-status { color: var(--accent); font-size: 14px; }
#form-status:empty { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .hero-content > *, .scroll-arrival {
    animation: arrive 520ms cubic-bezier(.22, .75, .3, 1) backwards;
  }
  .hero-content > :nth-child(2) { animation-delay: 55ms; }
  .hero-content > :nth-child(3) { animation-delay: 105ms; }
  .hero-content > :nth-child(4) { animation-delay: 150ms; }
  .hero-content:focus-within > *, .scroll-arrival:focus-within { animation: none; }
  .hero-art { animation: art-arrival 750ms ease-out backwards; }
}

@media (min-width: 821px) and (prefers-reduced-motion: no-preference) {
  :is(.expertise-grid, .steps) > .scroll-arrival:nth-child(2) { animation-delay: 65ms; }
  :is(.expertise-grid, .steps) > .scroll-arrival:nth-child(3) { animation-delay: 130ms; }
}

@keyframes arrive {
  from { opacity: .35; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes art-arrival {
  from { opacity: 0; transform: translateX(22px); }
}

@media (max-width: 900px) {
  .wrap { width: calc(100% - 68px); }
}
@media (max-width: 820px), (max-height: 500px) and (pointer: coarse) {
  html { scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 70px); }
  .wrap {
    width: auto;
    margin-left: max(16px, calc(env(safe-area-inset-left, 0px) + 8px));
    margin-right: calc(env(safe-area-inset-right, 0px) + 36px);
  }
  .site-header { padding-top: env(safe-area-inset-top, 0px); }
  .header-inner { min-height: 60px; margin-right: max(16px, calc(env(safe-area-inset-right, 0px) + 8px)); }
  .header-cta { display: none; }
  .menu-toggle { display: grid; gap: 4px; place-content: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); background: transparent; }
  .menu-toggle > span:not(.sr-only) { width: 18px; height: 2px; background: currentColor; }
  .header-inner nav { display: none; position: absolute; z-index: 2; top: 100%; left: 0; right: 0; max-height: calc(100dvh - env(safe-area-inset-top, 0px) - 61px); overflow-y: auto; background: #fff; padding: 10px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px)); border-bottom: 1px solid var(--line); }
  .header-inner nav.open { display: grid; }
  .header-inner nav a { padding: 7px 0; }
  .hero-inner { padding-top: 24px; }
  .hero-content { min-height: 0; }
  .hero-art { inset: 0 0 0 32%; opacity: .47; }
  .hero h1, .hero h2, .detail-hero h1 { font-size: clamp(30px, 8vw, 46px); line-height: 1.06; letter-spacing: -.045em; margin: 10px 0 12px; overflow-wrap: break-word; }
  .hero h1, .hero h2 { font-size: clamp(34px, 9vw, 56px); }
  .hero-lead { font-size: 16px; line-height: 1.48; }
  .hero-actions { gap: 6px 12px; margin-top: 14px; }
  .hero-actions .button { min-height: 44px; gap: 8px; padding: 9px 11px; font-size: 13px; }
  .hero-actions .button svg { width: 16px; height: 16px; }
  .hero-actions [data-contact="digital"] svg { display: none; }
  .hero-actions .quiet-link { display: none; }
  .hero-controls { margin-top: 14px; }
  .hero-controls button { min-height: 44px; padding: 5px 2px; font-size: 11px; }
  .section { padding-block: 30px; }
  .section-head { display: grid; gap: 8px; margin-bottom: 17px; }
  .section-head > p { font-size: 15px; line-height: 1.5; }
  .expertise-grid, .steps, .service-layout { grid-template-columns: 1fr; }
  .expertise-grid, .steps { gap: 14px; }
  .expertise-card { padding: 18px; }
  .card-top { margin-bottom: 15px; }
  .expertise-card a { padding-top: 13px; }
  .service-panel { padding-inline: 15px; }
  .closing { padding-block: 42px; }
  .closing-inner, .footer-inner { align-items: start; flex-direction: column; }
  .detail-hero { padding-block: 30px 49px; }
  .contact-tab { position: fixed; z-index: 5; right: env(safe-area-inset-right, 0px); bottom: calc(env(safe-area-inset-bottom, 0px) + 16px); display: flex; align-items: center; gap: 7px; width: 32px; padding: 10px 6px; border: 1px solid var(--accent); border-right: 0; border-radius: 6px 0 0 6px; background: var(--accent); color: var(--night); box-shadow: 0 3px 14px #0005; writing-mode: vertical-rl; font-size: 12px; font-weight: 750; }
  .contact-tab svg { width: 15px; height: 15px; }
  body:has(dialog[open]) .contact-tab { visibility: hidden; }
}
@media (max-width: 359px) {
  .hero-actions { column-gap: 8px; }
  .hero-actions .button { padding-inline: 9px; }
  .hero-actions .button svg { display: none; }
  .form-row { grid-template-columns: 1fr; }
}
