/* ============================================================
   SHAPE OF TINA — style.css
   Feuille de style partagée par toutes les pages du site.
   ============================================================ */

:root{
  --ink: #18110F;
  --pink: #E0186B;
  --pink-deep: #A80F4E;
  --blush: #F9D9E4;
  --cream: #FBF5F2;
  --card: #FFFFFF;
  --line: #ECE1DC;
  --muted: #6E635E;
}

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

body{
  background: var(--cream);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display{
  font-family: 'Archivo Black', sans-serif;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display: block; }

.wrap{
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
}

.btn{
  display: inline-block;
  background: var(--pink);
  color: #fff;
  padding: 15px 30px;
  border-radius: 2px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
}
.btn:hover{ background: var(--pink-deep); }
.btn-outline{
  display: inline-block;
  background: transparent;
  color: var(--ink);
  padding: 14px 28px;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  font-weight: 600;
  font-size: 0.95rem;
}
.btn-outline:hover{ background: var(--ink); color: #fff; }

/* ---------- HEADER / NAV ---------- */
header{
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,245,242,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
header .wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px; padding-bottom: 20px;
  gap: 16px;
}
.header-right{
  display: flex;
  align-items: center;
  gap: 14px;
}
.logo{
  font-family: 'Archivo Black', sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}
.logo span{ color: var(--pink); }
nav{ display: flex; align-items: center; gap: 30px; }
nav a{
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.85;
}
nav a:hover{ opacity: 1; color: var(--pink); }
nav a.current{ color: var(--pink); opacity: 1; }
#nav-toggle{
  display: none;
  background: none; border: none; cursor: pointer;
  font-size: 1.4rem;
}

/* ---------- PANIER ---------- */
.cart-btn{
  position: relative;
  background: none; border: none; cursor: pointer;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
}
.cart-btn svg{ width: 21px; height: 21px; }
.cart-count{
  position: absolute; top: -2px; right: -2px;
  background: var(--pink); color: #fff;
  font-size: 0.65rem; font-weight: 700;
  width: 16px; height: 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
}
.cart-count.hidden{ display: none; }

.cart-overlay{
  position: fixed; inset: 0;
  background: rgba(24,17,15,0.45);
  z-index: 90;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s;
}
.cart-overlay.open{ opacity: 1; pointer-events: auto; }

.cart-drawer{
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(380px, 92vw);
  background: var(--cream);
  z-index: 91;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex; flex-direction: column;
  box-shadow: -8px 0 24px rgba(0,0,0,0.12);
}
.cart-drawer.open{ transform: translateX(0); }
.cart-drawer-head{
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 24px; border-bottom: 1px solid var(--line);
}
.cart-drawer-head h3{ font-family: 'Archivo Black', sans-serif; font-size: 1.05rem; }
.cart-close{ background:none; border:none; cursor:pointer; font-size:1.3rem; color: var(--ink); }
.cart-items{ flex: 1; overflow-y: auto; padding: 10px 24px; }
.cart-item{
  display: flex; justify-content: space-between; align-items: center;
  gap: 10px; padding: 16px 0; border-bottom: 1px solid var(--line);
}
.cart-item-info{ font-size: 0.88rem; }
.cart-item-info .name{ font-weight: 700; }
.cart-item-info .meta{ color: var(--muted); font-size: 0.82rem; margin-top: 2px; }
.cart-item-remove{
  background: none; border: none; cursor: pointer;
  color: var(--muted); font-size: 1.1rem; padding: 4px 8px;
}
.cart-item-remove:hover{ color: var(--pink); }
.cart-empty{ color: var(--muted); font-size: 0.9rem; padding: 30px 0; text-align: center; }
.cart-drawer-foot{
  padding: 20px 24px 26px; border-top: 1px solid var(--line);
}
.cart-total{
  display: flex; justify-content: space-between;
  font-family: 'Archivo Black', sans-serif; font-size: 1.15rem;
  margin-bottom: 16px;
}
.cart-drawer-foot .btn{ display: block; width: 100%; text-align: center; }

/* ---------- SÉLECTEUR PRODUIT (taille / quantité / ajout panier) ---------- */
.buy-box{
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 22px;
  background: var(--card);
}
.buy-box .field-row{
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  margin-bottom: 16px;
}
.buy-box label{ display:block; font-size:0.8rem; color: var(--muted); margin-bottom:6px; }
.buy-box select{
  width: 100%; padding: 11px 12px; border: 1px solid var(--line);
  border-radius: 3px; font-family: 'Inter'; font-size: 0.92rem; background: #fff;
}
.add-to-cart-msg{
  font-size: 0.82rem; color: var(--pink-deep); margin-top: 10px; display:none;
}

/* ---------- FOOTER ---------- */
footer{
  padding: 50px 0 34px;
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: #F3E9E4;
}
footer .wrap{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
footer .logo{ color: #fff; }
footer .logo span{ color: var(--pink); }
footer .foot-links{ display: flex; gap: 24px; flex-wrap: wrap; }
footer .foot-links a{ font-size: 0.88rem; opacity: 0.8; }
footer .foot-links a:hover{ opacity: 1; color: var(--pink); }
footer .copyright{
  margin-top: 30px;
  font-size: 0.78rem;
  opacity: 0.55;
}

/* ---------- ANIMATION FONDU AU SCROLL ---------- */
.reveal{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity: 1; transform: none; transition: none; }
}

/* ---------- HERO BANDEAU PLEIN ÉCRAN ---------- */
.hero-banner{ width: 100%; line-height: 0; padding: 0; }
.hero-banner img{ width: 100%; height: auto; display: block; }
.sr-only{
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.hero-cta{
  background: var(--ink); color: #fff;
  padding: 46px 0;
  text-align: center;
}
.hero-cta .lead{
  color: #D8CBC6; max-width: 56ch; margin: 0 auto 24px; font-size: 1.05rem;
}
.hero-cta .hero-actions{ justify-content: center; }

/* ---------- HERO (ancienne mise en page, conservée si réutilisée ailleurs) ---------- */
.hero{
  background: var(--ink);
  color: #fff;
  padding: 90px 0 80px;
  overflow: hidden;
}
.hero .wrap{
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: center;
}
.hero .eyebrow{
  color: var(--pink);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 14px;
}
.hero h1{
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin-bottom: 20px;
}
.hero p.lead{
  color: #D8CBC6;
  font-size: 1.05rem;
  max-width: 46ch;
  margin-bottom: 30px;
}
.hero-actions{ display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual{
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--pink) 0%, var(--pink-deep) 100%);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.hero-visual img{
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ---------- BANDEAU (petit texte défilant statique simple) ---------- */
.strip{
  background: var(--pink);
  color: #fff;
  padding: 12px 0;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* ---------- SECTIONS GÉNÉRIQUES ---------- */
section{ padding: 90px 0; }
.section-head{ max-width: 60ch; margin-bottom: 48px; }
.section-head .eyebrow{
  color: var(--pink); font-weight: 600; font-size: 0.85rem; margin-bottom: 10px;
}
.section-head h2{ font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
.section-head p{ color: var(--muted); margin-top: 14px; font-size: 1.02rem; }

/* ---------- BÉNÉFICES ---------- */
.benefits-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.benefit-card{ padding-top: 4px; }
.benefit-icon{
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--blush);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--pink-deep);
  font-family: 'Archivo Black', sans-serif;
  font-size: 1.1rem;
}
.benefit-card h3{ font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; font-family: 'Inter'; }
.benefit-card p{ color: var(--muted); font-size: 0.92rem; }

/* ---------- AVANT / APRÈS ---------- */
.before-after{ background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ba-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  max-width: 780px;
  margin: 0 auto;
}
.ba-pair{ position: relative; }
.ba-images{
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 4px;
  overflow: hidden;
}
.ba-images div{ position: relative; aspect-ratio: 4/3; background: var(--blush); }
.ba-images img{ width: 100%; height: 100%; object-fit: contain; background: #fff; }
.ba-images span{
  position: absolute; bottom: 14px; left: 14px;
  background: rgba(24,17,15,0.75); color: #fff;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.05em;
  padding: 6px 12px; border-radius: 2px;
}
.ba-caption{ margin-top: 16px; font-size: 0.95rem; color: var(--muted); font-style: italic; text-align: center; }

/* ---------- PRODUIT / FEATURES ---------- */
.product{
  display: grid;
  grid-template-columns: 380px 1fr 320px;
  gap: 50px;
  align-items: stretch;
}
.product.wrap{ max-width: 1500px; }
.product > .reveal:first-child{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}
.product-visual{
  aspect-ratio: 9/16;
  width: 100%;
  background: var(--blush);
  border-radius: 4px;
  overflow: hidden;
}
.product-visual img, .product-visual video{ width: 100%; height: 100%; object-fit: cover; }

.product-thumbs{
  display: flex;
  gap: 8px;
  margin-top: 10px;
  width: 100%;
}
.thumb{
  position: relative;
  flex: 1;
  aspect-ratio: 1/1;
  border: 2px solid transparent;
  border-radius: 3px;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  background: var(--blush);
}
.thumb img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb.active{ border-color: var(--pink); }
.thumb-play{
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(24,17,15,0.35);
  color: #fff; font-size: 0.75rem;
}

.trust-panel{
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.trust-badges{ display: flex; flex-direction: column; gap: 14px; }
.trust-badge{
  display: flex; align-items: center; gap: 10px;
  font-size: 0.85rem; font-weight: 500; color: var(--ink);
}
.trust-badge svg{ width: 20px; height: 20px; color: var(--pink); flex-shrink: 0; }
.trust-panel .testi-card{ padding: 20px; }
.trust-panel .testi-card .quote{ font-size: 0.85rem; }

.product-gallery{
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}
.product-gallery img{
  flex: 1;
  width: 100%;
  min-height: 0;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--line);
}
.feature-list{ margin-top: 24px; }
.feature-row{
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.feature-row:last-child{ border-bottom: 1px solid var(--line); }
.feature-row .dot{
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--pink); margin-top: 8px; flex-shrink: 0;
}
.feature-row h3{ font-size: 1rem; font-weight: 700; font-family: 'Inter'; }
.feature-row p{ color: var(--muted); font-size: 0.9rem; margin-top: 4px; }
.price-tag{
  margin-top: 30px;
  font-family: 'Archivo Black', sans-serif;
  font-size: 2rem;
}
.price-tag .old{
  font-family: 'Inter'; font-size: 1.1rem; color: var(--muted);
  text-decoration: line-through; margin-right: 10px; font-weight: 400;
}

/* ---------- COMPARATIF ---------- */
.compare-table{
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}
.compare-table th, .compare-table td{
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.compare-table thead th{
  font-family: 'Archivo Black', sans-serif;
  font-size: 0.95rem;
  padding-bottom: 18px;
}
.compare-table th.col-tina, .compare-table td.col-tina{
  background: var(--blush);
  border-radius: 4px 4px 0 0;
}
.compare-table td.col-tina{ font-weight: 600; }
.compare-table .yes{ color: var(--pink-deep); font-weight: 700; }
.compare-table .no{ color: var(--muted); }
.compare-table td:first-child, .compare-table th:first-child{ color: var(--muted); font-weight: 500; }

/* ---------- GUIDE DES TAILLES ---------- */
.size-guide{ background: var(--card); border-top: 1px solid var(--line); }
.size-table-wrap{
  overflow-x: auto;
  border-radius: 4px;
  border: 1px solid var(--line);
}
.size-table{
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}
.size-table th, .size-table td{
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  font-size: 0.9rem;
}
.size-table th:last-child, .size-table td:last-child{ border-right: none; }
.size-table thead th{
  background: var(--blush);
  font-family: 'Archivo Black', sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--pink-deep);
}
.size-table tbody tr:last-child td{ border-bottom: none; }
.size-table tbody tr:hover{ background: rgba(224,24,107,0.04); }
.size-cell{
  font-family: 'Archivo Black', sans-serif;
  font-size: 0.95rem;
  background: var(--ink);
  color: #fff;
}
.size-note{
  margin-top: 20px;
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
}
.size-note a{ color: var(--pink-deep); font-weight: 600; }

/* ---------- TÉMOIGNAGES ---------- */
.testi-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 28px;
}
.testi-stars{ color: var(--pink); font-size: 0.95rem; margin-bottom: 14px; letter-spacing: 2px; }
.testi-card .quote{ font-size: 0.95rem; color: var(--ink); margin-bottom: 16px; }
.testi-author{ display: flex; align-items: center; gap: 12px; }
.testi-photo{
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--blush); object-fit: cover; flex-shrink: 0;
}
.testi-photo-anon{
  display: flex; align-items: center; justify-content: center;
  color: var(--pink-deep);
}
.testi-photo-anon svg{ width: 22px; height: 22px; }
.testi-name{ font-size: 0.88rem; font-weight: 700; }
.testi-loc{ font-size: 0.78rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-item{ border-top: 1px solid var(--line); padding: 20px 0; }
.faq-item:last-child{ border-bottom: 1px solid var(--line); }
.faq-item summary{
  cursor: pointer; font-weight: 700; font-size: 1rem;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{ content:"+"; color: var(--pink); font-size: 1.3rem; font-weight: 400; }
.faq-item[open] summary::after{ content:"–"; }
.faq-item p{ margin-top: 12px; color: var(--muted); font-size: 0.93rem; }

/* ---------- CTA FINAL ---------- */
.cta-final{
  background: var(--ink); color: #fff; text-align: center;
}
.cta-final h2{ font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 18px; }
.cta-final p{ color: #D8CBC6; max-width: 50ch; margin: 0 auto 30px; }

/* ---------- PAGE POLITIQUES ---------- */
.policy-nav{
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 50px;
}
.policy-nav a{
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}
.policy-nav a:hover{ background: var(--pink); color: #fff; border-color: var(--pink); }
.policy-block{ margin-bottom: 56px; scroll-margin-top: 100px; }
.policy-block h2{ font-size: 1.6rem; margin-bottom: 16px; }
.policy-block h3{ font-size: 1.05rem; margin: 20px 0 8px; font-family: 'Inter'; font-weight: 700; }
.policy-block p, .policy-block li{ color: var(--muted); font-size: 0.95rem; margin-bottom: 10px; }
.policy-block ul{ padding-left: 20px; }
.policy-page-hero{
  background: var(--blush); padding: 60px 0 50px;
}
.policy-page-hero h1{ font-size: clamp(2rem, 4vw, 2.6rem); }
.policy-page-hero p{ color: var(--muted); margin-top: 10px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px){
  .product{ grid-template-columns: 1fr 1fr; }
  .product-gallery{ grid-column: 1 / -1; flex-direction: row; }
  .product-gallery img{ flex: 1; }
}

@media (max-width: 860px){
  .hero .wrap, .product{ grid-template-columns: 1fr; }
  .product > .reveal:first-child{ grid-template-columns: 1fr; }
  .product-visual{ max-width: 280px; margin: 0 auto; }
  .product-thumbs{ max-width: 280px; margin: 10px auto 0; }
  .product-gallery{ flex-direction: column; }
  .hero-visual{ order: -1; }
  .benefits-grid{ grid-template-columns: repeat(2, 1fr); }
  .ba-grid, .testi-grid{ grid-template-columns: 1fr; }
  nav{
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream);
    flex-direction: column; align-items: flex-start;
    padding: 20px 32px 28px;
    border-bottom: 1px solid var(--line);
    gap: 16px;
  }
  nav.open{ display: flex; }
  #nav-toggle{ display: block; }
  .compare-table{ font-size: 0.82rem; }
  .compare-table th, .compare-table td{ padding: 12px 10px; }
}

/* accessibilité clavier */
a:focus-visible, button:focus-visible, summary:focus-visible{
  outline: 2px solid var(--pink);
  outline-offset: 2px;
}
