/* ============================================================
   AGÊNCIA LEÃO — E-COMMERCE
   CSS específico da página /solucoes/ecommerce/
   ============================================================ */

.leao-ecommerce-page {
  background: var(--leao-black);
}

/* HERO */
.ecom-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 76px;
  background:
    radial-gradient(circle at 76% 34%, rgba(24,157,170,0.26), transparent 32%),
    radial-gradient(circle at 24% 74%, rgba(16,114,147,0.13), transparent 38%),
    linear-gradient(135deg, #141414 0%, #0c1d22 52%, #141414 100%);
}

.ecom-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(20,20,20,0.96) 0%, rgba(20,20,20,0.80) 44%, rgba(20,20,20,0.32) 100%),
    linear-gradient(to bottom, rgba(20,20,20,0.16), rgba(20,20,20,0.84));
}

.ecom-hero__grid {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(24,157,170,0.30) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24,157,170,0.30) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 15%, #000 86%, transparent 100%);
}

.ecom-hero__line {
  position: absolute;
  left: var(--container-pad);
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 190px;
  z-index: 4;
  background: linear-gradient(to bottom, transparent, var(--leao-orange), transparent);
}

.ecom-hero__glow {
  position: absolute;
  z-index: 2;
  border-radius: 50%;
  pointer-events: none;
}
.ecom-hero__glow--one {
  width: min(56vw, 880px);
  height: min(56vw, 880px);
  right: -16vw;
  top: 8vh;
  background: radial-gradient(circle, rgba(24,157,170,0.18), transparent 66%);
}
.ecom-hero__glow--two {
  width: 320px;
  height: 320px;
  right: 30vw;
  bottom: 10vh;
  border: 1px solid rgba(24,157,170,0.14);
}

.ecom-hero__inner {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.88fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
}

.ecom-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--leao-white-40);
}
.ecom-breadcrumb a { color: var(--leao-white-40); transition: color var(--transition); }
.ecom-breadcrumb a:hover,
.ecom-breadcrumb span[aria-current="page"] { color: var(--leao-orange); }

.ecom-hero__tag { margin-bottom: 22px; }
.ecom-hero h1 {
  max-width: 840px;
  margin-bottom: 28px;
  font-family: var(--font-display);
  font-size: clamp(46px, 6.2vw, 92px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--leao-white);
}
.ecom-hero h1 em { color: var(--leao-orange); font-style: italic; }
.ecom-hero p {
  max-width: 590px;
  margin-bottom: 42px;
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 300;
  color: var(--leao-white-70);
  line-height: 1.7;
}

.ecom-hero__visual {
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ecom-storefront {
  position: relative;
  width: min(100%, 560px);
  min-height: 390px;
  padding: 28px;
  border: 1px solid var(--leao-white-10);
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  box-shadow: 0 40px 90px rgba(0,0,0,0.42);
  backdrop-filter: blur(8px);
  transform: rotate(-1deg);
}
.ecom-storefront::after {
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(24,157,170,0.15);
  pointer-events: none;
}
.ecom-storefront__top {
  display: flex;
  gap: 7px;
  margin-bottom: 22px;
}
.ecom-storefront__top span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--leao-orange);
  opacity: 0.8;
}
.ecom-storefront__nav {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--leao-white-10);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--leao-white-40);
}
.ecom-storefront__nav strong { color: var(--leao-white); margin-right: auto; }
.ecom-storefront__hero {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 22px;
  align-items: center;
  margin: 28px 0;
  padding: 24px;
  background: rgba(20,20,20,0.55);
  border: 1px solid var(--leao-white-10);
}
.ecom-storefront__hero small,
.ecom-storefront__metric small {
  display: block;
  margin-bottom: 5px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--leao-orange);
}
.ecom-storefront__hero strong {
  display: block;
  max-width: 260px;
  font-family: var(--font-display);
  font-size: 25px;
  line-height: 1.05;
  color: var(--leao-white);
}
.ecom-storefront__hero > span {
  width: 120px;
  height: 120px;
  background:
    linear-gradient(135deg, rgba(24,157,170,0.32), rgba(255,255,255,0.05)),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.10) 0 1px, transparent 1px 10px);
  border: 1px solid rgba(24,157,170,0.35);
}
.ecom-storefront__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.ecom-storefront__grid span {
  height: 72px;
  border: 1px solid var(--leao-white-10);
  background: rgba(255,255,255,0.05);
}
.ecom-storefront__metric {
  position: absolute;
  min-width: 120px;
  padding: 14px 16px;
  border: 1px solid rgba(24,157,170,0.34);
  background: rgba(20,20,20,0.84);
  box-shadow: 0 16px 38px rgba(0,0,0,0.35);
}
.ecom-storefront__metric strong {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--leao-white);
}
.ecom-storefront__metric--one { top: 96px; right: -28px; }
.ecom-storefront__metric--two { bottom: 70px; left: -34px; }

/* INTRO */
.ecom-intro { padding: var(--space-section) 0; }
.ecom-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(52px, 8vw, 110px);
  align-items: start;
}
.ecom-intro__copy h2 {
  max-width: 560px;
  margin: 22px 0 24px;
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--leao-black);
}
.ecom-intro__copy h2 em { color: var(--leao-orange-dark); font-style: italic; }
.ecom-intro__copy p {
  max-width: 560px;
  margin-bottom: 18px;
  color: #4a4a4a;
  font-size: 17px;
  line-height: 1.8;
}
.ecom-principles {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--leao-light-dark);
}
.ecom-principle {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 30px;
  padding: 34px 0;
  border-bottom: 1px solid var(--leao-light-dark);
}
.ecom-principle > span {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--leao-blue);
  letter-spacing: 0.12em;
}
.ecom-principle h3 {
  margin-bottom: 10px;
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 800;
  color: var(--leao-black);
}
.ecom-principle p {
  max-width: 560px;
  color: #555;
  line-height: 1.7;
}

/* DELIVERABLES */
.ecom-deliverables {
  padding: var(--space-section) 0;
  background:
    radial-gradient(circle at 74% 18%, rgba(24,157,170,0.20), transparent 34%),
    var(--leao-black);
}
.ecom-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 52px;
  align-items: end;
  margin-bottom: clamp(46px, 6vw, 76px);
}
.ecom-section-head h2 {
  max-width: 760px;
  margin-top: 18px;
  font-size: clamp(32px, 4.5vw, 58px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--leao-white);
}
.ecom-section-head p {
  color: var(--leao-white-40);
  font-size: 16px;
  line-height: 1.8;
}
.ecom-deliverables__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--leao-white-10);
}
.ecom-card {
  min-height: 265px;
  padding: clamp(28px, 3vw, 44px);
  background: var(--leao-black);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: background var(--transition), transform var(--transition);
}
.ecom-card:hover { background: var(--leao-black-80); transform: translateY(-2px); }
.ecom-card span {
  margin-bottom: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--leao-orange);
  letter-spacing: 0.14em;
}
.ecom-card h3 {
  margin-bottom: 14px;
  font-family: var(--font-body);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--leao-white);
}
.ecom-card p {
  color: var(--leao-white-40);
  line-height: 1.75;
}

/* PLATFORMS */
.ecom-platforms { padding: var(--space-section) 0; }
.ecom-platforms__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
}
.ecom-platforms__copy h2 {
  margin: 20px 0 22px;
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: 1.04;
  color: var(--leao-black);
}
.ecom-platforms__copy p {
  max-width: 620px;
  color: #4f4f4f;
  font-size: 17px;
  line-height: 1.8;
}
.ecom-platforms__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ecom-platforms__tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--leao-light-dark);
  background: var(--leao-white);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--leao-blue);
}

/* JOURNEY */
.ecom-journey {
  padding: var(--space-section) 0;
  background: var(--leao-black-80);
}
.ecom-journey__grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1fr);
  gap: clamp(48px, 8vw, 110px);
  align-items: center;
}
.ecom-journey__visual {
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ecom-flow {
  position: relative;
  width: min(100%, 500px);
  height: 380px;
  border: 1px solid var(--leao-white-10);
  background:
    radial-gradient(circle at 50% 50%, rgba(24,157,170,0.20), transparent 52%),
    linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  overflow: hidden;
}
.ecom-flow::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(24,157,170,0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24,157,170,0.35) 1px, transparent 1px);
  background-size: 44px 44px;
}
.ecom-flow__node {
  position: absolute;
  z-index: 2;
  width: 118px;
  height: 118px;
  border: 1px solid rgba(24,157,170,0.38);
  background: rgba(20,20,20,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ecom-flow__node span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--leao-orange);
}
.ecom-flow__node--one { left: 42px; top: 54px; }
.ecom-flow__node--two { right: 54px; top: 72px; }
.ecom-flow__node--three { left: 72px; bottom: 58px; }
.ecom-flow__node--four { right: 44px; bottom: 46px; }
.ecom-flow__line {
  position: absolute;
  height: 1px;
  background: rgba(24,157,170,0.34);
  transform-origin: left center;
}
.ecom-flow__line--a { width: 185px; left: 154px; top: 116px; transform: rotate(8deg); }
.ecom-flow__line--b { width: 176px; left: 150px; top: 226px; transform: rotate(-14deg); }
.ecom-flow__line--c { width: 152px; left: 240px; top: 254px; transform: rotate(24deg); }
.ecom-journey__copy h2 {
  max-width: 680px;
  margin: 20px 0 22px;
  font-size: clamp(32px, 4.4vw, 58px);
  font-weight: 900;
  line-height: 1.03;
  color: var(--leao-white);
}
.ecom-journey__copy p {
  max-width: 620px;
  margin-bottom: 30px;
  color: var(--leao-white-70);
  font-size: 17px;
  line-height: 1.8;
}
.ecom-journey__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.ecom-journey__list div {
  padding: 20px;
  border: 1px solid var(--leao-white-10);
  background: rgba(255,255,255,0.04);
}
.ecom-journey__list strong {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--leao-white);
}
.ecom-journey__list span {
  color: var(--leao-white-40);
  line-height: 1.65;
}

/* METHOD */
.ecom-method { padding: var(--space-section) 0; }
.ecom-method__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(52px, 8vw, 110px);
  align-items: start;
}
.ecom-method__intro h2 {
  margin: 20px 0 22px;
  max-width: 610px;
  font-size: clamp(32px, 4.4vw, 58px);
  line-height: 1.03;
  color: var(--leao-black);
}
.ecom-method__intro p {
  max-width: 560px;
  color: #4f4f4f;
  font-size: 17px;
  line-height: 1.8;
}
.ecom-method__steps {
  border-top: 1px solid var(--leao-light-dark);
}
.ecom-step {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 30px;
  padding: 32px 0;
  border-bottom: 1px solid var(--leao-light-dark);
}
.ecom-step > span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--leao-blue);
}
.ecom-step h3 {
  margin-bottom: 10px;
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 800;
  color: var(--leao-black);
}
.ecom-step p {
  max-width: 620px;
  color: #555;
  line-height: 1.75;
}

/* FIT */
.ecom-fit {
  padding: var(--space-section) 0;
  background: var(--leao-black);
}
.ecom-fit__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: start;
  padding: clamp(44px, 5vw, 70px);
  border: 1px solid var(--leao-white-10);
  background: linear-gradient(135deg, rgba(24,157,170,0.10), rgba(255,255,255,0.02));
}
.ecom-fit h2 {
  margin-top: 20px;
  max-width: 650px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.04;
  color: var(--leao-white);
}
.ecom-fit__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--leao-white-10);
}
.ecom-fit__list li {
  padding: 20px 0;
  border-bottom: 1px solid var(--leao-white-10);
  color: var(--leao-white-70);
  line-height: 1.7;
}

/* CTA */
.ecom-cta {
  padding: var(--space-section) 0;
  background:
    radial-gradient(circle at 78% 38%, rgba(24,157,170,0.20), transparent 30%),
    var(--leao-black-80);
}
.ecom-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
  padding: clamp(46px, 6vw, 78px);
  border: 1px solid var(--leao-white-10);
  background: rgba(20,20,20,0.72);
}
.ecom-cta h2 {
  margin: 18px 0 18px;
  max-width: 760px;
  font-size: clamp(32px, 4.5vw, 58px);
  line-height: 1.02;
  color: var(--leao-white);
}
.ecom-cta p {
  max-width: 640px;
  color: var(--leao-white-40);
  line-height: 1.8;
}

/* RESPONSIVO */
@media (max-width: 1024px) {
  .ecom-hero__inner,
  .ecom-intro__grid,
  .ecom-platforms__inner,
  .ecom-journey__grid,
  .ecom-method__grid,
  .ecom-fit__inner,
  .ecom-section-head,
  .ecom-cta__inner {
    grid-template-columns: 1fr;
  }
  .ecom-hero__visual { min-height: 360px; }
  .ecom-deliverables__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ecom-cta__inner { align-items: start; }
}

@media (max-width: 768px) {
  .ecom-hero { min-height: auto; padding: 118px 0 72px; }
  .ecom-hero__line { display: none; }
  .ecom-hero h1 { font-size: clamp(44px, 13vw, 68px); }
  .ecom-hero__visual { display: none; }
  .ecom-intro__grid,
  .ecom-method__grid,
  .ecom-platforms__inner,
  .ecom-journey__grid,
  .ecom-fit__inner {
    gap: 38px;
  }
  .ecom-principle,
  .ecom-step {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 18px;
  }
  .ecom-deliverables__grid,
  .ecom-journey__list {
    grid-template-columns: 1fr;
  }
  .ecom-journey__visual { min-height: 330px; }
  .ecom-flow { height: 320px; }
  .ecom-flow__node { width: 96px; height: 96px; }
  .ecom-flow__node--one { left: 24px; top: 42px; }
  .ecom-flow__node--two { right: 24px; top: 58px; }
  .ecom-flow__node--three { left: 42px; bottom: 48px; }
  .ecom-flow__node--four { right: 28px; bottom: 40px; }
  .ecom-flow__line { opacity: 0.65; }
}

@media (max-width: 480px) {
  .ecom-hero h1,
  .ecom-intro__copy h2,
  .ecom-section-head h2,
  .ecom-platforms__copy h2,
  .ecom-journey__copy h2,
  .ecom-method__intro h2,
  .ecom-fit h2,
  .ecom-cta h2 {
    letter-spacing: -0.02em;
  }
  .ecom-fit__inner,
  .ecom-cta__inner {
    padding: 30px 22px;
  }
  .ecom-platforms__tags span {
    width: 100%;
    justify-content: flex-start;
  }
  .ecom-flow__line { display: none; }
}
