/* =========================================================================
   Home French Days — CSS transplantado da lelamier.com (custom_liquid do Focal)
   quase literal. Fonte: bandeau do header-group, hero e marquee da home.
   ========================================================================= */

/* ===== Lamier – Bandeau French Days (bleu ciel, ligne sobre + timer en cases) ===== */

  .lam-fdbar-link {
    text-decoration: none;
    color: inherit;
    display: block;
  }

  .lam-fdbar {
    position: relative;
    width: 100%;
    margin: 0;

    color: #0b0b0b;
    font-family: "Archivo Black", "Arial Black", sans-serif;
    box-sizing: border-box;
    text-align: center;
  }

  /* Étage 1 — bleu ciel (recette du bandeau bronze transposée) : le titre */
  .lam-fdbar-top {
    padding: 8px 14px 7px;

    background:
      radial-gradient(130% 200% at 12% -70%, rgba(255,255,255,0.60), transparent 60%),
      linear-gradient(100deg, #EAF2FD 0%, #D8E3FA 55%, #B9CDEC 100%);
    border-bottom: 1px solid rgba(31,64,120,0.22);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.75);

    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Étage 2 — rouge profond (le rouge du CTA "Découvrir le kit complet" de la
     home, #8B1A1A), dégradé sur la même recette que l'ancien étage noir : le timer */
  .lam-fdbar-bottom {
    padding: 6px 14px 7px;

    background:
      radial-gradient(circle at left, rgba(255,255,255,0.10), transparent 55%),
      linear-gradient(90deg, #C9494A 0%, #A32222 8%, #8B1A1A 38%, #6E1414 100%);
    border-bottom: 1px solid rgba(255,255,255,0.12);

    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Ligne 1 : FRENCH DAYS · JUSQU'À −40 % — une seule police, une seule taille */
  .lam-fdbar-line {
    font-family: "Archivo Black", "Arial Black", sans-serif;
    font-size: 15.5px;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #0b0b0b;
    line-height: 1.2;
    white-space: nowrap;
  }

  /* Variante EN (Royaume-Uni) : "LAUNCH OFFER · £10 OFF THE LAMIER" est plus
     long que la ligne FR → un cran en dessous sur mobile (359 px à 15,5 px sur
     un écran de 375 px, 317 px à 14 px). Même taille que les autres sur desktop. */
  .lam-fdbar-line--en {
    font-size: 14px;
    letter-spacing: 0.03em;
  }

  .lam-fdbar-line--en .lam-fdbar-sep {
    margin: 0 7px;
  }

  /* Dégradé dans le texte du titre (bleu profond → noir) + reflet qui balaye
     les lettres toutes les ~3 s — repli : noir uni */
  @supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .lam-fdbar-line {
      background-image:
        linear-gradient(115deg, rgba(255,255,255,0) 42%, rgba(255,255,255,0.85) 50%, rgba(255,255,255,0) 58%),
        linear-gradient(180deg, #44618C 0%, #14203A 55%, #0b0b0b 100%);
      background-size: 220% 100%, 100% 100%;
      background-position: 130% 0, 0 0;
      background-repeat: no-repeat;
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      animation: lam-fd-shine 3.2s ease-in-out infinite;
    }

    @keyframes lam-fd-shine {
      0%   { background-position: 130% 0, 0 0; }
      38%  { background-position: -30% 0, 0 0; }
      100% { background-position: -30% 0, 0 0; }
    }

    @media (prefers-reduced-motion: reduce) {
      .lam-fdbar-line { animation: none; }
    }
  }

  .lam-fdbar-sep {
    display: inline-block;
    margin: 0 9px;
    color: rgba(15,23,42,0.38);
  }

  /* Ligne 2 : compte à rebours centré, en cases (une case par unité) */
  .lam-fdbar-timer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 18px;
    white-space: nowrap;
  }

  .lam-fdbar-timer-over {
    font-family: "Archivo Black", "Arial Black", sans-serif;
    font-size: 9.5px;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
  }

  .lam-fdbar-cell {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
    padding: 2px 7px;

    /* Cartes blanches sur le fond sombre */
    background: #ffffff;
    border: 1px solid rgba(255,255,255,0.85);
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.9);
  }

  .lam-fdbar-cell b {
    font-family: "Archivo Black", "Arial Black", sans-serif;
    font-weight: 400;
    font-size: 11.5px;
    color: #0b0b0b;
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
    min-width: 14px;
    text-align: center;
  }

  .lam-fdbar-cell .lam-u {
    font-family: "Archivo Black", "Arial Black", sans-serif;
    font-size: 8px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(15,23,42,0.55);
    line-height: 1;
  }

  @media screen and (max-width: 359px) {
    .lam-fdbar-line {
      font-size: 13px;
      letter-spacing: 0.03em;
    }

    .lam-fdbar-line--en {
      font-size: 12px;
      letter-spacing: 0.02em;
    }

    .lam-fdbar-sep {
      margin: 0 7px;
    }

    .lam-fdbar-line--en .lam-fdbar-sep {
      margin: 0 6px;
    }

    .lam-fdbar-timer {
      gap: 4px;
    }

    .lam-fdbar-cell {
      padding: 2px 5px;
    }

    .lam-fdbar-cell b {
      font-size: 10.5px;
      min-width: 13px;
    }
  }

  @media screen and (min-width: 750px) {
    .lam-fdbar-top {
      padding: 9px 25px 8px;
    }

    .lam-fdbar-bottom {
      padding: 7px 25px 8px;
    }

    .lam-fdbar-line,
    .lam-fdbar-line--en {
      font-size: 16px;
      letter-spacing: 0.04em;
    }

    .lam-fdbar-sep,
    .lam-fdbar-line--en .lam-fdbar-sep {
      margin: 0 11px;
    }

    .lam-fdbar-cell b {
      font-size: 12.5px;
      min-width: 16px;
    }

    .lam-fdbar-cell .lam-u {
      font-size: 8.5px;
    }
  }

/* ===== Hero French Days ===== */
/* ===== FULL BLEED ROBUSTE ===== */
  .lamier-hero-wrapper {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;

    /* Rouge profond du CTA « kit complet » (PC) et du CTA mobile */
    --lamier-red: #8B1A1A;
    --lamier-red-hover: #A32222;
  }

  .lamier-hero {
    position: relative;
    width: 100%;
    padding: 0;
    font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  }

  .lamier-media,
  .lamier-media img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border: 0;
    line-height: 0;
  }

  .lamier-hero :is(.page-width, .container, .content-container) {
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* ===== BANNIÈRE CLIQUABLE =====
     Lien en surimpression sur toute l'image. Il est SOUS les boutons
     (z-index 1 contre 2) : les liens HTML ne peuvent pas être imbriqués,
     donc on les superpose au lieu de les emboîter. */
  .lamier-hero-link {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    text-indent: -9999px;
    overflow: hidden;
  }

  /* ===== CTA BASE ===== */
  .lamier-cta {
    z-index: 2;
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1;
    white-space: nowrap;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    transition: background .15s ease, color .15s ease, transform .2s ease;
    will-change: transform;
  }

  .lamier-cta--dark {
    background: #0a0a0a;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.12);
  }

  .lamier-cta--dark:hover {
    background: #1a1a1a;
  }

  .lamier-cta--dark:active {
    background: #fff;
    color: #0a0a0a;
    border-color: rgba(0,0,0,0.15);
  }

  /* Rouge profond : texte blanc, liseré sombre pour détacher du visuel */
  .lamier-cta--red {
    background: var(--lamier-red);
    color: #fff;
    border: 1px solid rgba(0,0,0,0.25);
  }

  .lamier-cta--red:hover {
    background: var(--lamier-red-hover);
    color: #fff;
  }

  .lamier-cta--red:active {
    background: #fff;
    color: var(--lamier-red);
    border-color: rgba(0,0,0,0.15);
  }

  /* ===== MOBILE ===== */
  @media (max-width: 749px) {
    .lamier-cta-group {
      display: none;
    }

    /* bottom 32px -> 88px : bouton remonté, dégagé de la ligne
       "garantie à vie / 100 jours" imprimée dans l'image */
    .lamier-cta--mobile {
      position: absolute;
      bottom: 88px;
      left: 50%;
      transform: translateX(-50%);
      font-size: 18px;
      padding: 13px 30px;
    }

    .lamier-cta--mobile:hover {
      transform: translateX(-50%) scale(1.04);
    }
  }

  /* ===== DESKTOP : deux boutons alignés à gauche ===== */
  @media (min-width: 750px) {
    .lamier-cta--mobile {
      display: none;
    }

    /* Aligné sur la marge gauche du texte de la bannière (~7,6 %).
       bottom en % et non en px : la hauteur de l'image varie avec la
       largeur de l'écran, un bottom fixe déplacerait les boutons par
       rapport au visuel sur les écrans étroits.
       21 % = juste au-dessus de la ligne "garanti à vie / 100 jours",
       qui est imprimée dans l'image à cet endroit à gauche.
       + 7px : remontée demandée, en pixels fixes pour qu'elle reste
       de 7px quelle que soit la largeur de l'écran. */
    .lamier-cta-group {
      position: absolute;
      z-index: 2;
      left: 7.6%;
      bottom: calc(21% + 7px);
      display: flex;
      align-items: center;
      gap: 14px;
    }

    .lamier-cta {
      font-size: 18px;
      padding: 15px 28px;
    }

    .lamier-cta:hover {
      transform: scale(1.04);
    }
  }

  @media (min-width: 750px) and (max-width: 1100px) {
    .lamier-cta {
      font-size: 15px;
      padding: 12px 20px;
    }

    .lamier-cta-group {
      gap: 10px;
    }
  }

/* ===== Marquee com estrelas ===== */
.lamier-testis {
    position: relative;
    width: 100%;
    background: var(--bg);
    color: var(--fg);
    font-family: Poppins, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    padding: var(--padY) 0;
    overflow: hidden;
  }

  .lamier-testis .lt-rail {
    overflow: hidden;
  }

  .lamier-testis .lt-track {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    animation: lamier-marquee var(--speed) linear infinite;
    will-change: transform;
  }

  .lamier-testis .lt-seq {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: var(--gap);
    flex: 0 0 auto;
    padding: 13px 4vw;
  }

  .lamier-testis .t {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 0 0 auto;
  }

  .lamier-testis .t-stars {
    font-size: 12px;
    letter-spacing: .14em;
    line-height: 1;
    color: var(--star);
  }

  .lamier-testis .t-quote {
    font-size: 21px;
    font-weight: 500;
    font-style: italic;
    margin: 0;
    color: var(--fg);
  }

  .lamier-testis .t-meta {
    font-size: 13px;
    color: var(--muted);
  }

  @media (max-width: 749px) {
    .lamier-testis { --gap:36px; }
    .lamier-testis .lt-seq { padding:11px 4vw; }
    .lamier-testis .t-stars { font-size:11px; }
    .lamier-testis .t-quote { font-size:16.5px; }
    .lamier-testis .t-meta { font-size:12px; }
  }

  @media (hover:hover) {
    .lamier-testis:hover .lt-track { animation-play-state: paused; }
  }

  @keyframes lamier-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }

/* =========================================================================
   Calibração Focal (lelamier.com) — header, faixa de ícones e rodapé.
   Medido em 1240 e 390 px. Container Focal: gutter 24px mobile / 40px ≥750, sem teto de 1200.
   ========================================================================= */
.header-wrapper .page-width,
.lamier-icons .page-width,
.lamier-footer .page-width { max-width: none; padding-left: 24px; padding-right: 24px; }
@media (min-width: 750px) {
  .header-wrapper .page-width,
  .lamier-icons .page-width,
  .lamier-footer .page-width { padding-left: 40px; padding-right: 40px; }
}

.cart-count-bubble[hidden] { display: none; }

/* Header: 58px mobile / 68px desktop, ícone de menu encostado no gutter */
.header-wrapper .header { padding-top: 0; padding-bottom: 0; min-height: 57px; }
@media (min-width: 750px) { .header-wrapper .header { min-height: 67px; } }
.header-wrapper .header__icon--menu { width: auto; justify-content: flex-start; }
.header-wrapper .header__icon--menu .icon { width: 18px; height: 16px; }
.header-wrapper .header__icons .header__icon { width: 36px; }
.header-wrapper .header__icons .header__icon:last-child { justify-content: flex-end; }

/* Faixa de ícones: 3 colunas de 350px (gap 48), ícone 24 + 16, título 13/16, texto 15/26 */
.lamier-icons { padding: 40px 0 58px; letter-spacing: normal; }
@media (min-width: 1000px) { .lamier-icons { padding: 40px 0 65px; } }
.lamier-icons__icon { margin-bottom: 16px; line-height: 0; }
.lamier-icons__icon svg { width: 24px; height: 24px; }
.lamier-icons__title { font-size: 12px; line-height: 18px; letter-spacing: 1px; margin: 0 0 16px; }
.lamier-icons__text { font-size: 14px; line-height: 24px; }
@media (min-width: 1000px) {
  .lamier-icons__title { font-size: 13px; line-height: 16px; }
  .lamier-icons__text { font-size: 15px; line-height: 26px; }
}

/* Rodapé: logo branco + 4 blocos, padding 72/50, gap 40 */
.lamier-footer { padding: 48px 0 40px; letter-spacing: normal; }
.lamier-footer__logo { display: block; width: 172px; max-width: 100%; height: auto; }
@media (max-width: 999px) {
  .lamier-footer__items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
  .lamier-footer__item--image,
  .lamier-footer__item--newsletter { grid-column: 1 / -1; }
}
.lamier-footer__title { font-size: 12px; line-height: 18px; letter-spacing: 1px; margin: 0 0 16px; }
.lamier-footer__text,
.lamier-footer__richtext p { font-size: 14px; line-height: 24px; }
.lamier-footer__richtext { overflow-wrap: anywhere; }
.lamier-footer__links a { font-size: 14px; line-height: 24px; color: #fff; }
.lamier-footer__links li { margin: 0 0 8px; }
.lamier-footer__copyright { font-size: 13px; line-height: 20px; color: rgba(255,255,255,.7); }
@media (min-width: 1000px) {
  .lamier-footer { padding: 72px 0 50px; }
  .lamier-footer__items { display: grid; grid-template-columns: 172fr 210fr 227fr 188fr 188fr; gap: 40px; }
  .lamier-footer__title { font-size: 13px; line-height: 16px; margin-bottom: 20px; }
  .lamier-footer__links li { margin-bottom: 6px; line-height: 26px; }
  .lamier-footer__links li:last-child { margin-bottom: 0; }
  .lamier-footer__text,
  .lamier-footer__richtext p,
  .lamier-footer__links a { font-size: 15px; line-height: 26px; }
  .lamier-footer__aside { margin-top: 50px; padding-top: 0; border-top: 0; }
}
