/* GLOBAL RESET PIYA RESPONSIVE */
*,
*::before,
*::after{
  box-sizing:border-box;
}

img{
  max-width:100%;
  height:auto;
}

/* End global reset */
/* Reset minimal + base */
  html, body {
  margin: 0;
  padding: 0;
  }

  body{
    position: relative;
    background: #F8FAFC;
    color: #0f172a;
    overflow-x: hidden;
}

  :root{
    --piya-text:#1F2937;
    --piya-border:#E5E7EB;
    --aurora-violet: #5A8FE0; /* bleu Piya */
    --aurora-blue:   #7A66CC; /* violet Piya  */
  
    /* Tes variables existantes uniquement */
    --appstore:url('https://piya-web.com/wp-content/uploads/2025/08/app_store-removebg-preview.png');
  }

  body::before{
    content:"";
    position: fixed;
    inset: -12% -6% -12% -6%; /* dépasse un peu pour éviter toute couture au scroll */
    z-index: -1;              /* reste derrière le site */
    pointer-events: none;

  /* 3 halos + léger mix violet/bleu */
    background:
      radial-gradient(60% 60% at 20% 30%, rgba(124, 58, 237, 0.12), transparent 78%),
      radial-gradient(50% 50% at 80% 20%, rgba(59, 130, 246, 0.11), transparent 80%),
      radial-gradient(58% 58% at 60% 85%, rgba(99, 102, 241, 0.10), transparent 80%);
    filter: blur(3px) saturate(100%);
  animation: auroraHalos 25s ease-in-out infinite alternate;
  }

  /* Animation douce des halos (légers déplacements / zoom) */
  @keyframes auroraHalos {
    0%   { transform: translate3d(0,0,0) scale(1); }
    50%  { transform: translate3d(2%, -2%, 0) scale(1.05); }
    100% { transform: translate3d(-2%, 2%, 0) scale(1.02); }
}
  /* Respecte “réduction des animations” */
  @media (prefers-reduced-motion: reduce){
    body::before{ animation: none; }
  }
  

  /* ================= NAVBAR (fixed + blur + pilule) ================= */
  .piya-header-wrap{
    font-family:'Poppins', sans-serif !important;
    position:relative; z-index:50;
    padding:0; margin:0; height:0;      /* supprime le vide au-dessus du hero */
    text-align:center;
  }
  .piya-header{
    position:fixed; top:16px; left:50%; transform:translateX(-50%); /* centrée et toujours visible */
    z-index:60;
    display:inline-block;
    border:1px solid rgba(0,0,0,.08);
    border-radius:9999px;
    padding:0 32px;
    background:rgba(255,255,255,.55);
    -webkit-backdrop-filter:saturate(160%) blur(10px);
    backdrop-filter:saturate(160%) blur(10px);
    box-shadow:0 6px 20px rgba(0,0,0,.06);
  }
/* === Full-width blurred backdrop behind sticky nav (with fade, no seam) === */
.piya-header-wrap::before{
  content:"";
  position: fixed;
  top: 0; left: 0; right: 0;
  /* un peu plus haut + 1px d'overscan pour éviter toute couture */
  height: 98px;
  z-index: 55;                 /* sous .piya-header (60), au-dessus du contenu */
  pointer-events: none;

  /* micro-astuce anti‑subpixel seam sur certains écrans */
  transform: translateZ(0);
}
  .piya-header .row{ display:flex; align-items:center; justify-content:center; height:64px; gap:40px }
  .piya-brand{display:flex; align-items:center; gap:10px; color:var(--piya-text); text-decoration:none; font-weight:700; font-size:18px}
  .piya-brand img{height:28px; width:auto; display: block; transition: transform 0.6s ease-in-out; /* vitesse + fluidité */}
  .piya-brand img:hover {transform: rotate(360deg); /* fait tourner le logo */}


  .piya-menu{display:flex; gap:28px; align-items:center}
  .piya-menu a{
    font-family:'Poppins', sans-serif !important;
    font-weight:500 !important; font-size:16px !important;
    color:var(--piya-text) !important;
    text-decoration:none; position:relative; padding:6px 2px;
  }
  .piya-menu a:after{content:""; position:absolute; left:0; bottom:-6px; height:2px; width:0; background:currentColor; transition:width .2s ease}
  .piya-menu a:hover:after{width:100%}
  .piya-menu a.active{ color:#0f172a !important; font-weight:600 !important }
  .piya-menu a.active:after{ width:100% }

  .piya-burger{display:none; background:none; border:1px solid var(--piya-border); border-radius:8px; height:40px; width:44px; padding:0; align-items:center; justify-content:center; cursor:pointer}
  .piya-burger span{display:block; width:20px; height:2px; background:var(--piya-text); position:relative}
  .piya-burger span:before, .piya-burger span:after{content:""; position:absolute; left:0; width:20px; height:2px; background:var(--piya-text); transition:.2s}
  .piya-burger span:before{top:-6px} .piya-burger span:after{bottom:-6px}
  .piya-burger[aria-expanded="true"] span{background:transparent}
  .piya-burger[aria-expanded="true"] span:before{top:0; transform:rotate(45deg)}
  .piya-burger[aria-expanded="true"] span:after{bottom:0; transform:rotate(-45deg)}
  @media (max-width: 768px){
    .piya-burger{display:inline-flex}
    .piya-menu{
      position:absolute; left:0; right:0; top:64px;
      background:rgba(255,255,255,.9);
      -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px);
      border-radius:0 0 24px 24px; border-top:1px solid rgba(0,0,0,.06);
      flex-direction:column; gap:14px; padding:14px 20px; display:none;
    }
    .piya-menu.open{display:flex}
    .piya-header-wrap::before{ height: 98px; }
  }

  :target{scroll-margin-top:110px;} /* compense la nav fixed (64px + marges) */

  /* =================== HERO full-bleed (plein large) ================== */
  .hero-wrap{
    position:relative;
    isolation: isolate;
     /* pas d'overlay */
    width:100vw; margin-left:calc(50% - 50vw); margin-right:calc(50% - 50vw);
    min-height:100vh;
    display:flex; align-items:center;
    padding: clamp(140px, 18vw, 200px) 0 100px; /* + haut pour ne pas chevaucher la nav fixed */
    z-index:10; /* le hero passe derrière la nav au scroll */
    background: transparent !important; 
    

  }
  .hero-container{
    max-width:none !important;
    width:90% !important;
    margin:0 auto;
    padding:0 24px;
    position: relative;
    z-index: 2;
  }
  .hero-grid{align-items: center;}

  /* centre la colonne texte (la 1ère du grid) */
  .hero-grid > :first-child{
    justify-self: center;      /* centre horizontalement la colonne */
    text-align: center;        /* aligne le texte au centre */
    max-width: 820px;          /* optionnel : limite la largeur pour une belle ligne */
  }
  
  .special-text{
    margin:0 0 8px;
    font-family: "Pacifico", cursive;
    font-weight: 300;                 /* Pacifico n'aime pas le gras */
    font-size:clamp(40px, 6vw, 72px); line-height:1.05;              /* légèrement plus discret */ 
    color:#ffffff;
    text-shadow:
    0 1px 0 rgba(0,0,0,.35),      /* petit trait net collé au texte */
    0 6px 18px rgba(0,0,0,.35);
    text-align: inherit;
  }
  
    .special-text2{
    margin:0 0 8px;
    font-family: "Pacifico", cursive;
    font-weight: 300;                 /* Pacifico n'aime pas le gras */
    font-size:clamp(20px, 3vw, 36px); line-height:1.05;              /* légèrement plus discret */ 
    color:#000000;
    text-align: inherit;
    }

  .hero-text{font-family:"Poppins", sans-serif; font-weight:300; line-height:1.7; color:#000000; margin:0 0 22px}
  .hero-text{
    text-align: inherit;
    
  }

  .hero-title.outline{
    -webkit-text-stroke: 1px rgba(0,0,0,.35);  /* Chrome/Safari */
     /* fallback */
  }

  .hero-stores{display:flex; gap:14px; align-items:center; flex-wrap:wrap; margin:16px 0 0; justify-content: center;}
  .hero-stores a{display:inline-block; line-height:0}
  .hero-stores img{height:48px; width:auto; display:block; border-radius:10px; box-shadow:0 6px 16px rgba(0,0,0,.12)}

  .hero-wrap{ position: relative; }
  .hero-wrap > *{ position: relative; z-index: 2; }  /* contenu par-dessus */

  .gradient-canvas {
  --gradient-color-1: #7A66CC;
  --gradient-color-2: #5A8FE0;
  --gradient-color-3: #A78BFA;
  --gradient-color-4: #93C5FD;
}

.hero-wrap > *{ position:relative; z-index:2; }


.hero-wrap { overflow: hidden; }
.hero-wave{
  position:absolute;
  left:0; right:0; bottom:-1px;
  height:120px; line-height:0; overflow:hidden;
  z-index:2; /* over the canvas */
}
.hero-wave svg{ display:block; width:100%; height:100%; }
.hero-wave .shape-fill{ fill:#FFFFFF; } /* match the next section background */

/* Title and text: black, no shadow as requested */
.hero-wrap .hero-title{ color:#ffffff !important; text-shadow:none !important; -webkit-text-stroke: 0 !important; }
.hero-wrap .hero-text{ color:#ffffff; text-shadow:none !important; }


.hero-wrap .hero-title{ color:#ffffff !important; text-shadow:none !important; -webkit-text-stroke:0 !important; }
.hero-wrap .hero-text{ color:#ffffff; text-shadow:none !important; }

/* === Hero bottom wave by masking the gradient itself (Stripe-like, no overlay) === */
.hero-wrap{ position:relative; overflow:visible; }
.gradient-canvas{
  /* Keep your gradient as-is, just mask the bottom into a wave */
  
  -webkit-mask-size: 100% 180px;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: bottom center;
  
  mask-size: 100% 180px;
  mask-repeat: no-repeat;
  mask-position: bottom center;
}

/* Title/Text: black & no shadow (requested) */
.hero-wrap .hero-title{ color: #ffffff !important; text-shadow:none !important; -webkit-text-stroke:0 !important; }
.hero-wrap .hero-text{ color:#ffffff; text-shadow:none !important; }

/* === HERO LAYERING & FULL COVERAGE === */
.hero-wrap{ position: relative; isolation:isolate; }
.hero-wrap .gradient-canvas{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}
.hero-wrap .hero-container{ position: relative; z-index: 1; }


/* === Cut the hero bottom with a wave (mask on the gradient itself) === */
.hero-wrap .gradient-canvas{
  
  -webkit-mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: bottom center;
  
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
  mask-position: bottom center;
}


.hero-wrap .hero-title{ color:#ffffff !important; text-shadow:none !important; -webkit-text-stroke:0 !important; }
.hero-wrap .hero-text{ color:#000; text-shadow:none !important; }

/* === Two-lobe wave (one crest, one trough) === */
.hero-wrap .gradient-canvas{
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 600' preserveAspectRatio='none'><path fill='white' d='M0,0 H1200 V480 C900,560 600,400 300,480 C150,520 75,440 0,480 Z'/></svg>");
  -webkit-mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: bottom center;
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 600' preserveAspectRatio='none'><path fill='white' d='M0,0 H1200 V480 C900,560 600,400 300,480 C150,520 75,440 0,480 Z'/></svg>");
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
  mask-position: bottom center;
}

/* ===== Pricing section ===== */
/* =========================================
   PIYA — Pricing (Blueprint + Peps visible)
   ========================================= */

.piya-pricing{
  background: transparent !important;
  width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  padding:64px 0 86px;
  position: relative;
}

.piya-pricing .pricing-head{
  text-align:center;
  margin:0 auto 28px;
  width:min(1100px,92%);
}

.piya-pricing h2{
  font:600 24px/1.3 "Poppins",sans-serif;
  color:#111;
  margin:0 0 8px;
}

.piya-pricing .sub{
  font:300 18px/1.5 "Poppins",sans-serif;
  color:#6B7280;
  margin:0 0 18px;
}

/* Toggle — plus premium */
.billing-toggle{
  display:inline-flex;
  gap:8px;
  padding:6px;
  border-radius:9999px;
  background: rgba(255,255,255,.72);
  border:1px solid rgba(15,23,42,.10);
  box-shadow:0 10px 28px rgba(2,6,23,.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.toggle-btn{
  font:500 14px/1 "Poppins",sans-serif;
  padding:10px 18px;
  border-radius:9999px;
  border:0;
  background:transparent;
  cursor:pointer;
  color:#111;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.toggle-btn:hover{ transform: translateY(-1px); }

.toggle-btn.is-active{
  background:#0f172a;
  color:#fff;
}

/* Grid */
.pricing-grid{
  width:min(1200px,92%);
  margin:26px auto 0;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
@media (max-width:1024px){ .pricing-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .pricing-grid{ grid-template-columns:1fr; } }

/* ---------- Blueprint tokens ---------- */
:root{
  --bp-ink: rgba(15,23,42,.08);
  --bp-line: rgba(15,23,42,.07);
  --bp-grid: rgba(15,23,42,.06);
  --bp-accent-a: rgba(79,160,201,.55); /* bleu */
  --bp-accent-b: rgba(124,58,237,.45); /* violet */
}

/* Cards (pricing) — blueprint + peps */
.price-card{
  position: relative;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 22px;
  padding: 22px 22px 24px;
  display:flex;
  flex-direction:column;
  gap:14px;

  box-shadow: 0 18px 50px rgba(2,6,23,.10);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  overflow:hidden;
  transform: translateZ(0);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

/* Blueprint background (subtil) */
.price-card::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  opacity:.55;
  background:
    /* mini grid */
    linear-gradient(to right, var(--bp-grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--bp-grid) 1px, transparent 1px),
    /* traits blueprint */
    radial-gradient(900px 420px at 18% 14%, rgba(79,160,201,.14), transparent 55%),
    radial-gradient(700px 380px at 86% 78%, rgba(124,58,237,.10), transparent 52%);
  background-size: 28px 28px, 28px 28px, auto, auto;
}

/* Scan line (peps visible) */
.price-card::after{
  content:"";
  position:absolute;
  left:-35%;
  top:-20%;
  width: 70%;
  height: 140%;
  z-index:1;
  pointer-events:none;
  opacity:0;
  transform: translateX(-30%) rotate(14deg);
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(79,160,201,.18) 38%,
    rgba(124,58,237,.14) 52%,
    transparent 100%
  );
  filter: blur(0.2px);
  transition: opacity .2s ease;
}

/* content au-dessus */
.price-card > *{ position: relative; z-index: 2; }

/* Hover */
@media (hover:hover){
  .price-card:hover{
    transform: translateY(-6px);
    box-shadow: 0 28px 72px rgba(2,6,23,.14);
    border-color: rgba(15,23,42,.16);
  }
  .price-card:hover::after{
    opacity: 1;
    animation: bpScan 1.2s ease-in-out both;
  }
}
@keyframes bpScan{
  0%   { transform: translateX(-35%) rotate(14deg); }
  100% { transform: translateX(110%) rotate(14deg); }
}

/* Focus accessibility */
.price-card:focus-within{
  outline: 2px solid rgba(79,160,201,.45);
  outline-offset: 3px;
}

/* Popular card — beaucoup plus standout */
.price-card.popular{
  border: 1px solid rgba(79,160,201,.45);
  box-shadow: 0 30px 90px rgba(79,160,201,.16);
}
.price-card.popular::before{
  opacity: .78;
}
.price-card.popular::after{
  opacity: 1;
}

/* Gradient border on popular (sans changer le HTML) */
.price-card.popular{
  background:
    linear-gradient(rgba(255,255,255,.76), rgba(255,255,255,.76)) padding-box,
    linear-gradient(135deg, rgba(79,160,201,.70), rgba(124,58,237,.55)) border-box;
  border: 1.5px solid transparent;
}

/* Tier badge */
.tier-kicker{
  font:700 11px/1 "Poppins",sans-serif;
  color:#0f172a;
  background: rgba(79,160,201,.14);
  border: 1px solid rgba(79,160,201,.32);
  padding:6px 10px;
  border-radius:9999px;
  display:inline-flex;
  align-items:center;
  gap:8px;
}

/* Petit point “architecte” à gauche du badge */
.tier-kicker::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:999px;
  background: rgba(79,160,201,.85);
  box-shadow: 0 10px 22px rgba(79,160,201,.18);
}

.tier-name{
  font-family:"Pacifico", cursive;
  font-weight:400;
  font-size:30px;
  line-height:1.2;
  letter-spacing:.02em;
  color:#111;
}

.price-wrap{ display:flex; align-items:flex-end; gap:6px; }
.price-main{
  font:800 clamp(28px,5vw,44px)/.9 "Poppins",sans-serif;
  color:#0f172a;
}
.price-card.popular .price-main{ color: #5A8FE0; }

.price-suffix{ color:#6B7280; font:400 14px/1.2 "Poppins",sans-serif; }
.price-note{ color:#6B7280; font:400 12px/1.4 "Poppins",sans-serif; min-height:18px; }

.features{ margin:6px 0 10px; display:grid; gap:8px; }
.feature{
  display:flex;
  gap:10px;
  color:#111;
  font:400 14px/1.6 "Poppins",sans-serif;
}
.feature:before{
  content:"";
  width:18px;
  height:18px;
  margin-top:2px;
  border-radius:6px;
  background: rgba(15,23,42,.06);
  border: 1px solid rgba(15,23,42,.10);

  /* check dessiné en CSS */
  box-shadow: 0 10px 22px rgba(2,6,23,.06);
  position: relative;
}
.feature:after{
  content:"";
  position:absolute;
  display:none;
}

/* On injecte un check via pseudo sur le bloc (sans icon lib) */
.feature{
  position: relative;
}
.feature::after{
  content:"";
  position:absolute;
  left:7px;
  top:8px;
  width:6px;
  height:10px;
  border-right:2px solid rgba(79,160,201,.85);
  border-bottom:2px solid rgba(79,160,201,.85);
  transform: rotate(45deg);
}

/* Motion reduce */
@media (prefers-reduced-motion: reduce){
  .price-card, .toggle-btn{ transition:none !important; }
  .price-card::after{ animation:none !important; }
}

/* =========================
   Add-ons (Blueprint + icons pro)
   ========================= */

.addons{
  font:400 12px/1.2 "Poppins",sans-serif;
  width:min(1200px,92%);
  margin:34px auto 0;
}

.addons h3{
  font:600 16px/1.2 "Poppins",sans-serif;
  margin:0 0 12px;
  color:#111;
}

.addons-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}
@media (max-width:800px){ .addons-grid{ grid-template-columns:1fr; } }

.addon-card{
  position: relative;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 14px 36px rgba(2,6,23,.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

/* blueprint light */
.addon-card::before{
  content:"";
  position:absolute;
  inset:0;
  opacity:.50;
  pointer-events:none;
  background:
    linear-gradient(to right, rgba(15,23,42,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15,23,42,.05) 1px, transparent 1px);
  background-size: 26px 26px, 26px 26px;
}
.addon-card > *{ position: relative; z-index: 2; }

@media (hover:hover){
  .addon-card:hover{
    transform: translateY(-4px);
    box-shadow: 0 20px 52px rgba(2,6,23,.12);
    border-color: rgba(15,23,42,.16);
  }
}

/* Title + icon container */
.addon-title{
  font:600 14px/1.2 "Poppins",sans-serif;
  color:#0f172a;
  display:flex;
  align-items:center;
  gap:10px;
}

/* Icon “blueprint” via CSS ::before (no emojis) */
.addon-title::before{
  content:"";
  width:34px;
  height:34px;
  border-radius: 12px;
  background: rgba(79,160,201,.12);
  border: 1px solid rgba(79,160,201,.22);
  box-shadow: 0 12px 26px rgba(79,160,201,.14);
  flex: 0 0 34px;

  /* icon drawn with mask (works on modern browsers) */
  -webkit-mask: var(--addon-ic) center / 18px 18px no-repeat;
          mask: var(--addon-ic) center / 18px 18px no-repeat;
  background-color: rgba(79,160,201,.80);
}

/* Different icons per add-on (SVG masks inline) */
.addon-team{ --addon-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M16 11a4 4 0 1 0-3.999-4A4 4 0 0 0 16 11Zm-8 0a3 3 0 1 0-3-3a3 3 0 0 0 3 3Zm8 2c-3.33 0-6 1.34-6 3v2h12v-2c0-1.66-2.67-3-6-3Zm-8 1c-2.67 0-5 1.01-5 2.25V20h6v-1c0-1.72 1.3-3.06 3.29-3.85A8.7 8.7 0 0 0 8 14Z'/%3E%3C/svg%3E"); }

.addon-storage10{ --addon-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2C7.59 2 4 3.79 4 6v12c0 2.21 3.59 4 8 4s8-1.79 8-4V6c0-2.21-3.59-4-8-4Zm0 2c3.87 0 6 .99 6 2s-2.13 2-6 2S6 7.01 6 6s2.13-2 6-2Zm0 16c-3.87 0-6-.99-6-2V9.97c1.48 1.01 3.98 1.53 6 1.53s4.52-.52 6-1.53V18c0 1.01-2.13 2-6 2Z'/%3E%3C/svg%3E"); }

.addon-storage50{ --addon-ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2C7.59 2 4 3.79 4 6v12c0 2.21 3.59 4 8 4s8-1.79 8-4V6c0-2.21-3.59-4-8-4Zm0 2c3.87 0 6 .99 6 2s-2.13 2-6 2S6 7.01 6 6s2.13-2 6-2Zm0 16c-3.87 0-6-.99-6-2V9.97c1.48 1.01 3.98 1.53 6 1.53s4.52-.52 6-1.53V18c0 1.01-2.13 2-6 2ZM11 13h2v6h-2v-6Zm0-3h2v2h-2V10Z'/%3E%3C/svg%3E"); }

/* price in add-ons */
.addon-price{
  font:700 20px/1 "Poppins",sans-serif;
  color:#111;
  margin:8px 0 6px;
}
.addon-price span{
  font:400 12px/1.2 "Poppins",sans-serif;
  color:#6B7280;
}

.roadmap-note{
  width:min(1100px,92%);
  margin:16px auto 0;
  color:#6B7280;
  font:400 12px/1.5 "Poppins",sans-serif;
  text-align:center;
}

/* Tag "Planned" dans les features */
.feature .feat-tag{
  display:inline-flex;
  align-items:center;
  height:20px;
  padding:0 10px;
  margin-right:8px;
  border-radius:999px;
  font-size:11px;
  font-weight:600;
  letter-spacing:.06em;
  text-transform:uppercase;
  line-height:1;
}

.feature .feat-tag.planned{
  background: rgba(79,160,201,.12);
  border: 1px solid rgba(79,160,201,.28);
  color: rgba(15,23,42,.82);
}

/* --- Planned tag: rendu propre & aligné --- */
.feature{
  position: relative;
  padding-left: 28px; /* ton carré/check à gauche */
}

/* on force l'alignement horizontal */
.feature.is-planned{
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

/* le texte prend la place et wrap normalement */
.feature .feat-text{
  flex: 1;
  min-width: 0;
}

/* badge compact, pas "bloc" */
.feature .feat-tag{
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  height: 18px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .10em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  margin-top: 2px; /* aligne sur la 1ère ligne du texte */
}

.feature .feat-tag.planned{
  background: rgba(79,160,201,.10);
  border: 1px solid rgba(79,160,201,.28);
  color: rgba(15,23,42,.78);
}

.piya-training-pricing{
  width:min(1200px,92%);
  margin: 34px auto 0;
}

.training-head{
  width: min(1100px, 92%);
  margin: 0 auto 14px;
  text-align: left;
}

.training-title{
  margin: 0 0 6px;
}

.training-sub{
  margin: 0;
  font: 300 15.5px/1.65 "Poppins", sans-serif;
  color: rgba(15,23,42,.70);
  max-width: 86ch;
}

/* Grid alignée sur les cards pricing */
.training-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 16px;
}

@media (max-width:1024px){
  .training-grid{ grid-template-columns: 1fr; }
}

/* Variant: carte formation (base = .price-card) */
.training-card{
  /* garde ta base blueprint + hover */
  padding-bottom: 20px; /* un peu plus de place pour le CTA */
}

/* Badge FORMATION (reprend tier-kicker) */
.training-kicker{
  background: rgba(124,58,237,.10);
  border: 1px solid rgba(124,58,237,.22);
  color: rgba(15,23,42,.86);
}

/* CTA bloc */
.training-actions{
  margin-top: 6px;
  display: grid;
  gap: 8px;
}

/* Bouton même DA “Voir plus” / CTA soft */
.training-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: fit-content;
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font: 500 14px/1 "Poppins", sans-serif;

  background: rgba(79,160,201,0.12);
  border: 1px solid rgba(79,160,201,0.45);
  color: #4FA0C9;

  transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.training-cta:hover{
  background: rgba(79,160,201,0.20);
  box-shadow: 0 6px 18px rgba(79,160,201,0.22);
  transform: translateY(-1px);
}

.training-cta:active{
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(79,160,201,0.18);
}

.training-hint{
  margin: 0;
  font: 300 12.5px/1.5 "Poppins", sans-serif;
  color: rgba(15,23,42,.60);
}

.training-hint strong{
  font-weight: 600;
  color: rgba(15,23,42,.85);
}


.piya-faq{
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  position: relative;
  padding: 64px 20px 96px;
  color: #0f172a;
  isolation: isolate; /* l'overlay reste dans la section */
  /* fond principal de la FAQ */
  background: transparent;
}

/* Titre / sous-titre */
.faq-header{
  max-width: 1100px;
  margin: 0 auto 24px;
}
.faq-title{
  margin: 0 0 8px;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 300;
}
.faq-sub{
  margin: 0 0 28px;
  opacity: .9;
}

/* ---------- Cartes (accordéon) ---------- */
.faq-accordion{
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.faq-item{
  background: #fff;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 16px;            /* arrondis comme le reste du site */
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
  overflow: hidden;               /* masque l'ouverture/fermeture */
}

/* Question (bouton) */
.faq-q{
  width: 100%;
  text-align: left;
  padding: 18px 56px 18px 20px;
  background: transparent;
  border: 0;
  font: inherit;
  cursor: pointer;
  position: relative;
  outline: none;
}

/* Icône + / – */
.faq-toggle{
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 999px;
  background: rgba(15,23,42,.06);
}
.faq-toggle::before,
.faq-toggle::after{
  content:""; position:absolute; left:50%; top:50%;
  width: 14px; height: 2px; background:#0f172a; border-radius:2px;
  transform: translate(-50%,-50%);
}
.faq-toggle::after{ transform: translate(-50%,-50%) rotate(90deg); }
.faq-item[open] .faq-toggle::after{ opacity:0; } /* passe de + à – */

/* Réponse (avec animation de hauteur) */
.faq-a{
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .3s ease;
  padding: 0 20px;
}
.faq-item[open] .faq-a{
  padding: 0 20px 18px;
  max-height: 400px; /* assez pour la plupart des réponses */
}

/* Responsive */
@media (max-width: 640px){
  .faq-q{ padding: 16px 52px 16px 16px; }
  .faq-a{ padding: 0 16px; }
  .faq-item[open] .faq-a{ padding: 0 16px 16px; }
}


/* ----------- FAQ basic spacing ----------- */
.piya-faq{
  padding: 64px 20px 96px;
}
.faq-header{
  max-width: 1100px; margin: 0 auto 24px;
}
.faq-title{
  margin:0 0 8px; font-size: clamp(28px,3.2vw,40px); font-weight: 300; font-family: "Pacifico", cursive;
}
.faq-sub{
  margin:0 0 28px; opacity:.9;
}

/* On laisse le fond global gérer la couleur */
#feedback, #faq { background: transparent !important; }


/* Accordéon (si pas déjà stylé chez toi) */
.faq-accordion{ max-width:1100px; margin:0 auto; display:grid; gap:14px; }
.faq-item{ background:#fff; border:1px solid rgba(15,23,42,.08); border-radius:16px; box-shadow:0 6px 20px rgba(0,0,0,.06); overflow:hidden; }
.faq-q{ width:100%; text-align:left; padding:18px 56px 18px 20px; background:transparent; border:0; font:inherit; cursor:pointer; position:relative; }
.faq-toggle{ position:absolute; right:16px; top:50%; transform:translateY(-50%); width:28px; height:28px; border-radius:999px; background:rgba(15,23,42,.06); }
.faq-toggle::before, .faq-toggle::after{ content:""; position:absolute; left:50%; top:50%; width:14px; height:2px; background:#0f172a; border-radius:2px; transform:translate(-50%,-50%); }
.faq-toggle::after{ transform:translate(-50%,-50%) rotate(90deg); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .35s ease, padding .3s ease; padding:0 20px; }
.faq-item[open] .faq-a{ padding:0 20px 18px; max-height:400px; }
@media (max-width:640px){ .faq-q{padding:16px 52px 16px 16px} .faq-a{padding:0 16px} .faq-item[open] .faq-a{padding:0 16px 16px} }

/* ===== SECTION CTA FINALE ===== */
.piya-cta-final{
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  position: relative;

  /* ⚠️ overflow: clip coupe le texte (Pacifico) sur iOS */
  overflow: visible;

  padding: 72px 20px 88px;
  color: #0f172a;
}

.cta-container{
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  padding-inline: 16px; /* ✅ sécurité mobile */
}

.cta-title{
  margin: 0 0 12px;
  font-size: clamp(28px, 3.8vw, 46px);
  font-weight: 300;
  line-height: 1.12;
  color: #0f172a;
  letter-spacing: -0.02em;
  text-align: center;

  /* ✅ anti “texte rongé” */
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  max-width: 22ch;          /* look premium + évite les lignes trop longues */
  margin-left: auto;
  margin-right: auto;
}

.cta-title::selection{ background: rgba(67,166,217,.18); }

/* Mot(s) “signature” en Pacifico via <span class="cta-script">…</span> */
.cta-title .cta-script{
  font-family: "Pacifico", cursive;
  font-weight: 400;
  color: #0f172a;

  /* ⚠️ ne PAS bloquer sur une seule ligne */
  white-space: normal;
}

/* Accent couleur via <span class="cta-accent">…</span> */
.cta-title .cta-accent{
  color: #0f172a;
  font-weight: 500;
}

/* Sous-titre */
.cta-sub{
  margin: 0 auto 22px;
  max-width: 820px;
  font-size: clamp(15px, 1.55vw, 18px);
  line-height: 1.7;
  font-weight: 300;
  color: rgba(15,23,42,.78);
  padding-inline: 4px;
}

.cta-sub strong{
  font-weight: 600;
  color: rgba(15,23,42,.92);
}

.cta-sub .cta-accent{
  color: #43a6d9;
  font-weight: 500;
}

.cta-stores{
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.store-link img{
  display: block;
  height: 50px;
  width: auto;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.20));
  border-radius: 10px;
}

/* ✅ Mobile : un poil plus d’air et titre moins “serré” */
@media (max-width: 640px){
  .piya-cta-final{
    padding: 64px 14px 76px;
  }
  .cta-title{
    line-height: 1.18;
    max-width: 18ch;
  }
}


/* ================= FOOTER PIYA (FIX: no white frame + more breathing + CTA) ================= */
.piya-footer{
  background: transparent;          /* ✅ supprime le grand carré blanc autour */
  padding: 36px 10px 42px;          /* ✅ plus d’air autour */
  font-family:"Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.footer-inner{
  max-width:1160px;
  margin:0 auto;

  display:grid;
  grid-template-columns: 2.1fr 1fr 1fr 1fr;
  gap:44px;                         /* ✅ plus espacé */

  background:#fff;
  border:1px solid rgba(15,23,42,.08);
  border-radius:36px;
  padding:42px;                     /* ✅ plus d’air dans la carte */
  box-shadow:0 16px 44px rgba(0,0,0,.08);
}

.footer-col{ display:flex; flex-direction:column; gap:12px; }

/* ===== FOOTER LOGO — SIZE & ALIGN FIX ===== */

.footer-brand{
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* aligne logo + texte à gauche */
  gap: 10px;
}

/* Logo plus présent, ancré visuellement */
.footer-logo{
  height: 96px;          /* 🔥 taille cible (ajuste 88–104 si besoin) */
  width: auto;
  max-width: 220px;     /* empêche qu’il déborde */
  object-fit: contain;
  display: block;
}

/* Texte bien aligné sous le logo */
.footer-desc{
  margin-top: 0;
  max-width: 420px;
}

/* Mobile : logo un peu réduit mais toujours lisible */
@media (max-width: 640px){
  .footer-logo{
    height: 80px;
    max-width: 200px;
  }
}

.footer-desc{
  font-size:14.5px;
  line-height:1.65;
  color:#374151;
  max-width:380px;
  margin: 2px 0 6px;
}

.footer-copy{
  font-size:13px;
  opacity:.75;
  margin: 10px 0 0;
}

/* CTA store */
.footer-cta{
  display:flex;
  align-items:center;
  gap:12px;
  margin-top: 10px;
}
.footer-cta a{ display:inline-flex; line-height:0; }
.footer-cta img{
  height:46px;
  width:auto;
  display:block;
  border-radius:12px;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.18));
}

/* Titles */
.footer-heading{
  font-size:14px;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:#111827;
  margin: 2px 0 8px;
}

/* Lists */
.footer-nav ul{
  list-style:none;
  padding:0;
  margin:0;
  display:flex;
  flex-direction:column;
  gap:10px;                         /* ✅ plus respirant */
}

.footer-nav a{
  font-size:14px;
  color:#374151;
  text-decoration:none;
}
.footer-nav a:hover{
  color:#43a6d9;
  text-decoration:underline;
}

/* Social */
.footer-social-links{ display:flex; gap:14px; }
.footer-social-links a{
  width:42px; height:42px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(67,166,217,.12);
  transition:transform .2s ease, background .2s ease;
}
.footer-social-links a:hover{
  background:#43a6d9;
  transform:translateY(-2px);
}
.footer-social-links svg{ width:20px; height:20px; fill:#43a6d9; }
.footer-social-links a:hover svg{ fill:#fff; }

/* Responsive */
@media (max-width: 1024px){
  .footer-inner{
    grid-template-columns: 1.4fr 1fr;
    gap:28px;
    padding:32px;
  }
}
@media (max-width: 640px){
  .piya-footer{ padding: 56px 16px 68px; }
  .footer-inner{
    grid-template-columns: 1fr;
    padding:24px;
    border-radius:28px;
    gap:22px;
  }
  @media (max-width: 640px){
  .footer-logo{
    height: 56px;
    max-width: 160px;
  }
}
}

/* ================= FOOTER — REDUCE EXCESS SPACE ================= */

/* 1) Réduit l’espace EXTERNE du footer */
.piya-footer{
  padding: 48px 20px 56px !important; /* avant: 72 / 84 */
}

/* 2) Réduit l’espace INTERNE de la carte */
.footer-inner{
  padding: 28px 32px !important;  /* avant: 42px */
  gap: 28px !important;           /* avant: 44px */
}

/* 3) Texte descriptif moins “aéré” */
.footer-desc{
  margin: 0 0 4px !important;
  line-height: 1.6 !important;
}

/* 4) Listes plus compactes */
.footer-nav ul{
  gap: 8px !important; /* avant: 10–12px */
}

/* 5) CTA stores plus proche du texte */
.footer-cta{
  margin-top: 6px !important;
}

/* ================= MOBILE ================= */
@media (max-width: 640px){
  .piya-footer{
    padding: 36px 16px 44px !important;
  }

  .footer-inner{
    padding: 22px !important;
    gap: 18px !important;
  }
}


/* NAVBAR RESPONSIVE (inspired by support.piya-web.com) */
@media (max-width: 900px){
  .piya-header{
    width: calc(100% - 32px);
    left:50%;
    transform:translateX(-50%);
    padding:0 18px;
    border-radius:9999px;
  }
  .piya-header .row{
    justify-content:space-between;
    gap:16px;
  }
  .piya-menu{
    position:fixed;
    top:72px;
    right:16px;
    left:16px;
    padding:16px 18px;
    border-radius:24px;
    background:rgba(255,255,255,.98);
    box-shadow:0 18px 50px rgba(15,23,42,.18);
    display:none;
    flex-direction:column;
    gap:10px;
    z-index:55;
  }
  .piya-menu a{
    padding:8px 0;
    font-size:15px;
  }
  .piya-menu.open{
    display:flex;
  }
  .piya-burger{
    display:inline-flex;
  }
}

/* END NAVBAR RESPONSIVE */


/* GLOBAL SECTION SPACING & TYPO ON SMALL SCREENS */
@media (max-width: 768px){
  section,
  .section,
  .piya-section,
  .piya-timeline,
  .piya-ess-block,
  .piya-faq,
  .piya-pricing,
  .legal-wrapper{
    padding-left:16px !important;
    padding-right:16px !important;
  }

  h1{
    font-size:clamp(26px, 8vw, 32px);
    line-height:1.15;
  }
  h2{
    font-size:clamp(20px, 6vw, 26px);
  }
  h3{
    font-size:clamp(17px, 4.8vw, 22px);
  }

  p,
  li{
    font-size:15px;
    line-height:1.7;
  }
}

/* END GLOBAL SECTION SPACING & TYPO */

.faq-title,
.faq-sub,
.faq-q{
  color:#000 !important;
}

@media (max-width: 768px){
  .piya-burger{
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
  }

  .piya-burger:focus,
  .piya-burger:focus-visible{
    outline: none !important;
    box-shadow: none !important;
  }
}



