/* Brand layer for Forgejo (loaded from custom/header.tmpl after the Forgejo theme). */
@font-face{font-family:Ubuntu;font-style:normal;font-weight:400;font-display:swap;src:local('Ubuntu'),url(../fonts/ubuntu-latin-ext-400.woff2) format('woff2');unicode-range:U+0100-024F,U+1E00-1EFF,U+20A0-20AB,U+20AD-20CF,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:Ubuntu;font-style:normal;font-weight:400;font-display:swap;src:local('Ubuntu'),url(../fonts/ubuntu-latin-400.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2212,U+2215}
@font-face{font-family:Ubuntu;font-style:normal;font-weight:500;font-display:swap;src:local('Ubuntu Medium'),url(../fonts/ubuntu-latin-ext-500.woff2) format('woff2');unicode-range:U+0100-024F,U+1E00-1EFF,U+20A0-20AB,U+20AD-20CF,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:Ubuntu;font-style:normal;font-weight:500;font-display:swap;src:local('Ubuntu Medium'),url(../fonts/ubuntu-latin-500.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2212,U+2215}
@font-face{font-family:Ubuntu;font-style:normal;font-weight:700;font-display:swap;src:local('Ubuntu Bold'),url(../fonts/ubuntu-latin-ext-700.woff2) format('woff2');unicode-range:U+0100-024F,U+1E00-1EFF,U+20A0-20AB,U+20AD-20CF,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:Ubuntu;font-style:normal;font-weight:700;font-display:swap;src:local('Ubuntu Bold'),url(../fonts/ubuntu-latin-700.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2212,U+2215}
@font-face{font-family:dyn__locaweb-icons;font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/lw-icons.woff) format('woff')}

/* ---------- colours: light ---------- */
:root{
  --bx-red:#d60037;--bx-red-dark:#b30030;--bx-ink:#1f2835;--bx-grey:#5b6879;--bx-line:#e3e7ec;--bx-soft:#f5f7f9;--bx-tint:#fdeef1;
  --bx-bg:#ffffff;--bx-bg0:rgba(255,255,255,0);--bx-card:#ffffff;--bx-foot:#0f1319;
  --bx-logo:url(../img/brand-logo.svg);
  --fonts-proportional:Ubuntu,-apple-system,"Segoe UI",system-ui,Roboto,"Helvetica Neue",Arial,sans-serif;
  --color-primary:#d60037;--color-primary-contrast:#ffffff;
  --color-primary-dark-1:#c40032;--color-primary-dark-2:#b30030;--color-primary-dark-3:#9e002a;--color-primary-dark-4:#850023;
  --color-primary-light-1:#df2a55;--color-primary-light-2:#e64e72;--color-primary-light-3:#ec7190;--color-primary-light-4:#f296ad;
  --color-primary-light-5:#f7bccb;--color-primary-light-6:#fbdde5;--color-primary-light-7:#fdeef1;
  --color-primary-alpha-10:#d6003719;--color-primary-alpha-20:#d6003733;--color-primary-alpha-30:#d600374b;--color-primary-alpha-40:#d6003766;
  --color-primary-alpha-50:#d6003780;--color-primary-alpha-60:#d6003799;--color-primary-alpha-70:#d60037b3;--color-primary-alpha-80:#d60037cc;--color-primary-alpha-90:#d60037e1;
  --color-primary-hover:#b30030;--color-primary-active:#850023;
  --color-accent:#d60037;
  --color-nav-bg:#ffffff;--color-nav-hover-bg:#f5f7f9;
  --color-footer:#0f1319;
}
/* ---------- colours: dark (explicit dark theme, or auto theme on a dark system) ---------- */
@media (prefers-color-scheme:dark){
  :root[data-theme="forgejo-auto"]{
    --bx-ink:#eef1f5;--bx-grey:#aebed0;--bx-line:#2b3642;--bx-soft:#1d262f;--bx-tint:#3a1520;
    --bx-bg:#171e26;--bx-bg0:rgba(23,30,38,0);--bx-card:#1d262f;--bx-logo:url(../img/brand-logo-inverse.svg);
    --color-primary:#f2335f;--color-primary-contrast:#ffffff;--color-primary-dark-1:#f4496f;--color-primary-dark-2:#f6607f;--color-primary-dark-3:#f87a94;--color-primary-dark-4:#fa98ad;
    --color-primary-light-1:#d60037;--color-primary-light-2:#b30030;--color-primary-light-3:#9e002a;--color-primary-light-4:#850023;--color-primary-light-5:#5e0019;--color-primary-light-6:#420012;--color-primary-light-7:#2c000c;
    --color-primary-alpha-10:#f2335f19;--color-primary-alpha-20:#f2335f33;--color-primary-alpha-30:#f2335f4b;--color-primary-alpha-40:#f2335f66;
    --color-primary-alpha-50:#f2335f80;--color-primary-alpha-60:#f2335f99;--color-primary-alpha-70:#f2335fb3;--color-primary-alpha-80:#f2335fcc;--color-primary-alpha-90:#f2335fe1;
    --color-primary-hover:#f6607f;--color-primary-active:#fa98ad;--color-accent:#f2335f;
    --color-nav-bg:#10161d;--color-nav-hover-bg:#242d38;--color-footer:#0b0f14;
  }
}
:root[data-theme="forgejo-dark"]{
  --bx-ink:#eef1f5;--bx-grey:#aebed0;--bx-line:#2b3642;--bx-soft:#1d262f;--bx-tint:#3a1520;
  --bx-bg:#171e26;--bx-bg0:rgba(23,30,38,0);--bx-card:#1d262f;--bx-logo:url(../img/brand-logo-inverse.svg);
  --color-primary:#f2335f;--color-primary-contrast:#ffffff;--color-primary-dark-1:#f4496f;--color-primary-dark-2:#f6607f;--color-primary-dark-3:#f87a94;--color-primary-dark-4:#fa98ad;
  --color-primary-light-1:#d60037;--color-primary-light-2:#b30030;--color-primary-light-3:#9e002a;--color-primary-light-4:#850023;--color-primary-light-5:#5e0019;--color-primary-light-6:#420012;--color-primary-light-7:#2c000c;
  --color-primary-alpha-10:#f2335f19;--color-primary-alpha-20:#f2335f33;--color-primary-alpha-30:#f2335f4b;--color-primary-alpha-40:#f2335f66;
  --color-primary-alpha-50:#f2335f80;--color-primary-alpha-60:#f2335f99;--color-primary-alpha-70:#f2335fb3;--color-primary-alpha-80:#f2335fcc;--color-primary-alpha-90:#f2335fe1;
  --color-primary-hover:#f6607f;--color-primary-active:#fa98ad;--color-accent:#f2335f;
  --color-nav-bg:#10161d;--color-nav-hover-bg:#242d38;--color-footer:#0b0f14;
}

/* ---------- lw icons ---------- */
[class^="icon-"],[class*=" icon-"]{font-family:dyn__locaweb-icons;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
.icon-code-screen:before{content:"\EA41"}.icon-code-tool:before{content:"\EA42"}.icon-connect:before{content:"\EA47"}
.icon-registro-de-dominio:before{content:"\EAF7"}.icon-hospedagem-vps:before{content:"\EA96"}.icon-wordpress:before{content:"\EB64"}
.icon-algoritmo:before{content:"\EA07"}.icon-dev:before{content:"\EA58"}

/* ---------- navbar ---------- */
#navbar{border-bottom:1px solid var(--bx-line);min-height:56px}
#navbar-logo img{content:var(--bx-logo);width:auto!important;height:26px!important;max-width:150px}
#navbar-logo{padding-right:14px!important}
#navbar .item{font-weight:500}
#navbar .bx-nav-ext svg{opacity:.6;margin-left:4px}
#navbar .bx-lang{font-size:12px;letter-spacing:.04em;border:1px solid var(--bx-line);border-radius:6px;padding:4px 8px!important;margin:auto 6px!important;min-height:0!important;height:auto}

/* ---------- buttons (house rule: red or black) ---------- */
.bx-btn{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 20px;border-radius:8px;font-weight:500;font-size:15px;line-height:1;text-decoration:none!important;border:2px solid transparent;transition:background .15s,border-color .15s,color .15s;white-space:nowrap}
.bx-btn-red{background:var(--bx-red);color:#fff!important}
.bx-btn-red:hover{background:var(--bx-red-dark)}
.bx-btn-black{background:#14171c;color:#fff!important}
.bx-btn-black:hover{background:#000}
.bx-btn-line{background:transparent;border-color:#14171c;color:#14171c!important}
.bx-btn-line:hover{background:#14171c;color:#fff!important}
:root[data-theme="forgejo-dark"] .bx-btn-black{background:#eef1f5;color:#14171c!important}
:root[data-theme="forgejo-dark"] .bx-btn-line{border-color:#eef1f5;color:#eef1f5!important}
:root[data-theme="forgejo-dark"] .bx-btn-line:hover{background:#eef1f5;color:#14171c!important}
@media (prefers-color-scheme:dark){
  :root[data-theme="forgejo-auto"] .bx-btn-black{background:#eef1f5;color:#14171c!important}
  :root[data-theme="forgejo-auto"] .bx-btn-line{border-color:#eef1f5;color:#eef1f5!important}
  :root[data-theme="forgejo-auto"] .bx-btn-line:hover{background:#eef1f5;color:#14171c!important}
}

/* ---------- home ---------- */
.bx-home{padding-top:0!important;margin-top:0!important;padding-bottom:48px}
.full.height>.page-content.bx-home{margin-top:0!important}
.bx-home *{box-sizing:border-box}
.bx-hero{position:relative;background:var(--bx-bg);border-bottom:1px solid var(--bx-line);overflow:hidden}
.bx-hero-foto{position:absolute;top:0;right:0;bottom:0;width:52%;background:url(../img/hero.webp) 30% center/cover no-repeat}
.bx-hero-foto:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,var(--bx-bg) 0%,var(--bx-bg0) 38%),linear-gradient(90deg,rgba(214,0,55,.10),rgba(214,0,55,0) 70%)}
.bx-hero-in{position:relative;max-width:1180px;margin:0 auto;padding:44px 24px 46px}
.bx-hero-txt{max-width:640px}
.bx-hero h1{display:flex;align-items:center;gap:14px;margin:0 0 12px;font-size:36px;line-height:1.15;font-weight:700;color:var(--bx-ink);letter-spacing:-.01em}
.bx-hero-ico{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:12px;background:var(--bx-tint);color:var(--bx-red);font-size:30px}
.bx-lead{margin:0 0 22px;max-width:530px;font-size:17px;line-height:1.55;color:var(--bx-grey)}
.bx-btns{display:flex;flex-wrap:wrap;gap:10px}
.bx-wrap{max-width:1180px;margin:0 auto;padding:36px 24px 0}
.bx-start{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:28px;align-items:center;background:var(--bx-soft);border:1px solid var(--bx-line);border-radius:14px;padding:22px 26px;margin-bottom:38px}
.bx-start h2,.bx-sec h2{margin:0 0 10px;font-size:20px;font-weight:700;color:var(--bx-ink)}
.bx-steps{margin:0;padding:0;list-style:none;counter-reset:bx}
.bx-steps li{counter-increment:bx;position:relative;padding:3px 0 3px 34px;margin:4px 0;color:var(--bx-grey);font-size:15px;line-height:1.5}
.bx-steps li:before{content:counter(bx);position:absolute;left:0;top:3px;width:24px;height:24px;border-radius:50%;background:var(--bx-red);color:#fff;font-size:13px;font-weight:700;display:flex;align-items:center;justify-content:center}
.bx-steps a{font-weight:500}
.bx-clone{display:flex;align-items:stretch;min-width:0;border-radius:10px;overflow:hidden;background:#14171c;border:1px solid #14171c}
.bx-clone code{flex:1 1 auto;min-width:0;display:block;overflow-x:auto;white-space:nowrap;padding:14px 16px;color:#e8edf2;background:transparent;font-size:13.5px;line-height:1.4}
.bx-clone code b{color:#ff6b8e;font-weight:400}
.bx-copy{flex:0 0 auto;border:0;border-left:1px solid #2b3642;background:#1f2835;color:#fff;padding:0 16px;font:inherit;font-size:13px;font-weight:500;cursor:pointer}
.bx-copy:hover{background:var(--bx-red)}
.bx-sec-top{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:14px}
.bx-sec-top p{margin:0;color:var(--bx-grey)}
.bx-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.bx-card{display:flex;flex-direction:column;gap:8px;min-width:0;padding:20px;border:1px solid var(--bx-line);border-radius:14px;background:var(--bx-card);color:var(--bx-ink)!important;text-decoration:none!important;transition:border-color .15s,box-shadow .15s,transform .15s}
.bx-card:hover{border-color:var(--bx-red);box-shadow:0 6px 20px rgba(31,40,53,.08);transform:translateY(-1px)}
.bx-card-top{display:flex;align-items:center;gap:12px;min-width:0}
.bx-card-ico{flex:0 0 auto;width:42px;height:42px;border-radius:10px;background:var(--bx-tint);color:var(--bx-red);display:flex;align-items:center;justify-content:center;font-size:24px}
.bx-card-nome{font-family:var(--fonts-monospace);font-size:14.5px;font-weight:600;overflow-wrap:anywhere}
.bx-card-tag{display:block;font-size:12px;color:var(--bx-grey);font-weight:400;font-family:var(--fonts-proportional)}
.bx-card-txt{margin:0;color:var(--bx-grey);font-size:14.5px;line-height:1.5}
.bx-card-go{margin-top:auto;font-size:13.5px;font-weight:500;color:var(--bx-red)}
.bx-all{margin:22px 0 0;text-align:center}
@media (prefers-reduced-motion:reduce){.bx-card,.bx-btn{transition:none}.bx-card:hover{transform:none}}

/* ---------- org page: hide the .profile repository from the list ---------- */
.flex-list .flex-item:has(a.name[href$="/.profile"]),.flex-list .flex-item:has(.flex-item-title a[href$="/.profile"]){display:none}
#readme_profile{border:1px solid var(--bx-line);border-radius:14px;padding:22px 26px!important;margin-bottom:22px;background:var(--bx-soft)}

/* ---------- footer ---------- */
.page-footer.bx-footer{background:var(--bx-foot);color:rgba(255,255,255,.72);border-top:3px solid var(--bx-red);padding:18px 24px;align-items:center;gap:10px 24px;flex-wrap:wrap}
.bx-footer a{color:rgba(255,255,255,.82)!important}
.bx-footer a:hover{color:#fff!important}
.bx-footer .left-links,.bx-footer .right-links>*{border:0!important;padding-left:0!important;margin-left:0!important}
.bx-footer .left-links,.bx-footer .right-links{display:flex;align-items:center;flex-wrap:wrap;gap:8px 18px}
.bx-foot-logo{height:24px;width:auto;display:block}
.bx-footer .bx-powered{font-size:12px;opacity:.6}
.bx-footer .ui.dropdown.language{color:rgba(255,255,255,.82)}
.bx-footer .ui.dropdown .menu .item{color:var(--color-text)!important}

/* ---------- small screens ---------- */
@media (max-width:900px){
  .bx-hero-foto{position:relative;width:auto;height:170px;inset:auto}
  .bx-hero-foto:after{background:linear-gradient(0deg,var(--bx-bg) 0%,var(--bx-bg0) 60%)}
  .bx-hero{display:flex;flex-direction:column}
  .bx-hero-in{padding:6px 16px 28px}
  .bx-hero h1{font-size:28px}
  .bx-hero-ico{width:44px;height:44px;font-size:25px}
  .bx-lead{font-size:16px}
  .bx-wrap{padding:26px 16px 0}
  .bx-start{grid-template-columns:minmax(0,1fr);gap:16px;padding:18px 16px}
  .bx-cards{grid-template-columns:minmax(0,1fr)}
}
@media (min-width:901px) and (max-width:1100px){.bx-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:480px){
  .bx-btns{flex-direction:column;align-items:stretch}
  .bx-btn{justify-content:center}
  .page-footer.bx-footer{padding:16px}
}
.page-content.bx-home>.bx-hero{margin-top:0!important}
/* house rule: 16px side margin on phones (Forgejo uses 8px) */
@media (max-width:767.98px){:root{--page-margin-x:16px}}
