/* =========================================================
   Home no mesmo padrão de topo da Confecções e da Plataforma (CRM IA).
   Copiado de confeccoes-revisada.css (bloco do hero) e de confeccoes-crm-sync.css
   (tokens, cabeçalho, títulos, botões e cartões em volta do título), 10/11/2026.
   Carregado depois de home-revisada.css. Se mudar o topo de Confecções, replique aqui.
   ========================================================= */

/* Hero no formato do CRM IA, preservando a copy aprovada — 10/11/2026. */
.hero.hero-crm{padding:64px 0 52px;background:radial-gradient(ellipse at 50% 35%,#eaf4ff 0,rgba(240,247,255,.62) 38%,#fff 76%)}
.hero-crm .hero-stage{position:relative;max-width:1440px}
.hero-crm .hero-copy{position:relative;z-index:1;max-width:min(780px,calc(100% - 440px));margin:0 auto;text-align:center}
.hero-crm .hero-pill{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:9px 16px;border:1px solid #cfe2f5;border-radius:99px;background:#f0f7ff;letter-spacing:.075em;font-size:12px;line-height:1.5}
.hero-crm .hero-pill::before{content:"";width:6px;height:6px;flex:none;border-radius:50%;background:#1dabff;box-shadow:0 0 0 3px #1dabff12}
.hero-crm h1{max-width:none;margin:28px auto 20px;font-size:clamp(46px,4.6vw,68px);font-weight:800;line-height:1.08;letter-spacing:-.045em}
.hero-crm .hero-title-line{display:block}
.hero-crm h1 em{font-family:var(--serif);font-weight:400;color:var(--blue);font-size:1.12em;letter-spacing:-.025em;line-height:1}
.hero-crm .lead{max-width:650px;margin-inline:auto;font-size:17px;line-height:1.65}
.hero-crm .hero-method{margin:16px auto 0;border:0;padding:0;max-width:620px;font-size:13px;line-height:1.6}
.hero-crm .hero-cta{justify-content:center;gap:12px 16px;margin-top:26px;flex-wrap:wrap}
.hero-crm .hero-cta>.btn{min-height:56px;padding:16px 22px;border-radius:12px;font-size:14px;gap:12px}
.hero-crm .wa-live{min-height:56px;padding:12px 20px;background:#117a3f;border-radius:99px;color:#fff;font-size:14px;font-weight:700;text-decoration:none;gap:10px;box-shadow:0 8px 24px #169c4a25}
.hero-crm .wa-live:hover{background:#0c6030}
.hero-crm .wa-live .ico{width:28px;height:28px;border:1px solid #ffffff90;border-radius:50%}
.hero-crm .wa-live img{filter:none;opacity:1;width:19px;height:19px}
.hero-crm .action-note{margin:14px auto 0;font-size:12px}
.hero-services{list-style:none;margin:0;padding:0;position:absolute;inset:0 24px;pointer-events:none}
.hero-services li{position:absolute;display:flex;align-items:flex-start;gap:9px;width:max-content;max-width:194px;padding:12px 14px;color:var(--text);background:#fff;border:1px solid #cfe2f5;border-radius:15px;box-shadow:0 12px 26px -14px #17345466;font-size:14px;font-weight:600;line-height:1.4;text-align:left;text-wrap:balance}
.hero-services li::before{content:"";flex:none;width:6px;height:6px;margin-top:7px;border-radius:50%;background:#1dabff}
.hero-services li:nth-child(1){left:20px;top:8px}
.hero-services li:nth-child(2){left:0;top:128px}
.hero-services li:nth-child(3){left:12px;top:250px}
.hero-services li:nth-child(4){left:16px;top:374px}
.hero-services li:nth-child(5){right:18px;top:18px}
.hero-services li:nth-child(6){right:0;top:144px}
.hero-services li:nth-child(7){right:16px;top:266px}
.hero-services li:nth-child(8){right:0;top:386px}
@media(max-width:1100px){
 .hero.hero-crm{padding:48px 0 34px}
 .hero-crm .hero-copy{max-width:780px}
 .hero-crm h1{font-size:clamp(44px,6vw,62px)}
 .hero-services{position:relative;inset:auto;display:grid;grid-auto-flow:column;grid-template-rows:auto auto;grid-auto-columns:200px;gap:10px;max-width:900px;margin:30px auto 0;padding:4px 4px 16px;overflow-x:auto;pointer-events:auto;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#b9c8d7 transparent}
 .hero-services li{position:static!important;max-width:none;width:auto;min-height:65px;scroll-snap-align:start;font-size:14px;box-shadow:0 7px 12px -10px #17345466}
}
@media(max-width:760px){
 .hero.hero-crm{padding:30px 0 22px}
 .hero-crm .hero-pill{font-size:12px;letter-spacing:.04em;padding:8px 12px;gap:8px}
 .hero-crm h1{font-size:clamp(35px,6vw,46px);margin:22px auto 18px;line-height:1.1;letter-spacing:-.04em}
 .hero-crm .lead{font-size:15px;line-height:1.6;max-width:560px}
 .hero-crm .hero-method{font-size:13px;margin-top:12px;max-width:380px}
 .hero-crm .hero-cta{margin-top:22px;gap:10px;flex-direction:column;align-items:center}
 .hero-crm .hero-cta>.btn,.hero-crm .wa-live{width:min(100%,380px);font-size:14px}
 .hero-crm .hero-cta>.btn{min-height:54px}
 .hero-crm .wa-live{min-height:48px}
 .hero-crm .action-note{max-width:320px;line-height:1.5}
 .hero-services{margin-top:24px;grid-auto-columns:180px;gap:8px;padding-bottom:12px}
 .hero-services li{font-size:13px;min-height:63px;padding:11px 12px}
}

/* =========================================================
   Confecções no mesmo padrão visual da página CRM IA (/plataforma/)
   Carregado depois de confeccoes-revisada.css. Só ajusta tokens,
   tipografia, espaçamentos, cabeçalho, botões e cartões; não muda o conteúdo.
   Valores medidos na CRM IA em 1440 px (10/11/2026).
   ========================================================= */

/* ---------- tokens ---------- */
:root {
  --text: #192637;          /* --ink da CRM IA */
  --muted: #647183;
  --dim: #647183;
  --blue: #1478cd;          /* --brand */
  --blue-2: #1478cd;
  --blue-dark: #105b9e;     /* --brand-dark */
  --bg-2: #f6f9fd;          /* --soft */
  --card-2: #f6f9fd;
  --line: #e0e7ef;
  --line-2: #d0dbe7;
  --radius: 18px;
  --max: 1280px;            /* 1200 px de conteúdo + 40 px de cada lado, como o .sa-wrap */
  --gutter: 40px;
  --fs-display: clamp(40px, 5.4vw, 68px);
  --fs-h2: clamp(29px, 3.3vw, 44px);
  --fs-lead: clamp(17px, 1.45vw, 19px);
}
@media (max-width: 1050px) { :root { --gutter: 24px; } }
@media (max-width: 760px)  { :root { --gutter: 18px; } }

body.home-revisada { color: var(--text); }

/* ---------- cabeçalho igual ao da CRM IA ---------- */
header.top {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(12, 22, 44, .09);
}
header.top .wrap { max-width: 1220px; padding-inline: 20px; min-height: 68px; padding-block: 0; }
header.top img { height: 34px; width: auto; max-height: none; }
@media (min-width: 1051px) {
  header.top .header-menu { flex: 1; justify-content: flex-end; }
  header.top .main-nav { margin-inline: auto; gap: 28px; }
}
header.top .main-nav a {
  font-size: 14px; font-weight: 500; color: #566074; text-decoration: none;
}
header.top .main-nav a:hover { color: var(--text); }
header.top .main-nav a[aria-current="page"] { color: var(--text); font-weight: 700; }
header.top .main-nav a[aria-current="page"]::after {
  content: ""; display: block; height: 2px; margin-top: 4px; border-radius: 2px; background: var(--blue);
}
header.top .btn-sm {
  min-height: 44px; padding: 11px 16px; border-radius: 11px;
  font-size: 14px; font-weight: 700; background: var(--blue); max-width: none;
}
header.top .btn-sm:hover { background: var(--blue-dark); }

/* ---------- títulos e textos ---------- */
h1, h2, h3 { color: var(--text); }
h2 {
  font-size: var(--fs-h2); font-weight: 700; line-height: 1.12; letter-spacing: -.03em;
}
h2 .serif, h2 .mark, h2 em {
  font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--blue);
  font-size: 1.16em; line-height: 1; letter-spacing: -.02em; display: block; margin-top: .06em;
  background: none; padding: 0;
}
.handoff-section h2 .serif, .handoff-section h2 .mark { color: #79c5ff; }
.lead, .sec-head p { font-size: var(--fs-lead); line-height: 1.6; color: var(--muted); }
.sec-head { max-width: 760px; margin-bottom: 44px; }
.sec-head p { margin-top: 18px; }
.kicker, .eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue);
}
.kicker { display: block; margin-bottom: 18px; }

/* ---------- topo ---------- */
.hero.hero-crm {
  padding: 72px 0 28px;
  background: radial-gradient(ellipse at 50% 36%, rgba(225, 241, 255, .56), transparent 65%), linear-gradient(#fbfdff, #fff);
}
.hero-crm .hero-pill {
  font-size: 12px; letter-spacing: .1em; color: var(--blue);
  background: #f0f7ff; border: 1px solid #d0e4f8; padding: 8px 16px; border-radius: 99px;
}
.hero-crm h1 {
  font-size: var(--fs-display); font-weight: 800; line-height: 1.04; letter-spacing: -.035em; color: var(--text);
}
.hero-crm h1 em {
  font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--blue);
  font-size: 1.16em; line-height: 1; letter-spacing: -.02em;
}
.hero-crm .lead { font-size: var(--fs-lead); line-height: 1.6; color: #4d5b6e; max-width: 740px; }
.hero-crm .hero-method, .hero-crm .action-note { color: var(--muted); }

/* ---------- botões ---------- */
.btn {
  min-height: 56px; padding: 14px 24px; gap: 14px; border-radius: 14px;
  font-size: 16px; font-weight: 700;
  background: linear-gradient(115deg, #1478cd, #116bb9);
  box-shadow: 0 4px 8px rgba(20, 120, 205, .05);
}
.btn:hover { background: #105b9e; box-shadow: 0 8px 18px rgba(20, 120, 205, .13); }
.btn .arr { font-size: 18px; }
.hero-crm .hero-cta > .btn { min-height: 56px; padding: 14px 24px; border-radius: 14px; font-size: 16px; }
.btn-ghost { background: transparent; color: var(--blue); }
.btn-ghost:hover { background: #edf6ff; }
.final .btn, .handoff-section .btn { box-shadow: none; }

/* WhatsApp no mesmo formato da CRM IA: botão verde em pílula */
.hero-crm .wa-live, .final .wa-live {
  min-height: 56px; padding: 10px 24px 10px 12px; border-radius: 999px;
  background: #1faa59; color: #fff; font-size: 15px; font-weight: 700; text-decoration: none;
}
.hero-crm .wa-live:hover, .final .wa-live:hover { background: #17924b; color: #fff; }

/* ---------- seções ---------- */
.sec { padding-block: 108px; }
.method-section, .faq-section { background: var(--bg-2); border-block: 1px solid var(--line); }
.handoff-section { background: #102b4b; }
.final { padding-block: 96px; background: var(--bg-2); }
.client-logos { padding: 56px 0 40px; }
@media (max-width: 1050px) { .sec { padding-block: 80px; } }
@media (max-width: 760px)  {
  .sec { padding-block: 64px; }
  .final { padding-block: 64px; }
  .hero.hero-crm { padding-top: 44px; }
  .sec-head { margin-bottom: 30px; }
}

/* ---------- cartões ---------- */
.acquisition-card, .case, .retention-item, .handoff-example {
  border: 1px solid var(--line); border-radius: 18px; background: #fff;
  box-shadow: 0 1px 2px rgba(12, 22, 44, .04), 0 8px 24px rgba(12, 22, 44, .06);
}
.hero-services li {
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
  box-shadow: 0 1px 2px rgba(12, 22, 44, .04), 0 8px 24px rgba(12, 22, 44, .06);
}

/* ---------- correções depois da primeira verificação ---------- */
.hero-crm h1 { max-width: none; }
.handoff-section h2, .handoff-section h3 { color: #fff; }
.handoff-section .handoff-example h2, .handoff-section .handoff-example h3 { color: var(--text); }
.retention-item { padding: 28px 26px; }

/* ---------- cartões em volta do título: mesmas posições da CRM IA (.sa-float) ---------- */
.hero-crm .hero-stage { max-width: var(--max); }               /* 1200 px de conteúdo, como o .sa-wrap */
.hero-services { inset: 0 var(--gutter); }
.hero-services li {
  display: block; max-width: 214px; padding: 9px 14px; border-radius: 14px;
  border: 1px solid #cfe2f5; box-shadow: 0 10px 24px -14px rgba(23, 52, 84, .4);
  font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--text); text-align: left; text-wrap: balance;
}
.hero-services li::before {
  content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 8px 0 0; border-radius: 50%;
  background: #1dabff; vertical-align: 2px;
}
@keyframes ml-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@media (min-width: 1181px) {
  .hero-crm .hero-copy { max-width: 920px; }
  .hero-crm .lead { max-width: 600px; }   /* não encostar nos cartões, como a linha de logos da CRM IA */
  .hero-services li { animation: ml-float 6s ease-in-out infinite; }
  .hero-services li:nth-child(1) { left: 28px;  right: auto; top: 18px; }
  .hero-services li:nth-child(2) { left: 0;     right: auto; top: 112px; animation-delay: -1.5s; }
  .hero-services li:nth-child(3) { left: 14px;  right: auto; top: 226px; animation-delay: -3s; }
  .hero-services li:nth-child(4) { left: 52px;  right: auto; top: 332px; animation-delay: -4.5s; }
  .hero-services li:nth-child(5) { right: 30px; left: auto;  top: 24px;  animation-delay: -2s; }
  .hero-services li:nth-child(6) { right: 0;    left: auto;  top: 122px; animation-delay: -3.5s; }
  .hero-services li:nth-child(7) { right: 44px; left: auto;  top: 214px; animation-delay: -.8s; }
  .hero-services li:nth-child(8) { right: 8px;  left: auto;  top: 312px; animation-delay: -5s; }
}
@media (prefers-reduced-motion: reduce) { .hero-services li { animation: none; } }

/* ---------- prova social no topo: logos em pílulas + "+ de 3.700 empresas", igual à CRM IA (.sa-social) ---------- */
.hero-social {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px 16px;
  margin-top: 26px; font-size: var(--fs-lead); font-weight: 500; color: var(--text); line-height: 1.3;
}
.hero-social b { font-weight: 800; }
.hero-brands { display: inline-flex; align-items: center; }
.hero-brands i {
  display: grid; place-items: center; height: 46px; padding: 0 15px; margin-left: -8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  box-shadow: 0 6px 16px -10px rgba(23, 52, 84, .4);
}
.hero-brands i:first-child { margin-left: 0; }
.hero-brands img { height: 20px; width: auto; max-width: 84px; object-fit: contain; filter: brightness(0); opacity: .72; }
.hero-crm .hero-social + .hero-cta { margin-top: 26px; }
@media (max-width: 760px) {
  .hero-social { flex-direction: column; gap: 10px; text-align: center; margin-top: 18px; }
  .hero-brands i { height: 42px; padding: 0 10px; margin-left: -6px; }
  .hero-brands img { height: 17px; max-width: 62px; }
}
/* sem o subtítulo, logos e frase ficam empilhados como na CRM IA */
.hero-social { flex-direction: column; gap: 12px; text-align: center; }
.hero-crm h1 + .hero-social { margin-top: 22px; }

