/* ==========================================================================
   Freeder Tech — Site institucional
   Design system próprio. Light default + dark mode (data-theme no <html>).
   ========================================================================== */

/* ---------- Tokens de marca (independentes de tema) ---------- */
:root {
  --ft-green: #26A65B;
  --ft-green-dark: #168C48;
  --ft-green-soft: #E8F7EE;

  --ft-graphite: #1F2328;
  --ft-slate: #6B7278;
  --ft-gray: #E5E7EA;
  --ft-soft: #F4F6F8;
  --ft-white: #FFFFFF;

  --ft-radius: 18px;
  --ft-radius-sm: 12px;
  --ft-radius-pill: 999px;

  --ft-max: 1180px;
  --ft-header-h: 76px;

  --ft-font-sans: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --ft-font-display: "Sora", "Inter", "Segoe UI", system-ui, sans-serif;

  --ft-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Tema claro (padrão) ---------- */
:root,
[data-theme="light"] {
  color-scheme: light;
  --ft-bg: #FFFFFF;
  --ft-surface: #FFFFFF;
  --ft-surface-2: #F4F6F8;
  --ft-text: #1F2328;
  --ft-heading: #11161B;
  --ft-muted: #6B7278;
  --ft-border: rgba(31, 35, 40, 0.12);
  --ft-border-strong: rgba(31, 35, 40, 0.18);
  --ft-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
  --ft-shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.06);
  --ft-glow: rgba(38, 166, 91, 0.16);
  --ft-chip-bg: #FFFFFF;
  --ft-header-bg: rgba(255, 255, 255, 0.78);
  --ft-grid-line: rgba(31, 35, 40, 0.045);
  --ft-on-green: #FFFFFF;
}

/* ---------- Tema escuro ---------- */
[data-theme="dark"] {
  color-scheme: dark;
  --ft-bg: #0B1117;
  --ft-surface: #121A23;
  --ft-surface-2: #17212B;
  --ft-text: #E7EDF3;
  --ft-heading: #F8FAFC;
  --ft-muted: #94A3B8;
  --ft-border: rgba(148, 163, 184, 0.18);
  --ft-border-strong: rgba(148, 163, 184, 0.30);
  --ft-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  --ft-shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.35);
  --ft-glow: rgba(38, 166, 91, 0.28);
  --ft-green-soft: rgba(38, 166, 91, 0.14);
  --ft-chip-bg: #17212B;
  --ft-header-bg: rgba(11, 17, 23, 0.72);
  --ft-grid-line: rgba(148, 163, 184, 0.06);
  --ft-on-green: #08130C;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--ft-font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ft-text);
  background: var(--ft-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color .3s var(--ft-ease), color .3s var(--ft-ease);
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--ft-font-display);
  color: var(--ft-heading);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  font-weight: 700;
}

p { margin: 0 0 1rem; }

::selection { background: var(--ft-green); color: #fff; }

:focus-visible {
  outline: 3px solid var(--ft-green);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------- Layout ---------- */
.ft-container {
  width: 100%;
  max-width: var(--ft-max);
  margin-inline: auto;
  padding-inline: 24px;
}

.ft-section { padding: 96px 0; position: relative; }
.ft-section--tight { padding: 72px 0; }
.ft-section--alt { background: var(--ft-surface-2); }

/* sutil textura de grade nas seções alternadas */
.ft-section--grid::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--ft-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--ft-grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
  pointer-events: none;
}

.ft-section > .ft-container { position: relative; z-index: 1; }

/* ---------- Cabeçalho de seção (eyebrow + título + intro) ---------- */
.ft-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .76rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ft-green-dark);
  background: var(--ft-green-soft);
  padding: 7px 14px;
  border-radius: var(--ft-radius-pill);
  margin-bottom: 18px;
}
[data-theme="dark"] .ft-eyebrow { color: #6fe0a0; }

.ft-eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--ft-green); box-shadow: 0 0 0 4px var(--ft-glow);
}

.ft-section-head { max-width: 720px; margin-bottom: 56px; }
.ft-section-head--center { margin-inline: auto; text-align: center; }

.ft-h2 { font-size: clamp(1.9rem, 1rem + 2.6vw, 2.9rem); }
.ft-h3 { font-size: clamp(1.4rem, 1rem + 1.4vw, 1.85rem); }

.ft-lead {
  font-size: 1.12rem;
  color: var(--ft-muted);
  margin: 0;
}

/* ---------- Botões ---------- */
.ft-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--ft-font-sans);
  font-weight: 600; font-size: .98rem; line-height: 1;
  padding: 15px 26px;
  border-radius: var(--ft-radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ft-ease), box-shadow .25s var(--ft-ease), background-color .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.ft-btn svg { width: 19px; height: 19px; }
.ft-btn:hover { transform: translateY(-2px); }

.ft-btn--primary {
  background: var(--ft-green);
  color: var(--ft-on-green);
  box-shadow: 0 10px 26px var(--ft-glow);
}
.ft-btn--primary:hover { background: var(--ft-green-dark); box-shadow: 0 16px 34px var(--ft-glow); }

.ft-btn--whatsapp { background: #25D366; color: #06310f; box-shadow: 0 10px 26px rgba(37, 211, 102, .28); }
.ft-btn--whatsapp:hover { background: #1ebe5a; }

.ft-btn--ghost {
  background: transparent;
  color: var(--ft-heading);
  border-color: var(--ft-border-strong);
}
.ft-btn--ghost:hover { border-color: var(--ft-green); color: var(--ft-green-dark); }
[data-theme="dark"] .ft-btn--ghost:hover { color: #6fe0a0; }

.ft-btn--sm { padding: 11px 18px; font-size: .9rem; }

/* link com seta */
.ft-arrow-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; color: var(--ft-green-dark);
  transition: gap .25s var(--ft-ease);
}
[data-theme="dark"] .ft-arrow-link { color: #6fe0a0; }
.ft-arrow-link:hover { gap: 12px; }

/* ==========================================================================
   Header / Navegação
   ========================================================================== */
.ft-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--ft-header-bg);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s;
}
.ft-header.is-scrolled { border-bottom-color: var(--ft-border); }

.ft-nav {
  height: var(--ft-header-h);
  display: flex; align-items: center; gap: 28px;
}

.ft-logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ft-font-display);
  font-weight: 700; font-size: 1.32rem; letter-spacing: -0.03em;
  color: var(--ft-heading);
}
.ft-logo__mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--ft-green), var(--ft-green-dark));
  display: grid; place-items: center; color: #fff; flex: none;
  box-shadow: 0 6px 16px var(--ft-glow);
  overflow: hidden;
}
.ft-logo__mark svg { width: 19px; height: 19px; }
/* brasão "F" exibido em branco sobre o selo verde */
.ft-logo__mark-img { width: 68px; height: 68px; object-fit: contain; filter: brightness(0) invert(1); }
.ft-logo b { color: var(--ft-green); font-weight: 700; }
.ft-logo img { height: 34px; width: auto; }

.ft-nav__links {
  display: flex; align-items: center; gap: 4px;
  list-style: none; margin: 0; padding: 0;
  margin-left: auto;
}
.ft-nav__links a {
  display: inline-block;
  padding: 9px 14px;
  font-size: .94rem; font-weight: 500;
  color: var(--ft-muted);
  border-radius: 10px;
  transition: color .2s, background-color .2s;
}
.ft-nav__links a:hover { color: var(--ft-heading); background: var(--ft-surface-2); }
.ft-nav__links a.is-active { color: var(--ft-green-dark); }
[data-theme="dark"] .ft-nav__links a.is-active { color: #6fe0a0; }

.ft-nav__actions { display: flex; align-items: center; gap: 10px; }

.ft-theme-toggle {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--ft-border);
  background: var(--ft-surface);
  color: var(--ft-heading);
  cursor: pointer;
  transition: border-color .2s, transform .25s var(--ft-ease), color .2s;
}
.ft-theme-toggle:hover { border-color: var(--ft-green); transform: rotate(-15deg); }
.ft-theme-toggle svg { width: 19px; height: 19px; }
.ft-theme-toggle .ft-ico-moon { display: none; }
[data-theme="dark"] .ft-theme-toggle .ft-ico-sun { display: none; }
[data-theme="dark"] .ft-theme-toggle .ft-ico-moon { display: block; }

.ft-burger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--ft-border); border-radius: 12px;
  background: var(--ft-surface); color: var(--ft-heading);
  cursor: pointer; padding: 0;
}
.ft-burger svg { width: 22px; height: 22px; margin: auto; }

.ft-nav__cta-text { }

/* drawer mobile */
.ft-drawer {
  position: fixed; inset: 0; z-index: 200;
  visibility: hidden; opacity: 0;
  transition: opacity .3s, visibility .3s;
}
.ft-drawer.is-open { visibility: visible; opacity: 1; }
.ft-drawer__backdrop { position: absolute; inset: 0; background: rgba(11, 17, 23, .5); backdrop-filter: blur(3px); }
.ft-drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(86vw, 340px);
  background: var(--ft-bg);
  border-left: 1px solid var(--ft-border);
  padding: 22px;
  display: flex; flex-direction: column; gap: 6px;
  transform: translateX(100%);
  transition: transform .35s var(--ft-ease);
  overflow-y: auto;
}
.ft-drawer.is-open .ft-drawer__panel { transform: translateX(0); }
.ft-drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.ft-drawer__close {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--ft-border); background: var(--ft-surface);
  color: var(--ft-heading); cursor: pointer; display: grid; place-items: center;
}
.ft-drawer__close svg { width: 20px; height: 20px; }
.ft-drawer a.ft-drawer__link {
  padding: 13px 14px; border-radius: 12px;
  font-weight: 600; color: var(--ft-text);
  transition: background-color .2s, color .2s;
}
.ft-drawer a.ft-drawer__link:hover,
.ft-drawer a.ft-drawer__link.is-active { background: var(--ft-surface-2); color: var(--ft-green-dark); }
.ft-drawer .ft-btn { margin-top: 14px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.ft-hero { position: relative; padding: clamp(56px, 7vw, 104px) 0 clamp(64px, 8vw, 108px); overflow: hidden; }
.ft-hero::before {
  content: ""; position: absolute; z-index: 0;
  width: 760px; height: 760px; top: -340px; left: 50%; translate: -50% 0;
  background: radial-gradient(circle, var(--ft-glow), transparent 62%);
  pointer-events: none;
}
.ft-hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 52px; align-items: center;
}

.ft-hero__title {
  font-size: clamp(2.2rem, 1.1rem + 3.6vw, 3.7rem);
  margin-bottom: 20px;
}
.ft-hero__title .ft-mark { color: var(--ft-green); }
.ft-hero__sub { font-size: 1.18rem; color: var(--ft-muted); max-width: 540px; margin-bottom: 32px; }
.ft-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.ft-hero__trust {
  margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px 22px;
  font-size: .9rem; color: var(--ft-muted);
}
.ft-hero__trust span { display: inline-flex; align-items: center; gap: 7px; }
.ft-hero__trust svg { width: 16px; height: 16px; color: var(--ft-green); }

/* Diagrama de conexão (CSS puro, sem imagens) */
.ft-diagram {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid; place-items: center;
}
.ft-diagram__ring {
  position: absolute; border-radius: 50%;
  border: 1px dashed var(--ft-border-strong);
}
.ft-diagram__ring--1 { inset: 8%; }
.ft-diagram__ring--2 { inset: 24%; animation: ft-spin 60s linear infinite; }
.ft-diagram__ring--3 { inset: 40%; }
@keyframes ft-spin { to { transform: rotate(360deg); } }

.ft-diagram__core {
  position: relative; z-index: 3;
  width: 128px; height: 128px; border-radius: 26px;
  background: linear-gradient(150deg, var(--ft-green), var(--ft-green-dark));
  color: #fff; display: grid; place-content: center; text-align: center;
  box-shadow: 0 24px 50px var(--ft-glow);
}
.ft-diagram__core span { font-family: var(--ft-font-display); font-weight: 700; font-size: 1.18rem; letter-spacing: -.02em; }
.ft-diagram__core small { display: block; font-size: .68rem; opacity: .85; letter-spacing: .12em; text-transform: uppercase; margin-top: 2px; }

.ft-chip {
  position: absolute; z-index: 4;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px; border-radius: var(--ft-radius-pill);
  background: var(--ft-chip-bg);
  border: 1px solid var(--ft-border);
  box-shadow: var(--ft-shadow-sm);
  font-size: .86rem; font-weight: 600; color: var(--ft-heading);
  white-space: nowrap;
  animation: ft-float 6s ease-in-out infinite;
}
.ft-chip svg { width: 16px; height: 16px; color: var(--ft-green); }
.ft-chip.c1 { top: 4%;  left: 24%; animation-delay: 0s; }
.ft-chip.c2 { top: 16%; right: 2%; animation-delay: .6s; }
.ft-chip.c3 { top: 46%; right: -4%; animation-delay: 1.2s; }
.ft-chip.c4 { bottom: 14%; right: 6%; animation-delay: 1.8s; }
.ft-chip.c5 { bottom: 0%; left: 30%; animation-delay: 2.4s; }
.ft-chip.c6 { bottom: 18%; left: -4%; animation-delay: 3s; }
.ft-chip.c7 { top: 42%; left: -6%; animation-delay: 3.6s; }
.ft-chip.c8 { top: 10%; left: -2%; animation-delay: 4.2s; }
@keyframes ft-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ==========================================================================
   Grids e cards
   ========================================================================== */
.ft-grid { display: grid; gap: 22px; }
.ft-grid--2 { grid-template-columns: repeat(2, 1fr); }
.ft-grid--3 { grid-template-columns: repeat(3, 1fr); }

.ft-card {
  background: var(--ft-surface);
  border: 1px solid var(--ft-border);
  border-radius: var(--ft-radius);
  padding: 30px;
  box-shadow: var(--ft-shadow-sm);
  transition: transform .35s var(--ft-ease), box-shadow .35s var(--ft-ease), border-color .35s;
  position: relative;
  overflow: hidden;
}
.ft-card:hover { transform: translateY(-6px); box-shadow: var(--ft-shadow); border-color: var(--ft-border-strong); }
.ft-card::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--ft-green), var(--ft-green-dark));
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ft-ease);
}
.ft-card:hover::after { transform: scaleX(1); }

.ft-card__icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 20px;
  background: var(--ft-green-soft); color: var(--ft-green-dark);
}
[data-theme="dark"] .ft-card__icon { color: #6fe0a0; }
.ft-card__icon svg { width: 25px; height: 25px; }
.ft-card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.ft-card p { color: var(--ft-muted); margin-bottom: 0; font-size: .98rem; }
.ft-card .ft-arrow-link { margin-top: 18px; }

/* feature/diferencial — card mais leve */
.ft-feature {
  display: flex; gap: 16px;
  background: var(--ft-surface);
  border: 1px solid var(--ft-border);
  border-radius: var(--ft-radius-sm);
  padding: 22px;
  transition: border-color .3s, transform .3s var(--ft-ease);
}
.ft-feature:hover { border-color: var(--ft-green); transform: translateY(-3px); }
.ft-feature__icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--ft-green-soft); color: var(--ft-green-dark); }
[data-theme="dark"] .ft-feature__icon { color: #6fe0a0; }
.ft-feature__icon svg { width: 22px; height: 22px; }
.ft-feature h3 { font-size: 1.06rem; margin-bottom: 5px; }
.ft-feature p { color: var(--ft-muted); margin: 0; font-size: .94rem; }

/* lista com check */
.ft-checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ft-checklist li { display: flex; gap: 12px; align-items: flex-start; }
.ft-checklist svg { flex: none; width: 22px; height: 22px; color: var(--ft-green); margin-top: 1px; }
.ft-checklist b { color: var(--ft-heading); font-family: var(--ft-font-display); }

/* ==========================================================================
   Card de produto (soluções próprias)
   ========================================================================== */
.ft-product {
  background: var(--ft-surface);
  border: 1px solid var(--ft-border);
  border-radius: var(--ft-radius);
  padding: 30px;
  display: flex; flex-direction: column;
  box-shadow: var(--ft-shadow-sm);
  transition: transform .35s var(--ft-ease), box-shadow .35s var(--ft-ease);
}
.ft-product:hover { transform: translateY(-6px); box-shadow: var(--ft-shadow); }
.ft-product__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.ft-product__icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(150deg, var(--ft-green), var(--ft-green-dark)); color: #fff; }
.ft-product__icon svg { width: 26px; height: 26px; }
.ft-product h3 { font-size: 1.24rem; margin-bottom: 12px; }
.ft-product p { color: var(--ft-muted); font-size: .96rem; }
.ft-product__meta { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--ft-border); display: grid; gap: 12px; }
.ft-product__row { font-size: .9rem; }
.ft-product__row span { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ft-muted); margin-bottom: 2px; }

.ft-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .74rem; font-weight: 600; letter-spacing: .04em;
  padding: 6px 11px; border-radius: var(--ft-radius-pill);
  background: var(--ft-green-soft); color: var(--ft-green-dark);
}
[data-theme="dark"] .ft-badge { color: #6fe0a0; }
.ft-badge svg { width: 13px; height: 13px; }

/* ==========================================================================
   Split (texto + lista) e CTA final
   ========================================================================== */
.ft-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

.ft-cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(140deg, var(--ft-green-dark), var(--ft-green));
  border-radius: 28px;
  padding: clamp(40px, 5vw, 68px);
  text-align: center;
  color: #fff;
}
.ft-cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.16) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 72%);
          mask-image: radial-gradient(ellipse at center, #000, transparent 72%);
}
.ft-cta-band > * { position: relative; z-index: 1; }
.ft-cta-band h2 { color: #fff; font-size: clamp(1.7rem, 1rem + 2.2vw, 2.6rem); margin-bottom: 14px; }
.ft-cta-band p { color: rgba(255,255,255,.9); font-size: 1.1rem; max-width: 620px; margin: 0 auto 28px; }
.ft-cta-band .ft-btn--whatsapp { background: #fff; color: var(--ft-green-dark); }
.ft-cta-band .ft-btn--whatsapp:hover { background: #f0fff6; }

/* página de contato — destaque */
.ft-contact-card {
  text-align: center;
  background: var(--ft-surface);
  border: 1px solid var(--ft-border);
  border-radius: var(--ft-radius);
  padding: clamp(32px, 5vw, 56px);
  box-shadow: var(--ft-shadow);
}
.ft-contact-card .ft-wa-icon {
  width: 76px; height: 76px; border-radius: 22px; margin: 0 auto 22px;
  display: grid; place-items: center; background: #25D366; color: #06310f;
}
.ft-contact-card .ft-wa-icon svg { width: 38px; height: 38px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.ft-footer { background: var(--ft-surface-2); border-top: 1px solid var(--ft-border); padding: 64px 0 28px; }
.ft-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.ft-footer__about p { color: var(--ft-muted); font-size: .95rem; margin: 14px 0 18px; max-width: 340px; }
.ft-footer__loc { font-size: .9rem; color: var(--ft-muted); display: flex; align-items: center; gap: 8px; }
.ft-footer__loc svg { width: 16px; height: 16px; color: var(--ft-green); }
.ft-footer h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ft-muted); margin-bottom: 16px; }
.ft-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ft-footer__links a { color: var(--ft-text); font-size: .95rem; transition: color .2s; }
.ft-footer__links a:hover { color: var(--ft-green-dark); }
[data-theme="dark"] .ft-footer__links a:hover { color: #6fe0a0; }
.ft-footer__social { display: flex; gap: 10px; margin-top: 6px; }
.ft-footer__social a { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; border: 1px solid var(--ft-border); background: var(--ft-surface); color: var(--ft-heading); transition: border-color .2s, color .2s, transform .25s var(--ft-ease); }
.ft-footer__social a:hover { border-color: var(--ft-green); color: var(--ft-green-dark); transform: translateY(-2px); }
.ft-footer__social svg { width: 19px; height: 19px; }
.ft-footer__bottom { border-top: 1px solid var(--ft-border); padding-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; font-size: .86rem; color: var(--ft-muted); }
.ft-footer__bottom em { font-style: normal; color: var(--ft-text); }

/* ---------- Botão flutuante WhatsApp ---------- */
.ft-wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #06310f;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, .4);
  transition: transform .3s var(--ft-ease);
}
.ft-wa-float:hover { transform: scale(1.08); }
.ft-wa-float svg { width: 30px; height: 30px; }
.ft-wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25D366; animation: ft-pulse 2.4s ease-out infinite;
}
@keyframes ft-pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; } }

/* ---------- Page hero (páginas internas) ---------- */
.ft-page-hero { padding: clamp(56px, 6vw, 92px) 0 clamp(40px, 5vw, 64px); position: relative; overflow: hidden; }
.ft-page-hero::before {
  content: ""; position: absolute; top: -260px; right: -120px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, var(--ft-glow), transparent 65%);
  pointer-events: none;
}
.ft-page-hero__inner { max-width: 760px; position: relative; z-index: 1; }
.ft-page-hero h1 { font-size: clamp(2rem, 1.1rem + 3vw, 3.2rem); margin-bottom: 18px; }
.ft-page-hero p { font-size: 1.16rem; color: var(--ft-muted); max-width: 620px; }

/* ---------- Animação de revelação ---------- */
.ft-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ft-ease), transform .7s var(--ft-ease); }
.ft-reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 1024px) {
  .ft-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .ft-hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .ft-diagram { max-width: 460px; margin-inline: auto; }
  .ft-split { gap: 36px; }
}

@media (max-width: 860px) {
  .ft-nav__links { display: none; }
  .ft-nav__cta-text { display: none; }
  .ft-burger { display: grid; place-items: center; }
  .ft-nav__actions .ft-btn--primary { display: none; }
  .ft-split { grid-template-columns: 1fr; }
  .ft-footer__grid { grid-template-columns: 1fr 1fr; }
  .ft-footer__about { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .ft-section { padding: 68px 0; }
  .ft-grid--2, .ft-grid--3 { grid-template-columns: 1fr; }
  .ft-footer__grid { grid-template-columns: 1fr; }
  .ft-hero__cta .ft-btn { flex: 1 1 100%; }
  /* no mobile o diagrama vira lista simples de chips */
  .ft-diagram { aspect-ratio: auto; min-height: auto; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; padding: 8px 0; }
  .ft-diagram__ring, .ft-diagram__core { position: static; }
  .ft-diagram__ring { display: none; }
  .ft-diagram__core { width: 100%; max-width: 220px; height: auto; padding: 18px; order: -1; margin-bottom: 4px; }
  .ft-chip { position: static; animation: none; }
}

/* ---------- Acessibilidade: respeitar redução de movimento ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .ft-reveal { opacity: 1; transform: none; }
}

/* esconde texto visualmente mantendo p/ leitores de tela */
.ft-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
