/* joaofaquino.dev — format A of the Design prototype, in three colours.
   The fonts are local files, each family under the SIL Open Font License 1.1
   (the licence texts are in src/fonts/<family>/, and the table in the README).
   A browser fetches a font file only when a rule on the page uses its family,
   so only the fonts of the active colour are downloaded. */

@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:400;font-display:swap;src:url("/assets/IBMPlexSans-Regular.78efbe8017.woff2") format("woff2")}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:500;font-display:swap;src:url("/assets/IBMPlexSans-Medium.0497fab52b.woff2") format("woff2")}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:600;font-display:swap;src:url("/assets/IBMPlexSans-SemiBold.0fe2655c3c.woff2") format("woff2")}
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:700;font-display:swap;src:url("/assets/IBMPlexSans-Bold.0ee7512b5d.woff2") format("woff2")}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:400;font-display:swap;src:url("/assets/IBMPlexMono-Regular.ba204497f1.woff2") format("woff2")}
@font-face{font-family:"IBM Plex Mono";font-style:normal;font-weight:600;font-display:swap;src:url("/assets/IBMPlexMono-SemiBold.6a825b4824.woff2") format("woff2")}
@font-face{font-family:"Space Grotesk";font-style:normal;font-weight:300 700;font-display:swap;src:url("/assets/SpaceGrotesk-wght.8e085aa438.woff2") format("woff2")}
@font-face{font-family:"JetBrains Mono";font-style:normal;font-weight:400;font-display:swap;src:url("/assets/JetBrainsMono-Regular.f1a7a03672.woff2") format("woff2")}
@font-face{font-family:"JetBrains Mono";font-style:normal;font-weight:600;font-display:swap;src:url("/assets/JetBrainsMono-SemiBold.8f20245500.woff2") format("woff2")}
@font-face{font-family:"Manrope";font-style:normal;font-weight:400;font-display:swap;src:url("/assets/Manrope-Regular.37c93c1ddb.woff2") format("woff2")}
@font-face{font-family:"Manrope";font-style:normal;font-weight:500;font-display:swap;src:url("/assets/Manrope-Medium.23c7a97611.woff2") format("woff2")}
@font-face{font-family:"Manrope";font-style:normal;font-weight:600;font-display:swap;src:url("/assets/Manrope-SemiBold.7b67d96162.woff2") format("woff2")}
@font-face{font-family:"Manrope";font-style:normal;font-weight:700;font-display:swap;src:url("/assets/Manrope-Bold.f6c44e9b1d.woff2") format("woff2")}

/* The three colours, with the variables of the prototype. Grafite is the default: it is on
   :root, so the page is Grafite and complete without JavaScript. The colour script sets one
   of the three classes on <html> before the first paint. The rule of :root comes first:
   :root and a class weigh the same, and of two such rules the later one wins. */
:root,.t-grafite{--paper:#0C0E12;--paper-2:#161A21;--ink:#F2F4F7;--ink-2:#C9CFD8;--muted:#8A93A0;--line:#262B34;--accent:#FF8A4C;--accent-soft:#2A1D15;--note-bg:#1F1A12;--note-ink:#F1C98A;--bar:#1C2028;--dot:#3A404B;--dashed:#5A6270;--final-bg:#161A21;--final-ink:#F2F4F7;--final-ink-2:#C9CFD8;--wa:#25D366;--sans:"Space Grotesk",system-ui,sans-serif;--mono:"JetBrains Mono",ui-monospace,monospace;color-scheme:dark}
.t-azul{--paper:#FFFFFF;--paper-2:#F4F5F7;--ink:#0E1116;--ink-2:#2A313C;--muted:#4A5361;--line:#DCE0E6;--accent:#1D4ED8;--accent-soft:#E8EEFC;--note-bg:#FFF7E0;--note-ink:#5C4A12;--bar:#EBEDF0;--dot:#C3C8D0;--dashed:#9AA3B0;--final-bg:#0E1116;--final-ink:#F5F7FA;--final-ink-2:#C5CCD6;--wa:#25D366;--sans:"IBM Plex Sans",system-ui,sans-serif;--mono:"IBM Plex Mono",ui-monospace,monospace;color-scheme:light}
.t-papel{--paper:#F4F1EA;--paper-2:#EAE5DA;--ink:#1A1814;--ink-2:#3A362F;--muted:#5E584D;--line:#D8D1C3;--accent:#0B5E63;--accent-soft:#DCE9E7;--note-bg:#FFF4D6;--note-ink:#5C4A12;--bar:#E2DCCF;--dot:#C9C1B1;--dashed:#9A9283;--final-bg:#1A1814;--final-ink:#F4F1EA;--final-ink-2:#CFC8BA;--wa:#25D366;--sans:"Manrope",system-ui,sans-serif;--mono:"IBM Plex Mono",ui-monospace,monospace;color-scheme:light}

*{box-sizing:border-box}
html{background:var(--paper);-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:16px;line-height:1.6}
.wrap{max-width:1080px;margin:0 auto;padding-left:20px;padding-right:20px}
h1,h2,h3{margin:0;letter-spacing:-0.015em;text-wrap:balance}
a{color:var(--accent)}
a:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:6px}
button:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:6px}
.mono{font-family:var(--mono)}

/* Header: the brand, the languages, the colours and the small WhatsApp button.
   Below 720px the colours go to a second line, so the page never passes the window. */
.top .wrap{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding-top:16px;padding-bottom:16px}
.brand{font-family:var(--mono);font-weight:600;font-size:16px;color:var(--ink);text-decoration:none;display:inline-flex;align-items:center;min-height:44px;margin-right:auto}
.brand span{color:var(--accent)}
.langs{display:flex;align-items:center;font-family:var(--mono);font-size:13px}
.lang{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:0 4px;color:var(--muted);text-decoration:none}
.lang:hover{color:var(--ink)}
.lang[aria-current]{color:var(--ink);font-weight:600;text-decoration:underline;text-decoration-color:var(--accent);text-decoration-thickness:2px;text-underline-offset:6px}
.lang:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:4px}
.themes{display:none;order:9;flex-basis:100%;align-items:center;gap:4px;font-family:var(--mono);font-size:13px}
.js .themes{display:flex}
.theme{display:inline-flex;align-items:center;gap:8px;min-width:44px;min-height:44px;padding:0 10px 0 6px;background:none;border:0;border-radius:8px;color:var(--muted);font:inherit;cursor:pointer}
.theme:hover{color:var(--ink)}
.theme[aria-pressed="true"]{color:var(--ink);font-weight:600}
.sw{width:20px;height:20px;border-radius:50%;border:1px solid var(--dashed);flex:none}
.theme[aria-pressed="true"] .sw{box-shadow:0 0 0 2px var(--paper),0 0 0 4px var(--ink)}
.sw-azul{background:linear-gradient(135deg,#FFFFFF 50%,#1D4ED8 50%)}
.sw-grafite{background:linear-gradient(135deg,#0C0E12 50%,#FF8A4C 50%)}
.sw-papel{background:linear-gradient(135deg,#F4F1EA 50%,#0B5E63 50%)}

.btn-wa{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;background:var(--wa);color:#05230F;font-weight:600;font-size:16px;padding:12px 22px;border-radius:10px;text-decoration:none}
.btn-wa:hover{color:#05230F;filter:brightness(0.96)}
.btn-wa svg{width:20px;height:20px;flex:none}
.btn-wa.sm{min-height:44px;min-width:44px;font-size:14px;padding:8px 14px}
@media (max-width:479px){.btn-wa.sm .txt{display:none}.btn-wa.sm{padding:8px 12px}}

.hero .wrap{display:grid;grid-template-columns:minmax(0,1fr);gap:28px;padding-top:24px;padding-bottom:48px}
.who{display:flex;align-items:center;gap:14px}
.avatar{width:64px;height:64px;border-radius:50%;background:var(--paper-2);object-fit:cover;object-position:50% 20%;flex:none}
.who b{display:block;font-size:16px}
.who span{font-size:14px;color:var(--muted)}
.eyebrow{font-family:var(--mono);font-size:13px;color:var(--accent);margin:24px 0 12px}
.hero h1{font-size:clamp(30px,7.4vw,50px);line-height:1.1;font-weight:600;margin-bottom:16px}
.lede{font-size:17px;color:var(--ink-2);margin:0 0 24px;max-width:34em}
.ctas{display:flex;flex-direction:column;gap:12px;align-items:stretch}
.checks{list-style:none;padding:0;margin:24px 0 0;display:flex;flex-wrap:wrap;gap:8px 18px;font-family:var(--mono);font-size:13px;color:var(--muted)}
.checks li{display:flex;align-items:center;gap:6px}
.checks svg{width:16px;height:16px;color:var(--accent);flex:none}
.photo{display:none}

section.block{border-top:1px solid var(--line)}
section.block .wrap{padding-top:48px;padding-bottom:48px}
.label{font-family:var(--mono);font-size:13px;color:var(--accent);margin:0 0 8px}
.block h2{font-size:clamp(24px,5.4vw,34px);font-weight:600;line-height:1.2;margin-bottom:24px;max-width:22em}
.services{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
.svc{border:1px solid var(--line);border-radius:12px;padding:20px;display:flex;gap:14px;align-items:flex-start;min-width:0}
.svc .ic{width:40px;height:40px;border-radius:8px;background:var(--accent-soft);color:var(--accent);display:grid;place-items:center;flex:none}
.svc .ic svg{width:20px;height:20px}
.svc h3{font-size:18px;font-weight:600;margin-bottom:4px}
.svc p{margin:0;color:var(--ink-2);font-size:15px}
.work{display:grid;grid-template-columns:minmax(0,1fr);gap:16px}
.case{border:1px solid var(--line);border-radius:12px;overflow:hidden;display:flex;flex-direction:column;min-width:0;background:var(--paper)}
.shot{aspect-ratio:16/10;background:var(--paper-2);border-bottom:1px solid var(--line);display:flex;flex-direction:column;overflow:hidden}
.shot .bar{display:flex;align-items:center;gap:6px;padding:8px 10px;border-bottom:1px solid var(--line);background:var(--bar)}
.shot .bar i{width:8px;height:8px;border-radius:50%;background:var(--dot);display:block}
.shot .bar span{font-family:var(--mono);font-size:11px;color:var(--muted);margin-left:6px}
.shot .cap{flex:1 1 0;min-height:0;width:100%;height:auto;display:block;object-fit:cover;object-position:50% 0}
.shot .ph{flex:1;display:grid;place-items:center;font-family:var(--mono);font-size:12px;color:var(--muted);padding:12px;text-align:center;min-height:0;grid-template:minmax(0,1fr)/minmax(0,1fr)}
.shot .ph .logo{display:block;width:100%;height:100%;object-fit:contain}
.case .body{padding:18px 20px 20px;display:flex;flex-direction:column;gap:6px;flex:1}
.tag{font-family:var(--mono);font-size:12px;color:var(--muted)}
.case h3{font-size:18px;font-weight:600}
.case p{margin:0;font-size:15px;color:var(--ink-2)}
.case .go{margin-top:8px;font-weight:600;font-size:15px;text-decoration:none;align-self:flex-start;display:inline-flex;align-items:center;min-height:44px}
.case .go.off{color:var(--muted);font-weight:500}
.steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:minmax(0,1fr);gap:0}
.steps li{display:grid;grid-template-columns:44px minmax(0,1fr);gap:4px 12px;padding:16px 0;border-top:1px solid var(--line)}
.steps li:first-child{border-top:0;padding-top:0}
.steps .n{font-family:var(--mono);font-size:14px;color:var(--accent);padding-top:2px}
.steps h3{font-size:17px;font-weight:600}
.steps p{grid-column:2;margin:0;font-size:15px;color:var(--ink-2)}
.final{background:var(--final-bg);color:var(--final-ink)}
.final .wrap{padding-top:48px;padding-bottom:48px;display:flex;flex-direction:column;gap:20px}
.final h2{font-size:clamp(24px,5.4vw,34px);font-weight:600;line-height:1.2}
.final p{margin:6px 0 0;color:var(--final-ink-2)}

footer .wrap{display:flex;flex-direction:column;gap:8px;padding-top:24px;padding-bottom:32px;font-size:14px;color:var(--muted)}
footer a{color:var(--ink-2);text-decoration:none;display:inline-flex;align-items:center;min-height:44px}
footer a:hover{color:var(--accent)}
footer .run{font-family:var(--mono);font-size:13px}

/* The 404 page. */
.nf .wrap{padding-top:48px;padding-bottom:72px}
.nf h1{font-size:clamp(30px,7.4vw,50px);line-height:1.1;font-weight:600;margin-bottom:16px}
.nf p{margin:0 0 24px;font-size:17px;color:var(--ink-2)}
.nf ul{list-style:none;margin:0;padding:0}
.nf li a{display:inline-flex;align-items:center;min-height:44px;font-weight:600;text-decoration:none}

@media (min-width:720px){
.wrap{padding-left:32px;padding-right:32px}
.top .wrap{flex-wrap:nowrap}
.themes{order:0;flex-basis:auto;gap:0}
.theme{padding:0;justify-content:center}
.theme .nm{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.theme{position:relative}
.ctas{flex-direction:row;align-items:center}
.services{grid-template-columns:repeat(2,minmax(0,1fr))}
.work{grid-template-columns:repeat(2,minmax(0,1fr))}
.final .wrap{flex-direction:row;align-items:center;justify-content:space-between}
footer .wrap{flex-direction:row;align-items:center;justify-content:space-between}
section.block .wrap{padding-top:72px;padding-bottom:72px}
}
@media (min-width:960px){
.hero .wrap{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:56px;align-items:center;padding-top:48px;padding-bottom:80px}
.who .avatar{display:none}
.photo{display:block}
.photo img{display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;border-radius:16px;background:var(--paper-2)}
.steps{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.steps li,.steps li:first-child{grid-template-columns:minmax(0,1fr);border-top:2px solid var(--ink);padding:16px 0 0}
.steps p{grid-column:1}
}

/* The new sections (proposal of 26 Nov 2026): the intro, the "coming soon" mark, the note. */
.intro{font-size:17px;color:var(--ink-2);margin:0 0 24px;max-width:40em}
.svc .soon{margin:10px 0 0;font-family:var(--mono);font-size:12px;color:var(--accent)}
.note{margin:20px 0 0;font-size:14px;color:var(--muted);max-width:40em}
.alt-contact{font-size:15px}
.alt-contact a{color:inherit}
.todo{font-family:var(--mono);font-size:13px;background:var(--note-bg);color:var(--note-ink);padding:2px 6px;border-radius:4px}

/* The privacy policy. */
.legal .wrap{padding-top:40px;padding-bottom:72px;max-width:46em}
.legal h1{font-size:clamp(28px,6vw,42px);line-height:1.15;font-weight:600;margin-bottom:8px}
.legal h2{font-size:20px;font-weight:600;margin:32px 0 8px}
.legal p{margin:0 0 12px;color:var(--ink-2)}
.legal .updated{font-family:var(--mono);font-size:13px;color:var(--muted)}
.legal .back{display:inline-flex;align-items:center;min-height:44px;font-weight:600;margin-top:24px}
.todo.review{display:inline-block;margin:0 0 16px}

/* Section 05 · Site pronto: a band in paper-2, the steps of «Como trabalho» in three columns,
   the coming-soon badge under the title and the WhatsApp button after the steps. */
section.ready{background:var(--paper-2)}
.ready .badge{margin:-12px 0 16px;font-family:var(--mono);font-size:12px;color:var(--accent)}
.ready .steps{margin-bottom:32px}
.ready .btn-wa{width:100%}
.svc .go{display:inline-flex;align-items:center;min-height:44px;margin-top:4px;font-weight:600;font-size:15px;text-decoration:none}
@media (min-width:720px){.ready .btn-wa{width:auto}}
@media (min-width:960px){.steps.three{grid-template-columns:repeat(3,minmax(0,1fr))}.steps.three li{align-content:start}}
