/* Portfólio Raquel Kiss 2027 — estilos base
   Tokens espelham a página "🎨 Tokens & Estilos" do Figma NEW-PORT-27. */
:root {
  --bg-page: #ffffff;
  --bg-subtle: #efefec;
  --bg-placeholder: #e4e4e0;
  --text-primary: #111111;
  --text-secondary: #3e3e39;
  --text-muted: #888881;
  --text-inverse: #ffffff;
  --divider: #e4e4df;
  --icon: #303030;

  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 32px;
  --radius-full: 999px;

  --gutter: 40px;          /* margem lateral desktop */
  --section-gap: 120px;    /* respiro entre seções */
  --content-max: 1360px;

  --font: "Syne", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text-primary);
  background: var(--bg-page);
  font-size: 16px;
  line-height: 26px;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; font-weight: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--text-primary); outline-offset: 3px; border-radius: 4px; }

/* ---------- Tipografia ---------- */
.t-display { font-size: 112px; line-height: 104px; letter-spacing: -4px; font-weight: 500; }
.t-h1 { font-size: 72px; line-height: 1.2; font-weight: 700; letter-spacing: -1.5px; }
.t-h2 { font-size: 56px; line-height: 64px; letter-spacing: -1.5px; font-weight: 700; }
.t-h3 { font-size: 44px; line-height: 52px; letter-spacing: -1px; font-weight: 700; }
.t-h4 { font-size: 32px; line-height: 40px; letter-spacing: -0.5px; font-weight: 600; }
.t-h5 { font-size: 24px; line-height: 1.4; font-weight: 600; }
.t-lead { font-size: 20px; line-height: 30px; color: var(--text-secondary); }
.t-body { font-size: 16px; line-height: 26px; color: var(--text-secondary); }
.t-small { font-size: 14px; line-height: 22px; color: var(--text-secondary); }
.t-label { font-size: 14px; line-height: 20px; font-weight: 500; }
.t-eyebrow { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--text-muted); }
.t-overline { font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 1.2px; text-transform: uppercase; color: var(--text-muted); }
.muted { color: var(--text-muted); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--content-max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.page { display: flex; flex-direction: column; gap: var(--section-gap); padding-bottom: 0; }
.stack { display: flex; flex-direction: column; }
.divider { height: 1px; background: var(--divider); border: 0; margin: 0; }

/* ---------- Botão ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius-full);
  background: var(--bg-subtle); color: var(--text-primary);
  font-size: 14px; line-height: 20px; font-weight: 500; white-space: nowrap;
  border: 0; cursor: pointer; transition: background .2s ease, color .2s ease, transform .2s ease;
}
.btn .icon { width: 24px; height: 24px; transition: transform .2s ease; }
.btn:hover { background: var(--text-primary); color: var(--text-inverse); }
.btn:hover .icon { transform: translate(2px, -2px); filter: invert(1); }
.btn--light { background: var(--bg-subtle); }

/* ---------- Cabeçalho ---------- */
.site-header { background: var(--bg-page); }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; min-height: 96px; }
.site-header__logo { display: flex; align-items: center; height: 48px; }
.site-header__logo img { height: 32px; width: auto; }
.site-nav { display: flex; gap: 40px; }
.site-nav a { font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 1.2px; color: var(--text-secondary); text-transform: uppercase; position: relative; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--text-primary); }

/* ---------- Seletor de idioma (componente "Language Switch" do Figma) ---------- */
.site-header__actions { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: inline-flex; padding: 4px; gap: 2px; border-radius: var(--radius-full); background: var(--bg-subtle); }
.lang-switch a { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: var(--radius-full); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 1.2px; color: var(--text-muted); transition: background .2s, color .2s; }
.lang-switch a:hover { color: var(--text-primary); }
.lang-switch a[aria-current] { background: var(--bg-page); color: var(--text-primary); box-shadow: 0 1px 2px rgba(0,0,0,.06); }
@media (max-width: 640px) { .site-header__actions { gap: 8px; } .lang-switch a { min-width: 36px; height: 36px; padding: 0 8px; } }

/* ---------- Menu (ícone no header + painel) ---------- */
.menu-btn { flex: none; width: 48px; height: 48px; border: 0; border-radius: var(--radius-full); background: var(--bg-subtle); display: grid; place-content: center; gap: 5px; cursor: pointer; transition: background .2s; }
.menu-btn span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--text-primary); transition: background .2s; }
.menu-btn:hover { background: var(--text-primary); }
.menu-btn:hover span { background: var(--text-inverse); }
.site-menu { position: fixed; inset: 0; z-index: 100; }
.site-menu[hidden] { display: none; }
.site-menu__backdrop { position: absolute; inset: 0; background: rgba(17,17,17,.35); opacity: 0; transition: opacity .3s ease; }
.site-menu__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--bg-page); padding: 24px 40px 40px; display: flex; flex-direction: column; gap: 40px; overflow-y: auto; transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.7,.2,1); outline: none; }
.site-menu.is-open .site-menu__backdrop { opacity: 1; }
.site-menu.is-open .site-menu__panel { transform: none; }
.site-menu__top { display: flex; align-items: center; justify-content: space-between; min-height: 48px; }
.site-menu__close { width: 48px; height: 48px; border: 0; border-radius: var(--radius-full); background: var(--bg-subtle); position: relative; cursor: pointer; }
.site-menu__close span { position: absolute; left: 15px; right: 15px; top: 23px; height: 2px; border-radius: 2px; background: var(--text-primary); transform: rotate(45deg); }
.site-menu__close span + span { transform: rotate(-45deg); }
.site-menu__close:hover { background: var(--divider); }
.site-menu__list { display: flex; flex-direction: column; }
.site-menu__list a { display: block; padding: 14px 0; border-bottom: 1px solid var(--divider); font-size: 32px; line-height: 40px; font-weight: 600; letter-spacing: -0.5px; color: var(--text-primary); transition: color .2s, padding .2s; }
.site-menu__list a:hover { color: var(--text-secondary); padding-left: 8px; }
.site-menu__list a[aria-current] { color: var(--text-muted); }
.site-menu__foot { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
body.menu-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .site-menu__panel, .site-menu__backdrop { transition: none; } }
@media (max-width: 640px) {
  .site-menu__panel { padding: 24px 20px 32px; }
  .site-menu__list a { font-size: 28px; line-height: 36px; }
  .btn--cta { padding: 12px 16px; }
  .btn--cta .icon { display: none; }
  .menu-btn { width: 44px; height: 44px; }
}
@media (max-width: 380px) { .btn--cta { display: none; } }

/* ---------- Hero de página interna ---------- */
.top { display: flex; flex-direction: column; gap: 24px; }
.page-hero { background: var(--bg-subtle); border-radius: var(--radius-lg); padding: 72px 64px; display: flex; flex-direction: column; gap: 24px; }
.page-hero__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.page-hero__title { white-space: pre-line; }
.page-hero .t-lead { max-width: 760px; }

/* ---------- Imagens ---------- */
.media { position: relative; overflow: hidden; background: var(--bg-subtle); border-radius: var(--radius-md); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--placeholder { background: var(--bg-placeholder); }
.media--top img { object-position: top; }
.banner { border-radius: var(--radius-lg); }

/* ---------- Bloco de texto 2 colunas (cases e Sobre) ---------- */
.split { display: grid; grid-template-columns: 480fr 800fr; gap: 80px; align-items: start; }
.split__title { display: flex; flex-direction: column; gap: 12px; }
.split__body { display: flex; flex-direction: column; gap: 16px; }

/* ---------- Bloco do case ---------- */
.case-block { display: flex; flex-direction: column; gap: 48px; }
.img-rows { display: flex; flex-direction: column; gap: 24px; }
.img-row { display: grid; gap: 24px; grid-template-columns: repeat(2, 1fr); }
.img-row--3 { grid-template-columns: repeat(3, 1fr); }
.img-row--full { grid-template-columns: 1fr; }
.img-row .media { aspect-ratio: var(--ar, 16/9); }

/* ---------- Cards de visão geral ---------- */
.overview { display: flex; flex-direction: column; gap: 40px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.info-card { background: var(--bg-subtle); border-radius: var(--radius-lg); padding: 40px; display: flex; flex-direction: column; gap: 16px; }

/* ---------- Card de projeto ---------- */
.project-card { display: flex; flex-direction: column; gap: 16px; }
.project-card .media { aspect-ratio: 322/260; }
.project-card .media img { transition: transform .5s ease; }
.project-card:hover .media img { transform: scale(1.04); }
.project-card__meta { display: flex; flex-direction: column; gap: 4px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.project-tile { display: flex; flex-direction: column; background: var(--bg-page); border-radius: var(--radius-sm); }
.project-tile .media { aspect-ratio: 668/340; border-radius: var(--radius-sm); }
.project-tile .media img { transition: transform .5s ease; }
.project-tile:hover .media img { transform: scale(1.03); }
.project-tile__meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px; }
.project-tile__meta .t-small { white-space: nowrap; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

/* ---------- Pills ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { background: var(--bg-page); border-radius: var(--radius-full); padding: 6px 12px; font-size: 14px; line-height: 22px; color: var(--text-secondary); }
.pill--subtle { background: var(--bg-subtle); padding: 8px 16px; line-height: 17px; }

/* ---------- Section header (Currículo, Redes, Loja) ---------- */
.sec-head { display: flex; flex-direction: column; gap: 12px; }
.sec-head .t-h4 { font-weight: 700; font-size: 32px; letter-spacing: 0; line-height: 38px; }

/* ---------- Rodapé ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--bg-page); padding: 80px 0 40px; margin-top: var(--section-gap); }
.site-footer--flush { margin-top: 0; }
.site-footer__sign { position: absolute; left: 0; right: 0; top: 31%; height: 61%; pointer-events: none; }
.site-footer__sign { display: flex; align-items: center; justify-content: center; }
.site-footer__sign img { width: 100%; height: 100%; object-fit: contain; }
.site-footer .container { position: relative; display: flex; flex-direction: column; gap: 28px; }
.footer-links { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; font-weight: 600; color: #0d0d0d; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-cta { min-height: 330px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; color: #0d0d0d; }
.footer-cta .t-h1 { letter-spacing: 0; }
.footer-cta p { font-size: 20px; line-height: 1.3; max-width: 720px; }
.footer-cta a.t-h1:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 10px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; min-height: 96px; }
.footer-bottom__logo img { width: 47px; height: 24px; }
.footer-social { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.footer-social p { font-size: 14px; line-height: 24px; font-weight: 500; color: #0d0d0d; }
.social-icons { display: flex; gap: 8px; }
.social-icons a { display: block; width: 24px; height: 24px; transition: opacity .2s; }
.social-icons a:hover { opacity: .6; }

/* ---------- Animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =====================================================================
   HOME
   ===================================================================== */
.home { background: var(--bg-subtle); }
.home-hero { background: var(--bg-page); padding: 24px var(--gutter) 40px; display: flex; flex-direction: column; gap: 24px; }
/* Paralaxe: a Hero fica parada (sticky) e o vídeo e o resto da página sobem por cima dela */
.home-hero { position: sticky; top: 0; z-index: 0; }
.home-hero > * { transform-origin: 50% 0; will-change: transform, opacity; }
.home-hero .home-hero__content { opacity: calc(1 - var(--p, 0) * .7); transform: scale(calc(1 - var(--p, 0) * .05)); }
.home > section:not(.home-hero), .home > div { position: relative; z-index: 1; }
.home > .clients, .home > .experiences { background: var(--bg-subtle); }
.home > .home-video { background: #1b1b1b; box-shadow: 0 -24px 48px rgba(0,0,0,.08); }
@media (prefers-reduced-motion: reduce) { .home-hero .home-hero__content { opacity: 1; transform: none; } }
.home-hero .site-header__bar { padding: 0; min-height: 48px; }
.home-hero__content { display: flex; flex-direction: column; gap: 20px; }
.home-hero__eyebrow { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text-muted); text-transform: uppercase; }
.rotator { display: flex; flex-wrap: wrap; column-gap: 16px; }
.rotator__words { position: relative; display: inline-block; color: var(--text-muted); overflow: hidden; height: 104px; vertical-align: top; }
.rotator__words span { display: block; white-space: nowrap; transition: transform .6s cubic-bezier(.7,0,.2,1), opacity .6s; }
.rotator__track { display: flex; flex-direction: column; transition: transform .7s cubic-bezier(.7,0,.2,1); }
.home-hero .t-lead { max-width: 820px; }

.home-video { position: relative; height: 685px; background: #1b1b1b; overflow: hidden; }
.home-video video, .home-video img { width: 100%; height: 100%; object-fit: cover; }
.home-video__placeholder { position: absolute; inset: 0; display: grid; place-items: center; background: var(--bg-placeholder); color: var(--text-muted); font-size: 14px; font-weight: 500; letter-spacing: 1.2px; text-transform: uppercase; }

.clients { padding: 80px 0 80px var(--gutter); display: flex; flex-direction: column; gap: 32px; }
.clients .t-h4 { max-width: 1120px; padding-right: var(--gutter); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
.marquee__track { display: flex; gap: 12px; width: max-content; animation: marquee 90s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 6px)); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } .marquee { overflow-x: auto; } }
.logo-tile { position: relative; flex: none; width: 120px; height: 120px; border-radius: var(--radius-md); background: var(--bg-subtle); display: grid; place-items: center; transition: background .25s; }
.logo-tile img, .logo-tile .logo-multi { filter: grayscale(1); mix-blend-mode: luminosity; transition: filter .25s; }
.logo-tile:hover { background: var(--bg-page); }
.logo-tile:hover img, .logo-tile:hover .logo-multi { filter: none; mix-blend-mode: normal; }
.logo-multi { position: relative; }
.logo-multi img { position: absolute; width: auto; height: auto; }

.about { background: var(--bg-page); border-radius: var(--radius-md); padding: 80px var(--gutter); display: flex; flex-direction: column; gap: 48px; }
.about__intro { display: grid; grid-template-columns: 648fr 664fr; gap: 48px; align-items: center; }
.about__copy { display: flex; flex-direction: column; gap: 20px; }
.about__copy .t-lead { max-width: 620px; }
.about__portrait { border-radius: 64px; aspect-ratio: 664/560; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 52px; }
.stat { display: flex; flex-direction: column; gap: 12px; padding: 24px 0; }
.stat__value { font-size: 44px; line-height: 52px; letter-spacing: -1px; font-weight: 700; }

.experiences { padding: 80px var(--gutter); display: flex; flex-direction: column; gap: 18px; }
.experiences__cta { margin-top: 22px; }
.btn--white { background: var(--bg-page); }
.stat__value { font-variant-numeric: tabular-nums; }
.exp-row { display: grid; grid-template-columns: 400px 1fr auto; gap: 12px 40px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--divider); }
.exp-row__name { white-space: pre-line; }
.exp-row__link { color: var(--text-secondary); }
.exp-row__link:hover { color: var(--text-primary); text-decoration: underline; text-underline-offset: 4px; }

.projects { background: var(--bg-page); padding: 80px var(--gutter); display: flex; flex-direction: column; gap: 28px; border-radius: var(--radius-md) var(--radius-md) 0 0; }
.projects__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.projects__head .stack { gap: 14px; }

.course-wrap { background: var(--bg-page); }
.course { position: relative; overflow: hidden; border-radius: var(--radius-md); min-height: 504px; display: grid; place-items: center; padding: 80px var(--gutter); color: var(--text-inverse); text-align: center; }
.course__bg { position: absolute; inset: 0; }
.course__bg img { width: 100%; height: 100%; object-fit: cover; }
.course__bg::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.6); }
.course__inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; max-width: 620px; padding: 56px 0; }
.course__icons { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.mod { position: relative; width: 40px; height: 40px; }
.mod > img:first-child { position: absolute; inset: 0; width: 40px; height: 40px; }
.mod__glyph { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 23.5px; height: 23.5px; display: grid; place-items: center; }
.mod__glyph img { width: auto; height: auto; max-width: 100%; max-height: 100%; }
.course .t-body { color: var(--text-inverse); }

/* =====================================================================
   SOBRE
   ===================================================================== */
.hero-image { aspect-ratio: 1360/600; border-radius: var(--radius-lg); }
.hero-image img { object-position: center 25%; }
.bio { display: grid; grid-template-columns: 480fr 800fr; gap: 80px; align-items: center; }
.bio .media { aspect-ratio: 480/440; border-radius: var(--radius-lg); }
.bio__text { display: flex; flex-direction: column; gap: 24px; }
.exp-list { display: flex; flex-direction: column; }
.exp-item { display: grid; grid-template-columns: 180px 1fr; gap: 40px; padding: 32px 0; border-bottom: 1px solid var(--divider); }
.exp-item:last-child { border-bottom: 0; }
.exp-item__body { display: flex; flex-direction: column; gap: 8px; }
.skills-edu { display: grid; grid-template-columns: 800fr 480fr; gap: 80px; }
.skill-box { background: var(--bg-subtle); border-radius: var(--radius-sm); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.edu-item { display: flex; flex-direction: column; gap: 8px; }
.value-card { background: var(--bg-subtle); border-radius: var(--radius-sm); padding: 32px; display: flex; flex-direction: column; gap: 24px; }
.value-card__num { font-size: 72px; line-height: 76px; font-weight: 700; color: var(--text-muted); }
.cards-3--20 { gap: 20px; }

/* =====================================================================
   CURRÍCULO
   ===================================================================== */
.jobs { display: flex; flex-direction: column; gap: 48px; }
.job { display: grid; grid-template-columns: 400px 1fr; gap: 40px; }
.job__left { display: flex; flex-direction: column; gap: 8px; }
.job__left .t-h4 { font-weight: 700; letter-spacing: 0; line-height: 38px; }
.job__date { font-size: 14px; line-height: 17px; font-weight: 500; color: var(--text-muted); text-transform: uppercase; }
.job__role { font-size: 20px; }
.job__right { display: flex; flex-direction: column; gap: 12px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.two-col--lang { grid-template-columns: 400fr 880fr; }
.edu-list { display: flex; flex-direction: column; gap: 24px; }
.edu-list h3 { font-size: 18px; line-height: 22px; font-weight: 700; }
.lang-list { display: flex; flex-direction: column; gap: 16px; max-width: 220px; }
.lang-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.skill-group { display: flex; flex-direction: column; gap: 10px; }
.skill-group__label { font-size: 14px; line-height: 17px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; }

/* =====================================================================
   CONTATO
   ===================================================================== */
.contact-split { display: grid; grid-template-columns: 800fr 480fr; gap: 80px; align-items: start; }
.form { display: flex; flex-direction: column; gap: 40px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; line-height: 20px; font-weight: 500; }
.field input, .field textarea { border: 0; border-bottom: 1px solid var(--divider); background: transparent; padding: 12px 0; font-size: 16px; line-height: 26px; outline: none; resize: vertical; transition: border-color .2s; }
.field textarea { min-height: 144px; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-muted); }
.field input:focus, .field textarea:focus { border-bottom-color: var(--text-primary); }
.form__actions { padding-top: 16px; }
.form__note { font-size: 14px; color: var(--text-muted); }
.info-side { display: flex; flex-direction: column; gap: 48px; }
.info-group { display: flex; flex-direction: column; gap: 16px; }
.info-group .t-h5 { overflow-wrap: anywhere; }
.info-group a.t-h5:hover { text-decoration: underline; text-underline-offset: 4px; }
.info-group .social-icons a { width: 32px; height: 32px; }

/* =====================================================================
   DEPOIMENTOS
   ===================================================================== */
.featured-quote { background: var(--bg-subtle); border-radius: var(--radius-lg); padding: 56px; display: flex; flex-direction: column; gap: 32px; }
.person { display: flex; align-items: center; gap: 16px; }
.avatar { flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--bg-page); }
.avatar--sm { width: 48px; height: 48px; background: var(--bg-subtle); }
.quote-card { border: 1px solid var(--divider); border-radius: var(--radius-sm); padding: 32px; display: flex; flex-direction: column; gap: 24px; }
.cta-card { background: var(--bg-subtle); border-radius: var(--radius-lg); padding: 80px var(--gutter); display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.cta-card .t-body { max-width: 600px; }
.cta-card .btn { margin-top: 16px; }
.cta-card .btn:not(:hover) { background: var(--bg-page); }

/* =====================================================================
   REDES SOCIAIS
   ===================================================================== */
.social-card { background: var(--bg-subtle); border-radius: var(--radius-sm); padding: 24px; display: flex; align-items: center; gap: 20px; min-height: 0; transition: background .2s; }
.social-card:hover { background: var(--divider); }
.social-card__icon { flex: none; width: 64px; height: 64px; border-radius: 12px; background: var(--bg-page); display: grid; place-items: center; }
.social-card__icon img { width: 32px; height: 32px; }
.social-card__icon .initial { font-size: 22px; font-weight: 700; }
.social-card__text { display: flex; flex-direction: column; gap: 4px; }
.social-card__text .t-h5 { font-weight: 700; }
.panel { background: var(--bg-subtle); border-radius: var(--radius-lg); padding: 80px var(--gutter); display: flex; flex-direction: column; gap: 40px; }
.post-card { background: var(--bg-page); border-radius: var(--radius-sm); overflow: hidden; display: flex; flex-direction: column; }
.post-card .media { aspect-ratio: 302/240; border-radius: 0; }
.post-card__meta { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.post-card__meta h3 { font-size: 18px; line-height: 22px; font-weight: 700; }

/* =====================================================================
   LOJA
   ===================================================================== */
.featured-product { display: grid; grid-template-columns: 660fr 700fr; background: var(--bg-subtle); border-radius: var(--radius-md); overflow: hidden; min-height: 500px; }
.featured-product .media { border-radius: 0; height: 100%; }
.featured-product__info { padding: 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.featured-product__top { display: flex; flex-direction: column; gap: 16px; }
.featured-product__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.featured-product__bottom .btn:not(:hover) { background: var(--bg-page); }
.filters { display: flex; flex-wrap: wrap; gap: 12px; }
.filter { border: 0; cursor: pointer; border-radius: var(--radius-full); padding: 10px 20px; font-size: 14px; line-height: 17px; font-weight: 600; background: var(--bg-subtle); color: var(--text-secondary); transition: background .2s, color .2s; }
.filter[aria-pressed="true"] { background: var(--text-primary); color: var(--text-inverse); }
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product { border: 1px solid var(--divider); border-radius: var(--radius-sm); overflow: hidden; display: flex; flex-direction: column; transition: border-color .2s; }
.product:hover { border-color: var(--text-muted); }
.product[hidden] { display: none; }
.product .media { aspect-ratio: 1/1; border-radius: 0; }
.product .media img { object-fit: cover; }
.product__meta { padding: 20px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; flex: 1; }
.product__meta h3 { font-size: 20px; line-height: 24px; font-weight: 600; }
.product__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product__type { font-size: 20px; line-height: 24px; font-weight: 700; }
.product__more { font-size: 14px; font-weight: 600; color: var(--text-muted); }
.product:hover .product__more { color: var(--text-primary); }
.quote-panel { background: var(--bg-subtle); border-radius: var(--radius-lg); padding: 80px var(--gutter); display: flex; flex-direction: column; align-items: center; gap: 40px; text-align: center; }
.quote-panel blockquote { margin: 0; max-width: 900px; }

/* =====================================================================
   TABLET (até 1024px)
   ===================================================================== */
@media (max-width: 1024px) {
  :root { --gutter: 32px; --section-gap: 96px; }
  .t-display { font-size: 72px; line-height: 72px; letter-spacing: -2.5px; }
  .rotator__words { height: 72px; }
  .t-h1 { font-size: 56px; }
  .t-h2 { font-size: 44px; line-height: 52px; }
  .t-h3 { font-size: 36px; line-height: 44px; }
  .t-h4 { font-size: 28px; line-height: 36px; }
  .page-hero { padding: 56px 40px; }
  .split, .bio, .skills-edu, .contact-split, .two-col, .two-col--lang { grid-template-columns: 1fr; gap: 32px; }
  .about__intro { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 24px 40px; }
  .exp-row { grid-template-columns: 1fr; gap: 4px; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .products { grid-template-columns: repeat(2, 1fr); }
  .featured-product { grid-template-columns: 1fr; }
  .featured-product .media { aspect-ratio: 660/500; }
  .home-video { height: 480px; }
  .job { grid-template-columns: 1fr; gap: 12px; }
  .exp-item { grid-template-columns: 140px 1fr; gap: 24px; }
  .project-tile__meta { flex-wrap: wrap; }
  .project-tile__meta .t-h4 { font-size: 24px; line-height: 32px; }
}

/* =====================================================================
   CELULAR (até 640px)
   ===================================================================== */
@media (max-width: 640px) {
  :root { --gutter: 20px; --section-gap: 72px; --radius-lg: 24px; }
  .site-nav { display: none; }
  .t-display { font-size: 48px; line-height: 46px; letter-spacing: -1.5px; }
  .rotator { flex-direction: column; }
  .rotator__words { height: 46px; }
  .t-h1 { font-size: 36px; letter-spacing: -0.5px; }
  .t-h2 { font-size: 36px; line-height: 44px; letter-spacing: -1px; }
  .t-h3 { font-size: 30px; line-height: 38px; letter-spacing: -0.5px; }
  .t-h4 { font-size: 24px; line-height: 32px; }
  .t-lead { font-size: 16px; line-height: 26px; }
  .page-hero { padding: 40px 24px; gap: 20px; }
  .page-hero__row { flex-direction: column; align-items: flex-start; }
  .case-block { gap: 24px; }
  .img-rows, .img-row { gap: 16px; }
  .img-row, .img-row--3 { grid-template-columns: 1fr; }
  .img-row .media, .project-tile .media { border-radius: var(--radius-sm); }
  .cards-3, .grid-2, .products { grid-template-columns: 1fr; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .project-card { gap: 10px; }
  .project-card .media { aspect-ratio: 167/150; border-radius: var(--radius-sm); }
  .info-card { padding: 24px; border-radius: 20px; gap: 12px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 8px 20px; }
  .stat__value { font-size: 32px; line-height: 40px; }
  .stat { padding: 16px 0; }
  .home-hero { padding: 24px var(--gutter) 40px; }
  .home-video { height: 220px; }
  .clients { padding: 56px 0 56px var(--gutter); gap: 24px; }
  .logo-tile { width: 96px; height: 96px; border-radius: 20px; }
  .logo-tile > img, .logo-tile > .logo-multi { transform: scale(.8); }
  .about, .experiences, .projects { padding: 56px var(--gutter); gap: 32px; }
  .about__portrait { border-radius: 32px; }
  .projects__head { flex-direction: column; gap: 20px; }
  .course { padding: 40px 20px; min-height: 0; }
  .course__inner { padding: 24px 0; }
  .project-tile__meta { padding: 16px 4px; }
  .exp-item { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
  .featured-quote, .cta-card, .panel, .quote-panel { padding: 40px 24px; }
  .featured-product__info { padding: 24px; }
  .featured-product__bottom { flex-direction: column; align-items: flex-start; }
  .social-card { align-items: flex-start; }
  .footer-links { display: grid; grid-template-columns: repeat(3, 1fr); row-gap: 16px; }
  .footer-cta { min-height: 280px; }
  .footer-cta .t-h1 { font-size: 44px; line-height: 52px; }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 16px; padding-top: 8px; min-height: 0; }
  .footer-social { align-items: flex-end; }
  .site-footer__sign { top: 20%; height: 40%; }
}


/* =====================================================================
   AJUSTES DE ADERÊNCIA AO FIGMA (tablet 768 / celular 390)
   ===================================================================== */
@media (max-width: 1024px) {
  .t-display { font-size: 56px; line-height: 56px; letter-spacing: -2px; }
  .rotator__words { height: 56px; }
  .t-lead { font-size: 18px; line-height: 28px; }
  .about__copy .t-lead { font-size: 20px; line-height: 30px; }
  .clients .t-h4 { font-size: 24px; line-height: 32px; }
  .experiences .t-h3 { font-size: 44px; line-height: 52px; }
  .exp-row__name.t-h4 { font-size: 32px; line-height: 40px; }
  .projects__head h2.t-h2 { font-size: 36px; line-height: 44px; }
  .project-tile .media { aspect-ratio: 342/340; }
  .project-tile__meta .t-h4 { font-size: 32px; line-height: 40px; }
  .project-tile__meta { flex-direction: column; align-items: flex-start; gap: 4px; }
  .course .t-h2 { font-size: 56px; line-height: 64px; }
  .footer-cta .t-h1 { font-size: 72px; line-height: 1.2; }
  .home-video { height: 522px; }
  .about__portrait { aspect-ratio: 704/560; }
  .about { gap: 48px; }
  .exp-row { padding: 20px 0; gap: 6px; }
  .hero-image { aspect-ratio: auto; height: 600px; }
  .bio .media { aspect-ratio: 704/440; }
  .exp-item { grid-template-columns: 1fr; gap: 40px; }
  .cards-3 { grid-template-columns: 1fr; }
  .value-card__num { font-size: 48px; line-height: 52px; }
  .sec-head .t-h4 { font-size: 28px; line-height: 34px; }
  .info-group .t-h5 { font-size: 28px; line-height: 36px; }
  .bio__text .t-lead, .curriculo-summary .t-lead { font-size: 20px; line-height: 30px; }
  .img-row--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .t-display { font-size: 48px; line-height: 46px; letter-spacing: -1.5px; }
  .rotator__words { height: 46px; }
  .t-lead { font-size: 16px; line-height: 26px; }
  .bio__text .t-lead, .curriculo-summary .t-lead { font-size: 18px; line-height: 28px; }
  .home-hero__eyebrow { font-size: 12px; }
  .clients { padding: 80px 0 80px var(--gutter); gap: 32px; }
  .clients .t-h4 { font-size: 20px; line-height: 28px; }
  .logo-tile { width: 120px; height: 120px; border-radius: var(--radius-md); }
  .logo-tile > img, .logo-tile > .logo-multi { transform: none; }
  .about { padding: 80px var(--gutter); gap: 48px; }
  .experiences { padding: 80px var(--gutter); gap: 18px; }
  .projects { padding: 80px var(--gutter); gap: 24px; }
  .about__copy h2.t-h2 { font-size: 32px; line-height: 40px; }
  .about__copy .t-lead { font-size: 20px; line-height: 30px; }
  .about__portrait { aspect-ratio: 350/286; }
  .stats { gap: 8px 16px; }
  .stat .t-body { font-size: 13px; line-height: 20px; }
  .projects__head h2.t-h2 { font-size: 28px; line-height: 36px; }
  .project-tile .media { aspect-ratio: 350/340; }
  .project-tile__meta { padding: 20px; }
  .course { padding: 80px 20px; }
  .course__inner { padding: 56px 0; }
  .course .t-h2 { font-size: 32px; line-height: 36px; }
  .footer-cta .t-h1 { font-size: 44px; line-height: 52px; }
  .home-video { height: 220px; }
  .bio .media { aspect-ratio: 350/321; }
  .exp-item { gap: 32px; padding: 32px 0; }
  .value-card__num { font-size: 36px; line-height: 40px; }
  .sec-head .t-h4 { font-size: 24px; line-height: 30px; }
  .job__right .job__role { font-size: 18px; line-height: 26px; }
  .info-group .t-h5 { font-size: 24px; line-height: 32px; }
  .info-group a.t-h5[href^="mailto"] { font-size: 18px; line-height: 26px; }
  .social-card .t-h5 { font-size: 20px; line-height: 28px; }
  .product__meta h3, .product__type { font-size: 18px; line-height: 22px; }
  .panel .cards-4 { grid-template-columns: 1fr; }
  .img-row--3 { grid-template-columns: 1fr; }
}

/* ---------- Impressão (botão "Baixar PDF" do currículo) ---------- */
@media print {
  .site-header, .site-footer, .page-hero .btn, .no-print { display: none !important; }
  :root { --section-gap: 32px; }
  .page-hero { background: none; padding: 0; }
  .t-h1 { font-size: 36px; }
  body { font-size: 12px; }
  .job, .two-col, .two-col--lang { break-inside: avoid; }
}

/* ---------- CORREÇÕES DE RESPONSIVIDADE DA HERO (26/11) ---------- */
.site-header__logo { flex: none; }
@media (max-width: 1100px) { .site-nav { display: none; } }
/* Título: tamanho fluido entre os breakpoints, sem quebrar de linha no desktop */
@media (min-width: 1025px) { .t-display { font-size: clamp(72px, 7.8vw, 112px); line-height: .93; letter-spacing: -.035em; } }
@media (min-width: 641px) and (max-width: 1024px) { .home-hero .t-display { font-size: clamp(48px, 7vw, 72px); line-height: 1; } }
/* Palavra animada: largura = palavra atual, altura = uma linha do título */
.rotator { align-items: baseline; }
.rotator__words { height: auto; transition: width .6s cubic-bezier(.7,0,.2,1); }
.rotator__track { align-items: flex-start; }
.rotator__track span { width: max-content; }
@media (max-width: 640px) { .rotator { align-items: flex-start; } }
/* Vídeo: proporção real 16:9, sem faixa de sombra por cima */
.home > .home-video { box-shadow: none; }
.home-video { height: auto; aspect-ratio: 16 / 9; max-height: 100svh; }
.home-video video, .home-video img { object-position: 50% 30%; display: block; }
@media (max-width: 1024px) { .home-video { height: auto; } }
@media (max-width: 640px) { .home-video { height: auto; } .home-hero { padding-bottom: 32px; } }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.form__note--ok { color: #1f7a3d; }
.form__note--err { color: #b3261e; }
.form button[disabled] { opacity: .6; cursor: wait; }

/* =====================================================================
   FORMAÇÃO FIGMA & IA (subpágina /formacao-figma-ia/, aberta pelo "Saiba mais" da Loja)
   ===================================================================== */
.fm { display: flex; flex-direction: column; gap: var(--section-gap); }
.fm .section { display: flex; flex-direction: column; gap: 56px; }
.fm .sec-head { gap: 16px; }
.fm .t-h1 { text-wrap: balance; }
.fm .t-h2 { text-wrap: balance; }
.fm .t-h4 { font-size: 28px; line-height: 36px; }
.fm .t-h5 { font-size: 22px; line-height: 1.35; font-weight: 600; }
.fm .t-lead { max-width: 760px; }
.fm .band { background: var(--bg-subtle); padding-block: 112px; }
.fm ul, .fm ol { list-style: none; margin: 0; padding: 0; }
.fm figure { margin: 0; }
.fm .btn--dark { background: var(--text-primary); color: var(--text-inverse); }
.fm .btn--dark .icon { filter: invert(1); }
.fm .btn--dark:hover { background: var(--text-secondary); }
.fm .btn--white { background: var(--bg-page); }
.fm .btn--light { background: var(--bg-subtle); }
.fm .btn--lg { padding: 16px 32px; font-size: 16px; }
.fm-top { display: flex; flex-direction: column; gap: 24px; }
.fm-crumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--text-muted); }
.fm-crumbs a { color: var(--text-secondary); text-decoration: underline; text-underline-offset: 3px; }
.fm-crumbs a:hover { color: var(--text-primary); }
.fm-subnav { display: flex; flex-wrap: wrap; gap: 8px; }
.fm-subnav a { padding: 8px 16px; border-radius: var(--radius-full); background: var(--bg-subtle); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 1.2px; text-transform: uppercase; color: var(--text-secondary); transition: background .2s, color .2s; }
.fm-subnav a:hover { background: var(--text-primary); color: var(--text-inverse); }
.fm .facts { margin-top: 0; }
/* Hero */
.fm .hero { background: var(--bg-subtle); border-radius: var(--radius-lg); padding: 64px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.fm .hero__text { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.fm .hero h1 span { display: block; font-size: 40px; line-height: 48px; letter-spacing: -1px; margin-top: 12px; font-weight: 600; }
.fm .hero__flag { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; background: var(--bg-page); padding: 8px 14px; border-radius: var(--radius-full); color: var(--text-primary); }
.fm .dot { width: 8px; height: 8px; border-radius: 50%; background: #1fb35a; box-shadow: 0 0 0 4px rgba(31,179,90,.18); }
.fm .hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.fm .hero__note { color: var(--text-muted); }
.fm .hero__media { aspect-ratio: 1000/692; border-radius: var(--radius-md); }
.fm .facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 24px; border-top: 1px solid var(--divider); }
.fm .facts li { display: flex; flex-direction: column; gap: 4px; padding: 28px 24px 0 0; }
.fm .facts li + li { padding-left: 24px; border-left: 1px solid var(--divider); }
.fm .facts strong { font-size: 40px; line-height: 48px; font-weight: 700; letter-spacing: -1px; }
.fm .facts span { font-size: 14px; color: var(--text-secondary); }

/* Módulos (acordeão) */
.fm .fmods { border-top: 1px solid var(--divider); }
.fm .fmod { border-bottom: 1px solid var(--divider); }
.fm .fmod summary, .fm .faq summary { list-style: none; cursor: pointer; }
.fm .fmod summary::-webkit-details-marker, .fm .faq summary::-webkit-details-marker { display: none; }
.fm .fmod summary { display: grid; grid-template-columns: 140px 1fr 200px 40px; align-items: center; gap: 24px; padding: 28px 0; transition: padding .25s ease; }
.fm .fmod summary:hover { padding-left: 12px; }
.fm .fmod__num { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--text-muted); }
.fm .fmod__name { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 16px; row-gap: 2px; min-width: 0; }
.fm .fmod__name strong { font-size: 32px; line-height: 40px; font-weight: 700; letter-spacing: -0.5px; }
.fm .fmod__name span { font-size: 16px; color: var(--text-muted); }
.fm .fmod__count { font-size: 14px; color: var(--text-secondary); text-align: right; font-variant-numeric: tabular-nums; }
.fm .fmod__toggle { position: relative; width: 40px; height: 40px; border-radius: 50%; background: var(--bg-subtle); flex: none; transition: background .2s, transform .3s ease; }
.fm .fmod__toggle::before, .fm .fmod__toggle::after { content: ""; position: absolute; left: 13px; right: 13px; top: 19px; height: 2px; border-radius: 2px; background: var(--text-primary); transition: background .2s; }
.fm .fmod__toggle::after { transform: rotate(90deg); }
.fm details[open] > summary .fmod__toggle { transform: rotate(45deg); background: var(--text-primary); }
.fm details[open] > summary .fmod__toggle::before, .fm details[open] > summary .fmod__toggle::after { background: var(--text-inverse); }
.fm .fmod__body { display: grid; grid-template-columns: 140px 1fr; gap: 24px; padding: 0 0 40px; }
.fm .fmod__intro { grid-column: 2; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; max-width: 760px; }
.fm .chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: var(--radius-full); background: var(--bg-subtle); font-size: 13px; line-height: 18px; font-weight: 500; color: var(--text-secondary); }
.fm .chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #e0a100; }
.fm .chip--done::before { background: #1fb35a; }
.fm .fmod__lessons { grid-column: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 24px; counter-reset: aula; }
.fm .fmod__lessons li { counter-increment: aula; display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--divider); font-size: 15px; line-height: 22px; color: var(--text-primary); min-width: 0; }
.fm .fmod__lessons li::before { content: counter(aula, decimal-leading-zero); flex: none; width: 24px; font-size: 12px; line-height: 22px; color: var(--text-muted); font-variant-numeric: tabular-nums; }

/* Números */
.fm .nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.fm .num { background: var(--bg-page); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.fm .num strong { font-size: 56px; line-height: 64px; font-weight: 700; letter-spacing: -1.5px; font-variant-numeric: tabular-nums; }
.fm .source { color: var(--text-muted); }
.fm .source strong { color: var(--text-primary); }

/* Benefícios */
.fm .bens { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--divider); }
.fm .ben { display: flex; flex-direction: column; gap: 8px; padding: 32px 32px 32px 0; border-bottom: 1px solid var(--divider); }
.fm .ben:not(:nth-child(3n+1)) { padding-left: 32px; border-left: 1px solid var(--divider); }

/* Certificados */
.fm .grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.fm .cert { display: flex; flex-direction: column; gap: 16px; }
.fm .cert .media { aspect-ratio: 1500/970; border-radius: var(--radius-sm); border: 1px solid var(--divider); }
.fm .cert--big .media { aspect-ratio: 4/3; border-radius: var(--radius-md); background: var(--bg-page); border: 1px solid var(--divider); }
.fm .cert--big .media img { object-fit: contain; padding: 48px; }
@media (max-width: 680px) { .fm .cert--big .media img { padding: 24px; } }
.fm .cert figcaption { display: flex; flex-direction: column; gap: 2px; }
.fm .cert figcaption strong { font-size: 18px; line-height: 26px; font-weight: 700; }
.fm .cert--big figcaption strong { font-size: 24px; line-height: 32px; }
.fm .certs-wrap { display: flex; flex-direction: column; gap: 24px; }
.fm .certs { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 72px) / 4); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.fm .certs::-webkit-scrollbar { display: none; }
.fm .certs .cert { scroll-snap-align: start; }
.fm .certs-nav { display: flex; gap: 8px; }
.fm .round { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--bg-subtle); display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s; }
.fm .round:hover { background: var(--text-primary); color: var(--text-inverse); }

/* Bônus e públicos */
.fm .info-card { background: var(--bg-page); border-radius: var(--radius-lg); padding: 40px; display: flex; flex-direction: column; gap: 16px; }
.fm .pub .info-card { background: var(--bg-subtle); }
.fm .cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.fm .note { color: var(--text-muted); }
.fm .note strong { color: var(--text-primary); }

/* Sobre */
.fm .split { display: grid; grid-template-columns: 480fr 800fr; gap: 80px; align-items: center; }
.fm .about__img { aspect-ratio: 620/666; border-radius: var(--radius-lg); }
.fm .about__text { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.fm .about__text .t-h5 { margin-top: -8px; }
.fm .about__links { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.fm .social { width: 48px; height: 48px; border-radius: 50%; background: var(--bg-subtle); display: grid; place-items: center; transition: background .2s; }
.fm .social:hover { background: var(--divider); }

/* Preço */
.fm .price { background: var(--bg-subtle); border-radius: var(--radius-lg); display: grid; grid-template-columns: 1.2fr 1fr; overflow: hidden; }
.fm .price__main { padding: 64px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.fm .price__value { display: flex; flex-direction: column; gap: 4px; padding-block: 16px; }
.fm .price__from { font-size: 16px; color: var(--text-muted); text-decoration: line-through; text-decoration-thickness: 1px; }
.fm .price__value strong { font-size: 88px; line-height: 1; font-weight: 700; letter-spacing: -3px; font-variant-numeric: tabular-nums; }
.fm .price__trust { display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--text-muted); }
.fm .price__trust span::before { content: "✓"; margin-right: 8px; color: var(--text-primary); }
.fm .price__side { background: var(--bg-page); margin: 12px; border-radius: calc(var(--radius-lg) - 8px); padding: 48px; display: flex; flex-direction: column; gap: 20px; }
.fm .price__seal { width: 128px; height: 128px; }
.fm .incl { display: flex; flex-direction: column; }
.fm .incl li { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--divider); font-size: 18px; font-weight: 600; }
.fm .incl li::before { content: ""; width: 20px; height: 20px; flex: none; border-radius: 50%; background: var(--text-primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; }

/* FAQ */
.fm .split--faq { align-items: start; }
.fm .faqs { border-top: 1px solid var(--divider); }
.fm .faq { border-bottom: 1px solid var(--divider); }
.fm .faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; font-size: 20px; line-height: 28px; font-weight: 600; }
.fm .faq p { padding: 0 64px 28px 0; max-width: 760px; }

/* CTA final */
.fm .final { position: relative; background: var(--bg-subtle); border-radius: var(--radius-lg); padding: 96px 64px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; overflow: hidden; }
.fm .final .t-h1 { max-width: 820px; }
.fm .final__mascot { position: absolute; right: 64px; bottom: -8px; width: 280px; height: auto; }


/* Tablet */
@media (max-width: 1100px) {
  .fm .t-h1 { font-size: 56px; }
  .fm .t-h2 { font-size: 44px; line-height: 52px; }
  .fm .hero { grid-template-columns: 1fr; padding: 48px; }
  .fm .hero h1 span { font-size: 32px; line-height: 40px; }
  .fm .fmod summary { grid-template-columns: 110px 1fr auto 40px; }
  .fm .fmod__body { grid-template-columns: 1fr; }
  .fm .fmod__intro, .fm .fmod__lessons { grid-column: 1; }
  .fm .fmod__lessons { grid-template-columns: repeat(2, 1fr); }
  .fm .nums { grid-template-columns: repeat(2, 1fr); }
  .fm .bens { grid-template-columns: repeat(2, 1fr); }
  .fm .ben:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .fm .ben:nth-child(even) { padding-left: 32px; border-left: 1px solid var(--divider); }
  .fm .ben:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .fm .certs { grid-auto-columns: calc((100% - 48px) / 3); }
  .fm .cards-3 { grid-template-columns: 1fr; }
  .fm .split { grid-template-columns: 1fr 1fr; gap: 48px; }
  .fm .split--faq { grid-template-columns: 1fr; }
  .fm .price { grid-template-columns: 1fr; }
  .fm .price__main { padding: 48px; }
  .fm .final__mascot { width: 200px; right: 32px; }
}
/* Celular */
@media (max-width: 680px) {
  .fm .t-h1 { font-size: 40px; letter-spacing: -1px; }
  .fm .t-h2 { font-size: 34px; line-height: 40px; letter-spacing: -1px; }
  .fm .t-h4 { font-size: 24px; line-height: 32px; }
  .fm .t-lead { font-size: 18px; line-height: 28px; }
  .fm .hero { padding: 28px 20px; gap: 32px; border-radius: var(--radius-md); }
  .fm .hero h1 span { font-size: 24px; line-height: 32px; }
  .fm .hero__flag { font-size: 11px; letter-spacing: .8px; }
  .fm .facts { grid-template-columns: repeat(2, 1fr); }
  .fm .facts li, .fm .facts li + li { padding: 20px 16px 20px 0; border-left: 0; }
  .fm .facts li:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--divider); }
  .fm .facts li:nth-child(-n+2) { border-bottom: 1px solid var(--divider); }
  .fm .facts strong { font-size: 32px; line-height: 40px; }
  .fm .band { padding-block: 80px; }
  .fm .section { gap: 40px; }
  .fm .fmod summary { grid-template-columns: 1fr 40px; gap: 4px 16px; padding: 24px 0; }
  .fm .fmod summary:hover { padding-left: 0; }
  .fm .fmod__num { grid-column: 1; }
  .fm .fmod__name { grid-column: 1; }
  .fm .fmod__name strong { font-size: 24px; line-height: 32px; }
  .fm .fmod__count { grid-column: 1; text-align: left; }
  .fm .fmod__toggle { grid-column: 2; grid-row: 1 / span 3; }
  .fm .fmod__lessons { grid-template-columns: 1fr; }
  .fm .nums { grid-template-columns: 1fr 1fr; gap: 12px; }
  .fm .num { padding: 20px; border-radius: var(--radius-md); }
  .fm .num strong { font-size: 34px; line-height: 40px; letter-spacing: -1px; }
  .fm .bens { grid-template-columns: 1fr; }
  .fm .ben, .fm .ben:nth-child(even) { padding: 24px 0; border-left: 0; }
  .fm .ben:last-child:nth-child(odd) { grid-column: auto; }
  .fm .grid-2 { grid-template-columns: 1fr; }
  .fm .certs { grid-auto-columns: 78%; gap: 16px; }
  .fm .info-card { padding: 28px; border-radius: var(--radius-md); }
  .fm .split { grid-template-columns: 1fr; gap: 32px; }
  .fm .price { border-radius: var(--radius-md); }
  .fm .price__main { padding: 32px 20px; }
  .fm .price__value strong { font-size: 60px; letter-spacing: -2px; }
  .fm .price__side { padding: 28px 20px; margin: 8px; }
  .fm .btn--lg { width: 100%; }
  .fm .faq summary { font-size: 17px; line-height: 24px; }
  .fm .faq p { padding-right: 0; }
  .fm .final { padding: 48px 20px 200px; border-radius: var(--radius-md); }
  .fm .final__mascot { width: 170px; right: 50%; transform: translateX(50%); }
}

@media (max-width: 680px) {
  .fm .section { gap: 40px; }
  .fm .band { padding-block: 80px; }
  .fm .btn--lg { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .fm * { transition: none !important; } }
.featured-product__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.featured-product__bottom .btn.btn--dark:not(:hover) { background: var(--text-primary); }
.featured-product__actions .btn--dark { color: var(--text-inverse); }
.featured-product__actions .btn--dark .icon { filter: invert(1); }
.featured-product__actions .btn--dark:hover { background: var(--text-secondary); }

/* ---------- AJUSTES 26/11 tarde: logos sem distorção e vídeo 100% da largura ---------- */
.logo-tile > img { object-fit: contain; max-width: 80%; max-height: 80%; }
.logo-multi img { position: absolute; object-fit: contain; }
.home-video { width: 100%; aspect-ratio: auto; height: min(56.25vw, 100svh); max-height: none; }
.home-video video, .home-video img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1024px) { .home-video { height: 56.25vw; } }
.social-card__icon img[src$="portfolio-logo.svg"] { width: 44px; height: 22px; }
/* Palavra animada: linha um pouco mais alta que o título para não cortar acentos/descendentes,
   recorte só na vertical (letras não são cortadas nas laterais) */
.rotator__words { overflow: visible; clip-path: inset(0 -0.3em); margin-block: -0.1em; }
.rotator__track span { line-height: 1.15; }
.rotator { column-gap: .22em; }
