/* Accueil Tour d'Argent — styles limités à la page d'accueil. */
@font-face {
  font-family: DarbySansPoster;
  src: url('../fonts/DarbySansPoster-Regular.woff2') format('woff2'),
       url('../fonts/DarbySansPoster-Regular.woff') format('woff');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
body.page-index { overflow-x: clip; }
.page-index .tda-home, .page-index .tda-home .page-content--home { width: 100%; max-width: none; margin: 0; padding: 0; overflow-x: clip; }
.page-index .tda-home h2, .page-index .tda-home h3 { font-family: DarbySansPoster, "Darby Sans Poster", Georgia, serif; font-weight: 400; text-transform: uppercase; }
.page-index .tda-home a { text-decoration: none; }

.page-index .tda-home .tda-slider { --tda-slider-min-h: max(640px, calc(100dvh - 210px)); }
.page-index .tda-home .tda-slider__media { position: relative; min-height: 0; overflow: hidden; align-self: stretch; }
.page-index .tda-home .tda-slider__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-index .tda-home .tda-slider__panel { min-height: 0; padding-block: 70px; }
.page-index .tda-home .tda-slider__controls { bottom: 40px; }

.tda-suggestions {
  position: relative;
  width: min(1280px, calc(100% - 48px));
  max-width: 100%;
  margin: 0 auto;
  padding: 62px 0 78px;
}
.tda-suggestions__catalog {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  margin: 0 auto;
  text-align: center;
}
.tda-suggestions h2 { margin: 0 0 28px; color: #242225; font-size: clamp(24px, 2.3vw, 40px); line-height: 1.2; }
.tda-suggestions .module-products { width: 100%; overflow: visible; }
.tda-suggestions__frame {
  overflow: hidden;
  margin: -56px 0 -40px;
  padding: 56px 0 40px;
}
.tda-suggestions__scroller {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  gap: 24px;
  width: 100%;
  margin: -56px 0 0;
  padding: 56px 0 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  touch-action: pan-x;
}
.tda-suggestions__scroller--center { justify-content: center; justify-content: safe center; }
.tda-suggestions__scroller.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}
.tda-suggestions__scroller::-webkit-scrollbar { display: none; }
.tda-suggestions__item {
  flex: 0 0 calc((100% - 72px) / 4);
  min-width: 0;
  scroll-snap-align: start;
  box-sizing: border-box;
}
.tda-suggestions__item .product-miniature,
.tda-suggestions__item .product-miniature__inner { height: 100%; }
.tda-suggestions .js-product-miniature .product-miniature__image-container {
  height: auto;
  aspect-ratio: 1;
  overflow: visible;
}
.tda-suggestions .js-product-miniature .product-miniature__image-link {
  overflow: hidden;
}
.tda-suggestions .js-product-miniature .product-miniature__image {
  width: 100%;
  height: 100%;
}
/* Best Seller tooltip: open clippers + raise card above neighbours */
.tda-suggestions__frame:has(.tooltip2:hover),
.tda-suggestions__scroller:has(.tooltip2:hover) {
  overflow: visible;
}
.tda-suggestions__item:has(.tooltip2:hover) {
  position: relative;
  z-index: 8;
}
.tda-suggestions__more {
  display: inline-block;
  margin-top: 26px;
  padding: 12px 20px;
  background: #145b7e;
  color: #fff !important;
  font-size: 17px;
  line-height: 1.2;
  transition: background .2s;
}
.tda-suggestions__more:hover { background: #7c5467; }
.tda-suggestions__signature {
  position: absolute;
  top: 40px;
  /* Ne dépasse jamais le viewport : (100vw - 100%) / 2 = marge latérale réelle. */
  right: max(-90px, calc((100% - 100vw) / 2 + 12px));
  z-index: 0;
  display: block;
  width: min(240px, 22vw);
  height: auto;
  max-width: none;
  object-fit: contain;
  object-position: top;
  pointer-events: none;
}


.tda-home-values-intro { padding: 82px 24px 40px; }
.tda-home-values-intro__inner { display: grid; grid-template-columns: 52% 48%; width: min(1200px, 100%); min-height: 425px; margin: 0 auto; }
.tda-home-values-intro__inner > picture img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tda-home-values-intro__inner > picture { display: block; min-width: 0; height: 100%; }
.tda-home-values-intro__content { padding: clamp(30px, 3vw, 58px); background: #996666; color: #fff; }
.tda-home-values-intro h2 { margin: 0 0 20px; color: #fff; font-size: clamp(28px, 2.5vw, 40px); }
.tda-home-values-intro p { font-size: clamp(13px, .95vw, 16px); line-height: 1.55; margin: 0 0 15px; }
.tda-home-values-intro__body,
.tda-home-values-intro__body p { font-weight: 300; }
.tda-home-values-intro__link {
  display: inline-block;
  margin-top: 10px;
  padding: 11px 21px;
  background: #fff;
  color: #7c5467;
  font-size: 13px;
  transition: background .2s ease, color .2s ease;
}
.tda-home-values-intro__link:hover,
.tda-home-values-intro__link:focus-visible {
  background: #126283;
  color: #fff;
}

.tda-home-reviews {
  width: min(1200px, calc(100% - 42px));
  max-width: 100%;
  min-height: 190px;
  margin: 0 auto 15px;
  overflow: hidden;
}
.tda-home-reviews iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 0;
  overflow: hidden;
}

.tda-home-actus { background: #7c5467; color: #fff; overflow: hidden; }
.tda-actus__inner { width: min(1740px, 78%); margin: auto; padding: clamp(95px, 6.7vw, 150px) 0; display: grid; grid-template-columns: 27.3% minmax(0, 1fr); }
.tda-actus__heading { position: relative; z-index: 3; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding-inline: clamp(48px, 3.8vw, 80px); }
.tda-actus__heading::before { content: ''; position: absolute; top: -200px; bottom: -200px; right: 0; width: 100vw; z-index: -1; background: #7c5467; pointer-events: none; }
.tda-actus__heading::after { content: ''; position: absolute; top: 0; bottom: 0; left: 100%; width: 20px; background: linear-gradient(90deg,#7c5467,transparent); pointer-events: none; }
.tda-actus__heading h2 { width: min(250px, 100%); margin: 0 auto 20px; color: #fff; font-size: clamp(42px,4vw,75px); line-height: .9; letter-spacing: -.07em; }
.tda-actus__title--artwork { aspect-ratio: 259.07/289.04; background: url('../img/default/fond-actus.svg') center/contain no-repeat; }
.tda-actus__title--artwork span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.tda-actus__heading p { width: min(200px, 100%); margin: 0 auto; color: #fff; font: 400 clamp(13px,.78vw,18px)/1.5 "le-monde-livre-classic-byol",Georgia,serif; }
.tda-actus__all { display: inline-block; align-self: flex-start; margin-top: 12px; color: #b3a644; border-bottom: 1px solid currentColor; font-size: 14px; }
.tda-actus__all--visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.tda-actus__all--visually-hidden:focus-visible { position: relative; width: auto; height: auto; margin: 12px 0 0; overflow: visible; clip: auto; white-space: normal; }
.tda-actus__arrows { position: absolute; top: 50%; left: 0; right: clamp(4px, .6vw, 14px); transform: translateY(-50%); display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.tda-actus__arrows button { width: clamp(44px,3.4vw,76px); height: clamp(44px,3.4vw,76px); padding: 0; border: 0; border-radius: 50%; background: transparent center/contain no-repeat; cursor: pointer; pointer-events: auto; }
.tda-actus__arrows button[data-tda-actus-prev] { background-image: url('../img/default/arrow-left.svg'); }
.tda-actus__arrows button[data-tda-actus-next] { background-image: url('../img/default/arrow-right.svg'); }
.tda-actus__arrows button[data-tda-actus-prev]:hover, .tda-actus__arrows button[data-tda-actus-prev]:focus-visible { background-image: url('../img/default/arrow-left-y.svg'); }
.tda-actus__arrows button[data-tda-actus-next]:hover, .tda-actus__arrows button[data-tda-actus-next]:focus-visible { background-image: url('../img/default/arrow-right-y.svg'); }
.tda-actus__arrows button:focus-visible { outline: 2px solid #b3a644; outline-offset: 4px; }
.tda-actus__arrows button:disabled { cursor: default; }
.tda-actus__viewport { position: relative; min-width: 0; overflow: visible; }
@media (min-width: 768px) {
  .tda-actus__viewport { user-select: none; touch-action: pan-y; }
  .tda-actus__viewport img { -webkit-user-drag: none; user-drag: none; pointer-events: none; }
}
.tda-actus__track { display: flex; align-items: flex-start; gap: clamp(20px,2.24vw,50px); width: max-content; transition: transform 1000ms ease; will-change: transform; }
.tda-actus__card { display: block; flex: 0 0 clamp(280px,21.3vw,475px); width: clamp(280px,21.3vw,475px); min-width: 0; color: #fff; }
.tda-actus__image { display: block; width: 100%; aspect-ratio: 400/275; overflow: hidden; }
.tda-actus__image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tda-actus__card h3 { margin: 10px 0 13px; font: 400 clamp(14px,.8vw,18px)/1.32 "le-monde-livre-classic-byol",Georgia,serif !important; text-transform: uppercase !important; }
.tda-actus__card h3 a { color: #fff; }
.tda-actus__card p { margin: 0 0 18px; font: 400 clamp(13px,.76vw,17px)/1.45 "le-monde-livre-classic-byol",Georgia,serif; }
.tda-actus__read { color: #b3a644; text-decoration: underline !important; text-underline-offset: 2px; font-size: clamp(13px,.76vw,17px); }

.tda-home-values { width: min(1160px, calc(100% - 48px)); margin: 0 auto; padding: 72px 0 38px; }
.tda-home-values__header { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; margin-bottom: 22px; }
.tda-home-values__header h2 { margin: 0; font-size: clamp(28px,2.6vw,40px); color: #252126; }
.tda-home-values__tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 0; }
.tda-home-values__tabs button { position: relative; border: 0; background: none; padding: 4px 16px; color: #4d4145; font-size: 14px; cursor: pointer; }
.tda-home-values__tabs button + button::before { content: "•"; position: absolute; left: -2px; color: #b3a644; }
.tda-home-values__tabs button.is-active, .tda-home-values__tabs button:hover { color: #145b7e; }
.tda-home-values__tabs button:focus-visible { outline: 2px solid #145b7e; }
.tda-home-values__panels { position: relative; background: #b3a644; overflow: hidden; height: 498px; }
.tda-home-values__panel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: 100%;
  display: grid;
  grid-template-columns: 59% 41%;
  align-items: stretch;
  min-height: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.tda-home-values__panel.is-active { z-index: 9; pointer-events: auto; }
.tda-home-values__panel > picture {
  display: block;
  min-width: 0;
  min-height: 0;
  height: 100%;
  max-height: 100%;
  overflow: hidden;
  align-self: stretch;
}
.tda-home-values__panel > picture img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: cover;
  clip-path: polygon(0% 0%, 0% 0%, 0% 100%, 0% 100%);
  transition: clip-path 1s, -webkit-clip-path 1s;
}
.tda-home-values__panel.is-active > picture img {
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.tda-home-values__panel > picture img.no-transition { transition: none; }
.tda-home-values__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
  height: 100%;
  max-height: 100%;
  min-height: 0;
  box-sizing: border-box;
  padding: 40px clamp(30px,4vw,65px);
  color: #fff;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 1s, transform 1s;
  overflow: hidden;
}
.tda-home-values__panel.is-active .tda-home-values__content {
  opacity: 1;
  transform: translateX(0);
}
.tda-home-values__content h3 { margin: 0 0 22px; color: #fff; font-size: clamp(25px,2.35vw,30px); line-height: 1.2; }
/* Legacy CE valeurs block */
#home-valeurs #valeurs-tab-content .valeurs-tab .right-tile .title { line-height: 1; }
.tda-home-values__content p { font-size: clamp(13px,.93vw,15px); font-weight: 300; line-height: 1.55; margin: 0 0 20px; }
.tda-home-values__content a { align-self: flex-start; color: #fff; border-bottom: 1px solid #fff; font-size: 14px; font-weight: 300; }

.tda-home-story { width: min(1160px, calc(100% - 48px)); margin: 0 auto; padding: 12px 0 75px; display: grid; grid-template-columns: 56% 44%; gap: 0; }
.tda-home-story > picture img { width: 100%; height: 100%; min-height: 440px; object-fit: cover; }
.tda-home-story > picture { display: block; min-width: 0; height: 100%; }
.tda-home-story__text { padding: 12px clamp(24px,4vw,70px) 10px; color: #262126; }
.tda-home-story__text h2 { margin: 0 0 17px; font-size: clamp(27px,2.5vw,40px); line-height: 1.06; }
.tda-home-story__text h2 { white-space: pre-line; }
.tda-home-story__body { color: #666; font-weight: 300; }
.tda-home-story__body p,
.tda-home-story__text p { font-size: 14px; font-weight: 300; line-height: 1.55; margin: 0 0 12px; color: #666; }

.tda-home-newsletter { background: #b3a644; text-align: center; color: #fff; padding: 45px 24px 35px; }
.tda-home-newsletter h2 { color: #fff; margin: 0 0 9px; font-size: clamp(27px,2.4vw,40px); }
#home-seo h1 { font-size: clamp(27px, 2.4vw, 40px); }
.tda-home-newsletter__body p { margin: 0 0 17px; font-size: 13px; }
.tda-home-newsletter .ps-emailsubscription { background: transparent !important; padding: 0 !important; }
.tda-home-newsletter .ps-emailsubscription .container { max-width: 720px; }
.tda-home-newsletter .ps-emailsubscription .row { display: block; }
.tda-home-newsletter .ps-emailsubscription .h3 { display: none; }
.tda-home-newsletter .ps-emailsubscription form { width: 100%; max-width: none; margin: 0 auto; }
.tda-home-newsletter .ps-emailsubscription .d-flex { gap: 6px !important; }
.tda-home-newsletter input[type=email] { min-height: 44px; border-radius: 0; border: 1px solid #fff; background: #fff; }
.tda-home-newsletter input[type=submit] { min-height: 44px; border: 1px solid #fff; border-radius: 0; background: #fff; color: #b3a644; font-weight: 700; }
.tda-home-newsletter .text-body-secondary { color: #fff !important; text-align: left; }

.tda-home-services { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 27px 0 33px; display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; text-align: center; }
.tda-home-services > div { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.tda-home-services img { width: 72px; height: 72px; object-fit: contain; }
.tda-home-services strong { font: 700 12px/1.3 "le-monde-livre-classic-byol", Georgia, serif; text-transform: uppercase; color: #252025; }
.tda-home-services__item a { display: flex; flex-direction: column; align-items: center; justify-content: center; color: inherit; }
.tda-home-services__item strong { white-space: pre-line; }
.tda-home-services__subtitle { color: #252025; font: 700 12px/1.3 "le-monde-livre-classic-byol", Georgia, serif; }

@media (min-width: 992px) {
  .tda-suggestions h2,
  .tda-home-values-intro h2,
  .tda-home-values__header h2,
  .tda-home-story__text h2,
  .tda-home-newsletter h2,
  .page-index #footer .tda-footer__newsletter h2,
  #home-seo h1 { font-size: 40px; }
  .tda-home-values__content h3 { font-size: 30px; }
}

@media (max-width: 991.98px) {
  .tda-suggestions__catalog { width: min(720px, 100%); }
  .tda-suggestions__scroller--center { justify-content: flex-start; }
  .tda-suggestions__item { flex-basis: calc((100% - 36px) / 2.5); }
  .tda-suggestions__signature { display: none; }
  .tda-actus__inner { width: min(90%,900px); grid-template-columns: 30% minmax(0,1fr); }
  .tda-actus__card { flex-basis: clamp(260px,35vw,390px); width: clamp(260px,35vw,390px); }
  .tda-home-values-intro__content { padding: 30px; }
}
@media (max-width: 767.98px) {
  .page-index .tda-home .tda-slider {
    --tda-slider-media-h: min(58vw, 320px);
    --tda-slider-panel-h: 300px;
    --tda-slider-min-h: calc(var(--tda-slider-media-h) + var(--tda-slider-panel-h));
  }
  .page-index .tda-home .tda-slider .carousel-inner,
  .page-index .tda-home .tda-slider .carousel-item { height: var(--tda-slider-min-h); min-height: var(--tda-slider-min-h); }
  .page-index .tda-home .tda-slider__layout { height: 100%; min-height: 100%; }
  .page-index .tda-home .tda-slider__media { flex: 0 0 var(--tda-slider-media-h); height: var(--tda-slider-media-h); min-height: var(--tda-slider-media-h); }
  .page-index .tda-home .tda-slider__media img { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; object-fit: cover; }
  .page-index .tda-home .tda-slider__panel { flex: 0 0 var(--tda-slider-panel-h); height: var(--tda-slider-panel-h); min-height: var(--tda-slider-panel-h); overflow: hidden; padding: 40px 24px 100px; }
  .page-index .tda-home .tda-slider:not(:has(.tda-slider__controls)) .tda-slider__panel { padding-bottom: 40px; }
  .page-index .tda-home .tda-slider__controls { left: auto; right: 24px; bottom: 25px; }
  .tda-suggestions { width: min(590px,calc(100% - 32px)); padding: 48px 0 55px; }
  .tda-suggestions__catalog { width: 100%; }
  .tda-suggestions__scroller { gap: 40px; }
  .tda-suggestions__item { flex-basis: calc((100% - 40px) / 1.5); }
  .tda-suggestions__more { font-size: 14px; }
  .tda-home-values-intro { padding: 54px 16px 25px; }
  .tda-home-values-intro__inner, .tda-home-story { display: block; }
  .tda-home-values__panels { min-height: 0; height: auto; transition: height .5s ease-in-out; }
  .tda-home-values__panel {
    display: block;
    inset: auto;
    top: 0;
    left: 0;
    right: 0;
    height: auto;
    min-height: 0;
  }
  .tda-home-values-intro__inner > picture img { height: 285px; }
  .tda-home-values-intro__content { padding: 30px; }
  .tda-home-reviews {
    width: 100%;
    min-height: 0;
    margin-bottom: 12px;
    overflow: hidden;
  }
  .tda-home-reviews iframe {
    height: 240px;
    overflow: hidden;
  }
  .tda-actus__inner { width: calc(100% - 32px); display: block; padding: 42px 0 52px; }
  .tda-actus__heading { display: flex; flex-direction: column; align-items: center; margin-bottom: 25px; text-align: center; padding-inline: 0; }
  .tda-actus__heading::before, .tda-actus__heading::after { display: none; }
  .tda-actus__heading h2 { width: min(200px,55%); margin: 0 auto 15px; }
  .tda-actus__heading p { width: min(280px, 90%); margin: 0 auto; }
  .tda-actus__arrows { display: none; }
  .tda-actus__viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pinch-zoom;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .tda-actus__viewport::-webkit-scrollbar { display: none; }
  .tda-actus__track { gap: 12px; transform: none !important; transition: none; width: max-content; }
  .tda-actus__card { flex-basis: min(70vw,330px); width: min(70vw,330px); scroll-snap-align: start; }
  .tda-home-values { width: calc(100% - 32px); padding-top: 52px; }
  .tda-home-values__header { gap: 12px; }
  .tda-home-values__tabs { width: 100%; overflow-x: auto; flex-wrap: nowrap; white-space: nowrap; padding-bottom: 10px; }
  .tda-home-values__tabs button { padding-inline: 11px; }
  .tda-home-values__tabs button:first-child { padding-left: 0; }
  .tda-home-values__panel > picture { position: relative; }
  .tda-home-values__panel > picture::after { content: ''; display: block; padding-bottom: 71.4286%; }
  .tda-home-values__panel > picture img { position: absolute; inset: 0; height: 100%; min-height: 0; }
  .tda-home-values__content { min-height: 0; padding: 32px; }
  .tda-home-story {
    width: calc(100% - 32px);
    height: auto;
    padding-bottom: 54px;
  }
  .tda-home-story > picture {
    height: auto;
  }
  .tda-home-story > picture img {
    display: block;
    width: 100%;
    height: 285px;
    min-height: 0;
    object-fit: cover;
  }
  .tda-home-story__text {
    position: relative;
    padding: 27px 2px 0;
  }
  .tda-home-services { grid-template-columns: repeat(2,1fr); row-gap: 26px; }
}

/* Force Avis Garantis 1-card layout earlier (widget switches ~330px of iframe width) */
@media (max-width: 400px) {
  .tda-home-reviews {
    display: flex;
    justify-content: center;
  }
  .tda-home-reviews iframe {
    width: 320px;
    max-width: 100%;
  }
}
@media (max-width: 479.98px) {
  .tda-home-newsletter .ps-emailsubscription .d-flex { align-items: stretch !important; }
  .tda-home-services strong { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .tda-actus__track { transition: none; }
  .tda-home-values__panel > picture img,
  .tda-home-values__content { transition: none; }
}
