:root{
  --ink:#0f172a;
  --paper:#fbfbf9;
  --white:#ffffff;
  --yellow:#f4b000;
  --yellow-2:#ffd65a;
  --card-border:#e7e2db;
  --shadow-soft:0 0 16px rgba(0,0,0,.094);
  --shadow-phone:0 2px 4px rgba(0,0,0,.20);
  --surface-shadow:0 8px 24px rgba(0,0,0,.125);

  /* Référence Flutter/Dart : 220 × 430. La hauteur vient toujours du ratio. */
  --hero-phone-w:clamp(150px,11.458vw,220px);
  --how-phone-w:clamp(132px,8.333vw,160px);
  --nearby-phone-w:clamp(124px,8.333vw,160px);

  --page-gutter:clamp(18px,5.2vw,100px);
  --section-title:clamp(22px,1.36vw,26px);
  --body-lg:clamp(14px,.84vw,16px);
  --body-sm:clamp(12px,.73vw,14px);
  --app-vh:1vh;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;overflow-x:hidden}
body{
  margin:0;
  min-width:320px;
  overflow-x:hidden;
  background:var(--paper);
  color:var(--ink);
  font-family:"Poppins",Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img{display:block;max-width:100%}
a{color:inherit}
button,input,textarea,select{font:inherit}

.skip-link{
  position:fixed;left:14px;top:14px;z-index:1000;
  transform:translateY(-160%);
  padding:10px 14px;border-radius:8px;background:var(--ink);color:#fff;text-decoration:none;
}
.skip-link:focus{transform:translateY(0)}

.flutter-page{
  width:100%;
  padding:12px;
  background:linear-gradient(180deg,#fbfbf9 0%,#fff 100%);
}
.flutter-surface{
  width:100%;
  overflow:hidden;
  background:linear-gradient(180deg,#fff 0%,#fbfbf9 100%);
  border-radius:10px 10px 0 0;
  box-shadow:var(--surface-shadow);
}
.ff-section{position:relative;width:100%;isolation:isolate}

/* ========================================================================== */
/* HERO — composition de référence Flutter, rendue fluide                     */
/* ========================================================================== */
.hero{
  min-height:900px;
  height:clamp(820px,46.875vw,900px);
  background:#fff;
  overflow:hidden;
}
.hero-gradient{
  position:absolute;inset:0 auto auto 0;z-index:0;
  width:100%;height:clamp(340px,20.833vw,400px);
  border-radius:10px 10px 0 0;
  background:linear-gradient(184deg,#f4b000 0%,#ffd65a 60%,#fbfbf9 80%,#fff 100%);
}
.hero-copy{
  position:absolute;z-index:7;
  left:clamp(40px,5.2vw,100px);
  top:clamp(72px,5.2vw,100px);
  width:min(52vw,780px);
}
.hero-brand{
  margin:clamp(16px,2.1vw,40px) 0 5px clamp(0px,1.55vw,30px);
  color:var(--ink);
  font-family:"Parisienne",cursive;
  font-size:clamp(48px,3.385vw,65px);
  font-weight:400;
  line-height:1.12;
  letter-spacing:.6px;
}
.hero-copy h1{
  margin:0 0 5px clamp(0px,4.15vw,80px);
  color:var(--ink);
  font-size:clamp(21px,1.355vw,26px);
  font-weight:600;
  line-height:1.25;
}
.hero-lead{
  margin:0 0 0 clamp(0px,4.15vw,80px);
  max-width:690px;
  color:var(--ink);
  font-size:clamp(12px,.73vw,14px);
  font-weight:400;
  line-height:1.18;
}
.hero-store-art{
  position:absolute;z-index:1;
  top:0;right:0;
  width:min(43vw,825px);
  height:clamp(400px,26.042vw,500px);
  object-fit:cover;
  object-position:center 66%;
  border-radius:0 8px 8px 8px;
  opacity:.90;
}
.store-actions{
  position:absolute;z-index:8;
  left:clamp(58px,7.3vw,140px);
  top:clamp(360px,20.833vw,400px);
  display:flex;align-items:center;
  gap:clamp(18px,2.6vw,50px);
}
.store-badge{
  display:flex;align-items:center;gap:10px;
  min-width:clamp(145px,8.6vw,165px);
  height:clamp(46px,2.71vw,52px);
  padding:6px 12px;
  border:1px solid rgba(255,255,255,.55);
  border-radius:8px;
  background:#0b0b0b;
  color:#fff;
  text-decoration:none;
  box-shadow:0 2px 7px rgba(0,0,0,.22);
  transition:transform .2s ease,box-shadow .2s ease;
}
.store-badge:hover,.store-badge:focus-visible{transform:translateY(-2px);box-shadow:0 8px 18px rgba(0,0,0,.24)}
.store-badge svg{width:25px;height:25px;fill:#fff;flex:0 0 auto}
.store-badge span{display:block;line-height:1}
.store-badge small{display:block;font-size:8px;line-height:1;letter-spacing:.25px}
.store-badge strong{display:block;margin-top:3px;font-size:clamp(15px,.94vw,18px);line-height:1.08;font-weight:500}

.hero-phone-stack{
  position:absolute;z-index:6;
  left:50%;bottom:clamp(178px,10.42vw,200px);
  width:min(48vw,760px);
  height:calc(var(--hero-phone-w) * 2.18);
  transform:translateX(-28%);
  pointer-events:none;
}
.hero-phone{
  position:absolute;
  width:var(--hero-phone-w);
  aspect-ratio:220/430;
  height:auto;
  object-fit:contain;
  filter:drop-shadow(0 9px 14px rgba(15,23,42,.18));
  transform-origin:50% 88%;
}
.hero-phone-a{left:14%;bottom:2%;z-index:4;transform:rotate(-12deg)}
.hero-phone-c{left:38%;bottom:8%;z-index:7;transform:rotate(1deg)}
.hero-phone-b{left:56%;bottom:1%;z-index:5;transform:rotate(11deg)}

.intro-copy{
  position:absolute;z-index:7;
  left:clamp(74px,11.46vw,220px);
  bottom:clamp(52px,3.65vw,70px);
  width:min(39vw,560px);
}
.intro-copy h2{
  margin:0 0 24px;
  color:var(--ink);
  font-size:var(--section-title);
  font-weight:700;
  line-height:1.1;
}
.intro-copy p{
  margin:0;
  color:var(--ink);
  font-size:var(--body-lg);
  font-weight:500;
  line-height:1.2;
}
.hero-bottom-art{
  position:absolute;z-index:3;
  left:50%;bottom:-1px;
  width:auto;
  height:clamp(100px,13vh,145px);
  max-width:min(24vw,330px);
  transform:translateX(-50%);
  object-fit:contain;
  object-position:center bottom;
}

/* ========================================================================== */
/* COMMENT ÇA MARCHE                                                          */
/* ========================================================================== */
.how{
  min-height:clamp(820px,79.5vh,900px);
  background:#fff;
  overflow:hidden;
}
.how-background{
  position:absolute;z-index:0;inset:0;
  width:100%;height:100%;
  object-fit:cover;object-position:center;
  opacity:.50;
}
.how-content{
  position:relative;z-index:2;
  padding:clamp(60px,6.5vh,70px) var(--page-gutter) clamp(90px,10vh,115px);
}
.how-heading{text-align:center}
.how-heading h2{
  margin:0;
  color:var(--ink);
  font-size:var(--section-title);
  font-weight:700;
  line-height:1.2;
}
.how-heading p{
  width:min(860px,100%);
  margin:10px auto clamp(46px,6.5vh,70px);
  padding-left:min(5.2vw,100px);
  color:var(--ink);
  text-align:center;
  font-size:var(--body-lg);
  font-weight:500;
  line-height:1.2;
}
.how-steps{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:clamp(26px,3.65vw,70px);
  max-width:1200px;
  margin:0 auto;
}
.how-step{position:relative;min-width:0;text-align:center}
.how-step:not(:last-child)::after{
  content:"→";
  position:absolute;
  top:calc(var(--how-phone-w) * 1.03);
  right:calc(clamp(26px,3.65vw,70px) * -.72);
  width:24px;
  transform:translateY(-50%);
  color:var(--ink);
  font-size:24px;
  line-height:1;
}
.how-phone{
  width:var(--how-phone-w);
  aspect-ratio:160/330;
  margin:0 auto 30px;
}
.how-phone img{
  width:100%;height:100%;
  object-fit:contain;
  border-radius:8px;
  filter:drop-shadow(0 2px 4px rgba(0,0,0,.20));
}
.step-copy{
  display:flex;align-items:flex-start;gap:20px;
  width:min(215px,100%);
  margin:0 auto;
  text-align:left;
}
.step-number{
  flex:0 0 35px;
  width:35px;height:35px;
  display:grid;place-items:center;
  border:1px solid var(--yellow);
  border-radius:50%;
  background:linear-gradient(180deg,var(--yellow),var(--yellow-2));
  box-shadow:var(--shadow-soft);
  font-size:16px;font-weight:700;line-height:1;
}
.step-copy>div{min-width:0;flex:1}
.step-copy h3{margin:0 0 22px;color:var(--ink);font-size:16px;font-weight:700;line-height:1.1}
.step-copy p{margin:0;color:var(--ink);font-size:12px;font-weight:400;line-height:1.2}
.how-bottom-art{
  position:absolute;z-index:1;left:50%;bottom:0;
  width:auto;height:clamp(70px,8vh,95px);
  max-width:48vw;
  transform:translateX(-50%);
  object-fit:contain;
}

/* ========================================================================== */
/* POURQUOI PREMIER ARRIVÉ                                                    */
/* ========================================================================== */
.why{
  min-height:1180px;
  height:clamp(1120px,63.5vw,1220px);
  padding-top:70px;
  background:#fff;
  overflow:hidden;
}
.why-copy{
  position:absolute;z-index:6;
  top:70px;right:clamp(60px,7.3vw,140px);
  width:min(35.5vw,680px);
}
.why-copy h2{margin:0;color:var(--ink);font-size:var(--section-title);font-weight:700;line-height:2.2}
.why-lead{margin:0;color:var(--ink);font-size:var(--body-lg);font-weight:500;line-height:1.2}
.benefits-row{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,170px));
  gap:clamp(18px,1.56vw,30px);
  margin-top:60px;
}
.benefits-row article{min-width:0}
.benefits-row img{width:50px;height:50px;object-fit:contain;border-radius:8px}
.benefits-row h3{margin:20px 0;color:var(--ink);font-size:16px;font-weight:700;line-height:1.1}
.benefits-row p{margin:0;color:var(--ink);font-size:12px;font-weight:400;line-height:1.2}

.why-photos{
  position:absolute;z-index:2;
  left:clamp(0px,1.8vw,34px);
  top:clamp(150px,10.8vw,215px);
  width:min(88vw,1640px);
  height:840px;
  pointer-events:none;
  transform-origin:left top;
}
.why-photo{
  position:absolute;
  width:clamp(136px,9.15vw,184px);
  aspect-ratio:2/3;
  height:auto;
  border:1px solid rgba(255,255,255,.75);
  border-radius:8px;
  background:#fff;
  object-fit:cover;
  box-shadow:var(--shadow-soft);
  will-change:transform;
}
.wp1{left:5.2%;top:1%;transform:rotate(7deg);z-index:1}
.wp2{left:2.3%;top:35.5%;transform:rotate(-13deg);transform-origin:12% 33%;z-index:2}
.wp3{left:14.5%;top:25.5%;transform:rotate(6deg);z-index:4}
.wp4{left:23.2%;top:6.6%;transform:rotate(-13deg);z-index:3}
.wp5{left:17.4%;top:50%;transform:rotate(-35deg);transform-origin:12% 33%;z-index:5}
.wp6{left:23.2%;top:50%;transform:rotate(37deg);transform-origin:12% 33%;z-index:6}
.wp7{left:40.7%;top:27.7%;transform:rotate(-15deg);transform-origin:12% 33%;z-index:7}
.wp8{left:40.7%;top:61%;transform:rotate(-28deg);transform-origin:12% 33%;z-index:8}
.wp9{left:46.5%;top:50%;transform:rotate(0deg);z-index:9}
.wp10{left:58.2%;top:42.8%;transform:rotate(-11deg);z-index:10}
.wp11{left:68.5%;top:55%;transform:rotate(16deg);z-index:11}
.wp12{left:81.8%;top:60.5%;transform:rotate(-26deg);transform-origin:12% 33%;z-index:12}
.why-bottom-art{
  position:absolute;z-index:3;
  left:30%;bottom:0;
  width:auto;height:clamp(90px,13vh,145px);
  object-fit:contain;
}


/* ========================================================================== */
/* 1500 → 1381 : resserrage léger de la composition “Pourquoi”               */
/* ========================================================================== */
@media (max-width:1500px) and (min-width:1381px){
  .why{min-height:1120px;height:clamp(1080px,64vw,1160px);padding-top:70px}
  .why-copy{top:72px;right:50px;width:min(38vw,620px)}
  .why-copy h2{line-height:1.5}
  .benefits-row{grid-template-columns:repeat(3,minmax(0,155px));gap:16px;margin-top:42px}
  .why-photos{top:245px;left:6px;width:min(85vw,1500px);height:760px}
  .why-photo{width:clamp(118px,8vw,166px)}
}

/* ========================================================================== */
/* 1380 → 981 : composition “Pourquoi” plus lisible                          */
/* ========================================================================== */
@media (max-width:1380px) and (min-width:981px){
  .why{
    height:auto;
    min-height:1030px;
    padding:68px 0 118px;
  }
  .why-copy{
    position:relative;
    top:auto;right:auto;
    width:min(100%,1140px);
    margin:0 auto;
    padding:0 var(--page-gutter);
    display:block;
  }
  .why-copy h2{line-height:1.32;margin-bottom:12px}
  .why-lead{max-width:840px;line-height:1.4}
  .benefits-row{
    grid-template-columns:repeat(3,minmax(190px,1fr));
    gap:16px;
    max-width:920px;
    margin-top:28px;
  }
  .benefits-row h3{margin:14px 0 8px}
  .why-photos{
    position:relative;
    left:auto;top:auto;
    width:min(100%,1120px);
    height:auto;
    margin:34px auto 0;
    padding:0 var(--page-gutter);
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:12px;
    transform:none;
  }
  .why-photo{
    position:relative;
    left:auto!important;top:auto!important;
    width:100%;
    max-width:none;
    aspect-ratio:2/3;
    transform-origin:center center;
  }
  .wp1{transform:rotate(5deg) translateY(4px)}
  .wp2{transform:rotate(-7deg) translateY(26px)}
  .wp3{transform:rotate(4deg) translateY(12px)}
  .wp4{transform:rotate(-6deg) translateY(6px)}
  .wp5{transform:rotate(-10deg) translateY(24px)}
  .wp6{transform:rotate(7deg) translateY(-2px)}
  .wp7{transform:rotate(-6deg) translateY(10px)}
  .wp8{transform:rotate(6deg) translateY(6px)}
  .wp9{transform:rotate(-4deg) translateY(18px)}
  .wp10{transform:rotate(7deg) translateY(2px)}
  .wp11{transform:rotate(-8deg) translateY(14px)}
  .wp12{transform:rotate(8deg) translateY(4px)}
  .why-bottom-art{left:auto;right:26px;height:108px;opacity:.82}
}

@media (max-width:1240px) and (min-width:981px){
  .why{min-height:1080px;padding-bottom:116px}
  .benefits-row{max-width:860px;grid-template-columns:repeat(3,minmax(0,1fr))}
  .why-photos{width:min(100%,1040px);grid-template-columns:repeat(5,minmax(0,1fr));margin-top:30px}
}

@media (max-width:1080px) and (min-width:981px){
  .why{min-height:1140px;padding-bottom:112px}
  .benefits-row{gap:14px}
  .why-photos{width:min(100%,920px);grid-template-columns:repeat(4,minmax(0,1fr));gap:12px 10px}
}


/* ========================================================================== */
/* COMMERCES AUTOUR DE TOI                                                    */
/* ========================================================================== */
.nearby{
  height:600px;
  overflow:visible;
  z-index:5;
}
.nearby-bg{
  position:absolute;z-index:0;inset:0;
  background:linear-gradient(139deg,#fbfbf9 0%,#ffd65a 20%,#f4b000 50%,#f4b000 60%,#ffd65a 80%,#fbfbf9 100%);
}
.nearby-copy{
  position:absolute;z-index:4;
  left:clamp(50px,7.3vw,140px);
  top:100px;
  width:min(42vw,650px);
}
.nearby-copy h2{margin:0 0 28px;color:var(--ink);font-size:var(--section-title);font-weight:700;line-height:1.1}
.nearby-copy p{margin:0;color:var(--ink);font-size:var(--body-lg);font-weight:500;line-height:1.2}
.nearby-tilted{
  position:absolute;z-index:5;
  right:clamp(-8px,2.4vw,52px);
  top:-40px;
  width:calc(var(--nearby-phone-w) * 3.32);
  display:grid;
  grid-template-columns:repeat(3,var(--nearby-phone-w));
  gap:30px;
  transform:rotate(-45deg);
  transform-origin:center center;
}
.nearby-tilted img{
  width:var(--nearby-phone-w);
  aspect-ratio:160/330;
  height:auto;
  object-fit:contain;
  border-radius:8px;
}
.phone-soft{filter:drop-shadow(0 0 16px rgba(0,0,0,.10))}
.phone-hard{filter:drop-shadow(0 2px 4px rgba(0,0,0,.22))}
.nearby-bottom-art{
  position:absolute;z-index:2;left:0;bottom:0;
  width:auto;height:clamp(130px,22vh,220px);
  object-fit:contain;
  object-position:left bottom;
}

/* ========================================================================== */
/* UNE SOLUTION POUR TOUS + FOOTER                                            */
/* ========================================================================== */
.solutions{
  height:1000px;
  background:#fff;
  overflow:hidden;
  z-index:2;
}
.solutions-glow{
  position:absolute;z-index:0;left:0;right:0;bottom:0;height:300px;
  background:linear-gradient(139deg,#fbfbf9 0%,#ffd65a 20%,#f4b000 50%,#f4b000 60%,#ffd65a 80%,#fbfbf9 100%);
}
.solutions-ribbon{
  position:absolute;z-index:1;right:0;bottom:240px;
  width:min(37vw,700px);height:auto;
  object-fit:contain;opacity:.30;
}
.solutions-side-art{
  position:absolute;z-index:1;left:0;bottom:80px;
  width:auto;height:clamp(200px,30vh,300px);
  object-fit:contain;
}
.solutions-content{position:relative;z-index:3;padding:80px var(--page-gutter) 0}
.solutions-heading{text-align:center}
.solutions-heading h2{margin:0;color:var(--ink);font-size:var(--section-title);font-weight:700;line-height:3}
.solutions-heading p{margin:0;color:var(--ink);font-size:var(--body-lg);font-weight:500;line-height:1.2}
.solution-cards{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:clamp(14px,1.56vw,26px);
  max-width:min(1220px,100%);
  margin:30px auto 0;
}
.solution-card{
  flex:0 1 clamp(158px,17vw,200px);
  max-width:200px;
  min-width:0;
  min-height:clamp(212px,15.5vw,252px);
  padding:clamp(10px,1vw,14px) clamp(8px,.85vw,12px);
  text-align:center;
  border:1px solid var(--card-border);
  border-radius:8px;
  background:linear-gradient(180deg,#fff 0%,#fdfcfa 45%,#f6f4f1 100%);
  box-shadow:0 4px 16px rgba(0,0,0,.094);
}
.solution-card img{width:clamp(78px,5.2vw,100px);height:clamp(78px,5.2vw,100px);margin:0 auto;border-radius:8px;object-fit:contain}
.solution-card h3{margin:12px 0;color:var(--ink);font-size:clamp(14px,.84vw,16px);font-weight:700;line-height:1.1}
.solution-card p{margin:0 0 4px;color:var(--ink);font-size:clamp(11px,.63vw,12px);font-weight:400;line-height:1.28}
.closing-signature{position:absolute;z-index:4;right:min(22vw,420px);bottom:232px;max-width:min(46vw,390px)}
.closing-signature>div{font-family:"Parisienne",cursive;font-size:35px;line-height:1.15}
.closing-signature p{margin:8px 0 0 58px;font-size:14px;font-weight:500;line-height:1.2;white-space:normal;max-width:290px}
.public-footer{
  position:absolute;z-index:5;left:0;right:0;bottom:0;
  height:130px;
  padding:0 clamp(34px,4.2vw,80px) 0 clamp(28px,2.6vw,50px);
  background:#0f172a;
  color:#fbfbf9;
  display:flex;align-items:center;justify-content:space-between;
}
.footer-brand{font-family:"Parisienne",cursive;font-size:30px;color:#fbfbf9;text-decoration:none;white-space:nowrap}
.footer-right{display:flex;align-items:center;gap:clamp(24px,2.7vw,52px);margin-left:auto}
.footer-links{display:flex;align-items:center;gap:clamp(10px,1.67vw,32px)}
.footer-links a{display:block;padding:10px;color:#fbfbf9;text-decoration:none;font-size:13px;white-space:nowrap}
.footer-social{display:flex;align-items:center;gap:10px}
.footer-social a{display:block;padding:10px;color:#fbfbf9}
.footer-social svg{display:block;width:30px;height:30px;fill:#fbfbf9}
.footer-links a:hover,.footer-links a:focus-visible,.footer-social a:hover,.footer-social a:focus-visible{text-decoration:underline;text-underline-offset:3px}

/* ========================================================================== */
/* 1500 → 1281 : desktop compact                                               */
/* ========================================================================== */
@media (max-width:1500px){
  :root{--hero-phone-w:clamp(145px,12.2vw,195px)}
  .hero-copy{left:70px;width:min(54vw,720px)}
  .hero-store-art{width:44vw}
  .hero-phone-stack{transform:translateX(-26%);width:min(54vw,790px)}
  .intro-copy{left:150px}
  .nearby-tilted{right:-18px;top:-10px}
  .closing-signature{right:240px;bottom:226px;max-width:330px}
}

/* ========================================================================== */
/* TABLETTE PAYSAGE / PETIT LAPTOP                                             */
/* ========================================================================== */
@media (max-width:1280px){
  :root{
    --hero-phone-w:clamp(140px,15vw,175px);
    --how-phone-w:clamp(132px,12.5vw,150px);
    --nearby-phone-w:clamp(115px,12.5vw,145px);
    --page-gutter:clamp(28px,5vw,64px);
  }
  .flutter-page{padding:8px}
  .hero{height:900px;min-height:900px}
  .hero-copy{left:35px;top:70px;width:58vw}
  .hero-store-art{width:46vw;height:430px}
  .store-actions{left:70px;top:390px;gap:24px}
  .hero-phone-stack{bottom:205px;transform:translateX(-24%);width:52vw}
  .intro-copy{left:70px;width:42vw}
  .hero-bottom-art{height:120px}

  .how{min-height:1000px}
  .how-heading p{padding-left:0;margin-bottom:48px}
  .how-steps{gap:28px}
  .how-step:not(:last-child)::after{right:-26px}
  .step-copy{gap:12px}
  .step-copy h3{margin-bottom:14px}


  .nearby-copy{left:70px;width:43vw}
  .nearby-tilted{right:-6px;top:28px;gap:22px}

  .solutions{height:1120px}
  .solution-cards{gap:14px;max-width:980px}
  .solution-card{flex-basis:clamp(150px,19vw,182px);max-width:182px;min-height:210px}
  .solutions-side-art{height:245px}
  .closing-signature{right:58px;bottom:220px;max-width:320px}
  .footer-right{gap:34px}.footer-links{gap:10px}
}

@media (max-width:1250px) and (min-width:981px){
  .solutions{height:1010px}
  .solution-cards{max-width:930px;gap:15px;margin-top:28px}
  .solution-card{flex-basis:clamp(156px,16.2vw,172px);max-width:172px;min-height:198px;padding:9px 8px}
  .solution-card img{width:72px;height:72px}
  .solution-card h3{font-size:14px}
  .solution-card p{font-size:11px;line-height:1.32}
  .solutions-ribbon{width:56vw;bottom:148px;right:8px;opacity:.22}
  .solutions-side-art{height:190px;bottom:106px;left:-10px;opacity:.86}
  .closing-signature{right:42px;bottom:214px;max-width:280px}
  .closing-signature p{margin:8px 0 0 14px;max-width:238px;font-size:13px}
}

/* ========================================================================== */
/* TABLETTE PORTRAIT / GRAND MOBILE                                            */
/* ========================================================================== */
@media (max-width:980px){
  :root{
    --hero-phone-w:clamp(118px,19vw,160px);
    --how-phone-w:clamp(125px,18vw,155px);
    --nearby-phone-w:clamp(105px,18vw,138px);
    --page-gutter:clamp(20px,4vw,38px);
  }
  .flutter-page{padding:0}
  .flutter-surface{border-radius:0;box-shadow:none}

  .hero{
    height:auto;
    min-height:1140px;
    padding-bottom:44px;
    overflow:hidden;
  }
  .hero-gradient{height:440px;border-radius:0}
  .hero-copy{left:24px;top:22px;width:calc(100% - 48px)}
  .hero-brand{margin:20px 0 6px;font-size:clamp(48px,7vw,58px)}
  .hero-copy h1{margin-left:0;font-size:clamp(20px,3vw,24px)}
  .hero-lead{margin-left:0;max-width:520px;font-size:13px;line-height:1.35}
  .desktop-break{display:none}
  .hero-store-art{
    top:265px;left:0;right:auto;
    width:100%;height:300px;
    object-position:center 70%;
    opacity:.54;
    border-radius:0;
  }
  .store-actions{left:24px;top:580px;gap:12px;flex-wrap:wrap;max-width:calc(100% - 48px)}
  .store-badge{min-width:150px}
  .hero-phone-stack{
    left:50%;bottom:248px;
    width:min(82vw,600px);
    height:calc(var(--hero-phone-w) * 2.15);
    transform:translateX(-42%);
  }
  .hero-phone-a{left:10%}.hero-phone-c{left:37%;bottom:6%}.hero-phone-b{left:58%}
  .intro-copy{left:24px;bottom:42px;width:min(72vw,560px)}
  .intro-copy h2{margin-bottom:16px}
  .intro-copy p{line-height:1.45}
  .hero-bottom-art{right:8px;left:auto;bottom:0;transform:none;height:105px;opacity:.72}

  .how{min-height:1520px}
  .how-content{padding:76px var(--page-gutter) 120px}
  .how-heading p{max-width:620px;margin-bottom:44px}
  .how-steps{grid-template-columns:repeat(2,minmax(0,1fr));gap:54px 44px;max-width:650px}
  .how-step:not(:last-child)::after{display:none}
  .how-phone{margin-bottom:22px}
  .step-copy{width:min(250px,100%)}
  .how-bottom-art{height:92px;max-width:70vw}

  .why{height:auto;min-height:0;padding:64px 0 130px}
  .why-copy{position:relative;top:auto;right:auto;width:auto;margin:0 var(--page-gutter);z-index:8}
  .why-copy h2{line-height:1.4;margin-bottom:12px}
  .why-lead{max-width:760px;line-height:1.45}
  .benefits-row{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:36px}
  .benefits-row article{display:grid;grid-template-columns:46px 1fr;gap:10px;align-items:start}
  .benefits-row img{width:46px;height:46px}
  .benefits-row h3{margin:2px 0 8px}
  .why-photos{
    position:relative;top:auto;left:auto;
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:8px 4px;
    width:calc(100% + 28px);height:auto;
    margin:58px -14px 0;
    transform:none;
  }
  .why-photo{position:relative;left:auto!important;top:auto!important;width:100%;height:auto;aspect-ratio:2/3;object-fit:cover}
  .why-bottom-art{left:auto;right:20px;height:105px}

  .nearby{height:960px;overflow:hidden}
  .nearby-copy{left:24px;top:56px;width:min(75vw,580px)}
  .nearby-copy p{line-height:1.45}
  .nearby-tilted{
    top:330px;right:50%;
    width:calc(var(--nearby-phone-w) * 3 + 34px);
    grid-template-columns:repeat(3,var(--nearby-phone-w));
    gap:18px;
    transform:translateX(50%) rotate(-28deg);
  }
  .nearby-bottom-art{height:150px;opacity:.78}

  .solutions{height:auto;min-height:1220px;padding-bottom:288px}
  .solutions-content{padding:56px var(--page-gutter) 0}
  .solutions-heading h2{line-height:1.4;margin-bottom:10px}
  .solution-cards{gap:16px;margin-top:34px;max-width:720px}
  .solution-card{flex-basis:clamp(150px,25vw,182px);max-width:182px;min-height:198px}
  .solutions-ribbon{width:64vw;bottom:202px;right:-6px;opacity:.22}
  .solutions-side-art{height:196px;bottom:116px;left:-10px;opacity:.74}
  .closing-signature{left:auto;right:28px;bottom:226px;max-width:290px}
  .closing-signature p{margin-left:0;white-space:normal;max-width:246px}
  .public-footer{height:165px;padding:18px 24px;align-items:flex-start;flex-direction:column;justify-content:center;gap:12px}
  .footer-right{width:100%;justify-content:space-between;gap:14px;flex-wrap:wrap}
  .footer-links{gap:2px;flex-wrap:wrap}.footer-links a{padding:4px 8px}.footer-social a{padding:4px}
}

/* ========================================================================== */
/* 930 → 641 : réduction des tuiles + meilleure respiration du bas de page    */
/* ========================================================================== */
@media (max-width:930px) and (min-width:641px){
  .solutions{min-height:960px;padding-bottom:252px}
  .solutions-content{padding:44px var(--page-gutter) 0}
  .solutions-heading h2{line-height:1.35;margin-bottom:8px}
  .solution-cards{gap:14px;max-width:520px;margin-top:26px}
  .solution-card{flex-basis:150px;max-width:150px;min-height:180px;padding:8px 7px}
  .solution-card img{width:64px;height:64px}
  .solution-card h3{font-size:13px;margin:10px 0}
  .solution-card p{font-size:10.5px;line-height:1.3}
  .solutions-ribbon{width:54vw;bottom:134px;right:10px;opacity:.24}
  .solutions-side-art{height:154px;bottom:126px;left:-8px;opacity:.80}
  .closing-signature{right:22px;bottom:210px;max-width:236px}
  .closing-signature>div{font-size:31px}
  .closing-signature p{margin:6px 0 0;max-width:238px;font-size:12px}
  .public-footer{height:148px;padding:14px 20px;align-items:center}
}

/* ========================================================================== */
/* 680 → 641 : texte au-dessus de la zone colorée, personnages mieux visibles */
/* ========================================================================== */
@media (max-width:680px) and (min-width:641px){
  .solutions{min-height:980px;padding-bottom:262px}
  .solution-cards{max-width:396px;gap:12px}
  .solution-card{flex-basis:160px;max-width:160px;min-height:186px}
  .solutions-ribbon{width:88vw;bottom:148px;right:-8px;opacity:.20}
  .solutions-side-art{height:122px;bottom:120px;left:-12px;opacity:.72}
  .closing-signature{left:18px;right:18px;bottom:214px;max-width:none;padding:10px 12px 8px;border-radius:16px;background:linear-gradient(180deg,rgba(255,255,255,.94),rgba(255,255,255,.78));backdrop-filter:blur(2px)}
  .closing-signature p{max-width:290px}
}

/* ========================================================================== */
/* MOBILE                                                                     */
/* ========================================================================== */
@media (max-width:640px){
  :root{
    --hero-phone-w:clamp(88px,28vw,108px);
    --how-phone-w:clamp(104px,31vw,128px);
    --nearby-phone-w:clamp(84px,27vw,103px);
    --page-gutter:clamp(16px,5vw,22px);
    --section-title:clamp(21px,6.2vw,24px);
    --body-lg:14px;
  }
  .hero{min-height:1110px;padding-bottom:36px}
  .hero-gradient{height:410px}
  .hero-copy{left:18px;top:18px;width:calc(100% - 36px)}
  .hero-brand{font-size:clamp(44px,13vw,52px);line-height:1.04}
  .hero-copy h1{font-size:clamp(18px,5.6vw,21px);line-height:1.25;max-width:94%}
  .hero-lead{font-size:12px;line-height:1.4;max-width:94%}
  .hero-store-art{top:250px;height:270px;object-position:59% 70%;opacity:.48}
  .store-actions{top:535px;left:18px;right:18px;max-width:none;justify-content:center;gap:10px}
  .store-badge{min-width:0;width:calc(50% - 5px);max-width:165px;padding-inline:9px}
  .store-badge svg{width:22px;height:22px}.store-badge strong{font-size:14px}.store-badge small{font-size:7px}
  .hero-phone-stack{
    bottom:265px;left:50%;
    width:min(82vw,316px);
    height:calc(var(--hero-phone-w) * 2.15);
    transform:translateX(-44%);
  }
  .hero-phone-a{left:8%}.hero-phone-c{left:35%;bottom:4%}.hero-phone-b{left:58%}
  .intro-copy{left:18px;bottom:58px;width:76%}
  .intro-copy h2{font-size:21px;margin-bottom:12px}
  .intro-copy p{font-size:13px;line-height:1.42}
  .hero-bottom-art{height:86px;right:-8px;opacity:.55}

  .how{min-height:1450px}
  .how-content{padding:62px var(--page-gutter) 115px}
  .how-heading p{font-size:13px;line-height:1.42;margin:10px auto 38px}
  .how-steps{display:flex;flex-direction:column;gap:30px;max-width:420px}
  .how-step{
    display:grid;
    grid-template-columns:var(--how-phone-w) minmax(0,1fr);
    align-items:center;
    gap:18px;
    text-align:left;
    padding:4px 0;
  }
  .how-step:nth-child(even){grid-template-columns:minmax(0,1fr) var(--how-phone-w)}
  .how-step:nth-child(even) .how-phone{grid-column:2;grid-row:1}
  .how-step:nth-child(even) .step-copy{grid-column:1;grid-row:1}
  .how-phone{margin:0;width:var(--how-phone-w)}
  .step-copy{width:100%;gap:10px;align-self:center}
  .step-number{width:32px;height:32px;flex-basis:32px;font-size:14px}
  .step-copy h3{font-size:14px;margin:0 0 8px;line-height:1.2}
  .step-copy p{font-size:11px;line-height:1.4}
  .how-bottom-art{height:72px;max-width:84vw}

  .why{min-height:0;padding:54px 0 112px}
  .why-lead{font-size:13px}
  .benefits-row{display:flex;flex-direction:column;gap:18px;margin-top:30px}
  .benefits-row article{display:grid;grid-template-columns:48px 1fr;gap:12px;align-items:start}
  .benefits-row h3{font-size:14px;margin:2px 0 6px}.benefits-row p{font-size:11px;line-height:1.35}
  .why-photos{
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:7px 2px;
    width:calc(100% + 24px);height:auto;
    margin:42px -12px 0;
    transform:none;
  }
  .why-bottom-art{height:82px;right:14px}

  .nearby{height:830px}
  .nearby-copy{left:18px;top:46px;width:calc(100% - 36px)}
  .nearby-copy h2{margin-bottom:16px}
  .nearby-copy p{font-size:13px;line-height:1.42;max-width:92%}
  .nearby-tilted{
    top:285px;right:50%;
    width:calc(var(--nearby-phone-w) * 3 + 28px);
    grid-template-columns:repeat(3,var(--nearby-phone-w));
    gap:14px;
    transform:translateX(52%) rotate(-20deg);
  }
  .nearby-bottom-art{height:105px;left:-8px;opacity:.70}

  .solutions{min-height:1040px;padding-bottom:258px}
  .solutions-content{padding:46px var(--page-gutter) 0}
  .solutions-heading p{font-size:13px;line-height:1.4}
  .solution-cards{gap:12px;margin-top:24px;max-width:334px}
  .solution-card{flex-basis:calc(50% - 6px);max-width:160px;min-height:190px;padding:9px 8px}
  .solution-card img{width:68px;height:68px}.solution-card h3{font-size:14px}.solution-card p{font-size:11px;line-height:1.35}
  .solution-card:last-child{flex-basis:min(154px,100%)}
  .solutions-ribbon{width:78vw;bottom:150px;right:4px;opacity:.22}
  .solutions-side-art{height:116px;bottom:122px;left:-12px;opacity:.68}
  .closing-signature{left:18px;right:18px;bottom:214px;max-width:none;padding:10px 12px 8px;border-radius:16px;background:linear-gradient(180deg,rgba(255,255,255,.94),rgba(255,255,255,.78));backdrop-filter:blur(2px)}
  .closing-signature>div{font-size:31px}.closing-signature p{margin:6px 0 0;font-size:12px;max-width:265px}
  .public-footer{height:158px;padding:14px 18px;gap:10px}
  .footer-brand{font-size:25px}
  .footer-right{align-items:center}.footer-links a{font-size:11px;padding:4px 6px}.footer-social svg{width:25px;height:25px}
}

@media (max-width:390px){
  :root{--hero-phone-w:clamp(88px,27vw,102px);--how-phone-w:108px;--nearby-phone-w:88px}
  .hero{min-height:1090px}
  .hero-brand{font-size:46px}
  .hero-copy h1{font-size:18px}
  .store-badge{height:44px}.store-badge strong{font-size:13px}
  .hero-phone-stack{bottom:270px;transform:translateX(-44%);width:min(82vw,300px)}
  .intro-copy{width:79%}.intro-copy h2{font-size:20px}.intro-copy p{font-size:12px}
  .how{min-height:1420px}
  .how-step{gap:14px}.step-copy{gap:8px}.step-copy h3{font-size:13px}.step-copy p{font-size:10.5px}
  .why{min-height:0}.why-photos{margin-left:-12px;transform:none}
  .nearby{height:800px}.nearby-tilted{top:288px;gap:12px}
  .solutions{min-height:1015px}.solution-card{min-height:182px}.solution-card img{width:66px;height:66px}
  .footer-links{max-width:250px}.footer-social{margin-left:auto}
}

@media (max-width:360px){
  .hero{min-height:1080px}
  .hero-store-art{height:255px}
  .store-actions{top:520px}
  .hero-phone-stack{bottom:278px}
  .how{min-height:1410px}
  .why{min-height:0}
  .nearby{height:790px}
  .solutions{min-height:1000px}
}



/* ========================================================================== */
/* V19 — TUILES COMPACTES DESKTOP + TABLETTE                                  */
/* Objectif : préserver le mobile <= 640px et réduire franchement la section  */
/* "Une solution pour tous" au-dessus du footer sur les écrans plus larges.  */
/* ========================================================================== */

/* Desktop large : 5 tuiles compactes sur une seule ligne. */
@media (min-width:1281px){
  .solutions{
    height:790px;
    min-height:790px;
  }
  .solutions-content{
    padding:54px var(--page-gutter) 0;
  }
  .solutions-heading h2{
    line-height:1.35;
    margin-bottom:8px;
  }
  .solution-cards{
    max-width:820px;
    gap:14px;
    margin-top:20px;
  }
  .solution-card{
    flex:0 0 136px;
    max-width:136px;
    min-height:158px;
    padding:8px 7px;
    border-radius:7px;
  }
  .solution-card img{
    width:56px;
    height:56px;
  }
  .solution-card h3{
    margin:8px 0 7px;
    font-size:12.5px;
    line-height:1.08;
  }
  .solution-card p{
    font-size:9.8px;
    line-height:1.24;
  }
  .closing-signature{
    right:clamp(64px,11vw,210px);
    bottom:166px;
    max-width:300px;
  }
  .closing-signature>div{font-size:32px}
  .closing-signature p{
    margin:6px 0 0 26px;
    max-width:250px;
    font-size:12.5px;
  }
}

/* Petit desktop / tablette paysage : toujours 5 tuiles sur une ligne. */
@media (min-width:981px) and (max-width:1280px){
  .solutions{
    height:800px;
    min-height:800px;
  }
  .solutions-content{
    padding:48px var(--page-gutter) 0;
  }
  .solutions-heading h2{
    line-height:1.35;
    margin-bottom:7px;
  }
  .solution-cards{
    max-width:760px;
    gap:12px;
    margin-top:20px;
  }
  .solution-card{
    flex:0 0 clamp(118px,11.8vw,132px);
    max-width:132px;
    min-height:152px;
    padding:7px 6px;
  }
  .solution-card img{
    width:52px;
    height:52px;
  }
  .solution-card h3{
    margin:7px 0 6px;
    font-size:12px;
    line-height:1.08;
  }
  .solution-card p{
    font-size:9.5px;
    line-height:1.22;
  }
  .closing-signature{
    right:32px;
    bottom:166px;
    max-width:250px;
  }
  .closing-signature>div{font-size:30px}
  .closing-signature p{
    margin:6px 0 0 8px;
    max-width:220px;
    font-size:12px;
  }
}

/* Tablette portrait / grande tablette : 3 + 2 tuiles, nettement plus petites. */
@media (min-width:641px) and (max-width:980px){
  .solutions{
    height:auto;
    min-height:840px;
    padding-bottom:238px;
  }
  .solutions-content{
    padding:40px var(--page-gutter) 0;
  }
  .solutions-heading h2{
    line-height:1.3;
    margin-bottom:7px;
  }
  .solutions-heading p{
    font-size:12px;
    line-height:1.3;
  }
  .solution-cards{
    max-width:430px;
    gap:11px;
    margin-top:20px;
  }
  .solution-card{
    flex:0 0 clamp(112px,18vw,126px);
    max-width:126px;
    min-height:148px;
    padding:7px 6px;
  }
  .solution-card img{
    width:50px;
    height:50px;
  }
  .solution-card h3{
    margin:7px 0 6px;
    font-size:12px;
    line-height:1.08;
  }
  .solution-card p{
    font-size:9.5px;
    line-height:1.22;
  }
  .closing-signature{
    bottom:178px;
  }
}


/* ========================================================================== */
/* V20 — réduction prioritaire du VISUEL interne des tuiles                   */
/* Les anciennes règles restent intactes ; ces règles finales prennent         */
/* volontairement la priorité sur desktop et tablette uniquement.              */
/* ========================================================================== */

/* Desktop : l’illustration ne doit plus dicter la hauteur de la tuile. */
@media (min-width:1281px){
  .solution-cards{
    max-width:760px;
    gap:12px;
  }
  .solution-card{
    flex:0 0 124px;
    max-width:124px;
    min-height:140px;
    padding:7px 6px 8px;
  }
  .solution-card img{
    width:42px;
    height:42px;
    margin:0 auto 2px;
  }
  .solution-card h3{
    margin:6px 0 5px;
    font-size:12px;
  }
  .solution-card p{
    font-size:9.4px;
    line-height:1.2;
  }
  .closing-signature{
    bottom:170px;
  }
}

/* Tablette paysage / petit desktop. */
@media (min-width:981px) and (max-width:1280px){
  .solution-cards{
    max-width:690px;
    gap:10px;
  }
  .solution-card{
    flex:0 0 clamp(108px,10.8vw,120px);
    max-width:120px;
    min-height:134px;
    padding:6px 5px 7px;
  }
  .solution-card img{
    width:40px;
    height:40px;
    margin:0 auto 2px;
  }
  .solution-card h3{
    margin:6px 0 5px;
    font-size:11.5px;
  }
  .solution-card p{
    font-size:9.2px;
    line-height:1.18;
  }
  .closing-signature{
    bottom:172px;
  }
}

/* Tablette portrait : 3 + 2, même logique compacte. */
@media (min-width:641px) and (max-width:980px){
  .solution-cards{
    max-width:390px;
    gap:10px;
  }
  .solution-card{
    flex:0 0 clamp(102px,16.8vw,114px);
    max-width:114px;
    min-height:130px;
    padding:6px 5px 7px;
  }
  .solution-card img{
    width:38px;
    height:38px;
    margin:0 auto 2px;
  }
  .solution-card h3{
    margin:5px 0 4px;
    font-size:11.5px;
  }
  .solution-card p{
    font-size:9.1px;
    line-height:1.18;
  }
  .closing-signature{
    bottom:182px;
  }
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
}

@media print{
  .skip-link,.store-actions,.footer-social{display:none!important}
  .flutter-page{padding:0}.flutter-surface{box-shadow:none}
}

/* ========================================================================== */
/* V21 — TUILES ULTRA-COMPACTES SUR TOUTES LES LARGEURS                       */
/* La réduction porte à la fois sur le visuel, la tuile et les espacements.   */
/* ========================================================================== */

/* Desktop large */
@media (min-width:1281px){
  .solutions{
    height:720px;
    min-height:720px;
  }
  .solutions-content{
    padding:46px var(--page-gutter) 0;
  }
  .solution-cards{
    max-width:680px;
    gap:10px;
    margin-top:18px;
  }
  .solution-card{
    flex:0 0 112px;
    max-width:112px;
    min-height:126px;
    padding:6px 5px 7px;
  }
  .solution-card img{
    width:36px;
    height:36px;
    margin:0 auto 1px;
  }
  .solution-card h3{
    margin:5px 0 4px;
    font-size:11.2px;
    line-height:1.05;
  }
  .solution-card p{
    font-size:8.7px;
    line-height:1.16;
  }
  .closing-signature{
    bottom:160px;
  }
}

/* Tablette paysage / petit desktop */
@media (min-width:981px) and (max-width:1280px){
  .solutions{
    height:730px;
    min-height:730px;
  }
  .solutions-content{
    padding:42px var(--page-gutter) 0;
  }
  .solution-cards{
    max-width:620px;
    gap:9px;
    margin-top:18px;
  }
  .solution-card{
    flex:0 0 104px;
    max-width:104px;
    min-height:120px;
    padding:6px 5px;
  }
  .solution-card img{
    width:34px;
    height:34px;
    margin:0 auto 1px;
  }
  .solution-card h3{
    margin:5px 0 4px;
    font-size:10.8px;
    line-height:1.05;
  }
  .solution-card p{
    font-size:8.5px;
    line-height:1.14;
  }
  .closing-signature{
    bottom:162px;
  }
}

/* Tablette portrait */
@media (min-width:641px) and (max-width:980px){
  .solutions{
    min-height:760px;
    padding-bottom:224px;
  }
  .solutions-content{
    padding:36px var(--page-gutter) 0;
  }
  .solution-cards{
    max-width:350px;
    gap:9px;
    margin-top:18px;
  }
  .solution-card{
    flex:0 0 98px;
    max-width:98px;
    min-height:116px;
    padding:5px 4px 6px;
  }
  .solution-card img{
    width:32px;
    height:32px;
    margin:0 auto 1px;
  }
  .solution-card h3{
    margin:4px 0 4px;
    font-size:10.5px;
    line-height:1.04;
  }
  .solution-card p{
    font-size:8.3px;
    line-height:1.14;
  }
  .closing-signature{
    bottom:170px;
  }
}

/* Mobile — réduction franche visible à 360 × 780 */
@media (max-width:640px){
  .solutions{
    min-height:900px;
    padding-bottom:248px;
  }
  .solutions-content{
    padding:38px var(--page-gutter) 0;
  }
  .solutions-heading h2{
    line-height:1.25;
    margin-bottom:7px;
  }
  .solutions-heading p{
    font-size:12px;
    line-height:1.28;
  }
  .solution-cards{
    max-width:250px;
    gap:10px;
    margin-top:20px;
  }
  .solution-card{
    flex:0 0 116px;
    max-width:116px;
    min-height:132px;
    padding:6px 5px;
  }
  .solution-card img{
    width:40px;
    height:40px;
    margin:0 auto 1px;
  }
  .solution-card h3{
    margin:5px 0 4px;
    font-size:11px;
    line-height:1.05;
  }
  .solution-card p{
    font-size:8.8px;
    line-height:1.16;
  }
  .solution-card:last-child{
    flex-basis:116px;
    max-width:116px;
  }
  .closing-signature{
    bottom:190px;
  }
}

@media (max-width:390px){
  .solutions{
    min-height:875px;
  }
  .solution-cards{
    max-width:238px;
    gap:8px;
  }
  .solution-card,
  .solution-card:last-child{
    flex-basis:112px;
    max-width:112px;
    min-height:126px;
  }
  .solution-card img{
    width:38px;
    height:38px;
  }
  .solution-card h3{
    font-size:10.8px;
  }
  .solution-card p{
    font-size:8.5px;
  }
}

/* ========================================================================== */
/* V22 — FOOTER À HAUTEUR DE CONTENU + TUILES ENCORE PLUS COMPACTES          */
/* Ces règles finales surchargent volontairement les réglages précédents.     */
/* ========================================================================== */

/* Footer : plus aucune hauteur forcée. Le fond noir épouse son contenu. */
.public-footer{
  height:auto !important;
  min-height:0 !important;
  padding-top:14px;
  padding-bottom:14px;
}

/* Desktop large */
@media (min-width:1281px){
  .solutions{
    height:680px;
    min-height:680px;
  }
  .solutions-content{
    padding-top:40px;
  }
  .solution-cards{
    max-width:620px;
    gap:9px;
    margin-top:16px;
  }
  .solution-card{
    flex:0 0 104px;
    max-width:104px;
    min-height:116px;
    padding:5px 4px 6px;
  }
  .solution-card img{
    width:32px;
    height:32px;
    margin:0 auto 1px;
  }
  .solution-card h3{
    margin:4px 0 3px;
    font-size:10.5px;
    line-height:1.04;
  }
  .solution-card p{
    font-size:8.2px;
    line-height:1.13;
  }
  .closing-signature{
    bottom:126px;
  }
  .public-footer{
    padding:14px clamp(34px,4.2vw,80px);
  }
}

/* Petit desktop / tablette paysage */
@media (min-width:981px) and (max-width:1280px){
  .solutions{
    height:690px;
    min-height:690px;
  }
  .solutions-content{
    padding-top:38px;
  }
  .solution-cards{
    max-width:570px;
    gap:8px;
    margin-top:16px;
  }
  .solution-card{
    flex:0 0 98px;
    max-width:98px;
    min-height:112px;
    padding:5px 4px 6px;
  }
  .solution-card img{
    width:30px;
    height:30px;
    margin:0 auto 1px;
  }
  .solution-card h3{
    margin:4px 0 3px;
    font-size:10.2px;
    line-height:1.04;
  }
  .solution-card p{
    font-size:8px;
    line-height:1.12;
  }
  .closing-signature{
    bottom:124px;
  }
  .public-footer{
    padding:13px 28px;
  }
}

/* Tablette portrait */
@media (min-width:641px) and (max-width:980px){
  .solutions{
    min-height:720px;
    padding-bottom:188px;
  }
  .solutions-content{
    padding-top:34px;
  }
  .solution-cards{
    max-width:326px;
    gap:8px;
    margin-top:16px;
  }
  .solution-card{
    flex:0 0 92px;
    max-width:92px;
    min-height:108px;
    padding:5px 4px;
  }
  .solution-card img{
    width:29px;
    height:29px;
    margin:0 auto 1px;
  }
  .solution-card h3{
    margin:4px 0 3px;
    font-size:10px;
    line-height:1.03;
  }
  .solution-card p{
    font-size:7.9px;
    line-height:1.12;
  }
  .closing-signature{
    bottom:132px;
  }
  .public-footer{
    padding:12px 18px 13px;
    gap:8px;
    justify-content:flex-start;
  }
}

/* Mobile */
@media (max-width:640px){
  .solutions{
    min-height:825px;
    padding-bottom:205px;
  }
  .solutions-content{
    padding-top:34px;
  }
  .solution-cards{
    max-width:220px;
    gap:8px;
    margin-top:16px;
  }
  .solution-card,
  .solution-card:last-child{
    flex:0 0 102px;
    max-width:102px;
    min-height:116px;
    padding:5px 4px 6px;
  }
  .solution-card img{
    width:34px;
    height:34px;
    margin:0 auto 1px;
  }
  .solution-card h3{
    margin:4px 0 3px;
    font-size:10.2px;
    line-height:1.04;
  }
  .solution-card p{
    font-size:8.1px;
    line-height:1.13;
  }
  .closing-signature{
    bottom:130px;
  }
  .public-footer{
    height:auto !important;
    min-height:0 !important;
    padding:12px 16px 14px;
    gap:8px;
    justify-content:flex-start;
  }
  .footer-brand{
    line-height:1.05;
  }
  .footer-right{
    gap:8px;
  }
}

@media (max-width:390px){
  .solutions{
    min-height:805px;
  }
  .solution-cards{
    max-width:212px;
    gap:8px;
  }
  .solution-card,
  .solution-card:last-child{
    flex-basis:98px;
    max-width:98px;
    min-height:112px;
  }
  .solution-card img{
    width:32px;
    height:32px;
  }
  .solution-card h3{
    font-size:10px;
  }
  .solution-card p{
    font-size:7.9px;
  }
  .public-footer{
    padding:11px 14px 13px;
  }
}

/* ========================================================================== */
/* V23 — ÉCHELLE FLUIDE DES TUILES + FOOTER COMPACT + SIGNATURE DÉGAGÉE       */
/* Les tuiles évoluent maintenant avec la largeur du viewport au lieu d'être  */
/* figées. Le mobile reste compact ; le desktop reprend une présence normale. */
/* ========================================================================== */

/* Footer : hauteur dictée uniquement par son contenu, avec respiration réduite. */
.public-footer{
  height:auto !important;
  min-height:0 !important;
  padding-block:10px !important;
}
.footer-brand{line-height:1 !important}
.footer-right{gap:clamp(10px,1.6vw,26px) !important}
.footer-links{gap:clamp(2px,.75vw,12px) !important}
.footer-links a{padding:5px 7px !important}
.footer-social{gap:4px !important}
.footer-social a{padding:4px !important}

/* Grand desktop : les cartes retrouvent une taille lisible et proportionnelle. */
@media (min-width:1281px){
  .solutions{
    height:clamp(760px,43vw,825px) !important;
    min-height:760px !important;
  }
  .solutions-content{
    padding-top:clamp(42px,3vw,58px) !important;
  }
  .solution-cards{
    --tile-w:clamp(144px,8.4vw,162px);
    max-width:min(980px,78vw) !important;
    gap:clamp(12px,1.05vw,20px) !important;
    margin-top:clamp(18px,1.45vw,28px) !important;
  }
  .solution-card{
    flex:0 1 var(--tile-w) !important;
    width:var(--tile-w) !important;
    max-width:var(--tile-w) !important;
    min-height:calc(var(--tile-w) * 1.12) !important;
    padding:calc(var(--tile-w) * .055) calc(var(--tile-w) * .05) !important;
  }
  .solution-card img{
    width:calc(var(--tile-w) * .34) !important;
    height:calc(var(--tile-w) * .34) !important;
    margin:0 auto calc(var(--tile-w) * .015) !important;
  }
  .solution-card h3{
    margin:calc(var(--tile-w) * .04) 0 calc(var(--tile-w) * .03) !important;
    font-size:clamp(12px,.76vw,14.5px) !important;
    line-height:1.08 !important;
  }
  .solution-card p{
    font-size:clamp(9.5px,.58vw,11px) !important;
    line-height:1.22 !important;
  }
  .closing-signature{
    right:clamp(70px,11vw,210px) !important;
    bottom:clamp(112px,7.4vw,142px) !important;
    max-width:310px !important;
  }
  .solutions-side-art{
    bottom:clamp(70px,5vw,96px) !important;
  }
  .public-footer{
    padding-inline:clamp(30px,4vw,72px) !important;
  }
}

/* Petit desktop / tablette paysage : réduction continue, pas de seuil brutal. */
@media (min-width:981px) and (max-width:1280px){
  .solutions{
    height:clamp(720px,61vw,780px) !important;
    min-height:720px !important;
  }
  .solutions-content{padding-top:clamp(38px,4vw,48px) !important}
  .solution-cards{
    --tile-w:clamp(126px,11.1vw,142px);
    max-width:min(850px,82vw) !important;
    gap:clamp(10px,1vw,14px) !important;
    margin-top:clamp(16px,1.8vw,22px) !important;
  }
  .solution-card{
    flex:0 1 var(--tile-w) !important;
    width:var(--tile-w) !important;
    max-width:var(--tile-w) !important;
    min-height:calc(var(--tile-w) * 1.12) !important;
    padding:calc(var(--tile-w) * .052) calc(var(--tile-w) * .045) !important;
  }
  .solution-card img{
    width:calc(var(--tile-w) * .33) !important;
    height:calc(var(--tile-w) * .33) !important;
    margin:0 auto 1px !important;
  }
  .solution-card h3{
    margin:5px 0 4px !important;
    font-size:clamp(11.2px,1vw,12.7px) !important;
    line-height:1.06 !important;
  }
  .solution-card p{
    font-size:clamp(8.8px,.78vw,10px) !important;
    line-height:1.18 !important;
  }
  .closing-signature{
    right:clamp(28px,5vw,58px) !important;
    bottom:clamp(108px,9vw,124px) !important;
    max-width:270px !important;
  }
  .solutions-side-art{bottom:76px !important}
  .public-footer{padding:9px 24px !important}
}

/* Tablette portrait : 3 + 2, mais les dimensions restent fluides. */
@media (min-width:641px) and (max-width:980px){
  .solutions{
    min-height:clamp(700px,92vw,780px) !important;
    padding-bottom:190px !important;
  }
  .solutions-content{padding-top:clamp(32px,4.4vw,40px) !important}
  .solution-cards{
    --tile-w:clamp(108px,14vw,126px);
    max-width:calc(var(--tile-w) * 3 + 28px) !important;
    gap:clamp(8px,1.3vw,12px) !important;
    margin-top:16px !important;
  }
  .solution-card{
    flex:0 1 var(--tile-w) !important;
    width:var(--tile-w) !important;
    max-width:var(--tile-w) !important;
    min-height:calc(var(--tile-w) * 1.14) !important;
    padding:6px 5px !important;
  }
  .solution-card img{
    width:calc(var(--tile-w) * .31) !important;
    height:calc(var(--tile-w) * .31) !important;
  }
  .solution-card h3{
    margin:4px 0 !important;
    font-size:clamp(10.5px,1.35vw,11.7px) !important;
  }
  .solution-card p{
    font-size:clamp(8.2px,1.05vw,9.2px) !important;
    line-height:1.16 !important;
  }
  .closing-signature{
    right:18px !important;
    bottom:112px !important;
    max-width:235px !important;
  }
  .solutions-side-art{bottom:72px !important}
  .public-footer{
    padding:9px 16px 10px !important;
    gap:6px !important;
  }
}

/* Mobile : garder le rendu compact apprécié, mais dégager les personnages. */
@media (max-width:640px){
  .solutions{
    min-height:800px !important;
    padding-bottom:168px !important;
  }
  .solutions-content{padding-top:32px !important}
  .solution-cards{
    --tile-w:clamp(94px,28vw,104px);
    max-width:calc(var(--tile-w) * 2 + 10px) !important;
    gap:8px !important;
    margin-top:15px !important;
  }
  .solution-card,
  .solution-card:last-child{
    flex:0 1 var(--tile-w) !important;
    width:var(--tile-w) !important;
    max-width:var(--tile-w) !important;
    min-height:calc(var(--tile-w) * 1.12) !important;
    padding:5px 4px !important;
  }
  .solution-card img{
    width:calc(var(--tile-w) * .31) !important;
    height:calc(var(--tile-w) * .31) !important;
  }
  .solution-card h3{
    margin:4px 0 3px !important;
    font-size:clamp(9.8px,2.9vw,10.5px) !important;
  }
  .solution-card p{
    font-size:clamp(7.7px,2.25vw,8.3px) !important;
    line-height:1.12 !important;
  }

  /* Signature au-dessus des personnages : aucun chevauchement. */
  .closing-signature{
    left:16px !important;
    right:16px !important;
    bottom:176px !important;
    max-width:none !important;
    padding:9px 11px 8px !important;
    border-radius:14px !important;
    background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(255,255,255,.84)) !important;
  }
  .closing-signature>div{font-size:28px !important}
  .closing-signature p{
    margin:5px 0 0 !important;
    max-width:265px !important;
    font-size:11px !important;
  }
  .solutions-side-art{
    height:102px !important;
    bottom:68px !important;
    left:-10px !important;
  }
  .solutions-ribbon{
    bottom:170px !important;
    opacity:.17 !important;
  }

  /* Footer noir compact : deux lignes utiles, sans grand vide vertical. */
  .public-footer{
    padding:8px 14px 9px !important;
    gap:5px !important;
    justify-content:flex-start !important;
  }
  .footer-brand{font-size:22px !important}
  .footer-right{gap:6px !important}
  .footer-links a{font-size:10px !important;padding:3px 5px !important}
  .footer-social svg{width:22px !important;height:22px !important}
}

@media (max-width:390px){
  .solutions{min-height:780px !important}
  .solution-cards{--tile-w:clamp(92px,27vw,100px)}
  .closing-signature{bottom:172px !important}
  .solutions-side-art{height:98px !important;bottom:66px !important}
}
