:root{
  --text:#111;
  --muted:#444;
  --line:rgba(0,0,0,.20);
  --teal:#7ec6c0;
  --teal2:#5aa9a3;
  --accent:#ff5a3c;
  --shadow:0 18px 55px rgba(0,0,0,.14);
  --container:1200px;
}
.hero-nav{
    gap: 14px;
    right: 16px;
    top: 14px;
  }

  .hero-link{
    font-size: 13px;
  }

  .collection-title{
    font-size: 30px;
    letter-spacing: 0.20em;
  }

  .collection-grid{
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .collection-img{
    width: 180px;
    height: 180px;
  }

  .pill{
    width: 180px;
    height: 40px;
    font-size: 13px;
  }

  .contact-layout{
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .wix-form{
    width: 100%;
    margin-left: 0;
  }

  .row2{
    grid-template-columns: 1fr;
  }
}

*{ box-sizing:border-box; }

html,body{
  height:100%;
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:Montserrat, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:#fff;
}

a{
  color:inherit;
}

.container{
  width:min(var(--container), calc(100% - 2rem));
  margin:0 auto;
}

.container.narrow{
  width:min(980px, calc(100% - 2rem));
}

/* HERO */
.hero{
  position:relative;
  height:260px;
  overflow:hidden;
  background:#fff;
}

.hero-bg{
  position:absolute;
  inset:0;
  background:url("../img/banniere-3.avif") center/cover no-repeat;
}

.hero-nav{
  position:absolute;
  top:24px;
  right:56px;
  z-index:2;
  display:flex;
  gap:28px;
  align-items:center;
  letter-spacing:.02em;
}

.hero-link{
  text-decoration:none;
  font-size:16px;
  color:var(--accent);
}

.hero-link.active{
  text-decoration:none;
}

.section{
  padding:50px 0;
}

/* ===== COLLECTION ===== */
.collection{
  padding-top:40px;
}

.collection-title{
  font-family:Cinzel, serif;
  font-weight:400;
  letter-spacing:0.40em;
  text-align:center;
  font-size:46px;
  margin:22px 0 34px 0;
  color:#333;
}

.collection-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:60px 80px;
  justify-items:center;
  align-items:start;
  padding-bottom:30px;
  max-width:900px;
  margin:0 auto;
}

.collection-item{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:16px;
}

.collection-img{
  width:210px;
  height:210px;
  background-size:contain;
  background-repeat:no-repeat;
  background-position:center;
}

/* Application au centre */
.app-item .collection-img{
  width:160px;
  height:260px;
  background-size:contain;
  background-repeat:no-repeat;
  background-position:center;
}

.pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:170px;
  height:36px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.55);
  text-decoration:none;
  font-size:12px;
  font-weight:600;
  color:#111;
  background:#fff;
  transition:all .2s ease;
}

.pill:hover{
  background:#f7f7f7;
  transform:translateY(-1px);
}

/* Placement des 5 blocs */
.collection-item:nth-child(1){
  grid-column:1;
  grid-row:1;
}

.collection-item:nth-child(2){
  grid-column:3;
  grid-row:1;
}

.collection-item.app-item{
  grid-column:2;
  grid-row:2;
}

.collection-item:nth-child(4){
  grid-column:1;
  grid-row:3;
}

.collection-item:nth-child(5){
  grid-column:3;
  grid-row:3;
}

/* Images collection */
.img-sportswear{
  background-image:url("../img/collection-sportswear.avif");
}

.img-streetwear{
  background-image:url("../img/collection-streetwear.avif");
}

.img-enfant{
  background-image:url("../img/collection-enfant.avif");
}

.img-accessoires{
  background-image:url("../img/collection-accessoires.avif");
}

.img-application{
  background-image:url("../img/app-9.jpeg");
}

/* STORY */
.story-full{
  position:relative;
  height:520px;
  overflow:hidden;
  background:#fff;
}

.story-bg{
  position:absolute;
  inset:0;
  background:url("../img/histoire.avif") center/cover no-repeat;
  filter:saturate(1.02);
}

.story-box{
  position:relative;
  width:440px;
  max-width:calc(100% - 2rem);
  background:rgba(126,198,192,.95);
  color:#fff;
  padding:26px 26px 20px 26px;
  margin:40px auto 0 auto;
  box-shadow:0 12px 40px rgba(0,0,0,.20);
}

.story-text{
  font-family:Allura, cursive;
  font-size:18px;
  line-height:1.2;
}

.story-head{
  margin:0 0 8px 0;
  font-weight:600;
}

.story-text p{
  margin:10px 0;
}

.btn-outline{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:160px;
  height:38px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.40);
  background:rgba(255,255,255,.15);
  color:#1a1a1a;
  text-decoration:none;
  font-family:Montserrat;
  font-weight:700;
  letter-spacing:.06em;
  font-size:12px;
  margin:14px auto 0 auto;
}

/* GALERIE */
.gallery-single{
  display:flex;
  justify-content:center;
  padding:40px 0 80px 0;
}

.gallery-image{
  width:520px;
  max-width:90%;
  display:block;
  height:auto;
}

/* CONTACT */
.contact{
  padding-top:10px;
  padding-bottom:40px;
}

.contact-layout{
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:start;
  column-gap:110px;
  min-height:420px;
}

.contact-title{
  font-family:Oswald, sans-serif;
  font-size:56px;
  margin:0;
  letter-spacing:.01em;
}

.ig{
  display:inline-flex;
  margin-top:8px;
  text-decoration:none;
}

.instagram-icon{
  width:28px;
  height:28px;
  display:block;
}

.wix-form{
  width:460px;
  max-width:100%;
  margin-left:auto;
  padding-top:10px;
}

.wix-form label{
  display:block;
  margin:16px 0;
}

.wix-form span{
  display:block;
  font-size:11px;
  color:#333;
  margin-bottom:4px;
}

.row2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

input, textarea{
  width:100%;
  border:1px solid rgba(0,0,0,.55);
  padding:10px 10px;
  font:inherit;
  font-size:12px;
  background:#fff;
  outline:none;
}

textarea{
  resize:none;
  height:120px;
}

.send-row{
  display:flex;
  justify-content:flex-end;
  margin-top:8px;
}

.send{
  background:#5a9f99;
  border:0;
  color:#fff;
  padding:7px 26px;
  font-size:12px;
  cursor:pointer;
}

.bottom-line{
  height:1px;
  background:rgba(0,0,0,.30);
  margin-top:44px;
}

/* TOAST */
.toast{
  position:fixed;
  left:50%;
  bottom:18px;
  transform:translateX(-50%);
  background:rgba(255,255,255,.95);
  border:1px solid rgba(0,0,0,.15);
  padding:.75rem .95rem;
  border-radius:12px;
  box-shadow:var(--shadow);
  max-width:min(560px, calc(100% - 2rem));
}

/* TABLETTE */
@media (max-width:980px){
  .hero-nav{
    right:18px;
    top:18px;
    gap:18px;
  }

  .collection-grid{
    gap:40px 40px;
    max-width:760px;
  }

  .collection-img{
    width:180px;
    height:180px;
  }

  .app-item .collection-img{
    width:140px;
    height:220px;
  }

  .contact-layout{
    column-gap:40px;
  }
}

/* MOBILE */
@media (max-width:760px){
  .hero{
    height:210px;
  }

  .collection-title{
    font-size:34px;
    letter-spacing:0.28em;
    margin:14px 0 22px 0;
  }

  .collection-grid{
    grid-template-columns:1fr;
    gap:34px;
    max-width:100%;
  }

  .collection-item,
  .collection-item.app-item,
  .collection-item:nth-child(1),
  .collection-item:nth-child(2),
  .collection-item:nth-child(4),
  .collection-item:nth-child(5){
    grid-column:auto;
    grid-row:auto;
  }

  .collection-img{
    width:220px;
    height:220px;
  }

  .app-item .collection-img{
    width:160px;
    height:230px;
  }

  .pill{
    width:180px;
  }

  .story-full{
    height:620px;
  }

  .story-box{
    margin-top:60px;
    width:92%;
    padding:22px 18px 16px 18px;
  }

  .story-text{
    font-size:17px;
  }

  .contact-layout{
    grid-template-columns:1fr;
    row-gap:24px;
    min-height:unset;
  }

  .wix-form{
    margin-left:0;
    width:100%;
  }

  .contact-title{
    font-size:48px;
  }

  .row2{
    grid-template-columns:1fr;
  }

  textarea{
    height:140px;
  }
}

@media (max-width:420px){
  .hero{
    height:190px;
  }
}
/* ===== APP PAGE ===== */

.hero-bg-app{
background:linear-gradient(90deg,#ff5f7b,#f9a35b);
}

.app-grid{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:40px;
margin-top:40px;
}

.app-card{
text-align:center;
}

.app-card img{
width:220px;
border-radius:20px;
box-shadow:0 10px 30px rgba(0,0,0,.15);
}

.app-card h3{
font-family:Oswald;
margin-top:16px;
}

.app-feature{
display:grid;
grid-template-columns:1fr 1fr;
gap:60px;
align-items:center;
}

.app-feature-image img{
width:100%;
border-radius:30px;
box-shadow:0 20px 50px rgba(0,0,0,.15);
}

.app-download{
display:flex;
justify-content:center;
gap:20px;
margin-top:40px;
}
/* ===== BOUTONS COMPATIBLES DANS LA PAGE APP ===== */

.app-compatible-inline{
  max-width: 700px;
  margin: 20px auto 10px auto;
}

.compat-inline-grid{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  align-items: stretch;
}

/* Carte produit */
.compat-inline-card{
  text-align: center;
  display:flex;
  flex-direction:column;
  align-items:center;

  background:#ffffff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:18px;

  padding:14px 12px 16px 12px;

  box-shadow:0 8px 18px rgba(0,0,0,.05);
  transition:transform .2s ease, box-shadow .2s ease;
}

.compat-inline-card:hover{
  transform:translateY(-3px);
  box-shadow:0 14px 28px rgba(0,0,0,.10);
}

/* Image */
.compat-inline-card img{
  width:95px;
  height:95px;
  object-fit:contain;
  display:block;
  margin:0 auto 10px auto;
}

/* Nom produit */
.compat-inline-card h3{
  margin:0 0 8px 0;
  font-family: Oswald, sans-serif;
  font-size:20px;
  line-height:1.1;
}

/* Description */
.compat-inline-card p{
  margin:0 0 12px 0;
  font-size:13px;
  line-height:1.35;
  font-weight:400;
  min-height:70px;
}

/* Bouton */
.compat-inline-card .pill{
  width:100%;
  max-width:120px;
  height:32px;
  font-size:11px;
  margin-top:auto;
}

/* ===== TABLETTE ===== */

@media (max-width:980px){

  .compat-inline-grid{
    grid-template-columns: repeat(3,1fr);
  }

}

/* ===== MOBILE ===== */

@media (max-width:640px){

  .app-compatible-inline{
    max-width:100%;
  }

  .compat-inline-grid{
    grid-template-columns: repeat(2,1fr);
    gap:20px 14px;
  }

  .compat-inline-card{
    padding:12px 10px 14px 10px;
  }

  .compat-inline-card img{
    width:90px;
    height:90px;
  }

  .compat-inline-card h3{
    font-size:18px;
  }

  .compat-inline-card p{
    min-height:auto;
  }

  .compat-inline-card .pill{
    max-width:110px;
  }

}


/* =========================================================
   MOBILE / TABLETTE OPTIMISÉ — VERSION FINALE
========================================================= */

/* Desktop refinement with single top link */
.hero-nav{
  justify-content: flex-end;
}

/* ---------- TABLETTE ---------- */
@media (max-width: 980px){

  .container{
    width:min(var(--container), calc(100% - 1.5rem));
  }

  .container.narrow{
    width:min(100%, calc(100% - 1.5rem));
  }

  .hero{
    height:220px;
  }

  .hero-nav{
    top:16px;
    right:18px;
    left:18px;
    gap:16px;
    justify-content:center;
  }

  .hero-link{
    font-size:14px;
  }

  .section{
    padding:38px 0;
  }

  .collection-title{
    font-size:34px;
    letter-spacing:0.24em;
    margin:12px 0 22px 0;
  }

  .collection-grid{
    max-width:760px;
    gap:40px 34px;
  }

  .collection-img{
    width:180px;
    height:180px;
  }

  .app-item .collection-img{
    width:135px;
    height:220px;
  }

  .story-full{
    height:auto;
    min-height:520px;
    padding:22px 0;
  }

  .story-box{
    width:88%;
    margin:24px auto;
    padding:22px 20px 18px 20px;
  }

  .story-text{
    font-size:17px;
    line-height:1.25;
  }

  .gallery-single{
    padding:24px 0 56px 0;
  }

  .gallery-image{
    width:460px;
    max-width:92%;
  }

  .contact-layout{
    grid-template-columns:1fr;
    row-gap:28px;
    min-height:unset;
  }

  .contact-title{
    font-size:46px;
  }

  .wix-form{
    width:100%;
    margin-left:0;
  }

  .row2{
    grid-template-columns:1fr 1fr;
    gap:14px;
  }

  .bottom-line{
    margin-top:28px;
  }

  /* Page app */
  .app-grid{
    grid-template-columns:repeat(2, 1fr);
    gap:24px;
    margin-top:18px;
  }

  .app-card img{
    width:190px;
    max-width:100%;
  }

  .app-feature{
    grid-template-columns:1fr;
    gap:28px;
  }

  .app-download{
    flex-wrap:wrap;
    gap:14px;
    margin-top:24px;
  }

  .compat-inline-grid{
    grid-template-columns:repeat(3, 1fr);
    gap:16px;
  }

  .compat-inline-card{
    padding:12px 10px 14px 10px;
  }

  .compat-inline-card img{
    width:88px;
    height:88px;
  }

  .compat-inline-card h3{
    font-size:18px;
  }

  .compat-inline-card p{
    min-height:62px;
  }
}

/* ---------- MOBILE ---------- */
@media (max-width: 760px){

  body{
    overflow-x:hidden;
  }

  .container,
  .container.narrow{
    width:calc(100% - 1.25rem);
  }

  .hero{
    height:180px;
  }

  .hero-nav{
    top:12px;
    right:12px;
    left:12px;
    gap:10px;
    justify-content:center;
  }

  .hero-link{
    font-size:12px;
    line-height:1;
    padding:4px 0;
  }

  .section{
    padding:28px 0;
  }

  .collection{
    padding-top:22px;
  }

  .collection-title{
    font-size:28px;
    letter-spacing:0.18em;
    margin:8px 0 18px 0;
  }

  .collection-grid{
    grid-template-columns:1fr;
    gap:26px;
    max-width:100%;
  }

  .collection-item,
  .collection-item.app-item,
  .collection-item:nth-child(1),
  .collection-item:nth-child(2),
  .collection-item:nth-child(4),
  .collection-item:nth-child(5){
    grid-column:auto;
    grid-row:auto;
  }

  .collection-img{
    width:190px;
    height:190px;
  }

  .app-item .collection-img{
    width:145px;
    height:220px;
  }

  .pill{
    width:180px;
    height:38px;
    font-size:12px;
  }

  .story-full{
    min-height:560px;
    height:auto;
    display:flex;
    align-items:flex-start;
    padding:18px 0;
  }

  .story-box{
    width:calc(100% - 1.25rem);
    margin:22px auto;
    padding:18px 16px 14px 16px;
  }

  .story-text{
    font-size:16px;
    line-height:1.22;
  }

  .btn-outline{
    width:160px;
    height:38px;
    font-size:12px;
  }

  .gallery-single{
    padding:18px 0 38px 0;
  }

  .gallery-image{
    width:100%;
    max-width:320px;
  }

  .contact{
    padding-top:0;
    padding-bottom:28px;
  }

  .contact-layout{
    grid-template-columns:1fr;
    row-gap:18px;
  }

  .contact-title{
    font-size:40px;
  }

  .instagram-icon{
    width:30px;
    height:30px;
  }

  .wix-form{
    width:100%;
    margin-left:0;
    padding-top:0;
  }

  .wix-form label{
    margin:12px 0;
  }

  .wix-form span{
    font-size:11px;
  }

  .row2{
    grid-template-columns:1fr;
    gap:0;
  }

  input,
  textarea{
    font-size:14px;
    padding:12px 10px;
  }

  textarea{
    height:130px;
  }

  .send-row{
    justify-content:center;
    margin-top:12px;
  }

  .send{
    width:160px;
    padding:10px 18px;
    font-size:13px;
  }

  /* PAGE APP */
  .app-grid{
    grid-template-columns:1fr;
    gap:18px;
    margin-top:10px;
  }

  .app-card img{
    width:170px;
    max-width:100%;
  }

  .app-card h3{
    margin-top:12px;
    margin-bottom:8px;
  }

  .app-feature{
    grid-template-columns:1fr;
    gap:22px;
  }

  .app-feature-image img{
    border-radius:22px;
  }

  .app-download{
    flex-direction:column;
    align-items:center;
    gap:10px;
    margin-top:20px;
  }

  .app-download .pill{
    width:100%;
    max-width:220px;
  }

  .app-compatible-inline{
    max-width:100%;
    margin:14px auto 8px auto;
  }

  .compat-inline-grid{
    grid-template-columns:repeat(2, 1fr);
    gap:14px;
  }

  .compat-inline-card{
    padding:12px 10px 14px 10px;
    border-radius:16px;
  }

  .compat-inline-card img{
    width:82px;
    height:82px;
    margin-bottom:8px;
  }

  .compat-inline-card h3{
    font-size:17px;
    margin-bottom:6px;
  }

  .compat-inline-card p{
    font-size:12px;
    line-height:1.35;
    min-height:auto;
    margin-bottom:10px;
  }

  .compat-inline-card .pill{
    max-width:110px;
    width:100%;
    height:34px;
    font-size:11px;
  }
}

/* ---------- PETITS TÉLÉPHONES ---------- */
@media (max-width: 420px){

  .hero{
    height:165px;
  }

  .hero-link{
    font-size:11px;
  }

  .collection-title{
    font-size:24px;
    letter-spacing:0.14em;
  }

  .collection-img{
    width:170px;
    height:170px;
  }

  .app-item .collection-img{
    width:130px;
    height:205px;
  }

  .pill{
    width:170px;
    font-size:11px;
  }

  .story-text{
    font-size:15px;
  }

  .contact-title{
    font-size:34px;
  }

  .compat-inline-grid{
    grid-template-columns:1fr;
  }

  .compat-inline-card{
    max-width:260px;
    margin:0 auto;
  }
}
