/* The service pages of the site: identidade-visual/, criacao-de-sites/, aplicativos-e-ia/, trafego-pago/,
   redes-sociais/ and video-foto-e-drone/. Plain HTML, no build: each page loads ../styles.css (the fonts, the
   colours, the focus ring, the disc of .hs-stop) and this sheet. They are pages to read: one column of text
   beside its title, hairlines instead of boxes, and the brand blue kept for the button and the full stop.
   Motion is one entrance at the top and the sign of a question turning, with transform and opacity alone.
   Nothing here needs JavaScript. */

:root {
  --atm-night: #040819;
  --sv-edge: clamp(20px, 5vw, 88px);
  --sv-line: #1b2440;
  --sv-sky: #8aa4ff;
}

html { scroll-padding-top: 24px; }
/* The glow of the opening is painted once, at the top of the page, and ends in the colour of the page itself. */
.sv-page {
  min-height: 100vh;
  background: radial-gradient(ellipse 110% 760px at 88% 0, #0e2269 0, #081338 42%, #040819 100%) top / 100% 900px no-repeat #040819;
  font-size: 17px;
  line-height: 1.6;
}
.sv-page h2, .sv-page h3, .sv-page ul, .sv-page ol { margin: 0; padding: 0; }
.sv-page ul, .sv-page ol { list-style: none; }
.sv-page .hs-stop { color: var(--blue); }
.sv-main:focus { outline: none; }

/* Header: the name, which leads home, and one button. */
.sv-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: clamp(14px, 2vw, 28px) var(--sv-edge); }
.sv-brand { min-height: 44px; display: inline-flex; align-items: center; }
.sv-brand img { width: clamp(104px, 10vw, 150px); height: auto; }
.sv-call, .sv-button { display: inline-flex; align-items: center; gap: 12px; border-radius: 28px; background: var(--blue); color: #fff; font-weight: 600; white-space: nowrap; transition: background-color 200ms var(--ease); }
.sv-call { min-height: 44px; padding: 0 clamp(14px, 1.5vw, 22px); font-size: clamp(13px, 1.05vw, 15px); }
.sv-button { min-height: 54px; padding: 0 clamp(22px, 2vw, 30px); font-size: clamp(16px, 1.15vw, 18px); }
.sv-call svg, .sv-button svg { width: 1em; height: 1em; transition: transform 200ms var(--ease); }
.sv-call:focus-visible, .sv-button:focus-visible { outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) {
  .sv-call:hover, .sv-button:hover { background: #3a69ff; }
  .sv-call:hover svg, .sv-button:hover svg { transform: translate(2px, -2px); }
}

/* Opening: where the page stands, the title and one sentence. */
.sv-hero { padding: clamp(28px, 6vw, 104px) var(--sv-edge) clamp(56px, 8vw, 128px); }
.sv-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; color: var(--muted); font-size: 14px; }
.sv-crumbs li { display: inline-flex; align-items: center; min-height: 44px; }
.sv-crumbs li + li::before { content: "/"; padding: 0 .7em; color: #55607a; }
.sv-crumbs a { min-height: 44px; display: inline-flex; align-items: center; color: var(--body); transition: color 200ms var(--ease); }
.sv-crumbs a:hover { color: var(--paper); }
.sv-crumbs a:focus-visible { outline-offset: -2px; }
.sv-title { max-width: 13.5em; margin-top: clamp(10px, 1.6vw, 28px); font-family: var(--font-display); font-weight: 700; font-size: clamp(38px, 6.6vw, 104px); line-height: 1.03; letter-spacing: -.045em; text-wrap: balance; }
.sv-lede { max-width: 33em; margin-top: clamp(18px, 2.2vw, 34px); color: var(--body); font-size: clamp(18px, 1.6vw, 24px); line-height: 1.5; text-wrap: pretty; }
.sv-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 32px; margin-top: clamp(26px, 3vw, 46px); }
.sv-link { min-height: 44px; display: inline-flex; align-items: center; color: var(--paper); text-decoration: underline; text-decoration-color: #ffffff5c; text-decoration-thickness: 1px; text-underline-offset: .3em; transition: text-decoration-color 200ms var(--ease); }
.sv-link:hover { text-decoration-color: var(--accent); }
.sv-link:focus-visible { outline-offset: 2px; border-radius: 2px; }

.sv-rise { animation: sv-rise 720ms var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms); }
@keyframes sv-rise { from { opacity: 0; transform: translateY(18px); } }

/* A block of the page: its title on the left, the column of reading on the right. On a phone, one under the other. */
.sv-block { display: grid; gap: clamp(22px, 3vw, 40px); padding: clamp(52px, 7vw, 112px) var(--sv-edge); border-top: 1px solid var(--sv-line); }
.sv-h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 3.3vw, 50px); line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
.sv-body { max-width: 41em; }
.sv-body p { color: var(--body); font-size: clamp(17px, 1.2vw, 19px); line-height: 1.65; text-wrap: pretty; }
.sv-body p + p { margin-top: 1.1em; }
.sv-body p a, .sv-list a, .sv-faq p a { color: var(--paper); text-decoration: underline; text-decoration-color: #ffffff5c; text-decoration-thickness: 1px; text-underline-offset: .22em; transition: text-decoration-color 200ms var(--ease); }
.sv-body p a:hover, .sv-list a:hover, .sv-faq p a:hover { text-decoration-color: var(--accent); }
.sv-body p a:focus-visible, .sv-list a:focus-visible, .sv-faq p a:focus-visible { outline-offset: 3px; border-radius: 2px; }
@media (min-width: 900px) {
  .sv-block { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: clamp(32px, 5vw, 96px); }
  .sv-block > .sv-h2 { position: sticky; top: 32px; align-self: start; }
}

/* What is included: a name and what it is, row after row. */
.sv-list { margin-top: clamp(20px, 2vw, 30px); border-top: 1px solid var(--sv-line); }
.sv-list li { display: grid; gap: 4px 28px; padding: 17px 0; border-bottom: 1px solid var(--sv-line); }
.sv-list strong { color: var(--paper); font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 1.45vw, 22px); line-height: 1.25; letter-spacing: -.02em; }
.sv-list span { color: var(--body); font-size: clamp(16px, 1.15vw, 18px); line-height: 1.55; }
@media (min-width: 640px) { .sv-list li { grid-template-columns: minmax(0, 5fr) minmax(0, 9fr); align-items: baseline; } }

/* The five steps, each with its number. */
.sv-steps { margin-top: clamp(20px, 2vw, 30px); border-top: 1px solid var(--sv-line); counter-reset: sv-step; }
.sv-steps li { display: grid; grid-template-columns: clamp(42px, 4.4vw, 64px) minmax(0, 1fr); gap: 4px 0; padding: 20px 0; border-bottom: 1px solid var(--sv-line); counter-increment: sv-step; }
.sv-steps li::before { content: counter(sv-step, decimal-leading-zero); grid-row: 1 / span 2; padding-top: .28em; color: var(--sv-sky); font-family: var(--font-display); font-weight: 700; font-size: clamp(15px, 1.1vw, 17px); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.sv-steps h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 1.7vw, 25px); line-height: 1.2; letter-spacing: -.025em; }
.sv-steps p { color: var(--body); font-size: clamp(16px, 1.15vw, 18px); line-height: 1.55; }

/* The band of work done: a shade of the brand blue behind it, and the names large. The amber is one hair over the title. */
.sv-work { background: linear-gradient(180deg, #08143f 0, #060d2b 100%); border-top-color: #17245a; }
.sv-work + .sv-block { border-top-color: #17245a; }
.sv-work .sv-h2::before { content: ""; display: block; width: 40px; height: 2px; margin-bottom: clamp(16px, 1.6vw, 24px); background: var(--accent); }
.sv-works { border-top: 1px solid #1e2d68; }
.sv-body + .sv-works, .sv-works + .sv-body { margin-top: clamp(20px, 2vw, 30px); }
.sv-works li { display: grid; gap: 4px; padding: clamp(16px, 1.6vw, 24px) 0; border-bottom: 1px solid #1e2d68; }
.sv-work-name { width: fit-content; max-width: 100%; color: var(--paper); font-family: var(--font-display); font-weight: 700; font-size: clamp(25px, 2.7vw, 40px); line-height: 1.14; letter-spacing: -.035em; }
/* The padding gives the finger 44 px; the margin gives the row its height back. */
a.sv-work-name { display: inline-flex; align-items: baseline; gap: .32em; padding: 8px 0; margin: -8px 0; }
a.sv-work-name svg { width: .46em; height: .46em; color: var(--sv-sky); transition: transform 200ms var(--ease), color 200ms var(--ease); }
a.sv-work-name:focus-visible { outline-offset: 4px; border-radius: 4px; }
@media (hover: hover) and (pointer: fine) { a.sv-work-name:hover svg { transform: translate(2px, -2px); color: var(--accent); } }
.sv-work-scope { max-width: 38em; color: #c3c9d8; font-size: clamp(16px, 1.15vw, 18px); line-height: 1.5; }
.sv-more { display: flex; flex-wrap: wrap; gap: 0 32px; margin-top: clamp(14px, 1.6vw, 24px); }

/* Questions: the native disclosure, with a plus that turns into a cross. */
.sv-faq { max-width: 46em; border-top: 1px solid var(--sv-line); }
.sv-faq details { border-bottom: 1px solid var(--sv-line); }
.sv-faq summary { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.28; letter-spacing: -.02em; outline-offset: 2px; }
.sv-faq summary::-webkit-details-marker { display: none; }
.sv-faq summary::after { content: ""; flex: none; width: 18px; height: 18px; color: var(--sv-sky); background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat; transition: transform 260ms var(--ease); }
.sv-faq details[open] summary::after { transform: rotate(45deg); }
.sv-faq details p { max-width: 40em; padding: 0 38px 24px 0; color: var(--body); font-size: clamp(17px, 1.2vw, 19px); line-height: 1.65; }
.sv-faq details[open] p { animation: sv-rise 300ms var(--ease) both; }

/* Closing: the call, and the ways to reach the HAWL. */
.sv-close { padding: clamp(72px, 10vw, 160px) var(--sv-edge) clamp(64px, 8vw, 128px); border-top: 1px solid var(--sv-line); background: radial-gradient(ellipse 90% 120% at 0 100%, #0d1f62 0, #071034 46%, #040819 82%); }
.sv-close-title { max-width: 12em; font-family: var(--font-display); font-weight: 700; font-size: clamp(36px, 5.6vw, 88px); line-height: 1.04; letter-spacing: -.045em; text-wrap: balance; }
.sv-close-text { max-width: 35em; margin-top: clamp(18px, 2vw, 30px); color: var(--body); font-size: clamp(17px, 1.3vw, 20px); line-height: 1.6; }
.sv-close-text a { color: var(--paper); text-decoration: underline; text-decoration-color: #ffffff5c; text-decoration-thickness: 1px; text-underline-offset: .22em; }
.sv-close-text a:hover { text-decoration-color: var(--accent); }
.sv-ways { display: grid; gap: 22px 48px; margin-top: clamp(40px, 5vw, 76px); padding-top: clamp(24px, 2.4vw, 36px); border-top: 1px solid #1e2d68; font-style: normal; }
.sv-way-name { color: var(--muted); font-size: 14px; }
.sv-way-value { color: var(--paper); font-size: clamp(17px, 1.3vw, 20px); line-height: 1.4; }
a.sv-way-value { min-height: 44px; display: inline-flex; align-items: center; }
a.sv-way-value:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .25em; }
p.sv-way-value { padding: 9px 0; }
@media (min-width: 560px) { .sv-ways { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .sv-ways { grid-template-columns: repeat(4, minmax(0, auto)); justify-content: space-between; } }

/* Footer: the other fronts and the way back. */
.sv-foot { display: grid; gap: 22px; padding: clamp(28px, 3vw, 44px) var(--sv-edge) clamp(32px, 3.4vw, 52px); border-top: 1px solid var(--sv-line); color: var(--muted); font-size: 15px; }
.sv-foot-nav { display: grid; gap: 0 clamp(20px, 2vw, 34px); }
.sv-foot-name { color: var(--muted); font-family: var(--font-body); font-weight: 400; font-size: 14px; line-height: 44px; }
.sv-foot-nav a { min-height: 44px; display: inline-flex; align-items: center; color: var(--body); transition: color 200ms var(--ease); }
.sv-foot-nav a:hover { color: var(--paper); }
.sv-foot-nav a:focus-visible { outline-offset: -2px; }
.sv-legal { display: flex; flex-wrap: wrap; gap: 4px 28px; font-size: 14px; }
@media (min-width: 360px) { .sv-foot-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sv-foot-name { grid-column: 1 / -1; } }
@media (min-width: 900px) { .sv-foot-nav { display: flex; flex-wrap: wrap; align-items: center; } .sv-foot-name { min-width: 8.5em; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sv-rise, .sv-faq details[open] p { animation: none; }
  .sv-call, .sv-button, .sv-call svg, .sv-button svg, .sv-faq summary::after, a.sv-work-name svg { transition: none; }
}
