/* ==========================================================================
   Flofama — feuille de style principale
   Palette et espacements centralisés dans :root — modifiez ici pour
   changer l'identité visuelle de tout le site.
   ========================================================================== */

:root {
  /* Couleurs — reprises du logo Flofama Space */
  --ink:        #2b1020;
  --ink-soft:   #6b4a5c;
  --ink-mute:   #9c8290;
  --cream:      #fdf8fb;
  --cream-2:    #f8ecf3;
  --white:      #ffffff;
  --brand:      #c9126e;
  --brand-dark: #a30d59;
  --brand-soft: #fbe1ee;
  --line:       #f0dce7;

  /* Typographie */
  --font-title: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --font-body:  -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Mise en page */
  --wrap:       1160px;
  --radius:     18px;
  --radius-sm:  10px;
  --shadow:     0 18px 40px -24px rgba(43, 16, 32, .40);
  --shadow-lg:  0 30px 70px -30px rgba(43, 16, 32, .50);
  --header-h:   72px;
  --ease:       cubic-bezier(.22, .61, .36, 1);
}

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

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--font-title);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 3.75rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1rem; }

a { color: inherit; }

::selection { background: var(--brand-soft); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--brand-dark);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--cream);
  padding: .75rem 1.25rem;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- Conteneurs ---------- */
.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}
.wrap-narrow { width: min(100% - 2.5rem, 780px); }

.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-alt { background: var(--cream-2); }

.section-head {
  max-width: 640px;
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
}
.section-sub { color: var(--ink-soft); margin: 0; }

.eyebrow {
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brand-dark);
  font-weight: 700;
  margin: 0 0 .75rem;
}

.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

/* ---------- Boutons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .9rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background-color .25s var(--ease), color .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }

.btn-primary { --btn-bg: var(--brand); --btn-fg: #fff; }
.btn-primary:hover { --btn-bg: var(--brand-dark); }

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { --btn-bg: var(--ink); --btn-fg: var(--cream); }

.btn-outline {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line);
}
.btn-outline:hover { --btn-bg: var(--brand); --btn-fg: #fff; border-color: var(--brand); }

.btn-sm { padding: .6rem 1.15rem; font-size: .875rem; }
.btn-block { width: 100%; }

.btn .ico { width: 18px; height: 18px; fill: currentColor; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 248, 251, .84);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(43, 16, 32, .55);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: .02em;
  margin-right: auto;
}
.brand-logo {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 10px -4px rgba(43, 16, 32, .5);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  position: relative;
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: .25rem 0;
  transition: color .2s var(--ease);
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1.5px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s var(--ease);
}
.nav-list a:hover,
.nav-list a.is-active { color: var(--ink); }
.nav-list a:hover::after,
.nav-list a.is-active::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3.5rem, 8vw, 6rem);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 130%;
  background:
    radial-gradient(52% 60% at 78% 18%, rgba(201, 18, 110, .16), transparent 62%),
    radial-gradient(46% 52% at 8% 78%, rgba(201, 18, 110, .07), transparent 60%);
  pointer-events: none;
}
/* Motif de vagues repris du logo */
.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: url("../img/waves.svg") repeat-x bottom center / 120px 60px;
  opacity: .5;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero h1 { margin-bottom: .35em; }
.hero h1 em { font-style: italic; color: var(--brand-dark); }
.lead {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 46ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin: 1.75rem 0 2.25rem;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
}
.hero-trust li { display: flex; flex-direction: column; }
.hero-trust strong { font-size: 1rem; }
.hero-trust span { font-size: .85rem; color: var(--ink-mute); }

.hero-media {
  position: relative;
  min-height: 420px;
}
.hero-card {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--white);
}
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-card-1 {
  width: 72%;
  aspect-ratio: 4 / 5;
  margin-left: auto;
}
.hero-card-2 {
  position: absolute;
  left: 0;
  bottom: -1.5rem;
  width: 46%;
  aspect-ratio: 3 / 4;
  border: 6px solid var(--cream);
}
.hero-badge {
  position: absolute;
  top: 12%;
  left: 2%;
  display: grid;
  place-items: center;
  width: 116px;
  height: 116px;
  padding: .75rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  box-shadow: var(--shadow);
}
.hero-badge-num { font-family: var(--font-title); font-size: 1.4rem; line-height: 1; }
.hero-badge-txt {
  font-size: .58rem;
  line-height: 1.35;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .8;
  max-width: 100%;
}

/* ---------- Bandeau défilant ---------- */
.marquee {
  background: var(--ink);
  color: var(--cream);
  padding: .85rem 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  width: max-content;
  animation: slide 32s linear infinite;
  font-size: .82rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.marquee i { color: var(--brand); font-style: normal; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Catégories ---------- */
/* Six rayons : 1 colonne sur mobile, 2 sur tablette, 3 sur ordinateur */
.cat-grid { grid-template-columns: 1fr; }
@media (min-width: 560px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
.cat-card {
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease),
              border-color .3s var(--ease);
}
.cat-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-soft);
  box-shadow: var(--shadow);
}
.cat-ico { font-size: 1.9rem; display: block; margin-bottom: .9rem; }
.cat-card h3 { margin-bottom: .35rem; }
.cat-card p { color: var(--ink-soft); font-size: .93rem; margin-bottom: 1rem; }
.cat-link {
  margin-top: auto;
  font-size: .85rem;
  font-weight: 600;
  color: var(--brand-dark);
}
.cat-link::after { content: " →"; transition: margin-left .2s var(--ease); }
.cat-card:hover .cat-link::after { margin-left: .2rem; }

/* ---------- Boutique : rayons ---------- */
.shop-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem;
  margin: 0 0 clamp(2rem, 4vw, 3rem);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .5rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease);
}
.chip span {
  display: grid;
  place-items: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 .3rem;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: .72rem;
}
.chip:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.chip:hover span { background: var(--brand); color: #fff; }

.shop-group { scroll-margin-top: calc(var(--header-h) + 1.5rem); }
.shop-group + .shop-group { margin-top: clamp(2.5rem, 5vw, 3.75rem); }
.shop-group-title {
  display: flex;
  align-items: baseline;
  gap: .9rem;
  margin: 0 0 1.5rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
}
.shop-group-title span {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ---------- Produits ---------- */
/* Grille fixe pour que la dernière carte seule reste centrée */
@media (min-width: 900px) {
  .shop-grid { grid-template-columns: repeat(3, 1fr); }
  .shop-grid > :last-child:nth-child(3n + 1) { grid-column: 2; }
  .cat-grid > :last-child:nth-child(3n + 1) { grid-column: 2; }
}

.product {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--cream-2);
}
.product-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.product:hover .product-media img { transform: scale(1.05); }

/* Photos réelles : affichées en entier (pas de recadrage), sur fond blanc */
.product-media.is-photo,
.hero-card.is-photo { background: var(--white); }
.product-media.is-photo img,
.hero-card.is-photo img { object-fit: contain; }

.tag {
  position: absolute;
  top: .85rem; left: .85rem;
  padding: .3rem .7rem;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--white);
  color: var(--ink);
}
.tag-new { background: var(--ink); color: var(--cream); }
.tag-hot { background: var(--brand); color: #fff; }

.product-body {
  padding: 1.25rem 1.3rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-body p { color: var(--ink-soft); font-size: .92rem; }
.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: .75rem;
}
.price { font-family: var(--font-title); font-size: 1.05rem; }

.shop-note {
  margin: 2.5rem 0 0;
  text-align: center;
  color: var(--ink-soft);
  font-size: .95rem;
}
.shop-note a { color: var(--brand-dark); font-weight: 600; }

/* ---------- À propos ---------- */
.about {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.about-media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  list-style: none;
  margin: 2rem 0;
  padding: 1.5rem 0;
  border-block: 1px solid var(--line);
}
.stats li { display: flex; flex-direction: column; }
.stats strong { font-family: var(--font-title); font-size: 1.7rem; color: var(--brand-dark); }
.stats span { font-size: .85rem; color: var(--ink-mute); }

/* ---------- Galerie ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
}
.gal-item {
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1;
}
.gal-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease), filter .3s var(--ease);
}
.gal-item:hover img { transform: scale(1.07); filter: brightness(1.05); }

/* ---------- Avis ---------- */
.quote {
  margin: 0;
  padding: 2rem 1.75rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.stars { color: var(--brand); letter-spacing: .15em; margin-bottom: .85rem; }
.quote blockquote {
  margin: 0 0 1rem;
  font-family: var(--font-title);
  font-size: 1.08rem;
  line-height: 1.5;
}
.quote figcaption { font-size: .87rem; color: var(--ink-mute); }

/* ---------- FAQ ---------- */
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  margin-bottom: .75rem;
  overflow: hidden;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 3rem 1.1rem 1.25rem;
  font-weight: 600;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 1.25rem; top: 50%;
  transform: translateY(-50%);
  font-size: 1.35rem;
  color: var(--brand-dark);
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p {
  margin: 0;
  padding: 0 1.25rem 1.2rem;
  color: var(--ink-soft);
  font-size: .95rem;
}

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.info-list {
  list-style: none;
  margin: 2rem 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}
.info-list li { display: flex; gap: .9rem; align-items: flex-start; }
.info-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--brand-soft);
  font-size: 1.05rem;
}
.info-list strong { display: block; font-size: .88rem; }
.info-list a, .info-list span:not(.info-ico) { color: var(--ink-soft); font-size: .95rem; }
.info-list a { text-decoration: none; }
.info-list a:hover { color: var(--brand-dark); text-decoration: underline; }

.socials { display: flex; flex-wrap: wrap; gap: .6rem; }
.social {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease);
}
.social svg { width: 17px; height: 17px; fill: currentColor; }
.social:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow);
}
.contact-form h3 { margin-bottom: .25rem; }
.form-hint { font-size: .88rem; color: var(--ink-mute); margin-bottom: 1.5rem; }
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-size: .84rem;
  font-weight: 600;
  margin-bottom: .35rem;
}
.field input, .field textarea {
  width: 100%;
  padding: .8rem .95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream);
  font: inherit;
  font-size: .95rem;
  color: var(--ink);
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-mute); }
.field input:focus, .field textarea:focus {
  border-color: var(--brand);
  background: var(--white);
  outline: none;
}
.field.has-error input, .field.has-error textarea { border-color: #c0492f; }
.field textarea { resize: vertical; min-height: 110px; }
.form-status {
  margin: .9rem 0 0;
  font-size: .88rem;
  min-height: 1.2em;
  color: var(--brand-dark);
}

/* ---------- Pied de page ---------- */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 3rem 0 2rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.footer-brand { display: flex; align-items: center; gap: .8rem; }
.footer-brand .brand-logo { width: 46px; height: 46px; }
.footer-brand strong { font-family: var(--font-title); font-size: 1.15rem; }
.footer-brand p { margin: 0; font-size: .85rem; opacity: .65; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-nav a {
  text-decoration: none;
  font-size: .9rem;
  opacity: .75;
  transition: opacity .2s var(--ease);
}
.footer-nav a:hover { opacity: 1; }
.copyright { width: 100%; margin: 0; padding-top: 1.5rem; border-top: 1px solid rgba(251,247,243,.12); font-size: .82rem; opacity: .6; }

/* ---------- Retour en haut ---------- */
.to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  text-decoration: none;
  font-size: 1.1rem;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  background: rgba(30, 10, 22, .93);
  padding: 4rem 1rem;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: min(92vw, 900px);
  max-height: 84vh;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}
.lb-close, .lb-nav {
  position: absolute;
  border: 0;
  background: rgba(253, 248, 251, .14);
  color: var(--cream);
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background-color .2s var(--ease);
}
.lb-close:hover, .lb-nav:hover { background: rgba(253, 248, 251, .30); }
.lb-close { top: 1.25rem; right: 1.25rem; width: 44px; height: 44px; font-size: 1.6rem; line-height: 1; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; font-size: 2rem; line-height: 1; }
.lb-prev { left: 1rem; }
.lb-next { right: 1rem; }

/* ---------- Apparition au défilement ----------
   Masqué uniquement si JavaScript est actif : sans JS, tout reste visible. */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Adaptatif
   ========================================================================== */
@media (max-width: 960px) {
  .hero-inner, .about, .contact { grid-template-columns: 1fr; }
  .about-media { order: 2; max-width: 520px; }
  .hero-media { min-height: 340px; max-width: 520px; margin-inline: auto; }
}

@media (max-width: 780px) {
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    transition: transform .35s var(--ease);
  }
  .nav.is-open { transform: none; }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .5rem 1.25rem 1.25rem;
  }
  .nav-list a {
    display: block;
    padding: .85rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }
  .nav-list a::after { display: none; }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .hero-badge { width: 88px; height: 88px; }
  .lb-nav { width: 40px; height: 40px; font-size: 1.6rem; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .hero-trust { gap: 1.1rem; }
  .hero-trust li { flex: 1 1 40%; }
  .stats { gap: 1.25rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- Préférences d'accessibilité ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Impression ---------- */
@media print {
  .site-header, .to-top, .nav-toggle, .marquee, .contact-form, .lightbox { display: none !important; }
  body { background: #fff; }
  .js .reveal { opacity: 1; transform: none; }
}
