/*
Theme Name: Konfex Uniformes
Theme URI: https://konfexuniformes.com.br
Author: Visi Assessoria
Author URI: https://visimarketing.com.br/
Description: Landing page premium da Konfex Uniformes — uniformes personalizados para empresas e times.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: konfex-uniformes
*/

/* =========================================================
   Konfex Uniformes — refined evolution
   Display: Bebas Neue (marca) · Corpo/UI: Sora
   ========================================================= */

:root {
  --ink: #131313;
  --ink-2: #1b1b1d;
  --ink-3: #202225;
  --surface: #24262b;
  --surface-2: #2b2e34;
  --line: rgba(255,255,255,.09);
  --orange: #ff7e05;
  --orange-2: #ff9d3d;
  --orange-deep: #e86f00;
  --green: #25d366;
  --cream: #f5f2ec;
  --cream-2: #ece6da;
  --on-cream: #191512;
  --on-cream-muted: #5b544a;
  --white: #ffffff;
  --muted: rgba(255,255,255,.66);
  --muted-2: rgba(255,255,255,.46);
  --grad: linear-gradient(135deg, #ff7e05 0%, #ff9d3d 100%);
  --container: 1200px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 10px rgba(0,0,0,.18);
  --shadow: 0 18px 45px -18px rgba(0,0,0,.55);
  --shadow-cta: 0 16px 34px -16px rgba(0,0,0,.6);
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--ink);
  color: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
::selection { background: var(--orange); color: #111; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; width: 100%; }
.center { text-align: center; }

/* ---------- Tipografia utilitária ---------- */
.section-title {
  font-family: 'Bebas Neue', sans-serif; font-weight: 400;
  font-size: clamp(44px, 6vw, 88px); line-height: .95; letter-spacing: .01em;
}
.section-title.dark { color: var(--on-cream); }
.section-title.white { color: var(--white); }
.section-head { max-width: 820px; }
.section-head.center { margin: 0 auto; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: 'Sora', sans-serif; font-weight: 600; font-size: 15px; line-height: 1;
  padding: 15px 26px; border-radius: 12px; border: 0; cursor: pointer;
  background: var(--orange); color: #1a1006; min-height: 48px;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease);
}
.btn i { font-size: 1.05em; }
.btn-primary { background: var(--grad); color: #1a1006; box-shadow: var(--shadow-cta); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 44px -16px rgba(0,0,0,.7); }
.btn-dark { background: #141414; color: #fff; box-shadow: 0 14px 34px -14px rgba(0,0,0,.7); }
.btn-dark:hover { background: #000; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.28); }
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); }
.btn-lg { padding: 17px 30px; font-size: 16px; min-height: 54px; }
.btn:focus-visible { outline: 3px solid var(--orange-2); outline-offset: 3px; }
a:focus-visible { outline: 3px solid var(--orange-2); outline-offset: 3px; border-radius: 6px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 84px 0 96px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(120% 90% at 80% 8%, rgba(255,126,5,.16), transparent 55%),
    radial-gradient(90% 80% at 0% 100%, rgba(255,126,5,.08), transparent 55%),
    linear-gradient(180deg, #181818 0%, #131313 60%, #101010 100%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 48px; }
.hero-logo { height: 76px; width: auto; margin-bottom: 26px; }
.hero-title { font-family: 'Bebas Neue', sans-serif; font-weight: 400; line-height: .84; margin-bottom: 22px; }
.hero-title .line-orange { display: block; font-size: clamp(74px, 11vw, 150px); color: var(--orange); letter-spacing: .01em; }
.hero-title .line-white { display: block; font-size: clamp(46px, 7vw, 92px); color: #fff; letter-spacing: .01em; }
.hero-sub { font-size: clamp(16px, 1.4vw, 19px); color: var(--muted); max-width: 32em; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-media { position: relative; }
.hero-glow {
  position: absolute; inset: -6% -6% -12% -6%; z-index: 0;
  background: radial-gradient(closest-side, rgba(255,126,5,.24), rgba(255,126,5,.05) 60%, transparent 72%);
  filter: blur(8px);
}
.hero-media img { position: relative; z-index: 1; margin: 0 auto; max-height: 540px; width: auto; filter: drop-shadow(0 40px 45px rgba(0,0,0,.5)); }

/* ---------- Faixa de clientes ---------- */
.trusted { background: #ffffff; border-top: 1px solid var(--cream-2); border-bottom: 1px solid var(--cream-2); padding: 34px 0; }
.trusted-inner { display: flex; align-items: center; gap: 44px; flex-wrap: wrap; justify-content: center; }
.trusted-label { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #8a8377; white-space: nowrap; }
.trusted-logos { height: 54px; width: auto; }

/* ---------- Por quê escolher ---------- */
.why { background: var(--cream); color: var(--on-cream); padding: 108px 0; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.why-head .section-title { margin-bottom: 20px; }
.why-lead { font-size: 17px; color: var(--on-cream-muted); max-width: 34em; }
.benefits { list-style: none; display: grid; gap: 14px; }
.benefits li {
  display: flex; align-items: center; gap: 16px;
  background: #fff; border: 1px solid var(--cream-2); border-radius: var(--radius-sm);
  padding: 18px 22px; font-size: 18px; font-weight: 500; color: var(--on-cream);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.benefits li:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.check {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 9px;
  display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 15px;
}

/* ---------- Produtos ---------- */
.products { background: var(--ink); padding: 112px 0; }
.products .section-head { margin-bottom: 64px; }
.product { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; padding: 44px 0; }
.product + .product { border-top: 1px solid var(--line); }
.product-reverse .product-media { order: 2; }
.product-media { position: relative; display: grid; place-items: center; padding: 30px; }
.pedestal {
  position: absolute; inset: 8% 12%;
  background: radial-gradient(closest-side, rgba(255,126,5,.18), rgba(255,126,5,.04) 62%, transparent 74%);
  filter: blur(6px);
}
.product-media img { position: relative; z-index: 1; max-height: 340px; width: auto; filter: drop-shadow(0 26px 30px rgba(0,0,0,.5)); transition: transform .4s var(--ease); }
.product:hover .product-media img { transform: translateY(-6px) scale(1.02); }
.product-title { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: clamp(46px,5.4vw,80px); line-height: .96; color: var(--orange); margin-bottom: 14px; }
.product-text { font-size: 17px; color: var(--muted); max-width: 34em; margin-bottom: 26px; }

/* ---------- Processo / fluxo ---------- */
.process { position: relative; background: var(--grad); color: #fff; padding: 104px 0; }
.process-pattern { position: absolute; inset: 0; background: radial-gradient(72% 60% at 50% -8%, rgba(255,255,255,.22), transparent 60%); pointer-events: none; }
.process .container { position: relative; }
.process-head { text-align: center; max-width: 800px; margin: 0 auto 60px; }
.process-title { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: clamp(44px,6vw,84px); line-height: .96; color: #fff; }
.process-lead { font-size: 18px; color: rgba(255,255,255,.92); margin-top: 14px; }
.flow { display: flex; align-items: flex-start; justify-content: center; gap: 6px; margin-bottom: 54px; }
.flow-step { flex: 1 1 0; max-width: 232px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.flow-badge {
  position: relative; width: 106px; height: 106px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(0,0,0,.18);
  border: 2px solid rgba(255,255,255,.55); color: #fff; font-size: 38px; margin-bottom: 22px;
  transition: transform .25s var(--ease), background-color .25s var(--ease);
}
.flow-step:hover .flow-badge { transform: translateY(-6px); background: rgba(0,0,0,.30); }
.flow-num {
  position: absolute; top: -8px; right: -6px; width: 36px; height: 36px; border-radius: 50%;
  background: #141414; color: #fff; font-family: 'Bebas Neue', sans-serif; font-size: 21px;
  display: grid; place-items: center; border: 2px solid #fff;
}
.flow-step h3 { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: 31px; letter-spacing: .02em; margin-bottom: 6px; }
.flow-step p { font-size: 15px; color: rgba(255,255,255,.9); max-width: 18em; }
.flow-arrow { align-self: center; margin-top: 36px; color: rgba(255,255,255,.72); font-size: 24px; flex: 0 0 auto; }
.process-cta { text-align: center; }

/* ---------- Depoimentos (carrossel) ---------- */
.testimonials { background: var(--cream); color: var(--on-cream); padding: 104px 0; overflow: hidden; }
.testimonials .section-head { margin-bottom: 12px; }
.test-sub { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; color: var(--on-cream-muted); margin-top: 14px; }
.test-sub .fa-google { color: #EA4335; }
.reviews-viewport { overflow-x: auto; padding: 36px 24px 24px; -webkit-overflow-scrolling: touch; }
.reviews-viewport.animating { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.reviews-track { display: flex; gap: 22px; width: max-content; }
.reviews-viewport.animating .reviews-track { animation: marquee 60s linear infinite; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.review-card {
  flex: 0 0 360px; width: 360px; background: #fff; border: 1px solid var(--cream-2);
  border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 16px;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.review-card:hover { transform: translateY(-8px); box-shadow: 0 26px 50px -22px rgba(0,0,0,.3); border-color: rgba(255,126,5,.4); }
.review-card .stars { color: #ffb020; font-size: 16px; letter-spacing: 2px; }
.review-card blockquote { font-size: 16.5px; line-height: 1.55; color: #23201c; font-weight: 500; flex: 1; }
.review-card figcaption { display: flex; align-items: center; gap: 12px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; font-size: 14px; font-weight: 700; background: var(--grad); color: #fff; }
.who { display: flex; flex-direction: column; }
.who-name { font-weight: 600; font-size: 15px; color: var(--on-cream); }
.who-src { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--on-cream-muted); }
.who-src .fa-google { color: #4285F4; }

/* ---------- Rodapé ---------- */
.footer { background: #0d0d0d; color: #fff; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 56px 24px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 20px; max-width: 540px; }
.footer-brand img { height: 62px; width: auto; }
.footer-brand p { font-size: 15px; color: var(--muted); }
.footer-wpp { display: flex; align-items: center; gap: 14px; background: rgba(37,211,102,.12); border: 1px solid rgba(37,211,102,.3); padding: 14px 22px; border-radius: 14px; transition: background-color .2s; }
.footer-wpp:hover { background: rgba(37,211,102,.2); }
.footer-wpp i { font-size: 28px; color: var(--green); }
.footer-wpp span { display: flex; flex-direction: column; font-weight: 700; font-size: 19px; line-height: 1.2; }
.footer-wpp small { font-weight: 400; font-size: 12px; color: var(--muted-2); letter-spacing: .04em; }
.footer-bottom { border-top: 1px solid var(--line); }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; font-size: 13.5px; color: var(--muted-2); }
.footer-credit a { color: var(--orange-2); font-weight: 600; }
.footer-credit a:hover { text-decoration: underline; }

/* ---------- WhatsApp flutuante ---------- */
.wpp-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center; background: var(--green);
  box-shadow: 0 12px 28px -10px rgba(0,0,0,.55);
  transition: transform .2s var(--ease);
}
.wpp-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(37,211,102,.45); animation: pulse 2.6s ease-out infinite; }
.wpp-float:hover { transform: scale(1.08); }
.wpp-float i { color: #fff; font-size: 34px; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 70% { transform: scale(1.5); opacity: 0; } 100% { transform: scale(1.5); opacity: 0; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 1; transform: none; }
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 980px) {
  .hero { padding: 60px 0 76px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { order: -1; }
  .hero-media img { max-height: 360px; }
  .why-grid { grid-template-columns: 1fr; gap: 36px; }
  .product { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .product-reverse .product-media { order: 0; }
  .product-text { margin-inline: auto; }
  .tags { justify-content: center; }
  .flow { flex-direction: column; align-items: center; gap: 10px; }
  .flow-step { max-width: 340px; }
  .flow-arrow { margin: 2px 0; transform: rotate(90deg); }
  .footer-inner { justify-content: center; text-align: center; }
  .footer-brand { flex-direction: column; text-align: center; }
  .footer-bottom .container { justify-content: center; text-align: center; }
}
@media (max-width: 640px) {
  .why, .products, .process, .testimonials { padding: 68px 0; }
}
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .hero-actions .btn { width: 100%; }
  .trusted-inner { flex-direction: column; gap: 18px; }
  .review-card { flex-basis: 300px; width: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .reviews-viewport { overflow-x: auto; }
}
