/*=========================== 
Google Font Link
=============================*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/*=========================== 
CSS Reset
=============================*/
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
body{
    color: #444;
    overflow-x: hidden;
    background-color: #000;
}
section{
    padding: 80px 0;
}
h1{font-size: 60px;}
h2{font-size: 36px;}
h3{font-size: 25px;}
h4{font-size: 20px;}
h5{font-size: 18px;}
h6{font-size: 16px;}

h2,h3,h4,h5{
    color: #F5F5F6;
}
p{
    color: #86868B;
}

.hightitlewhite{
    font-size: 36px;
    color: #F5F5F6;
}
.hightitlepink{
    font-size: 36px;
    color: #EA397F;
}




/* Conteneur */
.caract-box {
    position: relative;
    border-radius: 20px;
    overflow: hidden; /* Permet au border-radius de s'appliquer */
}

/* Image avec arrondis */
.caract-box img {
    border-radius: 20px;
    width: 100%;
    display: block;
}

/* Texte sur l'image */
.caract-text {
    position: absolute;
    bottom: 12px;
    left: 15px;
    margin: 0;
    padding: 0;
    color: white;
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.2;
    text-shadow: 0 3px 6px rgba(0,0,0,0.4);
}


.caracteristiques-icons .icon-box {
    position: relative;
    padding-top: 20px;
    color: #F5F5F7;
}

.icon-line {
    width: 80%;
    height: 2px;
    background-color: #B71550; /* ta couleur rose TOTAZ */
    display: block;
    margin-bottom: 10px;
}

.icon-img {
    width: 30px;
    height: auto;
    margin-bottom: 8px;
    filter: brightness(0) invert(1); /* Icônes en blanc */
}

.icon-box p {
    font-size: 0.95rem;
    line-height: 1.45;
    margin: 0;
}

.icon-box strong {
    font-weight: 600;
}



/*=========================== 
Reusable Classes
=============================*/

/* Colors */
:root{
    --deep-pink: #EA397F;
    --light-pink: #EA397F;
}
/* Logo */
.logo{
    text-decoration: none;
    color: white;
    font-size: 2rem;
}
.logo:hover{
    color: white;
}
.logo .img-box{
    width: 2.25rem;
}

/* Social Links */
.social-links ul{
    list-style: none;
}
.social-links ul li{
    border-radius: 5px;
    background-color: #1b1b1b;
    padding: 20px;
    cursor: pointer;
    margin: 0 5px;
    position: relative;
}
.social-links ul li a .icon{
    text-decoration: none;
    font-size: 20px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: white;
}
.social-links ul li:hover{
    background-color: black;
}
.social-links ul li:hover .icon{
    color: var(--light-pink);
}

/* Overlay */
.overlay{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

/* Buttons */
.button-1 a{
    font-size: 18px;
    border: 2px solid var(--deep-pink);
    border-radius: 30px;
    color: white;
    background-color: transparent;
    font-weight: 500;
}
.button-1 a:hover{
    background-color: var(--deep-pink);
    color: white!important;
    border-color: var(--deep-pink)!important;
}
.button-2 a{
    font-size: 18px;
    border: 2px solid var(--deep-pink);
    border-radius: 30px;
    color: white;
    background-color: var(--deep-pink);
    font-weight: 500;
}
.button-2 a:hover{
    background-color: transparent;
    color: var(--deep-pink)!important;
    border-color: var(--deep-pink)!important;
}
.button-3 a{
    font-size: 12px;
    border-radius: 30px;
    color: white;
    background-color: var(--deep-pink);
}
.button-3 a:hover{
    background-color: #dd6394;
    color: white;
    border-color: var(--deep-pink)!important;
}

/* Bouton principal (comme l’ancien .button-3 a) */
.button-3 button {
    font-size: 12px;
    border-radius: 30px;
    color: white;
    background-color: var(--deep-pink);
}

/* Effet hover */
.button-3 button:hover {
    background-color: #dd6394;
    color: white;
    border-color: var(--deep-pink)!important;
}





/* Section Title */
.section-title h2{
    font-weight: 700;
    padding-bottom: 40px;
}
.section-title p{
    font-size: 14px;
    font-weight: 500;
    padding: 0;
    line-height: 1px;
    margin: 0 0 5px 0;
    letter-spacing: 2px;
    color: #aaa;
}
.section-title p::after{
    content: "";
    width: 120px;
    height: 1px;
    display: inline-block;
    background: var(--deep-pink);
    margin: 4px 10px;
}

/* Card */
.card{
    box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 2px;
    border: none;
}

/*=========================== 
Navbar
=============================*/
.navbar{
    background-color: black;
    border-bottom: 1px solid #747474;
}
.navbar-nav .nav-item{
    margin: 5px 0.75rem;
}
.navbar-nav .nav-item .nav-link{
    font-size: 14px;
    text-decoration: none;
    color: white;
}
.navbar-nav .nav-item .nav-link:hover{
    color: var(--light-pink);
}
.navbar .menu-icon{
    color: white;
    font-size: 2.25rem;
}
.navbar-collapse.show .social-links{
    padding-bottom: 1rem;
}


/* Conteneur navbar plus "Apple" sans casser le mobile */
.navbar-inner{
  max-width: 1400px;
  margin: 0 auto;
  padding-left: clamp(16px, 4vw, 80px) !important;
  padding-right: clamp(16px, 4vw, 80px) !important;
}

/* Liens rapprochés */
.navbar-nav .nav-link {
  padding-left: 10px !important;
  padding-right: 10px !important;
}

/* Espace contrôlé avant le bouton */
.navbar-nav .nav-buy{
  margin-left: 10px !important;
}

/* Mobile: menu full black + pas d’espace en haut */
@media (max-width: 991px){
  .navbar-collapse{
    background:#000 !important;
    padding: 8px 0 !important;
    margin-top: 0 !important;
  }
  .navbar-nav .nav-item{
    margin: 0 !important;
  }
  .navbar-nav .nav-link{
    padding: 12px 0 !important;
    text-align: center;
  }
  .navbar-nav .nav-buy{
    margin: 10px 0 0 0 !important;
  }
}


/*=========================== 
Home
=============================*/
#home{
    height: 100vh;
    background-color: #000;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
}
#home .home-content{
    position: relative;
    z-index: 2;
    padding-top: 50px;
}
#home .home-content h1{
    color: #EA397F;
    text-shadow: 0px 0px black;
}
#home .home-content h4{
    color: #eee;
    font-weight: 500;
    font-size: 24px;
    text-shadow: 0px 0px black;
}

#home .home-content p{
    color: #86868B;
}
.home-img {
    max-width: 800px;   /* Taille maximale réduite */
    width: 100%;        /* Responsive */
    height: auto;       /* Garde les proportions */
    display: block;
    margin: 0 auto;     /* Centre l’image */
}

.pres-img {
    max-width: 600px;   /* Taille maximale réduite */
    width: 100%;        /* Responsive */
    height: auto;       /* Garde les proportions */
    display: block;
    margin: 0 auto;     /* Centre l’image */
}






#presentation .title h2{
    color: white;
}





/*===========================
Produit (style TOTAZ)
=============================*/
#produit{
  background: #161617;
  color: #F5F5F7;
}

.produit-title{
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 20px 0;
}

/* gros bloc noir arrondi */
.produit-wrapper{
  background: #000;
  border-radius: 22px;
  padding-bottom: 6rem ;
}

/* cards du haut */
.produit-card{
  padding: 10px 10px 0 10px;
}

.produit-img{
  width: min(260px, 80%);
  height: auto;
  margin: 0 auto 18px auto;
  display: block;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.7));
}

.produit-name{
  font-size: 1.2rem;
  font-weight: 700;
  margin: 6px 0 8px 0;
}

.produit-desc{
  font-size: 0.95rem;
  opacity: 0.9;
  line-height: 1.5;
  margin-bottom: 10px;
}

.produit-price{
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 18px;
  color: #F5F5F6;
}

.produit-price.muted{
  opacity: 0.85;
  font-weight: 500;
}

.produit-link{
  color: var(--deep-pink);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}
.produit-link:hover{
  text-decoration: underline;
  color: #EA397F;
}

/* séparation */
.produit-divider{
  height: 1px;
  background: rgba(255,255,255,0.15);
  margin: 34px auto;
  width: 92%;
}

/* liste icones */
.produit-features{
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: grid;
  gap: 60px;
  justify-content: center;
  text-align: center;
}

.produit-features li{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  line-height: 1.35;
  opacity: 0.95;
}

.produit-features img{
  width: 22px;
  height: auto;
  filter: brightness(0) invert(1);
}

/* responsive */
@media (max-width: 991px){
  .produit-wrapper{
    padding: 1.5rem;
  }
  .produit-divider{
    margin: 26px auto;
  }
}







/*=========================== 
Footer
=============================*/

footer {
    background: #000;
    color: white;
    font-family: "Inter", sans-serif;
}

/* Top */
.footer-top {
    padding: 60px 0 20px 0;
}

.footer-col {
    text-align: center;
    margin-bottom: 20px;
}

.footer-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #bbb;
}

.footer-text {
    margin: 0;
    margin-bottom: 8px;
    font-size: 12px;
    color: white;
}

/* Social icons */
.social-links ul {
    list-style: none;
    padding: 0;
    gap: 12px;
}

.social-links ul li img {
    width: 34px;
    height: auto;
    opacity: 0.9;
    transition: 0.3s ease;
}

.social-links ul li img:hover {
    opacity: 1;
}

/* Liens utiles */
.footer-links {
    padding: 0;
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li a {
    color: white;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: 0.3s;
}

.footer-links li a:hover {
    color: var(--deep-pink);
}

/* Divider */
.footer-divider {
    border-color: #86868B;
    margin: 35px auto;
    width: 100%;
}

/* Bottom */
.footer-bottom a {
    text-decoration: none;
    color: #bbb;
}

.footer-bottom a:hover {
    color: var(--deep-pink);
}

.footer-legal {
    margin-bottom: 6px;
    font-size: 14px;
}

.footer-copy {
    font-size: 14px;
    opacity: 0.9;
}

.social-links ul {
    justify-content: center;
    padding: 0;
    margin: 0;
    list-style: none;
}

.social-links ul li {
    margin: 0 8px;
}

.social-links ul li a i {
    font-size: 32px;       /* taille plus élégante */
    color: white;           /* icône blanche */
    transition: 0.3s ease;
}

.social-links ul li a i:hover {
    color: var(--deep-pink);
}


/* ===========================
APPLE SPACING + RESPONSIVE PATCH
à coller en fin de fichier
=========================== */

/* Largeur de lecture plus premium (Apple style) */
.container {
  max-width: 1100px;
}

/* Espacement vertical global des sections */
section{
  padding-block: clamp(64px, 8vw, 140px); /* respire sur desktop, compact sur mobile */
}

/* Gère les titres façon Apple */
h1{
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
h2{
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h3{
  font-size: clamp(1.2rem, 2.3vw, 1.7rem);
  line-height: 1.2;
}

/* Paragraphes plus lisibles + largeur max sur desktop */
p{
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  line-height: 1.7;
}
.title p, 
#caracteristiques p{
  max-width: 820px;
  margin-inline: auto;
}

/* Section title mieux espacée */
.section-title h2{
  padding-bottom: clamp(18px, 3vw, 36px);
  margin-bottom: clamp(20px, 3vw, 32px);
}

/* Home: espace padding top pour navbar fixed */
#home{
  padding-top: clamp(80px, 10vh, 140px);
}
#home .home-content h4{
  font-size: clamp(1rem, 2vw, 1.5rem);
}

/* Présentation: image et titre respirent */
#presentation .title h3{
  margin-top: clamp(12px, 2vw, 20px);
  margin-bottom: clamp(18px, 3vw, 28px);
}
.pres-img{
  margin-top: clamp(12px, 2vw, 24px);
}

/* Caractéristiques: espaces plus clean */
#caracteristiques .title{
  margin-bottom: clamp(26px, 4vw, 48px);
}
.caract-text{
  font-size: clamp(1rem, 2.5vw, 1.6rem);
}

/* Grille icônes "caracteristiques-icons" plus aérée */
.caracteristiques-icons{
  margin-top: clamp(32px, 6vw, 70px) !important;
  --bs-gutter-y: clamp(18px, 3vw, 28px);
}
.icon-line{
  width: 70%;
  margin-inline: auto;
}

/* Produit: air + padding interne */
.produit-wrapper{
  padding: clamp(24px, 4vw, 48px);
  padding-bottom: clamp(48px, 7vw, 90px);
}
.produit-top{
  margin-bottom: clamp(18px, 3vw, 32px);
}
.produit-features{
  gap: clamp(22px, 4vw, 60px);
}

/* Footer: un peu plus d’air */
.footer-top{
  padding-top: clamp(50px, 7vw, 90px);
  padding-bottom: clamp(14px, 3vw, 26px);
}
.footer-divider{
  margin-top: clamp(24px, 4vw, 36px);
  margin-bottom: clamp(18px, 3vw, 28px);
}

/* ========== RESPONSIVE FINESSE ========== */
@media (max-width: 991px){
  /* centre les textes quand on passe en colonne */
  .text-lg-start{
    text-align: center !important;
  }

  /* Caractéristiques images stackées: respire un peu plus */
  #caracteristiques .row.flex-lg-row > div{
    margin-bottom: 10px;
  }
}

@media (max-width: 576px){
  /* évite que ça colle trop sur mobile */
  section{
    padding-block: 56px;
  }
  .home-img{
    max-width: 95%;
  }
  .pres-img{
    max-width: 90%;
  }
}


/* ===========================
FIX PRODUIT MOBILE — TOTAZ
=========================== */
@media (max-width: 767px){

  /* 1) On réorganise le contenu du wrapper en colonne */
  .produit-wrapper{
    display: flex;
    flex-direction: column;
    gap: 30px; /* léger air entre chaque bloc */
  }

  /* 2) Les deux .row ne doivent plus "grouper" les éléments */
  .produit-top,
  .produit-bottom{
    display: contents;
  }

  /* 3) Ordre mobile :
        1. La Totaz
        2. Features La Totaz
        3. Bespoke
        4. Features Bespoke
  */
  .produit-top > div:nth-child(1){ order: 1; }
  .produit-bottom > div:nth-child(1){ order: 2; }

  .produit-top > div:nth-child(2){ order: 3; }
  .produit-bottom > div:nth-child(2){ order: 4; }

  /* 4) On masque la ligne centrale, qui serait mal placée */
  .produit-divider{
    display: none;
  }

  /* 5) Centrer les caractéristiques sur mobile */
  .produit-features{
    margin-top: 10px;
    text-align: center;
    gap: 25px;
  }

  /* 6) Un peu d’air en bas */
  .produit-card{
    margin-bottom: 10px;
  }
}
/* FIX NAVBAR FIXED QUI CACHE LE HERO */

#home{
  padding-top: 40px !important; /* espace hero */
  height: auto !important;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Réduction de l'espace horizontal entre les liens */
.navbar-nav .nav-link {
    padding-left: 12px !important;
    padding-right: 12px !important;
    font-size: 14px;
}

/* Réduction de l'espacement entre chaque <li> */
.navbar-nav .nav-item {
    margin-left: 4px !important;
    margin-right: 4px !important;
}

/* Bouton Acheter plus proche des liens */
.navbar-nav .nav-item.ms-3 {
    margin-left: 10px !important; /* réduit l’écart */
}

/* Navbar plus compacte verticalement */
.navbar {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    height: 56px !important;
}

/* Logo légèrement rapproché */
.navbar-brand {
    margin-right: 10px !important;
}


#home .home-content .home-glow{
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 28px !important;
    text-shadow:
        0 0 3px rgba(255,255,255,0.9),
        0 0 18px rgba(255,255,255,0.7),
        0 0 30px rgba(255,255,255,0.5) !important;
}
.home-content p {
    margin-top: 22px; /* espace plus confortable */
    font-size: 16px;
}

/* Animation Apple-like : fade + slide */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 2.5s cubic-bezier(0.22, 1, 0.36, 1); /* Smooth Apple */
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Variante : fade from left */
.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 2.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

/* Variante : fade from right */
.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 2.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}


/* ===========================
PAGE PRODUIT APPLE-LIKE
=========================== */

.product-page{
  background:#000;
  padding-top: 120px; /* laisse respirer sous la navbar */
  padding-bottom: 120px;
}

.product-container{
  max-width: 1200px;
}

/* LEFT sticky */
.sticky-product{
  position: sticky;
  top: 110px; /* hauteur navbar + air */
}

.product-left{
  background: transparent;
}

.product-title h2{
  color:#F5F5F6;
  font-weight:700;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.product-title h4{
  color:#9b9ba0;
  font-size: 1rem;
}

.product-image-wrap{
  margin-top: 20px;
  background: #111;
  border-radius: 18px;
  padding: 20px;
  display:flex;
  justify-content:center;
  align-items:center;
  min-height: 360px;
}

.product-image-wrap img{
  max-width: 90%;
  height:auto;
  filter: drop-shadow(0 12px 40px rgba(0,0,0,0.8));
}

/* dots mini */
.product-dots .dot{
  display:inline-block;
  width:6px;height:6px;border-radius:50%;
  background:rgba(255,255,255,0.2);
  margin: 0 4px;
}
.product-dots .dot.active{ background:#fff; }

/* RIGHT scroll options */
.product-right{
  display:flex;
  flex-direction:column;
  gap: 28px;
}

.option-block{
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.option-title{
  color:#F5F5F6;
  font-weight:700;
  font-size:1rem;
  margin-bottom: 14px;
}
.option-title span{
  color:#86868B;
  font-weight:500;
}

/* cards modèle */
.option-card{
  background:#0f0f10;
  border:1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 14px 16px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom: 10px;
  cursor:pointer;
  transition:.25s ease;
}
.option-card p{
  margin:0; font-size:.85rem; color:#D9D9D9;
}

.option-card .price{
  color:#D9D9D9; font-size:.85rem; font-weight:600;
}
.option-card.active{
  border-color: var(--deep-pink);
  box-shadow: 0 0 0 1px var(--deep-pink);
}

/* couleurs */
.color-row{
  display:flex;
  gap:10px;
  align-items:center;
  margin-bottom:8px;
}
.color-swatch{
  width:18px;height:18px;border-radius:50%;
  border:1px solid rgba(255,255,255,0.3);
  cursor:pointer;
}
.color-swatch.active{
  outline:2px solid var(--deep-pink);
  outline-offset:2px;
}

.option-sub{
  font-size:.85rem; color:#86868B; margin:0;
}

/* inputs/selects */
.field-label{
  font-size:.8rem; color:#86868B; margin-bottom:6px;
}
.option-field{
  width:100%;
  background:#0f0f10;
  border:1px solid rgba(255,255,255,0.15);
  color:#F5F5F6;
  padding:10px 12px;
  border-radius:8px;
  font-size:.9rem;
}

/* summary */
.summary-card{
  background:#0b0b0c;
  border-radius:12px;
  padding:16px;
}
.summary-line{
  font-size:.85rem; color:#86868B; margin-bottom:6px;
}
.summary-price{
  margin-top:12px;
  font-size:1.1rem;
  font-weight:700;
  color:#F5F5F6;
}

/* ===========================
RESPONSIVE
=========================== */
@media (max-width: 991px){
  .sticky-product{
    position: relative;
    top:auto;
  }
  .product-page{
    padding-top: 90px;
  }
  .product-image-wrap{
    min-height: 280px;
  }
}

/* FULL WIDTH PAGE PRODUIT */
#caracteristiques .container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#caracteristiques {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#caracteristiques img {
    width: 10%;
    height: auto;
    display: block;
}

/* PAGE PRODUIT APPLE STYLE */
#product-page {
    padding-top: 120px; /* pour compenser la navbar */
    padding-bottom: 120px;
    background: #000;
}

/* Layout Apple */
.product-layout {
    display: grid;
    grid-template-columns: 58% 42%;
    gap: 60px;
    width: 92%;
    max-width: 1800px;
    margin: auto;
}

/* LEFT */
.product-gallery {
    position: sticky;
    top: 120px;
}

.product-image {
    width: 100%;
    border-radius: 22px;
}

/* RIGHT PANEL */
.product-options {
    padding-right: 30px;
    padding-top: 80px;
}

.product-title {
    font-size: 34px;
    font-weight: 700;
    color: white;
}

.product-price {
    color: #F5F5F6;
    font-weight: 600;
    margin-bottom: 20px;
}

.product-price.final {
    font-size: 20px;
    margin-top: 20px;
}

hr {
    border-color: #000;
    margin: 50px 0;
}

.opt-title {
    color: white;
    font-size: 25px;
    font-weight: 600;
}

.opt-title span {
    color: #bbb;
    font-weight: 400;
}

/* Option cards Apple */
.option-card {
    border: 1px solid #F5F5F6;
    padding: 30px 20px;
    border-radius: 14px;
    margin-top: 12px;
    background: transparent;
    display: flex;
    justify-content: space-between;
    transition: .25s;
}

.option-card:hover {
    border-color: #EA397F;
}

.color-choice {
    display: flex;
    flex-direction: column; /* Texte au-dessus */
    align-items: flex-start; /* Alignement propre à gauche */
    gap: 8px; /* Espace entre texte et cercle */
    margin-bottom: 20px;
    cursor: pointer;
}

.color-label {
    font-size: 14px;
    font-weight: 600;
    color: #F5F5F6;
    margin: 0;
}

.color-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #1a1a1a;
    border: 2px solid #ffffff33;
    display: inline-block;
    cursor: pointer;
    transition: 0.2s;
}

.color-circle.active {
    border-color: #EA397F;
    box-shadow: 0 0 0 2px #EA397F55;
}

/* Inputs */
.input {
    width: 100%;
    background: transparent;
    border: 1px solid #fff;
    padding: 8px;
    border-radius: 10px;
    color: white;
    margin-top: 10px;
}

/* Delivery infos */
.delivery-info {
    list-style: none;
    padding-left: 0;
    color: #ddd;
    font-size: 14px;
}

/* Button */
.btn-buy {
    display: block;
    width: 100%;
    text-align: center;
    background: #EA397F;
    color: white;
    padding: 14px;
    border-radius: 30px;
    font-weight: 600;
    margin-top: 20px;
    text-decoration: none;
}

.btn-buy:hover {
    background: #ff4d97;
}

/* Responsive */
@media (max-width: 992px) {
    .product-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .product-gallery {
        position: relative;
        top: 0;
    }

    .product-options {
        padding-right: 0;
    }
}

.product-left {
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 34px;
    font-weight: 700;
    color: white;
    margin-bottom: 5px;
}

.product-price {
    font-size: 20px;
    font-weight: 600;
    color: #F5F5F6;
    margin-bottom: 30px;
}

/* Layout général */
.product-layout {
    display: grid;
    grid-template-columns: 65% 35%;   /* proportions Apple */
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
  
}

/* Colonne gauche sticky */
.product-left {
    position: sticky;
    top: 120px; /* laisse respirer sous la navbar */
    height: fit-content;
}

/* Pour que l'image ne dépasse pas */
.product-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Colonne droite : scroll naturel */
.product-options {
    padding-bottom: 300px;
}

/* --- Garder l’image grande comme avant --- */
.product-gallery {
    width: 100%;
}

.product-image {
    width: 100%;
    max-width: none !important;   /* supprime toute limitation */
    height: auto;
    display: block;
}

.input-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}

.input-group label {
    font-size: 14px;
    color: #e5e5e7;
    font-weight: 500;
}

.input {
    width: 100%;
    padding: 5px 14px;
    background: transparent;
    border: 1px solid #aaa;
    border-radius: 12px !important;  /* FORCÉ */
    color: #fff;
    font-size: 15px;
    outline: none;
    box-sizing: border-box;
}

.input:focus {
    border-color: #ea397f;
    outline: none;
}

.delivery-info {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.delivery-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    color: #F5F5F6;
    font-size: 0.95rem;
}

.delivery-info li img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    filter: brightness(0) invert(1); /* icône blanche */
    margin-top: 3px; /* ajuste l'alignement vertical */
}

/* ===========================
   Responsive page produit
   =========================== */

/* TABLET + MOBILE */
@media (max-width: 992px) {

  .product-layout{
    grid-template-columns: 1fr;  /* 1 seule colonne */
    gap: 30px;
    width: 94%;
    padding: 40px 0;
  }

  /* Left passe en haut */
  .product-left{
    position: relative;  /* on enlève sticky */
    top: auto;
    padding-right: 0;
    text-align: center;  /* comme Apple sur mobile */
  }

  .product-title{
    font-size: clamp(22px, 5vw, 30px);
  }

  .product-price{
    font-size: clamp(16px, 4vw, 20px);
    margin-bottom: 18px;
  }

  .product-gallery{
    width: 100%;
  }

  .product-image{
    width: 100%;
    max-width: 100%;
    border-radius: 18px;
  }

  /* Options en dessous */
  .product-options{
    padding: 0;
  }
}

/* PETIT MOBILE (genre iPhone SE) */
@media (max-width: 480px) {

  .product-layout{
    width: 96%;
    gap: 24px;
  }

  .option-card{
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .opt-right{
    font-size: 14px;
    color: #bbb;
  }
}

/* --- Mobile : Alignement du titre & prix à gauche --- */
@media (max-width: 768px) {
    .product-left h1,
    .product-left .product-price {
        text-align: left !important;
        margin-left: 10px; /* petit décalage propre à Apple */
    }

    .product-left {
        align-items: flex-start !important;
    }
}

/* Mobile : aligner les icon-box à gauche */
@media (max-width: 768px) {
    .icon-box,
    .icon-box p,
    .icon-box img {
        text-align: left !important;
        justify-content: flex-start !important;
    }

    .icon-box img {
        margin-left: 0 !important;
    }
}

/* Fond de la navbar en mobile quand le menu est ouvert */
@media (max-width: 991px) {
  .navbar-collapse {
    background: #000;          /* ou #161617 si tu veux un gris Apple */
    padding: 16px 20px;
    border-radius: 0 0 18px 18px;         /* petit espace sous la barre */
  }

  /* Pour éviter que ça colle aux bords */
  .navbar-nav {
    gap: 10px;
  }
}

.caract-mobile-text {
    font-size: 15px;
    line-height: 1.55;
    color: #86868B;
    max-width: 95%;
    margin: 0 auto;
}

.caract-mobile-text span {
    font-weight: 600;
    color: #fff;
}

/* Sur grands écrans : version standard */
@media (min-width: 768px) {
    .caract-mobile-text {
        font-size: 17px;
        line-height: 1.7;
        max-width: 700px;
    }
}


/* ===========================
   FIX NAVBAR MOBILE (trou)
   =========================== */
.navbar{
  height: auto !important;          /* enlève la hauteur fixe */
  padding-top: 6px !important;
  padding-bottom: 6px !important;
  display: flex;
  align-items: center;
}

/* logo: on fixe la hauteur de l'image, pas celle de la navbar */
.navbar-brand .img-box{
  width: auto !important;
  height: 28px;                     /* ajuste si tu veux 26/30 */
  display: flex;
  align-items: center;
}
.navbar-brand .img-box img{
  height: 28px;                     /* même valeur que img-box */
  width: auto;
  display: block;
  object-fit: contain;
}

/* toggler compact, pas de padding chelou */
.navbar-toggler{
  padding: 0 !important;
  border: 0 !important;
  line-height: 1 !important;
  box-shadow: none !important;
  display: flex;
  align-items: center;
}
.navbar .menu-icon{
  font-size: 2rem !important;       /* un poil plus petit */
  line-height: 1 !important;
}

/* au cas où un margin fantôme traine */
.navbar-brand,
.navbar-toggler{
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.color-block {
    margin-bottom: 25px;
}

.color-label {
    font-size: 15px;
    font-weight: 600;
    color: #F5F5F6;
    margin-bottom: 12px;
}

.color-row {
    display: flex;
    gap: 18px;
    align-items: center;
}

.color-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: 0.25s ease;
}

.color-circle:hover {
    transform: scale(1.12);
}

/* Cercles sélectionnés */
.color-circle.active {
    border-color: #EA397F; /* rose TOTAZ */
}

.option-card {
    display: flex;
    align-items: center;
    gap: 22px; /* espace entre icône et texte */
}

.option-card .option-icon {
    width: 25px;
    height: auto;
    filter: brightness(0) invert(1); /* Icône blanche */
    opacity: 0.9;
}

.option-card {
    border: 1px solid #F5F5F6;
    border-radius: 14px;
    padding: 28px 20px;
    display: flex;
    justify-content: space-between;
    margin-top: 14px;
    cursor: pointer;
    transition: .25s ease;
}

.option-card.active {
    border-color: #EA397F !important;
}


#uploadCard.active {
    border-color: #EA397F !important;
    box-shadow: 0 0 0 1px #EA397F;
}

/* Conteneur image + logo */
.product-visual {
    position: relative;
    display: inline-block;
    perspective: 1000px;
}

/* Image de la housse */
.product-image {
    display: block;
    width: 100%;
    height: auto;
}

/* Logo appliqué sur la housse */
.logo-overlay {
    position: absolute;

    /* POSITION : joue surtout sur ces deux valeurs */
    top: 47%;          /* plus grand = plus bas sur le capot */
    left: 38%;         /* plus grand = plus à droite */

    transform-origin: center;

    /* TAILLE DU LOGO */
    width: 20%;        /* ajuste si tu le veux plus grand/petit */
    height: auto;

    /* ERSPECTIVE / INCLINAISON CAPOT */
    transform:
        translate(-38%, -50%)  /* centre par rapport à top/left */
        rotateZ(3deg)        /* légère rotation dans le plan   PLAT*/   
        skewX(-45deg)          /* capot qui part vers la droite */
        rotateX(65deg);        /* capot qui plonge vers le bas */
    object-fit: contain;
    pointer-events: none;
    mix-blend-mode: normal;  /* restera écrasé par JS */
    filter: brightness(1.1) contrast(1.25);
    transition: opacity 0.3s ease;
}

.logo-overlay.visible {
    opacity: 1;
}

/* ====== MODAL STYLES – BESPOKE PRESTIGE ====== */

.style-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 2000;
}

.style-modal.open {
    display: flex;
}

.style-modal-content {
    background: #111;
    border-radius: 26px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    padding: 22px 26px 28px;
    overflow-y: auto;
    box-shadow: 0 24px 80px rgba(0,0,0,0.8);
}

.style-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.style-modal-header h3 {
    color: #F5F5F6;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.style-modal-close {
    background: transparent;
    border: none;
    color: #F5F5F6;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.style-modal-sub {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 18px;
}

/* Grille des styles */
.style-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 14px;
}

.style-thumb {
    width: 100%;
    border-radius: 14px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.style-thumb:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.6);
    border-color: #EA397F;
}

.style-thumb.selected {
    border-color: #EA397F;
}

/* Empêche de scroller la page derrière le modal */
body.no-scroll {
    overflow: hidden;
}


/* --- Mentions légales / pages statiques --- */
.legal-section {
    padding: 120px 0 80px;
    color: #F5F5F6;
}

.legal-section .container {
    max-width: 800px;
}

.legal-title {
    font-size: 36px;
    font-weight: 600;
    color: #F5F5F6;
    margin-bottom: 20px;
    text-align: center;
}

.legal-intro {
    font-size: 16px;
    color: #cfcfcf;
    margin-bottom: 40px;
    text-align: center;
}

.legal-subtitle {
    font-size: 22px;
    font-weight: 500;
    color: #EA397F;
    margin-top: 40px;
    margin-bottom: 10px;
}

.legal-section p {
    line-height: 1.7;
    color: #dadada;
}

.legal-section a {
    color: #EA397F;
    text-decoration: none;
}

.legal-section a:hover {
    text-decoration: underline;
}

.legal-section {
    padding: 80px 0;
    color: #f5f5f6;
}

.legal-title {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
}

.legal-intro {
    font-size: 18px;
    opacity: 0.9;
    text-align: center;
    max-width: 750px;
    margin: 0 auto 40px;
}

.legal-subtitle {
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 15px;
    font-weight: 600;
}

.legal-section p, 
.legal-section ul {
    font-size: 16px;
    line-height: 1.7;
    opacity: 0.9;
}

.legal-section ul {
    padding-left: 20px;
}


/* ==== Fix NAVBAR MOBILE : logo à gauche et menu burger à droite ==== */
@media (max-width: 992px) {

    /* Reset padding qui cassait tout */
    .navbar .container-fluid {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    /* Forcer le logo totalement à gauche */
    .navbar-brand {
        margin-right: auto !important;
    }

    /* Forcer le bouton burger totalement à droite */
    .navbar-toggler {
        margin-left: auto !important;
    }

    /* Évite que les deux se recentrent */
    .navbar-inner {
        display: flex;
        justify-content: space-between !important;
        width: 100%;
    }
}


/* ====================================
   NAVBAR TOTAZ — LOGO GAUCHE / BURGER DROITE
   ==================================== */

/* Barre de nav générale */
.navbar {
    background: #000 !important;
    border-bottom: 1px solid #747474;
    padding: 6px 16px !important;
    z-index: 1050;
}

/* Conteneur interne : logo + burger sur la même ligne */
.navbar-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 0 !important;
}

/* Logo toujours à gauche */
.navbar-brand {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    margin: 0 !important;
    padding: 0 !important;
}

.navbar-brand .img-box {
    width: 38px;            /* taille stable du logo */
}

/* Bouton burger */
.navbar-toggler {
    margin-left: auto !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

.navbar-toggler .menu-icon {
    font-size: 32px;
    color: #fff;
}

/* Liens de nav */
.navbar-nav .nav-link {
    color: #fff;
}

.navbar-nav .nav-link:hover {
    color: #EA397F;
}

/* ===== MODE MOBILE ===== */
@media (max-width: 991px) {

    /* Barre fixe en haut, hauteur stable */
    .navbar {
        height: 56px;
        padding: 4px 14px !important;
    }

    .navbar .container-fluid {
        padding: 0 !important;
        margin: 0 !important;
    }

   @media (max-width: 991px) {
  .navbar-collapse {
    background: #000;
    padding: 0 20px 16px;   /* plus de padding en haut */
    border-radius: 0 0 18px 18px;
  }

  .navbar-nav {
    margin-top: 0;
    padding-top: 0;
  }
}
    /* On s'assure que le logo reste bien collé à gauche */
    .navbar-brand,
    .navbar-brand img {
        text-align: left !important;
    }
}


/* ============================================
   FIX FINAL — LOGO TOUJOURS À GAUCHE (MOBILE)
   ============================================ */
@media (max-width: 991px) {

    /* Le conteneur du logo */
    .navbar-brand {
        margin: 0 !important;
        padding: 0 !important;
        text-align: left !important;
        justify-content: flex-start !important;
        align-items: center !important;
        display: flex !important;
    }

    /* La boîte qui contient l’image */
    .navbar-brand .img-box {
        margin: 0 !important;
        padding: 0 !important;
        display: inline-flex !important;
    }

    /* L’image du logo elle-même */
    .navbar-brand img {
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
        width: 38px !important;
        height: auto !important;
    }

    /* Empêche Bootstrap ou d'autres règles de recentrer */
    .navbar-brand, 
    .navbar .container-fluid,
    .navbar-inner {
        justify-content: flex-start !important;
    }

    /* Burger à droite */
    .navbar-toggler {
        margin-left: auto !important;
    }
}


/* Contenu centré dans la barre, largeur max type Apple */
.navbar-inner {
    width: 100%;
    max-width: 1000px;      /* centre le contenu dans la barre */
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;  /* logo à gauche, liens/burger à droite */
    padding: 0 16px;
}

/* Desktop : liens bien alignés à droite */
@media (min-width: 992px) {
    .navbar-collapse {
        justify-content: flex-end !important;
    }
}

/* Mobile : logo à gauche, burger à droite, fond plein */
@media (max-width: 991px) {
    .navbar {
        padding-top: 4px !important;
        padding-bottom: 4px !important;
    }

    .navbar-inner {
        padding: 0 12px;
    }

    .navbar-brand {
        margin-right: 0;
    }

    .navbar-toggler {
        margin-left: auto;
    }

    .navbar-collapse {
        background: #000;
        padding: 0 20px 16px;
        border-radius: 0 0 18px 18px;
    }
}

