/* Shared styles for the app landing pages (/fonela, /ditados-africanos). */
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/barlow-400-latin-ext.woff2") format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/barlow-400-latin.woff2") format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/barlow-500-latin-ext.woff2") format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/barlow-500-latin.woff2") format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/barlow-700-latin-ext.woff2") format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/barlow-700-latin.woff2") format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/barlow-condensed-400-latin-ext.woff2") format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/barlow-condensed-400-latin.woff2") format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/barlow-condensed-500-latin-ext.woff2") format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/barlow-condensed-500-latin.woff2") format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/barlow-condensed-600-latin-ext.woff2") format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/barlow-condensed-600-latin.woff2") format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --color-bg: #eff2f6; --color-surface: #ffffff; --color-text: #0f1b2d; --color-divider: rgba(15, 27, 45, .10);
  --color-neutral-700: #52627a; --color-accent-700: #1b3a6b; --color-accent-800: #0f2547; --color-accent-900: #1b3a6b;
  --font-heading: "Barlow Condensed", system-ui, sans-serif; --font-body: "Barlow", system-ui, sans-serif;
  --highlight: #d9731a; --orange: #f39a3a; --card-border: rgba(27, 58, 107, .10); --on-dark: #f2f2f3;
  --glass-bg: rgba(239, 242, 246, .72); --glass-border: rgba(15, 27, 45, .08); --glass-shadow: rgba(15, 27, 45, .12);
  --page-bg: radial-gradient(900px 520px at 85% -120px, rgba(243, 154, 58, .12), transparent 70%), radial-gradient(700px 480px at -10% 20%, rgba(27, 58, 107, .06), transparent 70%), #eff2f6;
  --rv-1: #ffffff; --rv-2: #e9eef6; --rv-3: #fdf1e4;
  --card-shadow: inset 0 0 0 1px var(--card-border), 0 1px 2px rgba(15, 27, 45, .04), 0 8px 24px rgba(15, 27, 45, .06);
  --gutter: clamp(20px, 5vw, 48px);
}
[data-theme="dark"] {
  --color-bg: #0a1426; --color-surface: #0f1d38; --color-text: #eef2f8; --color-divider: rgba(120, 160, 230, .16);
  --color-neutral-700: #9db0cc; --color-accent-700: #f39a3a; --color-accent-800: #ffc58a; --color-accent-900: #1b3a6b;
  --highlight: #f39a3a; --card-border: rgba(120, 160, 230, .16);
  --glass-bg: rgba(10, 20, 38, .72); --glass-border: rgba(255, 255, 255, .10); --glass-shadow: rgba(0, 0, 0, .30);
  --page-bg: radial-gradient(900px 520px at 85% -120px, rgba(243, 154, 58, .10), transparent 70%), #0a1426;
  --rv-1: #0f1d38; --rv-2: #13264a; --rv-3: #2a2320;
  --card-shadow: inset 0 0 0 1px var(--card-border);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0; min-height: 100vh; font-family: var(--font-body); font-size: 15px; line-height: 1.55; text-wrap: pretty;
  color: var(--color-text); background: var(--page-bg); background-color: var(--color-bg); background-repeat: no-repeat;
}
a { color: var(--color-accent-700); text-underline-offset: 3px; }
a:hover { color: var(--color-accent-800); }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--orange) 30%, transparent); }

/* Layout breakpoints follow the content width (the old design measured #ecras). */
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); container-type: inline-size; container-name: page; }
.section { padding-top: clamp(56px, 8vw, 96px); scroll-margin-top: 24px; }
.kicker { display: block; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--highlight); margin-bottom: 12px; }
.h1 { font-family: var(--font-heading); font-weight: 500; font-size: clamp(46px, 6.4vw, 80px); line-height: 1.02; letter-spacing: -0.015em; margin: 0; }
.h2 { font-family: var(--font-heading); font-weight: 500; font-size: clamp(34px, 4.4vw, 52px); line-height: 1.06; margin: 0; max-width: 20ch; }
.hl { color: var(--highlight); font-weight: 600; }
.lead { line-height: 1.6; margin: 0; color: var(--color-neutral-700); }

/* — header — */
/* Fixed glass header: the ::before paints a full-width translucent bar behind the centred content. */
.head { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 24px; padding: 16px 0; flex-wrap: wrap; }
.head::before { content: ""; position: absolute; inset: 0 calc(50% - 50vw); z-index: -1; background: var(--glass-bg); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%); border-bottom: 1px solid var(--glass-border); transition: box-shadow .3s; }
.head.is-scrolled::before { box-shadow: 0 8px 32px var(--glass-shadow); }
main [id] { scroll-margin-top: 96px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--color-text); }
.brand:hover { color: var(--color-text); }
.brand img { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 0 0 1px rgba(15, 27, 45, .14); }
.brand span { font-family: var(--font-heading); font-weight: 600; font-size: 26px; line-height: 1; }
.nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 24px); margin-left: auto; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; flex-wrap: wrap; }
.nav-link { color: var(--color-text); text-decoration: none; font-weight: 700; white-space: nowrap; }
.nav-link:hover { color: var(--color-accent-700); }
.btn-dl { display: inline-flex; align-items: center; padding: 10px 18px; border-radius: 12px; background: var(--color-accent-900); color: #fff; text-decoration: none; font-weight: 700; white-space: nowrap; transition: transform .2s, background .2s; }
.btn-dl:hover { color: #fff; transform: translateY(-1px); }
.btn-dl-lg { padding: 14px 26px; background: #1b3a6b; }
.theme-btn { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 10px; background: transparent; box-shadow: inset 0 0 0 1px var(--card-border); color: var(--color-neutral-700); cursor: pointer; transition: color .2s, box-shadow .2s; }
.theme-btn:hover { color: var(--color-text); box-shadow: inset 0 0 0 1px var(--color-neutral-700); }
.theme-btn .icon-sun, [data-theme="dark"] .theme-btn .icon-moon { display: none; }
[data-theme="dark"] .theme-btn .icon-sun { display: block; }
/* — phone menu: .nav.has-drawer moves its links into a drawer that slides in from the right — */
.menu-btn { display: none; }
@container page (max-width: 599px) {
  .nav.has-drawer .nav-link { display: none; }
  .nav.has-drawer .menu-btn { display: flex; }
}
@container page (max-width: 329px) { .nav.has-drawer .btn-dl { display: none; } }
.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; transition: visibility 0s .3s; }
.drawer.is-open { visibility: visible; transition: none; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(5, 10, 20, .45); opacity: 0; transition: opacity .3s; }
.drawer.is-open .drawer-backdrop { opacity: 1; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 8px; width: min(300px, 82vw); padding: 16px 20px calc(24px + env(safe-area-inset-bottom, 0px)); background: var(--color-surface); color: var(--color-text); box-shadow: -12px 0 40px rgba(0, 0, 0, .25); transform: translateX(100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-close { align-self: flex-end; margin-bottom: 8px; }
.drawer-panel .nav-link { padding: 14px 4px; border-bottom: 1px solid var(--color-divider); font-family: var(--font-heading); font-size: 24px; font-weight: 600; text-transform: none; letter-spacing: 0; }
.drawer-panel .btn-dl { align-self: flex-start; margin-top: 16px; text-transform: uppercase; letter-spacing: .06em; font-size: 14px; }
@media (prefers-reduced-motion: reduce) { .drawer-panel, .drawer-backdrop { transition: none; } }

/* — hero bits — */
.badge-link { display: block; transition: transform .2s; }
.badge-link:hover { transform: translateY(-2px); }
.badge-link img { width: auto; }
.stats { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.stat { display: flex; flex-direction: column; padding: 14px 20px; border-radius: 16px; background: var(--color-surface); box-shadow: var(--card-shadow); min-width: 120px; }
.stat b { font-family: var(--font-heading); font-weight: 600; font-size: 30px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat > span { font-size: 13px; color: var(--color-neutral-700); }

/* — screens (Ecrãs) — */
.ecras-box { display: flex; flex-direction: column; gap: 36px; padding: clamp(24px, 5vw, 56px); border-radius: 16px; background: #1b3a6b; color: var(--on-dark); }
.ecras-box .h2 { color: #fff; }
.shots-wide { display: none; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.shot { display: flex; flex-direction: column; gap: 14px; padding: 0; border: 0; background: none; color: var(--on-dark); font: inherit; cursor: zoom-in; transition: transform .5s cubic-bezier(.25, .8, .25, 1), color .3s; }
.shot:hover { transform: translateY(-6px) scale(1.025); }
.shot img { width: 100%; aspect-ratio: 600 / 1067; object-fit: cover; border-radius: 22px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.shot span { font-weight: 700; text-align: center; width: 100%; color: inherit; }
.shots-narrow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.steps-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.steps { display: grid; grid-template-columns: 1fr; gap: 10px; }
.step { display: flex; align-items: flex-start; gap: 14px; width: 100%; padding: 18px 20px; border: 0; border-radius: 18px; background: rgba(255, 255, 255, .08); color: #f2f2f3; text-align: left; font: inherit; cursor: pointer; transition: background .4s ease, color .4s ease; }
.step[aria-selected="true"] { background: #fff; color: #0f1b2d; }
.step-n { flex: none; display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: #0f2547; color: #ffc58a; font-family: var(--font-heading); font-weight: 600; font-size: 18px; transition: background .4s, color .4s; }
.step[aria-selected="true"] .step-n { background: #f39a3a; color: #0f1b2d; }
.step-txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding-top: 5px; }
.step-txt b { font-size: 16px; line-height: 1.3; }
.step-txt span { font-size: 15px; line-height: 1.45; opacity: .85; }
.step-active { display: none; margin: 4px 0 0; text-align: center; color: #ffc58a; font-size: 16px; }
.phone { justify-self: center; width: min(320px, 100%); display: grid; }
.phone img { grid-area: 1 / 1; width: 100%; aspect-ratio: 600 / 1067; object-fit: cover; border-radius: 24px; box-shadow: 0 36px 64px -30px rgba(0, 0, 0, .6); cursor: zoom-in; opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .6s ease, transform .6s cubic-bezier(.25, .8, .25, 1); }
.phone img.on { opacity: 1; transform: none; }
@container page (min-width: 980px) {
  .shots-wide { display: grid; }
  .shots-narrow { display: none; }
}
@container page (max-width: 599px) {
  .shots-narrow { grid-template-columns: 1fr; gap: 28px; }
  .steps-col { order: 1; }
  .steps { grid-template-columns: 1fr 1fr; }
  /* number on top and centred text, so the labels are not squeezed */
  .step { flex-direction: column; align-items: center; gap: 8px; padding: 14px 10px; text-align: center; }
  .step-txt { padding-top: 0; }
  .step-txt span { display: none; }
  .step-active { display: block; }
  .phone { width: min(260px, 72%); }
}

/* — review card bits — */
.rv-head { display: flex; align-items: center; gap: 12px; }
.rv-head img { flex: none; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: #dfe6f0; }
.rv-who { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.rv-who b { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv-who span { font-size: 13px; color: var(--color-neutral-700); }
.rv-stars { flex: none; font-size: 15px; letter-spacing: 1px; line-height: 1; color: var(--orange); }
.rv-stars i { font-style: normal; color: var(--color-divider); }
.rv-who .rv-meta { display: flex; align-items: center; gap: 8px; }
.rv-who .rv-stars { font-size: 13px; color: var(--orange); }
.rv-text { margin: 0; line-height: 1.5; font-size: 16px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

/* — closing CTA — */
.cta { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 32px; align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: 16px; background: var(--color-surface); box-shadow: var(--card-shadow); }
.cta-title { display: flex; gap: 20px; align-items: center; min-width: 0; }
.cta-title img { width: 80px; height: 80px; border-radius: 18px; flex: none; box-shadow: 0 0 0 1px rgba(15, 27, 45, .14); }
.cta-title h2 { font-family: var(--font-heading); font-weight: 500; font-size: clamp(32px, 3.8vw, 46px); line-height: 1.05; margin: 0; }
.cta-badge { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; justify-self: end; }

/* — footer — */
.foot { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 32px; padding: 56px 0 40px; font-size: 14px; }
.foot-col { display: flex; flex-direction: column; gap: 8px; }
.foot-col:first-child { gap: 12px; }
.foot-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-weight: 600; font-size: 24px; }
.foot-brand img { width: 28px; height: 28px; border-radius: 8px; }
.foot-col .kicker { font-size: 12px; margin: 0; }
.foot-muted { color: var(--color-neutral-700); }
[data-theme="dark"] .foot-col a { color: var(--color-text); }
[data-theme="dark"] .foot-col a:hover { color: var(--highlight); }
.foot-me { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--color-text); font-weight: 500; }
.foot-me img { width: 32px; height: 32px; border-radius: 10px; object-fit: cover; }
.copy { border-top: 1px solid var(--color-divider); padding: 20px 0 32px; font-size: 13px; color: var(--color-neutral-700); }
@container page (max-width: 599px) {
  .foot, .copy { text-align: center; }
  .foot-col { align-items: center; }
}

/* — floating bits — */
.to-top { position: fixed; right: clamp(16px, 3vw, 32px); bottom: clamp(16px, 3vw, 32px); z-index: 40; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 16px; background: #1b3a6b; color: #fff; box-shadow: 0 0 0 2px var(--color-bg), 0 10px 24px rgba(15, 27, 45, .25); transition: transform .2s, opacity .2s; }
.to-top:hover { color: #fff; transform: translateY(-3px); }
.to-top[hidden] { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(10, 20, 38, .82); cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { height: min(88vh, 900px); max-width: 100%; aspect-ratio: 600 / 1067; object-fit: contain; border-radius: 24px; box-shadow: 0 24px 48px rgba(0, 0, 0, .4); }
