/* ==========================================================================
   Création K — feuille de style
   Mobile d'abord : les règles de base visent le téléphone,
   les @media (min-width) ajoutent la mise en page tablette / ordinateur.
   Sommaire :
     1. Couleurs, polices, réglages
     2. Base
     3. Boutons
     4. En-tête & menu
     5. Hero
     6. Sections communes
     7. L'atelier & valeurs
     8. Créations (filtres, galerie)
     9. Coulisses (TikTok, Instagram)
    10. Contact
    11. Pied de page
    12. CTA flottant, agrandissement, message
    13. Animations & accessibilité
   ========================================================================== */

/* 1. Couleurs, polices, réglages ------------------------------------------ */

/* Polices hébergées sur le site (aucun appel à Google).
   Fichiers « variables » : une seule fonte couvre toutes les graisses.
   Jeu de caractères latin : français complet, y compris œ, €, guillemets « ». */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("../assets/fonts/fraunces.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 300 600;
  font-display: swap;
  src: url("../assets/fonts/fraunces-italique.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/plus-jakarta-sans.woff2") format("woff2");
}

:root {
  /* Palette chaude et douce */
  --creme: #FAF6F1;          /* fond principal */
  --blanc: #FFFDFA;          /* cartes */
  --lin: #F2E9DE;            /* fond de section */
  --sable: #E4D5C3;          /* bordures, fonds d'image */
  --rose: #EBCFC6;           /* rose poudré */
  --rose-clair: #F7E9E4;
  --terracotta: #9E5239;     /* boutons et textes d'accent : contraste ≥ 4,5:1
                                avec le blanc ET avec les fonds lin / rose (norme WCAG AA) */
  --terracotta-vif: #C47B5A; /* décor */
  --terracotta-fonce: #8E4A33;
  --taupe: #8C7B6F;          /* décor uniquement (contraste faible) */
  --texte: #3B2E28;
  --texte-doux: #6E5E54;
  --couture: rgba(166, 90, 64, .38); /* pointillés « coutures » */

  /* Polices */
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Formes & ombres */
  --radius: 22px;
  --radius-sm: 14px;
  --ombre: 0 1px 2px rgba(59, 46, 40, .05), 0 8px 24px -10px rgba(59, 46, 40, .18);
  --ombre-forte: 0 2px 6px rgba(59, 46, 40, .08), 0 22px 44px -18px rgba(59, 46, 40, .32);
  --ease: cubic-bezier(.22, .7, .25, 1);

  --header-h: 68px;
}

@media (min-width: 900px) {
  :root { --header-h: 78px; }
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--creme);
  color: var(--texte);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open,
html:has(dialog[open]) { overflow: hidden; }

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

h1, h2, h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-optical-sizing: auto;
  font-variation-settings: "SOFT" 100;
  line-height: 1.12;
  letter-spacing: -.01em;
  text-wrap: balance;
}

h1 em, h2 em {
  font-style: italic;
  color: var(--terracotta);
}

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

ul[class], ol[class], .main-nav ul { list-style: none; margin: 0; padding: 0; }

button { font: inherit; color: inherit; }

/* Icônes SVG : taille par défaut, ajustée plus bas selon le contexte */
svg { width: 1.2em; height: 1.2em; flex-shrink: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.container {
  width: min(100% - 2.5rem, 1160px);
  margin-inline: auto;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

[hidden] { display: none !important; }

.skip-link {
  position: absolute;
  top: -100px; left: 1rem;
  z-index: 100;
  padding: .7rem 1.1rem;
  border-radius: 999px;
  background: var(--texte);
  color: var(--creme);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: .75rem; }

:focus-visible {
  outline: 3px solid var(--terracotta-vif);
  outline-offset: 3px;
  border-radius: 6px;
}

/* 3. Boutons --------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 44px;
  padding: .7rem 1.25rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn svg { width: 1.2em; height: 1.2em; }
.btn:active { transform: translateY(1px) scale(.99); }

.btn-primary {
  background: var(--terracotta);
  color: #fff;
  box-shadow: 0 8px 20px -10px rgba(142, 74, 51, .7);
}
.btn-primary:hover { background: var(--terracotta-fonce); }

.btn-ghost {
  border-color: var(--texte);
  color: var(--texte);
  background: transparent;
}
.btn-ghost:hover { background: var(--texte); color: var(--creme); }

.btn-light { background: var(--creme); color: var(--texte); }
.btn-light:hover { background: #fff; }

.btn-lg { min-height: 52px; padding: .9rem 1.6rem; font-size: 1rem; }
.btn-xl { min-height: 58px; padding: 1rem 2rem; font-size: 1.05rem; }

/* 4. En-tête & menu -------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
}
/* Fond de l'en-tête. Volontairement sans effet de flou (backdrop-filter) :
   il ralentit l'affichage sur les petits téléphones. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--creme); /* opaque : rien ne doit se deviner au travers */
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled::before {
  border-bottom-color: rgba(228, 213, 195, .8);
  box-shadow: 0 6px 24px -18px rgba(59, 46, 40, .4);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: .75rem;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-right: auto;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-variation-settings: "SOFT" 100;
  line-height: 1;
  letter-spacing: -.01em;
  text-decoration: none;
  white-space: nowrap;
}
.logo em { font-style: italic; color: var(--terracotta); }
.logo-mark {
  width: 32px; height: 32px;
  color: var(--terracotta);
  transition: transform .6s var(--ease);
}
.logo:hover .logo-mark { transform: rotate(90deg); }

/* CTA d'en-tête : texte à partir de 600 px, icône seule en dessous */
.header-cta { display: none; min-height: 42px; padding: .6rem 1.1rem; font-size: .9rem; }
.header-ig {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--terracotta);
  color: #fff;
}
.header-ig svg { width: 22px; height: 22px; }

@media (min-width: 600px) {
  .header-cta { display: inline-flex; }
  .header-ig { display: none; }
}

/* Bouton burger */
.menu-toggle {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  padding: 0;
  border: 1.5px solid var(--sable);
  border-radius: 50%;
  background: var(--blanc);
  cursor: pointer;
}
.burger { position: relative; display: block; width: 18px; height: 12px; }
.burger::before, .burger::after, .burger span {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--texte);
  transition: transform .3s var(--ease), opacity .2s;
}
.burger::before { top: 0; }
.burger span { top: 5px; }
.burger::after { bottom: 0; }
.menu-toggle[aria-expanded="true"] .burger::before { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .burger span { opacity: 0; }
.menu-toggle[aria-expanded="true"] .burger::after { transform: translateY(-5px) rotate(-45deg); }

/* Menu : plein écran sur mobile */
@media (max-width: 899.98px) {
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.5rem 1.25rem calc(2rem + env(safe-area-inset-bottom));
    overflow-y: auto;
    background: var(--creme);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
  }
  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .25s, transform .3s var(--ease);
  }
  .main-nav ul { margin-bottom: .75rem; }
  .main-nav ul a {
    display: block;
    padding: .75rem 0;
    border-bottom: 1.5px dashed var(--sable);
    font-family: var(--serif);
    font-size: 1.9rem;
    font-variation-settings: "SOFT" 100;
    text-decoration: none;
  }
  .nav-tiktok {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 44px;
    color: var(--texte-doux);
    font-weight: 600;
    text-decoration: none;
  }
}

/* Menu : en ligne sur ordinateur */
@media (min-width: 900px) {
  .menu-toggle, .nav-cta, .nav-tiktok { display: none; }
  .main-nav ul { display: flex; gap: .25rem; margin-right: .75rem; }
  .main-nav ul a {
    position: relative;
    display: block;
    padding: .5rem .85rem;
    font-size: .95rem;
    font-weight: 500;
    text-decoration: none;
  }
  /* soulignement en pointillés, comme une couture */
  .main-nav ul a::after {
    content: "";
    position: absolute;
    left: .85rem; right: .85rem; bottom: .3rem;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--terracotta) 0 5px, transparent 5px 9px);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s var(--ease);
  }
  .main-nav ul a:hover::after { transform: scaleX(1); }
}

/* 5. Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  padding: clamp(2rem, 6vw, 4.5rem) 0 clamp(3.5rem, 8vw, 6rem);
  background:
    radial-gradient(55% 45% at 90% 15%, var(--rose-clair), transparent 70%),
    radial-gradient(45% 40% at 0% 100%, var(--lin), transparent 70%);
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1rem;
  color: var(--terracotta);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: repeating-linear-gradient(90deg, currentColor 0 5px, transparent 5px 8px);
}

.hero h1 {
  font-size: clamp(2.6rem, 1.7rem + 4.4vw, 4.7rem);
  line-height: 1.03;
  letter-spacing: -.02em;
}

.lead {
  max-width: 34rem;
  margin-top: 1.25rem;
  color: var(--texte-doux);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}
@media (max-width: 479.98px) {
  .hero-actions .btn { width: 100%; }
}

.hero-reassurance {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  margin-top: 1.75rem !important;
  color: var(--texte-doux);
  font-size: .9rem;
  font-weight: 500;
}
.hero-reassurance li { display: inline-flex; align-items: center; gap: .5rem; }
.hero-reassurance li::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--terracotta-vif);
}

/* Carrousel dans une arche */
.hero-visual {
  position: relative;
  width: min(100%, 440px);
  margin-inline: auto;
}
/* Couture en pointillés autour de l'arche */
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -12px;
  border: 2px dashed var(--couture);
  border-radius: 999px 999px 40px 40px;
  pointer-events: none;
}

.arch {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 999px 999px 30px 30px;
  background: var(--sable);
  box-shadow: var(--ombre-forte);
  /* Les photos restent « enfermées » dans l'arche : leur superposition (z-index)
     ne déborde pas sur le badge rond posé par-dessus. */
  isolation: isolate;
}
/* Simple fondu, sans zoom : un zoom très lent sur du velours côtelé
   fait « vibrer » les rayures et donne une impression de saccade. */
.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
/* La photo qui arrive se pose PAR-DESSUS l'ancienne, qui reste opaque
   pendant le fondu : pas de « creux » de luminosité au milieu du passage. */
.slide.is-active,
.slide.is-leaving { opacity: 1; }
.slide.is-active { z-index: 1; }

/* Badge rond qui tourne */
.badge {
  position: absolute;
  left: -14px;
  bottom: 24px;
  display: grid;
  place-items: center;
  width: 118px; height: 118px;
  border-radius: 50%;
  background: var(--creme);
  color: var(--terracotta);
  box-shadow: var(--ombre);
}
.badge-text {
  position: absolute;
  inset: 4px;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  animation: tourne 22s linear infinite;
}
.badge-text text {
  fill: var(--terracotta-fonce);
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.badge-heart { width: 30px; height: 30px; }

@keyframes tourne { to { transform: rotate(360deg); } }

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 4rem; }
  .hero-visual { margin-right: 0; }
  .badge { left: -48px; bottom: 48px; width: 132px; height: 132px; }
}

/* 6. Sections communes ----------------------------------------------------- */
.section { padding-block: clamp(4rem, 9vw, 7rem); }
.section--lin { background: var(--lin); }
.section--rose { background: var(--rose-clair); }

/* Deux lignes de couture en haut et en bas de la section */
.section--stitched { position: relative; }
.section--stitched::before,
.section--stitched::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--couture) 0 10px, transparent 10px 18px);
  pointer-events: none;
}
.section--stitched::before { top: 14px; }
.section--stitched::after { bottom: 14px; }

.section h2 { font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.3rem); }

.section-head {
  max-width: 40rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}
.section-head .eyebrow::after {
  content: "";
  width: 26px; height: 2px;
  background: repeating-linear-gradient(90deg, currentColor 0 5px, transparent 5px 8px);
}
.section-head > p:last-child {
  margin-top: 1rem;
  color: var(--texte-doux);
}

.sub-title {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: 1.25rem;
  font-size: 1.45rem;
}
.sub-title svg { width: 22px; height: 22px; color: var(--terracotta); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 44px;
  color: var(--terracotta);
  font-weight: 600;
  text-decoration: none;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* 7. L'atelier & valeurs --------------------------------------------------- */
.atelier-grid {
  display: grid;
  gap: 3.5rem;
  align-items: center;
}

.atelier-photo {
  position: relative;
  width: min(100%, 440px);
  margin: 0 auto;
}
.atelier-photo > img:first-child {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 200px 200px var(--radius) var(--radius);
  background: var(--sable);
  box-shadow: var(--ombre-forte);
}
.atelier-photo-small {
  position: absolute;
  right: -10px;
  bottom: 54px;
  width: 38%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 6px solid var(--lin);
  border-radius: 50%;
  background: var(--sable);
  box-shadow: var(--ombre);
}
.atelier-photo figcaption {
  margin-top: 1rem;
  color: var(--texte-doux);
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  text-align: center;
}

.atelier-text h2 { margin-bottom: 1.5rem; }
.atelier-text p:not(.eyebrow):not(.signature) { color: var(--texte-doux); }
.atelier-text strong { color: var(--texte); font-weight: 600; }
.signature {
  margin-top: 1.5rem;
  color: var(--terracotta);
  font-family: var(--serif);
  font-size: 2.3rem;
  font-style: italic;
  font-variation-settings: "SOFT" 100;
  line-height: 1;
}

.values {
  display: grid;
  gap: 1rem;
  margin-top: clamp(3rem, 7vw, 5rem) !important;
}
/* Cette liste est aussi un .container : on rétablit son centrage,
   que la remise à zéro des listes (ul[class]) supprime. */
ul.values { margin-inline: auto; }
.value-card {
  padding: 1.6rem 1.5rem;
  border: 1px solid rgba(228, 213, 195, .9);
  border-radius: var(--radius);
  background: var(--creme);
}
.value-icon {
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--rose-clair);
  color: var(--terracotta);
}
.value-icon svg { width: 24px; height: 24px; }
.value-card h3 { margin-bottom: .4rem; font-size: 1.3rem; }
.value-card p { color: var(--texte-doux); font-size: .98rem; }

@media (min-width: 720px) {
  .values { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}
@media (min-width: 900px) {
  .atelier-grid { grid-template-columns: .9fr 1.1fr; gap: 5rem; }
}

/* 8. Créations (filtres, galerie) ----------------------------------------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  margin-bottom: 2rem;
}
.chip {
  min-height: 44px; /* taille confortable au doigt */
  padding: .5rem 1.1rem;
  border: 1.5px solid var(--sable);
  border-radius: 999px;
  background: var(--blanc);
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .25s, border-color .25s, color .25s;
}
.chip:hover { border-color: var(--taupe); }
.chip[aria-pressed="true"] {
  border-color: var(--texte);
  background: var(--texte);
  color: var(--creme);
}

/* Galerie en « mosaïque » (colonnes CSS) */
.gallery { columns: 2; column-gap: .85rem; }
.card {
  display: flex;
  flex-direction: column;
  margin-bottom: .85rem;
  overflow: hidden;
  break-inside: avoid;
  border-radius: var(--radius);
  background: var(--blanc);
  box-shadow: var(--ombre);
}

.card-zoom {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: var(--sable);
  cursor: zoom-in;
}
.card-zoom img {
  width: 100%;
  transition: transform .7s var(--ease);
}
.card-zoom:hover img { transform: scale(1.045); }
.card-zoom-icon {
  position: absolute;
  top: .6rem; right: .6rem;
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(250, 246, 241, .9);
  color: var(--texte);
  opacity: 0;
  transform: scale(.8);
  transition: opacity .3s, transform .3s var(--ease);
}
.card-zoom-icon svg { width: 18px; height: 18px; }
.card-zoom:hover .card-zoom-icon,
.card-zoom:focus-visible .card-zoom-icon { opacity: 1; transform: none; }

.card-body { padding: .9rem .9rem .5rem; }
.card-tag {
  margin-bottom: .2rem;
  color: var(--terracotta);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.card h3 { font-size: 1.12rem; line-height: 1.2; }
.card-desc {
  display: none;
  margin-top: .4rem;
  color: var(--texte-doux);
  font-size: .92rem;
  line-height: 1.5;
}

.btn-order {
  margin: .35rem .9rem .9rem;
  min-height: 44px;
  padding: .55rem .9rem;
  background: var(--rose-clair);
  color: var(--terracotta-fonce);
  font-size: .88rem;
}
.btn-order:hover { background: var(--terracotta); color: #fff; }
.btn-order .long { display: none; }

/* « cette pièce » n'apparaît que si la carte est assez large */
@media (min-width: 1100px) {
  .btn-order .long { display: inline; }
}
@media (min-width: 560px) {
  .card-desc { display: block; }
  .card-body { padding: 1.1rem 1.2rem .6rem; }
  .btn-order { margin: .5rem 1.2rem 1.2rem; }
}
@media (min-width: 720px) {
  .gallery { columns: 3; column-gap: 1.4rem; }
  .card { margin-bottom: 1.4rem; }
  .card h3 { font-size: 1.25rem; }
}
/* Sur tactile, l'icône loupe reste visible */
@media (hover: none) {
  .card-zoom-icon { opacity: 1; transform: none; }
}

.gallery-more {
  max-width: 36rem;
  margin: 2.5rem auto 0;
  color: var(--texte-doux);
  text-align: center;
}
.gallery-more strong { color: var(--texte); }
.gallery-more a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: var(--terracotta);
  font-weight: 600;
}
.gallery-more svg { width: 18px; height: 18px; }

/* 9. Coulisses (TikTok, Instagram) ---------------------------------------- */
.profiles {
  display: grid;
  gap: .85rem;
  max-width: 820px;
  margin: 0 auto 3.5rem;
}
.profile-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(235, 207, 198, .9);
  border-radius: var(--radius);
  background: var(--blanc);
  text-decoration: none;
  box-shadow: var(--ombre);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.profile-card:hover { transform: translateY(-3px); box-shadow: var(--ombre-forte); }
.profile-icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  flex-shrink: 0;
  border-radius: 50%;
  color: #fff;
}
.profile-icon svg { width: 24px; height: 24px; }
.profile-icon--tiktok { background: var(--texte); }
.profile-icon--insta { background: linear-gradient(135deg, #D9946F, #C46A6A 55%, #A65A7A); }
.profile-text { display: flex; flex-direction: column; line-height: 1.35; }
.profile-text strong { font-size: 1.05rem; }
.profile-text span { color: var(--texte-doux); font-size: .9rem; }
.profile-arrow { margin-left: auto; color: var(--terracotta); }
.profile-arrow svg { width: 20px; height: 20px; transition: transform .3s var(--ease); }
.profile-card:hover .profile-arrow svg { transform: translateX(4px); }

@media (min-width: 720px) {
  .profiles { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
}

/* Vidéos : défilement horizontal sur mobile, 4 colonnes sur ordinateur */
.video-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(64%, 260px);
  gap: .85rem;
  margin-inline: -1.25rem !important;
  padding: .25rem 1.25rem 1rem !important;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 1.25rem;
  scrollbar-width: none;
}
.video-row::-webkit-scrollbar { display: none; }
.video-card { scroll-snap-align: start; }

.video-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: var(--radius);
  background: #2B211C;
  box-shadow: var(--ombre);
}
.video-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.video-frame:hover img { transform: scale(1.04); }

/* Toute la vignette est un lien vers la vidéo sur TikTok */
.video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  background: linear-gradient(to top, rgba(43, 33, 28, .78), rgba(43, 33, 28, 0) 50%);
  color: #fff;
  text-decoration: none;
}
.video-play:focus-visible { outline-offset: -4px; }
.play-icon {
  position: absolute;
  top: 50%; left: 50%;
  display: grid;
  place-items: center;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(250, 246, 241, .92);
  color: var(--terracotta);
  transform: translate(-50%, -50%);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5);
  transition: transform .3s var(--ease);
}
/* Le triangle est déjà décalé vers la droite dans son dessin (centre optique) :
   aucune marge en plus, sinon il paraît collé au bord droit du rond. */
.play-icon svg { width: 24px; height: 24px; }
.video-play:hover .play-icon { transform: translate(-50%, -50%) scale(1.1); }
.video-label { font-size: .95rem; font-weight: 600; line-height: 1.3; }

.embed-note {
  margin-top: .5rem;
  color: var(--texte-doux);
  font-size: .85rem;
  text-align: center;
}

@media (min-width: 900px) {
  .video-row {
    grid-auto-flow: row;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-inline: 0 !important;
    padding: 0 !important;
    overflow: visible;
  }
}

.insta-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3.5rem;
}
.insta-head .sub-title { margin-bottom: 0; }

.insta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
  margin-top: 1rem !important;
}
.insta-grid a {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--sable);
}
.insta-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease), filter .4s;
}
.insta-grid a:hover img { transform: scale(1.06); filter: brightness(.85); }
.insta-icon {
  position: absolute;
  top: .5rem; right: .5rem;
  width: 20px; height: 20px;
  color: #fff;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .5));
}

@media (min-width: 720px) {
  .insta-grid { grid-template-columns: repeat(6, 1fr); gap: .75rem; }
}

/* 10. Contact -------------------------------------------------------------- */
.contact-card {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.25rem, 5vw, 4rem);
  border-radius: 36px;
  background: var(--lin);
  text-align: center;
}
/* Couture intérieure */
.contact-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 2px dashed var(--couture);
  border-radius: 28px;
  pointer-events: none;
}
.contact-card .lead { margin-inline: auto; }

.steps {
  display: grid;
  gap: .85rem;
  margin: 2.5rem 0 !important;
  text-align: left;
  counter-reset: none;
}
.step {
  position: relative;
  padding: 1.4rem 1.4rem 1.4rem 4.6rem;
  border-radius: var(--radius);
  background: var(--creme);
}
.step-num {
  position: absolute;
  top: 1.3rem; left: 1.3rem;
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--terracotta);
  color: #fff;
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1;
}
.step h3 { margin-bottom: .3rem; font-size: 1.2rem; }
.step p { color: var(--texte-doux); font-size: .95rem; }

.swatches { display: flex; margin-top: .75rem; }
.swatches img {
  width: 40px; height: 40px;
  object-fit: cover;
  border: 3px solid var(--creme);
  border-radius: 50%;
  background: var(--sable);
}
.swatches img + img { margin-left: -10px; }

@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 1rem; text-align: center; }
  .step { padding: 2rem 1.4rem 1.6rem; }
  .step-num { position: static; margin: 0 auto 1rem; }
  .swatches { justify-content: center; }
}

.contact-card .btn-xl { position: relative; }
.contact-alt {
  margin-top: 1.25rem;
  color: var(--texte-doux);
  font-size: .95rem;
}
.contact-alt a { color: var(--terracotta); font-weight: 600; }

@media (max-width: 479.98px) {
  .contact-card .btn-xl { width: 100%; padding-inline: 1rem; }
}

/* 11. Pied de page --------------------------------------------------------- */
.site-footer {
  padding: 4rem 0 calc(2rem + env(safe-area-inset-bottom));
  background: var(--texte);
  color: #EDE3D8;
  font-size: .95rem;
}
.footer-grid { display: grid; gap: 2.5rem; }
.logo--light { color: var(--creme); }
.logo--light em, .logo--light .logo-mark { color: #E3A587; }
.footer-tagline { max-width: 22rem; margin-top: 1rem; color: #CDBCAD; }
.footer-title {
  margin-bottom: .75rem;
  color: #CDBCAD;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.site-footer strong { color: #fff; font-weight: 600; }
.site-footer .btn-light { margin-top: 1rem; }
.footer-social li + li { margin-top: .25rem; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 44px;
  text-decoration: none;
}
.footer-social a:hover { color: #fff; text-decoration: underline; }
.footer-social svg { width: 20px; height: 20px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 2rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(237, 227, 216, .16);
  color: #BFAE9F;
  font-size: .85rem;
}
.footer-bottom p { margin: 0; }

@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 3rem; }
}

/* 12. CTA flottant, agrandissement, message ------------------------------- */
.floating-cta {
  position: fixed;
  left: 50%;
  bottom: calc(14px + env(safe-area-inset-bottom));
  z-index: 40;
  min-height: 50px;
  padding-inline: 1.4rem;
  white-space: nowrap;
  box-shadow: 0 14px 30px -10px rgba(59, 46, 40, .55);
  transform: translate(-50%, 160%);
  transition: transform .45s var(--ease), background-color .25s;
}
.floating-cta.is-visible { transform: translate(-50%, 0); }
@media (min-width: 900px) {
  .floating-cta { display: none; }
}

/* Fenêtre d'agrandissement d'une création */
.lightbox {
  width: min(100% - 1.5rem, 980px);
  max-width: none;
  max-height: calc(100dvh - 1.5rem);
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 26px;
  background: var(--creme);
  color: var(--texte);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .45);
}
.lightbox[open] { animation: apparait .35s var(--ease); }
.lightbox::backdrop { background: rgba(43, 33, 28, .7); }
.lightbox-inner { display: grid; }
.lightbox-img {
  width: 100%;
  max-height: 62vh;
  object-fit: cover;
  background: var(--sable);
}
.lightbox-text { padding: 1.5rem 1.5rem 1.75rem; }
.lightbox-title { margin-bottom: .6rem; font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.2rem); }
.lightbox-desc { color: var(--texte-doux); }
.lightbox-hint {
  margin-top: 1rem;
  padding: .85rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--rose-clair);
  font-size: .92rem;
}
.lightbox-order { width: 100%; margin-top: 1.25rem; }
.lightbox-close {
  position: absolute;
  top: .75rem; right: .75rem;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(250, 246, 241, .92);
  color: var(--texte);
  cursor: pointer;
  box-shadow: var(--ombre);
}
.lightbox-close svg { width: 20px; height: 20px; }

@media (min-width: 760px) {
  .lightbox { overflow: hidden; }
  .lightbox-inner { grid-template-columns: 1.15fr 1fr; align-items: center; }
  .lightbox-img { height: min(80vh, 680px); max-height: none; }
  .lightbox-text { padding: 2.5rem 2.25rem; }
}

@keyframes apparait {
  from { opacity: 0; transform: translateY(14px) scale(.98); }
}

/* Petit message « message copié » */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(80px + env(safe-area-inset-bottom));
  z-index: 60;
  width: max-content;
  max-width: calc(100% - 2rem);
  padding: .8rem 1.2rem;
  border-radius: 16px;
  background: var(--texte);
  color: var(--creme);
  font-size: .9rem;
  font-weight: 500;
  text-align: center;
  box-shadow: var(--ombre-forte);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: opacity .3s, transform .3s var(--ease), visibility 0s .3s;
}
.toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition: opacity .3s, transform .3s var(--ease);
}
@media (min-width: 900px) {
  .toast { bottom: 2rem; }
}

/* Page « Mentions légales » */
.legal { max-width: 760px; }
.legal h1 { font-size: clamp(2.3rem, 1.6rem + 3vw, 3.4rem); }
.legal h2 { margin: 2.5rem 0 .75rem; font-size: 1.5rem; }
.legal p, .legal li { color: var(--texte-doux); }
.legal ul { padding-left: 1.2rem; }
.legal a:not(.link-arrow, .btn) { color: var(--terracotta); }
.legal h1 + p { margin-top: 1rem; }
.legal-maj { margin-top: .75rem; font-size: .9rem; }
.legal mark {
  padding: .05em .35em;
  border-radius: 6px;
  background: var(--rose);
  color: var(--texte);
}
.legal-page .site-footer { padding-top: .5rem; }
.legal-page .footer-bottom { margin-top: 0; border-top: 0; }

/* 13. Animations & accessibilité ------------------------------------------ */
/* Apparition douce au défilement (seulement si JavaScript est actif) */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease) var(--delai, 0s), transform .8s var(--ease) var(--delai, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .floating-cta, .toast, .video-row, .embed-note { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
