/* ============================================================
   ATELIER BORAART — styles.css
   Palette : fond #FAFAF7 | texte #1A1A1A | accent #C9A227
   Polices  : Playfair Display (titres) + Inter (texte)
   ============================================================ */

/* ── 1. RESET & BASE ─────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:         #FAFAF7;
  --text:       #1A1A1A;
  --text-light: #6B6B6B;
  --accent:     #C9A227;
  --accent-dk:  #A8841A;
  --white:      #FFFFFF;
  --border:     #E5E5E0;
  --card-bg:    #F2F2EE;

  --font-title: 'Playfair Display', Georgia, serif;
  --font-body:  'Inter', system-ui, sans-serif;

  --radius:     4px;
  --transition: 0.25s ease;

  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   2rem;
  --space-lg:   4rem;
  --space-xl:   7rem;

  --max-width:  1200px;
  --header-h:   80px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol { list-style: none; }

/* ── 2. TYPOGRAPHIE ──────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p { max-width: 65ch; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: var(--space-sm);
}

/* ── 3. LAYOUT UTILITAIRES ───────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

.section {
  padding-block: var(--space-xl);
}

.section--sm {
  padding-block: var(--space-lg);
}

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

/* ── 4. BOUTONS ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition);
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* Primaire — fond doré */
.btn--primary {
  background-color: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn--primary:hover {
  background-color: var(--accent-dk);
  border-color: var(--accent-dk);
}

/* Secondaire — contour doré */
.btn--outline {
  background-color: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn--outline:hover {
  background-color: var(--accent);
  color: var(--white);
}

/* Fantôme blanc (sur fond sombre/image) */
.btn--ghost {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn--ghost:hover {
  background-color: var(--white);
  color: var(--text);
}

/* Payhip — bouton d'achat */
.btn--buy {
  background-color: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  width: 100%;
  justify-content: center;
  font-size: 0.75rem;
  white-space: normal;
  text-align: center;
  line-height: 1.2;
  padding-block: 0.8rem;
}
.btn--buy:hover {
  background-color: var(--accent-dk);
  border-color: var(--accent-dk);
}

/* ── 5. HEADER & NAVIGATION ──────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background-color: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

/* Logo */
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  flex-shrink: 0;
}

.logo__name {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.logo__sub {
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 600;
}

/* Nav centrée */
.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex: 1;
}

.nav__link {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-light);
  transition: color var(--transition);
  position: relative;
  padding: 0.5rem 0;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--text);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

/* Actions Header (Shop + Lang) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.btn--shop {
  background-color: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  font-size: 0.75rem;
  padding: 0.6rem 1.5rem;
  border-radius: 6px;
  font-weight: 700;
}

/* Lang Switcher style pill */
.lang-switcher {
  display: flex;
  align-items: center;
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 2px;
  gap: 2px;
}

.lang-btn {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-light);
  padding: 0.3rem 0.7rem;
  cursor: pointer;
  border-radius: 100px;
  transition: all var(--transition);
}

.lang-btn.active {
  background-color: var(--accent);
  color: var(--white);
}

/* Burger mobile */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 200;
}

.burger__line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}

.burger.open .burger__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open .burger__line:nth-child(2) { opacity: 0; }
.burger.open .burger__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu mobile overlay */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background-color: var(--bg);
  z-index: 99;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
}

.mobile-menu.open { display: flex; }

.mobile-menu .nav__link {
  font-family: var(--font-title);
  font-size: 2rem;
  color: var(--text);
}

.mobile-menu .nav__link::after { display: none; }

/* Décale le contenu sous le header fixe */
.page-content {
  padding-top: var(--header-h);
}

/* ── 6. HERO ─────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  place-items: center;
  overflow: hidden;
  background-color: #1A1A1A;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: var(--space-lg) var(--space-md);
  max-width: 900px;
}

.hero__tag {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.4rem 1.2rem;
  border-radius: 0; /* Rectangle as per image */
  margin-bottom: var(--space-md);
}

.hero__title {
  color: var(--white);
  font-size: clamp(3rem, 8vw, 5rem);
  line-height: 1.1;
  margin-bottom: var(--space-md);
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.hero__title em {
  font-style: italic;
  font-weight: 400;
}

.hero__slogan {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: rgba(255,255,255,0.9);
  margin-bottom: var(--space-lg);
  max-width: 65ch;
  margin-inline: auto;
  font-weight: 400;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn--outline-white {
  background-color: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.8);
  padding: 1rem 2rem;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  transition: all var(--transition);
}

.btn--outline-white:hover {
  background-color: var(--white);
  color: var(--text);
}

/* Ligne dorée décorative sous le héro */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background-color: var(--accent);
  z-index: 3;
}

/* ── 7. SECTION TITRES ───────────────────────────────────── */
.section-header {
  margin-bottom: var(--space-lg);
}

.section-header p {
  color: var(--text-light);
  margin-top: var(--space-xs);
}

/* Séparateur doré centré */
.section-header--center {
  text-align: center;
}

.section-header--center p {
  margin-inline: auto;
}

.divider {
  width: 40px;
  height: 2px;
  background-color: var(--accent);
  margin-block: var(--space-sm);
}

.divider--center {
  margin-inline: auto;
}

/* ── 8. GRILLE GALERIE ───────────────────────────────────── */
.grid-galerie {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Carte d'œuvre */
.card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.10);
}

/* Zone image de la carte */
.card__img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background-color: var(--card-bg);
}

.card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card__img { transform: scale(1.05); }

/* Badge format/prix */
.card__badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background-color: var(--accent);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
}

/* Corps de la carte */
.card__body {
  padding: 1.1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.card__category {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.card__title {
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}

.card__desc {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.5;
  flex: 1;
}

.card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.card__price {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.card__price span:not([data-lang]) {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-light);
  display: block;
  line-height: 1;
}

.card__price span[data-lang].lang-visible {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-light);
  display: block;
  line-height: 1;
}

/* ── 9. IMAGE DE REMPLACEMENT (placeholder) ──────────────── */
/*
   Tant que tu n'as pas encore tes vraies images,
   ces placeholders gris s'affichent automatiquement.
   Une fois que tu mets tes vraies images, ces styles
   ne gênent pas — ils sont invisibles.
*/
.placeholder-img {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #D9D9D4;
  color: #8A8A85;
  font-size: 0.78rem;
  font-family: var(--font-body);
  letter-spacing: 0.05em;
}

.placeholder-img svg {
  opacity: 0.4;
}

.placeholder-hero {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #2A2A2A 0%, #3D3D3D 100%);
}

/* ── 10. SECTION À PROPOS (accueil) ─────────────────────── */
.apropos-home {
  background-color: var(--card-bg);
}

.apropos-home__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.apropos-home__img-wrap {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius);
  background-color: var(--border);
  position: relative;
}

.apropos-home__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Cadre doré décoratif */
.apropos-home__img-wrap::before {
  content: '';
  position: absolute;
  inset: -12px -12px auto auto;
  width: 60%;
  height: 60%;
  border-top: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  z-index: 1;
  pointer-events: none;
}

.apropos-home__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.apropos-home__text h2 { margin-bottom: var(--space-xs); }

.apropos-home__text p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ── 11. BANDEAU CHIFFRES ────────────────────────────────── */
.stats-band {
  background-color: var(--text);
  color: var(--white);
  padding-block: var(--space-lg);
}

.stats-band__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  text-align: center;
}

.stat__number {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat__label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

/* ── 12. FOOTER ──────────────────────────────────────────── */
.site-footer {
  background-color: var(--text);
  color: rgba(255,255,255,0.7);
  padding-block: var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer__logo .logo__name { color: var(--white); }

.footer__tagline {
  font-size: 0.85rem;
  margin-top: var(--space-xs);
  max-width: 30ch;
  line-height: 1.6;
}

.footer__heading {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.footer__links a:hover { color: var(--white); }

/* Réseaux sociaux */
.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: var(--space-sm);
}

.social-link {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: border-color var(--transition), color var(--transition),
              background var(--transition);
}

.social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  background-color: rgba(201,162,39,0.1);
}

.social-link svg { width: 16px; height: 16px; fill: currentColor; }

/* Bas du footer */
.footer-bottom {
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}

.footer-bottom a {
  color: rgba(255,255,255,0.35);
  transition: color var(--transition);
}
.footer-bottom a:hover { color: var(--white); }

.footer-bottom__links {
  display: flex;
  gap: var(--space-md);
}

/* ── 13. RESPONSIVE ──────────────────────────────────────── */

/* Tablette */
@media (max-width: 900px) {
  .grid-galerie {
    grid-template-columns: repeat(2, 1fr);
  }

  .apropos-home__grid {
    grid-template-columns: 1fr;
  }

  .apropos-home__img-wrap {
    aspect-ratio: 16 / 9;
    max-height: 360px;
  }

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

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
}

/* Mobile */
@media (max-width: 600px) {
  :root {
    --space-xl: 4rem;
    --space-lg: 2.5rem;
  }

  .nav { display: none; }
  .burger { display: flex; }

  .grid-galerie {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .stats-band__grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }
}

/* ── 14. ACCESSIBILITÉ ───────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ── 15. GALERIE PAGE ────────────────────────────────────── */

/* Bandeau titre de page */
.page-banner {
  background-color: var(--card-bg);
  padding-block: var(--space-lg);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.page-banner__eyebrow {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.5rem;
}

.page-banner h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.75rem;
}

.page-banner p {
  color: var(--text-light);
  font-size: 1rem;
  max-width: 52ch;
  margin-inline: auto;
}

/* Barre de filtres */
.filters-bar {
  padding-block: var(--space-md);
  border-bottom: 1px solid var(--border);
  background-color: var(--bg);
  position: sticky;
  top: var(--header-h);
  z-index: 50;
}

.filters-bar__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.filters-bar__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  white-space: nowrap;
}

.filter-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.45rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-light);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-btn.active {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

/* Compteur de résultats */
.results-count {
  margin-left: auto;
  font-size: 0.78rem;
  color: var(--text-light);
  white-space: nowrap;
}

/* Grille galerie étendue */
.galerie-section {
  padding-block: var(--space-lg);
}

/* Message si aucun résultat */
.no-results {
  text-align: center;
  padding-block: var(--space-xl);
  color: var(--text-light);
  display: none;
}

.no-results.visible { display: block; }

/* Carte masquée par le filtre */
.card.hidden {
  display: none;
}

@media (max-width: 600px) {
  .filters-bar__inner {
    gap: 0.5rem;
  }

  .results-count {
    width: 100%;
    margin-left: 0;
  }
}

/* ── 16. PAGE À PROPOS ───────────────────────────────────── */

/* Héro À propos */
.apropos-hero {
  background-color: var(--text);
  color: var(--white);
  padding-block: var(--space-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Cercle décoratif en arrière-plan */
.apropos-hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  border: 1px solid rgba(201,162,39,0.15);
  pointer-events: none;
}

.apropos-hero::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(201,162,39,0.1);
  pointer-events: none;
}

.apropos-hero h1 {
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.apropos-hero .hero__tag {
  margin-bottom: var(--space-md);
}

.apropos-hero p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  max-width: 52ch;
  margin-inline: auto;
}

/* Section histoire — image + texte */
.histoire-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.histoire__img-wrap {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--card-bg);
}

.histoire__img-wrap img,
.histoire__img-wrap .placeholder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Cadre doré décoratif */
.histoire__img-wrap::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: -14px;
  width: 55%;
  height: 55%;
  border-bottom: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
  pointer-events: none;
}

.histoire__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.histoire__text h2 {
  margin-bottom: 0;
}

.histoire__text p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Section valeurs / process */
.valeurs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.valeur-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.valeur-card__icon {
  width: 48px;
  height: 48px;
  background-color: rgba(201,162,39,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.valeur-card__icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.valeur-card h3 {
  font-size: 1.05rem;
}

.valeur-card p {
  font-size: 0.87rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Section process étapes */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  position: relative;
}

/* Ligne de connexion entre les étapes */
.process-steps::before {
  content: '';
  position: absolute;
  top: 24px;
  left: calc(12.5% + 24px);
  right: calc(12.5% + 24px);
  height: 1px;
  background: linear-gradient(to right, var(--accent), transparent);
  pointer-events: none;
}

.process-step {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}

.process-step__num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--accent);
  color: var(--white);
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.process-step h3 {
  font-size: 1rem;
}

.process-step p {
  font-size: 0.83rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Section CTA bandeau */
.cta-band {
  background-color: var(--accent);
  padding-block: var(--space-lg);
  text-align: center;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.cta-band p {
  color: rgba(255,255,255,0.85);
  margin-inline: auto;
  margin-bottom: var(--space-md);
}

.cta-band .btn--ghost {
  border-color: rgba(255,255,255,0.8);
}

/* Responsive À propos */
@media (max-width: 900px) {
  .histoire-grid {
    grid-template-columns: 1fr;
  }

  .histoire__img-wrap {
    aspect-ratio: 16/9;
    max-height: 340px;
  }

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

  .process-steps {
    grid-template-columns: 1fr 1fr;
  }

  .process-steps::before { display: none; }
}

@media (max-width: 600px) {
  .valeurs-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }
}

/* ── 17. PAGE CONTACT ────────────────────────────────────── */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--space-lg);
  align-items: start;
}

/* Colonne infos */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.contact-info__block {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-info__icon {
  width: 44px;
  height: 44px;
  background-color: rgba(201,162,39,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.contact-info__icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-info__label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.contact-info__value {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
}

.contact-info__note {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* Séparateur fin */
.contact-info__sep {
  width: 100%;
  height: 1px;
  background-color: var(--border);
}

/* Réseaux dans contact */
.contact-social {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-social__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.88rem;
  color: var(--text-light);
  transition: color var(--transition);
}

.contact-social__link:hover { color: var(--accent); }

.contact-social__link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

/* Formulaire */
.contact-form {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
}

.form-label span {
  color: var(--accent);
  margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.12);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #AEAEAD;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B6B6B' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

.form-hint {
  font-size: 0.72rem;
  color: var(--text-light);
  margin-top: 0.2rem;
}

.form-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.form-submit__note {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* Message de confirmation */
.form-success {
  display: none;
  text-align: center;
  padding: var(--space-md);
  background-color: rgba(201,162,39,0.08);
  border: 1px solid rgba(201,162,39,0.3);
  border-radius: var(--radius);
  color: var(--text);
}

.form-success.visible { display: block; }

.form-success__icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

/* Responsive contact */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-info {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .contact-info__block {
    flex: 1;
    min-width: 200px;
  }

  .contact-info__sep { display: none; }
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-info {
    flex-direction: column;
  }
}

/* ── 18. PAGE FAQ ────────────────────────────────────────── */

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-lg);
  align-items: start;
}

/* Navigation latérale */
.faq-nav {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.faq-nav__title {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.faq-nav__link {
  font-size: 0.82rem;
  color: var(--text-light);
  padding: 0.4rem 0.75rem;
  border-left: 2px solid var(--border);
  transition: color var(--transition), border-color var(--transition);
  line-height: 1.4;
}

.faq-nav__link:hover,
.faq-nav__link.active {
  color: var(--text);
  border-left-color: var(--accent);
}

/* Groupes de questions */
.faq-group {
  margin-bottom: var(--space-lg);
}

.faq-group__title {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-sm);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

/* Accordéon FAQ */
.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  transition: color var(--transition);
}

.faq-question:hover { color: var(--accent); }

.faq-question__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition), border-color var(--transition);
}

.faq-question__icon svg {
  width: 14px;
  height: 14px;
  stroke: var(--text-light);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  transition: transform var(--transition), stroke var(--transition);
}

.faq-item.open .faq-question__icon {
  background-color: var(--accent);
  border-color: var(--accent);
}

.faq-item.open .faq-question__icon svg {
  stroke: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer__inner {
  padding-bottom: 1.25rem;
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.75;
}

.faq-answer__inner strong {
  color: var(--text);
}

.faq-answer__inner a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Responsive FAQ */
@media (max-width: 900px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .faq-nav {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: var(--space-md);
  }

  .faq-nav__title { width: 100%; }

  .faq-nav__link {
    border-left: none;
    border-bottom: 2px solid var(--border);
    padding: 0.3rem 0.5rem;
    font-size: 0.78rem;
  }

  .faq-nav__link:hover,
  .faq-nav__link.active {
    border-bottom-color: var(--accent);
    border-left: none;
  }
}

/* ── 19. PAGE LICENCES ───────────────────────────────────── */

/* Cartes de licence */
.licences-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.licence-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.licence-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

/* Badge "Populaire" */
.licence-card--featured {
  border-color: var(--accent);
  border-width: 2px;
}

.licence-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--accent);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.9rem;
  border-radius: 100px;
  white-space: nowrap;
}

.licence-card__icon {
  width: 52px;
  height: 52px;
  background-color: rgba(201,162,39,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.licence-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.licence-card__name {
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
}

.licence-card__desc {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
  flex: 1;
}

/* Liste autorisé / interdit */
.licence-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.licence-list__item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--text);
}

.licence-list__item--ok::before {
  content: '✓';
  color: #2E7D32;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.licence-list__item--no::before {
  content: '✕';
  color: #C62828;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.licence-card__cta {
  margin-top: auto;
}

/* Tableau comparatif */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.compare-table th,
.compare-table td {
  padding: 0.85rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.compare-table th {
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 600;
  background-color: var(--card-bg);
}

.compare-table th:first-child,
.compare-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--text);
}

.compare-table td {
  color: var(--text-light);
}

.compare-table .ok  { color: #2E7D32; font-weight: 700; font-size: 1rem; }
.compare-table .no  { color: #C62828; font-weight: 700; font-size: 1rem; }
.compare-table tr:hover td { background-color: rgba(201,162,39,0.04); }

/* Section règles importantes */
.rules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.rule-block {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.rule-block h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.rule-block p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* Responsive licences */
@media (max-width: 900px) {
  .licences-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }

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

  .compare-table {
    font-size: 0.78rem;
  }

  .compare-table th,
  .compare-table td {
    padding: 0.6rem 0.5rem;
  }
}

/* ── 20. PAGE MENTIONS LÉGALES ───────────────────────────── */

.mentions-content {
  max-width: 820px;
  margin-inline: auto;
}

.mentions-section {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border);
}

.mentions-section:last-child {
  border-bottom: none;
}

.mentions-section h2 {
  font-size: 1.3rem;
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.mentions-section h2 .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: var(--accent);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
}

.mentions-section p,
.mentions-section li {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.8;
  max-width: 100%;
}

.mentions-section strong {
  color: var(--text);
  font-weight: 600;
}

.mentions-section a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mentions-section ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mentions-update {
  background-color: var(--card-bg);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: var(--space-lg);
}

/* ── 21. SÉLECTEUR DE LANGUE ─────────────────────────────── */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 100px;
  overflow: hidden;
  flex-shrink: 0;
}

.lang-btn {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-light);
  padding: 0.35rem 0.7rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  line-height: 1;
}

.lang-btn.active {
  background-color: var(--accent);
  color: var(--white);
}

.lang-btn:hover:not(.active) {
  background-color: var(--card-bg);
  color: var(--text);
}

/* SYSTÈME DE TRADUCTION NETTOYÉ */
/* 1. On cache TOUT ce qui a un attribut data-lang par défaut */
[data-lang] { 
  display: none !important; 
}

/* Fallback si JS désactivé : afficher le français par défaut */
body:not(.lang-fr):not(.lang-en) [data-lang="fr"] {
  display: block !important;
}
body:not(.lang-fr):not(.lang-en) span[data-lang="fr"],
body:not(.lang-fr):not(.lang-en) a[data-lang="fr"] {
  display: inline !important;
}

/* 2. On affiche UNIQUEMENT la langue correspondant à la classe du BODY avec la même force (!important) */
body.lang-fr [data-lang="fr"], 
body.lang-en [data-lang="en"] { 
  display: block !important; 
}

/* 3. Correction des types d'affichage pour éviter de casser la mise en page */
body.lang-fr span[data-lang="fr"], 
body.lang-fr a[data-lang="fr"],
body.lang-en span[data-lang="en"], 
body.lang-en a[data-lang="en"] { 
  display: inline !important; 
}

body.lang-fr div[data-lang="fr"], 
body.lang-fr nav[data-lang="fr"],
body.lang-en div[data-lang="en"], 
body.lang-en nav[data-lang="en"] { 
  display: flex !important; 
}

/* Cas spécial : Les options du menu déroulant (gérées par JS) */
.card__size-select option[data-lang] { 
  display: revert !important; 
}




/* ── 22. lightbox — VISIONNEUSE PLEIN ÉCRAN ─────────────── */

/* Rend les images de la galerie cliquables visuellement */
.card__img-wrap {
  cursor: zoom-in;
}

/* Overlay sombre plein écran */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background-color: rgba(12, 10, 9, 0.985);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.open {
  display: flex;
  opacity: 1;
}

/* Conteneur central : image + infos */
.lightbox__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1100px;
  max-height: 90vh;
  width: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: scale(0.96);
  transition: transform 0.3s ease;
}

.lightbox.open .lightbox__content {
  transform: scale(1);
}
 .lightbox__img {
    width: auto;
    height: auto;
    max-width: 95vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 2px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
/* 🌟 AJOUTEZ CETTE LIGNE : */
    pointer-events: none;
}

/* Infos sous l'image */
.lightbox__info {
  margin-top: 1.5rem;
  text-align: center;
  color: var(--white);
  max-width: 640px;
}

.lightbox__category {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
  display: block;
}

.lightbox__title {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.lightbox__desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  margin-inline: auto;
}

.lightbox__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.lightbox__price {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
}

/* Bouton fermer */
.lightbox__close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1010;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.35);
  color: var(--white);
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
  line-height: 1;
}

.lightbox__close:hover {
  background-color: var(--accent);
  border-color: var(--accent);
}

/* Flèches navigation précédent/suivant */
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
  z-index: 1001;
}

.lightbox__nav:hover {
  background-color: var(--accent);
  border-color: var(--accent);
}

.lightbox__nav--prev { left: -1rem; }
.lightbox__nav--next { right: -1rem; }

.lightbox__nav svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* Responsive lightbox */
@media (max-width: 700px) {
  .lightbox { padding: 1rem; }
  .lightbox__close { top: 0.75rem; right: 0.75rem; width: 42px; height: 42px; font-size: 1.4rem; }
  .lightbox__nav { display: none; }
  .lightbox__title { font-size: 1.3rem; }
  .lightbox__img { max-height: 50vh; }
  .lightbox__content { max-height: 92vh; }
}

/* ── 23. SÉLECTEUR DE TAILLE (CARTES GALERIE) ───────────── */

.card__size-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.6rem;
  margin-bottom: 0.4rem;
}

.card__size-label {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
}

.card__size-select {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text);
  background-color: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem 0.75rem;
  width: 100%;
  cursor: pointer;
  transition: border-color var(--transition);
}

.card__size-select:focus {
  border-color: var(--accent);
  outline: none;
}

/* Dans la lightbox aussi */
.lightbox__size-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.lightbox__size-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.lightbox__size-select {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--white);
  background-color: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius);
  padding: 0.55rem 1rem;
  cursor: pointer;
  min-width: 220px;
}

.lightbox__size-select option {
  color: var(--text);
}

/* ============================================================
   AMÉLIORATIONS COMMERCIALES — ajouts non destructifs
   ============================================================ */

/* ── Bouton WhatsApp flottant ─────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 10px 28px rgba(0,0,0,0.32); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
@media (max-width: 600px) {
  .wa-float { width: 52px; height: 52px; bottom: 16px; right: 16px; }
  .wa-float svg { width: 27px; height: 27px; }
}

/* ── Bandeau cookies (RGPD / Payhip) ──────────────────────── */
.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%) translateY(160%);
  z-index: 1000;
  width: min(680px, calc(100% - 32px));
  background: var(--text, #1a1a1a);
  color: #fff;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  transition: transform 0.4s ease;
}
.cookie-banner.show { transform: translateX(-50%) translateY(0); }
.cookie-banner__text { flex: 1 1 280px; font-size: 0.85rem; line-height: 1.5; }
.cookie-banner__text a { color: #ffd9a0; text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 0.5rem; flex-shrink: 0; }
.cookie-banner button {
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.4);
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease;
}
.cookie-banner button.cookie-accept { background: #fff; color: #1a1a1a; border-color: #fff; }
.cookie-banner button:hover { background: rgba(255,255,255,0.15); }
.cookie-banner button.cookie-accept:hover { background: #f0f0f0; }

/* ── Bloc newsletter ──────────────────────────────────────── */
.newsletter {
  background: var(--cream, #f7f1e8);
  padding: 3.5rem 0;
}
.newsletter__inner {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}
.newsletter h2 { margin-bottom: 0.5rem; }
.newsletter p { margin-bottom: 1.5rem; opacity: 0.85; }
.newsletter__form {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
}
.newsletter__form input[type="email"] {
  flex: 1 1 260px;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.18);
  font-family: inherit;
  font-size: 0.95rem;
}
.newsletter__note { font-size: 0.78rem; opacity: 0.65; margin-top: 0.9rem; }

/* ── Témoignages / preuve sociale ─────────────────────────── */
.testimonials { padding: 4rem 0; }
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.testimonial {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 4px 18px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
}
.testimonial__stars { color: #e0a528; letter-spacing: 2px; margin-bottom: 0.75rem; }
.testimonial__text { font-style: italic; line-height: 1.6; margin-bottom: 1.25rem; flex: 1; }
.testimonial__author { font-weight: 600; font-size: 0.9rem; }
.testimonial__role { font-size: 0.8rem; opacity: 0.6; }

/* ============================================================
   BONUS — Filigrane (watermark) sur les aperçus
   ============================================================ */

/* Le filigrane se superpose à l'image SANS être dans le fichier vendu.
   Motif SVG répété en diagonale : "ATELIER BORAART" semi-transparent. */
.card__img-wrap::after,
.lightbox__img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background-image: url("data:image/svg+xml;utf8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='300'%20height='150'%20viewBox='0%200%20300%20150'%3E%3Ctext%20x='150'%20y='80'%20font-family='Georgia,serif'%20font-size='20'%20fill='%23ffffff'%20fill-opacity='0.16'%20text-anchor='middle'%20transform='rotate(-30%20150%2075)'%3EATELIER%20BORAART%3C/text%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 100px;
}

/* Le badge format doit rester au-dessus du filigrane */
.card__badge { z-index: 3; }

/* Empêche le glisser-déposer / enregistrement facile de l'aperçu */
.card__img,
.lightbox__img {
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}
/* On garde le clic d'ouverture sur le wrapper, pas sur l'img */
.card__img-wrap { pointer-events: auto; }

/* Variante lightbox : on enrobe l'image d'un conteneur pour le filigrane */
.lightbox__img-wrap {
  position: relative;
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  line-height: 0;
  flex-shrink: 0;
}

/* ── Bouton "retour en haut" ──────────────────────────────── */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 90px; /* au-dessus du bouton WhatsApp */
  z-index: 998;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.12);
  background: var(--white, #fff);
  color: var(--accent, #a0521d);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--accent, #a0521d); color: #fff; }
.to-top svg { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 600px) {
  .to-top { width: 44px; height: 44px; bottom: 80px; right: 16px; }
}

/* ── Système Haute Résolution ─────────────────────────────── */

/* Badge HD sur l'image (remplace l'ancien badge format) */
.card__badge--hd {
  background-color: var(--accent, #a0521d);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* Ligne "Haute résolution" sous la description de la carte */
.card__hd-info {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: #2e7d32;
  margin: 0.4rem 0 0.6rem;
  font-weight: 600;
}
.card__hd-info svg {
  width: 15px; height: 15px; flex-shrink: 0;
  fill: none; stroke: #2e7d32; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
}

/* Bloc HD dans la lightbox */
.lightbox__hd {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.9rem auto 0.2rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(46,125,50,0.15);
  border: 1px solid rgba(46,125,50,0.45);
  color: #8ddf91;
  font-size: 0.82rem;
  font-weight: 600;
}
.lightbox__hd svg {
  width: 16px; height: 16px;
  fill: none; stroke: #8ddf91; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
}

/* Bannière de réassurance HD en haut de la galerie */
.hd-banner {
  background: linear-gradient(135deg, #7a3b1e, #b5651d);
  color: #fff;
}
.hd-banner__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  line-height: 1.4;
}
.hd-banner__inner svg {
  width: 22px; height: 22px; flex-shrink: 0;
  fill: #ffd9a0;
}
.hd-banner strong { color: #ffe7c2; }
@media (max-width: 600px) {
  .hd-banner__inner { font-size: 0.82rem; }
}

/* ── Logo image (header) ──────────────────────────────────── */
.logo__img {
  height: 64px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}
/* Dans le header : on affiche l'image, on masque le texte du logo
   (gardé en lecture d'écran via aria-label sur le lien) */
.site-header .logo__name,
.site-header .logo__sub,
.mobile-menu .logo__name,
.mobile-menu .logo__sub {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.site-header .logo {
  display: inline-flex;
  align-items: center;
  flex-direction: row;
}

@media (max-width: 600px) {
  .logo__img { height: 52px; max-width: 150px; }
}

/* ── Sélecteur de devise ──────────────────────────────────── */
.cur-switcher {
  position: relative;
  margin-right: 0.5rem;
}
.cur-btn {
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--accent, #C9A227);
  border-radius: 999px;
  background: var(--accent, #C9A227);
  color: var(--white, #fff);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .2s ease, border-color .2s ease;
}
.cur-btn:hover {
  background: var(--accent-dk, #A8841A);
  border-color: var(--accent-dk, #A8841A);
}
.cur-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--border, #e3d8c6);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.14);
  padding: 0.35rem;
  display: none;
  z-index: 200;
}
.cur-switcher.open .cur-menu { display: block; }
.cur-option {
  display: block;
  width: 100%;
  text-align: left;
  font-family: inherit;
  font-size: 0.82rem;
  padding: 0.5rem 0.7rem;
  border: none;
  background: none;
  border-radius: 8px;
  cursor: pointer;
  color: var(--text, #2a2520);
}
.cur-option:hover { background: var(--cream, #f7f1e8); }
.cur-option .cur-name { opacity: 0.6; font-size: 0.78rem; }

/* Note "paiement en USD" : visible uniquement si devise convertie */
.card__pay-note, .lightbox__pay-note {
  font-size: 0.68rem;
  opacity: 0.7;
  margin-top: 0.5rem;
  display: none;
  line-height: 1.3;
}
body.cur-converted .card__pay-note,
body.cur-converted .lightbox__pay-note { display: block; }

@media (max-width: 600px) {
  .cur-menu { right: auto; left: 0; }
}
