/* ============================================================
   PIINGA SARL — Feuille de styles
   ============================================================ */

:root {
  --blue:        #1E5FB4;
  --blue-light:  #2E86DE;
  --blue-bright: #38BDF8;
  --navy:        #15246F;
  --navy-deep:   #0F1A4D;
  --grad:        linear-gradient(135deg, #2E86DE 0%, #1E5FB4 45%, #15246F 100%);
  --grad-soft:   linear-gradient(135deg, #2E86DE, #15246F);

  --ink:         #0e1525;
  --body:        #475067;
  --muted:       #6b7488;
  --line:        #e6e9f0;
  --bg:          #ffffff;
  --bg-alt:      #f5f7fb;
  --card:        #ffffff;

  --radius:      18px;
  --radius-sm:   12px;
  --shadow:      0 10px 30px -12px rgba(21, 36, 111, .18);
  --shadow-lg:   0 24px 60px -20px rgba(21, 36, 111, .35);
  --ring:        0 0 0 4px rgba(46, 134, 222, .15);

  --font-head:   'Poppins', system-ui, sans-serif;
  --font-body:   'Inter', system-ui, sans-serif;
  --maxw:        1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 86px; }

body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; }
a { text-decoration: none; color: inherit; }
img, svg { display: block; max-width: 100%; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  padding: .8rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  background-origin: border-box;
  cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--grad); background-origin: border-box; color: #fff; box-shadow: 0 12px 24px -10px rgba(30,95,180,.7); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 30px -10px rgba(30,95,180,.8); }
.btn--ghost { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn--ghost:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--ghost-white:hover { background: rgba(255,255,255,.14); }
.btn--whatsapp { background: #25D366; color: #fff; width: 100%; }
.btn--whatsapp:hover { background: #1fb858; transform: translateY(-2px); }
.btn--lg { padding: 1rem 1.9rem; font-size: 1rem; }
.btn--sm { padding: .55rem 1.1rem; font-size: .85rem; }
.btn--block { width: 100%; }

/* ---------- Header / Nav ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: all .3s ease;
}
.header.scrolled { box-shadow: var(--shadow); border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }

.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand__logo { width: 42px; height: 42px; }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; color: var(--navy); letter-spacing: -.5px; }
.brand__dot { color: var(--blue-light); }

.nav__menu { display: flex; align-items: center; gap: 1.7rem; }
.nav__link { font-weight: 500; font-size: .95rem; color: var(--ink); position: relative; transition: color .2s; }
.nav__link::after { content:''; position:absolute; left:0; bottom:-6px; width:0; height:2px; background:var(--grad); transition:width .25s; }
.nav__link:hover { color: var(--blue); }
.nav__link:hover::after { width: 100%; }
.nav__cta { color: #fff !important; }
.nav__cta::after { display: none; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 26px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: .3s; }
.nav__toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 150px 0 90px; overflow: hidden; background: var(--navy-deep); }
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(1000px 500px at 80% -10%, rgba(56,189,248,.35), transparent 60%),
    radial-gradient(800px 500px at 10% 110%, rgba(46,134,222,.4), transparent 55%),
    var(--grad);
}
.hero__bg::after {
  content:''; position:absolute; inset:0;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 26px 26px; opacity:.6;
}
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }

.hero__eyebrow { display: inline-block; background: rgba(255,255,255,.14); color: #fff; padding: .4rem 1rem; border-radius: 999px; font-size: .85rem; font-weight: 500; border: 1px solid rgba(255,255,255,.2); margin-bottom: 1.3rem; }
.hero__title { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; color: #fff; letter-spacing: -1px; }
.hero__title .grad-text { background: linear-gradient(90deg, #fff, #bfe3ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero__text { color: rgba(255,255,255,.85); font-size: 1.12rem; margin: 1.3rem 0 2rem; max-width: 540px; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero__trust { display: flex; gap: 2rem; margin-top: 2.6rem; flex-wrap: wrap; }
.trust__item { color: #fff; }
.trust__item strong { display: block; font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; }
.trust__item span { font-size: .85rem; color: rgba(255,255,255,.7); }

/* Hero visual */
.hero__visual { position: relative; display: flex; justify-content: center; }
.hero__img {
  width: 100%; max-width: 480px; height: auto; border-radius: 28px;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,.5));
}
.hero__chip {
  position: absolute; display: inline-flex; align-items: center; gap: .45rem;
  background: #fff; color: var(--navy); font-weight: 600; font-size: .85rem;
  padding: .55rem .95rem; border-radius: 12px; box-shadow: var(--shadow-lg); animation: float 4s ease-in-out infinite;
}
.hero__chip i { color: var(--blue-light); font-size: .95rem; }
.hero__chip--1 { top: 6%; left: -4%; animation-delay: 0s; }
.hero__chip--2 { bottom: 16%; left: -8%; animation-delay: 1.3s; }
.hero__chip--3 { bottom: 4%; right: -4%; animation-delay: .6s; }
@keyframes float { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-12px); } }

.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; line-height: 0; }
.hero__wave svg { width: 100%; height: 90px; }

/* ---------- Strip ---------- */
.strip { background: var(--bg); padding: 30px 0; border-bottom: 1px solid var(--line); }
.strip__inner { text-align: center; }
.strip__label { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: 2px; color: var(--muted); margin-bottom: 1rem; }
.strip__tags { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem 1.4rem; }
.strip__tags span { font-family: var(--font-head); font-weight: 600; color: var(--navy); opacity: .65; font-size: 1.02rem; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section__eyebrow { display: inline-block; color: var(--blue); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: .8rem; }
.section__title { font-size: clamp(1.9rem, 3.5vw, 2.7rem); font-weight: 700; letter-spacing: -.5px; }
.section__lead { color: var(--body); font-size: 1.08rem; margin-top: 1rem; }

/* ---------- Pôle headings ---------- */
.pole { display: flex; align-items: center; gap: .8rem; font-size: 1.35rem; font-weight: 700; color: var(--navy); margin: 48px 0 22px; }
.pole:first-of-type { margin-top: 0; }
.pole__num { font-family: var(--font-head); font-size: .95rem; font-weight: 700; color: #fff; background: var(--grad); width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; }

/* ---------- Grids & Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.6rem; transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
  position: relative; overflow: hidden;
}
.card::before { content:''; position:absolute; top:0; left:0; width:100%; height:3px; background:var(--grad); transform: scaleX(0); transform-origin:left; transition: transform .3s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card__icon { width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, rgba(46,134,222,.14), rgba(21,36,111,.12)); color: var(--blue); display: grid; place-items: center; margin-bottom: 1.1rem; }
.card__icon svg { width: 26px; height: 26px; }
.card__icon i { font-size: 1.45rem; line-height: 1; }
.card h4 { font-size: 1.15rem; margin-bottom: .5rem; }
.card p { font-size: .94rem; color: var(--body); }

/* ---------- Products ---------- */
.products .product {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem 1.7rem; transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column;
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product__head { display: flex; flex-direction: column; gap: .25rem; margin-bottom: .8rem; }
.product__head h3 { font-size: 1.4rem; color: var(--navy); }
.product__platforms { font-size: .78rem; font-weight: 600; color: var(--blue); text-transform: uppercase; letter-spacing: 1px; }
.product__desc { color: var(--body); font-size: .96rem; flex: 1; }
.product__badge { align-self: flex-start; margin-top: 1.1rem; background: rgba(46,134,222,.1); color: var(--blue); font-weight: 600; font-size: .78rem; padding: .35rem .8rem; border-radius: 999px; }
.product--cta { background: var(--grad); color: #fff; border: none; }
.product--cta h3, .product--cta .product__platforms { color: #fff; }
.product--cta .product__platforms { opacity: .85; }
.product--cta .product__desc { color: rgba(255,255,255,.9); }
.product--cta .btn { margin-top: 1.1rem; align-self: flex-start; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.about__text .section__title, .about__text .section__eyebrow { text-align: left; }
.about__text p { margin-top: 1rem; }
.about__features { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 2rem; }
.feature { display: flex; gap: .8rem; }
.feature__ic {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; font-size: 1.15rem;
  background: rgba(46,134,222,.12); color: var(--blue);
}
.feature strong { display: block; color: var(--ink); font-family: var(--font-head); }
.feature p { font-size: .88rem; margin: 0; }
.about__img {
  width: 100%; height: auto; border-radius: 28px; box-shadow: var(--shadow-lg);
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.9rem 1.5rem; position: relative; }
.step__num { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--grad); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; margin-bottom: 1rem; }
.step h4 { font-size: 1.1rem; margin-bottom: .4rem; }
.step p { font-size: .9rem; }

/* ---------- CTA Band ---------- */
.ctaband { background: var(--navy-deep); position: relative; overflow: hidden; }
.ctaband::before { content:''; position:absolute; inset:0; background: radial-gradient(700px 300px at 85% 50%, rgba(56,189,248,.3), transparent 60%), var(--grad-soft); opacity:.9; }
.ctaband__inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 56px 0; flex-wrap: wrap; }
.ctaband h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.ctaband p { color: rgba(255,255,255,.85); margin-top: .5rem; }
.ctaband__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .95fr 1.05fr; gap: 40px; }
.contact__info { display: flex; flex-direction: column; gap: 1rem; }
.cinfo { display: flex; gap: 1rem; align-items: flex-start; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.1rem 1.2rem; transition: .2s; }
.cinfo:hover { box-shadow: var(--shadow); transform: translateX(3px); }
.cinfo__ic {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; font-size: 1.05rem;
  background: var(--grad); background-origin: border-box; color: #fff;
}
.cinfo strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: .98rem; }
.cinfo > div span { color: var(--body); font-size: .95rem; }
.map { border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); margin-top: .3rem; }
.map iframe { width: 100%; height: 230px; border: 0; display: block; }

.contact__form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.field { margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { display: block; font-weight: 600; font-size: .88rem; color: var(--ink); margin-bottom: .4rem; font-family: var(--font-head); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: var(--font-body); font-size: .95rem; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-light); box-shadow: var(--ring); }
.field textarea { resize: vertical; }
.form__note { font-size: .82rem; color: var(--muted); text-align: center; margin-top: .8rem; }
.form__feedback { font-size: .9rem; text-align: center; margin-top: .6rem; font-weight: 600; color: #1fb858; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: rgba(255,255,255,.7); padding: 64px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; }
.footer__col h4 { color: #fff; font-size: 1.05rem; margin-bottom: 1.1rem; }
.footer__col a, .footer__col span { display: block; color: rgba(255,255,255,.7); font-size: .92rem; margin-bottom: .6rem; transition: color .2s; }
.footer__col a:hover { color: var(--blue-bright); }
.brand--footer .brand__name { color: #fff; }
.brand__logo--full { height: 46px; width: auto; }
.footer__brand p { font-size: .92rem; margin: 1rem 0 1.2rem; max-width: 320px; }
.footer__social { display: flex; gap: .7rem; flex-wrap: wrap; }
.footer__social a {
  width: 40px; height: 40px; display: grid; place-items: center;
  background: rgba(255,255,255,.08); border-radius: 50%; font-size: 1rem; margin: 0; color: #fff;
  transition: background .2s ease, transform .2s ease;
}
.footer__social a:hover { background: var(--blue); transform: translateY(-2px); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.12); margin-top: 50px; padding-top: 22px; padding-bottom: 26px; font-size: .85rem; }

/* ---------- Floating elements ---------- */
.fab-wa {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; font-size: 1.7rem;
  display: grid; place-items: center; box-shadow: 0 10px 26px -6px rgba(37,211,102,.7);
  transition: transform .25s; animation: pulse 2.5s infinite;
}
.fab-wa:hover { transform: scale(1.08); }
@keyframes pulse { 0%{ box-shadow: 0 0 0 0 rgba(37,211,102,.5);} 70%{ box-shadow: 0 0 0 16px rgba(37,211,102,0);} 100%{ box-shadow: 0 0 0 0 rgba(37,211,102,0);} }

.to-top {
  position: fixed; bottom: 24px; left: 24px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--navy); color: #fff; font-size: 1.2rem; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

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

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__content { order: 2; }
  .hero__visual { order: 1; margin-bottom: 10px; }
  .hero__text { margin-left: auto; margin-right: auto; }
  .hero__actions, .hero__trust { justify-content: center; }
  .about { grid-template-columns: 1fr; }
  .about__visual { order: -1; }
  .contact { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav__menu {
    position: fixed; top: 74px; right: 0; left: 0; flex-direction: column; gap: 0;
    background: #fff; padding: 1rem 22px 1.6rem; box-shadow: var(--shadow-lg);
    transform: translateY(-130%); transition: transform .35s ease; align-items: stretch;
  }
  .nav__menu.open { transform: translateY(0); }
  .nav__link { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .nav__cta { margin-top: .8rem; }
  .nav__toggle { display: flex; }
  .section { padding: 64px 0; }
  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .about__features { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .ctaband__inner { text-align: center; justify-content: center; }
  .ctaband__actions { justify-content: center; }
  .hero__chip { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .hero__chip, .fab-wa { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
}
